From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Thu Nov 1 03:36:01 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Stefan Hornburg Racke wrote: > Tobias Henle <t.henle@thiesen.com> writes: > > >>Hello List, >> >>I have implemented the access to the German-Post Paymentgateway, but I >>have a problem now, where to put the call to the Tag so that i can stop >>the order process if something went wrong! >> > > IMHO you need to provide more information about your implementation. > I have written a GlobalTag to make it easy to access (it should be know problem to rewrite it as an GlobalSub, but i need to post some vars to it!!!) and post vars to it. It starts the Payment and returns an error if it was faulty. Now i want to know where to start the Payment process and how! becourse i neet to know that everything was right before and i must stop the order process if something went wrong. I think it would be the best to put it in the profiles.order file so i can tell the User any error eg. "Your Credit Card has expired ..." or should i put it in the Order Route? BUT i do not know anything about Routes and much less about Profiles! DISPLAY THE ord/checkout and ERROR messages +----------------+ ^ | profiles.order |-------| +----------------+ ERROR | OK | V +----------------+ ^ | paymentgateway |-------| +----------------+ ERROR | OK | V +-------------------+ | send the emails | | & write the order | | to the DB | +-------------------+ thx mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Thu Nov 1 03:48:06 2001 Subject: [ic] Searching on more than one table patrick.bennett@ccgenesis.com wrote: > I would like to come up with a way to search two > tables using one search string. I have the products > table and the article table, both of which should > be searched from one search box. Is there an > easy way to do this? Use SQL! ** I use SQL for most of my Querys becourse of preformance. If you debug the SQL Querys form IC you will see that it oftens siply uses a SELECT * FROM bla; what is not very fast ;) ** and I use SQL berourse SQL == phun! ;) mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 03:51:01 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Tobias Henle <t.henle@thiesen.com> writes: [...] > > I have written a GlobalTag to make it easy to access (it should be know > problem to rewrite it as an GlobalSub, but i need to post some vars to > it!!!) and post vars to it. It starts the Payment and returns an error > if it was faulty. > Now i want to know where to start the Payment process and how! > becourse i neet to know that everything was right before and i must stop > the order process if something went wrong. I suppose the following would work in the profile &calc $CGI->{paid}=$Tag->yourglobaltag(...) paid=required Sie mieser Betrüger :-) Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 03:57:01 2001 Subject: [ic] Searching on more than one table Tobias Henle <t.henle@thiesen.com> writes: > patrick.bennett@ccgenesis.com wrote: > > > I would like to come up with a way to search two > > tables using one search string. I have the products > > table and the article table, both of which should > > be searched from one search box. Is there an > > easy way to do this? > > > Use SQL! > > ** I use SQL for most of my Querys becourse of preformance. > If you debug the SQL Querys form IC you will see that it oftens siply > uses a SELECT * FROM bla; what is not very fast ;) Even with this restrictions, IC searches are pretty fast. But one can use mv_like_spec with SQL anyway. > > ** and I use SQL berourse SQL == phun! ;) > Die Deutschen sind nicht nur im Fußball Rumpelfüßler :-) Yes, SQL is quite nice. We often use SQL queries in embedded Perl or usertags. That rocks. Cheers Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Marc Sachtleber) Date: Thu Nov 1 04:10:00 2001 Subject: [ic] Problem with modular options Hi All, I´m using Interchange 4.8.2 on Suse Linux with mysql 9.38 and Perl 5.6.1 and I´ve got a problem in generating products with modular options. The generation of the option-enums and the variants with the admin-UI works fine, the product variants are displayed in the store-frontend, but when I try to buy the product nothing is placed into the shopping cart. The error-log says: 134.106.52.36 oNJ9ooAj:134.106.52.36 - [31/Oktober/2001:17:01:43 +0100] LGNCatalog /cgi-bin/LGNCatalog/order.html Attempt to order missing product code: 00027-2-2 A product variant with this code has been entered into the "options" table of the database by the admin-UI, but it seems that it is not found by the shopping cart. Can anybody help me or at least tell me, what entries have do be placed into the database to define a product with modular options? Perhaps I can enter the values manually. By the way: The "Hand-Plane"-example from the demoshop works fine. Thanks Marc Sachtleber _________________________________________________________ Dipl.-Inform. Marc Sachtleber OFFIS Multimedia und Internet-Informationsdienste Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22- 222- Fax: +49 4 41 97 22- 102 E-Mail: Marc.Sachtleber@offis.de - URL:http://www.offis.de _________________________________________________________ From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Thu Nov 1 06:53:00 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Stefan Hornburg Racke wrote: > Tobias Henle <t.henle@thiesen.com> writes: > > > [...] > > >>I have written a GlobalTag to make it easy to access (it should be know >>problem to rewrite it as an GlobalSub, but i need to post some vars to >>it!!!) and post vars to it. It starts the Payment and returns an error >>if it was faulty. >>Now i want to know where to start the Payment process and how! >>becourse i neet to know that everything was right before and i must stop >>the order process if something went wrong. >> > > I suppose the following would work in the profile > > &calc $CGI->{paid}=$Tag->yourglobaltag(...) > paid=required Sie mieser Betrüger :-) > Hi Racke, List, thanx 4 your help, i use: $calc $CGI->{pgw_result}="[post-pgw payment_method="1" price="[total-cost noformat=1]"]" pgw_result=required [scratch pgw_error_msg] now, it is not as good as i want it but it works and thats what i need. i want to use the $Tag->total_cost() in my perl script - what makes the call to the tag post-pgw more beautiful - but that forces my skript to crash without any reason - i think - du you or anybody else use the $Tag->total_cost in a perl script, user tag or perl tag, i could not find any error cours all other calls to tags from my perl script work fine!!! cu mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 07:17:01 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Tobias Henle <t.henle@thiesen.com> writes: [...] > > Hi Racke, List, > > > thanx 4 your help, i use: > > $calc $CGI->{pgw_result}="[post-pgw payment_method="1" price="[total-cost noformat=1]"]" > pgw_result=required [scratch pgw_error_msg] > > > now, it is not as good as i want it but it works and thats what i need. > > i want to use the $Tag->total_cost() in my perl script - what makes the > call to the tag post-pgw more beautiful - but that forces my skript to > crash without any reason - i think - > > du you or anybody else use the $Tag->total_cost in a perl script, user > tag or perl tag, i could not find any error cours all other calls to > tags from my perl script work fine!!! Tags called from embedded perl often have a different order for the arguments. ictags should list them. Possibly you need to do sth equivalent to [perl tables=...] in your order profile. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Thu Nov 1 07:39:01 2001 Subject: [ic] Searching on more than one table Stefan Hornburg Racke wrote: > Tobias Henle <t.henle@thiesen.com> writes: > > >>patrick.bennett@ccgenesis.com wrote: >> >> >>>I would like to come up with a way to search two >>>tables using one search string. I have the products >>>table and the article table, both of which should >>>be searched from one search box. Is there an >>>easy way to do this? >>> >> >>Use SQL! >> >>** I use SQL for most of my Querys becourse of preformance. >>If you debug the SQL Querys form IC you will see that it oftens siply >>uses a SELECT * FROM bla; what is not very fast ;) >> > > Even with this restrictions, IC searches are pretty fast. But > one can use mv_like_spec with SQL anyway. > Yes but not if you have 2000 entrys in your Product database and make a Query for every Information you need like the data-tag dose. We have two Servers one for the Webshop an another with the Database and they ar connected via our Firm-Network so it courses a lotsof trouble if you don't think about preformance and data transferes :) > >>** and I use SQL berourse SQL == phun! ;) >> >> > > Die Deutschen sind nicht nur im Fußball Rumpelfüßler :-) ich hasse fussball ;) > > Yes, SQL is quite nice. We often use SQL queries in embedded Perl > or usertags. That rocks. > dito _cu_ mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 07:55:00 2001 Subject: [ic] Searching on more than one table Tobias Henle <t.henle@thiesen.com> writes: [...] > > Yes but not if you have 2000 entrys in your Product database and make a > Query for every Information you need like the data-tag dose. Uhh ? What do you mean ? However, vanilla IC searches are fast enough on 2000 entries. You need to optimize your pages, I suppose. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 1 08:03:00 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Quoting Tobias Henle (t.henle@thiesen.com): > $calc $CGI->{pgw_result}="[post-pgw payment_method="1" price="[total-cost noformat=1]"]" > pgw_result=required [scratch pgw_error_msg] This is no good. This happens before that point in the profile is reached. Use Stefan's call, though ..... > > > now, it is not as good as i want it but it works and thats what i need. > > i want to use the $Tag->total_cost() in my perl script - what makes the > call to the tag post-pgw more beautiful - but that forces my skript to > crash without any reason - i think - > > du you or anybody else use the $Tag->total_cost in a perl script, user > tag or perl tag, i could not find any error cours all other calls to > tags from my perl script work fine!!! > You have to make sure the database tables are opened first with a [perl ...] tag. Try: [perl tables="products pricing"][/perl] at the top of the profile. That will open the tables and should prevent the $Tag->total_cost from failing. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 1 08:06:01 2001 Subject: [ic] Searching on more than one table Quoting Tobias Henle (t.henle@thiesen.com): > Stefan Hornburg Racke wrote: > > > Tobias Henle <t.henle@thiesen.com> writes: > > > > > >>patrick.bennett@ccgenesis.com wrote: > >> > >> > >>>I would like to come up with a way to search two > >>>tables using one search string. I have the products > >>>table and the article table, both of which should > >>>be searched from one search box. Is there an > >>>easy way to do this? > >>> > >> > >>Use SQL! > >> > >>** I use SQL for most of my Querys becourse of preformance. > >>If you debug the SQL Querys form IC you will see that it oftens siply > >>uses a SELECT * FROM bla; what is not very fast ;) > >> > > > > Even with this restrictions, IC searches are pretty fast. But > > one can use mv_like_spec with SQL anyway. > > > > > Yes but not if you have 2000 entrys in your Product database and make a > Query for every Information you need like the data-tag dose. You might want to check out using rf/mv_return_fields along with [item-param ...]. The FAQ about optimizing lists might help: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq14%2e02 -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 08:15:01 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Mike Heins <mheins@redhat.com> writes: [...] > > You have to make sure the database tables are opened first with > a [perl ...] tag. Try: > > [perl tables="products pricing"][/perl] > > at the top of the profile. That will open the tables and should prevent > the $Tag->total_cost from failing. &tables products pricing &perl ... should work do, I think Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 09:27:01 2001 Subject: [ic] Note: UI UserTag display and MySQL date fields If you would like to have users edit dates coming from date fields in a MySQL database, you can try the following: Form: <input type=hidden name=mv_click value=process_filter> [display table=dealings column=offer_until key="..."] mv_metadata_asc: code=dealings::offer_until type=date pre_filter=digits Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Thu Nov 1 09:40:00 2001 Subject: [ic] Howto make a usertag Hello, Im searching for the documentation of howto make a usertag. I cant find that in the IC docs. Am I simply lame to figure out where it hides, or is it simply not there...please post a link. What is it about ?: Say for example I want to do a brand new usertag available that for example shows the output of a whois command...howto do that ? Or if someone could post the process of howto create a usertag...? -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions From: interchange-users at interchange.redhat.com (George Entenman) Date: Thu Nov 1 09:46:01 2001 Subject: [ic] Internal Server Error in the wizard I'm encountering a reproducable error in the wizard. I can get to the Payment Preferences page. Then, when I click the Next button, I get an Internal Server Error. The log shows only: 10.69.13.12 tAGwSA75:10.69.13.12 - [01/November/2001:09:09:21 -0500] iINC /cgi-bin/iINC/process.html Successful login by user 'ge' 10.69.13.12 tAGwSA75:10.69.13.12 - [01/November/2001:09:16:41 -0500] iINC /cgi-bin/iINC/ui Runtime error: Can't fork! at (eval 52) line 12. The Payment Preferences page has a form with data like this: <FORM METHOD=POST ACTION="http://bsd.triangleresearch.com/cgi-bin/iINC/ui"> <INPUT TYPE=hidden NAME=mv_session_id VALUE="tAGwSA75"> <INPUT TYPE=hidden NAME=mv_todo VALUE="set"> <INPUT TYPE=hidden NAME=mv_click VALUE="process_filter"> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="admin/wizard/step_security"> <INPUT TYPE=hidden NAME=mv_data_table VALUE="mv_null"> <INPUT TYPE=hidden NAME=mv_data_key VALUE=""> <INPUT TYPE=hidden NAME=mv_update_empty VALUE="1"> <INPUT TYPE=hidden NAME=mv_data_function VALUE="insert"> <INPUT TYPE=hidden NAME="mv_form_profile" VALUE="ui_profile"> <INPUT TYPE=hidden NAME="ui_return_to" VALUE="admin/wizard/index"> <stuff deleted> <INPUT TYPE=submit NAME=mv_click VALUE="Next --&gt;"> I'm at a loss as to how to locate the error. I don't believe that there is really a problem forking (at least, I believe there is plenty of memory, etc.). I've tried turning on debugging, but you can see that there is not a lot in the error.log anyway (should I look elsewhere?). This is all happening on a FreeBSD 4.2 machine (actually two different ones). I have installed Perl 5.6.1 and, as far as I can tell, I have installed all required Perl modules. I've got lots of other questions, for example: 1. Does anyone have a Perl script that can test for the presence of all required Perl modules? 2. Is there *any* documentation on how Interchange works. We've bought the paper documentation, but when the books are less informative than the comments in the config files themselves, you know you're in trouble! I'd really like to know what happens when the CGI app sends a message to the interchange daemon (I assume that's what happens). But for the moment I only really need to know how to fix the "fork" problem. Thanks for your help! -- George Entenman P.S. I've worked my way through 23 screens of archived emails to this list, but I admit that I'm still looking through them. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 09:52:00 2001 Subject: [ic] Howto make a usertag "Bernino Lind" <lind@catpipe.net> writes: > Hello, > > Im searching for the documentation of howto make a usertag. I cant find that > in the IC docs. Am I simply lame to figure out where it hides, or is it > simply not there...please post a link. > > What is it about ?: Say for example I want to do a brand new usertag > available that for example shows the output of a whois command...howto do > that ? > > Or if someone could post the process of howto create a usertag...? There are enough examples still in ICROOT/usertag and ICROOT/lib/UI/usertag. He is a cute little one from my kitchen: UserTag randpic Routine <<EOR sub { my @pics = UI::Primitive::list_pages (1, '.jpg', 'images/front'); return $pics[int(rand(scalar @pics))]; } EOR Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Thu Nov 1 10:08:01 2001 Subject: [ic] Howto make a usertag Thanks a bunch... I also found that in fact I was lame...: http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictags_89.html There exists documentation and it has valuable content: Long life the coders who document there code, since they should not be knows as coders but be called programmers! And as the day evolves my enthusiasm towards IC grows and grows. Its really well done. My sincerest respect, -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Stefan Hornburg (Racke) Sent: 1. november 2001 14:54 To: interchange-users@interchange.redhat.com Subject: Re: [ic] Howto make a usertag "Bernino Lind" <lind@catpipe.net> writes: > Hello, > > Im searching for the documentation of howto make a usertag. I cant find that > in the IC docs. Am I simply lame to figure out where it hides, or is it > simply not there...please post a link. > > What is it about ?: Say for example I want to do a brand new usertag > available that for example shows the output of a whois command...howto do > that ? > > Or if someone could post the process of howto create a usertag...? There are enough examples still in ICROOT/usertag and ICROOT/lib/UI/usertag. He is a cute little one from my kitchen: UserTag randpic Routine <<EOR sub { my @pics = UI::Primitive::list_pages (1, '.jpg', 'images/front'); return $pics[int(rand(scalar @pics))]; } EOR Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 1 10:10:00 2001 Subject: [ic] Admin image upload not working All, I am trying to upload images with each item. When I do I get the following in my error.log file for the catalog: > file '>images/thumb/AT143_small.jpg': Permission denied > to write this data: > SCALAR(0x91375a0) 216.111.193.94 4S92ZRfE:216.111.193.94 - [01/November/2001:10:05:49 -0500] basket /cgi- bin/basket/ui failed to write images/thumb/AT143_small.jpg: Permission denied The permission on the image dir in the catalog dir: lrwxrwxrwx 1 root interch 30 Nov 1 09:42 images -> /home/ecad/html/basket/images/ The permissions in this image dir: drwxrwxrwx 2 interch interch 4096 Nov 1 10:00 items drwxrwxrwx 2 interch interch 4096 Nov 1 10:05 thumb . .(etc) Having search the archives I have read many email on uploading. But, most of them are for people having problems with the image permissions after they are uploaded. This is a rpm install of interchange 4.8.2 on redhat 7.1 . Are my file permissions set right? If not what should they be set to? What else might be causing this error? Thank you for your time, Rick Eicher II www.pbol.net From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Thu Nov 1 10:12:01 2001 Subject: [ic] CVS and catalogs Hello, If I want my catalog to be in our CVS does some guideline then exist ? I have tried the documentation section in IC, but the document called Interchange+CVS HOWTO has been removed. Some guidelines would be great before I do a cvs import and make my cto explode. -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Thu Nov 1 10:17:00 2001 Subject: [ic] Admin image upload not working Maybe your apache installation doesnt like symlinks. A lot of sysadms turns off symlinks, since they can be dangerous in the hands of the wrong person. Furthermore you should check the perms on the image dir itself, not just the sublevels of the image dir. -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: 1. november 2001 16:17 To: interchange Subject: [ic] Admin image upload not working All, I am trying to upload images with each item. When I do I get the following in my error.log file for the catalog: > file '>images/thumb/AT143_small.jpg': Permission denied > to write this data: > SCALAR(0x91375a0) 216.111.193.94 4S92ZRfE:216.111.193.94 - [01/November/2001:10:05:49 -0500] basket /cgi- bin/basket/ui failed to write images/thumb/AT143_small.jpg: Permission denied The permission on the image dir in the catalog dir: lrwxrwxrwx 1 root interch 30 Nov 1 09:42 images -> /home/ecad/html/basket/images/ The permissions in this image dir: drwxrwxrwx 2 interch interch 4096 Nov 1 10:00 items drwxrwxrwx 2 interch interch 4096 Nov 1 10:05 thumb . .(etc) Having search the archives I have read many email on uploading. But, most of them are for people having problems with the image permissions after they are uploaded. This is a rpm install of interchange 4.8.2 on redhat 7.1 . Are my file permissions set right? If not what should they be set to? What else might be causing this error? Thank you for your time, Rick Eicher II www.pbol.net _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Thu Nov 1 10:24:01 2001 Subject: [ic] Admin image upload not working Rick Eicher II wrote: > lrwxrwxrwx 1 root interch 30 Nov 1 09:42 images -> ^^^^ Should be owned by interch. > /home/ecad/html/basket/images/ Also, what are the perms on /home/ecad/html/basket/images? The link to the directory doesn't necessarily have the same permissions as the actual directory. --J(K) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 1 10:29:01 2001 Subject: [ic] CVS and catalogs "Bernino Lind" <lind@catpipe.net> writes: > Hello, > > If I want my catalog to be in our CVS does some guideline then exist ? > > I have tried the documentation section in IC, but the document called > Interchange+CVS HOWTO has been removed. Duh, seems to be a little accident. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Nov 1 10:37:01 2001 Subject: [ic] options What version of IC are you using? I did this using IC 4.8.2. From: interchange-users at interchange.redhat.com (CHRIS KNIGHT) Date: Thu Nov 1 10:46:01 2001 Subject: [ic] Problem with modular options Marc, the following quote is taken from an email sent to me by Dave Jenkins from the Interchange support team; "... Before going any further, note that modular options *are not yet functional*. It had been decided to pull them out of 4.8, with the target of including them in 5.0, but somehow the admin code to enable them is still in the UI. Do not use it. ..." not good news but I hope it saves you effort trying. Chris >>> Marc.Sachtleber@offis.de 11/1/01 1:09:36 AM >>> Hi All, I m using Interchange 4.8.2 on Suse Linux with mysql 9.38 and Perl 5.6.1 and I ve got a problem in generating products with modular options. The generation of the option-enums and the variants with the admin-UI works fine, the product variants are displayed in the store-frontend, but when I try to buy the product nothing is placed into the shopping cart. The error-log says: 134.106.52.36 oNJ9ooAj:134.106.52.36 - [31/Oktober/2001:17:01:43 +0100] LGNCatalog /cgi-bin/LGNCatalog/order.html Attempt to order missing product code: 00027-2-2 A product variant with this code has been entered into the "options" table of the database by the admin-UI, but it seems that it is not found by the shopping cart. Can anybody help me or at least tell me, what entries have do be placed into the database to define a product with modular options? Perhaps I can enter the values manually. By the way: The "Hand-Plane"-example from the demoshop works fine. Thanks Marc Sachtleber _________________________________________________________ Dipl.-Inform. Marc Sachtleber OFFIS Multimedia und Internet-Informationsdienste Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22- 222- Fax: +49 4 41 97 22- 102 E-Mail: Marc.Sachtleber@offis.de - URL:http://www.offis.de _________________________________________________________ _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 1 11:02:01 2001 Subject: [ic] Admin image upload not working Ok changing the link owner to interch fixed it. Thanks for the help, Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Balicki Sent: Thursday, November 01, 2001 9:22 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Admin image upload not working Rick Eicher II wrote: > lrwxrwxrwx 1 root interch 30 Nov 1 09:42 images -> ^^^^ Should be owned by interch. > /home/ecad/html/basket/images/ Also, what are the perms on /home/ecad/html/basket/images? The link to the directory doesn't necessarily have the same permissions as the actual directory. --J(K) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Thu Nov 1 11:13:00 2001 Subject: [ic] delete a catalog Hello, Would it be sufficient to simply wipe out: 1. The files in the catalog 2. The database 3. The references in the general config Or does some sort of program exist to do this ? -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Thu Nov 1 11:46:00 2001 Subject: [ic] options I tried it on 4.8.1 and it works just fine.. On Thu, 2001-11-01 at 09:39, Fred Pope wrote: > What version of IC are you using? I did this using IC 4.8.2. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 1 12:00:00 2001 Subject: [ic] CVS and catalogs > "Bernino Lind" <lind@catpipe.net> writes: > > > Hello, > > > > If I want my catalog to be in our CVS does some guideline > then exist ? > > > > I have tried the documentation section in IC, but the > document called > > Interchange+CVS HOWTO has been removed. > > Duh, seems to be a little accident. > > Ciao > Racke This link still works: http://interchange.redhat.com/doc-4.8/ic_howto_cvs.html Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 1 12:06:00 2001 Subject: [ic] delete a catalog > Hello, > > Would it be sufficient to simply wipe out: > > 1. The files in the catalog > 2. The database > 3. The references in the general config > > Or does some sort of program exist to do this ? > > -- > med venlig hilsen / Best Regards > Bernino Lind +45 7021 0050 Thus spaketh Heins: " Four steps: 1. Remove the Catalog line from interchange.cfg, i.e. perl -pi.bak -e 's/^Catalog\s+construct.*//' interchange.cfg Or use your favorite editor. 2. Remove the link program (i.e. /cgi-bin/construct). 3. Remove the HTML directory (i.e. /home/httpd/html/construct). 4. Remove the catalog directory (i.e. ~/catalogs/construct). At that point, all traces are gone except for a construct.status file that lays around in INTERCHANGE_ROOT/etc. You can remove that too if you like more than 4 steps. 8-) " Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 1 12:08:00 2001 Subject: [ic] Admin image upload not working Ok I lied it is still not working. :( The permissions on the /var/lib/interchange/basket/image dir in the catalog dir: lrwxrwxrwx 1 interch interch 30 Nov 1 09:42 images -> /home/ecad/html/basket/images/ The permissions on the /home/ecad/html/basket dir in the html dir: drwxrwxrwx 3 interch interch 4096 Oct 31 13:20 basket The permissions on the /home/ecad/html/basket/image dir: drwxrwxrwx 6 interch interch 4096 Nov 1 09:41 images The permissions on the /home/ecad/html/basket/image/items and ...thumb dir: drwxrwxrwx 2 interch interch 4096 Nov 1 10:00 items drwxrwxrwx 2 interch interch 4096 Nov 1 10:05 thumb The error.log file: > file '>images/items/BT184G.jpg': Permission denied > to write this data: > SCALAR(0x91e9258) 216.111.193.94 foCPx9Aj:216.111.193.94 - [01/November/2001:12:00:37 -0500] basket /cgi- bin/basket/ui failed to write images/items/BT184G.jpg: Permission denied I thought it was working for a minute there. Thanks, rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: Thursday, November 01, 2001 10:09 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Admin image upload not working Ok changing the link owner to interch fixed it. Thanks for the help, Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Balicki Sent: Thursday, November 01, 2001 9:22 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Admin image upload not working Rick Eicher II wrote: > lrwxrwxrwx 1 root interch 30 Nov 1 09:42 images -> ^^^^ Should be owned by interch. > /home/ecad/html/basket/images/ Also, what are the perms on /home/ecad/html/basket/images? The link to the directory doesn't necessarily have the same permissions as the actual directory. --J(K) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 1 12:09:04 2001 Subject: [ic] Searching on more than one table At 12:57 PM 11/01/2001 +0100, you wrote: >Tobias Henle <t.henle@thiesen.com> writes: > > >[...] > > > > > Yes but not if you have 2000 entrys in your Product database and make a > > Query for every Information you need like the data-tag dose. > >Uhh ? What do you mean ? > >However, vanilla IC searches are fast enough on 2000 entries. You >need to optimize your pages, I suppose. > >Ciao > Racke Yes. I'm not condoning it, but I have a client with around 25,000 records in a products file - the source text weighs in at around 4MB - using the default db (GBDM). He can get just about any results list (1 item or 100's) in about 2 seconds - it is just a matter of indexing and using coordinated search terms or the fast binary search methods. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Thu Nov 1 12:13:00 2001 Subject: [ic] add on-the-fly in admin Hi, Is there some way to add an item "on-the-fly" that is NOT in the catalog. Lets say you just want to make up an item, desc. and price while you are entering in an order in the admin section. i.e. You want to add a discount for this person shown as an item, but you dont want to go in and add an item called "discount" and put in that specific dollar amount which would be different next time you wanted to use it. Any info is appreciated. Thanks! Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Thu Nov 1 12:33:01 2001 Subject: [ic] Admin image upload not working Rick Eicher II wrote: > Ok I lied it is still not working. :( Bummer. > The permissions on the /var/lib/interchange/basket/image dir in the catalog > dir: [dir listings snipped] Those looked correct to me. (Well, they shouldn't be 777, but for testing purposes I guess it's ok. You'll change it back later, right? :) > I thought it was working for a minute there. Did it work once, then not again? Perhaps BT184G.jpg already exists and the permissions on that file won't allow you to write over it? I'm not sure where ic stores umask info, I haven't needed to deal with that yet. Stab in the dark time: perhaps ic is running as a user other than interch. That might produce an error like this. Look in .../thumb and see what files are there, and check their permissions. > Thanks, > rick Good luck, --J(K) From: interchange-users at interchange.redhat.com (Gustavo A. Barreto A.) Date: Thu Nov 1 12:36:00 2001 Subject: [ic] item-modifier in 4.8? This is a multi-part message in MIME format. ------=_NextPart_000_0042_01C162D1.A8C82360 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0043_01C162D1.A8C82360" ------=_NextPart_001_0043_01C162D1.A8C82360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I just upgraded from 4.6 to 4.8, big jump! ;) I moved one of my stores to the new IC because administrave reasons... = my boss asked me to do that. I just set everything to use the 4.8 IC but = with the same files and database structure used in 4.6. After that = everything works ok except the item-modifier options that I used to = have. I used to have 3 item-options embroidery-tex embroidery-font and = embroidery-color.For reference in my cart I have: [if-item-field sku =3D~ /-1$/ ] <br><font face=3D"Verdana, Arial, Helvetica, sans-serif" = size=3D"1"> <select name=3D"[modifier-name embr_font]" size=3D1> <option value=3D"Block letter">Block letter <option value=3D"Script">Script </select>&nbsp;&nbsp; <select name=3D"[modifier-name embr_color]" size=3D1> <option value=3D"Navy">Navy <option value=3D"Royal Blue">Royal Blue <option value=3D"Black">Black <option value=3D"Emerald Green">Emerald Green <option value=3D"Burgundy">Burgundy <option value=3D"Peach">Peach <option value=3D"Pink">Pink <option value=3D"Red">Red </select> <br> <textarea wrap=3Dphysical name=3D"[modifier-name = embr_text]" rows=3D2 cols=3D25></textarea> [/if-item-field] This works aparently right, and I get the item-modifier data printed in = the checkout.html where I have: [if-item-field sku =3D~ /-1$/ ] <br> <font face=3D"Verdana, Arial, Helvetica, sans-serif" = size=3D"1"> Font Type: [item-modifier embr_font]<br> Font Color: [item-modifier embr_color]<br> Text: [item-modifier embr_text]</FONT> [/if-item-field]=20 Everything works OK at this point, but I cannot get this information = after the checkout. The information used to be sent in the report, where = I have: [if-item-modifier embr_text] TEXT-->[item-modifier = embr_text][/if-item-modifier] [if-item-modifier embr_color] COLOR-->[item-modifier = embr_color][/if-item-modifier] [if-item-modifier embr_font] FONT-->[item-modifier = embr_font][/if-item-modifier] I tested that using=20 [if-modifier embr_text] TEXT-->[item-modifier = embr_text][/if-modifier] [if-modifier embr_color] COLOR-->[item-modifier = embr_color][/if-modifier] [if-modifier embr_font] FONT-->[item-modifier = embr_font][/if-modifier] And that didnt worked either. I already set the UseModifier in the catalog.cfg like this: UseModifier size color embr_font embr_color embr_text Everything seems to be OK, but the embroidery information is not printed = in the report mail. I will appreciate any help with this weird thing..... TIA. Gustavo. ------=_NextPart_001_0043_01C162D1.A8C82360 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.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DCourier size=3D2>Hello, I just upgraded from 4.6 to = 4.8, big jump!=20 ;)</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>I moved one of my stores to the new = IC because=20 administrave reasons... my boss asked me to do that. I just set = everything to=20 use the 4.8 IC but with the same files and database structure used in = 4.6. After=20 that everything works ok except the item-modifier options that I used to = have. I=20 used to have 3 item-options embroidery-tex embroidery-font and=20 embroidery-color.</FONT><FONT face=3DCourier size=3D2>For reference in = my cart I=20 have:</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;[if-item-field sku=20 =3D~ /-1$/=20 ]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;=20 &lt;br&gt;&lt;font face=3D"Verdana, Arial, Helvetica, sans-serif"=20 size=3D"1"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;select name=3D"[modifier-name embr_font]"=20 size=3D1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option value=3D"Block letter"&gt;Block=20 letter<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Script"&gt;Script<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/select&gt;&amp;nbsp;&amp;nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;select name=3D"[modifier-name embr_color]"=20 size=3D1&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Navy"&gt;Navy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option value=3D"Royal Blue"&gt;Royal=20 Blue<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Black"&gt;Black<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option value=3D"Emerald Green"&gt;Emerald=20 Green<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Burgundy"&gt;Burgundy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Peach"&gt;Peach<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Pink"&gt;Pink<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;option=20 value=3D"Red"&gt;Red<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/select&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;br&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;textarea wrap=3Dphysical name=3D"[modifier-name embr_text]" rows=3D2 = cols=3D25&gt;&lt;/textarea&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;=20 [/if-item-field]</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>This works aparently right, and I get = the=20 item-modifier data printed in the checkout.html where&nbsp;I</FONT><FONT = face=3DCourier size=3D2> have:</FONT></DIV> <DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier = size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 [if-item-field sku =3D~ /-1$/=20 ]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;=20 &lt;br&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;font face=3D"Verdana, Arial, Helvetica, sans-serif" = size=3D"1"&gt;</FONT></DIV> <DIV><FONT face=3DCourier=20 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;=20 Font Type: [item-modifier embr_font]&lt;br&gt;</FONT></DIV> <DIV><FONT face=3DCourier=20 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;=20 Font Color: [item-modifier embr_color]</FONT><FONT face=3DCourier=20 size=3D2>&lt;br&gt;</FONT></DIV> <DIV><FONT face=3DCourier=20 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;=20 Text: [item-modifier=20 embr_text]&lt;/FONT&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 [/if-item-field] </FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Everything works OK at this point, = but I cannot=20 get this information after the checkout. The information used to be sent = in the=20 report, where I have:</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; [if-item-modifier = embr_text]=20 TEXT--&gt;[item-modifier embr_text][/if-item-modifier]<BR>&nbsp;&nbsp;=20 [if-item-modifier embr_color] COLOR--&gt;[item-modifier=20 embr_color][/if-item-modifier]</FONT></DIV> <DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; [if-item-modifier = embr_font]=20 FONT--&gt;[item-modifier embr_font][/if-item-modifier]</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>I tested that using </FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; [if-modifier embr_text]=20 TEXT--&gt;[item-modifier embr_text][/if-modifier]<BR>&nbsp;&nbsp; = [if-modifier=20 embr_color] COLOR--&gt;[item-modifier = embr_color][/if-modifier]</FONT></DIV> <DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; [if-modifier embr_font]=20 FONT--&gt;[item-modifier embr_font][/if-modifier]</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>And that didnt worked = either.</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>I already set the UseModifier in the = catalog.cfg=20 like this:</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>&nbsp;&nbsp; UseModifier&nbsp;&nbsp; = size color=20 embr_font embr_color embr_text</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Everything seems to be OK, but the = embroidery=20 information is not printed in the report mail.</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>I will appreciate any help with this = weird=20 thing.....</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>TIA.</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Gustavo.</FONT></DIV> <DIV><FONT face=3DCourier = size=3D2></FONT>&nbsp;</DIV></DIV></BODY></HTML> ------=_NextPart_001_0043_01C162D1.A8C82360-- ------=_NextPart_000_0042_01C162D1.A8C82360 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:20011101T173516Z END:VCARD ------=_NextPart_000_0042_01C162D1.A8C82360-- From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Nov 1 12:44:00 2001 Subject: [ic] various (hopefully interesting) newbie questions Howdy! I've been playing around with 4.6.x of Interchange for a while now, and we're getting ready to install the latest and greatest on some production hardware and build our first real catalog. I have a few hopefully interesting questions... My best guess is that someone out there has already attacked these problems, and I'd love to know what approach you used, so we hopefully can avoid reinventing the wheel. If we can get the architecture right and make good decisions now, I'm sure it'll really pay off over time. The questions are pretty varied, so if you don't have any ideas on one, just read along... you might be able to help with the next one! We have one unified group of items in inventory, and have a number of different web stores which sell overlapping sets of items. For obvious reasons, we're very interested in only maintaining one database table of items and referencing that table from each of the different stores. Kind of an "in house mall" I guess. So, could someone give me a concrete example of a good way to share one item table between multiple stores? How about a solution which allows for the possibility of different item pricing per store? It had also occurred to me that it might be helpful to our customers to be able to have one unified shopping cart, even though they are shopping at different sites that we run. (The sites do reference each other.) A unified shopping cart would simplify our fulfillment and save shipping charges for our customers. Obviously a single secure domain would allow for a single checkout process across a group of domains. I know that many people have indicated that it's a really bad idea to use one secure certificate across a group of stores. That said, has anyone tried this as a way to unify checkout across multiple stores? What are the drawbacks of this scenario? Any suggestions as to how to most cleanly accomplish this? One bit of feedback that I received here was that many folks felt the single checkout page system in the demo catalog was confusing. We would prefer to have a multiple page customer account building system and a simplified checkout system. We like the paradigm that we've seen on the net where each page just takes in a small amount of information, and the pages are numbered i.e. step 1 of 5 or some such. Has anyone coded a multi page customer account or multi page check out process? I'd absolutely love to see some code. Finally, my last questions deal with presentation of items. We currently use Yahoo! Store and there are some limitations and some good things about that solution. One concept that it allows is the idea of a "nil" item. This is an item which is orderable but does not have any detailed information attached to it. Take a look at: http://www.condom.com/cal-xpll.html The main page is an unorderable item "Lifestyles Xtra Pleasure" with caption and large picture but no price. It references three orderable items of varying quantities each with different prices. Obviously in Interchange we could simply select an option for the quantity and set different prices... but we kind of like the current situation where the customer can see all the options up front without pulling anything down. I guess more generally, the Yahoo! Store system treats section, subsection, item and nil pages all the same way. If it has a price and is orderable, an "Add to Cart" button appears. If it does not have a price or is not orderable, the item cannot be purchased. If there are "contents" they are rendered at the bottom of the page. Has anyone done anything similar with Interchange? Are there any obvious workarounds which would get me similar behavior without too much effort? I don't necessarily like the Yahoo! method, but initially we're going to be loading Interchange with data from Yahoo! and it would really be a boost to morale -- and good for our customers -- if we could start out with something that behaved mostly like our current solution. Special thanks to anyone and everyone who has gotten to this point in the message... All of your help is VERY appreciated! -- Bob From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 1 12:46:01 2001 Subject: [ic] add on-the-fly in admin On Thu, Nov 01, 2001 at 12:16:38PM -0500, FixtureFactor.com wrote: > Hi, > Is there some way to add an item "on-the-fly" that is NOT in the catalog. > Lets say you just want to make up an item, desc. and price while you are > entering in an order in the admin section. i.e. You want to add a discount > for this person shown as an item, but you dont want to go in and add an item > called "discount" and put in that specific dollar amount which would be > different next time you wanted to use it. > > Any info is appreciated. Thanks! You CAN do that but I'd suspect you will find it is a can of worms. If you just want to charge an arbitrary total against a list of products, it might be easier and cleaner to override the total instead. Allowing price overrides and price changes through cgi is dangerous; I'd not do it except in a "known user" scenario - maybe the admin section is ok. Changing the price of an existing item would be better. But by the time you set that up you might as well price it at $1 and use quantity to set the discount amount. Why not just use the built in DISCOUNT feature? You could set that too. > > Sincerely, > Aaron Hazelton > FixtureFactor.com V.P. > 828.631.3477 > > We welcome your feedback! Please take 2 minutes and click here: > http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Birgitt Funk) Date: Thu Nov 1 12:52:01 2001 Subject: [ic] [OT] Red Hat spearheaded Amazon's switch to Linux Sorry for bothering you with an off-topic message, but I just read <A HREF="http://news.wideopen.com/ajb/2-118,209-103,18675531"> this </A> from Red Hat's wideopen.com's news site. It's very interesting to read this and I hope that Amazon finally gets the picture "and saves itself" some more in using Interchange as well. At least I would wish Mike Heins and the Akopia developers and all the Red Hat developers of IC the satisfaction of making Mr. Bezos "getting" it (at least finally at last). _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Thu Nov 1 13:12:01 2001 Subject: [ic] add on-the-fly in admin I only want to do this in the ADMIN section, when i am placing an order on behalf of a customer. I could do a $1 item, but is it possible to change the title of that item as you are adding it? How would you make any changes necessary to be able to do this stuff? Thanks alot Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of cfm@maine.com Sent: Thursday, November 01, 2001 12:45 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] add on-the-fly in admin On Thu, Nov 01, 2001 at 12:16:38PM -0500, FixtureFactor.com wrote: > Hi, > Is there some way to add an item "on-the-fly" that is NOT in the catalog. > Lets say you just want to make up an item, desc. and price while you are > entering in an order in the admin section. i.e. You want to add a discount > for this person shown as an item, but you dont want to go in and add an item > called "discount" and put in that specific dollar amount which would be > different next time you wanted to use it. > > Any info is appreciated. Thanks! You CAN do that but I'd suspect you will find it is a can of worms. If you just want to charge an arbitrary total against a list of products, it might be easier and cleaner to override the total instead. Allowing price overrides and price changes through cgi is dangerous; I'd not do it except in a "known user" scenario - maybe the admin section is ok. Changing the price of an existing item would be better. But by the time you set that up you might as well price it at $1 and use quantity to set the discount amount. Why not just use the built in DISCOUNT feature? You could set that too. > > Sincerely, > Aaron Hazelton > FixtureFactor.com V.P. > 828.631.3477 > > We welcome your feedback! Please take 2 minutes and click here: > http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (John Clayton) Date: Thu Nov 1 13:32:01 2001 Subject: [ic] options I am using 4.8.2, but I figured it out. The name field in the simple options must be one word, or have no spaces. It works fine now. Thanks John --- Eduardo Dominguez <edmz@yahoo.com> wrote: > I tried it on 4.8.1 and it works just fine.. > > On Thu, 2001-11-01 at 09:39, Fred Pope wrote: > > What version of IC are you using? I did this using > IC 4.8.2. > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at > http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From: interchange-users at interchange.redhat.com (Douglas Manning) Date: Thu Nov 1 13:48:01 2001 Subject: [ic] Shipping Method Popup At 08:44 PM 10/30/2001 -0500, you wrote: >On Tue, 30 Oct 2001, Douglas Manning wrote: > >DM>>I myself am having trouble getting the FREE shipping working based on the >DM>>amount that they spend. >DM>> >DM>>Here is what my free lines look like >DM>> >DM>>FREE Free Shipping! [subtotal noformat=1] 0 0 e >DM>>0.00 {'ui_ship_type' => "_subtotal",'ups' => "0",'PriceDivide' => >DM>>"1",} >DM>>FREE Free Shipping! [subtotal noformat=1] 750 9999999 >DM>>0.00 {'PriceDivide' => "1",} > >This one is easy (for me). > >I have told them that if they spend more than $80 in products, and if they >select Ground as their shipping mode that they will get free shipping. With >this set up, if they select any other shipping mode they will have to pay >for shipping no matter how much they spend. > >In shipping.asc: > >fdxg Ground [subtotal noformat=1] 80 999999 e Free Shipping >{'ui_ship_type' => "_subtotal",'ups' => "0",} This just returned an error message to the browser that said free shipping but did not give an option in the drop down list. I did however figure out the problem. You can't use 0 as a value for the shipping calculation you can however set the value to 0.001 and it works perfectly. From: interchange-users at interchange.redhat.com (Laura R Donnelly) Date: Thu Nov 1 13:57:01 2001 Subject: [ic] Authorize.net desperation Version 4.8.1 First off- I do not have access to all of the interchange files since I am with an ISP. They emailed me a copy of the authorizeNet.pm file so that I can see the instructions there. I placed (in a various location) > Variable MV_PAYMENT_ID myusername > Variable MV_PAYMENT_SECRET mypassword > Variable MV_PAYMENT_MODE custom authorizenet > Variable MV_PAYMENT_REFERER mySecureUrl like Jeff did even though Ron said it was unnecessary and read the pm file. I am still clueless. I cannot access logs since they are on a directory level below my access privledges. I try to process on a real card and everything goes through...I get the receipt and emails but when I check my authorize.net transactions page nothing is there. Am I missing something? My ISP told me to enter my authorizenet info through the wizard (which I have done a million times) but I cannot even figure out where this info is stored once I enter it. I have been reading the threads up and down. I cannot get this to work. Please help. When I get this straightened out...my site will be ready. Laura From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 1 14:05:00 2001 Subject: [ic] [OT] Red Hat spearheaded Amazon's switch to Linux > Sorry for bothering you with an off-topic message, but I just read <A > HREF="http://news.wideopen.com/ajb/2-118,209-103,18675531"> > this </A> from > Red Hat's wideopen.com's news site. > > It's very interesting to read this and I hope that Amazon > finally gets the > picture "and saves itself" some more in using Interchange as well. > > At least I would wish Mike Heins and the Akopia developers > and all the Red > Hat developers of IC the satisfaction of making Mr. Bezos > "getting" it (at > least finally at last). I second that opinion. Gotta get those sales teams working on Amazon to get them on IC. My friend is a programmer for Amazon in their Seattle office, so I'll get him to start telling his boss to "go all the way" with IC. I wouldn't mind having a few @amazon.com addresses on the core team. :-) Anyone else know someone higher up to drop a line on? Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Thu Nov 1 14:07:00 2001 Subject: [ic] Database HI, How do I define an arbitrary database? From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 1 14:20:00 2001 Subject: [ic] add on-the-fly in admin At 12:16 PM 11/01/2001 -0500, you wrote: >Hi, >Is there some way to add an item "on-the-fly" that is NOT in the catalog. >Lets say you just want to make up an item, desc. and price while you are >entering in an order in the admin section. i.e. You want to add a discount >for this person shown as an item, but you dont want to go in and add an item >called "discount" and put in that specific dollar amount which would be >different next time you wanted to use it. > >Any info is appreciated. Thanks! > >Sincerely, >Aaron Hazelton >FixtureFactor.com V.P. >828.631.3477 I can be done if you are willing to override the UI's entry.html page and edit the source. I am currently working on the IC docs, and among other things I have restored the section which deals with on-the-fly ordering. It is not published on the interchange developers' site yet, but you can see it here: http://www.insitehosting.com/icdocs/ic_ecommerce.html ...follow the link on "how to set up an on-the-fly item" and take a look at the form examples. Basically, once your catalog is configured for OnFly, you would want to include the relevant fields in the existing form in entry.html, creating an area in which the admin can type the data for an on-the-fly item and click a button to add it to the order. Yes, negative dollar amounts will work. 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 interchange.redhat.com (cyrille) Date: Thu Nov 1 14:28:01 2001 Subject: [ic] unsuscribe *********** REPLY SEPARATOR *********** On 01/11/2001 at 12:02 interchange-users-request@interchange.redhat.com wrote: >This large message has been converted to an attachment. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 1 14:30:00 2001 Subject: [ic] Database > HI, How do I define an arbitrary database? Here's how I do it: 1. Think of a great name for your arbitrary database. SYNERGY-DB 2. Think of some great features for it Cross-platform, CORBA-based, N-Tier Architecure, and Interchange Compatible 3. Tell others your definition "Hey, MySQL sucks, SYNERGY-DB rules!" Serious answer: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_13.html :-) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Thu Nov 1 14:55:00 2001 Subject: [ic] Database OK, well I defined the database in the catalog.cfg file like so Database table001 table001.txt TAB at which point I need to pull information on the flypage for item 001 how do I access fields on the flypage? something like [display table="table[item-code].txt" key=[first field]] PS (Cute : Synergy-db) I tried it my boss is just giving me blank stares.:) At 11:28 11/1/01 -0800, you wrote: > > HI, How do I define an arbitrary database? > >Here's how I do it: > >1. Think of a great name for your arbitrary database. > > SYNERGY-DB > >2. Think of some great features for it > > Cross-platform, CORBA-based, N-Tier Architecure, and Interchange >Compatible > >3. Tell others your definition > > "Hey, MySQL sucks, SYNERGY-DB rules!" > >Serious answer: > > http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icdatabase > > >http://interchange.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_13.html > >:-) > >Dan Browning >Kavod Technologies > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Korkin) Date: Thu Nov 1 15:13:01 2001 Subject: [ic] SalesTax Bug? Wierd issue here, we're attempting to add a new sales tax for code 'NC' - this is already defined in the States table. 63.167.204.252 fbquPDyY:63.167.204.252 - [01/November/2001:13:57:17 -0400] ffactor /cgi-bin/ffactor.cgi/admin/tax_simple.html Attempt to set variable::Variable::TAXSHIPPING in read-only table 63.167.204.252 fbquPDyY:63.167.204.252 - [01/November/2001:13:57:17 -0400] ffactor /cgi-bin/ffactor.cgi/admin/tax_simple.html Attempt to set variable::Variable::TAXRATE in read-only table 63.167.204.252 fbquPDyY:63.167.204.252 - [01/November/2001:13:57:17 -0400] ffactor /cgi-bin/ffactor.cgi/admin/tax_simple.html Attempt to set variable::Variable::TAXAREA in read-only table However-- these tables are NOT set as read-only. Any ideas? We're racking our minds over what should be very simple... Permissions on the files are 0664, user.mvend for ownership. Any ideas? Thanks, Jason. From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Thu Nov 1 15:23:01 2001 Subject: [ic] Order receipts where you able to find what causes this ? I have the same problem... On Wed, 2001-10-31 at 17:06, Michael Hall wrote: > > Finally had an opprtunity to use options, got them set up, selection and > pricing seem to work but in the customers email receipt I see this: > > Quan Item No. Description Price Extension > ---- ----------- ------------------------------- -------------- ---------------- > 1 CUS-80-PRM- Rock Island T-Shirt SIZE-->XL $13.30 $13.30 > T-SHIRT COLOR-->mochabrown > <input type=hidden > name="mv_item_option" > value="color">Mocha > Brown<BR><input type=hidden > name="mv_item_option" > value="size">Extra Large > > SUBTOTAL $13.30 > SALES TAX $0.90 > SHIPPING $0.00 > > ORDER TOTAL $14.20 > > Thinking it was something in my set up I also checked the stock demo > foundation store and get the same type thing: > > Quan Item No. Description Price Extension > ---- ----------- ------------------------------- -------------- ---------------- > 1 os28011 Spackling Knife $14.99 $14.99 > <input type=hidden > name="mv_item_option" > value="blade">Steel > blade<BR><input type=hidden > name="mv_item_option" > value="handle">Wood handle > > SUBTOTAL $14.99 > SALES TAX $1.01 > SHIPPING $6.15 > > ORDER TOTAL $22.15 > > Configuration problem, bug? > > Also in the emailed order I see this, should the sku be printed twice? > > Quan Item No. Description Price Extension > ---- ----------- -------------------------------- ------------- --------------- > 1 CUS-80-PRM- Rock Island T-Shirt $13.30 $13.30 > T-SHIRT > CUS-80-PRM- color: Mocha Brown, size: > T-SHIRT Extra Large > > > > SUBTOTAL $13.30 > SALES TAX $0.90 > SHIPPING $0.00 > ORDER TOTAL $14.20 > > -- > Be careful of whose feet you step today, for they may be attached to > the ass you must kiss tomorrow. > > Mike Hall, > Unix Admin - Rock Island Communications <mikeh@rockisland.com> > System Admin - riverside.org <mhall@riverside.org> > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 1 15:29:00 2001 Subject: [ic] Authorize.net desperation Quoting Laura R Donnelly (laura@smartaleck.com): > Version 4.8.1 > > First off- I do not have access to all of the interchange files since I am > with an ISP. They emailed me a copy of the authorizeNet.pm file so that I > can see the instructions there. > > I placed (in a various location) > > > Variable MV_PAYMENT_ID myusername > > Variable MV_PAYMENT_SECRET mypassword > > Variable MV_PAYMENT_MODE custom authorizenet The mode should be just "authorizenet". Also, your provider needs to place Require module Vend::Payment::AuthorizeNet in their interchange.cfg file. If they don't have Net::SSLeay or Crypt::SSLeay installed, it won't work. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> How far can you open your mind before your brains fall out? From: interchange-users at interchange.redhat.com (Jake Thompson) Date: Thu Nov 1 15:30:33 2001 Subject: [ic] IC Programming Question Hi All,   I cannot figure out how to do this.   I have interchange 4.8.2, and I am running a catalog based off of foundation.  I need to setup a special pricing structure.    I have approx 200-300 products in the same category. They are $6 each.  If 3 or more of any of the products in the category are purchased , they are $5 each.    How can I setup a discount such as this across all the products in a category.   Any hints/help would be greatly appreciated.   Thanks, Jake T. From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 1 15:44:01 2001 Subject: [ic] No shipping method I get the following on the checkout page: Note: No match found for mode 'FLATD', quantity '', returning 0. It is trying to call a shipping method FLATD. I have delete all methods. Then create one called standard. Have set the SHIP_DEFAULT_MODE to standard. Can do a less on the variable.txt file and find it in there set to standard. I have not idea why it is trying to call FLATD. Any ideas? lost, rick From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Thu Nov 1 16:00:00 2001 Subject: [ic] SalesTax Bug? Jason Korkin wrote: > > Wierd issue here, we're attempting to add a new sales tax for code 'NC' > - this is already defined in the States table. I've run into this too, I didn't figure out the root cause, but here's how I got around it: Login to ui, click on administration, click on preferences, click on tax. Now, in the tax variables you need to set TAXAREA to NC, and TAXRATE to NC=taxrate. The NC=taxrate is important (of course, taxrate is your tax rate, eg 6.575 or somesuch.) You can add multiple states by setting TAXAREA to NC, MO, WA, etc then setting TAXRATE to NC=5.5, MO=6.575, WA=25, etc... I hope that's clear. :/ That should do it. For some reason the ui wants to set TAXRATE to just the numerical value and not the variable=rate pair that you need. This is probably a bug, but I'm not really sure. :) Good luck, --J(K) From: interchange-users at interchange.redhat.com (Ray Glaze) Date: Thu Nov 1 16:28:01 2001 Subject: [ic] SalesTax Bug? Hi Jason, Do you happen to have the syntax for taxshipping? I have tried WA=1, 1, WA=true, etc... Ray -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Balicki Sent: 01 Nov 2001 12:58 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] SalesTax Bug? Jason Korkin wrote: > > Wierd issue here, we're attempting to add a new sales tax for code 'NC' > - this is already defined in the States table. I've run into this too, I didn't figure out the root cause, but here's how I got around it: Login to ui, click on administration, click on preferences, click on tax. Now, in the tax variables you need to set TAXAREA to NC, and TAXRATE to NC=taxrate. The NC=taxrate is important (of course, taxrate is your tax rate, eg 6.575 or somesuch.) You can add multiple states by setting TAXAREA to NC, MO, WA, etc then setting TAXRATE to NC=5.5, MO=6.575, WA=25, etc... I hope that's clear. :/ That should do it. For some reason the ui wants to set TAXRATE to just the numerical value and not the variable=rate pair that you need. This is probably a bug, but I'm not really sure. :) Good luck, --J(K) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Nov 1 17:03:01 2001 Subject: [ic] Source for Select on Inventory Stock Alert Message IC 4.8.2 / RH 7.2 / PGSQL We are working on getting the stock message feature working on the flypage. It is working in the admin, but not on flypage. You can make the stock message work on the flypage by replacing the default "Out Of Stock" with [item-data inventory stock_message] and it will pull then message out of the inventory table if it is defined. We now want to change the options for the out of stock message select box in the item:inventory admin page. Does anyone know where the select box on the form on the inventory page of the item edit admin section is getting the option values? I have searched like you read about and cannot find it anywhere. I am assuming that it is a text file somewhere since it is not in the database.....as far as I can tell. Thanks. -- Fred Pope From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 1 17:15:00 2001 Subject: [ic] Admin image upload not working Ok I lied it is still not working. :( The permissions on the /var/lib/interchange/basket/image dir in the catalog dir: lrwxrwxrwx 1 interch interch 30 Nov 1 09:42 images -> /home/ecad/html/basket/images/ The permissions on the /home/ecad/html/basket dir in the html dir: drwxrwxrwx 3 interch interch 4096 Oct 31 13:20 basket The permissions on the /home/ecad/html/basket/image dir: drwxrwxrwx 6 interch interch 4096 Nov 1 09:41 images The permissions on the /home/ecad/html/basket/image/items and ...thumb dir: drwxrwxrwx 2 interch interch 4096 Nov 1 10:00 items drwxrwxrwx 2 interch interch 4096 Nov 1 10:05 thumb The error.log file: > file '>images/items/BT184G.jpg': Permission denied > to write this data: > SCALAR(0x91e9258) 216.111.193.94 foCPx9Aj:216.111.193.94 - [01/November/2001:12:00:37 -0500] basket /cgi- bin/basket/ui failed to write images/items/BT184G.jpg: Permission denied I thought it was working for a minute there. Thanks, rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: Thursday, November 01, 2001 10:09 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Admin image upload not working Ok changing the link owner to interch fixed it. Thanks for the help, Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Balicki Sent: Thursday, November 01, 2001 9:22 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Admin image upload not working Rick Eicher II wrote: > lrwxrwxrwx 1 root interch 30 Nov 1 09:42 images -> ^^^^ Should be owned by interch. > /home/ecad/html/basket/images/ Also, what are the perms on /home/ecad/html/basket/images? The link to the directory doesn't necessarily have the same permissions as the actual directory. --J(K) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 1 17:20:00 2001 Subject: [ic] Source for Select on Inventory Stock Alert Message At 03:05 PM 11/01/2001 -0700, you wrote: >IC 4.8.2 / RH 7.2 / PGSQL > >We are working on getting the stock message feature working on the flypage. >It is working in the admin, but not on flypage. You can make the stock >message work on the flypage by replacing the default "Out Of Stock" with >[item-data inventory stock_message] and it will pull then message out of the >inventory table if it is defined. > >We now want to change the options for the out of stock message select box in >the item:inventory admin page. > >Does anyone know where the select box on the form on the inventory page of >the item edit admin section is getting the option values? I have searched >like you read about and cannot find it anywhere. I am assuming that it is a >text file somewhere since it is not in the database.....as far as I can >tell. > >Thanks. >-- >Fred Pope The message choices are defined as meta data for that field (and stored in the mv_metadata table). Just click the 'meta' link under the "Out of stock message" - all should be revealed. If you don't see a 'meta' link, you need to adjust the access permissions for your UI login. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mathew Jones) Date: Thu Nov 1 18:13:00 2001 Subject: [ic] Image Upload in item editor I am using Interchange 4.8.1 and when uploading images using the item editor it uploads the file with the full path name e.g c:\windows\image.gif Looking through the list I found the suggestion below from Mike, however when I go to the edit the metadata there is no 'imagehelper' option, only Image Listing & Image Upload. ---- Make sure the metadata is: code: products::image type: imagehelper prepend: http://__SAMPLEHTML__ outboard: images/items code: products::thumb type: imagehelper prepend: http://__SAMPLEHTML__ outboard: images/thumb ---- Any help would be appreciated. Mat From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Thu Nov 1 18:38:00 2001 Subject: [ic] SalesTax Bug? Ray Glaze wrote: > > Hi Jason, > > Do you happen to have the syntax for taxshipping? I have tried WA=1, 1, > WA=true, etc... > > Ray Sorry to say, no I don't. I'm in MO, which is one of the lucky states that doesn't have to tax shipping. Here's something I do that might help you though: The foundation demo at demo.ic.redhat.com is usually set up right, so go there, change what you want to change using the ui and then see what value it puts in the tables. That's how I figured out the state tax fields. --J(K) From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Thu Nov 1 19:32:01 2001 Subject: [IC] Internal server error... OK it's been a week and I still can't find it. Staring at it too much maybe... IC 4.8.2 Perl 5.6.1 FreeBSD 4.0 Foundation -- stock install. The "orders" and "merchandising" sections of the administrative UI (and only these major sections) return "Internal Server Error" -- each time every time. A perl.core is produced in catalogs/foundation/perl.core. Also, with the "items" table displaying, clicking either yes/no in the "promo" column produced Internal server error. All other functions work great. We can add/del users, products, change page layout/content, buy stuff and checkout calculates fine. Just can't click orders or merchandising. interchange/error.log and interchange/catalogs/foundation/error.log show nothing. Apache error_log shows the 500 with "Premature end of script headers. It seems apparent (risky statement I know) that the 500 is the result of Perl issuing an error msg. Is there a way to get IC to put this message to the browser (like "fatalstoBrowser" does) or in a log somewhere? Thoughts, please. Glenn. From: interchange-users at interchange.redhat.com (Ray Glaze) Date: Thu Nov 1 19:41:01 2001 Subject: [ic] SalesTax Bug? Good idea, Jason. However, I get the exact same behavior from the demo that I get from my copy. In WA we pay on shipping, but not on income. Ray -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Balicki Sent: 01 Nov 2001 3:35 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] SalesTax Bug? Ray Glaze wrote: > > Hi Jason, > > Do you happen to have the syntax for taxshipping? I have tried WA=1, 1, > WA=true, etc... > > Ray Sorry to say, no I don't. I'm in MO, which is one of the lucky states that doesn't have to tax shipping. Here's something I do that might help you though: The foundation demo at demo.ic.redhat.com is usually set up right, so go there, change what you want to change using the ui and then see what value it puts in the tables. That's how I figured out the state tax fields. --J(K) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Thu Nov 1 20:52:00 2001 Subject: [ic] SalesTax Bug? Ray Glaze wrote: > > Good idea, Jason. > > However, I get the exact same behavior from the demo that I get from my > copy. > > In WA we pay on shipping, but not on income. > > Ray Did you, perchance, try just setting TAXSHIPPING to the percentage rate? Seems like some "keys" or whatever need the var=value pair and some just want the value. No matter what though, once you figure it out you go "oh, duh, _that_ makes sense." :) --J(K) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 1 21:29:01 2001 Subject: [ic] SalesTax Bug? Quoting Jason Balicki (kodak@asi-computers.com): > Ray Glaze wrote: > > > > Good idea, Jason. > > > > However, I get the exact same behavior from the demo that I get from my > > copy. > > > > In WA we pay on shipping, but not on income. > > > > Ray > > Did you, perchance, try just setting TAXSHIPPING to the > percentage rate? > > Seems like some "keys" or whatever need the var=value pair and > some just want the value. No matter what though, once you figure > it out you go "oh, duh, _that_ makes sense." :) This is a bug that was fixed in CVS some weeks ago and is easily created. Just add: Pragma dynamic_variables_file_only to your catalog.cfg somewhere (perhaps best along with the Pragma in templates/foundation/theme.cfg). -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: interchange-users at interchange.redhat.com (Jorge Cuevas) Date: Thu Nov 1 22:44:01 2001 Subject: [ic] No shipping method Did you change the shipping methods in the country database for your country? On Thursday 01 November 2001 14:51, you wrote: > I get the following on the checkout page: > > Note: No match found for mode 'FLATD', quantity '', returning 0. > > It is trying to call a shipping method FLATD. I have delete all methods. > Then create one called standard. Have set the SHIP_DEFAULT_MODE to > standard. Can do a less on the variable.txt file and find it in there set > to standard. > > I have not idea why it is trying to call FLATD. > > Any ideas? > > lost, > rick > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (ako pia) Date: Fri Nov 2 00:34:01 2001 Subject: [ic] Installation Errors - Can't write uid file - plus missing files Hi All I am a first-time user and installer of Interchange. I am using 4.8.2 I am first trying to install the system at the virtual level (through Telnet) on Red Hat 6.2, and then I want to install it on a dedicated server. I uploaded everything to /home/httpd/html/interchange-4.8.2, and then I used Telnet and navigated to the directory. Then, as mentioned in the README, I entered ./configure to start the install. The script cranked away, but I got an error. So, I tried perl configure, and the script did the same thing, and I got the same error. I did searches through Bugzilla for Can't write uid file, but there were no results. Here is the error in its entirety: Interchange Version 4.7.x Configuration Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. Checking if your kit is complete... Warning: the following files are missing in your kit: dist/foundation/backup/.empty dist/foundation/templates/sampledata/tools/etc/before.cfg dist/foundation/upload/.empty dist/lib/UI/pages/admin/.access dist/lib/UI/pages/admin/reports/order/.access dist/lib/UI/pages/admin/reports/traffic/.access dist/lib/UI/pages/admin/special/.access dist/lib/UI/pages/admin/wizard/.access Please inform the author. Can't write uid file: Permission denied make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `test'. Stop. Would someone know what is halting the process? I looked all around for the missing files, but they did not come with my download. They simply do not exist. I can enter .empty (I assume that it is an empty file), but I don't know what should go in before.cfg and .access I also tried changing permissions, but that didn't seem to do the trick. If anyone has any suggestions, I would be most grateful. This is a system that would be great to have working. Thanks very much for your help. -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From: interchange-users at interchange.redhat.com (Michael Hall) Date: Fri Nov 2 00:52:01 2001 Subject: [ic] Order receipts On Thu, Nov 01, 2001 at 02:31:58PM -0600, Eduardo Dominguez wrote: > where you able to find what causes this ? > I have the same problem... No, not yet, started trying to track it down in the source, but haven't found anything yet. > On Wed, 2001-10-31 at 17:06, Michael Hall wrote: > > > > Finally had an opprtunity to use options, got them set up, selection and > > pricing seem to work but in the customers email receipt I see this: > > > > Quan Item No. Description Price Extension > > ---- ----------- ------------------------------- -------------- ---------------- > > 1 CUS-80-PRM- Rock Island T-Shirt SIZE-->XL $13.30 $13.30 > > T-SHIRT COLOR-->mochabrown > > <input type=hidden > > name="mv_item_option" > > value="color">Mocha > > Brown<BR><input type=hidden > > name="mv_item_option" > > value="size">Extra Large > > > > SUBTOTAL $13.30 > > SALES TAX $0.90 > > SHIPPING $0.00 > > > > ORDER TOTAL $14.20 > > -- If all the Chinese simultaneously jumped into the Pacific off a 10 foot platform erected 10 feet off their coast, it would cause a tidal wave that would destroy everything in this country west of Nebraska. Mike Hall, Unix Admin - Rock Island Communications <mikeh@rockisland.com> System Admin - riverside.org <mhall@riverside.org> From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Fri Nov 2 01:12:01 2001 Subject: [ic] Image Upload in item editor Quoting Mathew Jones: > I am using Interchange 4.8.1 and when uploading images using the item > editor it uploads the file with the full path name e.g > c:\windows\image.gif > Looking through the list I found the suggestion below from Mike, however > when I go to the edit the metadata there is no 'imagehelper' option, > only Image Listing & Image Upload. > > ---- > Make sure the metadata is: > > code: products::image > type: imagehelper > prepend: http://__SAMPLEHTML__ > outboard: images/items I believe imagehelper is set when you select 'Image Upload' as the type of widget when editing meta data for a table. I found this by searching the text while browsing the table mv_metadata. You could also use grep: grep -r 'imagehelper' /CATROOT/products The admin, icmenu, and mv_metadata are absolutely awesome! Just takes time to figure it out! Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Marc Sachtleber) Date: Fri Nov 2 02:13:00 2001 Subject: [ic] Problem with modular options Oops! That was my mistake! The Problem occured with *MATRIX* options not modular options Thanks Marc Sachtleber >Date: Thu, 01 Nov 2001 07:53:53 -0800 >From: "CHRIS KNIGHT" <CHRIS@spartacusleathers.com> >To: <interchange-users@interchange.redhat.com> >Subject: Re: [ic] Problem with modular options >Reply-To: interchange-users@interchange.redhat.com > >Marc, > >the following quote is taken from an email sent to me by Dave Jenkins from >the Interchange support team; > >"... Before going any >further, note that modular options *are not yet functional*. It had been >decided to pull them out of 4.8, with the target of including them in >5.0, but somehow the admin code to enable them is still in the UI. Do >not use it. >..." > > >not good news but I hope it saves you effort trying. > >Chris > > >>> Marc.Sachtleber@offis.de 11/1/01 1:09:36 AM >>> >Hi All, > >I m using Interchange 4.8.2 on Suse Linux with mysql 9.38 and Perl 5.6.1 >and I ve got a problem in generating products with modular options. The >generation of the option-enums and the variants with the admin-UI works >fine, the product variants are displayed in the store-frontend, but when I >try to buy the product nothing is placed into the shopping cart. The >error-log says: >134.106.52.36 oNJ9ooAj:134.106.52.36 - [31/Oktober/2001:17:01:43 +0100] >LGNCatalog /cgi-bin/LGNCatalog/order.html Attempt to order missing product >code: 00027-2-2 >A product variant with this code has been entered into the "options" table >of the database by the admin-UI, but it seems that it is not found by the >shopping cart. Can anybody help me or at least tell me, what entries have >do be placed into the database to define a product with modular options? >Perhaps I can enter the values manually. >By the way: The "Hand-Plane"-example from the demoshop works fine. > >Thanks > >Marc Sachtleber > > >_________________________________________________________ >Dipl.-Inform. Marc Sachtleber >OFFIS >Multimedia und Internet-Informationsdienste >Escherweg 2 - 26121 Oldenburg - Germany >Fon: +49 4 41 97 22- 222- Fax: +49 4 41 97 22- 102 >E-Mail: Marc.Sachtleber@offis.de - URL:http://www.offis.de >_________________________________________________________ _________________________________________________________ Dipl.-Inform. Marc Sachtleber OFFIS Multimedia und Internet-Informationsdienste Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22- 222- Fax: +49 4 41 97 22- 102 E-Mail: Marc.Sachtleber@offis.de - URL:http://www.offis.de _________________________________________________________ From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Nov 2 03:49:01 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Stefan Hornburg Racke wrote: > Mike Heins <mheins@redhat.com> writes: > > > [...] > > >>You have to make sure the database tables are opened first with >>a [perl ...] tag. Try: >> >> [perl tables="products pricing"][/perl] >> >>at the top of the profile. That will open the tables and should prevent >>the $Tag->total_cost from failing. >> > > &tables products pricing > &perl ... > Hi, I use &tables products pricing &perl $CGI->{pgw_result}=$Tag->post_pgw({payment_method=>"1", Price=>$Tag->total_cost({noformat=>"1"})}) pgw_result=required [scratch pgw_error_msg] now but it still wont work! is there any other tabel i have to put in the &tables tag or what is my fault! ICs ERROR.log says the following 192.168.2.12 j3RHrXAB:192.168.2.12 - [02/November/2001:09:03:20 +0100] inwa /cgi-bin/inwa/process Safe: Uncaught exception from user code: > Uncaught exception from user code: > Can't call method "open_table" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm line 899. > eval {...} called at /usr/local/interchange/lib/Vend/Data.pm line 898 [..] > eval {...} called at /usr/local/interchange/bin/interchange line 2836 > > $CGI->{pgw_result}=$Tag->post_pgw({payment_method=>"1", price=>$Tag->total_cost({noformat=>"1"})}) > pleas help me becours i need to finish this until monday :( cu mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Nov 2 03:51:37 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION THANX 4 ALL I FOUND MY MISTAKE Stefan Hornburg Racke wrote: > Mike Heins <mheins@redhat.com> writes: > > > [...] > > >>You have to make sure the database tables are opened first with >>a [perl ...] tag. Try: >> >> [perl tables="products pricing"][/perl] >> >>at the top of the profile. That will open the tables and should prevent >>the $Tag->total_cost from failing. >> > > &tables products pricing ^^^^^^^^^^^^^^^^^^^^^^^^ &tables products pricing options > &perl ... > > should work do, I think > > Ciao > Racke > > mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Nov 2 04:03:07 2001 Subject: [ic] Where to put the PaymentGatewayAcces HOWTO use order-profiles <- MORE INFORMATION Tobias Henle <t.henle@thiesen.com> writes: [...] > now but it still wont work! is there any other tabel i have to put in > the &tables tag or what is my fault! > ICs ERROR.log says the following > > 192.168.2.12 j3RHrXAB:192.168.2.12 - [02/November/2001:09:03:20 +0100] > inwa /cgi-bin/inwa/process Safe: Uncaught exception from user code: > > Uncaught exception from user code: > > Can't call method "open_table" on an undefined value at > /usr/local/interchange/lib/Vend/Data.pm line 899. > > eval {...} called at /usr/local/interchange/lib/Vend/Data.pm > line 898 Please note that I added a patch to current CVS which displays the database in question instead of this uninformative error message. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Nov 2 04:35:01 2001 Subject: [ic] Parsing of order profiles Hi List i have an interesting problem with the parsing of my orderfile. I call a Usertag from &perl and set some Scratch variables in it! eg. ** my tag ** UserTag bla Routine sub { $Scratch->{"test"}="Hallo Welt" } ** my profiles.order [..] &perl $Tag->bla() blub=required [scratch test] [..] now in the checkout page the errormessage for blub is empty becourse IC - i think - parse the IC-Tags first and the &perl last, is there any possible workaround (i try to resolve this problem since 3hours and couldn`t find any) am i lame or what? _cu_ mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Nov 2 04:44:01 2001 Subject: [ic] Parsing of order profiles Tobias Henle <t.henle@thiesen.com> writes: > Hi List > i have an interesting problem with the parsing of my orderfile. I call a > Usertag from &perl and set some Scratch variables in it! > > eg. > ** my tag ** > UserTag bla Routine sub { $Scratch->{"test"}="Hallo Welt" } > > ** my profiles.order > [..] > &perl $Tag->bla() > blub=required [scratch test] > [..] > > now in the checkout page the errormessage for blub is empty becourse IC > - i think - parse the IC-Tags first and the &perl last, is there any > possible workaround (i try to resolve this problem since 3hours and > couldn`t find any) am i lame or what? This is impossible to solve within the order profile because of the parse order. There are several possible workarounds. It depends how you output the error message. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Javier Martin) Date: Fri Nov 2 05:14:00 2001 Subject: [ic] BUG in &charge= when passing options (IC 4.8.2) Mike Heins said: > of time. The change (to Util.pm) is in CVS, both stable and devel. Now that we are at it, I have made some changes to the AuthorizeNet.pm module (4.8.2). I don't know whether you were aware of them. Sorry if I'm recurring. The diff is original versus mine: 376c376 < x_Type => $actual->{cyber_mode}, --- > x_Type => $transtype, This one is because all the mapping is performed on the variable $opt->{transaction}. If we used $actual->{cyber_mode} as x_Type, no mapping would take place and specifying "sale" would actually send "sale" instead of "AUTH_CAPTURE". 386c386 < x_Phone => $actaul->{phone_day}, --- > x_Phone => $actual->{phone_day}, Just a typo. 446,447c446,447 < < #::logDebug(qq{authorizenet response_reason_text=$response_reason_text response_code: $response_code}); --- > > #::logDebug(qq/authorizenet response_reason_text=$result{x_response_reason_text} response_code: $result{x_response_code}/); Those variables ($response_reason_text and $response_code) are never defined and would not produce any useful debug output. Javier From: interchange-users at interchange.redhat.com (Michael Bevan) Date: Fri Nov 2 05:38:01 2001 Subject: [ic] Need hired guns for our IC project Hi, my team is currently building out a healthcare b2b marketplace for a client. We had originally built this thing in perl and mhtml (thats www.metahtml.org). We are now migrating it to IC, on RH7.1 and have a need for people to contribute or lead modules which will require some, to heavy customization. If you are interested please let me know your hourly rate, and availability in hours per week. We are Canadian based, and pay international developers in US currency. We pay local developers in CDN funds. Thanks a bunch... Michael Bevan Consolidated Group 20 Jane Street Unit D Toronto, ON M6S3Y2 416-760-9409 __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com From: interchange-users at interchange.redhat.com (Michael Bevan) Date: Fri Nov 2 06:01:01 2001 Subject: [ic] Fwd: Need hired guns for our IC project Whoops, and email address is always nice ;) You can reach my spam box at mkbevan@yahoo.com Michael --- Michael Bevan <mkbevan@yahoo.com> wrote: > Date: Fri, 2 Nov 2001 02:37:23 -0800 (PST) > From: Michael Bevan <mkbevan@yahoo.com> > Subject: Need hired guns for our IC project > To: interchange-users@interchange.redhat.com > > Hi, my team is currently building out a healthcare > b2b marketplace for a client. We had originally > built > this thing in perl and mhtml (thats > www.metahtml.org). > > We are now migrating it to IC, on RH7.1 and have a > need for people to contribute or lead modules > which will require some, to heavy customization. > > If you are interested please let me know your > hourly rate, and availability in hours per week. > We are Canadian based, and pay international > developers in US currency. We pay local developers > in CDN funds. > > Thanks a bunch... > > Michael Bevan > Consolidated Group > 20 Jane Street > Unit D > Toronto, ON > M6S3Y2 > > 416-760-9409 > > > __________________________________________________ > Do You Yahoo!? > Find a job, post your resume. > http://careers.yahoo.com > __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 2 08:44:01 2001 Subject: [ic] BUG in &charge= when passing options (IC 4.8.2) Quoting Javier Martin (martin@trymedia.com): > Mike Heins said: > > > of time. The change (to Util.pm) is in CVS, both stable and devel. > > Now that we are at it, I have made some changes to the AuthorizeNet.pm > module (4.8.2). I don't know whether you were aware of them. Sorry if I'm > recurring. The diff is original versus mine: Bob Jordan had found the typo already, but the other things are now in CVS. Thanks; this type of thing is *nice* to be added to Bugzilla, but we take help wherever we can get it! Thanks. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Nov 2 08:51:01 2001 Subject: [ic] Manipulating the ORDERID Hi, in the example implementation for signio i have read the following $Vend::Session->{payment_id} = $result{'pop.order-id'}; and now there is the idea of a cool fature for my payment-gw i couldn't forget. is it possible to manipulate the order id! there is aworkaround in my mind too but i don`t like workarounds! mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Douglas Manning) Date: Fri Nov 2 09:01:01 2001 Subject: [ic] No shipping method At 02:51 PM 11/1/2001 -0600, you wrote: >I get the following on the checkout page: > > Note: No match found for mode 'FLATD', quantity '', returning 0. > >It is trying to call a shipping method FLATD. I have delete all methods. >Then create one called standard. Have set the SHIP_DEFAULT_MODE to standard. >Can do a less on the variable.txt file and find it in there set to standard. > >I have not idea why it is trying to call FLATD. Did you use to have FLATD as you SHIP_DEFAULT_MODE ? I found that when I changed this and some other variables it wouldn't take effect with just applying the tables I had to actually restart the Interchange server. I also had a lot of troubles trying to use the built in shipping editor and had a lot more success with using a good text editor and directly editing the shipping.asc file. From: interchange-users at interchange.redhat.com (Scott Kennedy) Date: Fri Nov 2 09:25:01 2001 Subject: [ic] item-modifier in 4.8? I'm having the exact same problem. Reports worked just fine in IC 4.6. I really could use some help with this. Also, the prices do not get changed when product attributes are selected. I've played with CommonAdjust and all that to no avail. Should I try to fix what I got or use options instead? If I decide to go with options what should I try: simple, modular, or matrix options? Thanks in advance, Scott --- "Gustavo A. Barreto A." <gbarreto@internettotal.net> wrote: > Hello, I just upgraded from 4.6 to 4.8, big jump! ;) > > I moved one of my stores to the new IC because administrave > reasons... my boss asked me to do that. I just set everything to use > the 4.8 IC but with the same files and database structure used in > 4.6. After that everything works ok except the item-modifier options > that I used to have. I used to have 3 item-options embroidery-tex > embroidery-font and embroidery-color.For reference in my cart I have: > > > [if-item-field sku =~ /-1$/ ] > <br><font face="Verdana, Arial, Helvetica, > sans-serif" size="1"> > <select name="[modifier-name embr_font]" size=1> > <option value="Block letter">Block letter > <option value="Script">Script > </select>&nbsp;&nbsp; > <select name="[modifier-name embr_color]" size=1> > <option value="Navy">Navy > <option value="Royal Blue">Royal Blue > <option value="Black">Black > <option value="Emerald Green">Emerald Green > <option value="Burgundy">Burgundy > <option value="Peach">Peach > <option value="Pink">Pink > <option value="Red">Red > </select> > <br> > <textarea wrap=physical name="[modifier-name > embr_text]" rows=2 cols=25></textarea> > [/if-item-field] > > This works aparently right, and I get the item-modifier data printed > in the checkout.html where I have: > > [if-item-field sku =~ /-1$/ ] > <br> > <font face="Verdana, Arial, Helvetica, sans-serif" > size="1"> > Font Type: [item-modifier embr_font]<br> > Font Color: [item-modifier embr_color]<br> > Text: [item-modifier embr_text]</FONT> > [/if-item-field] > > Everything works OK at this point, but I cannot get this information > after the checkout. The information used to be sent in the report, > where I have: > > [if-item-modifier embr_text] TEXT-->[item-modifier > embr_text][/if-item-modifier] > [if-item-modifier embr_color] COLOR-->[item-modifier > embr_color][/if-item-modifier] > [if-item-modifier embr_font] FONT-->[item-modifier > embr_font][/if-item-modifier] > > I tested that using > > [if-modifier embr_text] TEXT-->[item-modifier > embr_text][/if-modifier] > [if-modifier embr_color] COLOR-->[item-modifier > embr_color][/if-modifier] > [if-modifier embr_font] FONT-->[item-modifier > embr_font][/if-modifier] > > And that didnt worked either. > > I already set the UseModifier in the catalog.cfg like this: > > UseModifier size color embr_font embr_color embr_text > > Everything seems to be OK, but the embroidery information is not > printed in the report mail. > > I will appreciate any help with this weird thing..... > > TIA. > > > Gustavo. > > > 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=QUOTED-PRINTABLE:1250 Hallandale Bch. > Blvd=0D=0AHallandale, Fl 33009=0D=0AUSA > X-WAB-GENDER:2 > URL;WORK:http://www.internettotal.com > BDAY:19720715 > EMAIL;PREF;INTERNET:gbarreto@internettotal.net > REV:20011101T173516Z > END:VCARD > ===== ********************************************************************* / Custom Web Promotions / Economical web hosting & online storefronts featuring Red Hat Linux 7.1 & Red Hat Interchange 4.8.2 http://custom-web-promotions.com / 888-287-8932 / sales@custweb.com ********************************************************************* __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 2 09:28:00 2001 Subject: [ic] No shipping method I found the problem. I had all of the variables set right. The formula that I was useing was wrong. I fix the formula and it shows a shipping method on the checkout page and calculates the shipping correctly. thanks, rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Douglas Manning Sent: Friday, November 02, 2001 8:00 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] No shipping method At 02:51 PM 11/1/2001 -0600, you wrote: >I get the following on the checkout page: > > Note: No match found for mode 'FLATD', quantity '', returning 0. > >It is trying to call a shipping method FLATD. I have delete all methods. >Then create one called standard. Have set the SHIP_DEFAULT_MODE to standard. >Can do a less on the variable.txt file and find it in there set to standard. > >I have not idea why it is trying to call FLATD. Did you use to have FLATD as you SHIP_DEFAULT_MODE ? I found that when I changed this and some other variables it wouldn't take effect with just applying the tables I had to actually restart the Interchange server. I also had a lot of troubles trying to use the built in shipping editor and had a lot more success with using a good text editor and directly editing the shipping.asc file. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mathew Jones) Date: Fri Nov 2 09:48:00 2001 Subject: [ic] Image Upload in item editor Curt Hauge wrote: > Quoting Mathew Jones: > > >>I am using Interchange 4.8.1 and when uploading images using the item >>editor it uploads the file with the full path name e.g >>c:\windows\image.gif >>Looking through the list I found the suggestion below from Mike, however >>when I go to the edit the metadata there is no 'imagehelper' option, >>only Image Listing & Image Upload. >> >>---- >>Make sure the metadata is: >> >>code: products::image >>type: imagehelper >>prepend: http://__SAMPLEHTML__ >>outboard: images/items >> > > I believe imagehelper is set when you select 'Image Upload' as the type of > widget when editing meta data for a table. I found this by searching the > text while browsing the table mv_metadata. You could also use grep: > > grep -r 'imagehelper' /CATROOT/products > > The admin, icmenu, and mv_metadata are absolutely awesome! Just takes time > to figure it out! > > Good luck! > > Curt Hauge > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > It is when i have Image Upload set that i am experiencing the problem mentioned above. When i set Image listing, it has a link which sends me to the File Transfer tools. It is my belief that when you create and save a new item, it will automatically upload the images you specify. Am I wrong? Mat From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Fri Nov 2 10:05:00 2001 Subject: [ic] Catalog configuration This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C163AF.BB73A730 Content-Type: text/plain; charset="iso-8859-1" Hello, I need some help on setting up interchange. I installed it manually as root on an Intel P2-450 running a clean install of RH 7.2 and Apache 1.3.20. It seems to have compiled correctly.However, I can only view the direct link on interchange http:\\linuxuxserver\cgi-bin\foundation and none of the links work or icons. I am thinking it may have to do with the location I entered in the bin/makecat function. 1. What should I enter for CatRoot? prompt (currently set to catalogs\foundation) 2. What should I enter for CgiDir? currently set to default var/www/cgi-bin 3. The biggest problem I seem to have is the document root. Which keeps prompting me for usr/local/webmin-0.89 which I have changed to usr/local/interchange. Anyone have any examples of what this should look like? Any changes to my Apache httpd.conf file? Thanks, Matt <<Matt Ballou (E-mail).vcf>> ------_=_NextPart_000_01C163AF.BB73A730 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C163AF.BB73A730-- From: interchange-users at interchange.redhat.com (Laura R Donnelly) Date: Fri Nov 2 10:30:00 2001 Subject: [ic] Authorize.net desperation > I placed (in a various location) > > > Variable MV_PAYMENT_ID myusername > > Variable MV_PAYMENT_SECRET mypassword > > Variable MV_PAYMENT_MODE custom authorizenet The mode should be just "authorizenet". Also, your provider needs to place Require module Vend::Payment::AuthorizeNet in their interchange.cfg file. If they don't have Net::SSLeay or Crypt::SSLeay installed, it won't work. ****** I changed the MV_PAYMENT_MODE variable to just "authorizenet" and I emailed my provider the info you gave me. They installed the Vend::Payment::AuthorizeNet module and Net::SSLeay At first I was getting the (authorizenet): Charge operation 'authorizenet' failed. error so I removed the Variable altogether...I emailed my provider some more troubleshooting info fom authorizenet.pm they initiated the module finally. Now I get (authorizenet): Charge failed, reason: No account id Here's what I have in catalog.cfg: -- Variable MV_PAYMENT_MODE authorizenet Variable MV_PAYMENT_ID myAuthNetid Variable MV_PAYMENT_SECRET myPassword Variable MV_PAYMENT_REFERER https://airsofttactical.com/~tactics/cgi-bin/cart.cgi/process.html (the same as in my AuthNet account) Variable MV_PAYMENT_TRANSACTION return -- I have my id in MV_PAYMENT_ID myusername ...am I missing something? Oh...and since they installed the new modules...I no longer get confirmation emails. Laura willing to trade graphical expertise for IC assistance if I cant get this thing working :) From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 2 10:32:34 2001 Subject: [ic] Catalog configuration Matt, Hopefully if the ./makecat script can find and read your httpd.conf file. If it does then you can press the up or down arrow buttons to scroll through choices for each question. By useing the up and down buttons you can be sure that you interchange settings match with the settings in apache. The document root is the location of a html dir. that apache is set up to read from. That is why it is going to usr/local/webmin-0.89. Try hitting the down arrow on that question. If you have another virtal domain setup it should find it. This does not answer your question but hopefully it will help. Rick Eicher II www.pbol.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 9:05 AM To: interchange-users@interchange.redhat.com Subject: [ic] Catalog configuration Hello, I need some help on setting up interchange. I installed it manually as root on an Intel P2-450 running a clean install of RH 7.2 and Apache 1.3.20. It seems to have compiled correctly.However, I can only view the direct link on interchange http:\\linuxuxserver\cgi-bin\foundation and none of the links work or icons. I am thinking it may have to do with the location I entered in the bin/makecat function. 1. What should I enter for CatRoot? prompt (currently set to catalogs\foundation) 2. What should I enter for CgiDir? currently set to default var/www/cgi-bin 3. The biggest problem I seem to have is the document root. Which keeps prompting me for usr/local/webmin-0.89 which I have changed to usr/local/interchange. Anyone have any examples of what this should look like? Any changes to my Apache httpd.conf file? Thanks, Matt <<Matt Ballou (E-mail).vcf>> From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Fri Nov 2 10:46:01 2001 Subject: [ic] template: ; t_file=templates/ Hello all, In the Admin UI I get the following error on editing ../special_pages/* Template read error reading ''. template: ; t_file=templates/ I get the following log entry: 195.249.214.181 7ezt7paR:195.249.214.181 - [02/November/2001:16:41:09 +0100] catpipe /cgi-bin/catpipe/admin/page_edit search error: your search file a valid database reference, was 'backup'. I have the following in the pages, which has not been modified from standard install, in this case for example missing.html: [tmp page_title] Sorry, the page (@@MV_PREV_PAGE@@) was not found [/tmp] @_NOLEFT_TOP_@ <p>&nbsp;</p> <H1>[scratch page_title]</H1> <p> The requested page ([subject]) was not found. You can [page index]return to browsing our catalog</a>, if you wish. </p> @_NOLEFT_BOTTOM_@ <!-- current page: @@MV_PAGE@@ --> I found this in google: "copy noleft template to fullwidth" I did that, but no luck. I found this in the perl code that produces the log: TEMPLATE_READ: { last TEMPLATE_READ if $tref; last TEMPLATE_READ if ! $exists; ($ary) = $Tag->read_ui_template($t_file); $tref = shift @$ary; ref($tref) =~ /HASH/ or return tmp_error( "Template read error reading '%s'.", $t_name, ); last TEMPLATE_READ if $tref; } So I guess there is an issue with reading a file called ''. Thats acceptable seen from my point of view ;-) - but how do I actually make IC behave. I mean - I have clicked the file etc. in the admin UI, so the file name should be in the HTTP POST variable somewhere (or is it a GET...). I tried to see if it would work by making a ln -s into the pages directory. No luck. Then I tried to copy a file I have in pages/ called aboutus.html, which I can work with no problem in the Admin UI, to special_pages/ It works in pages/ _but_ not in special_pages. Aha. Is there a little bug somewhere...? -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Fri Nov 2 10:53:00 2001 Subject: [ic] Authorize.net desperation On Fri, Nov 02, 2001 at 10:29, Laura R Donnelly wrote: > Now I get (authorizenet): Charge failed, reason: No account id > Here's what I have in catalog.cfg: > -- > Variable MV_PAYMENT_MODE authorizenet > Variable MV_PAYMENT_ID myAuthNetid > Variable MV_PAYMENT_SECRET myPassword > Variable MV_PAYMENT_REFERER > https://airsofttactical.com/~tactics/cgi-bin/cart.cgi/process.html (the same > as in my AuthNet account) > Variable MV_PAYMENT_TRANSACTION return > -- > > I have my id in MV_PAYMENT_ID myusername ...am I missing something? Here's what I have in a working catalog.cfg: Variable MV_PAYMENT_MODE authorizenet Variable MV_PAYMENT_ID nowaybaby Variable MV_PAYMENT_REFERER www.whitenoisecd.com Variable MV_PAYMENT_TEST TRUE Variable AUTHNET_ID nowaybaby Variable AUTHNET_REFERER www.whitenoisecd.com I don't recall how I discovered the need for the extra lines. And as I've pointed out on the list before, Authorize.net does not require your password for charges. I dislike putting plain text passwords in any file on a publicly accessible server. You'll want to comment out the MV_PAYMENT_TEST line when things are working for you. Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Laura R Donnelly) Date: Fri Nov 2 11:32:00 2001 Subject: [ic] Authorize.net desperation Pann, Thank you sooo much! It worked! Now if I could just figure out why the confirmation emails stopped I'll be set ! Anyone have any ideas?? Thanks again for everyone's help :) Laura ----- Original Message ----- From: "Pann McCuaig" <pann@ourmanpann.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 02, 2001 10:52 AM Subject: Re: [ic] Authorize.net desperation On Fri, Nov 02, 2001 at 10:29, Laura R Donnelly wrote: > Now I get (authorizenet): Charge failed, reason: No account id > Here's what I have in catalog.cfg: > -- > Variable MV_PAYMENT_MODE authorizenet > Variable MV_PAYMENT_ID myAuthNetid > Variable MV_PAYMENT_SECRET myPassword > Variable MV_PAYMENT_REFERER > https://airsofttactical.com/~tactics/cgi-bin/cart.cgi/process.html (the same > as in my AuthNet account) > Variable MV_PAYMENT_TRANSACTION return > -- > > I have my id in MV_PAYMENT_ID myusername ...am I missing something? Here's what I have in a working catalog.cfg: Variable MV_PAYMENT_MODE authorizenet Variable MV_PAYMENT_ID nowaybaby Variable MV_PAYMENT_REFERER www.whitenoisecd.com Variable MV_PAYMENT_TEST TRUE Variable AUTHNET_ID nowaybaby Variable AUTHNET_REFERER www.whitenoisecd.com I don't recall how I discovered the need for the extra lines. And as I've pointed out on the list before, Authorize.net does not require your password for charges. I dislike putting plain text passwords in any file on a publicly accessible server. You'll want to comment out the MV_PAYMENT_TEST line when things are working for you. Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Fri Nov 2 11:39:00 2001 Subject: [ic] Order receipts On Thu, 2001-11-01 at 23:51, Michael Hall wrote: > On Thu, Nov 01, 2001 at 02:31:58PM -0600, Eduardo Dominguez wrote: > > > where you able to find what causes this ? > > I have the same problem... > > No, not yet, started trying to track it down in the source, but haven't > found anything yet. I found a way around it, it doesnt look quite right, but its way better. Just add report=1 to the options tag in mail_receipt. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Fred Pope) Date: Fri Nov 2 11:42:01 2001 Subject: [ic] Source for Select on Inventory Stock Alert Message >>and stored in the mv_metadata table Ed....You rock. Thanks. Best -FP -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Fri Nov 2 11:54:00 2001 Subject: [ic] Payment Providers Hi guys, We're finaly ready to start setting up payment processing, and -- of course -- I've got some questions. First question: has anyone set up Concord EFS with interchange, and if so, how much hell was it? We already use them for our traditional POS card swipe processing, and my boss would like to stick with one vendor. B: since we already have a merchant account with Concord, I theoreticaly could set up CCVS and a modem on the web server, obviously this will introduce delays in processing. I know there are people who have set up IC this way, could I get your feelings on pros/cons using CCVS? How bad are the delays? III: The question asked once a week, at least: how do I go about integrating a payment processor that isn't built into IC? Would any of you perl gods like to offer a price on integrating IC with whichever payment processor my boss decides to use (since I just *know* he's going to pick one that IC doesn't support out of the box. He's already tried twice, once with Payflow Link and again with Concord EFS. Grrr.) Thanks in advance, --J(K) From: interchange-users at interchange.redhat.com (Jason Korkin) Date: Fri Nov 2 12:39:01 2001 Subject: [ic] Payment Providers Jason, As long as your payment provider has some sort of API, whether its Perl, XML, etc. you should be able to set it up with Interchange. We've done several that Interchange doesn't support "out-of-the-box" -- eg. SurePay for instance. Its more a matter of understanding *how* Interchange works along with your providers API. Once you have that nailed down, then its very simple to implement. If you have questions, email me off-list and I'd be happy to point you in the right direction. Thanks, Jason Korkin President Korksoft LLC Jason Balicki wrote: > > Hi guys, > > We're finaly ready to start setting up payment processing, > and -- of course -- I've got some questions. > > First question: has anyone set up Concord EFS with interchange, > and if so, how much hell was it? We already use them for our > traditional POS card swipe processing, and my boss would like > to stick with one vendor. > > B: since we already have a merchant account with Concord, I > theoreticaly could set up CCVS and a modem on the web server, > obviously this will introduce delays in processing. I know > there are people who have set up IC this way, could I get > your feelings on pros/cons using CCVS? How bad are the delays? > > III: The question asked once a week, at least: how do I > go about integrating a payment processor that isn't built > into IC? Would any of you perl gods like to offer a price > on integrating IC with whichever payment processor my boss > decides to use (since I just *know* he's going to pick one > that IC doesn't support out of the box. He's already > tried twice, once with Payflow Link and again with > Concord EFS. Grrr.) > > Thanks in advance, > > --J(K) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Fri Nov 2 12:43:00 2001 Subject: [ic] Image Upload in item editor > > Quoting Mathew Jones: > > > > > >>I am using Interchange 4.8.1 and when uploading images using the item > >>editor it uploads the file with the full path name e.g > >>c:\windows\image.gif > >>Looking through the list I found the suggestion below from Mike, however > >>when I go to the edit the metadata there is no 'imagehelper' option, > >>only Image Listing & Image Upload. > >> > >>---- > >>Make sure the metadata is: > >> > >>code: products::image > >>type: imagehelper > >>prepend: http://__SAMPLEHTML__ > >>outboard: images/items > > It is when i have Image Upload set that i am experiencing the problem > mentioned above. When i set Image listing, it has a link which sends me > to the File Transfer tools. > It is my belief that when you create and save a new item, it will > automatically upload the images you specify. Am I wrong? I don't know if you are wrong, but the way I upload new images is, use 'image listing' as your widget type and use the append html code (which is in the foundation template within the products image field meta info, and below). This append code produces a hyperlink to upload a new image. I am not sure what the 'image upload' widget does, actually. <A HREF="admin/upload_file?ui_image_preview=/foundation2/images/items/_UI_VALUE _&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_st art_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_ preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Fri Nov 2 13:11:00 2001 Subject: [ic] Image Upload in item editor Mat, Oops...I forgot...you also need to add 'nullselect' to filter within the meta info for the image field when using 'item listing' as the widget type. Just add nullselect to the right text field next to 'Filter(s)' within image meta area. Curt > > It is when i have Image Upload set that i am experiencing the problem > > mentioned above. When i set Image listing, it has a link which sends me > > to the File Transfer tools. > > It is my belief that when you create and save a new item, it will > > automatically upload the images you specify. Am I wrong? > > I don't know if you are wrong, but the way I upload new images is, use > 'image listing' as your widget type and use the append html code (which is > in the foundation template within the products image field meta info, and > below). This append code produces a hyperlink to upload a new image. I am > not sure what the 'image upload' widget does, actually. > > <A > HREF="admin/upload_file?ui_image_preview=/foundation2/images/items > /_UI_VALUE > _&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VA > LUE_&ui_st > art_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_U > I_KEY_&ui_ > preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> > > Good luck! > > Curt Hauge > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Luc Knaven) Date: Fri Nov 2 14:05:01 2001 Subject: [ic] Change "Invalid password" message When you type a wrong user name or password you get the message: " Invalid user name or password " I want to translate that message - but where can I find it ? I couldn't find it in : - login - get_password - lost_password - change_password Luc From: interchange-users at interchange.redhat.com (George Entenman) Date: Fri Nov 2 15:13:01 2001 Subject: [ic] Problem uploading Excel to IC 4.8.2 on FreeBSD 4.2/Perl 5.005_03 After uploading an excel file (the one I downloaded with one change), IC showed me a Preview page. I told it to rebuild products data (and answered 'no' to the other 3 questions) and hit "Finish". Here's what I got: FATAL error DBD::mysql::db do failed: You have an error in your SQL syntax near 'where sku = 'os28070'' at line 1 at /interchange/lib/Vend/Table/DBI.pm line 1129, chunk 21. Progress to date: table inventory: Using fields from file: 'sku quantity stock_message account cogs_account' I removed the item os28070, and got a similar error for another sku, so I doubt that the data is the problem. This is line 1129 from DBI.pm: $s->[$DBI]->do("update $s->[$TABLE] SET $column=$value where $s->[$KEY] = $key"); This is Interchange 4.8.2 on FreeBSD 4.2. using Perl 5.005_03. (The same file uploads fine on Interchange 4.8.2 on our Redhat linux box). Any help will be greatly appreciated! -- George Entenman From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Fri Nov 2 15:26:00 2001 Subject: [ic] Catalog configuration This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C163DC.96129640 Content-Type: text/plain; charset="iso-8859-1" Matthew Ballou IT Manager Lau Technologies 30 Porter Road Littleton, MA 01460 (978)952-2188 Rick et al, I may just try this all manually. Using bin/makecat appears to keep defaulting to usr/local/webmin-0.89 when copying share folder. Anyway, been trying to edit the interchange.cfg file and catalog.cfg files. On the interchange.cfg files, I have the individual catalogs dialog pointing to /foundation/var/lib/interchange/catalogs/foundation /cgi-bin/foundation /foundation . I was able to view one of websites using catalogs listed in here in this manner, but not icons :( Question: When I try to restart interchange I get the following config error: please secify the MailOrderTo directive in the config file and then it skips config files because of errors. How do I set this? Matt -----Original Message----- From: Rick Eicher II [mailto:rick@texol.net] Sent: Friday, November 02, 2001 10:38 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matt, Hopefully if the ./makecat script can find and read your httpd.conf file. If it does then you can press the up or down arrow buttons to scroll through choices for each question. By useing the up and down buttons you can be sure that you interchange settings match with the settings in apache. The document root is the location of a html dir. that apache is set up to read from. That is why it is going to usr/local/webmin-0.89. Try hitting the down arrow on that question. If you have another virtal domain setup it should find it. This does not answer your question but hopefully it will help. Rick Eicher II www.pbol.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 9:05 AM To: interchange-users@interchange.redhat.com Subject: [ic] Catalog configuration Hello, I need some help on setting up interchange. I installed it manually as root on an Intel P2-450 running a clean install of RH 7.2 and Apache 1.3.20. It seems to have compiled correctly.However, I can only view the direct link on interchange http:\\linuxuxserver\cgi-bin\foundation and none of the links work or icons. I am thinking it may have to do with the location I entered in the bin/makecat function. 1. What should I enter for CatRoot? prompt (currently set to catalogs\foundation) 2. What should I enter for CgiDir? currently set to default var/www/cgi-bin 3. The biggest problem I seem to have is the document root. Which keeps prompting me for usr/local/webmin-0.89 which I have changed to usr/local/interchange. Anyone have any examples of what this should look like? Any changes to my Apache httpd.conf file? Thanks, Matt <<Matt Ballou (E-mail).vcf>> _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users ------_=_NextPart_000_01C163DC.96129640 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C163DC.96129640-- From: interchange-users at interchange.redhat.com (The Marks Family) Date: Fri Nov 2 15:46:00 2001 Subject: [ic] foundation demo newbie question I've installed Interchange 4.8.2 using MySQL 3.23.365-1, Apache 1.3.20 and the foundation demo on a Red Hat 7.1 box. I added a few new test categories and product groups in the cat and area tables and associated new products in the products table using mysqlfront (a Windows MySQL client). The new entries are patterned after existing demo records and are displayed fine in the left region (both category and product group), but selecting one of these new categories always returns "Sorry, no matches for 'new category I added...'". Can someone tell me what I need to do besides ensuring that the record in the products table has the correct value in the prod_group and category fields and the inactive field is not true? I've scoured the pdfs and thought I had it right... 8-( Regards, Russ Marks From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 2 15:52:00 2001 Subject: [ic] Catalog configuration The ./makecat script ask for this. Set it when you run the script. Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 2:26 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matthew Ballou IT Manager Lau Technologies 30 Porter Road Littleton, MA 01460 (978)952-2188 Rick et al, I may just try this all manually. Using bin/makecat appears to keep defaulting to usr/local/webmin-0.89 when copying share folder. Anyway, been trying to edit the interchange.cfg file and catalog.cfg files. On the interchange.cfg files, I have the individual catalogs dialog pointing to /foundation/var/lib/interchange/catalogs/foundation /cgi-bin/foundation /foundation . I was able to view one of websites using catalogs listed in here in this manner, but not icons :( Question: When I try to restart interchange I get the following config error: please secify the MailOrderTo directive in the config file and then it skips config files because of errors. How do I set this? Matt -----Original Message----- From: Rick Eicher II [mailto:rick@texol.net] Sent: Friday, November 02, 2001 10:38 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matt, Hopefully if the ./makecat script can find and read your httpd.conf file. If it does then you can press the up or down arrow buttons to scroll through choices for each question. By useing the up and down buttons you can be sure that you interchange settings match with the settings in apache. The document root is the location of a html dir. that apache is set up to read from. That is why it is going to usr/local/webmin-0.89. Try hitting the down arrow on that question. If you have another virtal domain setup it should find it. This does not answer your question but hopefully it will help. Rick Eicher II www.pbol.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 9:05 AM To: interchange-users@interchange.redhat.com Subject: [ic] Catalog configuration Hello, I need some help on setting up interchange. I installed it manually as root on an Intel P2-450 running a clean install of RH 7.2 and Apache 1.3.20. It seems to have compiled correctly.However, I can only view the direct link on interchange http:\\linuxuxserver\cgi-bin\foundation and none of the links work or icons. I am thinking it may have to do with the location I entered in the bin/makecat function. 1. What should I enter for CatRoot? prompt (currently set to catalogs\foundation) 2. What should I enter for CgiDir? currently set to default var/www/cgi-bin 3. The biggest problem I seem to have is the document root. Which keeps prompting me for usr/local/webmin-0.89 which I have changed to usr/local/interchange. Anyone have any examples of what this should look like? Any changes to my Apache httpd.conf file? Thanks, Matt <<Matt Ballou (E-mail).vcf>> _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 2 15:55:01 2001 Subject: [ic] foundation demo newbie question I assume u are useing a simply search for the link type. If so what do you have for the search? Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of The Marks Family Sent: Friday, November 02, 2001 2:46 PM To: interchange-users@interchange.redhat.com Subject: [ic] foundation demo newbie question I've installed Interchange 4.8.2 using MySQL 3.23.365-1, Apache 1.3.20 and the foundation demo on a Red Hat 7.1 box. I added a few new test categories and product groups in the cat and area tables and associated new products in the products table using mysqlfront (a Windows MySQL client). The new entries are patterned after existing demo records and are displayed fine in the left region (both category and product group), but selecting one of these new categories always returns "Sorry, no matches for 'new category I added...'". Can someone tell me what I need to do besides ensuring that the record in the products table has the correct value in the prod_group and category fields and the inactive field is not true? I've scoured the pdfs and thought I had it right... 8-( Regards, Russ Marks _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Fri Nov 2 16:16:01 2001 Subject: [ic] Catalog configuration This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C163E3.8BC93570 Content-Type: text/plain; charset="iso-8859-1" Rick, I seem to have got some of this to work, it loads and I can move between pages etc. However, still having trouble with Icons/gifs etc...where are they suppose to be? Matthew Ballou IT Manager Lau Technologies 30 Porter Road Littleton, MA 01460 (978)952-2188 -----Original Message----- From: Rick Eicher II [mailto:rick@texol.net] Sent: Friday, November 02, 2001 4:00 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration The ./makecat script ask for this. Set it when you run the script. Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 2:26 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matthew Ballou IT Manager Lau Technologies 30 Porter Road Littleton, MA 01460 (978)952-2188 Rick et al, I may just try this all manually. Using bin/makecat appears to keep defaulting to usr/local/webmin-0.89 when copying share folder. Anyway, been trying to edit the interchange.cfg file and catalog.cfg files. On the interchange.cfg files, I have the individual catalogs dialog pointing to /foundation/var/lib/interchange/catalogs/foundation /cgi-bin/foundation /foundation . I was able to view one of websites using catalogs listed in here in this manner, but not icons :( Question: When I try to restart interchange I get the following config error: please secify the MailOrderTo directive in the config file and then it skips config files because of errors. How do I set this? Matt -----Original Message----- From: Rick Eicher II [mailto:rick@texol.net] Sent: Friday, November 02, 2001 10:38 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matt, Hopefully if the ./makecat script can find and read your httpd.conf file. If it does then you can press the up or down arrow buttons to scroll through choices for each question. By useing the up and down buttons you can be sure that you interchange settings match with the settings in apache. The document root is the location of a html dir. that apache is set up to read from. That is why it is going to usr/local/webmin-0.89. Try hitting the down arrow on that question. If you have another virtal domain setup it should find it. This does not answer your question but hopefully it will help. Rick Eicher II www.pbol.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 9:05 AM To: interchange-users@interchange.redhat.com Subject: [ic] Catalog configuration Hello, I need some help on setting up interchange. I installed it manually as root on an Intel P2-450 running a clean install of RH 7.2 and Apache 1.3.20. It seems to have compiled correctly.However, I can only view the direct link on interchange http:\\linuxuxserver\cgi-bin\foundation and none of the links work or icons. I am thinking it may have to do with the location I entered in the bin/makecat function. 1. What should I enter for CatRoot? prompt (currently set to catalogs\foundation) 2. What should I enter for CgiDir? currently set to default var/www/cgi-bin 3. The biggest problem I seem to have is the document root. Which keeps prompting me for usr/local/webmin-0.89 which I have changed to usr/local/interchange. Anyone have any examples of what this should look like? Any changes to my Apache httpd.conf file? Thanks, Matt <<Matt Ballou (E-mail).vcf>> _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users ------_=_NextPart_000_01C163E3.8BC93570 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C163E3.8BC93570-- From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Fri Nov 2 16:34:01 2001 Subject: [ic] Image Upload in item editor > Mat, > > Oops...I forgot...you also need to add 'nullselect' to filter within the > meta info for the image field when using 'item listing' as the > widget type. > Just add nullselect to the right text field next to 'Filter(s)' > within image > meta area. Oh, and (sorry, I'm just learning this too!) don't forget to add the image directory to the meta data, something like: images/items or images/thumb ;) Curt From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 2 16:44:01 2001 Subject: [ic] Catalog configuration Matt, What do you logs say? (Apache, catalog log , and Interchange log) Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 3:16 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Rick, I seem to have got some of this to work, it loads and I can move between pages etc. However, still having trouble with Icons/gifs etc...where are they suppose to be? Matthew Ballou IT Manager Lau Technologies 30 Porter Road Littleton, MA 01460 (978)952-2188 -----Original Message----- From: Rick Eicher II [mailto:rick@texol.net] Sent: Friday, November 02, 2001 4:00 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration The ./makecat script ask for this. Set it when you run the script. Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 2:26 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matthew Ballou IT Manager Lau Technologies 30 Porter Road Littleton, MA 01460 (978)952-2188 Rick et al, I may just try this all manually. Using bin/makecat appears to keep defaulting to usr/local/webmin-0.89 when copying share folder. Anyway, been trying to edit the interchange.cfg file and catalog.cfg files. On the interchange.cfg files, I have the individual catalogs dialog pointing to /foundation/var/lib/interchange/catalogs/foundation /cgi-bin/foundation /foundation . I was able to view one of websites using catalogs listed in here in this manner, but not icons :( Question: When I try to restart interchange I get the following config error: please secify the MailOrderTo directive in the config file and then it skips config files because of errors. How do I set this? Matt -----Original Message----- From: Rick Eicher II [mailto:rick@texol.net] Sent: Friday, November 02, 2001 10:38 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Catalog configuration Matt, Hopefully if the ./makecat script can find and read your httpd.conf file. If it does then you can press the up or down arrow buttons to scroll through choices for each question. By useing the up and down buttons you can be sure that you interchange settings match with the settings in apache. The document root is the location of a html dir. that apache is set up to read from. That is why it is going to usr/local/webmin-0.89. Try hitting the down arrow on that question. If you have another virtal domain setup it should find it. This does not answer your question but hopefully it will help. Rick Eicher II www.pbol.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ballou,Matt Sent: Friday, November 02, 2001 9:05 AM To: interchange-users@interchange.redhat.com Subject: [ic] Catalog configuration Hello, I need some help on setting up interchange. I installed it manually as root on an Intel P2-450 running a clean install of RH 7.2 and Apache 1.3.20. It seems to have compiled correctly.However, I can only view the direct link on interchange http:\\linuxuxserver\cgi-bin\foundation and none of the links work or icons. I am thinking it may have to do with the location I entered in the bin/makecat function. 1. What should I enter for CatRoot? prompt (currently set to catalogs\foundation) 2. What should I enter for CgiDir? currently set to default var/www/cgi-bin 3. The biggest problem I seem to have is the document root. Which keeps prompting me for usr/local/webmin-0.89 which I have changed to usr/local/interchange. Anyone have any examples of what this should look like? Any changes to my Apache httpd.conf file? Thanks, Matt <<Matt Ballou (E-mail).vcf>> _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Lori Hostetler) Date: Fri Nov 2 18:13:01 2001 Subject: [ic] Shipping Question - Referencing Rate and Zone Files? Hello everyone, I believe I have everything for shipping set up correctly now. The only thing I need is to create a table. I've looked over the Interchange documentation, but I'm still confused. How does one take information stored .csv file and create a table (extension .gdbm)? On another note, correcting the shipping has brought about a problem with the shopping cart. It's now going empty during the checkout process. Any idea what might cause this? The problem occurred after I created the new shipping methods, and edited the country table. Also, I've got a funky thing happening. One of my shipping methods is duplicated in the shipping drop-down box. However, the duplicate shipping method doesn't exist as far as I can see. Any idea where this duplication might be coming from? Thank you, Lori From: interchange-users at interchange.redhat.com (Nolan & Lori Hostetler) Date: Fri Nov 2 18:17:00 2001 Subject: [ic] Shipping Question - Referencing Rate and Zone Files? Hello everyone, I believe I have everything for shipping set up correctly now. The only thing I need is to create a table. I've looked over the Interchange documentation, but I'm still confused. How does one take information stored .csv file and create a table (extension .gdbm)? On another note, correcting the shipping has brought about a problem with the shopping cart. It's now going empty during the checkout process. Any idea what might cause this? The problem occurred after I created the new shipping methods, and edited the country table. Also, I've got a funky thing happening. One of my shipping methods is duplicated in the shipping drop-down box. However, the duplicate shipping method doesn't exist as far as I can see. Any idea where this duplication might be coming from? Thank you, Lori From: interchange-users at interchange.redhat.com (Andreas, Scott) Date: Fri Nov 2 18:19:00 2001 Subject: [ic] (no subject) I've been trying many different ways to use the date widget as a range search on a specific column. So far I have this which spits out no results <TD><B>Beginning<BR> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> <INPUT TYPE=hidden NAME="mv_column_op" VALUE=">="> <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> [widget type=date]</TD> <TD><B>Ending</B><BR> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> <INPUT TYPE=hidden NAME="mv_column_op" VALUE="<="> <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> [widget type=date]</TD> I'v also tried it with the widget name =ui_begin_date and u_end_date respectively I believe my problem is the date widget isn't equal to "se" but how do I get the date widget to equal the searchspec THX N ADV. J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |_earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (Andreas, Scott) Date: Fri Nov 2 18:27:00 2001 Subject: [ic] date widget I've been trying many different ways to use the date widget as a range search on a specific column. So far I have this which spits out no results <TD><B>Beginning<BR> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> <INPUT TYPE=hidden NAME="mv_column_op" VALUE=">="> <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> [widget type=date]</TD> <TD><B>Ending</B><BR> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> <INPUT TYPE=hidden NAME="mv_column_op" VALUE="<="> <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> [widget type=date]</TD> I'v also tried it with the widget name=ui_begin_date and u_end_date respectively and name=mv_searchspec I believe my problem is the date widget isn't equal to "se" but how do I get the date widget to equal the searchspec THX N ADV. J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |__earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (The Marks Family) Date: Fri Nov 2 19:53:01 2001 Subject: [ic] foundation demo newbie question Rick, I don't know! Where do I look? I do have the 'simple' search type. I assumed there was some standard code that queries the db based on the category. Is it in the catalog_before script? When I said 'newbie' I meant it...:^) THX, Russ >I assume u are useing a simply search for the link type. If so what do you >have for the search? > >Rick > >-----Original Message----- >From: interchange-users-admin@interchange.redhat.com >[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of The >Marks Family >Sent: Friday, November 02, 2001 2:46 PM >To: interchange-users@interchange.redhat.com >Subject: [ic] foundation demo newbie question > > >I've installed Interchange 4.8.2 using MySQL 3.23.365-1, Apache >1.3.20 and the foundation demo on a Red Hat 7.1 box. I added a few >new test categories and product groups in the cat and area tables and >associated new products in the products table using mysqlfront (a >Windows MySQL client). > >The new entries are patterned after existing demo records and are >displayed fine in the left region (both category and product group), >but selecting one of these new categories always returns "Sorry, no >matches for 'new category I added...'". > >Can someone tell me what I need to do besides ensuring that the >record in the products table has the correct value in the prod_group >and category fields and the inactive field is not true? > >I've scoured the pdfs and thought I had it right... 8-( > >Regards, >Russ Marks >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Fri Nov 2 20:09:01 2001 Subject: [ic] automating makecat Hello, I read previous posts on how automate makecat. My question is, how does one go about dealing with the "additional_fields" that the makecat program asks about? Is there a similar mechanism to the one mentioned in the makecat documentation about setting environment variables that start with MVC_? Is there some other preferred way to deal with this situation? Thanks -- dzepeda@satx.net From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 2 20:42:01 2001 Subject: [ic] foundation demo newbie question This is a multi-part message in MIME format. ------=NEOMAIL_ATT_0.0382897400568289 Content-Type: text/plain; charset=iso-8859-1 Russ, Are you using the admin pages? Rick > Rick, > I don't know! Where do I look? I do have the 'simple' search type. > I assumed there was some standard code that queries the db based on > the category. Is it in the catalog_before script? > > When I said 'newbie' I meant it...:^) > > THX, > Russ > > > >I assume u are useing a simply search for the link type. If so what do you > >have for the search? > > > >Rick > > > >-----Original Message----- > >From: interchange-users-admin@interchange.redhat.com > >[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of The > >Marks Family > >Sent: Friday, November 02, 2001 2:46 PM > >To: interchange-users@interchange.redhat.com > >Subject: [ic] foundation demo newbie question > > > > > >I've installed Interchange 4.8.2 using MySQL 3.23.365-1, Apache > >1.3.20 and the foundation demo on a Red Hat 7.1 box. I added a few > >new test categories and product groups in the cat and area tables and > >associated new products in the products table using mysqlfront (a > >Windows MySQL client). > > > >The new entries are patterned after existing demo records and are > >displayed fine in the left region (both category and product group), > >but selecting one of these new categories always returns "Sorry, no > >matches for 'new category I added...'". > > > >Can someone tell me what I need to do besides ensuring that the > >record in the products table has the correct value in the prod_group > >and category fields and the inactive field is not true? > > > >I've scoured the pdfs and thought I had it right... 8-( > > > >Regards, > >Russ Marks > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- Rick Eicher II rick@texol.net Texol.net - Surf the light. ------=NEOMAIL_ATT_0.0382897400568289 Content-Type: application/octet-stream; name=" " Content-Transfer-Encoding: base64 ------=NEOMAIL_ATT_0.0382897400568289-- From: interchange-users at interchange.redhat.com (russ.marks) Date: Fri Nov 2 20:51:00 2001 Subject: [ic] foundation demo newbie question Rick, I've tried both the admin pages and the mysqlfront app to manipulate records. Russ ----- Original Message ----- From: Rick Eicher II <rick@texol.net> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 02, 2001 9:16 PM Subject: RE: [ic] foundation demo newbie question > Russ, > Are you using the admin pages? > > Rick > > > Rick, > > I don't know! Where do I look? I do have the 'simple' search type. > > I assumed there was some standard code that queries the db based on > > the category. Is it in the catalog_before script? > > > > When I said 'newbie' I meant it...:^) > > > > THX, > > Russ > > > > > > >I assume u are useing a simply search for the link type. If so what > do you > > >have for the search? > > > > > >Rick > > > > > >-----Original Message----- > > >From: interchange-users-admin@interchange.redhat.com > > >[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > The > > >Marks Family > > >Sent: Friday, November 02, 2001 2:46 PM > > >To: interchange-users@interchange.redhat.com > > >Subject: [ic] foundation demo newbie question > > > > > > > > >I've installed Interchange 4.8.2 using MySQL 3.23.365-1, Apache > > >1.3.20 and the foundation demo on a Red Hat 7.1 box. I added a few > > >new test categories and product groups in the cat and area tables > and > > >associated new products in the products table using mysqlfront (a > > >Windows MySQL client). > > > > > >The new entries are patterned after existing demo records and are > > >displayed fine in the left region (both category and product group), > > >but selecting one of these new categories always returns "Sorry, no > > >matches for 'new category I added...'". > > > > > >Can someone tell me what I need to do besides ensuring that the > > >record in the products table has the correct value in the prod_group > > >and category fields and the inactive field is not true? > > > > > >I've scoured the pdfs and thought I had it right... 8-( > > > > > >Regards, > > >Russ Marks > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > -- > Rick Eicher II > rick@texol.net > Texol.net - Surf the light. > > From: interchange-users at interchange.redhat.com (Carlc Internet Services) Date: Fri Nov 2 20:54:00 2001 Subject: [ic] Payment Providers > -----Original Message----- > Date: Fri, 02 Nov 2001 10:51:20 -0600 > From: Jason Balicki <kodak@asi-computers.com> > Organization: Alexander Systems, Inc. > To: interchange-users@interchange.redhat.com > Subject: [ic] Payment Providers > Reply-To: interchange-users@interchange.redhat.com > > Hi guys, > > We're finaly ready to start setting up payment processing, > and -- of course -- I've got some questions. > > B: since we already have a merchant account with Concord, I > theoreticaly could set up CCVS and a modem on the web server, > obviously this will introduce delays in processing. I know > there are people who have set up IC this way, could I get > your feelings on pros/cons using CCVS? How bad are the delays? Well, I originally, years ago, connected CCVS with Minivend 4.04a.... Its grown into an entire industry <grin>... Check out hotconnect.net to see... That's an entire IC/Minivend setup with CCVS. As to delays, its faster than most Internet connections and never a drop (at least with the Credit Card houses I use for connection). The average CC transaction is done in about 5-7 seconds on CCVS and that's with AVS/CCV2 turned on. Its not long for a dialtone/9digits/1200 baud handshake.... How long does a POS take? Is that acceptable as its going to be about the same..... Connecting IC to CCVS is a little fun (the older the version, the more fun). You can do it, but you better learn PERL. Oh, you better learn all the possible returns that particular vendor will send down the CCVS pipe. No two vendors are the same! You might have RETURN on one and REVERSE on the other! Be very careful on this. You can get burned by the Credit Card company. > III: The question asked once a week, at least: how do I > go about integrating a payment processor that isn't built > into IC? Would any of you perl gods like to offer a price > on integrating IC with whichever payment processor my boss > decides to use (since I just *know* he's going to pick one > that IC doesn't support out of the box. He's already > tried twice, once with Payflow Link and again with > Concord EFS. Grrr.) Contact me offline if you want to pursue it... Carl http://www.hotconnect.net/ From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Nov 2 21:11:00 2001 Subject: [ic] installing IC 4.8.2: various problems Hi, I write jsut ONE mail for serveral issue. Dear reader, just skip the sections you're not interested in. I would be really glad if you heard about similar problems; because of that I tried to supply many information. Thank you in advance for your time. just tried 4.8.2. First, I merged my changes with the foundation demo. According to UPGRADE, I expected no problem. But, well... - DATABASE issues: ------------------ First, I would really like to chenge the default to not drop all known database tables (of course I forgot to set the NoImport thing). I say: no, don't install sample data and got empty tables. I feel that's bad; if nothing should be inserted, nothing should be deleted. Maybe an additional option in the makecat would be possible (like: warning, existent, non-empty tables found, do you really want to screw up all your data?). - Installation (configure): ---------------------------- Well, the CPAN bundle installation failed of course, since I don't allow the web server (which is running IC) web access. I was sure that I installed the Bundles on the last installation (as root system wide as I though). Well, I was wrong. I allowed proxy and things, used -MCPAN -eshell to install the Bundle. I saw some errors happily leaving my terminal on fast scrolling. No chanche for interaction. Well, after it IC was still not working. Well, I had now a installation in /tmp/interchange. Hum. My perl installation is not the best... Of course this is not in @INC. Hum. Nice install default anyway, cp'd it into interchage/lib. Was this a good idea? At least IC started. In the meantime I restored the database with the lastest backup and IC came up with my catalog. Puh. INET Mode with non-default port ------------------------------- To be able to run both old and new version, I incremented the inet port to use by one. I would like that the tool would print a hint, that the interchange.cfg has to be changed manually (the errors are misleading after that, and not anybody is so paraniod to try netstat -an --inet | grep LIS at first :)). - set proc title hack? -------------------------- Well, I had some messages (on some SuSE, BTW) and read that it may be cause due to setting $0. Well, proctitle things are not official supported in linux, maybe perl overwrites it's argv with memset, well, not nice but working and not my business, I removed $0= in bin/interchange. Well, suddenly I had to install File::CounterFile. Hum. Oki, cp'd from /tmp, IC launches (still), but with no error messages. For a server I implemented, I used such a hack, and please not, that the kernel still knows how long the name was; ps padds it with spaces (even if you memset zero the space!). So the output of ps is ugly. I had half a screen spaces... - endless loop after all: -------------------------- On some (!) shop actions (most time it's clicking on "buy"), the IC process gets on some endless loop (browser blocks of course). Strace showed: stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 getgroups(32, [509, 514]) = 2 mremap(0x4028f000, 954368, 954368, MREMAP_MAYMOVE) = 0x4028f000 in an endless loop, some 100 times a second. Don't reacts on TERM, but on KILL. How I can debug it? I made an strace from a whole request, looks good, it reads the pages, queries the DB, receives results, and after 2500 lines I get: [pid 27204] stat("/home/bedinetz/catalogs/bedi2/session/x/m", {st_mode=S_IFDIR|S_ISGID|0770, st_size=96, ...}) = 0 [pid 27204] unlink("/home/bedinetz/catalogs/bedi2/session/x/m/xms4aAq4:std") = -1 ENOENT (No such file or directory) [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 here starts the loop. I have no idea how to debug, seems to be something weired in autoload or so? Any ideas? Won't mail the trace, since it's large :) - "new account" button in login.html fails SOMETIMES. -------------------------- It seems that the following patch helps: bedinetz@stella:/usr/local/interchange-4.8.2/bedi/pages # cvs diff -u -r 1.2 -r 1.3 login.html Index: login.html =================================================================== RCS file: /net/home/bedinetz/cvs.std/bedi-catalog/pages/login.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- login.html 2001/10/03 16:59:29 1.2 +++ login.html 2001/11/02 16:32:10 1.3 @@ -41,10 +41,11 @@ <FORM ACTION="[process secure=1]" METHOD=POST> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> - <INPUT TYPE=hidden NAME=mv_click VALUE=Login> + <!-- INPUT TYPE=hidden NAME=mv_click VALUE=Login --> <INPUT TYPE=hidden NAME=mv_failpage VALUE="login"> <INPUT TYPE=hidden NAME=mv_successpage VALUE="customerservice"> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="index"> + <input type=hidden name=mv_session_id value="[data session id]"> <table border="0" align="center"> <tr> @@ -69,7 +70,7 @@ <tr> <td>&nbsp;</td> <td class="contentbar1"> - <input type=submit value="Log In"> + <input type="submit" NAME="mv_click" value="Login"> <input type="submit" NAME="mv_click" value="New Account"> </td> </tr> @@ -92,6 +93,7 @@ [else] <FORM ACTION="[process]" METHOD=POST> + <input type=hidden name=mv_session_id value="[data session id]"> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_click VALUE=Logout_choice> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="login"> I don't know if it's correct, but I think there may be problems when there are two mv_click CGI variables? - IC debug mode not working --------------------------------------- I started /usr/local/interchange-4.8.2/bin/interchange -r -DEBUG=1 and ordered something in the shop. Instead of the endless loop I got: bedinetz@stella:/usr/local/interchange-4.8.2/bedi/pages # /usr/local/interchange-4.8.2/bin/interchange -r -DEBUG=1 The previous Interchange server was not running and probably terminated with an error. ##### DEBUG MODE, running in foreground ##### Low traffic settings. Calling UI...Interchange V4.8.2 Configuring catalog bedi2...Using PostgreSQL, DSN=dbi:Pg:dbname=bedi-shop;host=laxx;user=interchange;password=ups_thankyou...done. Interchange server started (30282) (INET and UNIX) Running in foreground, OS=linux, debug=1 String found where operator expected at (eval 346) line 1, at end of line (Missing operator before ?) panic: POPSTACK Goto undefined subroutine &Vend::Error::get_locale_message at /usr/lib/perl5/5.00503/autouse.pm line 61. Is there something missing in the installation or so? Any hints? I cannot understand the message. A find|xargs grep showed, that Vend/Error.pm do define a sub get_locale_message at least. Well, the stuff is really complex and I think it's not possible to perl -d / ddd / gdb it in any case. Hum. Any hints? Not possible to order checkout ------------------------------ I created my steffen user with address, and went to checkout page. I allowed postal order to have no problems. I just wanted to check if the mails still get send and so on. But after filling out the form, the same page comes up, as if I had made input mistakes, but there are no messages displayed. I get no error, but the same page ever and ever. In the error.log there is no message about it (but I thing this is normal, since validation isn't loggin at all AFAIK). Any ideas? Quantity Pricing: wrong prices ------------------------------- Since my shop isn't working with IC4.8.2 today, I tried the RH demo store. I set up a steffen, said it's an dealer and configured quantity pricing for the articel os*007.Nice SKU, BTW :). In basket, there is the link "QUANTITY PRICING". But the prices are incorrect. First, the quantify numbers are not the same as in the DB, and second the values are not the ones from the DB (i.e. 25 is not the value from q25 or w25 or how the fieldname was). Is that feature believed to work? Are there additional things that modify the price? The value for q5 was correct, BTW. Thank you, dear reader for taking the time for reading my posting. I wish a happy weekend to the list! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Thomas N. Stefanidis) Date: Fri Nov 2 22:11:01 2001 Subject: [ic] matrix option on contruct demo Hello, I upgraded from 4.6.5 to 4.8.2. I was using the construct demo.Everything is ok now,but i can't use the matrix option. When i go to the matrix page and select an option,nothing happends.I always get in the same page. Any ideas what should i do? Thank you in advance. Thomas From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Nov 2 22:39:00 2001 Subject: [ic] Flypage, multiple product tables, and [item-field] * Todd L. Cawthron wrote on Mon, Oct 29, 2001 at 08:38 -0800: > When I turned on the debugging features in Interchange, I > noticed a lot of database error messages during flypage > generation. Could you please tell me how to enable the debug features? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Nov 2 22:44:00 2001 Subject: [ic] interchange crashing? * interch wrote on Tue, Oct 30, 2001 at 23:55 -0500: > evening i noticed that one of the interchange processes was using 80-90% > of the cpu.. and 86 MB memory. Looking at the interchange error.log i > found a bunch of lines like this (hundreds): > > 205.232.129.9 - - [29/October/2001:10:23:16 -0600] auto /cgi- > bin/auto/brands/menu/carcareaccessories.html Died in server spawn: Can't > call method "new" on an undefined value at /usr/local/interchange/lib/Vend/ > Data.pm line 674. I found the same messages. You describe a high load, well, I had high load from the endless loop described in my other posting. try a strace -p <interchange-pid> and look if the process is stat() the same file or what it's doing otherwise. May be interessting. > 205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:26:01 -0600] auto > /cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search > error: Object saved wrong in > 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto > /cgi-bin/auto/index.html Non-existent price option table options just for completness, I don't found that. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Thomas N. Stefanidis) Date: Fri Nov 2 22:52:00 2001 Subject: [ic] how to import a 4.6.5 database into a 4.8.2 Hello, I was wondering if there is a way to import a product database built with 4.6.5 into a database built with 4.8.2. Any ideas? What would be the best way to import the whole database to 4.8.2? Thomas From: interchange-users at interchange.redhat.com (John Beima) Date: Fri Nov 2 23:23:00 2001 Subject: [ic] interchange crashing? We have had a fair number of unique crashes as well, as of late... They all occur with the new "rpc" mode... It is kinda very funny... We have 200 sites on one machine, only one of which is based on the foundation template... It is the ONLY catalog that crashes... All of our custom made ones run fine... We have another server with 18 custom made catalogs and 1 continues to freeze... The interesting thing is is you alter the "rpc" settings to allow each server to process no more than 40 requests instead of 100 the crashes seem to totally dissappear... They have gone from 6 or 7 locks a day to 4 days with no crashes... My buess is there is a memory leak in "rpc" mode... The change we made was to start up 10 servers instead of 5 because of the drops in requests allowed to each server... Hope this helps someone out... John Beima Quoting Steffen Dettmer <steffen@dett.de>: > * interch wrote on Tue, Oct 30, 2001 at 23:55 -0500: > > evening i noticed that one of the interchange processes was using > 80-90% > > of the cpu.. and 86 MB memory. Looking at the interchange error.log i > > > found a bunch of lines like this (hundreds): > > > > 205.232.129.9 - - [29/October/2001:10:23:16 -0600] auto /cgi- > > bin/auto/brands/menu/carcareaccessories.html Died in server spawn: > Can't > > call method "new" on an undefined value at > /usr/local/interchange/lib/Vend/ > > Data.pm line 674. > > I found the same messages. You describe a high load, well, I had > high load from the endless loop described in my other posting. > try a strace -p <interchange-pid> and look if the process is > stat() the same file or what it's doing otherwise. May be > interessting. > > > 205.188.200.48 eiZdeF8z:nobody - [30/October/2001:18:26:01 -0600] auto > > > /cgi-bin/auto/scan/MM=fb37d15dd936c522106bce33cf3bd273:20:39:20 search > > > error: Object saved wrong in > > 198.62.9.30 xb5rdVXq:nobody - [29/October/2001:10:23:30 -0600] auto > > /cgi-bin/auto/index.html Non-existent price option table options > > just for completness, I don't found that. > > oki, > > Steffen > > -- > Dieses Schreiben wurde maschinell erstellt, > es trägt daher weder Unterschrift noch Siegel. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Sat Nov 3 01:52:00 2001 Subject: [ic] foundation demo newbie question Quoting Russ Marks: > Rick, > I don't know! Where do I look? I do have the 'simple' search type. > I assumed there was some standard code that queries the db based on > the category. Is it in the catalog_before script? > >I assume u are useing a simply search for the link type. If so > what do you > >have for the search? the simple search you are looking for is in admin --> design, then select a category and check its cooresponding link type. a simple search would look similar to: category=Hammers a complex search would look sth like: sf=category fi=products tf=title ..etc, etc. you can create your own complex searches, it rocks! Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (fctmaillist) Date: Sat Nov 3 07:07:00 2001 Subject: [ic] How to pass parameters to usertag routine Hi all I have a usertag declared in interchange.cfg as follows Usertag sometag HasEndTag Usertag sometag Order var1 var2 Usertag sometag Routine <<EOF sub { my ($var1,$var2); return "$var1.$var2"; } EOF How do I pass values to the usertag if want to call the usertag from a interchange page? If it is called like this [perl] $data1="somevalue1"; $data2="somevalue2"; [sometag $data1 $data2] [/sometag] [/perl] The usertag returns just $data1$data2. it is not taking the values for that arguments. but if it is called like this: [sometag somevalue1 somevalue2][/sometag] then the usertag reurns somevalue1somevalue2. But i want to pass arguments as variables not hardcoded ones. How to overcome this? regards joyce From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Nov 3 08:03:00 2001 Subject: [ic] How to pass parameters to usertag routine Quoting fctmaillist (fctmaillist@megasoft.com): > Hi all > > I have a usertag declared in interchange.cfg as follows > Usertag sometag HasEndTag > Usertag sometag Order var1 var2 > Usertag sometag Routine <<EOF > > sub { > my ($var1,$var2); > return "$var1.$var2"; > } > EOF > > > How do I pass values to the usertag if want to call the usertag from a > interchange page? > > If it is called like this > > [perl] > $data1="somevalue1"; > $data2="somevalue2"; > [sometag $data1 $data2] > [/sometag] > [/perl] You can't mix Perl and ITL Like that. But you can do: [perl] $data1="somevalue1"; $data2="somevalue2"; return $Tag->sometag($data1, $data2, $body); [/perl] The $body of course is the container text between [sometag] and [/sometag]. It isn't used in your example, but since you defined hasEndTag it will be handled. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Nov 3 08:08:01 2001 Subject: [ic] interchange crashing? Quoting John Beima (jbeima@palb.com): > We have had a fair number of unique crashes as well, as of late... > > They all occur with the new "rpc" mode... It is kinda very funny... We have 200 > sites on one machine, only one of which is based on the foundation template... > It is the ONLY catalog that crashes... All of our custom made ones run fine... > > We have another server with 18 custom made catalogs and 1 continues to freeze... > > The interesting thing is is you alter the "rpc" settings to allow each server to > process no more than 40 requests instead of 100 the crashes seem to totally > dissappear... They have gone from 6 or 7 locks a day to 4 days with no > crashes... My buess is there is a memory leak in "rpc" mode... The change we > made was to start up 10 servers instead of 5 because of the drops in requests > allowed to each server... > > Hope this helps someone out... I think what is happening is that DBI is caching the MySQL handles and at some point they stop working. If anyone has seen this problem with DBM-only or Postgres sites (neither of which cache connections) then I would appreciate hearing about it. I would really like to nail this problem. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sat Nov 3 08:48:00 2001 Subject: [ic] Regenerate Regenerate produces wrong locations for images, using UI_IMG_DIR for all image positions. I would have expected images/foundation but get interchange/en_US/foundation. This is 4.8.2. What is wrong? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (anandha prassanna) Date: Sat Nov 3 09:10:00 2001 Subject: [ic] Problem with Shipping Lookup HI all, I've a small problem in gouing for a lookup of shipping cost. Here is my catalog.cfg for shipping entry. Database Ground Ground.csv CSV Also in the shipping.asc file i have an entry as below GNDCOM UPS Ground Commercial price 0 20 u Ground [default zip 450] 2.00 round GNDCOM UPS Ground Commercial price 20 45 f @@TOTAL@@ * 0.1 Now mv_shipmode has "GNDCOM". This is fine Next when i have my items priced from the range of 20 to 45 the shipping cost returns the 10% of the total . Formula based calculation works fine . But when there is ups based lookup i get shipping cost of 0.00$. Also let me Know that whats the functionality of default zip.Does it mean that it require a zip valu which starts from 450 ? I have the required Ground.csv in my products directory. I have set up a database environment with pgsql. One more request is that I don't understand what user tag does below 3DS UPS 3 Day Select weight 0 150 f [ups-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="3DS" weight="@@TOTAL@@"] I understand this ups-query tag requires a zip code either from the current session or from the default settings , mode and weight according to the criteria set. But apart from that where it queries ? Does it query the CSV files . Where Can i find the links for processing. Ur Help ig greatly expected.. with Regards, prassy... From: interchange-users at interchange.redhat.com (The Marks Family) Date: Sat Nov 3 11:01:01 2001 Subject: [ic] foundation demo newbie question Curt, Many thanks for the reply. I have both a 'top' & 'left' area called 'Travel' which contains a category called 'Airlines'. The Layout Editor shows the 'Airlines' category properties to be 'simple search' using the 'products' table with category=Airlines for the search and 'default' results page. I tried to pay attention to the contents existing demo records when creating my tests. Regards, Russ >Quoting Russ Marks: > >> Rick, >> I don't know! Where do I look? I do have the 'simple' search type. >> I assumed there was some standard code that queries the db based on >> the category. Is it in the catalog_before script? > >> >I assume u are useing a simply search for the link type. If so >> what do you >> >have for the search? > >the simple search you are looking for is in admin --> design, then select a >category and check its cooresponding link type. a simple search would look >similar to: > >category=Hammers > >a complex search would look sth like: > >sf=category >fi=products >tf=title >..etc, etc. > >you can create your own complex searches, it rocks! > >Good luck! > >Curt Hauge > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (John Beima) Date: Sat Nov 3 12:19:00 2001 Subject: [ic] interchange crashing? G'Day Mike, As you are well aware, you are more than welcome to take a look at our server, and can have access to anything you need... Just get ahold of me and I will let you at it... John Beima Quoting Mike Heins <mheins@redhat.com>: > Quoting John Beima (jbeima@palb.com): > > We have had a fair number of unique crashes as well, as of late... > > > > They all occur with the new "rpc" mode... It is kinda very funny... We > have 200 > > sites on one machine, only one of which is based on the foundation > template... > > It is the ONLY catalog that crashes... All of our custom made ones run > fine... > > > > We have another server with 18 custom made catalogs and 1 continues to > freeze... > > > > The interesting thing is is you alter the "rpc" settings to allow each > server to > > process no more than 40 requests instead of 100 the crashes seem to > totally > > dissappear... They have gone from 6 or 7 locks a day to 4 days with no > > crashes... My buess is there is a memory leak in "rpc" mode... The > change we > > made was to start up 10 servers instead of 5 because of the drops in > requests > > allowed to each server... > > > > Hope this helps someone out... > > I think what is happening is that DBI is caching the MySQL handles > and at some point they stop working. > > If anyone has seen this problem with DBM-only or Postgres sites (neither > of which cache connections) then I would appreciate hearing about it. > I would really like to nail this problem. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > I am a great believer in luck, and I find that the harder I work > the more luck I have. -- Thomas Jefferson > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Yahoo) Date: Sat Nov 3 13:06:01 2001 Subject: [ic] Credit Card Info This may be very novice question, but we are not a high volume operation, we really do not need a processing entity at the moment, so I was asked to have daily reports with clients orders including card #s, I have come to discover that the card # is a variable not a field ( I think ), anybody ever done this before could enlighten us, Thanks a lot samharris@usa.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 3 14:06:00 2001 Subject: [ic] Credit Card Info On Sat, Nov 03, 2001 at 01:10:03PM -0600, Yahoo wrote: > This may be very novice question, but we are not a high volume operation, we > really do not need a processing entity at the moment, so I was asked to have > daily reports with clients orders including card #s, I have come to discover > that the card # is a variable not a field ( I think ), anybody ever done > this before could enlighten us, > Thanks a lot > > samharris@usa.com This s/b a FAQ. It is certainly in the archives. :-) How do I put this... Oh hell, flame me so others don't have to sound like BOFH. It is very easy to do. The consensus and experience seems to be, however, that if one is not able to do it readily, then it's likely that relevant security issues have not been addressed, either. I'm not paranoid about credit cards myself; IMCO a major reason for their existence is to facilitate (risky) transactions between unknown parties. But they are only a tiny part of overall system security. People here will be unwilling to help you shoot yourself. BOFH, cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (The Marks Family) Date: Sat Nov 3 14:30:01 2001 Subject: [ic] foundation demo newbie question Problem solved. I had inadvertently swapped my product group and categories in my product record... Russ Marks >Quoting Russ Marks: > >> Rick, >> I don't know! Where do I look? I do have the 'simple' search type. >> I assumed there was some standard code that queries the db based on >> the category. Is it in the catalog_before script? > >> >I assume u are useing a simply search for the link type. If so >> what do you >> >have for the search? > >the simple search you are looking for is in admin --> design, then select a >category and check its cooresponding link type. a simple search would look >similar to: > >category=Hammers > >a complex search would look sth like: > >sf=category >fi=products >tf=title >..etc, etc. > >you can create your own complex searches, it rocks! > >Good luck! > >Curt Hauge > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korksoft Support) Date: Sat Nov 3 15:52:01 2001 Subject: [ic] SubCatalog Directive Hello All, Using Interchange 4.8.2 on a RH Linux 7.2 box. Need to implement a subcatalog, actually several - potentially 30-50 eventually. We have done: interchange.cfg file: SubCatalog demo-t webstore /home/catalogs/demo-p /cgi-bin/demo-t Per what the IC documentation states -- however, it just doesn't seem to be working per the specification. Most notably its calling for several databases in etc/lib... of which that obviously doesn't exist. Upon sym-linking to the products directory, it then passes that point, but starts to request several "yes-no" directives that must be modified in the catalog.cfg -- is there a FAQ / additional documentation anywhere that we can use? Thanks! Jason -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Sat Nov 3 16:47:00 2001 Subject: [ic] Stock Alert Does Interchange follow-up with the stock alert and send the notification automatically when the item is back in stock? If not, where does the data reside so that it can be done by some other method. Peter From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sat Nov 3 16:57:00 2001 Subject: [ic] Stock Alert > Does Interchange follow-up with the stock alert and send the > notification automatically when the item is back in stock? If > not, where does the data reside so that it can be done by > some other method. > > Peter Here is one user's implementation (from the list almost a year ago): From: "Bill Randle" <billr@exgate.tek.com> To: <interchange-users@lists.akopia.com> Subject: Re: [ic] In Stock Notification Date: Thursday, January 04, 2001 10:33 AM Doug, et. al., I finally got time to follow up on my previous cron suggestion with some more details. This method has three pieces, although the second and third could be combined into a single page. (1) a crontab entry for the 'interchange' user that runs periodically (pick your time interval). For example, to run once a day at 4pm: 16 * * * * /usr/bin/GET \ http://mysite.com/cgi-bin/myshop/cron/pending >> \ /tmp/pending_log (2) create a file "pending.html" and put in an accessable location (in this case, a "cron" directory underneath the "pages" dir). This file is just a wrapper for including the file that does the "real" work. If you want multiple checks or updates to happen, you can add additional [include] tags for them. For example: >>>> pending.html <<<< [include cron/check_pending] (3) create the "check_pending" script, which lives in a different "cron" directory, this one at the same level as the "pages" dir. I.e.: interchange | -----|--------- ... | | cron pages | ------------ ... | | cron special You can use pretty much any directory structure you want - this just happens to be what I have. In "check_pending" you might have something like this: [tag export inventory][/tag] [tag export pending][/tag] [mvasp tables="inventory pending"] <% no strict; $Document->hot(1); $CGI::cookie = 'CRON'; $Scratch->{mv_no_session_id} = $Scratch->{mv_no_count} = 1; HTML("\nEntering pending/inventory update"); # open 'pending' db and grab entries for users that haven't been # notified their requested item is now in stock my $dbh = $Sql{pending}; my $sth = $dbh->prepare(q{ SELECT * FROM pending WHERE notified = '0'}) or return error_message("can't open pending database"); my $rc = $sth->execute() or return HTML("\ncan't open pending database"); my $hash; while($hash = $sth->fetchrow_hashref()) { # $hash has all column values: # code username email initial_date notify_date skus notified # "skus" is an array of out of stock items # foreach sku, check the current inventory quantity and if > 0, # send the user email (email address could from the 'pending' db, # or be looked up in the 'userdb', given the username). # if any notification emails were sent for this user then: # (1) update the "notified" and "notify_date" fields of # the 'pending' db. # (2) if this user still has outstanding requests, then # (a) either update the "skus" field of the existing # record, deleting the items that are now in stock, or # (b) close the existing record and create a new record # with those item numbers still out of stock } %> [/mvasp] Flushing out the "check_pending" script is left as an exercise to the implementor. :-) Finally, get and install 'GET', if you don't already have it. 'GET' is part of the Perl LWP library. As a final note, I'm sure there are other variations or implementations possible. This is just an outline to get you going. Also note that this is being used with minivend 4.04. It should be completely portable to Interchange, but won't work with minivend 3.x without some changes. -Bill From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Sat Nov 3 17:41:01 2001 Subject: [ic] spurious PID file... Hi all, "Spurious PID file for process nnnnn supposedly running xxx seconds" ...shows up in the catalog error.log. Always 300+ seconds, and lots of messages. Something that should be dying isn't? Thanks! Glenn. From: interchange-users at interchange.redhat.com (CHRIS KNIGHT) Date: Sat Nov 3 17:44:35 2001 Subject: [ic] Bug in item editor regarding images Salut All, I've been experiencing an odd behavior with the item editor in regards to the image_large field. Before I go into detail, let me say that I just duplicated the behavior on the RedHat live demo page. You may want to give this a try on your system for the curiosity of it, I had been thinking it was a problem unique to my setup because I would have thought there would be mention of it in the archives. Now I think maybe few are using the image_large field. Anyway...these are my observations in summary and then how you can go about seeing if your system will do the same thing. If the thumb field is empty, and the image_large field is not empty and you use the UI item editor to go into the item and edit a field, maybe one of the descriptions or inactive or whichever one (they all have the same effect for me) click ok and the look at the fields in the item editor you will notice the value that had been in the image_large field has got up and walked into the thumb field. If you take a look at the file in a directory listing of your image directory, the file now has zero size and also exists with a zero size in the images/thumb directory. How I just confirmed on the live demo is.. Edit the item editor to show all three image fields next to each other and to include all three as fields to edit. Select an item to edit and delete the thumb image by typing a blank in the field and clicking ok. Confirm the thumb image is gone form the item listing. Go back into the same item and upload an image into image_large and click ok. Again confirm in the item editor item listing that this is done. ( side note here that the path that is uploaded won't actually work to display on image) Go back into the same item and modify the short description and click okay. Notice in the item editor the value you uploaded is now in the previously empty thumb field. I suppose if you don't use large images this won't bug you much, but I wrote a script to display the large image from the flypage if the customer clicks a little href that was working fine and then we noticed that some times it was now not working and on investigation I found that anytime someone edited an item it killed the large image. I am of course curious to know if others will find this same behavior on their systems and honestly even more curious to know how to fix this. TIA Merci, Chris From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Sat Nov 3 17:48:01 2001 Subject: [ic] searchable mail archive? Hello all, I hate to take everyone's time, but is there a searchable mail archive of this list? All I can find on the RedHat site is a monthly "by thread"... TIA, Glenn. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Nov 3 17:50:55 2001 Subject: [ic] Problem with Shipping Lookup Please fix your claock. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 03, 2001 at 17:50 PM: I tried being reasonable once. I didn't like it. ---------------------------------------------------------------- This Linux System has been up 200 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Sat Nov 3 17:54:00 2001 Subject: [ic] setting up - On the fly Hi all, Im still working through my changing of the "entry.html" page so that I can add items on the fly in the admin section. I think im getting it, but i dont know how to configure the catalog to use "OnFly". Anybody know how to do this? Thanks for your help! Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Nov 3 17:57:05 2001 Subject: [ic] Credit Card Info On Sat, 3 Nov 2001, Yahoo wrote: Y>>This may be very novice question, but we are not a high volume operation, we Y>>really do not need a processing entity at the moment, so I was asked to have Y>>daily reports with clients orders including card #s, I have come to discover Y>>that the card # is a variable not a field ( I think ), anybody ever done Y>>this before could enlighten us, I suggest that you educate the people that are asking you to do this to the high risks of allowing credit card numbers to become visible to people that don't have a need for access to them in order to process the order. Perhaps you are a small shop like mine, in which case it's no problem. Scotty and I process orders interchangeably, and so we both have full access to all of the computers, card #,s etc. But, once you get much bigger than that, you end up having these number floating around, either on computers, or on paper, where people can access them have no need to, or worse yet, where someone can hack into the computer and capture them. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 03, 2001 at 17:50 PM: I tried being reasonable once. I didn't like it. ---------------------------------------------------------------- This Linux System has been up 200 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (CHRIS KNIGHT) Date: Sat Nov 3 18:08:00 2001 Subject: [ic] searchable mail archive? Salut Glenn, try http://interchange.redhat.com/cgi-bin/ic/mail_archive.html the search box in the uper left will search the dacs first then give you the option of the mail lists, the lower search box is by year and will bring your search up by date and then you can select by thread if you want. HTH, Chris >>> techlist@bnetmd.net 11/3/01 5:32:10 PM >>> Hello all, I hate to take everyone's time, but is there a searchable mail archive of this list? All I can find on the RedHat site is a monthly "by thread"... TIA, Glenn. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (CHRIS KNIGHT) Date: Sat Nov 3 18:42:00 2001 Subject: [ic] Problem with Shipping Lookup Salut Prassy, In regards to the 450... UPS calculates it shipping cost form point A to point B. Point A is the zone based on zip code where the shipment will originate. In the default foundation demo it is all set up to start from 450. You will want to go to UPS's web site and download the most recent shipping information. http://www.ups.com/using/services/rave/rate/index.html I suggest going to http://interchange.redhat.com/cgi-bin/ic/index and type shipping into the search box, this will give you references into the docs on shipping. And you should be able to find further answers to your questions there. bonne chance, Chris >>> anandha.prassanna@megasoft.com 9/19/01 5:36:12 PM >>> HI all, I've a small problem in gouing for a lookup of shipping cost. But when there is ups based lookup i get shipping cost of 0.00$. Also let me Know that whats the functionality of default zip.Does it mean that it require a zip valu which starts from 450 ? I have the required Ground.csv in my products directory. I have set up a database environment with pgsql. with Regards, prassy... _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (DB) Date: Sat Nov 3 22:57:00 2001 Subject: [ic] IC4.8.2-Trying to install ParseExcel Hi... I intsalled IC4.8.2 and it runs ok. I was able to install WriteExcel, but when I tried to install ParseExcel I get odd errors like > Compilation failed in require at test.pl line 11. > BEGIN failed--compilation aborted at test.pl line 11. > make: *** [test_dynamic] Error 2 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force This is on RedHat 7.1. Any ideas? Dave M&D Mower http://M-and-D.com From: interchange-users at interchange.redhat.com (Bernino Lind) Date: Sun Nov 4 02:03:00 2001 Subject: [ic] Credit Card Info Just an example: In Denmark there was a shop which did exactly that. One day some persons stole the mail archive with all the card #'s and began doing nice things with various online stores. The bank, in this case the shops bank, has the legal responsibility in Denmark (I dont know the law else where) so they had to pay the transfers of money which could not be stopped. Then the bank filed a case against the shop for improper storage of card #'s. So you should make sure that all such mails are encrypted at the least - but preferably completely nuke the card #'s as soon as you have gotten your money (and hey! Isnt that what its all about ???)! -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Balcom Sent: 3. november 2001 23:59 To: interchange-users@interchange.redhat.com Subject: Re: [ic] Credit Card Info On Sat, 3 Nov 2001, Yahoo wrote: Y>>This may be very novice question, but we are not a high volume operation, we Y>>really do not need a processing entity at the moment, so I was asked to have Y>>daily reports with clients orders including card #s, I have come to discover Y>>that the card # is a variable not a field ( I think ), anybody ever done Y>>this before could enlighten us, I suggest that you educate the people that are asking you to do this to the high risks of allowing credit card numbers to become visible to people that don't have a need for access to them in order to process the order. Perhaps you are a small shop like mine, in which case it's no problem. Scotty and I process orders interchangeably, and so we both have full access to all of the computers, card #,s etc. But, once you get much bigger than that, you end up having these number floating around, either on computers, or on paper, where people can access them have no need to, or worse yet, where someone can hack into the computer and capture them. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 03, 2001 at 17:50 PM: I tried being reasonable once. I didn't like it. ---------------------------------------------------------------- This Linux System has been up 200 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Nov 4 04:18:01 2001 Subject: [ic] Regenerate Kaare Rasmussen <kar@kakidata.dk> writes: > Regenerate produces wrong locations for images, using UI_IMG_DIR for all > image positions. > I would have expected images/foundation but get interchange/en_US/foundation. > > This is 4.8.2. What is wrong? Regenerate is quite broken in 4.8.2. I fixed several bugs in the CVS. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 4 04:24:01 2001 Subject: [ic] Im getting a problem Note: Error on Fedex calculation: Object variable or With block variable not set. Can anyone help with this bert@hot-webhosting.com From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Sun Nov 4 10:04:01 2001 Subject: [ic] interchange crashing? * Mike Heins wrote on Sat, Nov 03, 2001 at 08:04 -0500: [reduced to concurrency == 40] I had no 40 concurrent requests in the test environment. > If anyone has seen this problem with DBM-only or Postgres sites > (neither of which cache connections) then I would appreciate > hearing about it. I would really like to nail this problem. I use PortgreSQL. It may be possible that there are two issues, which may be completly independed. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Adam Julius) Date: Sun Nov 4 10:15:01 2001 Subject: [ic] MySQL errors on install Hello. I recently did a new install of Interchange 4.8.2. Everything works fine except for the MYSQL section. When it tried to create a MYSQL database it failed. I currently have a host with cpanel where the mysql username is username and the database name is username_databasename. I would like to be able to create the mysql database myself in cpanel, while having it automatically setup the tables for me. I entered in username_database name in the DBI section thinking that would be all I needed. In the DBI section I put dbi:mysql:username_databasename and in the place where it asked for options for creation, I left it blank. When it tried to create the database I got the following: create database failed, error access denied for user@localhost to database catalog How would I go about fixing this? Thanks.. __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Sun Nov 4 10:44:00 2001 Subject: [ic] Credit Card Info I have a mod that will print it on the email to the shop owner in 4.8.x without messing with encryption if anyone is interested. I've been meaning to post it anyway. Let me know and I'll post it. Robert Trembath Senior IT Director e| robert@ishoptech.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Bernino Lind Sent: Sunday, November 04, 2001 1:02 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info Just an example: In Denmark there was a shop which did exactly that. One day some persons stole the mail archive with all the card #'s and began doing nice things with various online stores. The bank, in this case the shops bank, has the legal responsibility in Denmark (I dont know the law else where) so they had to pay the transfers of money which could not be stopped. Then the bank filed a case against the shop for improper storage of card #'s. So you should make sure that all such mails are encrypted at the least - but preferably completely nuke the card #'s as soon as you have gotten your money (and hey! Isnt that what its all about ???)! -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Balcom Sent: 3. november 2001 23:59 To: interchange-users@interchange.redhat.com Subject: Re: [ic] Credit Card Info On Sat, 3 Nov 2001, Yahoo wrote: Y>>This may be very novice question, but we are not a high volume operation, we Y>>really do not need a processing entity at the moment, so I was asked to have Y>>daily reports with clients orders including card #s, I have come to discover Y>>that the card # is a variable not a field ( I think ), anybody ever done Y>>this before could enlighten us, I suggest that you educate the people that are asking you to do this to the high risks of allowing credit card numbers to become visible to people that don't have a need for access to them in order to process the order. Perhaps you are a small shop like mine, in which case it's no problem. Scotty and I process orders interchangeably, and so we both have full access to all of the computers, card #,s etc. But, once you get much bigger than that, you end up having these number floating around, either on computers, or on paper, where people can access them have no need to, or worse yet, where someone can hack into the computer and capture them. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 03, 2001 at 17:50 PM: I tried being reasonable once. I didn't like it. ---------------------------------------------------------------- This Linux System has been up 200 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (BWP-BookCenter) Date: Sun Nov 4 11:01:00 2001 Subject: [ic] Credit Card Info Robert, Please do. For many "small" store owners the ISP does not always install the PGP correctly, so this will help them. Thanks Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Robert Trembath Sent: Sunday, November 04, 2001 10:44 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info I have a mod that will print it on the email to the shop owner in 4.8.x without messing with encryption if anyone is interested. I've been meaning to post it anyway. Let me know and I'll post it. Robert Trembath Senior IT Director e| robert@ishoptech.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Bernino Lind Sent: Sunday, November 04, 2001 1:02 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info Just an example: In Denmark there was a shop which did exactly that. One day some persons stole the mail archive with all the card #'s and began doing nice things with various online stores. The bank, in this case the shops bank, has the legal responsibility in Denmark (I dont know the law else where) so they had to pay the transfers of money which could not be stopped. Then the bank filed a case against the shop for improper storage of card #'s. So you should make sure that all such mails are encrypted at the least - but preferably completely nuke the card #'s as soon as you have gotten your money (and hey! Isnt that what its all about ???)! -- med venlig hilsen / Best Regards Bernino Lind +45 7021 0050 catpipe Systems ApS - www.catpipe.net Best done FreeBSD solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Balcom Sent: 3. november 2001 23:59 To: interchange-users@interchange.redhat.com Subject: Re: [ic] Credit Card Info On Sat, 3 Nov 2001, Yahoo wrote: Y>>This may be very novice question, but we are not a high volume operation, we Y>>really do not need a processing entity at the moment, so I was asked to have Y>>daily reports with clients orders including card #s, I have come to discover Y>>that the card # is a variable not a field ( I think ), anybody ever done Y>>this before could enlighten us, I suggest that you educate the people that are asking you to do this to the high risks of allowing credit card numbers to become visible to people that don't have a need for access to them in order to process the order. Perhaps you are a small shop like mine, in which case it's no problem. Scotty and I process orders interchangeably, and so we both have full access to all of the computers, card #,s etc. But, once you get much bigger than that, you end up having these number floating around, either on computers, or on paper, where people can access them have no need to, or worse yet, where someone can hack into the computer and capture them. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 03, 2001 at 17:50 PM: I tried being reasonable once. I didn't like it. ---------------------------------------------------------------- This Linux System has been up 200 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jay Flaherty) Date: Sun Nov 4 13:20:01 2001 Subject: [ic] How do I handle a "checksum" like field? Hello everyone; I have added a field to the checkout page (CD key) that requires a checksum run against it to check for a valid CD key and if it passes the checksum, return an unlock code. I have successfully created a UserTag that does this and returns the unlock code back to the user via the receipt.html page as well as via email and finally adds it to the database once the credit card is validated and charged. My problem is how to handle a CD key entered in the CD key field that does not pass the checksum. I would like it to work the same way an invalid credit card does not pass the CC checksum, i.e. reload the checkout page with the error message "Invalid CD Key. Please try again" prominently displayed in red above the CD key field. I have poured over all the IC files and can't figure out how the checksum on the CC works. Actually, I can't figure out exactly how the whole checkout process works though I have sucessfully implemented it via PGP email and Authorizenet :-) I would appreciate anyone who can point me in the right direction or give me some example code. Thanks for your time...jay Jay Flaherty Mediapulse, Inc. fty@mediapulse.com From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Sun Nov 4 13:37:00 2001 Subject: [ic] MySQL errors on install > Hello. I recently did a new install of Interchange > 4.8.2. Everything works fine except for the MYSQL > section. When it tried to create a MYSQL database it > failed. > > I currently have a host with cpanel where the mysql > username is username and the database name is > username_databasename. > > I would like to be able to create the mysql database > myself in cpanel, while having it automatically setup > the tables for me. I entered in username_database > name in the DBI section thinking that would be all I > needed. In the DBI section I put > dbi:mysql:username_databasename and in the place where > it asked for options for creation, I left it blank. > When it tried to create the database I got the > following: create database failed, error access > denied for user@localhost to database catalog > > How would I go about fixing this? Thanks.. > Hi Adam, I think we have the same ISP (hostroute) and the same problems. Did you selected the Mysql option in the Admininterface ( Administration->Preferences->Database->Mysql set to 1) ? You can also set these values in the variable.txt file. I really don't know if that¹s the whole story. One problem is that we can not restart the IC server to apply changes made to the catalog.cfg. So after every little change we have to ask the ISP to restart IC. Best regards Goetz Verdieck ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sun Nov 4 14:49:00 2001 Subject: [ic] Credit Card Info > Work around for CC info > ------------------------------ Analagy to your e-mail: Here is the gun. Here are the bullets. Aim at your foot. Fire when ready. (I just feel sorry for the customers -- people really do have good reason to be afraid to buy on the Internet). Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sun Nov 4 14:55:01 2001 Subject: [ic] interchange crashing? Quoting Steffen Dettmer (steffen@dett.de): > * Mike Heins wrote on Sat, Nov 03, 2001 at 08:04 -0500: > [reduced to concurrency == 40] > > I had no 40 concurrent requests in the test environment. > > > If anyone has seen this problem with DBM-only or Postgres sites > > (neither of which cache connections) then I would appreciate > > hearing about it. I would really like to nail this problem. > > I use PortgreSQL. It may be possible that there are two issues, > which may be completly independed. > No, I think it is one. Now if I could only duplicate it myself. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sun Nov 4 14:59:06 2001 Subject: [ic] Credit Card Info Quoting Robert Trembath (robert@ishoptech.com): > I have a mod that will print it on the email to the shop owner in 4.8.x > without messing with encryption if anyone is interested. I've been > meaning to post it anyway. Let me know and I'll post it. Please don't do that. If people want it, I ask that you send it to them individually. I will not support, and this list will not archive, messages on how to defeat the required encryption. The following is my opinion, which is rendered as a matter of record as the individual most knowledgeable about Interchange. It is easy to do -- but you shouldn't do it. Nor encourage others to do so. It is actionable behavior when you do it on an insecure network, as B. Lind pointed out, and people who are looking for the easy way out usually are the same ones who pay no other attention to security. Please don't encourage people to be sloppy and lazy with other people's resources. Certainly the recent Passport thing should give warning. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sun Nov 4 15:03:10 2001 Subject: [ic] Credit Card Info Quoting Robert Trembath (robert@ishoptech.com): > Work around for CC info > ------------------------------ > OK, don't listen to me. That was a victory for all the lazy, sloppy people out there and the hackers that exploit them. I will remove this from the archive. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (interch) Date: Sun Nov 4 15:19:00 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001, Robert Trembath wrote: > Work around for CC info Security and common sense issues aside, this is in direct violation of Visa/Mastercard regulations, and if anyone reports you to them or your acquiring bank, your merchant account very likely would be closed. You would really need to have rocks in your head to start sending card numbers unencrypted via email, especially when there is no valid reason to do so other than someone is too cheap to use an online payment gateway that handles that for you. Chris From: interchange-users at interchange.redhat.com (interch) Date: Sun Nov 4 15:22:50 2001 Subject: [ic] disk space woah. just found out that our server ran out of disk space and i looked, and the tmp directory in the catalog was taking up over 16 gigs of space. im flushing the directory and restarting interchange. should i be flushing this directory regularly? i read the section about maintaining interchange and i thought that the sessions were the only thing that really needed to be tended to and expired, but i guess not? -sphen From: interchange-users at interchange.redhat.com (Garry) Date: Sun Nov 4 15:27:00 2001 Subject: [ic] Credit Card Info Why is it so hard to install PGP? - I have tried but with no success and I can't understand the code needed. As a potential end user of IC, it seems to me that there is an assumption that we all have to be real brainy programmers or, to be able to understand the literature which, to me, might as well be in an unfamiliar foreign language. I have seen several people on here almost beg for simple, step by step, clear english instructions on how to encrypt credit card info. I have given up asking because of the embarrassment factor involved. Replies like, "people who can't, shouldn't" - is not appropriate, I am not using IC to make money out of third party clients, I don't want to learn ITL, or Linux or perl - but why should this exclude me from being able to use the software? I remember the days when IC didn't encrypt credit card info at all - I am sure Credit Card process companies were dying to use this as an excuse to stop peoples accounts back then !!?? Conclusion: Simple, step by step instructions, anyone can understand, to install a program that IC now needs, to be able to function - ie.. pgp - please? Gaz ----- Original Message ----- From: "Dan Browning" <danpb@mail.com> To: <interchange-users@interchange.redhat.com> Sent: Sunday, November 04, 2001 7:48 PM Subject: RE: [ic] Credit Card Info > > Work around for CC info > > ------------------------------ > > Analagy to your e-mail: > > Here is the gun. > Here are the bullets. > Aim at your foot. > Fire when ready. > > (I just feel sorry for the customers -- people really do have good > reason to be afraid to buy on the Internet). > > Dan Browning > Kavod Technologies > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Sun Nov 4 15:40:01 2001 Subject: [IC] Internal server error... Glenn McCalley wrote: > > OK it's been a week and I still can't find it. Staring at it too much > maybe... > > IC 4.8.2 > Perl 5.6.1 > FreeBSD 4.0 > Foundation -- stock install. > > The "orders" and "merchandising" sections of the administrative UI (and only > these major sections) return "Internal Server Error" -- each time every > time. A perl.core is produced in catalogs/foundation/perl.core. Also, with > the "items" table displaying, clicking either yes/no in the "promo" column > produced Internal server error. > > All other functions work great. We can add/del users, products, change page > layout/content, buy stuff and checkout calculates fine. Just can't click > orders or merchandising. > > interchange/error.log and interchange/catalogs/foundation/error.log show > nothing. Apache error_log shows the 500 with "Premature end of script > headers. > > It seems apparent (risky statement I know) that the 500 is the result of > Perl issuing an error msg. Is there a way to get IC to put this message to > the browser (like "fatalstoBrowser" does) or in a log somewhere? Hmmm...maybe you get more informations and hint, if you use # Set to 1 to send extra debugging info to file /tmp/icdebug # and get a dump of global and catalog data structures. Variable DEBUG 1 in your interchange.cfg file? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sun Nov 4 15:46:00 2001 Subject: [ic] Credit Card Info > I remember the days when IC didn't encrypt credit card info > at all - I am sure Credit Card process companies were dying > to use this as an excuse to stop peoples accounts back then !!?? I can't seem to recall those days, was it perchance during the 70's pot-smoking years? I don't think the problem is with Interchange, because the interface between IC and PGP/GPG is so simple and easy to setup (especially in 4.8) that you can't possiblely be referring to that. Rather, I think it is the setup of PGP/GPG itself and the client system, as well as making sure it is running in the right user environment and EUID for IC, etc. And for that, GPG has some really good documentation (even a howto for installing without root on a virtual host!). But most people can't be bothered with learning an additional piece of software, I guess. Therefore, I think the point is to go out and learn about GPG/PGP (ask their mailing list why there is no "encryption for dummies") and get that working, then come back here and ask, "how do I hook my working encryption up with IC?". That said, I wouldn't mind if someone were to take that plethora of GPG/PGP documentation (both server and client side) and create the "encryption for dummies" type installation howto. That would probably be a long document since there are so many different scenarios (different OS, different PGP/GPG versions, virtual hosts, different client PGP versions, different client email versions, etc., etc., et. al.). IMHO, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (interch) Date: Sun Nov 4 15:50:00 2001 Subject: [ic] IC setup in Multi permission mode - sort of off topic Ok this isn't particular to IC per say, but I didn't find a quick answer to this anywhere else, including all the support forums at Redhat. We started running IC under Redhat 7.2, and I almost immediately ran into hard coded limitations on the number of groups that a process can belong to. The default is 32, pretty low if you ask me but oh well... Ok so anyways I modified NGROUPS and NGROUPS_MAX in limits.h and param.h, recompiled, not it... Do I have to rebuild glibc also? What am I missing? Chris From: interchange-users at interchange.redhat.com (John Beima) Date: Sun Nov 4 15:53:59 2001 Subject: [ic] interchange crashing? G'Day Mike, Run the UI a fair bit... It always starts up... Especially if you are running the reports... John Quoting Mike Heins <mheins@redhat.com>: > Quoting Steffen Dettmer (steffen@dett.de): > > * Mike Heins wrote on Sat, Nov 03, 2001 at 08:04 -0500: > > [reduced to concurrency == 40] > > > > I had no 40 concurrent requests in the test environment. > > > > > If anyone has seen this problem with DBM-only or Postgres sites > > > (neither of which cache connections) then I would appreciate > > > hearing about it. I would really like to nail this problem. > > > > I use PortgreSQL. It may be possible that there are two issues, > > which may be completly independed. > > > > No, I think it is one. Now if I could only duplicate it myself. > > -- > 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 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 4 15:58:00 2001 Subject: [ic] Credit Card Info On Sun, Nov 04, 2001 at 12:14:19PM -0800, interch wrote: > > > On Sun, 4 Nov 2001, Robert Trembath wrote: > > > Work around for CC info > > Security and common sense issues aside, this is in direct violation of > Visa/Mastercard regulations, and if anyone reports you to them or your > acquiring bank, your merchant account very likely would be closed. > > You would really need to have rocks in your head to start sending card > numbers unencrypted via email, especially when there is no valid reason to > do so other than someone is too cheap to use an online payment gateway > that handles that for you. Quite in accord with the hysteria of the times, that is going too far. There are plenty of scenarios where this would be fine. Nor is "too cheap to use an online payment gateway" meaningful one way or the other. One needs to know the network architecture. What Mike and others pointed out was "if you have to ask, you're not ready". Anyone who thinks they are providing security simply because they use an online payment gateway or SSL or because they encrypt has rocks in their head. The solution is just not that simple. It may well be a violation of some credit card company policies. There are typically a LOT more to those policies, too much in fact, so that they are generally unenforced. Maybe they are used after the fact: "See you didn't do what you were supposed to." That is a shame. Of course, the NEXT Passport mishap will illustrate 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/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Sun Nov 4 16:01:49 2001 Subject: [ic] Flypage, multiple product tables, and [item-field] Steffen Dettmer wrote: > > * Todd L. Cawthron wrote on Mon, Oct 29, 2001 at 08:38 -0800: > > When I turned on the debugging features in Interchange, I > > noticed a lot of database error messages during flypage > > generation. > > Could you please tell me how to enable the debug features? > > oki, > > Steffen Have a look at # Set to 1 to send extra debugging info to file /tmp/icdebug # and get a dump of global and catalog data structures. Variable DEBUG 0 in your interchange.cfg file! How about grep debug * ???? You will get some informations like interchange.cfg:# Set to 1 to send extra debugging info to file /tmp/icdebug interchange.cfg:Message Sending debug to /tmp/icdebug. interchange.cfg:DebugFile /tmp/icdebug ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 4 16:05:40 2001 Subject: [ic] How do I handle a "checksum" like field? On Sun, Nov 04, 2001 at 01:18:37PM -0500, Jay Flaherty wrote: > Hello everyone; > I have added a field to the checkout page (CD key) that requires a checksum > run against it to check for a valid CD key and if it passes the checksum, > return an unlock code. I have successfully created a UserTag that does this > and returns the unlock code back to the user via the receipt.html page as > well as via email and finally adds it to the database once the credit card > is validated and charged. My problem is how to handle a CD key entered in > the CD key field that does not pass the checksum. I would like it to work > the same way an invalid credit card does not pass the CC checksum, i.e. > reload the checkout page with the error message "Invalid CD Key. Please try > again" prominently displayed in red above the CD key field. I have poured > over all the IC files and can't figure out how the checksum on the CC works. > Actually, I can't figure out exactly how the whole checkout process works > though I have sucessfully implemented it via PGP email and Authorizenet :-) > I would appreciate anyone who can point me in the right direction or give > me some example code. Do it in the profile for the checkout page. Return a different successpage depending on success or failure (or it sounds like you would prefer to loop back to checkout). Look up profiles, successpage, failpage in docs. > > Thanks for your time...jay > Jay Flaherty > Mediapulse, Inc. > fty@mediapulse.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (John Beima) Date: Sun Nov 4 16:09:50 2001 Subject: [ic] Credit Card Info Quoting Jim Balcom <jim@idk-enterprises.com>: > On Sat, 3 Nov 2001, Yahoo wrote: > > Perhaps you are a small shop like mine, in which case it's no problem. > Scotty and I process orders interchangeably, and so we both have full > access > to all of the computers, card #,s etc. All of the computers? Does that include EVERY machine on teh same subnet between your mail server and you??? TCP/IP packets don't just go from A to B... They travel through every network card on the network, so that machine can decide if it is for it or not... VERY easy to packet snif e-mail messages, with the right tools... Just because you have access, or even the only access, to point a and b doesn't mean 250 other people can't read the exact same piece of mail... > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Saturday, November 03, 2001 at 17:50 PM: > I tried being reasonable once. I didn't like it. > > ---------------------------------------------------------------- > This Linux System has been up 200 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 4 16:23:01 2001 Subject: [ic] Credit Card Info On Sun, Nov 04, 2001 at 08:20:18PM -0000, Garry wrote: > Why is it so hard to install PGP? - I have tried but with no success and I > can't understand the code needed. As a potential end user of IC, it seems > to me that there is an assumption that we all have to be real brainy > programmers or, to be able to understand the literature which, to me, might > as well be in an unfamiliar foreign language. > > I have seen several people on here almost beg for simple, step by step, > clear english instructions on how to encrypt credit card info. I have given > up asking because of the embarrassment factor involved. Replies like, > "people who can't, shouldn't" - is not appropriate, I am not using IC to > make money out of third party clients, I don't want to learn ITL, or Linux > or perl - but why should this exclude me from being able to use the > software? If my doctor can't he shouldn't, if the guy mowing my lawn can't (or cuts down too much of my garden) he shouldn't, if the bus driver can't, he shouldn't, if all the people driving the other way on the road can't, watch out!, etc.... If you were only handling your own data in a sandbox, that would be one thing; my 8 year old can drive my truck in the north woods but nowhere else. Look at all the people STILL infected with code red and nimda. How sad is it when we see something like secure.somebank.com trying to infect us with it? IC is **too easy** to set up (sorry Mike). If you don't know your OS, then should you be running a store on it? Please do not be embarrassed about getting someone else to help. > > I remember the days when IC didn't encrypt credit card info at all - I am > sure Credit Card process companies were dying to use this as an excuse to > stop peoples accounts back then !!?? > > Conclusion: Simple, step by step instructions, anyone can understand, to > install a program that IC now needs, to be able to function - ie.. pgp - > please? > > Gaz > > > > ----- Original Message ----- > From: "Dan Browning" <danpb@mail.com> > To: <interchange-users@interchange.redhat.com> > Sent: Sunday, November 04, 2001 7:48 PM > Subject: RE: [ic] Credit Card Info > > > > > Work around for CC info > > > ------------------------------ > > > > Analagy to your e-mail: > > > > Here is the gun. > > Here are the bullets. > > Aim at your foot. > > Fire when ready. > > > > (I just feel sorry for the customers -- people really do have good > > reason to be afraid to buy on the Internet). > > > > Dan Browning > > Kavod Technologies > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sun Nov 4 16:28:00 2001 Subject: [ic] Credit Card Info > > Quoting Jim Balcom <jim@idk-enterprises.com>: > > > On Sat, 3 Nov 2001, Yahoo wrote: > > > > Perhaps you are a small shop like mine, in which case it's > no problem. > > Scotty and I process orders interchangeably, and so we both > have full > > access to all of the computers, card #,s etc. > > All of the computers? Does that include EVERY machine on teh > same subnet between your mail server and you??? TCP/IP > packets don't just go from A to B... They travel through > every network card on the network, so that machine can decide > if it is for it or not... VERY easy to packet snif e-mail > messages, with the right tools... > > Just because you have access, or even the only access, to > point a and b doesn't mean 250 other people can't read the > exact same piece of mail... Alright, now we're cookin' with gas. Who's in the mood for a good ole' Sunday Flamewar? :-) (Why is it that ic-users tends to get the worst on Sundays? Remember the last big flamewar wrt the need for documentation? That was on a Sunday). I think you meant to refer to Ethernet, not TCP/IP. Ethernet has the "travels through every network card on the network" property. That is why Intel is trying to sell their eepro100S model of network card so much -- to encourage everyone to use IPSEC encryption on the transport layer because of their hardware encryption accelerator on the card. Of course, if you can do that then you can probably handle credit card encryption. And don't even get me started on TEMPEST. :-) Which illustrates the point that security is a lot more complete than encryption. (Which is also why ASPs sell security as a service, not a product, these days). I think the the moral of the story is that unencrypted e-mail is not a secure transport method. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (interch) Date: Sun Nov 4 16:32:01 2001 Subject: [ic] Credit Card Info > > Quite in accord with the hysteria of the times, that is going too far. > There are plenty of scenarios where this would be fine. Nor is > "too cheap to use an online payment gateway" meaningful one way > or the other. One needs to know the network architecture. What Mike > and others pointed out was "if you have to ask, you're not ready". > > Anyone who thinks they are providing security simply because they > use an online payment gateway or SSL or because they encrypt has rocks in > their head. The solution is just not that simple. > > It may well be a violation of some credit card company policies. There > are typically a LOT more to those policies, too much in fact, so that > they are generally unenforced. Maybe they are used after the fact: "See > you didn't do what you were supposed to." That is a shame. > > Of course, the NEXT Passport mishap will illustrate this. :-) > > cfm Actually the card associations are now requiring certain levels of security for anyone accepting online credit card payments. It is posted on their websites and they are starting to enforce it and not just use it after the fact like they have done so much in the past. I wasn't trying to imply that using encryption means you are secure. I only meant that specifically sending unencrypted cards via email was insane. In fact, at times encrypting stored data isn't even practical, which is why other layers of security are used instead. It would probably scare most people to know that the banks do not usually store cards encrypted.. But you are right it is the whole architecture that counts, too many people focus just on encryption, which is wrong headed. Chris > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content/site management, online commerce, internet integration, Debian linux > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sun Nov 4 16:36:00 2001 Subject: [ic] Credit Card Info > On Sun, Nov 04, 2001 at 08:20:18PM -0000, Garry wrote: > > Why is it so hard to install PGP? - I have tried but with > no success > > and I can't understand the code needed. As a potential end user of > > IC, it seems to me that there is an assumption that we all > have to be > > real brainy programmers or, to be able to understand the literature > > which, to me, might as well be in an unfamiliar foreign language. > > > > I have seen several people on here almost beg for simple, step by > > step, clear english instructions on how to encrypt credit > card info. I > > have given up asking because of the embarrassment factor involved. > > Replies like, "people who can't, shouldn't" - is not > appropriate, I am > > not using IC to make money out of third party clients, I > don't want to > > learn ITL, or Linux or perl - but why should this exclude me from > > being able to use the software? > > If my doctor can't he shouldn't, if the guy mowing my lawn > can't (or cuts down too much of my garden) he shouldn't, if > the bus driver can't, he shouldn't, if all the people driving > the other way on the road can't, > watch out!, etc.... If you were only handling your own data > in a sandbox, that would be one thing; my 8 year old can > drive my truck in the north woods but nowhere else. > > Look at all the people STILL infected with code red and > nimda. How sad is it when we see something like > secure.somebank.com trying to infect us with it? > > IC is **too easy** to set up (sorry Mike). If you don't know > your OS, then should you be running a store on it? Please do > not be embarrassed about > getting someone else to help. This reminds me of the binary modules debate on lkml. We should have a message coded somewhere that automatically e-mails VISA when someone disables the IC encryption requirement. That would be a hoot. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sun Nov 4 16:39:45 2001 Subject: [ic] interchange crashing? Quoting Steffen Dettmer (steffen@dett.de): > * Mike Heins wrote on Sat, Nov 03, 2001 at 08:04 -0500: > [reduced to concurrency == 40] > > I had no 40 concurrent requests in the test environment. > > > If anyone has seen this problem with DBM-only or Postgres sites > > (neither of which cache connections) then I would appreciate > > hearing about it. I would really like to nail this problem. > > I use PortgreSQL. It may be possible that there are two issues, > which may be completly independed. And is everyone checking their MySQL and Postgres error logs to make sure they aren't running out of connections and/or having other DB errors? -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at interchange.redhat.com (Thomas N. Stefanidis) Date: Sun Nov 4 16:59:00 2001 Subject: [ic] Can i use the matrix option with contruct demo? Hello, I still using 4.6.5. with the construct demo and installed 4.8.2. a few days ago. The main reason for installing 4.8.2 was the matrix option. Any ideas how can i do that? Do i have to export the old database in someway so it can be used with the new one? Thank you in advance. Thomas From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 4 17:04:11 2001 Subject: [ic] Credit Card Info On Sun, Nov 04, 2001 at 01:27:36PM -0800, Dan Browning wrote: > > > > Just because you have access, or even the only access, to > > point a and b doesn't mean 250 other people can't read the > > exact same piece of mail... > > Which illustrates the point that security is a lot more complete than > encryption. (Which is also why ASPs sell security as a service, not a > product, these days). I think the the moral of the story is that > unencrypted e-mail is not a secure transport method. Reminds me of a cookie: "Carnivore, only your ISP knows for sure" Watch out for the dark, swarthy packets with funny return addresses. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 5 10:19:01 2001 Subject: [ic] IC4.8.2-Trying to install ParseExcel Quoting DB (DB@M-and-D.com): > > Compilation failed in require at test.pl line 11. > > BEGIN failed--compilation aborted at test.pl line 11. > > make: *** [test_dynamic] Error 2 > > /usr/bin/make test -- NOT OK > > Running make install > > make test had returned bad status, won't install without force > > This is on RedHat 7.1. Any ideas? On RH Linux 7.1, you can install the Perl module RPMS from ftp.ic.redhat.com. Or you can ignore the error (it is probably OK) and do: perl -MCPAN -e 'force install Spreadsheet::ParseExcel' If a previous module (like IO::Stringy) failed to install, there will be a problem. I suggest the RPMs in that case -- in fact, it might be a good idea in general. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: interchange-users at interchange.redhat.com (Anton Vandeplas) Date: Mon Nov 5 10:27:20 2001 Subject: [ic] RE: Interchaneg & Credit Card Numbers... Hi John: Apparently you think that everybody is out to steal CC numbers. Won't it be easier to look around in restaurant, gas stations etc. to collect numbers than to try to hack into a server? And why do you think that my company is collecting CC numbers and not encrypt them? Will you be the hacker to try and find out? How somebody handles security over the Internet is for everybody himself like some people don't keep an eye on their wallets. When you order something on the Internet with a CC you never know what that person might do with your card :-) Anton -----Original Message----- From: John Beima [mailto:jbeima@palb.com] Sent: Sunday, November 04, 2001 2:31 PM To: BWP-BookCenter Subject: Interchaneg & Credit Card Numbers... G'Day Anton, I was reading your posts on the list about how you would like to be soo stupid and irresponsible with credit card handling... You do realize that ehen this e-mail goes out 1000s if not more can read it... YOU are responsibile for proecting card numbers that come to you... This also means there was NO poiont to using SSL to get the information from your clients in the first place, since you send it out plain text later. If you clients knew this they would NEVER buy anything from you... Maybe ou should let them decide with a disclaimer on your order page like "We know we are using SSL to make you feel secure and to give us your credit card number, but after that, we store it in about 8 places in plain old text... We then send it though plain old e-mail where anyone can packet sniff it, and it gets sent to every machine on our ISP's network while it is in route to ours..." What do you think they would say? I bet you cc company would yank your ability to take cc's if they knew you were doing this. If your ISP won't allow you to run PGP then it is YOUR responsibility to find a real ISP that does thing right... John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 10:30:27 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001 cfm@maine.com wrote: >>watch out!, etc.... If you were only handling your own data in a sandbox, >>that would be one thing; my 8 year old can drive my truck in the north >>woods but nowhere else. Coming from 'maine.com' and saying the 'north woods' certainly introducing a new meaning to the word 'north'! :-) >>Look at all the people STILL infected with code red and nimda. How sad is >>it when we see something like secure.somebank.com trying to infect us with >>it? I'm still being flooded. I've had to install filters in my logs so that Analog ignores them. It's almost a Denial OF Service! I'm told that my ISP can block them, but that it will slow down my connect speed. I guess that I can only tolerate the attacks as further proof of Bill Gates stupid mentality! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 20:15 PM: A mind is a terrible thing to taste. ---------------------------------------------------------------- This Linux System has been up 226 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 10:33:30 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001, Dan Browning wrote: DB>>Alright, now we're cookin' with gas. Who's in the mood for a good ole' DB>>Sunday Flamewar? :-) (Why is it that ic-users tends to get the worst DB>>on Sundays? Remember the last big flamewar wrt the need for DB>>documentation? That was on a Sunday). Perhaps because we equate the management with a 5 day work week. It's the weekend and 'Daddy' has gone home for the weekend. But, 'Daddy dropped in today and surprised us, and caught us being 'bad boys' (and girls) :-) DB>>encryption. And don't even get me started on TEMPEST. :-) TEMPEST, as well as the various listening/monitoring devices are not cost-productive. It's far easier and cheaper to just find someone that you can grab by the balls and get him/her to tell you all of the secrets that you want - Aldrich Ames as an example. Security is an interestin field of 'science'. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 20:25 PM: There is an exception to every rule, except this one. ---------------------------------------------------------------- This Linux System has been up 226 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 10:37:20 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001, John Beima wrote: JB>>> Scotty and I process orders interchangeably, and so we both have full JB>>> access JB>>> to all of the computers, card #,s etc. JB>> JB>>All of the computers? Does that include EVERY machine on teh same subnet between JB>>your mail server and you??? TCP/IP packets don't just go from A to B... They JB>>travel through every network card on the network, so that machine can decide if JB>>it is for it or not... VERY easy to packet snif e-mail messages, with the right JB>>tools... JB>> JB>>Just because you have access, or even the only access, to point a and b doesn't JB>>mean 250 other people can't read the exact same piece of mail... We are talking about 3 Linux machines on the LAN in one room behind alarms and high security locks and 2 Win98 machines in the adjacent room, also behind high security locks and alarms. That is ALL of the machines on the Class C License. A visitor to the store comes in on server 4, views the Interchange stuff, places an order through the Secure Server on Server 4 (128-bit security). A canned response is sent to the customer from the mail server on Server 4. Every 10 minutes, Outlook Express on the POS machine in the next room running under Windows 98 polls Server 4 for the mail and removes it from the server. Only orders are handled on this mail server. E-mail relating to the store operations are handled on a different server. The last that I knew, it wasn't possible to hack into a Windows 98 machine (although I understand that there is a patch available to make them into a server. That boggles my mind. Why use a Windoze machine as a server when Linux works so much better!) Possibly there is a leak somewhere, but I can't see it. The only people with keys to the server room is Scotty and myself. Not the janitor, not the landlord. The keys to the room where we have the POS terminal is on the ASSA Master Key System. The janitor, and the landlord. Those keys can not be duplicated without my permission. At this time, I am comfortable that I have adequate security for charge card numbers in place. I could be wrong. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 20:00 PM: [Please insert a quarter in Drive A: for the next tagline.] ---------------------------------------------------------------- This Linux System has been up 226 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 10:40:20 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001, Dan Browning wrote: DB>>(I just feel sorry for the customers -- people really do have good DB>>reason to be afraid to buy on the Internet). I already have quite a few customers that won't put their card nfo into the form and will either call it in to me or fax it in to me. If only a lot more of them knew about this thread I wouldn't have ANY customers! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 19:45 PM: Useless Invention: Hand-powered chainsaw. ---------------------------------------------------------------- This Linux System has been up 226 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 10:43:28 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001, Mike Heins wrote: MH>>Please don't encourage people to be sloppy and lazy with other people's MH>>resources. Certainly the recent Passport thing should give warning. Egghead lost their whole credit card base about a year ago. I understand that a bank also lost theirs about the same time. Somehow, one would think that MS should have enough intelligence to at least have good security, but that's apparently too much for 'God'. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 19:50 PM: <CTRL>-<ALT>-<DEL> is the key to success ---------------------------------------------------------------- This Linux System has been up 226 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 10:46:27 2001 Subject: [ic] Credit Card Info On Sun, 4 Nov 2001, John Beima wrote: JB>>What do you think they would say? I bet you cc company would yank your ability JB>>to take cc's if they knew you were doing this. American Express 'spam'd' all of it's merchants about a month ago (as I recall) and they were explicit. If I am going to accept 'The Card' in e-commerce that card number has to be removed from the server within 15 minutes. They also require secure connections for all phases of card number transmissions. (They made several other demands also.) They left no doubt in my mind that if an American Express Cardholders card number gets compromised while they are doing e-commerce business with me that my ass is going to be swinging from the nearest tree. Personally, I figure that if a person is too stupid to figure out how to work around the safeguards that Mike has put in, then they are too stupid to be able to properly protect the data that they are trying to compromise. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 19:35 PM: A few cans short of a six pack, Six short. ---------------------------------------------------------------- This Linux System has been up 225 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (admin) Date: Mon Nov 5 10:52:03 2001 Subject: [ic] Form based Search with a textfile don't work! Hello, I've this Tags : <FORM ACTION="[area search]"> <INPUT TYPE="hidden" NAME="mv_search_file" VALUE="products.txt"> <INPUT TYPE="hidden" NAME="mv_search_field" VALUE="sku,description,title,price"> <INPUT TYPE="hidden" NAME="mv_coordinate" VALUE="0"> <INPUT TYPE="hidden" NAME="mv_searchtype" VALUE="text"> <INPUT TYPE="hidden" NAME="mv_matchlimit" VALUE="10"> <INPUT TYPE="hidden" NAME="mv_sort_field" VALUE="category"> <INPUT TYPE="hidden" NAME="mv_exact_match" VALUE="0"> <INPUT TYPE="hidden" NAME="mv_substring_match" VALUE="1"> <INPUT TYPE="hidden" NAME="mv_column_op" VALUE="ne"> <INPUT TYPE="hidden" NAME="mv_column_op" VALUE="rm"> <INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="1"> <INPUT TYPE="hidden" NAME="mv_dict_look" VALUE="1"> and a text file with 11214 products. Sometimes the search function works well, but when I add some new products it do not work. I checked the products file, no errors! I restarted the server, no result! What can I do? btw I've placed the search form in the regions/LEFTONLY_TOP file. Is there another file where I can place it? Regards Erik Kendel From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Mon Nov 5 10:59:01 2001 Subject: [IC] Internal server error... Thanks for the reply, Joachim. interchange.cfg has "Variable DEBUG 1" I also uncommented the "::logDebug" statements in interchange. The /tmp/icdebug file shows the activity and it looks OK (AFAIK). The last entry in each case is: main::debug: arg is mail::debug: paht=admin/order ...but still 500 error. Also, 5 minutes after the failure, the interchange error.log shows "Spurious PID file for process xxxxx supposedly running 301 seconds". I suppose this is whatever task was forked and died being killed for running too long? Are there other programs where logging should be uncommented? Or everywhere? Or is there a way to enable some logging in the task that's being left behind? Thanks! Glenn. ----- Original Message ----- From: Joachim Leidinger <jojo@blackpoint.de> To: <interchange-users@interchange.redhat.com> Sent: Sunday, November 04, 2001 12:38 PM Subject: Re: [IC] Internal server error... > Glenn McCalley wrote: > > > > OK it's been a week and I still can't find it. Staring at it too much > > maybe... > > > > IC 4.8.2 > > Perl 5.6.1 > > FreeBSD 4.0 > > Foundation -- stock install. > > > > The "orders" and "merchandising" sections of the administrative UI (and only > > these major sections) return "Internal Server Error" -- each time every > > time. A perl.core is produced in catalogs/foundation/perl.core. Also, with > > the "items" table displaying, clicking either yes/no in the "promo" column > > produced Internal server error. > > > > All other functions work great. We can add/del users, products, change page > > layout/content, buy stuff and checkout calculates fine. Just can't click > > orders or merchandising. > > > > interchange/error.log and interchange/catalogs/foundation/error.log show > > nothing. Apache error_log shows the 500 with "Premature end of script > > headers. > > > > It seems apparent (risky statement I know) that the 500 is the result of > > Perl issuing an error msg. Is there a way to get IC to put this message to > > the browser (like "fatalstoBrowser" does) or in a log somewhere? > > Hmmm...maybe you get more informations and hint, if you use > > # Set to 1 to send extra debugging info to file /tmp/icdebug > # and get a dump of global and catalog data structures. > Variable DEBUG 1 > > in your interchange.cfg file? > > Joachim > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jerry) Date: Mon Nov 5 11:07:00 2001 Subject: [ic] Mixed Shipping Problem Anyone have a setup for UPS shipping by weight however FREE shipping over a certain dollar amount? We'd like to have free shipping in 4.7 IC when the order subtotal exceeds $200.00 and otherwise use the UPS lookup and charge by weight? It thought the setup below would work. It allows the free shipping if over $200, but for orders under that amount, it tries to continues to use the subtotal amount instead calculating on the shipping weight. So an order with a subtotal amount $182, it reports taht 182 POUNDS is too heavy for UPS. It's like it only looks at the third column of shipping.asc for the first row and ignores it after that. If I remeove the first line of upsg, it calcs on weight just fine. What am I missing here? upsg UPS Ground [subtotal noformat=1] 200 9999999 0 upsg UPS Ground weight 0 0 e Nothing to ship! upsg UPS Ground weight 0 150 u Ground [value name=zip filter=digits default=08360] 3.00 upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS Jerry Uphoff jerry@digitalfm.com From: interchange-users at interchange.redhat.com (Andreas, Scott) Date: Mon Nov 5 11:21:01 2001 Subject: [ic] searchable mail archive? look at the very botton of search via year and at the bottom is an iput box to search the archive -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Glenn McCalley Sent: Saturday, November 03, 2001 5:32 PM To: interchange-users@interchange.redhat.com Subject: [ic] searchable mail archive? Hello all, I hate to take everyone's time, but is there a searchable mail archive of this list? All I can find on the RedHat site is a monthly "by thread"... TIA, Glenn. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 5 11:25:00 2001 Subject: [ic] enable "on-fly" for the catalog? Im working on doing some "onfly" ordering capabilities in admin section and appreciate everybody's help so far. Only thing Im trying now is how, specifically, do you "enable" OnFly for your catalog. Thats all the docs say but its not working. Anybody know? Thanks! Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Nov 5 11:46:00 2001 Subject: [ic] Turn off inventory? I am wondering if there is a way to turn off all inventory features. I have set the DECREMENT_INVENTORY to 0. But I do not want to have to add inventory every time I add an item. I do not want in stock or out of stock to appear on the customer pages. Have not found anything in the docs or mailing list. Is there a variable to turn this feature off? I am running interchange 4.8.2(rpm) on redhat 7.1. Thanks you for your time, Rick Eicher II www.pbol.net From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Nov 5 11:54:00 2001 Subject: [ic] (no subject) At 03:12 PM 11/02/2001 -0800, you wrote: >I've been trying many different ways to use the date widget as a range >search on a specific column. >So far I have this which spits out no results > ><TD><B>Beginning<BR> > <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> > <INPUT TYPE=hidden NAME="mv_column_op" VALUE=">="> > <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> > [widget type=date]</TD> ><TD><B>Ending</B><BR> > <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> > <INPUT TYPE=hidden NAME="mv_column_op" VALUE="<="> > <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> > [widget type=date]</TD> > > > >I'v also tried it with the widget name =ui_begin_date and u_end_date >respectively > > >I believe my problem is the date widget isn't equal to "se" but how do I get >the date widget to equal the searchspec > Basically, what you need is this: <TD><B>Beginning<BR> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> <INPUT TYPE=hidden NAME="mv_column_op" VALUE=">="> <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> <input type=hidden name=mv_searchspec value="YYYYMMDD"> [widget type=date]</TD> <TD><B>Ending</B><BR> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="created"> <INPUT TYPE=hidden NAME="mv_column_op" VALUE="<="> <INPUT TYPE=hidden NAME="mv_numeric" VALUE="1"> <input type=hidden name=mv_searchspec value="YYYYMMDD"> [widget type=date]</TD> YYYYMMDD(HHMM) is the way date stamps are stored in the table in most cases - you can export a the table and look at the date field contents to confirm this. The date widget builds three select wigets (Month, Day and Year) to collect input, which are then juggled into the proper order for a record write. You need to do the same thing, pre-search. I'm not aware of any existing whiz-bang tool for this; I would probably collect all the search values in a regular form, then organize them and submit the search as a separate step, but that is just my preference. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Nov 5 11:57:59 2001 Subject: [ic] Shipping Question - Referencing Rate and Zone Files? At 03:19 PM 11/02/2001 -0800, you wrote: >Hello everyone, > >I believe I have everything for shipping set up correctly now. The only >thing I need is to create a table. I've looked over the Interchange >documentation, but I'm still confused. How does one take information stored >.csv file and create a table (extension .gdbm)? With a Database directive - take a look at Ground.dbm in catalogs/your_cat/dbconf/default_db for an example. >On another note, correcting the shipping has brought about a problem with >the shopping cart. It's now going empty during the checkout process. Any >idea what might cause this? The problem occurred after I created the new >shipping methods, and edited the country table. > >Also, I've got a funky thing happening. One of my shipping methods is >duplicated in the shipping drop-down box. However, the duplicate shipping >method doesn't exist as far as I can see. Any idea where this duplication >might be coming from? > >Thank you, > >Lori > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (System Administrator) Date: Mon Nov 5 12:01:13 2001 Subject: [ic] Credit Card Info This is a multi-part message in MIME format. ----------1004979363 Content-Type: text/plain Content-Transfer-Encoding: 7bit Jim Balcom <jim@idk-enterprises.com> wrote .. > On Sun, 4 Nov 2001 cfm@maine.com wrote: > > >>watch out!, etc.... If you were only handling your own data in a sandbox, > >>that would be one thing; my 8 year old can drive my truck in the north > >>woods but nowhere else. > > Coming from 'maine.com' and saying the 'north woods' certainly introducing > a > new meaning to the word 'north'! :-) > > >>Look at all the people STILL infected with code red and nimda. How sad > is > >>it when we see something like secure.somebank.com trying to infect us > with > >>it? > > I'm still being flooded. I've had to install filters in my logs so that > Analog ignores them. It's almost a Denial OF Service! > > I'm told that my ISP can block them, but that it will slow down my connect > speed. > > I guess that I can only tolerate the attacks as further proof of Bill Gates > stupid mentality! > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Sunday, November 04, 2001 at 20:15 PM: > A mind is a terrible thing to taste. > > ---------------------------------------------------------------- > This Linux System has been up 226 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > I'm still being flooded. I've had to install filters in my logs so that > Analog ignores them. It's almost a Denial OF Service! Just place the following in a .htaccess file in your HTML dir and watch the logs clear up and re-gain your bandwidth from custom 404's due to Nimda... redirect /scripts http://www.stoptheviruscold.invalid redirect /MSADC http://www.stoptheviruscold.invalid redirect /c http://www.stoptheviruscold.invalid redirect /d http://www.stoptheviruscold.invalid redirect /_mem_bin http://stoptheviruscold.invalid redirect /msadc http://stoptheviruscold.invalid RedirectMatch (.*)\cmd.exe$ http://stoptheviruscold.invalid$1 I regained a couple if GB of bandwidth with the above, and also, do not have to worry about false access logs..... Hope it helps ~RS ----------1004979363-- From: interchange-users at interchange.redhat.com (Todd L. Cawthron) Date: Mon Nov 5 12:05:01 2001 Subject: [ic] Flypage, multiple product tables, and [item-field] Steffen Dettmer wrote: >Could you please tell me how to enable the debug features? There are a couple of things you need to do. First you need to set a couple of directives in interchange.cfg. Then, you will need to uncomment some lines in various perl modules in (ic directory)/lib/Vend. In interchange.cfg, un-comment (or add it if it's not in your cfg file): Variable DEBUG 1 This will activate a section of interchange.cfg that's further down in the file that controls the specifics of what debug output is generated. That section begins with "ifdef @DEBUG". The DebugFile directive is set to name of the output file that will be created with the debug info. If you are using DBI and want to log the DBI calls, then un-comment the directive DataTrace 1. This will produce a LOT of output, so you only want to activate it if you think you're problem is remotely related to DBI. Once you have made these changes in interchange.cfg, you need to modify some perl modules. The cfg file only makes it possible for debug features to work, it doesn't really turn most of them on. For that, go to (ic directory)/lib/Vend. Make sure you have a backup copy of everything you're about to modify, just in case you make a mistake. Then, un-comment all of the lines that call ::logDebug. If you are using vi, this will do the trick: :%s/#::logDebug/::logDebug/ Well, it will almost do the trick. In some modules, there are other lines that have been commented out that must be un-commented for certain ::logDebug calls to function. You'll find out which lines these are after you restart interchange. It will provide a few error messages that can help you hunt down the other lines... Todd L. Cawthron todd@lunsfordgroup.com From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 5 12:17:27 2001 Subject: [ic] Turn off inventory? This is probably not the best way, but certainly the easiest......... I didnt want inventory either, and I just went into the pages and took out the code for "if in stock..." and "if out of stock....." All you really have to do, is take out the words that display, and no one will ever know. Thats what I have done and I dont have any values for inventory in the tables. Hope that helps Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: Monday, November 05, 2001 11:54 AM To: interchange Subject: [ic] Turn off inventory? I am wondering if there is a way to turn off all inventory features. I have set the DECREMENT_INVENTORY to 0. But I do not want to have to add inventory every time I add an item. I do not want in stock or out of stock to appear on the customer pages. Have not found anything in the docs or mailing list. Is there a variable to turn this feature off? I am running interchange 4.8.2(rpm) on redhat 7.1. Thanks you for your time, Rick Eicher II www.pbol.net _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 5 12:21:02 2001 Subject: [IC] Internal server error... Glenn McCalley wrote: > > Thanks for the reply, Joachim. > > interchange.cfg has "Variable DEBUG 1" > > I also uncommented the "::logDebug" statements in interchange. The > /tmp/icdebug file shows the activity and it looks OK (AFAIK). The last > entry in each case is: > main::debug: arg is > mail::debug: paht=admin/order > > ...but still 500 error. Also, 5 minutes after the failure, the interchange > error.log shows "Spurious PID file for process xxxxx supposedly running 301 > seconds". I suppose this is whatever task was forked and died being killed > for running too long? What happen, if you increase the "PIDcheck 300" to 999 or more? (see interchange.cfg) Hmmm...very strange! > Are there other programs where logging should be uncommented? Or > everywhere? Or is there a way to enable some logging in the task that's > being left behind? I've no idea! Sorry! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 5 12:24:05 2001 Subject: [IC] Internal server error... On Mon, Nov 05, 2001 at 10:39:57AM -0800, Glenn McCalley wrote: > Thanks for the reply, Joachim. > > interchange.cfg has "Variable DEBUG 1" > > I also uncommented the "::logDebug" statements in interchange. The > /tmp/icdebug file shows the activity and it looks OK (AFAIK). The last > entry in each case is: > main::debug: arg is > mail::debug: paht=admin/order > > ...but still 500 error. Also, 5 minutes after the failure, the interchange > error.log shows "Spurious PID file for process xxxxx supposedly running 301 > seconds". I suppose this is whatever task was forked and died being killed > for running too long? HouseKeeping 300 is 5 minutes. It is cleaning up the pid for the failed process. Just what it says. It is not an error. > Are there other programs where logging should be uncommented? Or > everywhere? Or is there a way to enable some logging in the task that's > being left behind? hmmm, a debugger that only works when there is an error. :-) Maybe Mike can add that to the wish list? No, you need to add logging or hack out code until you find the failure. > > Thanks! > Glenn. > > > > ----- Original Message ----- > From: Joachim Leidinger <jojo@blackpoint.de> > To: <interchange-users@interchange.redhat.com> > Sent: Sunday, November 04, 2001 12:38 PM > Subject: Re: [IC] Internal server error... > > > > Glenn McCalley wrote: > > > > > > OK it's been a week and I still can't find it. Staring at it too much > > > maybe... > > > > > > IC 4.8.2 > > > Perl 5.6.1 > > > FreeBSD 4.0 > > > Foundation -- stock install. > > > > > > The "orders" and "merchandising" sections of the administrative UI (and > only > > > these major sections) return "Internal Server Error" -- each time every > > > time. A perl.core is produced in catalogs/foundation/perl.core. Also, > with > > > the "items" table displaying, clicking either yes/no in the "promo" > column > > > produced Internal server error. > > > > > > All other functions work great. We can add/del users, products, change > page > > > layout/content, buy stuff and checkout calculates fine. Just can't > click > > > orders or merchandising. > > > > > > interchange/error.log and interchange/catalogs/foundation/error.log show > > > nothing. Apache error_log shows the 500 with "Premature end of script > > > headers. > > > > > > It seems apparent (risky statement I know) that the 500 is the result of > > > Perl issuing an error msg. Is there a way to get IC to put this message > to > > > the browser (like "fatalstoBrowser" does) or in a log somewhere? > > > > Hmmm...maybe you get more informations and hint, if you use > > > > # Set to 1 to send extra debugging info to file /tmp/icdebug > > # and get a dump of global and catalog data structures. > > Variable DEBUG 1 > > > > in your interchange.cfg file? > > > > Joachim > > > > -- > > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > > [Hans-Joachim.leidinger@bpanet.de] > > Black Point Arts Internet Solutions GmbH > > http://www.bpanet.de > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Korksoft Support) Date: Mon Nov 5 12:28:01 2001 Subject: [ic] SubCatalog Question... We're using Interchange 4.8.2, RH 7.2 Linux box. We have defined the Subcatalog in the interchange.cfg, created a symbolic link in the subcatalogs etc directory that points to the primary catalogs products directory. When accessing the subcatalog we receive the following errors: 63.167.204.253 - - [03/November/2001:17:26:13 -0500] demo-t /cgi-bin/demo-t/index.html Runtime error: do not know how to copy Safe=HASH(0x9174184) at /home/interchange/4.8.2/lib/Vend/Util.pm line 726. Any ideas? Thanks! Jason. -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Mon Nov 5 12:32:01 2001 Subject: [ic] Turn off inventory? Thanks that is what I have do too. Rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of FixtureFactor.com Sent: Monday, November 05, 2001 11:04 AM To: Interchange-Users Subject: RE: [ic] Turn off inventory? This is probably not the best way, but certainly the easiest......... I didnt want inventory either, and I just went into the pages and took out the code for "if in stock..." and "if out of stock....." All you really have to do, is take out the words that display, and no one will ever know. Thats what I have done and I dont have any values for inventory in the tables. Hope that helps Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: Monday, November 05, 2001 11:54 AM To: interchange Subject: [ic] Turn off inventory? I am wondering if there is a way to turn off all inventory features. I have set the DECREMENT_INVENTORY to 0. But I do not want to have to add inventory every time I add an item. I do not want in stock or out of stock to appear on the customer pages. Have not found anything in the docs or mailing list. Is there a variable to turn this feature off? I am running interchange 4.8.2(rpm) on redhat 7.1. Thanks you for your time, Rick Eicher II www.pbol.net _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Mon Nov 5 12:35:05 2001 Subject: [ic] Credit Card Info Jim, I appreciate your comments and I'm just as concerned about security as the next guy, everything we do with IC is behind our firewall including the client picking up the mail, the same firewall. Not every application requires encryption. I hear you, it can't hurt to use it, but some applications simply don't require its use. I as a consultant and a developer have little time to devote to being forced to use something I don't need for a given application.(That's MS's game). And not all of us are extremely talented Linux admin.'s. I've been using Linux a few years now in a production environment and like it, but I still have a lot to learn. That doesn't make me stupid or anyone else here for that manner. That's why I use this list. That's why I use Both MS and Linux as well as many Open Source Applications and program solely in PHP, MySQL and IC. I wrote this list several time about quite a few issues with no answers from anyone. I finally had to email someone off-list who I judged to be knowledgeable by reading his input to others and he pointed me in the right direction. Some people on this list knew how to work around this issue and simply didn't post a solution( including those at RH most familiar with IC.) This feature was not forced in any previous releases prior to 4.7 - 4.8. Something that could've been resolved in ten minutes took days because no one stepped forward to present the solution or a direction to a solution. That cost me time and money. IC represents less than 10% of my income as a consultant and when I have to dig this hard to get a simple answer its nothing but discouraging. By the way, thank you Randy, for stepping up when others at RH wouldn't. If I can ever return the favor, just ask. Why flame developers for choosing not to use encryption where its not needed. Warning them is wise and good. Calling them stupid is wrong. You use IC your way and we'll use it ours. That's called open source. Thanks for your advice and experience. I know you contribute a lot here. Let's not resort to using this list in a way that belittles or discourages people. That takes away from RH and IC. Just my two cents. -------------------------- Robert Trembath Internet Technology Manager e|robert@ishoptech.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Jim Balcom Sent: Sunday, November 04, 2001 6:46 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info On Sun, 4 Nov 2001, John Beima wrote: JB>>What do you think they would say? I bet you cc company would yank JB>>your ability to take cc's if they knew you were doing this. American Express 'spam'd' all of it's merchants about a month ago (as I recall) and they were explicit. If I am going to accept 'The Card' in e-commerce that card number has to be removed from the server within 15 minutes. They also require secure connections for all phases of card number transmissions. (They made several other demands also.) They left no doubt in my mind that if an American Express Cardholders card number gets compromised while they are doing e-commerce business with me that my ass is going to be swinging from the nearest tree. Personally, I figure that if a person is too stupid to figure out how to work around the safeguards that Mike has put in, then they are too stupid to be able to properly protect the data that they are trying to compromise. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 04, 2001 at 19:35 PM: A few cans short of a six pack, Six short. ---------------------------------------------------------------- This Linux System has been up 225 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Nov 5 12:39:00 2001 Subject: [ic] Turn off inventory? "I didnt want inventory either, and I just went into the pages and took out the code for "if in stock..." and "if out of stock....." All you really have to do, is take out the words that display, and no one will ever know. Thats what I have done and I dont have any values for inventory in the tables." An alternate approach that I took to solve the same problem..... I changed this so that it actually references the field in the inventory table if the item is not in stock so that you can reflect average lead times. I replaced "Out of Stock" with [item-data inventory stock_message] This way I can have products that ship in 24 hours, 1-2 days, 2-3 weeks, special order etc. It works well for our specific application. We hold only some inventory, not that much. This does require that you use the admin inventory feature and set the value there, although you could probably set a default value if you would like. If you do not select anything, it will not show either in stock, or out of stock. Either way works, I just wanted to reflect lead times. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com I didnt want inventory either, and I just went into the pages and took out the code for "if in stock..." and "if out of stock....." All you really have to do, is take out the words that display, and no one will ever know. Thats what I have done and I dont have any values for inventory in the tables. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 5 13:00:01 2001 Subject: [ic] Credit Card Info > I wrote this list several time about quite a few issues with > no answers from anyone. I finally had to email someone > off-list who I judged to be knowledgeable by reading his > input to others and he pointed me in the right direction. > Some people on this list knew how to work around this issue > and simply didn't post a solution( including those at RH most > familiar with IC.) This feature was not forced in any > previous releases prior to 4.7 - 4.8. > > Something that could've been resolved in ten minutes took > days because no one stepped forward to present the solution > or a direction to a solution. That cost me time and money. IC > represents less than 10% of my income as a consultant and > when I have to dig this hard to get a simple answer its > nothing but discouraging. By the way, thank you Randy, for > stepping up when others at RH wouldn't. If I can ever return > the favor, just ask. > > Why flame developers for choosing not to use encryption where > its not needed. Warning them is wise and good. Calling them > stupid is wrong. You use IC your way and we'll use it ours. > That's called open source. Thanks for your advice and > experience. I know you contribute a lot here. Let's not > resort to using this list in a way that belittles or > discourages people. That takes away from RH and IC. > > Just my two cents. > > -------------------------- > Robert Trembath It really gets my goat when people get disappointed (or angry) that they didn't get their question answered on the list. I would understand if they were ranting that after paying a hefty license fee you weren't getting any support, but last time I checked, interchange-users wasn't for paid support. Here is how I often explain it: Commercial software = pay for the license, get free support (sometimes not even that) Open Source software = pay nothing for the license, pay for the support (but sometimes you get free support on the list) But the funny part is that no matter how disappointed they get, it wont make anyone any more likely to offer more free consulting/help on the list. I know you must already understand that Robert, so why are you ranting? Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Nov 5 13:42:00 2001 Subject: [ic] setting up - On the fly At 05:53 PM 11/03/2001 -0500, you wrote: >Hi all, > >Im still working through my changing of the "entry.html" page so that I can >add items on the fly in the admin section. I think im getting it, but i >dont know how to configure the catalog to use "OnFly". Anybody know how to >do this? >Thanks for your help! Just add this line to your catalog.cfg and reconfig (click 'Apply Changes' in the UI): OnFly onfly - Ed L. >Sincerely, >Aaron Hazelton >FixtureFactor.com V.P. >828.631.3477 > >We welcome your feedback! Please take 2 minutes and click here: >http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Nov 5 13:49:01 2001 Subject: [ic] Credit Card Info At 11:28 AM 11/05/2001 -0600, Robert Trembath wrote: >[snip] > >Something that could've been resolved in ten minutes took days because >no one stepped forward to present the solution or a direction to a >solution. That cost me time and money. IC represents less than 10% of my >income as a consultant and when I have to dig this hard to get a simple >answer its nothing but discouraging. I loathe frustrating problems which consume time as much as the next person - but this is entirely the wrong attitude. If you want to be entitled to answers, get on a VAR program with some other system that offers one, and pay your fees and dues. The Red Hat Interchange unit also has consulting and support options to offer you, without requiring you to pay for the software - the best of both worlds, in my opinion. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Mon Nov 5 14:17:00 2001 Subject: [IC] Internal server error... ----- Original Message ----- From: <cfm@maine.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, November 05, 2001 9:20 AM Subject: Re: [IC] Internal server error... -------s n i p ----------------------- > > > Are there other programs where logging should be uncommented? Or > > everywhere? Or is there a way to enable some logging in the task that's > > being left behind? > > hmmm, a debugger that only works when there is an error. :-) Maybe Mike > can add that to the wish list? Would be nice... :-)) Though I didn't mean that. I expect that the orders and merchandising functions have specific sections in the code and was wondering if there was another debug switch somewhere or whether you have to find all the ::logDebug's and turn 'em on Thanks! Glenn.. > > ----- Original Message ----- > > From: Joachim Leidinger <jojo@blackpoint.de> > > To: <interchange-users@interchange.redhat.com> > > Sent: Sunday, November 04, 2001 12:38 PM > > Subject: Re: [IC] Internal server error... > > > > > > > Glenn McCalley wrote: > > > > > > > > OK it's been a week and I still can't find it. Staring at it too much > > > > maybe... > > > > > > > > IC 4.8.2 > > > > Perl 5.6.1 > > > > FreeBSD 4.0 > > > > Foundation -- stock install. > > > > > > > > The "orders" and "merchandising" sections of the administrative UI (and > > only > > > > these major sections) return "Internal Server Error" -- each time every > > > > time. A perl.core is produced in catalogs/foundation/perl.core. Also, > > with > > > > the "items" table displaying, clicking either yes/no in the "promo" > > column > > > > produced Internal server error. > > > > > > > > All other functions work great. We can add/del users, products, change > > page > > > > layout/content, buy stuff and checkout calculates fine. Just can't > > click > > > > orders or merchandising. > > > > > > > > interchange/error.log and interchange/catalogs/foundation/error.log show > > > > nothing. Apache error_log shows the 500 with "Premature end of script > > > > headers. > > > > > > > > It seems apparent (risky statement I know) that the 500 is the result of > > > > Perl issuing an error msg. Is there a way to get IC to put this message > > to > > > > the browser (like "fatalstoBrowser" does) or in a log somewhere? > > > > > > Hmmm...maybe you get more informations and hint, if you use > > > > > > # Set to 1 to send extra debugging info to file /tmp/icdebug > > > # and get a dump of global and catalog data structures. > > > Variable DEBUG 1 > > > > > > in your interchange.cfg file? > > > > > > Joachim > > > > > > -- > > > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > > > [Hans-Joachim.leidinger@bpanet.de] > > > Black Point Arts Internet Solutions GmbH > > > http://www.bpanet.de > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content/site management, online commerce, internet integration, Debian linux > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Nov 5 14:21:00 2001 Subject: [ic] How to ask questions the smart way :-) There has always been some concern over the way to ask questions to the list: http://tuxedo.org/~esr/faqs/smart-questions.html -- Fred Pope Satcom Resources fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 5 14:32:00 2001 Subject: [ic] How to ask questions the smart way :-) > There has always been some concern over the way to ask > questions to the > list: > http://tuxedo.org/~esr/faqs/smart-questions.html I think this should go in the periodic Interchange-users Guidelines posting. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (System Administrator) Date: Mon Nov 5 14:36:01 2001 Subject: [ic] How to ask questions the smart way :-) This is a multi-part message in MIME format. ----------1004988848 Content-Type: text/plain Content-Transfer-Encoding: 7bit Come on.... Why can we not just ask: "it dont werk good, plez fix it fir us" "Fred Pope" <fred@satcomresources.com> wrote .. > There has always been some concern over the way to ask questions to the > list: > > http://tuxedo.org/~esr/faqs/smart-questions.html > > -- > Fred Pope > Satcom Resources > fred@satcomresources.com > http://www.satcomresources.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ----------1004988848-- From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Mon Nov 5 14:40:01 2001 Subject: [ic] Images/Icons-Newbie This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C16631.4312A2D0 Content-Type: text/plain; charset="iso-8859-1" Hello, I seem to have got the website to function using admin or customer interface. However, still having trouble with images not showing. Can someone send me what a general catalog.config should look like? One of my catalogs fails to build because of the Mailto option not being set, even after I set it. Anyway.. want to use this beyond test site but having issues. Thanks, Matt ------_=_NextPart_000_01C16631.4312A2D0 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C16631.4312A2D0-- From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Mon Nov 5 14:53:00 2001 Subject: [ic] Need hired guns for our IC project Michael Bevan <mkbevan@yahoo.com> writes: > If you are interested please let me know your hourly rate, and > availability in hours per week. I've been doing IC development on an off for almost two years. I'm not familiar with your other package; however, I know perl well. You can get more information about me an my work from my URL in the .sig. My hourly rate is $75/hour and I can give about 10 hours a week. If you want more than that I can talk to you about your requirements. If you'd like to call me, my number is 513-295-2844. Leave a message if you miss me. I return my calls pretty quickly. Also my email address is in the .sig as well. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (John Clayton) Date: Mon Nov 5 15:34:01 2001 Subject: [ic] comparison I am using IC 4.8.2. I am trying to get the value of [item-code] into a variable so that I can make a comparison with a sku in the flypage. I am not that familiar with the way the tags work. I have exhausted the IC tag docs. The closest thing I could come up with was this: [if explicit] [condition] $skucode = '[value item-code]'; #or possibly this $skucode = $Values->(item-code); return 1 if $skucode eq '00047'; return 0; [/condition] good [else] no [/else] [/if] But it does not seem to work. I have tried other [if] ways as well. It seems like it should be real simple to make a comparison with a variable. Any suggestions? John From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Mon Nov 5 15:52:01 2001 Subject: [ic] IC setup in Multi permission mode - sort of off topic > Ok this isn't particular to IC per say, but I didn't find a quick answer > to this anywhere else, including all the support forums at Redhat. > > We started running IC under Redhat 7.2, and I almost immediately ran into > hard coded limitations on the number of groups that a process can belong > to. The default is 32, pretty low if you ask me but oh well... Ok so > anyways I modified NGROUPS and NGROUPS_MAX in limits.h and > param.h, recompiled, not it... Do I have to rebuild glibc also? What am > I missing? > You would have to rebuild the kernel, the C compiler, any other compilers you have, C libraries etc., possibly Perl and some Perl modules, applications and a bunch of other stuff I haven't thought of. Once you have done all this, you will find that NGROUPS is used all over the kernel and are left with the question "what is going to break now that I've changed this?" NFS? Some people have set NGROUPS_MAX to 256 without any trouble, others have not. I have no need for anywhere near 32 group memberships per user so I haven't looked into the implications at all. Give it a go if you feel brave. Good luck. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 5 16:30:01 2001 Subject: [ic] reconfig failure causes Hi all, My catalog will not reconfigure at all anymore since Saturday. Im trying to figure out the cause so that I can implement my changes. What are the possible causes of repeated reconfig failures? That way i will know what to check. Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Mon Nov 5 16:52:00 2001 Subject: [ic] Images/Icons-Newbie-Question Hello, I seem to have got the website to function using admin or customer interface. However, still having trouble with images not showing. Can someone send me what a general catalog.config should look like? One of my catalogs fails to build because of the Mailto option not being set, even after I set it. Checked FAQ's and Docs on website. However, the default config they show seems out of date. Another question: Do I have to use ./makecat or can I use the config files? O/S: RedHat 7.2 Apache 1.3.20 Interchange 4.8.2 DB Set to Default in ./makecat user set to interch Anyway.. want to use this beyond test site but having issues. Thanks, Matt From: interchange-users at interchange.redhat.com (Jay Flaherty) Date: Mon Nov 5 17:09:01 2001 Subject: [ic] How do I handle a "checksum" like field? On Monday 05 November 2001 12:09 pm, Christopher Miller wrote: >> On Sun, Nov 04, 2001 at 01:18:37PM -0500, Jay Flaherty wrote: >> Hello everyone; >>I have added a field to the checkout page (CD key) that requires a checksum >> run against it to check for a valid CD key and if it passes the checksum, >> return an unlock code. I have successfully created a UserTag that does this >> and returns the unlock code back to the user via the receipt.html page as >> well as via email and finally adds it to the database once the credit card >> is validated and charged. My problem is how to handle a CD key entered in >> the CD key field that does not pass the checksum. I would like it to work >> the same way an invalid credit card does not pass the CC checksum, i.e. >> reload the checkout page with the error message "Invalid CD Key. Please try >> again" prominently displayed in red above the CD key field. I have poured >> over all the IC files and can't figure out how the checksum on the CC >> works. >> Actually, I can't figure out exactly how the whole checkout process works >> though I have sucessfully implemented it via PGP email and Authorizenet :-) >>  I would appreciate anyone who can point me in the right direction or give >> me some example code. > > Do it in the profile for the checkout page.  Return a different successpage > depending on success or failure (or it sounds like you would prefer to loop > back to checkout).  Look up profiles, successpage, failpage in docs. Thanks for the reply Chris, That is my problem. I don't know how to set up etc/profiles.order to check for a valid CD key. Do I put it in a perl block like this: [perl] my $cd_key = $Values->{cd_key}; my $unlock = $Tag->unlock_me($cd_key); if ($unlock eq "") { return "mv_cdkey_valid=required CD key fails tests."; } [/perl] I'm just not sure how this file works. Do I need to set $VEND::Session->errors{cd_key} (or something)? in pages/ord/checkout.html I have: <tr bgcolor="#AAAAAA"> <td align=right colspan=6> <font __FFACE__ size="1">[error name=mv_cdkey_valid std_label="CD KEY" required=1]</font> </td> </tr> <tr bgcolor="#AAAAAA"> <td ALIGN=LEFT colspan=6> CD KEY: <input type="text" name="cd_key" value=[value cd_key]> </td> </tr> In catalog.cfg I have my working UserTag unlock_me Anymore help would be greatly appreciated. Thanks...jay #################### Jay Flaherty Mediapulse, Inc. fty@mediapulse.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 5 17:29:01 2001 Subject: [ic] IC setup in Multi permission mode - sort of off topic Quoting Kevin Walsh (kevin@cursor.uk.com): > > Ok this isn't particular to IC per say, but I didn't find a quick answer > > to this anywhere else, including all the support forums at Redhat. > > > > We started running IC under Redhat 7.2, and I almost immediately ran into > > hard coded limitations on the number of groups that a process can belong > > to. The default is 32, pretty low if you ask me but oh well... Ok so > > anyways I modified NGROUPS and NGROUPS_MAX in limits.h and > > param.h, recompiled, not it... Do I have to rebuild glibc also? What am > > I missing? > > > You would have to rebuild the kernel, the C compiler, any other > compilers you have, C libraries etc., possibly Perl and some Perl > modules, applications and a bunch of other stuff I haven't thought > of. > > Once you have done all this, you will find that NGROUPS is used > all over the kernel and are left with the question "what is going > to break now that I've changed this?" NFS? > > Some people have set NGROUPS_MAX to 256 without any trouble, others > have not. I have no need for anywhere near 32 group memberships per > user so I haven't looked into the implications at all. Give it a go > if you feel brave. I too ran into this back in the days when I ran a virtual hosting ISP for MiniVend. I had quite a few more than 32 groups to worry about; I ran into the 256-character group concatenation limit first, anyway. The solution I used was to run multiple daemons as multiple user IDs, but keeping their UID the same. So: In /etc/passwd: interch:x:400:400:Interchange Daemon:/usr/lib/interchange:/bin/tcsh ic1:x:400:400:Interchange Daemon:/usr/lib/interchange:/bin/tcsh ic2:x:400:400:Interchange Daemon:/usr/lib/interchange:/bin/tcsh ic3:x:400:400:Interchange Daemon:/usr/lib/interchange:/bin/tcsh ic4:x:400:400:Interchange Daemon:/usr/lib/interchange:/bin/tcsh In /etc/group: user1:x:501:ic1 user2:x:502:ic1 user3:x:503:ic1 user4:x:504:ic1 user5:x:505:ic1 user6:x:506:ic2 user7:x:507:ic2 user8:x:508:ic2 user9:x:509:ic3 user10:x:510:ic3 etc. Then you run one daemon as ic1, one as ic2, etc. While this created some managment problems at times, another advantage was that you could segregate users according to what software and database they used, cutting down core size and extraneous things you don't need. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> My wife is great. She doesn't care where I go, just as long as I don't have any fun. -- Lee Trevino From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 5 17:33:00 2001 Subject: [ic] reconfig failure causes Quoting FixtureFactor.com (aaron@fixturefactor.com): > Hi all, > > My catalog will not reconfigure at all anymore since Saturday. Im trying to > figure out the cause so that I can implement my changes. What are the > possible causes of repeated reconfig failures? That way i will know what to > check. > What you should always check -- the error.log file. It means (probably) that you have a syntax error in catalog.cfg. Often with new users, this is from carriage returns in an uploaded catalog.cfg. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> How far can you open your mind before your brains fall out? From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 5 17:37:00 2001 Subject: [ic] How do I handle a "checksum" like field? Quoting Jay Flaherty (fty@mediapulse.com): > On Monday 05 November 2001 12:09 pm, Christopher Miller wrote: > >> On Sun, Nov 04, 2001 at 01:18:37PM -0500, Jay Flaherty wrote: > > Do it in the profile for the checkout page.  Return a different successpage > > depending on success or failure (or it sounds like you would prefer to loop > > back to checkout).  Look up profiles, successpage, failpage in docs. > > Thanks for the reply Chris, > > That is my problem. I don't know how to set up etc/profiles.order to check > for a valid CD key. Do I put it in a perl block like this: > [perl] > my $cd_key = $Values->{cd_key}; > my $unlock = $Tag->unlock_me($cd_key); > if ($unlock eq "") { > return "mv_cdkey_valid=required CD key fails tests."; > } > [/perl] > I'm just not sure how this file works. Do I need to set > $VEND::Session->errors{cd_key} (or something)? > in pages/ord/checkout.html I have: > <tr bgcolor="#AAAAAA"> > <td align=right colspan=6> > <font __FFACE__ size="1">[error name=mv_cdkey_valid std_label="CD KEY" > required=1]</font> > </td> > </tr> > <tr bgcolor="#AAAAAA"> > <td ALIGN=LEFT colspan=6> > CD KEY: <input type="text" name="cd_key" value=[value cd_key]> > </td> > </tr> > In catalog.cfg I have my working UserTag unlock_me > > Anymore help would be greatly appreciated. Thanks...jay What you have looks reasonable to me. Assuming the $Tag->unlock__me works in embedded Perl, it should work fine. Make sure you reconfig the catalog after adding that little thing to etc/profiles.order (in the checkout_profile area). -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> How far can you open your mind before your brains fall out? From: interchange-users at interchange.redhat.com (interch) Date: Mon Nov 5 17:39:59 2001 Subject: [ic] IC setup in Multi permission mode - sort of off topic I was afraid that was the case... Chris On Mon, 5 Nov 2001, Kevin Walsh wrote: > > Ok this isn't particular to IC per say, but I didn't find a quick answer > > to this anywhere else, including all the support forums at Redhat. > > > > We started running IC under Redhat 7.2, and I almost immediately ran into > > hard coded limitations on the number of groups that a process can belong > > to. The default is 32, pretty low if you ask me but oh well... Ok so > > anyways I modified NGROUPS and NGROUPS_MAX in limits.h and > > param.h, recompiled, not it... Do I have to rebuild glibc also? What am > > I missing? > > > You would have to rebuild the kernel, the C compiler, any other > compilers you have, C libraries etc., possibly Perl and some Perl > modules, applications and a bunch of other stuff I haven't thought > of. > > Once you have done all this, you will find that NGROUPS is used > all over the kernel and are left with the question "what is going > to break now that I've changed this?" NFS? > > Some people have set NGROUPS_MAX to 256 without any trouble, others > have not. I have no need for anywhere near 32 group memberships per > user so I haven't looked into the implications at all. Give it a go > if you feel brave. > > Good luck. > > -- > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h > _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 5 18:05:01 2001 Subject: [ic] How do I handle a "checksum" like field? On Mon, Nov 05, 2001 at 05:10:03PM -0500, Jay Flaherty wrote: > On Monday 05 November 2001 12:09 pm, Christopher Miller wrote: > >> On Sun, Nov 04, 2001 at 01:18:37PM -0500, Jay Flaherty wrote: > >>?Hello everyone; > >>I have added a field to the checkout page (CD key) that requires a checksum > >>?run against it to check for a valid CD key and if it passes the checksum, > >>?return an unlock code. I have successfully created a UserTag that does this > >>?and returns the unlock code back to the user via the receipt.html page as > >>?well as via email and finally adds it to the database once the credit card > >>?is validated and charged. My problem is how to handle a CD key entered in > >>?the CD key field that does not pass the checksum. I would like it to work > >>?the same way an invalid credit card does not pass the CC checksum, i.e. > >>?reload the checkout page with the error message "Invalid CD Key. Please try > >>?again" prominently displayed in red above the CD key field. I have poured > >>?over all the IC files and can't figure out how the checksum on the CC > >> works. > >>?Actually, I can't figure out exactly how the whole checkout process works > >>?though I have sucessfully implemented it via PGP email and Authorizenet :-) > >>? I would appreciate anyone who can point me in the right direction or give > >>?me some example code. > > > > Do it in the profile for the checkout page. ?Return a different successpage > > depending on success or failure (or it sounds like you would prefer to loop > > back to checkout). ?Look up profiles, successpage, failpage in docs. > > Thanks for the reply Chris, > > That is my problem. I don't know how to set up etc/profiles.order to check > for a valid CD key. Do I put it in a perl block like this: > [perl] > my $cd_key = $Values->{cd_key}; > my $unlock = $Tag->unlock_me($cd_key); > if ($unlock eq "") { > return "mv_cdkey_valid=required CD key fails tests."; > } > [/perl] pretty much. I (personally) don't like to use "" but would rather return 1 if success, undef otherwise. If the tag is supposed to unlock, then it should fail or work, not "". :-) # where success is 1 return "mv_cdkey_valid=required CD key fails tests." unless($Tag->unlock_me($cd_key)); YMMV -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 18:27:01 2001 Subject: [ic] RE: Interchaneg & Credit Card Numbers... On Sun, 4 Nov 2001, Anton Vandeplas wrote: AV>>Apparently you think that everybody is out to steal CC numbers. Won't it be AV>>easier to look around in restaurant, gas stations etc. to collect numbers AV>>than to try to hack into a server? AV>> AV>>And why do you think that my company is collecting CC numbers and not AV>>encrypt them? Will you be the hacker to try and find out? AV>> AV>>How somebody handles security over the Internet is for everybody himself AV>>like some people don't keep an eye on their wallets. When you order AV>>something on the Internet with a CC you never know what that person might do AV>>with your card :-) Anton, I've got a 'Visa Card' on a bank that I rarely used on line or over the phone. I used it exactly 3 times. (I usually use either American Express or a card on another bank for transactions when the card is not present.) On October 10th last year there was suddenly $475 missing out of my checking account. Someone had used my card number to set up an account at PayPal and had taken my $475 for their own use. I had noticed it withon a day of them doing it and got the card number cancelled. For reasons that I don't understand, because this was a 'Check Card' and not a true credit card, the bank was unable to take any action for 60 days. At that time they gave me a provisional gredit and 45 days later they made it permanent. I lost the use of $475 for 60 days. I've become a LOT more sensitive to credit card security over the internet. Visa, MasterCard, Discover, American Express are putting a whole different slant on CC# theft over the internet than CC# theft from a restaurant, etc. When you are dealing with security issues you have to assume that everyone around you is a crook and work from there. The bottom line here is that if you compromise a CC#, the issuer is going to crucify you and they will remove your ability to accept their card. It's difficult to do business without a merchant account. I went through that for 3 years after I did a buddy a favor and processed a charge for a carpet cleaning that he did for a customer. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 18:20 PM: Know God...know peace. No God...no peace. ---------------------------------------------------------------- This Linux System has been up 248 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 18:34:00 2001 Subject: [ic] Mixed Shipping Problem On Mon, 5 Nov 2001, Jerry wrote: J>>Anyone have a setup for UPS shipping by weight J>>however FREE shipping over a certain dollar amount? J>>We'd like to have free shipping in 4.7 IC when the J>>order subtotal exceeds $200.00 and otherwise use the J>>UPS lookup and charge by weight? J>> J>>It thought the setup below would work. It allows the J>>free shipping if over $200, but for orders under that J>>amount, it tries to continues to use the subtotal J>>amount instead calculating on the shipping weight. So an J>>order with a subtotal amount $182, it reports taht 182 POUNDS J>>is too heavy for UPS. It's like it only looks at the third J>>column of shipping.asc for the first row and ignores it after that. J>>If I remeove the first line of upsg, it calcs on weight J>>just fine. What am I missing here? J>>upsg UPS Ground [subtotal noformat=1] 200 9999999 0 I think that there needs to more to this line. Here is what I used with FedEx Ground on a recent campaign, although someone reported that something didn't like a '0' (zero). fdxg Ground [subtotal noformat=1] 80 999999 e Free Shipping {'ui_ship_type' => "_subtotal",'ups' => "0",} fdxg Ground weight 0 0 e Nothing to ship! {'ui_ship_type' => "weight",'table' => "Ground",'zone' => "220",'ups' => "1",'at_least' => "5.50",'adder' => "(\@\@TOTAL\@\@ * .25 ) + 0.00",'geo' => "zip",} fdxg Ground weight 0 150 u Ground [value name=zip filter=digits default=22306] {} fdxg Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for FedEx {} Now these are long lines that I have wrapped for the purpose of this message. The fields are also tab-delimited. It worked just fine for me. YMMV. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 18:30 PM: Oxymoron: Team of Independents. ---------------------------------------------------------------- This Linux System has been up 248 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 18:39:01 2001 Subject: [ic] Turn off inventory? On Mon, 5 Nov 2001, Rick Eicher II wrote: REI>>I am wondering if there is a way to turn off all inventory features. I have REI>>set the DECREMENT_INVENTORY to 0. But I do not want to have to add inventory REI>>every time I add an item. I do not want in stock or out of stock to appear REI>>on the customer pages. REI>> REI>>Have not found anything in the docs or mailing list. REI>> REI>>Is there a variable to turn this feature off? REI>> REI>>I am running interchange 4.8.2(rpm) on redhat 7.1. The easiet way that I have found is to just tell it that you have 1000000 on hand in inventory. When you run out of that million, exult in all of the money that you have made and add another million! :-) I have tight inventory control, but it's over on the Point Of Sale computer. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 18:35 PM: Useless Invention: Kickstand for a tank. ---------------------------------------------------------------- This Linux System has been up 248 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Mon Nov 5 18:43:20 2001 Subject: [ic] Credit Card Info Ed, I do pay RH for support for issues that are specialized and require customization beyond my knowledge or this list. This was a feature or a method that was supported in 4.6.x and changed to use PGP/GPG only, without backwards compatability. So I merely asked for a fix to what was supposed to be done already. Not Customization. As a consultant, a professional with 12 years of web/db applications development experience and a RH customer, I know the difference between the two. The code base was not backwards compatible and anyone with older catalogs not using realtime authorization was unable to retrieve CC information without calling the customer back(not good) or installing and use PGP/GPG. I don't feel we (not I) should have to pay for code modifications that RH said would be part of the feature set. This is open source, don't we all contribute to make the product better? Let get on to better things. -------------------------- Robert Trembath Internet Technology Manager e|robert@ishoptech.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Ed LaFrance Sent: Monday, November 05, 2001 12:50 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info At 11:28 AM 11/05/2001 -0600, Robert Trembath wrote: >[snip] > >Something that could've been resolved in ten minutes took days because >no one stepped forward to present the solution or a direction to a >solution. That cost me time and money. IC represents less than 10% of >my income as a consultant and when I have to dig this hard to get a >simple answer its nothing but discouraging. I loathe frustrating problems which consume time as much as the next person - but this is entirely the wrong attitude. If you want to be entitled to answers, get on a VAR program with some other system that offers one, and pay your fees and dues. The Red Hat Interchange unit also has consulting and support options to offer you, without requiring you to pay for the software - the best of both worlds, in my opinion. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jorge Cuevas) Date: Mon Nov 5 18:48:00 2001 Subject: [ic] Where's the file for the menu on the admin pages. Did you find out which files are the ones? On Monday 16 July 2001 15:29, you wrote: > I found the file for the Admin menu header and Admin menu footer. It's in > the file path, "/usr/local/interchange1/lib/UI/vars/UI_STD_HEAD" & > "..../UI_STD_FOOTER". So, I edited the file to add another menu to the > menu header and footer. I tested it on the website and and it does not > work. So, it is not hte right file. However, I saw a file, ui.cfg but it > doesn't seem to be the right file either. Can anyone point it out for me? > > Scott > > -----Original Message----- > From: Scott Fletcher [mailto:scott@abcoa.com] > Sent: Monday, July 16, 2001 11:34 AM > To: 'Interchange-users@lists.akopia.com' > Subject: [ic] Where's the file for the menu on the admin pages. > > > Hi! > > I'm have been searching for the files for the menu section for the > administration page and I haven't found it. It have been a while. Anyone > know what file would that be? I'll keep looking. > > Scott > _______________________________________________ > 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!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Mon Nov 5 18:51:35 2001 Subject: [ic] Credit Card Info Mainly because it was something that someone in the IC team could've answered this question very easily and quickly. Like I did for Anton. I was not the only one asking. Time is money and I wasted hours tracking a cure to this problem when a simple fix within the IC's team was deserved and owed to the list as a promised feature. Most of us are independent consultants with a need to keep our customers happy. This jeopordized a relationship with a client, so excuse my attitude, I like most of you are just trying to help. Enough said. -------------------------- Robert Trembath Internet Technology Manager e|robert@ishoptech.com -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Dan Browning Sent: Monday, November 05, 2001 12:00 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Credit Card Info > I wrote this list several time about quite a few issues with > no answers from anyone. I finally had to email someone > off-list who I judged to be knowledgeable by reading his > input to others and he pointed me in the right direction. > Some people on this list knew how to work around this issue > and simply didn't post a solution( including those at RH most > familiar with IC.) This feature was not forced in any > previous releases prior to 4.7 - 4.8. > > Something that could've been resolved in ten minutes took > days because no one stepped forward to present the solution > or a direction to a solution. That cost me time and money. IC > represents less than 10% of my income as a consultant and > when I have to dig this hard to get a simple answer its > nothing but discouraging. By the way, thank you Randy, for > stepping up when others at RH wouldn't. If I can ever return > the favor, just ask. > > Why flame developers for choosing not to use encryption where > its not needed. Warning them is wise and good. Calling them > stupid is wrong. You use IC your way and we'll use it ours. > That's called open source. Thanks for your advice and > experience. I know you contribute a lot here. Let's not > resort to using this list in a way that belittles or > discourages people. That takes away from RH and IC. > > Just my two cents. > > -------------------------- > Robert Trembath It really gets my goat when people get disappointed (or angry) that they didn't get their question answered on the list. I would understand if they were ranting that after paying a hefty license fee you weren't getting any support, but last time I checked, interchange-users wasn't for paid support. Here is how I often explain it: Commercial software = pay for the license, get free support (sometimes not even that) Open Source software = pay nothing for the license, pay for the support (but sometimes you get free support on the list) But the funny part is that no matter how disappointed they get, it wont make anyone any more likely to offer more free consulting/help on the list. I know you must already understand that Robert, so why are you ranting? Dan Browning Kavod Technologies _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jorge Cuevas) Date: Mon Nov 5 18:55:41 2001 Subject: [ic] Where's the file for the menu on the admin pages. Did you find out which files are the ones? On Monday 16 July 2001 15:29, you wrote: > I found the file for the Admin menu header and Admin menu footer. It's in > the file path, "/usr/local/interchange1/lib/UI/vars/UI_STD_HEAD" & > "..../UI_STD_FOOTER". So, I edited the file to add another menu to the > menu header and footer. I tested it on the website and and it does not > work. So, it is not hte right file. However, I saw a file, ui.cfg but it > doesn't seem to be the right file either. Can anyone point it out for me? > > Scott > > -----Original Message----- > From: Scott Fletcher [mailto:scott@abcoa.com] > Sent: Monday, July 16, 2001 11:34 AM > To: 'Interchange-users@lists.akopia.com' > Subject: [ic] Where's the file for the menu on the admin pages. > > > Hi! > > I'm have been searching for the files for the menu section for the > administration page and I haven't found it. It have been a while. Anyone > know what file would that be? I'll keep looking. > > Scott > _______________________________________________ > 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!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Jorge Cuevas) Date: Mon Nov 5 18:59:17 2001 Subject: [ic] Where's the file for the menu on the admin pages. Did you find the correct file? On Monday 16 July 2001 15:29, you wrote: > I found the file for the Admin menu header and Admin menu footer. It's in > the file path, "/usr/local/interchange1/lib/UI/vars/UI_STD_HEAD" & > "..../UI_STD_FOOTER". So, I edited the file to add another menu to the > menu header and footer. I tested it on the website and and it does not > work. So, it is not hte right file. However, I saw a file, ui.cfg but it > doesn't seem to be the right file either. Can anyone point it out for me? > > Scott > > -----Original Message----- > From: Scott Fletcher [mailto:scott@abcoa.com] > Sent: Monday, July 16, 2001 11:34 AM > To: 'Interchange-users@lists.akopia.com' > Subject: [ic] Where's the file for the menu on the admin pages. > > > Hi! > > I'm have been searching for the files for the menu section for the > administration page and I haven't found it. It have been a while. Anyone > know what file would that be? I'll keep looking. > > Scott > _______________________________________________ > 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 interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 19:04:00 2001 Subject: [ic] Credit Card Info On Mon, 5 Nov 2001, Dan Browning wrote: DB>>Here is how I often explain it: DB>> DB>>Commercial software = pay for the license, get free support (sometimes DB>>not even that) Buy Quicken! There is NO documentation about how to use the software and if you want support, you have to pay by the minute! As far as I can tell, there isn't even a users group or mailing list! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 18:50 PM: The Majority is never right unless it includes me. ---------------------------------------------------------------- This Linux System has been up 249 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 5 19:08:00 2001 Subject: [ic] Credit Card Encryption >-----Original Message----- >From: Rick Lord [mailto:rick@desertlord.com] >Sent: Sunday, September 16, 2001 4:21 PM >To: interchange-users@interchange.redhat.com >Subject: [ic] Credit Card Encryption > > >Is it still possible to NOT encrypt the credit card number in 4.8.1? >Everything is local here so I do not encrypt it, but setting up a new server >with 4.8.1 is not letting me do that. I saw that a couple of other people had >the same question but I didn't see any answers. Hopefully I will get some. >Thank you. > >-- >Rick Lord This seems to be a common thread. My 2 cents on this is I don't really care if it's all local. No matter how secure you make your network, you can not be 100% guaranteed that someone can't break into it. Any system that is connected to the internet has the potential of being compromised by exploits which have yet to be invented. How often have we seen news reports of merchants who thought their systems were secure right up to the point where "Exploit-X" came along and allowed a hacker - and any script-kiddie who could reproduce their work after they posted it in a million places - to go in and meander their filesystems at will? That said, how can anyone be willing to store credit card numbers unencrypted? Anywhere? You can count on the fact that no system I ever write or maintain in IC will do so. And if you set up a system on the internet that takes credit cards but leaves them unencrypted on a computer somewhere, please let me know so that I can avoid shopping there. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 5 19:21:00 2001 Subject: [ic] RE: Interchaneg & Credit Card Numbers... On Mon, Nov 05, 2001 at 06:31:32PM -0500, Jim Balcom wrote: > On Sun, 4 Nov 2001, Anton Vandeplas wrote: > On October 10th last year there was suddenly $475 missing out of my checking > account. Someone had used my card number to set up an account at PayPal and > had taken my $475 for their own use. I had noticed it withon a day of them > doing it and got the card number cancelled. > > For reasons that I don't understand, because this was a 'Check Card' and not > a true credit card, the bank was unable to take any action for 60 days. At > that time they gave me a provisional gredit and 45 days later they made it > permanent. I lost the use of $475 for 60 days. > > I've become a LOT more sensitive to credit card security over the internet. That happened to me with a card I **never** used except at the local ATM at the home bank. Some $4k in airline tickets. They didn't want to give me the money back either. When I pointed out that they had already transferred the issue to their fraud department before I called they relented. They thought it was simply a matter of someone generating codes and trying them until they worked. Don't need internet for that; the numbers themselves are not that hard to generate. The purchase was not even in my name. One's security as a shopper is the bank. Who knows what happened to the travel agent; probably doing business next town over. > > Visa, MasterCard, Discover, American Express are putting a whole different > slant on CC# theft over the internet than CC# theft from a restaurant, etc. > > When you are dealing with security issues you have to assume that everyone > around you is a crook and work from there. > > The bottom line here is that if you compromise a CC#, the issuer is going to > crucify you and they will remove your ability to accept their card. It's > difficult to do business without a merchant account. I went through that for > 3 years after I did a buddy a favor and processed a charge for a carpet > cleaning that he did for a customer. > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Monday, November 05, 2001 at 18:20 PM: > Know God...know peace. No God...no peace. > > ---------------------------------------------------------------- > This Linux System has been up 248 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 19:32:00 2001 Subject: [ic] Credit Card Info On Mon, 5 Nov 2001, Robert Trembath wrote: RT>>I appreciate your comments and I'm just as concerned about security as RT>>the next guy, I spent 20 years in the Army involved in technical and personnel security. Let's not try to lock horns. And, I'll keep my opinions on this to myself. RT>>I wrote this list several time about quite a few issues with no answers RT>>from anyone. I finally had to email someone off-list who I judged to be RT>>knowledgeable by reading his input to others and he pointed me in the RT>>right direction. Some people on this list knew how to work around this RT>>issue and simply didn't post a solution( including those at RH most RT>>familiar with IC.) This feature was not forced in any previous releases RT>>prior to 4.7 - 4.8. The Christians tell me that the Book Of Revelations in their Bible contains a lot of mysteries and when people try to solve those mysteries they are told that they can't know the answers because they are not 'ready to know' the answers. And, so it is with this issue - when you are ready to know the answer you won't have to ask. You kept asking questions that you weren't ready to have the answers to. RT>>Something that could've been resolved in ten minutes took days because RT>>no one stepped forward to present the solution or a direction to a RT>>solution. That cost me time and money. IC represents less than 10% of my RT>>income as a consultant and when I have to dig this hard to get a simple RT>>answer its nothing but discouraging. Why did it take days for you to solve it? I would be VERY embarassed to admit that! It's such an easy fix! It took me all of 3 minutes! It shouldn't be discouraging. It should be a challenge that causes you to learn the necessary foundation (no pun intended) that you need to understand the situation and to give your customers their money's worth. RT>>Why flame developers for choosing not to use encryption where its not RT>>needed. Warning them is wise and good. Calling them stupid is wrong. You RT>>use IC your way and we'll use it ours. That's called open source. Thanks Ya know, that scares the snot out of me!!!!! I think it's horrible that I've got customers that won't upgrade their browsers to deal with my 128-bit security. They don't give a shit. But, here you have customers that are using 128-bit security to give you their data and then you are spreading their data to the 4 winds and violating the trust that they have placed in you. A false sense of security for them. A parallel: You go into K-Mart and buy something. The clerk captures your card number when he swipes it. He immediately sells that number to a network of 1000 people that all use that number nearly simultaneously. The trust that you thought that you deserved has been grossly violated! And, the multiplier: You put that work-around out here on the mailing list! Now, there are 100's of networks of 1000 people with your number making charges on your account. I'm an old man, maybe senile, maybe with Alzheimers, maybe.... But, something that I learned a LONG time ago is that if something is really difficult to get ahold of then I wasn't meant to have it. And, it seems that anytime that I push the envelope and get it anyways that i get my knuckles rapped - it doesn't work, for one reason or another. IMHO you forced your way into an area that you weren't meant to be in, weren't ready to be in. Once in there you hadn't learned enough yet to properly handle what you had learned and you blew it. Like a rich uncle dying and leaving you a million dollars and you head for Vegas and 5 days later you are stone broke. It's quite fortunate that I don't have your customer list! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 19:05 PM: Famous last words - You and what army? ---------------------------------------------------------------- This Linux System has been up 249 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 5 19:37:00 2001 Subject: [ic] Open-Source versus Commercial Shopping Carts http://www.robval.com/linux/ecommerce/ "Open-Source versus Commercial Shopping Carts" by Rob Valliere. Nothing wrong with the article per-se, except I can't believe he actually made is case without even mentioning Interchange ONCE. Utter blasphemy :-) Just wait until he updates the article with Interchange and the other two (PgMarket and TEP) pale in comparison. :-) (Is it wrong to take pride in your work?) Dan Browning Kavod Technologies PS. Funny joke: A new oriental cookbook: 101 ways to Wok a dog. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 19:40:04 2001 Subject: [ic] Credit Card Info On Mon, 5 Nov 2001, Robert Trembath wrote: RT>>Mainly because it was something that someone in the IC team could've RT>>answered this question very easily and quickly. Like I did for Anton. I RT>>was not the only one asking. Time is money and I wasted hours tracking a RT>>cure to this problem when a simple fix within the IC's team was deserved RT>>and owed to the list as a promised feature. RT>> RT>>Most of us are independent consultants with a need to keep our customers RT>>happy. This jeopordized a relationship with a client, so excuse my RT>>attitude, I like most of you are just trying to help. RT>>Enough said. Oh! Wow! I suggest that you find a different way to make a living! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 19:35 PM: I do not fear computers. I fear the lack of them. ---------------------------------------------------------------- This Linux System has been up 249 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 5 19:45:01 2001 Subject: [ic] Credit Card Info [flame snip] Come on now. Flamewars on Sundays *only*. I know its fun, and hard to resist, but try. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 19:49:01 2001 Subject: [ic] RE: Interchaneg & Credit Card Numbers... On Mon, 5 Nov 2001 cfm@maine.com wrote: >>That happened to me with a card I **never** used except at the local ATM >>at the home bank. Some $4k in airline tickets. They didn't want to >>give me the money back either. When I pointed out that they had already >>transferred the issue to their fraud department before I called they >>relented. They thought it was simply a matter of someone generating codes >>and trying them until they worked. Don't need internet for that; the numbers >>themselves are not that hard to generate. The purchase was not even in >>my name. One's security as a shopper is the bank. Who knows what happened >>to the travel agent; probably doing business next town over. Last October I sold a domain name for $20,000. I went to Car-Max and bought a wonderful car for $11,000. (Car Max is the ONLY way to buy a car!) I wrote a check for the car. The salesman went to the cashier with the check to get it verified. (Totally acceptable!) The salesman came back and said, "Thank you Mr. balcom. Your check is approved and your bank balance is $21,056" He could have also rattled off my last 5 transactions. I protested about this to First Union, and I was told that their customers like this feature and they refused to change it. Car-Max had my checking account number and my drivers license number. That was all that they needed to explore my whole account! Today I authorized a check over the phone to pay a bill, simply by giving them the numbers on a check. Or, you hand me a check, in person, in payment for a product of mine and I can use that information to pay my own bills! First Unions response was that any time that I give out my checking account number that I am putting myself at risk. For several months, scared shitless, I kept my cash in a desk drawer and bought money orders to pay bills. But, I need the audit trail that checks give me. Where does it end? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 19:40 PM: Smoke me a kipper, I'll be back for breakfast. ---------------------------------------------------------------- This Linux System has been up 250 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Mon Nov 5 19:53:01 2001 Subject: [ic] Repost: automating makecat (What to do about the additional_fields file?) Hello, I am reposting this question after more searching. This is a reasonable question isn't it? I read previous posts on how automate makecat. My question is, how does one go about dealing with the "additional_fields" that the makecat program asks about? Is there a similar mechanism to the one mentioned in the makecat documentation about setting environment variables that start with MVC_? Is there some other preferred way to deal with this situation? Thanks -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Mon Nov 5 19:57:00 2001 Subject: Way, way, way offtopic... was: [ic] Credit Card Info Jim Balcom wrote: > A parallel: You go into K-Mart and buy something. As an aside, I went to K-Mart this weekend (they had the cheapest price on Shrek) and they had self-checkout. (!) You walk up, scan your own stuff, put either a card or cash into the machine and walk out. They had one person watching four self-checkout lanes. *That's* trust, on K-marts' part. --J(K) Sorry for interrupting the (epic and entertaining) flame war. :) From: interchange-users at interchange.redhat.com (Jerry) Date: Mon Nov 5 20:05:01 2001 Subject: [ic] Mixed Shipping Problem Jim, Thanks. This works fine except for one minor bug. It looks like the shipping criteria is stored in the cart. So if a buyer selects 3 of an item which exceeds the dollar amount for free shipping, they get the free shipping. If they reduce the quantity to get them back into a dollar range which should get shipping charged, shipping is either charged as weight, but on the SUBTOTAL figure, or they get a shipping message similar to: Note: 182 lbs too heavy for UPS. 182 is the dollar subtotal, NOT the shipping weight. If the cart is cleared, then all is ok and it gets reset. There must be a simple way to clear the shipping criteria each time the cart contents change at all. Have to figure that one out. Half the battle is won however! Jerry > J>>upsg UPS Ground [subtotal noformat=1] 200 9999999 0 > > I think that there needs to more to this line. > > Here is what I used with FedEx Ground on a recent campaign, > although someone > reported that something didn't like a '0' (zero). > > fdxg Ground [subtotal noformat=1] 80 999999 e Free Shipping > {'ui_ship_type' => "_subtotal",'ups' => "0",} > > fdxg Ground weight 0 0 e Nothing to ship! > {'ui_ship_type' => "weight",'table' => "Ground",'zone' => "220",'ups' > => "1",'at_least' => "5.50",'adder' => "(\@\@TOTAL\@\@ * .25 ) + > 0.00",'geo' => "zip",} > > fdxg Ground weight 0 150 u Ground [value name=zip > filter=digits default=22306] {} > > fdxg Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for > FedEx {} > > Now these are long lines that I have wrapped for the purpose of this > message. The fields are also tab-delimited. > > It worked just fine for me. YMMV. > > > > -= Jim =- From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 5 20:23:01 2001 Subject: [ic] Credit Card Info Quoting Robert Trembath (robert@ishoptech.com): > I don't feel we (not I) should have to pay for code modifications that > RH said would be part of the feature set. Neither Red Hat or I have NEVER said that unencrypted credit card numbers would be a part of the feature set. I challenge you to find where we did. In fact, in the face of constant pressure, both Red Hat and I have consistently said the opposite. I have turned down consulting contracts that required that I store the unencrypted CC number in a database on a net-connected machine. It is true that by default I set the EncryptProgram to "cat" for years. I am sorry for that. But my stated position has always been that encryption is necessary. All I did was enforce that position in the code as it became clearer and clearer that we would be negligent if we didn't. I have no problem with you doing whatever you want. However, I do have a problem with you handing an Uzi to a 4-year-old (slightly exaggerated analogy, but fits with someone elses previous one). I asked you not to post the not-recommended workaround to the list. You did it anyway. Therein lies my problem with it. I have removed the post from the archive. I ask it not to be posted so that it will not be archived to let the clueless fling unencrypted credit card numbers about. Also, I have a problem with *all* the messages you posted. Each one got bigger and bigger, as you left the quoted text on the bottom in an almost undecodable state, sigs and headers and all, not bothering to trim or show context. Actually, that is why I didn't get involved in the thread until it became longer. I ignore 95% of messages that have lazy quoting. By the time your message was posted, with actual content of 50 lines or so, the message was 480 lines. > This is open source, don't we all contribute to make the product better? Some are givers, some are not. Most don't contribute in any measurable fashion. I have no problem with someone downloading code at all. I have downloaded many packages and used them for free. I have not often given back to other projects. I am in the majority there -- according to a paper I read a long time ago, 80% of users of a package don't subscribe to its associated mail list even for the first time. I also have no problem with asking questions, though like many people I almost always prefer to research the questions myself, as I learn so much more from it (often in unrelated areas). I do have a problem when the questions and responses are lazy and slipshod. I don't usually sound off about it, but I am very much like described in ESR's document. If someone doesn't value my time enough to craft the question and trim the garbage when it moves to a thread, I don't feel at all like answering it. And I usually don't. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 5 20:33:00 2001 Subject: [ic] Repost: automating makecat (What to do about the additional_fields file?) Quoting Daniel P. Zepeda (dzepeda@satx.net): > Hello, > > I am reposting this question after more searching. This is a reasonable > question isn't it? > > I read previous posts on how automate makecat. My > question is, how does one go about dealing with the "additional_fields" that > the makecat program asks about? Is there a similar mechanism to the one > mentioned in the makecat documentation about setting environment variables that > start with MVC_? Is there some other preferred way to deal with this situation? > I don't think anyone understands what you are asking. I am still not sure what you mean by "automating makecat". If you mean running it from a script, look at the RPM spec file, which has an example of that. You make a call like: bin/makecat \ -F \ --relocate=$RPM_BUILD_ROOT \ --demotype=$i \ --catalogname=$i \ --basedir=$BASEDIR \ --catroot=$BASEDIR/$i \ --documentroot=$DOCROOT \ --samplehtml=$DOCROOT/$i \ --sampleurl=http://$HOST/$i \ --imagedir=$DOCROOT/$i/images \ --imageurl=/$i/images \ --sharedir=$DOCROOT \ --shareurl= \ --cgidir=$CGIDIR \ --cgibase=$CGIBASE \ --cgiurl=$CGIBASE/$i \ --interchangeuser=%ic_user \ --interchangegroup=%ic_group \ --permtype=user \ --serverconf=$HTTPDCONF \ --vendroot=$ICBASE \ --linkmode=UNIX \ --servername=$HOST \ --catuser=%ic_user \ --mailorderto=%{ic_user}@$HOST \ cachedir=$CACHEDIR/$i \ logdir=$LOGDIR/$i Note the last two parameters, which are from additional_fields. You just pass them in without a leading --. -- 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 interchange.redhat.com (Dan Browning) Date: Mon Nov 5 20:43:01 2001 Subject: [ic] Credit Card Info > I do have a problem when the questions and responses are lazy > and slipshod. I don't usually sound off about it, but I am > very much like described in ESR's document. If someone > doesn't value my time enough to craft the question and trim > the garbage when it moves to a thread, I don't feel at all > like answering it. And I usually don't. We need a program that will sense when someone has lazy quoting and send the post back with very detailed instructions on how to quote in context. (Or even a patch for MS Outlook to change it's default behavior -- anybody got the source code handy ;-) ) Who'll volunteer to write it? It'd be a great mailman mod. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 20:55:01 2001 Subject: [ic] Credit Card Info On Mon, 5 Nov 2001, Mike Heins wrote: MH>>It is true that by default I set the EncryptProgram to "cat" for years. MH>>I am sorry for that. Mike, Please do not ever feel that you have to apologize, or to say "I am sorry" for anything that you have ever done with Mini-Vend, Interchange, Akopia or whatever. I am continually amazed at the power in this software that you have created. I am continually amazed that you have have given up so much of your life to this product that we get for free! I am continually amazed with your attitude towards (perceived) problems with the software. Mike, you have absolutely NOTHING to be sorry for! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 20:50 PM: Oxymoron: Spending Cuts. ---------------------------------------------------------------- This Linux System has been up 251 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 20:59:00 2001 Subject: [ic] Credit Card Info On Mon, 5 Nov 2001, Dan Browning wrote: DB>>context. (Or even a patch for MS Outlook to change it's default DB>>behavior -- anybody got the source code handy ;-) ) Oh! Dan! This is the greatest one all summer! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 21:00 PM: I used to have a handle on life, then it broke. ---------------------------------------------------------------- This Linux System has been up 251 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Mon Nov 5 21:04:01 2001 Subject: [ic] Credit Card Info On Mon, Nov 05, 2001 at 05:43:21PM -0800, Dan Browning wrote: > We need a program that will sense when someone has lazy quoting and send > the post back with very detailed instructions on how to quote in > context. (Or even a patch for MS Outlook to change it's default > behavior -- anybody got the source code handy ;-) ) > > Who'll volunteer to write it? It'd be a great mailman mod. > At a previous job I had a script that monitored the internal staff mailing list and analyzed things like who was including far more quoted text than response, how many signatures you quoted, how many times you added new text at the top of the message, etc. and posted the results on the company intranet under the heading 'Staff Laziness Ratings'. People who hit the top of the list got the hint pretty quick. =) -- Red Hat Professional Consulting Jason Kohles (703)786-8036 (cellular) jkohles@redhat.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 5 21:07:01 2001 Subject: [ic] Announcing Compiere: the open source ERP & CRM solution Announcing Compiere: the open source ERP & CRM solution I recently stumbled across Compiere (http://www.compiere.org & http://sf.net/projects/compiere) and I was so impressed that I have to say something. I have in the past integrated Interchange with expensive accounting / ERP solutions (like MAS90) for running "back office" tasks (inventory, POS, accounting, etc., etc.), and have always pined for a great open source CRM & ERP. Here it is. I believe that most of you will find this is exactly the software that you need to complement interchange (your front end e-commerce app) with a backend (ERP, advanced CRM). (I wont be surprised if RH buys ComPiere too ;-) In fact, I think Compiere is even *better* than the big boys (SAP, Baan, Oracle-*, etc.) in some ways (besides being open source). The current version takes about 4 hours to install (including Oracle, etc.), but the next release due out in a few weeks will have many improvements (including PHB Oracle installation). I sincerely think that the opensourcing of Compiere is as monumental as was the posting of Linux 0.01 by Linus. Further, I expect to see at least 20 new Compiere developers come from this list. :-) If you get as excited about it as I did, don't hesitate to run around, scream, shout, and then send a thank you to the author. I can't seem to say enough good things about the quality of the project. I tried to write some info about it (features, technologies, etc.) below to whet your appetites. See you guys on the compiere-help@sf.net mailing list, Dan Browning Kavod Technologies Author: The lead programmer is Jorg Janke (more info: http://www.compiere.org/home/aboutus.html) Platforms: Server: Linux or Windows NT/2000 Client: Linux or Windows NT/2000 or DHTML License: Mozilla Public License 1.1 for Compiere only (see http://www.compiere.org/home/whyfree.html#whatfree for what else is required to run Compiere) Short Description: Compiere is the Open Source ERP & CRM solution with first tier functionality for the small-medium enterprise. Designed for the global marketplace, Compiere is easy to install and implement. In contrast to other solutions, you will be able to enter invoices after about 4 hours, without functionality compromises or irreversible implementation time decisions. Feature List: [I just wrote this up to whet your appetite, see the home page for more info] Manages your inventory Automates your accounting Provides customer-centric POS (point-of-sales) Enter Sales Orders Receive Orders from the Web Create Invoices and record Shipments Collect Receipts (cash, credit cards) & match with Bank Statements Generate or enter Purchase Orders Record Supplier Receipts and Invoices Pay your Suppliers Enter manual Journals Print reports and statements "Rich" Windows interface & "Reach" DHTML interface Smart User Interface (Personalization of every aspect: you only see what you need) Rule-based "Safe-fail" technology: instead of "failsafe", Compiere handles failures gracefully and intelligently. Truly integrated: "Front office" (CRM) + "Back office" (ERP) functionality together with many additional optional functionalities like Project management, Marketing campaign management, and others For the Global Market o Multi-Language for Documents and User Interface o Multi-Currency for transacting or reporting foreign currencies o Multi-Tax supporting different tax systems (Sales, VAT, and combinations) o Multi-Costing in parallel (e.g. Standard Costing, Average, Lifo, ...) o Multi-Accounting for your legal reporting using different accounting principles (e.g. Cash/Accrual, International/US/German/.. GAAP) o Multi-Organization for different branches/outlets and/or legal entities Customer Management Accounting Management Partner Management Supply Chain Management Implementation Features: >From installation to entering invoices in just 4 hours. No "final" decision making (no irreversible decisions at install time) Quote to Cash Requisition to Pay Customer Relations Management Partner Relations Management Supply Chain Management Performance Analysis Web Store Quotes Sales Orders Shipments Customer Invoices Receipts Bank Statement Open Item Management Invoice Payment Rules Cash, credit card, On account, check, transfer Cash Journal Requisitions to Pay Purchase orders Material Receipts Vender invoices Payments Bank Statements Lead and Activity Tracking Marketing Campaign Management Customer Profitability Analysis Self Service Online Inquiry Partner Relations Management Lead Distribution and Tracking Marketing Expense Accounting Collateral Ordering Customer Service Requests & Warranty Requests Supply Chain Management Product Catalog Distribution & Multi-Warehouse Control Materials Management Product/Service Costing EDI Integration Bill of Material (stocked or non-stocked) Price Lists Price List Version Purchase Price List Performance Analysis Accounting Rules Integrated Reporting, Data Warehousing and OLAP Manual Journals Generated Journals Web Store Online Product Catalog Online Pricing and Availability Online Sales Transactions User Management Counter Info Requests Application Dictionary Smart User Interface Smart Reporting Drill-down Drill-across Many Reporting types Customizing Reports Sustainable Architecture Safe-fail Security Customization Application Integration Integration: SQL, Excel, HTML, XML, Text, PDF, PS, Word, Business OLAP Cubes, Scanner interface J2EE Connectors OAGIS and OFX EDI Workflow and Wizard Attachments and Images Alerts Scheduling Email integration Help (online documentation) Server Architecture: The Compiere Server is Java Management Extensions (JMX) compliant. All server services are implemented as Dynamic Managed Beans (MBean). The Compiere Server is based on the JMX reference implementation. . Compiere Server (JMX compliant MBean Server) . Compiere Server Services (JMX compliant Dynamoc MBeans) o Accounting Server o Request Server o Utility Server This architecture allows to . Manage the MBeans (start/stop/..) and inquire their status locally and remotely . Ability to integrate with an SNMP (Simple Network Management Protocol) manager or CIM/WBEM manager . Add additional services required (e.g. Servlet Server, EJB engine, ...) . Ability to integrate the Compiere Server services into any JMX compliant server (e.g. Application Servers) Stand alone mode In the stand alone mode, the Compiere JMX Server also manages: . Java Servlet & JSP Server (Tomcat and Jasper wrapped in a Dynamic MBean) . JBoss EJB engine and JNDI components required for the Compiere application Integrated mode The stand alone mode is intended for small footprint, small implementations. If you need to integrate significant functionality, you could integrate the Compiere Services as MBeans in JMX compliant agents (MBean Servers) like JBoss or in other Application Servers. Application technology: Technology Stack Compiere is a 100% pure Java solution based on Oracle database technology. The client application component is written entirely in Java designed to utilize the capacity of today's PCs. The Java Application or Java Applet client is the preferred choice for high data volume as it provides a high performance Windows based user interface. It communicates, via thin JDBC, with the database layer and via IIOP with the application layer. The client accesses the server via the Internet or Intranet. As an alternative, a HTML client could be used to extend, where the installation or download of the application is not appropriate (i.e. self-service functionality for vendors, customers, employees). This part is implemented through Java Servlets and Java Server Pages, to be hosted in Servlet Servers (like JRun) or the Oracle Database Server (8.1.7) directly. The application server component is implemented in Java and SQLJ (Embedded SQL in Java) as Java Enterprise Beans hosted in the Oracle Database Server. Some application functionality is implemented as PL/SQL. The majority of the functionality is implemented as Java Stored Procedures. Compiere utilizes the option to natively compile and deploy Java in the Database, which increases the performance as it eliminates the Java interpreter on the server side. We are members of the Oracle, Sun and Microsoft technology programs and are using Rational Rose for analysis and design, Borland JBuilder Java for Java development and debugging, OptimizeIt for Java performance and memory debugging, ParaSoft JTest for automatic testing, ZeroG InstallAnywhere to create automatic installs, JRun as Servlet Server and the Embarcadero suite of products for database maintenance and PL/SQL programming and debugging. Compiere uses the ILOG Java rules engine currently for creating accounting transactions and pricing decisions. Complex logic is easier maintained with rules than with procedural logic. This also allows sophisticated users to extend the functionality. The rules are compiled for maximum runtime performance. Deployment Options Compiere has the following main components: . Client o Java Application o Java Applet o HTML based . Servlet Server for HTML based Application . Application Server . Database Server All application components can be deployed on all Java enabled platforms: Windows (NT, 2000), UNIX, Linux. Mac, etc. A variety of configurations are supported. Where communication bandwidth allows, the Application Client can be deployed as Windows Application or Java Applet. The Java Applet and the Java Application are functionally identical. A communication bandwidth of 128 kbps is sufficient for the Windows Application. For the HTML client, a Java Servlet and JSP (Java Server Pages) Server is required. Options include JRun. In addition to the standard HTTP Internet communication, the SSL secure protocol could be used. The Java Application Server is based on Enterprise Java Bean (EJB) or Remote Method Invocation (RMI) technology and could be deployed as a stand-alone tier in the Oracle Application Server or other EJB servers. The secure standard IIOP protocol is used. The Database Server hosts data and application logic and is accessed by the standard JDBC (Java Database Communication) protocol. Functionality at the database level is implemented in PL/SQL and Java Stored Procedures. In Oracle 8i the database includes a CORBA and an EJB server. Since the majority of functionality is data intensive, eliminating an additional level reduces overhead and improves performance. With Oracle 8.1.7, the database includes also a Servlet & JSP server The portability and hardware independence allows for easy deployment and rollout reducing the hardware and administrative overhead. Depending on the environment, a simple two-tier deployment might be sufficient with the option to migrate anytime to a multi-tier deployment environment. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 5 21:16:01 2001 Subject: [ic] Mixed Shipping Problem On Mon, 5 Nov 2001, Jerry wrote: J>>Thanks. This works fine except for one minor bug. It looks J>>like the shipping criteria is stored in the cart. So if a buyer J>>selects 3 of an item which exceeds the dollar amount for free J>>shipping, they get the free shipping. If they reduce the quantity J>>to get them back into a dollar range which should get shipping J>>charged, shipping is either charged as weight, but on the SUBTOTAL J>>figure, or they get a shipping message similar J>>to: Note: 182 lbs too heavy for UPS. 182 is the dollar subtotal, J>>NOT the shipping weight. If the cart is cleared, then all is ok J>>and it gets reset. J>> J>>There must be a simple way to clear the shipping criteria each time J>>the cart contents change at all. Have to figure that one out. J>>Half the battle is won however! I've got no idea. I only used this for a few days and it worked fine. But, I doubt that anyone tried to play games. My attitude is that if they got their dollar value up that high and played around that I'll give them the free shipping to get the order and the satisfaction. I see a lot of toss ups here. I use such things as gimmicks to increase sales and I'll give away things to make the customer think that they have 'won' as long as the expense is tolerable to me. Basically, my personal impression is that if the customer thinks that they are getting a 'deal' they are happy. If that 'deal' is one that I can live with then we are both 'happy' - no matter how screwed up it is. I specialize in 'Customer Satisfaction' I can have the best product in the world and the worse customer service and I will fail. Conversely, I can have the worse product and the best customer service and I will succeed. But, then, I am a plow-jockey from upstate New York without a college education or business degree. So, what do I know? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 05, 2001 at 21:00 PM: I used to have a handle on life, then it broke. ---------------------------------------------------------------- This Linux System has been up 251 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Mon Nov 5 21:23:01 2001 Subject: [ic] CC info part 2 The other piece of code I promised for showing CC info was this sent to me by Randy Moore: You can find good docs for PGP at: http://www.pgpi.org/ http://www.pgpi.org/doc/pgpintro/#p10 If you really don't want to use PGP for any of your sites, you could make a slight edit to lib/Vend/Order.pm at line 740: if("\L$cmd" eq 'none') { return ::errmsg("NEED ENCRYPTION ENABLED."); } becomes: if("\L$cmd" eq 'none') { return $body; } The restart interchange. I used this in combonation with the first part of this message sent earlier. -------------------------- Robert Trembath Internet Technology Manager e|robert@ishoptech.com From: interchange-users at interchange.redhat.com (GoldGet Check Accept) Date: Mon Nov 5 22:08:01 2001 Subject: [ic] CC info part 2 ohhh,, now your are pissing on the encryption gods.... you gonna get it.... I gonna tell ma.... Runs down the hall....."""""Mommy!!!""", bobby beat me up again...." >>> The other piece of code I promised for showing CC info was this sent to me by Randy Moore: >>> From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Mon Nov 5 22:26:00 2001 Subject: [ic] Database modules needed for stock install? Hi there, wondering if there are any Perl DBD/DBI Modules (other than the general DBI which is installed) required in order to install with the stock database installation (no SQL)? The Interchange Bundle -is- installed. I'm taking 500's in the UI for "Users" and "Merchandising", I've turned on debug output everywhere I can find and can't get a reason. The list archives seem to show others have solved similar problems by installing some particular Perl module: I've installed everything mentioned in those posts (other than obvious SQL modules) and still getting 500's for those 2 functions. Thanks! Glenn. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Nov 6 00:04:01 2001 Subject: [ic] Database modules needed for stock install? Quoting Glenn McCalley (techlist@bnetmd.net): > Hi there, wondering if there are any Perl DBD/DBI Modules (other than the > general DBI which is installed) required in order to install with the stock > database installation (no SQL)? The Interchange Bundle -is- installed. > > I'm taking 500's in the UI for "Users" and "Merchandising", I've turned on > debug output everywhere I can find and can't get a reason. The list > archives seem to show others have solved similar problems by installing some > particular Perl module: I've installed everything mentioned in those posts > (other than obvious SQL modules) and still getting 500's for those 2 > functions. This is probably due to simultaneous user traffic for those tables. GDBM doesn't act nice when someone won't give it write permission. SQL is strongly recommended for busy catalogs. The errors should disappear then; they are usually pretty harmless, though. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Software axiom: Lack of speed kills. From: interchange-users at interchange.redhat.com (Bradley Caricofe) Date: Tue Nov 6 02:13:00 2001 Subject: [ic] Easy Question... Hello everyone, I installed IC 4.8.2 last night on my Cobalt RaQ. Amazingly, I even got it working properly the first time around. I think. Anyways, when I login to the admin area and play around with the design settings, I noticed that in the layout editor, there were 2 of every category in the "Available Categories" section. Is this a teensy bug, or did I possibly cause it? Thanks. BTW, I hope all you guys are doing well 8^) Bradley Caricofe __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com From: interchange-users at interchange.redhat.com (Jonas) Date: Tue Nov 6 05:22:03 2001 Subject: [ic] shippingformula ?? I have a simple problem bu no idea how to solve it. My problem is that i want the folowing formula => if the overall price < 200 i want to count the items and multiply it with 0.80 how can i count the item's in the shipping.asc ? usps US Post price 0 200 f <and what is the formula ?> mfg. Jonas From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Tue Nov 6 07:20:01 2001 Subject: [ic] IP Based Domain Name Hosting Issue Hi, I've been working with Interchange 4.8.2 for a few weeks, trying to get everything installed and I believe that I've gotten most of the bigger things accomplished except for the following: I have two domains: http://ecommerce.hypertech.net/foundation/ (IP Address: 12.29.13.30) http://www.wildnut.com/foundation2/ (IP Address: 12.29.13.31) with a few more to come. (Please note: If you can't access the wildnut site it's because I recently updated the name servers and they may not have been updated throughout the world yet :) ) Ok - the first link Customer Entrance works fine. I can add multiple catalogs under the domain and they all function correctly. The second domain, wildnut.com - the Customer Entrance doesn't work at all and responds back with Interchange Server is unavailable - even though I've restarted the system several times, etc. I even tried copying the first foundation cgi-bin file to the wildnut cgi-bin section - thinking that perhaps something was wrong with it - but that didn't work. I originally did NOT have FullURL in the interchange.cfg file, but then, since the above didn't work, I added it underneath the last catalog - within that section. FullURL Yes is the command that I added. I then re-ran ./bin/makecat and reconfigured the catalogs, placing everything within their particular file section but there was one section I wasn't sure of. The UNIX, INET and NONE section. Well, actually, I tried UNIX and NONE and neither worked. However, the NONE statement confused me since it said that I need to copy some program, etc. etc. to some location - and I don't really know what that means or if that's even the solution to my problem. I've gone over the makecat program several times and so I'm either sticking in the wrong information when asked, or I just don't have something else configured correctly. But, I do know that I've placed the http docs and cgi stuff into the appropriate directories during the makecat process (at least I hope that I'm not THAT short of a brick load). What I'd like to do is to use IP-based hosting for each domain name so that each can have their own separate SSL. I could, of course, throw each domain name into the ecommerce.hypertech.net section, but I'd like to keep the entire shopping process within each domain. My interchange.cfg Catalog section looks like this: Catalog foundation /var/lib/interchange/foundation ecommerce.hypertech.net/cgi-bin/foundation /foundation Catalog foundation2 /var/lib/interchange/foundation2 www.wildnut.com/cgi-bin/foundation2 /foundation2 FullUrl Yes I remember at one point Interchange asking for the location to my httpd.conf file and I believe that I specified that, but don't really know if that could be causing the problem or not. So basically, everything seems to work - IF I opted to go with a multiple catalog shopping cart system under ecommerce.hypertech.net - but to make it difficult on myself - I'd rather have a shopping cart system under each domain name with their own IP address and SSL certificate. Can someone give me any pointers to accomplish this - so that I can get that Interchange server unavailable out of my second domain?? Restarting doesn't do it . . . I'm obviously missing the boat on this - so if you'd be so kind as to throw me a life jacket? Oh yes, and although I don't think this matters - I'm using Plesk 2.0 as my solution for hosting. It does all of the configuration settings for hosting and uses Apache, MySQL, mod_perl, etc. More info about that at: http://www.plesk.com/ if you think that there's a possibility that it's causing my problem. I just have a BIG tendency to think it isn't, but of course, my four weeks is pale in comparison to several of those with YEARS of experience. But, I'll get there. Oh yeah - and by the way - I've tried MANY e-commerce products and I'm truly impressed by Interchange. I'm slowly learning the system but it seems to be VERY stable and the features, well, let's just say that I'd be paying a pretty penny if I bought something like this for NT . . . Thanks Everyone! :) Justin From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Tue Nov 6 09:03:00 2001 Subject: [ic] Database modules needed for stock install? Mike, unless it's me competing with myself and I, I don't think it's load based. This is a new install on a system with nothing else running, just the foundation demo and a second foundation-based test store. FreeBSD 4.0 Perl 5.6.1 Apache 1.3.19 IC 4.8.2 /usr/local/interchange tree is owned by interch It's only Orders and Merchandising (yes Orders, not Users, I mistyped earlier), everything else is great. I keep looking for a common thread, or some way to get an error logged. Thanks! Glenn. ----- Original Message ----- From: Mike Heins <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, November 05, 2001 9:03 PM Subject: Re: [ic] Database modules needed for stock install? > Quoting Glenn McCalley (techlist@bnetmd.net): > > Hi there, wondering if there are any Perl DBD/DBI Modules (other than the > > general DBI which is installed) required in order to install with the stock > > database installation (no SQL)? The Interchange Bundle -is- installed. > > > > I'm taking 500's in the UI for "Users" and "Merchandising", I've turned on > > debug output everywhere I can find and can't get a reason. The list > > archives seem to show others have solved similar problems by installing some > > particular Perl module: I've installed everything mentioned in those posts > > (other than obvious SQL modules) and still getting 500's for those 2 > > functions. > > This is probably due to simultaneous user traffic for those tables. > GDBM doesn't act nice when someone won't give it write permission. > > SQL is strongly recommended for busy catalogs. The errors should > disappear then; they are usually pretty harmless, though. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Software axiom: Lack of speed kills. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jerry) Date: Tue Nov 6 09:47:00 2001 Subject: [ic] Shipping Criterion I've been fighting with this for a couple of days now. Perhaps it's not possible, but I doubt it. Is there a way to force IC to use the shipping criteria on line shipping line it is using? It seems it uses the cirteria from the first line of a group reguardless of which line it uses to make the calulation or query? With the setup below, if the value of the order is UNDER 200.00 it passes the first and second line and uses the 3rd, which it should. However, it uses the SUBTOTAL instead of the WEIGHT for the calulation. I've tried this in both 4.7x and 4.8.2 with the exact same results. Should I be attacking free shipping on order total from another angle? Is it just not possible to mix criteria in a single set of shipping type? upsg UPS Ground [subtotal noformat=1] 200 999999 e Free Shipping {'ui_ship_type' => "_subtotal",'ups' => "0",} upsg UPS Ground weight 0 0 e Nothing to ship! {'PriceDivide' => "1",'adder' => "3.00",'ups' => "0",'ui_ship_type' => "UPSE:GNDRES",'at_least' => "5",} upsg UPS Ground weight 0 150 f [ups-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="GNDRES" weight="@@TOTAL@@"] {'PriceDivide' => "1",} Jerry Uphoff jerry@digitalfm.com From: interchange-users at interchange.redhat.com (Maureen Miniter) Date: Tue Nov 6 10:35:00 2001 Subject: [ic] Interchange - Shipping Yes I did try putting a number of items in the cart, at checkout - it shows the item in the cart but does not add the Flat shipping rate of $4.99 to the total and down below it still says : "Note: Nothing to ship!" I also checked country.txt and there are options in there for US. -Maureen Miniter The Internet Place, Inc. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Nov 6 10:49:01 2001 Subject: [ic] Shipping Criterion Quoting Jerry (jerry@digitalfm.com): > I've been fighting with this for a couple of days now. > Perhaps it's not possible, but I doubt it. > Is there a way to force IC to use the shipping criteria > on line shipping line it is using? It seems it uses the > cirteria from the first line of a group reguardless of which > line it uses to make the calulation or query? With the setup > below, if the value of the order is UNDER 200.00 it passes > the first and second line and uses the 3rd, which it should. > However, it uses the SUBTOTAL instead of the WEIGHT for the > calulation. I've tried this in both 4.7x and 4.8.2 with the > exact same results. > > Should I be attacking free shipping on order total from > another angle? Is it just not possible to mix criteria in a > single set of shipping type? It is not possible, but there are other ways. Set up a couple of variables in catalog.cfg: Variable FREE_SHIPPING_LEVEL 80 Variable FREE_OR_WEIGHT <<EOV [calc] my $subt = q{[subtotal noformat=1]}; return 0 if $subt >= $Variable->{FREE_SHIPPING_LEVEL}; return 'weight'; [/calc] EOV Then reconfig and use __FREE_OR_WEIGHT__ as the criteria. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Tue Nov 6 11:20:01 2001 Subject: [ic] mail_receipt options messed up Hi all! I know this came across the board recently, but I couldn't find it again. I just discovered that I'm having the same problem that somebody had earlier. In the 'mail_receipt' file that goes to the customer, the options look like this: 1 pf121 KWC k10t1v3 Vita-Duo faucet $372.87 $372.87 Chrome <input type=hidden name="mv_item_option" value="Color">Polished Chrome Can anybody either point me to the answer for this or post it again, please! Thanks a lot, Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Tue Nov 6 11:33:01 2001 Subject: [ic] mail_receipt options messed up On Tue, 2001-11-06 at 10:22, FixtureFactor.com wrote: > Hi all! > > I know this came across the board recently, but I couldn't find it again. I > just discovered that I'm having the same problem that somebody had earlier. > In the 'mail_receipt' file that goes to the customer, the options look like > this: > > 1 pf121 KWC k10t1v3 Vita-Duo faucet $372.87 > $372.87 > Chrome > <input type=hidden > name="mv_item_option" > value="Color">Polished Chrome I havent found out the real solution, but using report=1 in the option tag on mail_receipt helps a bit. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 6 11:50:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. **Platform RH 7.2 / IC 4.8.2 / PGSQL **Interchange Topics Options Interchange Tags **Overview We have written some Javascript that allows the user to see the configured price of a product with multiple options. For example, if they are buying a car with a base price of $11,000, and adding the CD player costs $100, upon selecting to add the CD player on the flypage from the options dropdown, this will adjust the "configured" price to $11,100 without having to click the buy now feature to see the configured price in the cart. As the user selects the various options, this automatically recalculates the configured price. This allows the user to quickly price out different configurations. We are using an additional input on the form with the default value of [item-price], and the Javascript updates this input on the form with a function that we wrote called update_total. **Desired Goals We need to add an attribute (..OnChange=update_total(this)..) to the select statement(s) that is(are) generated on the flypage for each option. We also need to add this input to that table at the end after it is finished looping through the options. **Specific Question We need to locate the code that generates the form with the select statements for the options on the flypage so we can modify it slightly. **Reference Materials / Real Life Example We need to change the HTML output of the following code: [table-organize cols=2 table=' ' font="size=1" pretty=1] [item-options td=1 label=1 bold=1 price=1] [/table-organize] Sample Existing Outputted Code (What we want to change): <table> <tr> <td><FONT size=1><B>Waveguide</b></FONT></td> <td><FONT size=1><input type=hidden name="mv_item_option" value="WG"> <SELECT NAME="mv_order_WG"> <OPTION VALUE="">None <OPTION VALUE="3">3 ft Flex Waveguide WR75 ($375.00) <OPTION VALUE="6">6 ft Flex Waveguide WR75 ($708.00) </SELECT></FONT></td> </tr> <tr> <td><FONT size=1><B>Tx Reject Filter</b></FONT></td> <td><FONT size=1><input type=hidden name="mv_item_option" value="TXRF"> <SELECT NAME="mv_order_TXRF"> <OPTION VALUE="">None <OPTION VALUE="Y">Tx Reject Filter 50db Rejection ($281.00) </SELECT></FONT></td> </tr> <tr> </table> Desired Outputted Code (What we want to change too): <table> <tr> <td><FONT size=1><B>Waveguide</b></FONT></td> <td><FONT size=1><input type=hidden name="mv_item_option" value="WG"> <SELECT NAME="mv_order_WG" OnChange=update_total(this)> <OPTION VALUE="">None <OPTION VALUE="3">3 ft Flex Waveguide WR75 ($375.00) <OPTION VALUE="6">6 ft Flex Waveguide WR75 ($708.00) </SELECT></FONT></td> </tr> <tr> <td><FONT size=1><B>Tx Reject Filter</b></FONT></td> <td><FONT size=1><input type=hidden name="mv_item_option" value="TXRF"> <SELECT NAME="mv_order_TXRF" OnChange=update_total(this)> <OPTION VALUE="">None <OPTION VALUE="Y">Tx Reject Filter 50db Rejection ($281.00) </SELECT></FONT></td> </tr> <tr> <td colspan="2"><B>Configured Price:</b><input type="text" value=[item-price] name="price"></td> </tr> </table> Best regards, -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (CHRIS KNIGHT) Date: Tue Nov 6 12:17:00 2001 Subject: [ic] shippingformula ?? Salut, If what you want is the total items in the cart, take a look at the [nitems] tag http://interchange.redhat.com/cgi-bin/ic/dev/ictags_51.html HTH, Chris >>> interchange@joelh.de 11/6/01 2:17:18 AM >>> I have a simple problem bu no idea how to solve it. My problem is that i want the folowing formula => if the overall price < 200 i want to count the items and multiply it with 0.80 how can i count the item's in the shipping.asc ? usps US Post price 0 200 f <and what is the formula ?> mfg. Jonas _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 6 12:21:00 2001 Subject: [ic] shippingformula ?? At 11:17 AM 11/06/2001 +0100, you wrote: >I have a simple problem bu no idea how to solve it. > >My problem is that i want the folowing formula => > >if the overall price < 200 i want to count the items and multiply it with >0.80 how can i count the item's in the shipping.asc ? > >usps US Post price 0 200 f <and what is the formula ?> > >mfg. Jonas Try something like (-> = TAB): usps -> US Post -> price -> 0 -> 200 -> f [nitems] * .8 - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 6 12:44:00 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. On Tue, Nov 06, 2001 at 09:52:56AM -0700, Fred Pope wrote: > **Platform > RH 7.2 / IC 4.8.2 / PGSQL > > **Interchange Topics > Options > Interchange Tags > > **Overview > We have written some Javascript that allows the user to see the configured > price of a product with multiple options. For example, if they are buying a > car with a base price of $11,000, and adding the CD player costs $100, upon > selecting to add the CD player on the flypage from the options dropdown, > this will adjust the "configured" price to $11,100 without having to click > the buy now feature to see the configured price in the cart. As the user > selects the various options, this automatically recalculates the configured > price. This allows the user to quickly price out different configurations. > We are using an additional input on the form with the default value of > [item-price], and the Javascript updates this input on the form with a > function that we wrote called update_total. > > **Desired Goals > We need to add an attribute (..OnChange=update_total(this)..) to the select > statement(s) that is(are) generated on the flypage for each option. We also > need to add this input to that table at the end after it is finished looping > through the options. > You can find some relevant javascript here: http://www.mainelobsterdirect.com/Catalog/lobsters.cgi/50000 -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Tue Nov 6 13:55:01 2001 Subject: [ic] change order numbers / onfly is working Hi all, I was trying to figure out how to change the starting order number to start out higher, and changing the order.number file gives an error, then if you delete the file altogether, IC puts a new one back in and restarts it at 000001. Ive done that a couple of times, so im still around 000015 and want to start at around 000100. Can anybody tell me what the trick is to getting it to work? Thanks. By the way, I had posted earlier about getting on-the-fly ordering to work in the admin for items not in the catalog for easy order processing of those type of items. Well...... Woooooo hooooooooooooo IT WORKS!!!! If anybody else wants to do this, Ill show you the code I used, I had to play around with it a while to get it to work, but its working nicely now. Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Jerry) Date: Tue Nov 6 14:00:00 2001 Subject: [ic] Shipping Criterion Mike, Perfect and much more eligant than what I was finally coming up with. Works great. Jerry > Set up a couple of variables in catalog.cfg: > > Variable FREE_SHIPPING_LEVEL 80 > Variable FREE_OR_WEIGHT <<EOV > [calc] > my $subt = q{[subtotal noformat=1]}; > return 0 if $subt >= $Variable->{FREE_SHIPPING_LEVEL}; > return 'weight'; > [/calc] > EOV > > Then reconfig and use __FREE_OR_WEIGHT__ as the criteria. From: interchange-users at interchange.redhat.com (Jay Flaherty) Date: Tue Nov 6 14:05:00 2001 Subject: [ic] How do I handle a "checksum" like field? On Tuesday 06 November 2001 12:03 pm, Mike Heins wrote: > > Quoting Jay Flaherty (fty@mediapulse.com): > > On Monday 05 November 2001 12:09 pm, Christopher Miller wrote: > > >> On Sun, Nov 04, 2001 at 01:18:37PM -0500, Jay Flaherty wrote: > > > Do it in the profile for the checkout page.  Return a different > > successpage > depending on success or failure (or it sounds like you > > would prefer to loop > back to checkout).  Look up profiles, successpage, > > failpage in docs. > > Thanks for the reply Chris, >> > That is my problem. I don't know how to set up etc/profiles.order to > > check for a valid CD key. Do I put it in a perl block like this: > > [perl] > > my $cd_key = $Values->{cd_key}; > > my $unlock = $Tag->unlock_me($cd_key); > > if ($unlock eq "") { > > return  "mv_cdkey_valid=required CD key fails tests."; > > } > > [/perl] > > I'm just not sure how this file works. Do I need to set > > $VEND::Session->errors{cd_key} (or something)? > > in pages/ord/checkout.html I have: > > <tr bgcolor="#AAAAAA"> > >     <td align=right colspan=6> > >     <font __FFACE__ size="1">[error name=mv_cdkey_valid std_label="CD > > KEY"     required=1]</font> > >     </td> > > </tr> > > <tr bgcolor="#AAAAAA"> > >     <td ALIGN=LEFT colspan=6> > >     CD KEY: <input type="text" name="cd_key" value=[value cd_key]> > >     </td> > > </tr> > > In catalog.cfg I have my working UserTag unlock_me >> > Anymore help would be greatly appreciated. Thanks...jay > > What you have looks reasonable to me. Assuming the $Tag->unlock__me works > in embedded Perl, it should work fine. > > Make sure you reconfig the catalog after adding that little thing > to etc/profiles.order (in the checkout_profile area). Thank you so much Mike and Chris :-) This works beautifully. Why didn't I just test it out myself? Maybe I did not have the confidence to trust my "winging it" ;-) Though I am pleased my "winging" was right on the money. Some day I hope I can return the favor. I have done some pretty neat things with IC (mostly using [perl] blocks). Some day I wil finally wrap my head around the more elegant template syntax and then look out :-) Again thanks...Jay ######################## Jay Flahery Mediapulse, Inc. fty@mediapulse.com -- Jay Flaherty Mediapulse, Inc. fty@mediapulse.com (865)482-4455 From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 6 14:08:01 2001 Subject: [ic] change order numbers / onfly is working > Hi all, > > I was trying to figure out how to change the starting order > number to start out higher, and changing the order.number > file gives an error, then if you delete the file altogether, > IC puts a new one back in and restarts it at 000001. Ive > done that a couple of times, so im still around 000015 and > want to start at around 000100. Can anybody tell me what the > trick is to getting it to work? Thanks. > > By the way, I had posted earlier about getting on-the-fly > ordering to work in the admin for items not in the catalog > for easy order processing of those type of items. Well...... > Woooooo hooooooooooooo IT WORKS!!!! If anybody else wants to > do this, Ill show you the code I used, I had to play around > with it a while to get it to work, but its working nicely now. > > Sincerely, > Aaron Hazelton I'm sure we would all appreciate a howto. Thanks, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Nov 6 14:11:14 2001 Subject: [ic] Variables in <a href> Hi list, this is a sniplet of code which shows "Cool Dude" when link is pressed. This code will be put on the checkout page to "hide" things like the shipping address.... it works fine, but i have to put more than one of those sniplets on the page. I tried to use arg1/arg2/arg3 which do not work. Is there another way of accomplishing this ? [seti dude][/seti] [seti dude][data session arg][/seti] <a href="[area href="test1" arg="show"]">Show : Cool Dude</a><br> <a href="[area href="test1" arg=""]">Do not show : Cool Dude</a> <br> <br> [if scratch test1 eq show]<font color=ff000><b>Cool Dude<b></font>[/if] Any help would be great. JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Nov 6 14:14:13 2001 Subject: [ic] Sales tax for non us countries Hi list, by searching the docs I have found a solution for the problem of taxation of non us countries. I am trying to use the country table and the tax field in it. this is what I found : Change TAXAREA state zip Payment to TAXAREA country Payment (in products/variables.txt) changes in checkout.html: not it works with the js altered a little bit... its now: The line: var ch = form.state.value; is now: var ch = form.country.value; . and change <select name=country> to: <select name=country onChange="check_tax(this.form)"> I made all the changes but it still doesn't work, does anybody know how to set the taxation for the european countries or am I overlokking something ? The thing that seems odd is the "check_tax(this.form)", oops I am lost thanxs for any help JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Nov 6 14:18:00 2001 Subject: [ic] Variables in <a href> Hi list, this is a sniplet of code which shows "Cool Dude" when link is pressed. This code will be put on the checkout page to "hide" things like the shipping address.... it works fine, but i have to put more than one of those sniplets on the page. I tried to use arg1/arg2/arg3 which do not work. Is there another way of accomplishing this ? [seti dude][/seti] [seti dude][data session arg][/seti] <a href="[area href="test1" arg="show"]">Show : Cool Dude</a><br> <a href="[area href="test1" arg=""]">Do not show : Cool Dude</a> <br> <br> [if scratch test1 eq show]<font color=ff000><b>Cool Dude<b></font>[/if] Any help would be great. JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Nov 6 14:21:01 2001 Subject: [ic] Sales tax for non us countries Hi list, by searching the docs I have found a solution for the problem of taxation of non us countries. I am trying to use the country table and the tax field in it. this is what I found : Change TAXAREA state zip Payment to TAXAREA country Payment (in products/variables.txt) changes in checkout.html: not it works with the js altered a little bit... its now: The line: var ch = form.state.value; is now: var ch = form.country.value; . and change <select name=country> to: <select name=country onChange="check_tax(this.form)"> I made all the changes but it still doesn't work, does anybody know how to set the taxation for the european countries or am I overlokking something ? The thing that seems odd is the "check_tax(this.form)", oops I am lost thanxs for any help JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Tue Nov 6 14:25:00 2001 Subject: [ic] IP Based Domain Name Hosting Issue At 04:18 AM 11/6/01, you wrote: >Hi, > >I've been working with Interchange 4.8.2 for a few weeks, trying to get >everything installed and I believe that I've gotten most of the bigger >things accomplished except for the following: > <SNIP> >Ok - the first link Customer Entrance works fine. I can add multiple >catalogs under the domain and they all function correctly. The second >domain, wildnut.com - the Customer Entrance doesn't work at all and responds >back with Interchange Server is unavailable - even though I've restarted the >system several times, etc. I even tried copying the first foundation >cgi-bin file to the wildnut cgi-bin section - thinking that perhaps >something was wrong with it - but that didn't work. <SNIP> Justin, Did you also check the permissions of the cgi-bin file that you copied over ? At least on my system, If I copy it, I must then chmod 4755 so that it will run under the correct user when called (interch in my case) If you do have a working cgi-bin file and copy it and chmod 4755, it should report back as an unknown catalog or should work depending on the name of the file, interchange.cfg ..... I don't believe you need fullurl in this case, I've set up with several domain names with diff ip addresses on same box with out fullurl. Have you checked the various log files ? (interchange, catalog, apache) When it asked for path to httpd.conf, it was only trying to guess various paths for the set up, which you would then confirm or change during install. Hope this helps, Kyle From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Tue Nov 6 14:30:00 2001 Subject: [ic] change order numbers / onfly is working Quoting FixtureFactor.com > I was trying to figure out how to change the starting order > number to start > out higher, and changing the order.number file gives an error, then if you > delete the file altogether, IC puts a new one back in and restarts it at > 000001. Ive done that a couple of times, so im still around > 000015 and want > to start at around 000100. Can anybody tell me what the trick is > to getting > it to work? Thanks. I think I had this problem when I edited the file from Windoze and uploaded it to server. Try editing it using vi or pico. Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Jay Flaherty) Date: Tue Nov 6 14:34:00 2001 Subject: [ic] Credit Card Info On Tuesday 06 November 2001 12:03 pm, Jim wrote: > The Christians tell me that the Book Of Revelations in their Bible contains > a lot of mysteries and when people try to solve those mysteries they are > told that they can't know the answers because they are not 'ready to know' > the answers. Hitler. There, I said it. You know a topic has not gone as far as it can go until someone mentions Hitler in thier reply. It was getting pretty close with the mention of "The Book Of Revelations" so I went ahead and made the final push. I'm sorry but I had to :-) Please don't flame me. I'm just the Messenger :-) -- Jay Flaherty Mediapulse, Inc. fty@mediapulse.com From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 6 15:00:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. Thanks Chris, we already have the Javascript...I like what you did with the Lobsters. Here is the original question again. Which interchange file contains the (perl?) code that outputs a select tag. We need to add our event handler to this tag, as we already have our code written that updates the price. In other words: Interchange outputs:"<select name="someting">..." And we need to add: "onUpdate="somejavafunction()" inside this tag. Thanks - -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 6 15:11:00 2001 Subject: [ic] Sales tax for non us countries At 02:54 PM 11/06/2001 +0000, you wrote: >Hi list, > >by searching the docs I have found a solution for the problem of taxation >of non us countries. >I am trying to use the country table and the tax field in it. > >this is what I found : > >Change TAXAREA state zip Payment to TAXAREA country Payment >(in products/variables.txt) > >changes in checkout.html: >not it works with the js altered a little bit... its now: >The line: > var ch = form.state.value; >is now: > var ch = form.country.value; >. >and change ><select name=country> to: <select name=country >onChange="check_tax(this.form)"> > >I made all the changes but it still doesn't work, does anybody know how to >set the taxation >for the european countries or am I overlokking something ? The thing that >seems odd is the >"check_tax(this.form)", oops I am lost > >thanxs for any help Assuming you are using 4.6.x or 4.8.x, that's wrong - you need to go to Administration->Preferences->Tax and change the TAXFIELD from state to country. Then you'll need to set up your tax areas (country codes) and corresponding rates with Administration->Tax. Then Apply Changes and I think it should work. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Nov 6 15:36:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. Quoting Fred Pope (fred@satcomresources.com): > Thanks Chris, we already have the Javascript...I like what you did with the > Lobsters. > > Here is the original question again. > > Which interchange file contains the (perl?) code that outputs a select tag. > We need to add our event handler to this tag, as we already have our code > written that updates the price. > > In other words: > Interchange outputs:"<select name="someting">..." > And we need to add: "onUpdate="somejavafunction()" inside this tag. It outputs it where and how? Usually you can pass an extra="onUpdate=...." parameter to most ITL tags that generate <SELECT ...> dropdowns. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Tue Nov 6 15:53:01 2001 Subject: [ic] change order numbers / onfly is working hmmm...this didn't post...try again Quoting FixtureFactor.com > I was trying to figure out how to change the starting order > number to start > out higher, and changing the order.number file gives an error, then if you > delete the file altogether, IC puts a new one back in and restarts it at > 000001. Ive done that a couple of times, so im still around > 000015 and want > to start at around 000100. Can anybody tell me what the trick is > to getting > it to work? Thanks. I think I had this problem when I edited the file from Windoze and uploaded it to server. Try editing it using vi or pico. Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 6 15:57:00 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. The output is on the flypage. The line that we are looking at reads: [table-organize cols=2 table=' ' font="size=1" pretty=1] [item-options td=1 label=1 bold=1 price=1] [/table-organize] I was looking through the interpolate.pm file and saw the "extra", but I do not know how to pass it a value from the flypage. This is what we tried, and failed... [item-options td=1 label=1 bold=1 price=1 extra="onUpdate=somejsfunction()"] What is the correct syntax for passing this parameter? Thanks... -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Nov 6 16:16:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. Quoting Fred Pope (fred@satcomresources.com): > The output is on the flypage. The line that we are looking at reads: > > [table-organize cols=2 table=' ' font="size=1" pretty=1] > [item-options td=1 label=1 bold=1 price=1] > [/table-organize] > > I was looking through the interpolate.pm file and saw the "extra", but I do > not know how to pass it a value from the flypage. > > This is what we tried, and failed... > > [item-options td=1 label=1 bold=1 price=1 extra="onUpdate=somejsfunction()"] > > What is the correct syntax for passing this parameter? I don't think [item-options ...] supports it. You can add it by editing the list of parameters to send to tag_accessories, i.e. change: push @out, tag_accessories( $sku, '', { passed => $ref->[3], type => $opt->{type} || $ref->[5] || 'select', attribute => 'mv_sku', price_data => $ref->[6], price => $opt->{price}, item => $phony, }, $phony || undef, ); to: push @out, tag_accessories( $sku, '', { passed => $ref->[3], type => $opt->{type} || $ref->[5] || 'select', attribute => 'mv_sku', price_data => $ref->[6], price => $opt->{price}, extra => $opt->{extra}, item => $phony, }, $phony || undef, ); in a couple of places. I will make that change in CVS. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Be patient. God isn't finished with me yet. -- unknown From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Tue Nov 6 17:13:01 2001 Subject: [ic] contacts db to have same funtions as userdb Hello list A rather simple question for those in the know... I have a database called contacts along with the userdb yet I want to give the contacts databse the same functions as does the userdb via the [userdb] tab. I know with the products db you can use productfile to name the products and to use IC/MV built in function on said file/db But how is this done on a different userdb? My inclination is to use USERDB contacts code contacts USERDB contacts company contacts or something to that effect. No much info in the doc about this scenario. J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |_earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Tue Nov 6 17:50:01 2001 Subject: [ic] Repost: automating makecat (What to do about the additional_fields file?) On Mon, 05 Nov 2001, you wrote: > >Quoting Daniel P. Zepeda (dzepeda@satx.net): <snip> > I don't think anyone understands what you are asking. I am still not > sure what you mean by "automating makecat". Thank you for reading my mind. Yes, running makecat from a perl script is what I meant, and the pointer you gave me is just what I need. Thanks for a great job on Interchange! > > If you mean running it from a script, look at the RPM spec file, > which has an example of that. You make a call like: > > bin/makecat \ > -F \ <snip> > cachedir=$CACHEDIR/$i \ > logdir=$LOGDIR/$i > > Note the last two parameters, which are from additional_fields. You > just pass them in without a leading --. > From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 6 17:54:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. We have made the appropriate changes and that does not appear to have solved our problem. Let me know when you upload the file to the CVS so I can check what you have done against what we have done. Thanks.. -- Fred Pope Satcom Resources From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 6 18:03:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. > We have made the appropriate changes and that does not appear > to have solved our problem. Let me know when you upload the > file to the CVS so I can check what you have done against > what we have done. > > Thanks.. > -- > Fred Pope Just in case there are some that don't know, there is a interchange-cvs mailing list that can be used to keep up to date on all the commits as they happen. http://interchange.redhat.com/mailman/listinfo/interchange-cvs Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 6 18:59:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. >>I will make that change in CVS. Thanks Mike. We have updated the Interpolate.pm file from the one that you placed in the CVS. When we pass the tag: [item-options td=1 label=1 bold=1 price=4 js="OnUpdate=jsfunction()"] in the flypage I am assuming that we should now get the HTML output where the select boxes for the options would now read: <select name=mv_order_optionname OnUpdate=jsfunction()> Vs what it reads standardly <select name=mv_order_optionname> However we are not getting those results. Since the file modifications are the ones that you have done, I am assuming that we are not passing the information in the tag properly? Thanks. -- Fred Pope Satcom Resources 970-748-3094 From: interchange-users at interchange.redhat.com (Jim Webster) Date: Tue Nov 6 19:14:00 2001 Subject: [ic] Adding Fields How can I add more fields? Example: Create new item... I want more than just Product Name, Description, Category, Price, Weight, etc. Modify which files to accomplish this? Jim. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 6 19:24:00 2001 Subject: [ic] Adding Fields > How can I add more fields? > > Example: Create new item... I want more than just Product > Name, Description, Category, Price, Weight, etc. > > Modify which files to accomplish this? > > Jim. Below is a HOWTO posted to the list a while back. Dan Browning Kavod Technologies I wanted to add a manufacturer to my products so I did the following 1) Add column in database product table # mysql mysql> use <my dbase name> ( fill in if you are using a database) mysql> ALTER products ADD mfg VARCHAR(20); mysql> quit 2) Modify variable.txt. I added the mfg field after weight UI_ITEM_FIELDS sku description category price image display comment size color weight mfg Item display 3) Add New Entry into mv_metadata ( via Admin Tables interface) Name Type Width Label products:mfg Text 30 Manufacturer I did not have to move or change the item_edit.html to the pages/admin directory in my catalog The next time I did an item edit the field was available to change. After saving the database show the value in the row. Hope this sheds some light. At 04:32 PM 2/16/01 +0000, you wrote: Okay I did that but I still don't get anything. All that I have is this: Is this all I am supposed to have and I have to create my own page? Does anyone have a copy of one they made? I would really appreciate it. [calc] $CGI->{mv_data_table} = $Config->{ProductFiles}[0]; if ($CGI->{item_id} eq 'new') { $CGI->{ui_new_item} = 1; } else { $CGI->{ui_hide_key} = 1 unless $CGI->{item_id} eq 'new'; } if(! $CGI->{ui_data_fields}) { $CGI->{ui_data_fields} = $Variable->{UI_ITEM_FIELDS} || 'sku description category comment price image weight size color'; } if(! $CGI->{ui_break_before}) { $CGI->{ui_break_before} = $Variable->{UI_ITEM_BREAK} || 'image size'; } my @args = ( '__UI_BASE__/item', "item_id_left=$CGI->{item_id_left}", "ui_sequence_edit=$CGI->{ui_sequence_edit}", ); $CGI->{ui_return_to} = join "\0", @args; return; [/calc] [if cgi ui_new_item] [calc] $CGI->{item_id} = q{[counter file="__UI_PRODUCT_DIR__/__UI_PRODUCT_DIR__.autonumber" start=new0000]}; return; [/calc] [/if] @_UI_STD_DBEDIT_HEAD_@ [seti page_title]Item editor: [cgi item_id][/seti] [seti page_banner]Item editor: edit item <B>[cgi item_id]</B>[/seti] [set help_name]edit.item[/set] [set icon_name]admin/icon_item.gif[/set] @_UI_STD_HEAD_@ <P> @_UI_STD_DBEDIT_TABLE_@ [if-mm super] <A HREF="[area href=admin/flex_editor form=' item_id=[cgi item_id] mv_data_table=__UI_PRODUCT_TABLE__ page_title=Edit items: [cgi item_id] help_name=inventory.edit ui_no_meta_display=1 ui_hide_key=1 ui_return_to=__UI_BASE__/item icon_name=admin/icon_item.gif ']">No meta display</A> [/if-mm] @_UI_STD_FOOTER_@ <!-- page: @@MV_PAGE@@ --> From: "Cameron Germein" <cameron.germein@team.eftel.com> Reply-To: interchange-users@lists.akopia.com To: <interchange-users@lists.akopia.com> Subject: Re: [ic] item_edit.html Can't setup new products!!!! Date: Fri, 16 Feb 2001 11:04:41 +0800 i bet the fields in your product database are different from those in the demo, right? if so, make a directory in your pages dir called "admin", and copy from interchange/lib/UI/pages/admin the item_edit.html page into your new admin directory. edit the new copy in there. From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 6 19:37:00 2001 Subject: [ic] Adding Fields <<Modify which files to accomplish this?>> $catalogroot/pages/flypage.html in the pages directory for the output, it would be near in the UI directory for the admin. Then you can modify the database tables to accomodate additional fields using whatever database structure you are using. We have made some modifications using text files also similar to how it is done in the specs.txt file in the products directory. There are many ways to do this.... <<"How can I add more fields?" This is covered really well in the tutorial. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 6 19:41:21 2001 Subject: [ic] Adding Fields > > How can I add more fields? > > > > Example: Create new item... I want more than just Product > > Name, Description, Category, Price, Weight, etc. > > > > Modify which files to accomplish this? > > > > Jim. > > Below is a HOWTO posted to the list a while back. > > Dan Browning Okay, that one wasn't very verbose. Here's three more: Zack Johson: (TIPS: Adding a new mysql table to IC) http://interchange.redhat.com/archive/interchange-users/2001/msg09174.ht ml Corey Gilmore: modifying columns (below) Mark Johnson: general description (below even further) I hope that helps, Dan Browning Kavod Technologies From: interchange-users-admin@interchange.redhat.com on behalf of Corey Gilmore [cfg@dln.uvm.edu] Sent: Thursday, September 27, 2001 7:20 AM To: interchange-users@interchange.redhat.com Subject: Tips and Tricks -- Modifying Columns (was Re: [ic] TIPS: Adding a new mysql table to IC) On Thu, 27 Sep 2001, Zack Johnson wrote: > > I know I've fought this before. Like if you add a column in mysql and > > Not to be a bugbear, but this is beyond the scope of my little micro-HOWTO > on adding new tables. You are talking about modifying existing tables. > Perhaps you could write-up a micro-HOWTO on modifying mysql tables? Using IC 4.6.5, when I want to add a new column to the products database, I do this: Load mysql, add a new column. ALTER TABLE products ADD COLUMN prod_summary varchar(255); The column is now in the database. Edit catalogdir/catalog/dbconf/mysql/products.mysql It should look something like # MiniVend database definition Database products products.txt __SQLDSN__ #ifdef SQLUSER Database products USER __SQLUSER__ #endif #ifdef SQLPASS Database products PASS __SQLPASS__ #endif Database products KEY sku ... We need to add our new column to this list Add Database products COLUMN_DEF "prod_summary=(VARCHAR255)" to the end of the file, save changes and close. Here, I Apply Changes within the Admin UI. This may not be necessary, but doesn't seem to hurt. I jump over to the Admin UI, and goto the Administration section. Choose Knar and edit the variable table (default). Search for the UI_ITEM_FIELDS variable. It will resemble sku description comment category type image display price nontaxable related featured required inactive weight shipping These fields are the ones that are shown when you edit/create a product. If you only wanted to view/edit the sku, description, comment and category you would just add those fields. The order the column names appear in the UI_ITEM_FIELDS variable determines the order they will appear in when an Item is edited. Add prod_summary (our new column name) where ever you want it to show. Lets put it after comment. sku description comment prod_summary category type image display price nontaxable related featured required inactive weight shipping Click OK. Now to synchronize the products.txt with the database, you need to export. Goto Tables in the Admin UI, and export the products table using the default settings. I Apply Changes once more here. Now go and edit an item. The new field prod_summary will appear. Click 'meta' and you can edit your display settings. I've found (with 4.6.5) that after I edit the meta for the field, it returns me to the previous page - without any other fields. I click OK until I return to the main Items page, and THEN the meta information is saved. This is a little rough, and some of the information may be extraneous, but I have finance homework due in 30 minutes ;) .cfg ######################################### ######################################### I missed the beginning of this discussion, so I'm not sure exactly where your problem lies. But, I can give you an overview of this particular question. There are two equally important portions of a table definition in Interchange if you are using a SQL database. There is the dbconf file, which defines the database-dependent definitions of the table, and there is the data file, which defines the field names (mandatory) and the start-up data (optional). So, at a minimum, you need a dbconf file which defines the DSN, and a data file that has all the fields present. If this is all you have, then your data file must be tab delimited, and the first field in your data file is assumed to be the primary key. Beyond this, you can define any number of various parameters about your table in the dbconf file. You can specify which field is the KEY, you can declare a DEFAULT_TYPE, which will be applied to every field found in your data file unless you supply an independent COLUMN_DEF. There are many other definitions you can apply in the dbconf file, too. Check out http://developer.akopia.com/cgi-bin/ic/dev/icdatabase So, when Interchange starts up and sees a table that has a data file and dbconf file, it checks for a file named table_name.sql in your products/ dir. If it does not find one, it will DROP the table in the database, CREATE a new one according to the parameters set in the dbconf file and the field names from the data file, and INSERT any rows of data that are in the data file. If it does find the .sql file, it will pass over the DROP, CREATE, and INSERT portion. You can define a table to use only the data it already has, essentially behaving by default as though the .sql file is always present, by the catalog directive 'NoImport table_name'. This will ensure that pre-existing data are NEVER removed from the DROP, CREATE sequence. See http://developer.akopia.com/cgi-bin/ic/dev/icconfig_120.html Even in the case of using a NoImport table, you should still have data file with all your fields defined. Interchange maintains its own metadata about the tables, and field names are derived by default from the data file. It may be the case that IC will use the SQL table to determine field names under certain circumstances, but I would not rely on that. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Nov 6 20:10:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. On Tue, 6 Nov 2001, Fred Pope wrote: > When we pass the tag: > [item-options td=1 label=1 bold=1 price=4 js="OnUpdate=jsfunction()"] > in the flypage > > I am assuming that we should now get the HTML output where the select boxes > for the options would now read: > > <select name=mv_order_optionname OnUpdate=jsfunction()> I believe what you want is: > [item-options td=1 label=1 bold=1 price=4 extra="OnUpdate=jsfunction()"] not js="...". Jon From: interchange-users at interchange.redhat.com (Andrew McBeath) Date: Tue Nov 6 22:01:00 2001 Subject: [ic] Problems with IE5 and item image upload in admin Has anyone noticed IE5 doesnt upload images properly in the item editor? The image never actually uploads, and the path doesnt get stripped off the filename thats placed in the db. It works fine under Opera and mozilla (linux), as well as opera and mozzie on MS... I'm surely theres something obvious staring me in the face here, but I sure cant see it. Is the bugzilla thingameewhatsit for interchange actually in use? Opera was doing one of it's weirdness things when I tried to use it but it seemed kinda light on bug entries...and anyway, I guess it's more like an ie problem than ic... -- Andrew McBeath System Administrator / Development Team Leader Zeald Ltd ICQ: 53879543 Mob: +64 25 796352 From: interchange-users at interchange.redhat.com (DB) Date: Wed Nov 7 00:25:01 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #760 - 42 msgs Thanks for the reply. I was able to install perl-Spreadsheet-ParseExcel-0.22.3-1.i386.rpm, but Interchange still tells me this in the "About Your Products" section of the Wizard: Please install needed Perl modules: Spreadsheet::ParseExcel The easiest way to do this is to use the CPAN module and do: perl -MCPAN -e 'install Spreadsheet::ParseExcel' I removed the rpm and tried the above perl command, but it failed saying: CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://archive.progeny.com/CPAN/authors/01mailrc.txt.gz Going to read /root/.cpan/sources/authors/01mailrc.txt.gz Can't locate object method "new" via package "LWP::UserAgent" at /usr/lib/perl5/5. 6.0/CPAN.pm line 1979, <GEN3> line 1757. Can anyone help me out? DB > On RH Linux 7.1, you can install the Perl module RPMS from ftp.ic.redhat.com. > Or you can ignore the error (it is probably OK) and do: > > perl -MCPAN -e 'force install Spreadsheet::ParseExcel' > > If a previous module (like IO::Stringy) failed to install, there will > be a problem. I suggest the RPMs in that case -- in fact, it might > be a good idea in general. > > -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. --__--__-- > > > >> Hi... >> >> I intsalled IC4.8.2 and it runs ok. I was able to install WriteExcel, >> but when I tried to install ParseExcel I get odd errors like >> >> >>> Compilation failed in require at test.pl line 11. >>> BEGIN failed--compilation aborted at test.pl line 11. >>> make: *** [test_dynamic] Error 2 >>> /usr/bin/make test -- NOT OK >>> Running make install >>> make test had returned bad status, won't install without force >> >> >> This is on RedHat 7.1. Any ideas? >> >> Dave >> M&D Mower >> http://M-and-D.com >> > > > From: interchange-users at interchange.redhat.com (fctmaillist) Date: Wed Nov 7 00:34:01 2001 Subject: [ic] Payment Processor Error Tracking hi we have integrated IC with Paradata (payment processor) using their perl API. The problem we are facing now is to handle the negative responses. if the payment processor returns a negative response, we need to stop the process and we need to show the error message in the checkout pages or a failure page. we have searched the mailing list for doing this but we could not able to get any success. we have done the following things when there is some error in the user tag " $Vend::Session->{errors}{mv_credit_card_valid} = $msg;". But we couldnot stop the flow as soon as we get the error for example invalid request to the processor. when we tried to display this error in the checkout page as [error std_label="Credit Card Information" name=mv_credit_card_valid] [if type=explicit compare="[error all=1 show_var=1 keep=1]"] <P> <B>There were errors in your last submission:<br> <blockquote> <FONT color="__CONTRAST__"> [error all=1 keep=1 show_error=1 show_label=1 joiner="<br>"] </font> </blockquote> </p> <p> The areas you need to correct are shown in <FONT color="__CONTRAST__">this color</FONT> below.</B> </p> [/if] we get the error even when we try to go to the checkout page itself since this is maintained in the session. if we move the [error std_label="Credit Card Information" name=mv_credit_card_valid] inside the if loop error is not at all displayed. but we could get the error in the error.log. thanks, joyce.j. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 7 01:04:01 2001 Subject: [ic] Payment Processor Error Tracking Quoting fctmaillist (fctmaillist@megasoft.com): > hi > we have integrated IC with Paradata (payment processor) using their > perl API. The problem we are facing now is to handle the negative > responses. if the payment processor returns a negative response, we need to > stop the process and we need to show the error message in the checkout pages > or a failure page. we have searched the mailing list for doing this but we > could not able to get any success. > we have done the following things when there is some error in the user tag > > " $Vend::Session->{errors}{mv_credit_card_valid} = $msg;". > > But we couldnot stop the flow as soon as we get the error for example > invalid request to the processor. It is all a question of how you are invoking it. Where is that done, and how? -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 7 01:08:00 2001 Subject: [ic] Problems with IE5 and item image upload in admin Quoting Andrew McBeath (andrew@ecombiz.co.nz): > Has anyone noticed IE5 doesnt upload images properly in the item editor? > The image never actually uploads, and the path doesnt get stripped off the filename thats placed in the db. > It works fine under Opera and mozilla (linux), as well as opera and mozzie on MS... Yes, this is known. The fix is in CVS. I think we are doing a release soon... You need to add this: $data{$file_fields[$i]}->[0] =~ s:.*\\::; below the similar line stripping to a / in bin/interchange. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Nov 7 01:32:01 2001 Subject: [ic] IP Based Domain Name Hosting Issue Thank you Kyle!!! I did as you said and changed the owner to interch and then, since I'm running SUEXEC - I ran chmod u+us and then the file directory and name and Walla - it works!! Thank you - I would have NEVER figured that it would have been a permission error since I had tried interch with no success, but adding the chmod etc etc worked with SUEXEC. But, like I said, I would have NEVER looked into that direction had it not been for your suggestion. Thanks a million (not dollars - I don't have that) hehehe Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Kyle Cook Sent: Tuesday, November 06, 2001 1:15 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] IP Based Domain Name Hosting Issue At 04:18 AM 11/6/01, you wrote: >Hi, > >I've been working with Interchange 4.8.2 for a few weeks, trying to get >everything installed and I believe that I've gotten most of the bigger >things accomplished except for the following: > <SNIP> >Ok - the first link Customer Entrance works fine. I can add multiple >catalogs under the domain and they all function correctly. The second >domain, wildnut.com - the Customer Entrance doesn't work at all and responds >back with Interchange Server is unavailable - even though I've restarted the >system several times, etc. I even tried copying the first foundation >cgi-bin file to the wildnut cgi-bin section - thinking that perhaps >something was wrong with it - but that didn't work. <SNIP> Justin, Did you also check the permissions of the cgi-bin file that you copied over ? At least on my system, If I copy it, I must then chmod 4755 so that it will run under the correct user when called (interch in my case) If you do have a working cgi-bin file and copy it and chmod 4755, it should report back as an unknown catalog or should work depending on the name of the file, interchange.cfg ..... I don't believe you need fullurl in this case, I've set up with several domain names with diff ip addresses on same box with out fullurl. Have you checked the various log files ? (interchange, catalog, apache) When it asked for path to httpd.conf, it was only trying to guess various paths for the set up, which you would then confirm or change during install. Hope this helps, Kyle _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Nov 7 02:50:02 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #760 - 42 msgs DB <DB@M-and-D.com> writes: > Thanks for the reply. I was able to install > perl-Spreadsheet-ParseExcel-0.22.3-1.i386.rpm, but Interchange still > tells me this in the "About Your Products" section of the Wizard: After installing the RPM, can you call perl -MSpreadsheet::ParseExcel -e '' without an error ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Andrew McBeath) Date: Wed Nov 7 06:12:01 2001 Subject: [ic] Problems with IE5 and item image upload in admin Sorry, I should have mentioned I'm running 4.8.2. The below mentioned fix already exists in my bin/interchange... Any ideas where I should start looking now? Cheers, Andrew > Quoting Andrew McBeath (andrew@ecombiz.co.nz): > > Has anyone noticed IE5 doesnt upload images properly in the item editor? > > The image never actually uploads, and the path doesnt get stripped off the filename thats placed in the db. > > It works fine under Opera and mozilla (linux), as well as opera and mozzie on MS... > > Yes, this is known. The fix is in CVS. I think we are doing a release > soon... You need to add this: > > $data{$file_fields[$i]}->[0] =~ s:.*\\::; > > below the similar line stripping to a / in bin/interchange. > > -- > 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 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Andrew McBeath System Administrator / Development Team Leader Zeald Ltd ICQ: 53879543 Mob: +64 25 796352 From: interchange-users at interchange.redhat.com (fctmaillist) Date: Wed Nov 7 06:51:01 2001 Subject: Fw: [ic] Payment Processor Error Tracking > > ----- Original Message ----- > > From: Mike Heins <mheins@redhat.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Wednesday, November 07, 2001 12:03 AM > > Subject: Re: [ic] Payment Processor Error Tracking > > > > > > > Quoting fctmaillist (fctmaillist@megasoft.com): > > > > hi > > > > we have integrated IC with Paradata (payment processor) using > > their > > > > perl API. The problem we are facing now is to handle the negative > > > > responses. if the payment processor returns a negative response, we > > need to > > > > stop the process and we need to show the error message in the checkout > > pages > > > > or a failure page. we have searched the mailing list for doing this > but > > we > > > > could not able to get any success. > > > > we have done the following things when there is some error in the user > > tag > > > > > > > > " $Vend::Session->{errors}{mv_credit_card_valid} = $msg;". > > > > > > > > But we couldnot stop the flow as soon as we get the error for example > > > > invalid request to the processor. --------------------------------------------------------------------------- > > > It is all a question of how you are invoking it. Where is that done, > > > and how? > > > --------------------------------------------------------------------------- In the profiles.order we have the following code __NAME__ credit_card fname=required lname=required address1=required city=required country=required [if value country =~ /^(US|CA)$/i] state=state_province zip=postcode [/if] &or phone_night=phone, phone_day=phone Must have day or evening phone number &fatal = yes email=required email=email &set = mv_payment Incomplete [if variable MV_PAYMENT_MODE] &credit_card=standard keep __CREDIT_CARDS_ACCEPTED__ &charge=[var MV_PAYMENT_MODE][cgi mv_payment_test] &set=mv_payment Real-time Credit Card (%c -- [var MV_PAYMENT_MODE]) [else] &set=mv_payment Credit Card (%c) &charge = [para some inputs ][/para] &fail=../special_pages/payment_response &fatal = yes &final = yes &setcheck=mv_email [value email] __END__ where para is the usertag to contact the payment processor. All the errors are assigned as " $Vend::Session->{errors}{mv_credit_card_valid} = $msg;". In checkout page we display the errors as follows : [if type=explicit compare="[error all=1 show_var=1 keep=1]"] <P> <B>There were errors in your last submission:<br> <blockquote> <FONT color="__CONTRAST__"> [error all=1 keep=1 show_error=1 show_label=1 joiner="<br>"] </font> </blockquote> </p> <p> The areas you need to correct are shown in <FONT color="__CONTRAST__">this color</FONT> below.</B> </p> [/if] Our problem is when the payment process return some error like credit card declined or invalid request we could not able to halt the control showing the receipt page. But our intention is throw back the checkout page with error message displayed. thanks, joyce.j. From: interchange-users at interchange.redhat.com (Andrew McBeath) Date: Wed Nov 7 07:36:01 2001 Subject: [ic] Problems with IE5 and item image upload in admin Deepest apologies...ignore the previous msg. I distractedly did not notice i was browsing the wrong server - it's definitely time for bed :) thanks anyway :) > Sorry, I should have mentioned I'm running 4.8.2. > The below mentioned fix already exists in my bin/interchange... > Any ideas where I should start looking now? > > Cheers, > > Andrew > > > Quoting Andrew McBeath (andrew@ecombiz.co.nz): > > > Has anyone noticed IE5 doesnt upload images properly in the item editor? > > > The image never actually uploads, and the path doesnt get stripped off the filename thats placed in the db. > > > It works fine under Opera and mozilla (linux), as well as opera and mozzie on MS... > > > > Yes, this is known. The fix is in CVS. I think we are doing a release > > soon... You need to add this: > > > > $data{$file_fields[$i]}->[0] =~ s:.*\\::; > > > > below the similar line stripping to a / in bin/interchange. > > > > -- > > 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 > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > -- > Andrew McBeath > System Administrator / Development Team Leader > Zeald Ltd > ICQ: 53879543 > Mob: +64 25 796352 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Andrew McBeath System Administrator / Development Team Leader Zeald Ltd ICQ: 53879543 Mob: +64 25 796352 From: interchange-users at interchange.redhat.com (Fred Pope) Date: Wed Nov 7 09:07:00 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. >>I believe what you want is: >> [item-options td=1 label=1 bold=1 price=4 extra="OnUpdate=jsfunction()"] >>not js="...". Hi Jon, Thanks for the input. I have actually tried that too. Looking at the code in the Interpolate.pm, I think that you can use both js="onupdate=somejavafunction()" or extra="onupdate=somejavafunction()" but neither of them seem to be adding any variables into the <select> tags generated from the IC [item-options] tag on the flypage, and I am not sure why. There must be something that I am missing. If you look at Interpolate.pm, there is first the section that builds the accessory select box, and then there is the section that uses that if the simple options (or matrix / modular for that matter) to generate the various select boxes. Mike made the changes to this code yesterday to include the js and extra into all of the relevant sections. There is something else. Thanks again.... Best - Fred From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Nov 7 11:55:00 2001 Subject: [ic] Problems with IE5 and item image upload in admin At 12:15 AM 11/08/2001 +1300, you wrote: >Sorry, I should have mentioned I'm running 4.8.2. >The below mentioned fix already exists in my bin/interchange... >Any ideas where I should start looking now? > >Cheers, > >Andrew I was going to reply to you original message, to the effect that I set up a site in 4.8.2 which uses image uploads and had no problems with IE. Can't think of much, other than that you need a symlink in your catalog directory which points to your image directory, and IC will need write permissions for the target directory. You'll also want to specify that link name in the directory field of the metadata record for the image upload widget. But most of this is the default condition when you install the foundation demo. - Ed L. > > Quoting Andrew McBeath (andrew@ecombiz.co.nz): > > > Has anyone noticed IE5 doesnt upload images properly in the item editor? > > > The image never actually uploads, and the path doesnt get stripped > off the filename thats placed in the db. > > > It works fine under Opera and mozilla (linux), as well as opera and > mozzie on MS... > > > > Yes, this is known. The fix is in CVS. I think we are doing a release > > soon... You need to add this: > > > > $data{$file_fields[$i]}->[0] =~ s:.*\\::; > > > > below the similar line stripping to a / in bin/interchange. > > > > -- > > 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 > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >-- >Andrew McBeath >System Administrator / Development Team Leader >Zeald Ltd >ICQ: 53879543 >Mob: +64 25 796352 >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Wed Nov 7 12:24:00 2001 Subject: [ic] Problems with IE5 and item image upload in admin I have a client that was using the Mac Version of IE. That would not send the complete file. It would always be corrupt. Switched to Netscape and it works fine Nathan Ed LaFrance wrote: > At 12:15 AM 11/08/2001 +1300, you wrote: > >> Sorry, I should have mentioned I'm running 4.8.2. >> The below mentioned fix already exists in my bin/interchange... >> Any ideas where I should start looking now? >> >> Cheers, >> >> Andrew > > > I was going to reply to you original message, to the effect that I set > up a site in 4.8.2 which uses image uploads and had no problems with IE. > > Can't think of much, other than that you need a symlink in your > catalog directory which points to your image directory, and IC will > need write permissions for the target directory. You'll also want to > specify that link name in the directory field of the metadata record > for the image upload widget. But most of this is the default > condition when you install the foundation demo. > > - Ed L. > > > > >> > Quoting Andrew McBeath (andrew@ecombiz.co.nz): >> > > Has anyone noticed IE5 doesnt upload images properly in the item >> editor? >> > > The image never actually uploads, and the path doesnt get >> stripped off the filename thats placed in the db. >> > > It works fine under Opera and mozilla (linux), as well as opera >> and mozzie on MS... >> > >> > Yes, this is known. The fix is in CVS. I think we are doing a release >> > soon... You need to add this: >> > >> > $data{$file_fields[$i]}->[0] =~ s:.*\\::; >> > >> > below the similar line stripping to a / in bin/interchange. >> > >> > -- >> > 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 >> > _______________________________________________ >> > interchange-users mailing list >> > interchange-users@interchange.redhat.com >> > http://interchange.redhat.com/mailman/listinfo/interchange-users >> >> >> >> -- >> Andrew McBeath >> System Administrator / Development Team Leader >> Zeald Ltd >> ICQ: 53879543 >> Mob: +64 25 796352 >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Wed Nov 7 13:34:00 2001 Subject: [ic] thumbnails on results.html Can anytime tell me the correct way to make the thumbnails come up on the results.html? I have been messing around with this, and I am guessing I am missing something simple. I get the boxes that are dead image. I used the images/thumb directory, but I am having trouble after that. Of course my books are at home and not in the office with me. I will kick myself when I see what I have missed. Thanks for any help. Nathan From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Wed Nov 7 14:15:01 2001 Subject: [ic] thumbnails on results.html "Nathan D. Olmscheid" wrote: > > Can anytime tell me the correct way to make the thumbnails come up on > the results.html? 1) Check your permissions, make sure the images are owned by the interchange user (usually interch). 2) Make sure there are no spaces in the file names. 3) Make sure you're putting your images in the correct directory (this isn't as stupid as it sounds if you have more than one catalog set up -- I've done it myself. :) Good luck, --J(K) From: interchange-users at interchange.redhat.com (Javier Martin) Date: Wed Nov 7 14:24:01 2001 Subject: [IC] Internal server error... Glenn said: > OK it's been a week and I still can't find it. Staring at it too much > maybe... > > IC 4.8.2 > Perl 5.6.1 > FreeBSD 4.0 > Foundation -- stock install. > > The "orders" and "merchandising" sections of the administrative > UI (and only > these major sections) return "Internal Server Error" -- each time every I'm also trying to track a similar problem down. My scenario is linux and perl 5.6.0 but I don't think it has anything to do. I get "500 Internal Server Error" when entering some parts of the UI, but ALWAYS as a non-admin user. The admin never gets 500. Does this coincide with you? I'm sorry I cannot clear things up, but I'll post here if I do. Or maybe you already found out the problem and you can help me instead :) Javier From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Wed Nov 7 14:47:01 2001 Subject: [ic] Fresh Build This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C167C4.E68129C0 Content-Type: text/plain; charset="iso-8859-1" Hello all, I am starting a fresh build on a fresh server. Redhat 7.2 Apache 1.3.20 Should I install the Interchange 4.8.2 RPM's or Source Tar Ball? I have noticed an issue with using this RPM (and others) when using the extractor...get an Error dialog box after it is finished installing RPM's. Thanks, Matt ------_=_NextPart_000_01C167C4.E68129C0 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C167C4.E68129C0-- From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Wed Nov 7 14:56:01 2001 Subject: [ic] thumbnails on results.html Here's what my code looks like for thumbnails: >[if-item-field thumb]<A HREF="[area [item-code]]"><img src="thumb/[item-field thumb]" ALT="[item-description]" BORDER="0"></A>[/if-item-field] Hope this helps Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Nathan D. Olmscheid Sent: Wednesday, November 07, 2001 1:30 PM To: interchange-users@interchange.redhat.com Subject: [ic] thumbnails on results.html Can anytime tell me the correct way to make the thumbnails come up on the results.html? I have been messing around with this, and I am guessing I am missing something simple. I get the boxes that are dead image. I used the images/thumb directory, but I am having trouble after that. Of course my books are at home and not in the office with me. I will kick myself when I see what I have missed. Thanks for any help. Nathan _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 7 14:59:03 2001 Subject: [ic] Fresh Build > Hello all, > I am starting a fresh build on a fresh server. > > Redhat 7.2 > Apache 1.3.20 > > Should I install the Interchange 4.8.2 RPM's or Source > Tar Ball? I have noticed an issue with using this RPM (and > others) when using the extractor...get an Error dialog box > after it is finished installing RPM's. > > Thanks, > > Matt I personally prefer the tarball. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Wed Nov 7 15:17:00 2001 Subject: [ic] Fresh Build Same here... I NEVER have a problem with the tarball... and ALWAYS have a problem with the .rpm versions... It just seems (impression) that with the tarball I can more easily compensate for how I set servers up. Dan Browning wrote: > > Hello all, > > I am starting a fresh build on a fresh server. > > > > Redhat 7.2 > > Apache 1.3.20 > > > > Should I install the Interchange 4.8.2 RPM's or Source > > Tar Ball? I have noticed an issue with using this RPM (and > > others) when using the extractor...get an Error dialog box > > after it is finished installing RPM's. > > > > Thanks, > > > > Matt > > I personally prefer the tarball. > > Dan Browning > Kavod Technologies > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- ========================================== Scott D. Medlock scottm@cosimo.net Commercial Open Systems, Inc. 315 Westport Road Kansas City, MO 64111 USA http://www.cosimo.net 816-410-1771 Voice 816-410-7622 Fax ========================================== From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 7 15:21:00 2001 Subject: [ic] Red Hat Information Center I really like Red Hat's new "Information Center" at http://www.redhat.com/info/ * Whitepapers (Red Hat Delivers Open Source E-Commerce) * Webcasts (lots of good ones in there) * Success Stories (google is my favorite) * Newsletters and Notifications It's the kind of stuff that is great for your clients. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 7 15:37:00 2001 Subject: [ic] ZDNet: "Red Hat suite makes e-commerce easy" "Red Hat suite makes e-commerce easy" http://www.zdnet.com/products/stories/reviews/0,4161,2823108,00.html Good article. But I really like the quote, "Mike Heins said that the next version would be based off of Microsoft IIS 5.0 for additional security, but denied that Bill Gates was paying him $1 billion to do so, as was rumored". Dan Browning Kavod Technologies ;-) From: interchange-users at interchange.redhat.com (Mathew Jones) Date: Wed Nov 7 16:14:01 2001 Subject: [ic] Page Editor changes image path Everytime I use the Page Edit tools, it automatically adds the following to all of my HTML Image Tags: /interchange/en_US/ e.g (converting img src="image.gif" to img src="/interchange/en_US/image.gif") How can I turn off this feature? I want to pull all my images from the /home/user/www/catname/images directory. Thanks Mat From: interchange-users at interchange.redhat.com (Birgitt Funk) Date: Wed Nov 7 16:31:00 2001 Subject: [ic] ZDNet:"RedHat suite makes e-commerce easy" Dan Browning wrote: >But I really like the quote, "Mike Heins said that the next version > would >be based off of Microsoft IIS 5.0 for additional security, but > denied >that Bill Gates was paying him $1 billion to do so,as was rumored". That's because the author of the ZDNet article hasn't done his homework. Also, Charlie Cho, from Webtechiques didn't get it right, when he finished his nice article, a review of Red Hat's E-Commerce Suite, saying: "The suite is ideal for anyone who needs to start quickly, likes his or her servers to stay running, doesn't have a ton of cash to burn, and wants to launch a business a little less grandiose than Amazon.com. In this economy, that could be a very large market indeed." Informed sources tell me, Cho missed that Amazon was out-bidding Microsoft for half a million to convince Mike to close the code for an "enhanced" amazonish-strong IC e-commerce package. As to be expected, rumors have it, Mike advised Gates and Bezos to go to Meg Whitman to convince her to switch to IC and then bid in public on the beautified IC-Ebay platform to try to get him a more appropriate offer for such a "thingy". :-) The Webtechnique article is not yet online, I think. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (John Beima) Date: Wed Nov 7 16:45:01 2001 Subject: [IC] Internal server error... If you are running your servers in RPC mode, simply down the MaxRequestsPerChil to 25 from 100 in the interchange.cfg file... Or switch to high or low traffic modes from rpc.... Both basicly get rid of that error... John Beima Quoting Javier Martin <martin@trymedia.com>: > Glenn said: > > > OK it's been a week and I still can't find it. Staring at it too > much > > maybe... > > > > IC 4.8.2 > > Perl 5.6.1 > > FreeBSD 4.0 > > Foundation -- stock install. > > > > The "orders" and "merchandising" sections of the administrative > > UI (and only > > these major sections) return "Internal Server Error" -- each time > every > > I'm also trying to track a similar problem down. My scenario is linux > and > perl 5.6.0 but I don't think it has anything to do. I get "500 Internal > Server Error" when entering some parts of the UI, but ALWAYS as a > non-admin > user. The admin never gets 500. Does this coincide with you? > > I'm sorry I cannot clear things up, but I'll post here if I do. Or maybe > you > already found out the problem and you can help me instead :) > > Javier > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (John Beima) Date: Wed Nov 7 16:49:00 2001 Subject: [ic] Page Editor changes image path Upgrade your Interchange to 4.8.2... It was a bug in the older versions... John Beima Quoting Mathew Jones <mat@booksellersolutions.com>: > Everytime I use the Page Edit tools, it automatically adds the following > > to all of my HTML Image Tags: > > /interchange/en_US/ e.g (converting img src="image.gif" to img > src="/interchange/en_US/image.gif") > > > How can I turn off this feature? I want to pull all my images from the > /home/user/www/catname/images directory. > > Thanks > > Mat > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Wed Nov 7 16:52:19 2001 Subject: [ic] orders always encrypt credit card number IC 4.8.2-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 Hi list, I recently upgraded to 4.8.2 from 4.6.5. I am receiving my orders with both credit card AND the invoice encrypted. I would like just the whole order encrypted. The docs stated to set either encrypt OR credit card to 1 (or both to encrypt both). Am I missing something else? I have restarted Interchange after making changes. The variables listed are set in variable.txt as such: ENCRYPTOR /usr/local/bin/gpg PGP_KEY orders@mysite.com ORDERS_TO orders@mysite.com Here is my routing and such in catalog.cfg: #CreditCardAuto Yes EncryptProgram __ENCRYPTOR__ EncryptKey __PGP_KEY__ # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 1 Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key '__PGP_KEY__' Route main pgp_key '__PGP_KEY__' Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Hope someone can help. Thanks again, everyone! Curt Hauge From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Nov 7 16:56:00 2001 Subject: [IC] Internal server error... At 08:23 PM 11/07/2001 +0100, you wrote: >Glenn said: > > > OK it's been a week and I still can't find it. Staring at it too much > > maybe... > > > > IC 4.8.2 > > Perl 5.6.1 > > FreeBSD 4.0 > > Foundation -- stock install. > > > > The "orders" and "merchandising" sections of the administrative > > UI (and only > > these major sections) return "Internal Server Error" -- each time every > >I'm also trying to track a similar problem down. My scenario is linux and >perl 5.6.0 but I don't think it has anything to do. I get "500 Internal >Server Error" when entering some parts of the UI, but ALWAYS as a non-admin >user. The admin never gets 500. Does this coincide with you? > >I'm sorry I cannot clear things up, but I'll post here if I do. Or maybe you >already found out the problem and you can help me instead :) > >Javier You set off a light in my head - something like this happened to on a project; I'm pretty sure the IC version was 4.7.4. Ultimately I edited the access table directly, removing a pair of empty double quotes ("") in the table_control field for the account in question and the problem went away. I didn't have the time and inclination to dig any further and perhaps that particular issue has already been rendered moot in 4.8.2, but I guess it is worth mentioning. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (RobertTrembath) Date: Wed Nov 7 17:09:01 2001 Subject: [ic] Re:Credit Info Mike, I mean no injury or insult to you or anyone at RH. I know that you and others here have put many years of hard work into what I think is the best e-commerce solution written. >I asked you not to post the not-recommended workaround to the list. You did >it anyway. Therein lies my problem with it. I apologize, but I never saw a message stating the above or I wouldn't have posted it. > Neither Red Hat or I have NEVER said that unencrypted credit card numbers >would be a part of the feature set. I challenge you to find where we did. I merely tried to communicate that to some of us, this was viewed as a backwards compatibility issue and backwards compatibility was promoted as a feature. >Also, I have a problem with *all* the messages you posted. Each one got >bigger and bigger, as you left the quoted text on the bottom in an almost >undecodable state, sigs and headers and all, not bothering to trim or show >context. Actually, that is why I didn't get involved in the thread until it >became longer. I ignore 95% of messages that have lazy quoting. I apologize for the lazy quoting. No excuses. >I have turned down consulting contracts that required that I store the >unencrypted CC number in a database on a net-connected machine. I do not recommend this either. We do not store that info in the DB. We merely wanted local mail for this store owner, (inside his firewall locally with 3 people on his network and a secure Computer Room), to contain the CC info. I expressed this in many messages and even asked if someone could point me to a site that had good docs for setting up PGP/GPG since it looked like some here were having an issue with PGP. I had one person respond in 6 weeks. Sorry for the attitude. I appreciate your direct (and educational ;-)) reply. I sincerely appreciate everyone's help here and didn't mean to cause trouble. I apologize if anyone was offended in any way. Just trying to help those who asked, like I did, and had a hard time getting an answer. ----------------------------- Robert Trembath Senior IT Director e| Robert@ishoptech.com From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Wed Nov 7 17:14:01 2001 Subject: [IC] Internal server error... Well, I'm having the exact same errors... Only in the Admin, only when setting the CC Payment up in the wizard.... All modes (rpc, low, high) give the same error... And the logs show a "can't fork" error. The interesting thing is this is on a serious machine that should be able to fork all it wants (4 UltraSparc 3s, 12Gb RAM, etc).. Anyone else have a potential fix? Did I fubar my kernel or is this really an Interchange thing? THX John Beima wrote: > If you are running your servers in RPC mode, simply down the MaxRequestsPerChil > to 25 from 100 in the interchange.cfg file... Or switch to high or low traffic > modes from rpc.... Both basicly get rid of that error... > > John Beima > > Quoting Javier Martin <martin@trymedia.com>: > > > Glenn said: > > > > > OK it's been a week and I still can't find it. Staring at it too > > much > > > maybe... > > > > > > IC 4.8.2 > > > Perl 5.6.1 > > > FreeBSD 4.0 > > > Foundation -- stock install. > > > > > > The "orders" and "merchandising" sections of the administrative > > > UI (and only > > > these major sections) return "Internal Server Error" -- each time > > every > > > > I'm also trying to track a similar problem down. My scenario is linux > > and > > perl 5.6.0 but I don't think it has anything to do. I get "500 Internal > > Server Error" when entering some parts of the UI, but ALWAYS as a > > non-admin > > user. The admin never gets 500. Does this coincide with you? > > > > I'm sorry I cannot clear things up, but I'll post here if I do. Or maybe > > you > > already found out the problem and you can help me instead :) > > > > Javier > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- ========================================== Scott D. Medlock scottm@cosimo.net Commercial Open Systems, Inc. 315 Westport Road Kansas City, MO 64111 USA http://www.cosimo.net 816-410-1771 Voice 816-410-7622 Fax ========================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 7 17:17:03 2001 Subject: Fw: [ic] Payment Processor Error Tracking Quoting fctmaillist (fctmaillist@megasoft.com): > > > > > > > > > > " $Vend::Session->{errors}{mv_credit_card_valid} = $msg;". > > > > > > > > > > But we couldnot stop the flow as soon as we get the error for > example > > > > > invalid request to the processor. > > --------------------------------------------------------------------------- > > > > It is all a question of how you are invoking it. Where is that done, > > > > and how? > > > > > --------------------------------------------------------------------------- > > In the profiles.order we have the following code > __NAME__ credit_card > fname=required > lname=required > address1=required > city=required > country=required > [if value country =~ /^(US|CA)$/i] > state=state_province > zip=postcode > [/if] > &or phone_night=phone, phone_day=phone Must have day or evening phone number > > &fatal = yes > email=required > email=email > > &set = mv_payment Incomplete > [if variable MV_PAYMENT_MODE] > &credit_card=standard keep __CREDIT_CARDS_ACCEPTED__ > &charge=[var MV_PAYMENT_MODE][cgi mv_payment_test] > &set=mv_payment Real-time Credit Card (%c -- [var MV_PAYMENT_MODE]) > [else] > &set=mv_payment Credit Card (%c) > &charge = [para some inputs ][/para] Nope -- that will not work. The &charge primitive accepts either a known mode (one of the Vend::Payment modules) or the nambe of a globalsub with "custom globalsub". This is discussed in the docs, but remember that the [itl tags] get interpolated before the profile primitives. The only way to do it in-line is with &calc=<<EOF $Values->{mv_credit_card_valid = $Tag->para('input', 'input', @etc); EOF I would recommend that you put your usertag into a globalsub and use the standard interface, or better yet make it into a Vend::Payment::Para module. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 7 17:21:02 2001 Subject: [ic] orders always encrypt credit card number Quoting Curt Hauge (chc@mninter.net): > IC 4.8.2-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 > > Hi list, > > I recently upgraded to 4.8.2 from 4.6.5. I am receiving my orders with both > credit card AND the invoice encrypted. I would like just the whole order > encrypted. The docs stated to set either encrypt OR credit card to 1 (or > both to encrypt both). Am I missing something else? I have restarted > Interchange after making changes. The variables listed are set in > variable.txt as such: > ENCRYPTOR /usr/local/bin/gpg > PGP_KEY orders@mysite.com > ORDERS_TO orders@mysite.com > > Here is my routing and such in catalog.cfg: > > #CreditCardAuto Yes > EncryptProgram __ENCRYPTOR__ > EncryptKey __PGP_KEY__ You don't mention that you tried running gpg from the command line, *as the Interchange UID*, with: echo test | /usr/local/bin/gpg --always-trust -e -a -r 'orders@mysite.com' If that doesn't yield an encrypted message, you probably have a GPG keyring problem. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson From: interchange-users at interchange.redhat.com (Nick Hall) Date: Wed Nov 7 19:38:01 2001 Subject: [ic] Getting rid of mv_session_id in Process Forms? I have IC pages with links like: [page form=" mv_click=subcat mv_todo=return mv_nextpage=subcat subcategory='abc' startRow=0 "] which use the process form action to pass multiple values to a page. I have "ScratchDefault mv_no_session_id 1" set in my catalog.cfg and when you go to a product page, if the user has cookies on, it won't put the session id in the url. However, regardless of the status of cookies, the process urls always have the mv_session_id in the url. Does anyone know of a way to fix this? Looking through Interpolate.pm, I see that if I set the scratch variable mv_force_cache then it won't put the session id there. Does anyone know more about this scratch variable? I can't find any documentation on it. Thanks. Nick Hall From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 7 20:31:00 2001 Subject: [ic] Getting rid of mv_session_id in Process Forms? On Wed, Nov 07, 2001 at 06:37:55PM -0600, Nick Hall wrote: > I have IC pages with links like: > [page form=" > mv_click=subcat > mv_todo=return > mv_nextpage=subcat > subcategory='abc' > startRow=0 > "] > > which use the process form action to pass multiple values to a page. I have > "ScratchDefault mv_no_session_id 1" set in my catalog.cfg and when you go > to a product page, if the user has cookies on, it won't put the session id > in the url. However, regardless of the status of cookies, the process urls > always have the mv_session_id in the url. > > Does anyone know of a way to fix this? Looking through Interpolate.pm, I > see that if I set the scratch variable mv_force_cache then it won't put the > session id there. Does anyone know more about this scratch variable? I > can't find any documentation on it. Thanks. I'd not count on mv_force_cache for that purpose. Look in the docs for page caching. It probably lets you build a cached version of a page that would otherwise not be permitted because of the various tags. You'd probably be better off modifying the tag [page] instead. Look at Util::VendUrl (I'm use an older version myself but it's probably the same.) You will find it elsewhere too. Plus you will be able to back it out easier. :-) Our experience is to do everything we can to maintain session, even redundant. What are you trying to accomplish by not showing the session id? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 7 21:01:00 2001 Subject: [ic] Getting rid of mv_session_id in Process Forms? Quoting Nick Hall (NickHall@flashmail.com): > I have IC pages with links like: > [page form=" > mv_click=subcat > mv_todo=return > mv_nextpage=subcat > subcategory='abc' > startRow=0 > "] > > which use the process form action to pass multiple values to a page. I have > "ScratchDefault mv_no_session_id 1" set in my catalog.cfg and when you go > to a product page, if the user has cookies on, it won't put the session id > in the url. However, regardless of the status of cookies, the process urls > always have the mv_session_id in the url. Just set [tmp mv_force_cache]1[/tmp] somewhere above it. That will make the effect temporary to that page. Perhaps it is a bad name, but the intent is to always add the mv_session_id to a *form* URL, which should not be cached by someone (like AOL's proxy server). -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Birgitt Funk) Date: Wed Nov 7 22:39:01 2001 Subject: [ic] ZDNet:"RedHat suite makes e-commerce easy" rereading my previous comment, I realize that people might not find it that funny and my attempt of making a joke was a shot in the wrong direction and could be misunderstood. Sorry for that. I really just wanted to point out that the December edition of Webtechniques has a good review of the IC E-commerce package. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (anandha prassanna) Date: Thu Nov 8 00:20:01 2001 Subject: [ic] Clarification regarding user tag Hi all & Mike , I found a major difference between the behavior of user tag placed in catalog.cfg and the same placed in the it the dierective /usr/lib/interchange/usertag directory. The following is the usertag . This was a ditto from pdf supllied by the interchange for reference of user tag. UserTag quick_table HasEndTag UserTag quick_table Interpolate UserTag quick_table Order border UserTag quick_table Routine <<EOF sub { my ($border,$input) = @_; &Log($input); &Log($border); $border = " BORDER=$border" if $border; my $out = "<TABLE ALIGN=LEFT $border>"; my @rows = split /\n+/, $input; my ($left, $right); for(@rows) { $out .= '<TR><TD ALIGN=RIGHT VALIGN=TOP>'; ($left, $right) = split /\s*:\s*/, $_, 2; $out .= '<B>' unless $left =~ /</; $out .= $left; $out .= '</B>' unless $left =~ /</; $out .= '</TD><TD VALIGN=TOP>'; $out .= $right; $out .= '</TD></TR>'; $out .= "\n"; } $out .= '</TABLE>'; } EOF Now there has been a specification when the user tag has EndTag the text enclosed with in the tag will the last input i.e., my ($border,$input) = @_; Now if i invoke this usertag with a .html page like this when the user tag placed in catalog.cfg [set name="Name"]Prassy[/set] [set name="Country"]US[/set] [quick-table border=2] Name : [scratch Name] City : [scratch Country] [/quick_table] This produce the output as desired that is the $border takes the value of 2 $input takes the value Name : [scratch Name] City : [scratch Country] On the contrast if i place the usertag in the directory of interchange /usr/lib/interchange/usertag the ouput is not as desired. Since $border takes the value of 2 $input takes the valus of 2 To overcome this i just printed the @_ variable and noticed that the text enclosed between the tags came as the third parameter. Hence i changed the my ($border,$input) = @_; to my ($border,$in,$input) = @_; Now this worked and produced the desired tabular ouput containing name Prassy country Us Note: When experimenting with the other one i removed the usertag from the catalog.cfg and restarted interchange. Any body who can solve this is greatly welcomed . with regards, Prassy..... From: interchange-users at interchange.redhat.com (Andrew M. La Marche) Date: Thu Nov 8 00:41:01 2001 Subject: [ic] Uh Oh, Newbie in deep trouble! I think that I just got in over my head. I want to open up an online store but know hardly anything about programming. I downloaded the tarbal, and there it sits. I have no idea how to install this awesomely breathtaking script. Is there anyone out there that might be interested in helping out an inexperienced newbie like me? I would really like to use this script but wow! is it beyond my means for right now! I think that once it was up and running I wouldn't have too much difficulty getting the hang of administering it... Thank you for any help, I would really appreciate it. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Nov 8 02:55:01 2001 Subject: [ic] Browser security question! Maybe off topic! Hi List, I've a frameset in my IC catalog and I have a page checkout, which is set to secure in my catalog.cfg. An user is able to log in in my checkout page. But a left frame has a menu bar and a status bar (with a message like "You are logged in!" or "You are not logged in!" for example). After log in in my checkout page, I get an error message by the JS: -------- snip ------- JavaScript Error: https://www.bpa.leidinger.local/cgi-bin/intos/process.html, line 727: access disallowed from scripts at https://www.bpa.leidinger.local/cgi-bin/intos/process.html to documents at another domain. -------- snip ------- I can't understand, why I've another domain. It is another protocol "http" instead of "https". My customer don't want to remove the log in part from the checkout page! :-( I've a JS like <script>parent[4].location.href="[area menu_2]"</script> in my checkout page. This script reload the page menu_2 into the frame[4], wich is insecure (http). Setting the page "menu_2" to secure is not the solution. I read some information about privilege! But I could not found a JS solution to allow the Browser, to read the page "menu_2". Any helps, hints and suggestions are very wellcome. Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Nov 8 03:18:00 2001 Subject: [ic] Problems with IE5 and item image upload in admin "Nathan D. Olmscheid" wrote: > > I have a client that was using the Mac Version of IE. That would not > send the complete file. It would always be corrupt. > > Switched to Netscape and it works fine Is that NS running under MAC? I've a client, who is using a ftp program for MAC and he is not able to read a file. The file, who make the client mad is a symlink, which point to a file in another directory. The netfinder of the client tell him the name and the kind (alias) of the file. If he tries to read the file, he get an error "550 myfilename.txt: No such file or directory". Any comments? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 8 08:32:00 2001 Subject: [ic] Uh Oh, Newbie in deep trouble! On Thu, 8 Nov 2001, Andrew M. La Marche wrote: AMLM>>I think that I just got in over my head. I want to open up an online store AMLM>>but know hardly anything about programming. I downloaded the tarbal, and AMLM>>there it sits. I have no idea how to install this awesomely breathtaking AMLM>>script. Is there anyone out there that might be interested in helping out an AMLM>>inexperienced newbie like me? I would really like to use this script but AMLM>>wow! is it beyond my means for right now! I think that once it was up and AMLM>>running I wouldn't have too much difficulty getting the hang of AMLM>>administering it... Interchange has a VERY, VERY steep learning curve. It's docs are difficult, even for experienced programmers. It has a LOT of great features which can make it worth the work. It took me nearly 6 months of work (in between running a business) to get my store on line. I suggest that you send an e-mail to support@akopia.com. For a fee, they will install it for you. That way you will know that it is installed right. However, unless there are some particular features that IC has, I suggest you start out with something easier. One that worked very well for me is commerce.cgi by Richie Carey. It, too, is free, and the docs are relatively sparse in that one too. In the meantime, to open the tarball-- tar -xzvf [filename] There are doc files in there that can get you started. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 08, 2001 at 08:25 AM: Police Blotter: Energizer Bunny Charged with Battery! ---------------------------------------------------------------- This Linux System has been up 310 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Laura R Donnelly) Date: Thu Nov 8 09:05:00 2001 Subject: [ic] Uh Oh, Newbie in deep trouble! > On Thu, 8 Nov 2001, Andrew M. La Marche wrote: > > AMLM>>I think that I just got in over my head. I want to open up an online store > AMLM>>but know hardly anything about programming. I downloaded the tarbal, and > AMLM>>there it sits. I have no idea how to install this awesomely breathtaking > AMLM>>script. Is there anyone out there that might be interested in helping out an > AMLM>>inexperienced newbie like me? I would really like to use this script but > AMLM>>wow! is it beyond my means for right now! I think that once it was up and > AMLM>>running I wouldn't have too much difficulty getting the hang of > AMLM>>administering it... > You may also consider starting with a host company that has it installed for you. It took me a month to get my site up and running...of course with a lot of help from the boards :) From: interchange-users at interchange.redhat.com (joachim.richter) Date: Thu Nov 8 09:58:00 2001 Subject: [ic] Session Expiration Hi all, On the Apple Homepage I found an interesting feature. After logging in and being inactive for a certain amount of time you are redirected to a page that says something like : For security reasons you have to log in again bla bla bla Can we do this as well ? Does anybody have a clue how to accomplish this ? What about this idea ? (We are using interchange 4.8) If I put this in all of the top regions : <script language="JavaScript"> function GetURL() { window.location.href="http://www.somewhere/you_outta_here" } </script> <body bgcolor="#FFFFFF" onLoad="window.setTimeout('GetURL()',7777)"> Then the 'GetURL()',7777)"> would have to be changed to an amount of time equal to the session expire time. Question now would be : when does the normal session expire ? I have not found the entry "SessionExpire" in the catalog.cfg, is it ok to put the entry there again ? And what about the idea just to set the time of the javascript (thats the 7777) to any desired time and the path of the window.location to the logout page. Which would leave only one question what does 7777 stand for timewise, are they miliseconds? Input will be appreciated.# US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 8 10:26:01 2001 Subject: [ic] Session Expiration On Thu, Nov 08, 2001 at 01:56:15PM +0000, joachim.richter wrote: > Hi all, > > On the Apple Homepage I found an interesting feature. > > After logging in and being inactive for a certain amount of time you are redirected > to a page that says something like : > > For security reasons you have to log in again bla bla bla > > Can we do this as well ? Does anybody have a clue how to accomplish this ? > What about this idea ? (We are using interchange 4.8) > Put another cookie in using [op header] and set it for a short time period. Use javascript to check that cookie and redirect to the login page if it is not still valid. > If I put this in all of the top regions : > > <script language="JavaScript"> > function GetURL() { > window.location.href="http://www.somewhere/you_outta_here" > } > </script> > > <body bgcolor="#FFFFFF" onLoad="window.setTimeout('GetURL()',7777)"> > > Then the 'GetURL()',7777)"> would have to be changed to an amount of time equal > to the session expire time. > > Question now would be : > > when does the normal session expire ? > I have not found the entry "SessionExpire" in the catalog.cfg, > is it ok to put the entry there again ? > > And what about the idea just to set the time of the javascript (thats the 7777) > to any desired time and the path of the window.location to the logout page. > > Which would leave only one question what does 7777 stand for timewise, > are they miliseconds? > > Input will be appreciated.# > US Video Center Medien GmbH > Heimsheimer Str 22 > 70499 Stuttgart > > Tel 0711 880252 0 > Fax 0711 880252 22 > Email joachim.richter@usvideocenter.de > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Nov 8 10:31:02 2001 Subject: [ic] Session Expiration [snip] > Question now would be : > > when does the normal session expire ? > I have not found the entry "SessionExpire" in the catalog.cfg, > is it ok to put the entry there again ? > yes. See: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig05%2e78 This says it defaults to one day. I looked in Config.pm for IC 4.6.4 and the default is one hour there. > And what about the idea just to set the time of the javascript > (thats the 7777) > to any desired time and the path of the window.location to the > logout page. I have seen a routine (I think on the netsolutions website..?) which pops up a messagebox alerting you that your session is about to expire. This would be an alternative. For ic, I think this is only really relevant if you are logged in since your session values are kept for longer. (see SaveExpire: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig05%2e69 - default is 30 days) > Which would leave only one question what does 7777 stand for timewise, > are they miliseconds? Yes. see http://developer.netscape.com/docs/manuals/communicator/jsref/win1.htm Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Thu Nov 8 10:39:01 2001 Subject: [ic] IC 4.8.2 Getting Started Guide This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C1686B.85309EB0 Content-Type: text/plain; charset="iso-8859-1" Hello All, I am trying to make sure I give this a good effort to get Interchange running. Therefore, I have noticed on the IC Dev documentation site, a reference to the Interchange 4.8.2 Getting Started Guide. It seems to cover makecat etc... Can someone point me (link or otherwise) to where I can find this? Thanks, Matt <<Matt Ballou (E-mail).vcf>> ------_=_NextPart_000_01C1686B.85309EB0 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C1686B.85309EB0-- From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Nov 8 11:13:00 2001 Subject: [ic] Items not appearing in front end At 11:32 AM 10/29/01 -0500, you wrote: >Hello again all, > One of our IC (4.8.2 RH7.1, Perl 5.6.1) sites appears to be > "forgetting" about a few item in the database. Everything shows up fine > in the admin UI, you can search for/modify/delete/clone the items in the > UI. But the front end doesn't display them. You can do a search for the > or other unique text/entries the item may have and it will always come up with: > >Sorry, I didn't find any matches for ARRAY(0x837df18). > >With no error.log entry. > >I've checked the txt structure. Deleted the gdbm/recreated it. I even >tried deleting the entry, and then recreating it with the same sku #. The >behavior is still the same. This got me to thinking that there might be >an old entry fragment or something. I checked all the db/txt files and >couldn't find any reference to any of the faulty sku's. They only appear >in the products table. At this point I'm almost thinking that it is some >strange quirk in GDBM, and am about ready to try migrating it to pgsql to >see if that corrects the problem. There are only 3/>500 items that >exhibit this behavior, and before I do that, I wanted to see if anyone on >the list has experienced anything similar to this. I posted the above message a while ago, I am still experiencing this problem. I have moved the database to pgsql 7.0.3 and can manually do the query through the command line. I can in IC use the URL to do something like this. http://www.diabeticexpress.com/cgi-bin/dexpress.cgi/scan/sf=code/se=04-09 or even http://www.diabeticexpress.com/cgi-bin/dexpress.cgi/04-09.html But you can't search through the search box for it. It will always give an error. I have two other products that exhibit the exact same behavior. Again, nothing shows up in either error logs, and every time I try to turn DEBUG on, it IC fails on me. Which I can't have on a live site. The search box is the search_box_small component. My setup is: IC 4.8.2 Perl 5.6.1 RaqXTR (modded version of rh6.x) From: interchange-users at interchange.redhat.com (Daragh Mulvey) Date: Thu Nov 8 11:26:01 2001 Subject: [ic] TIPS AND TRICKS: Tree example I've just implemented the Tree example on a store I'm currently working on. It's working fine from a tree point of view, but when I click on one of the sub categories, I typically get back Sorry, no matches for (?:^|\ )Hardware\b AND \b\:Nails\b (This is using the default Hardware foundation store) I noticed that the URL of the subcategories features *way* too many spaces (%20) in the URL as follows: http://devlserver/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/s f=comb_category/se=Tool%20Storage%20%20%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20 %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 0%3aTool%20Belts.html If I remove all the excess %20 from the url above it works fine - but I can't get the system to produce the URL as it should be http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/ sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html which (I think) is http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/ sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html This URL works.... can you help? -Daragh From: interchange-users at interchange.redhat.com (Gustavo A. Barreto A.) Date: Thu Nov 8 11:31:01 2001 Subject: [ic] Results Template This is a multi-part message in MIME format. ------=_NextPart_000_007D_01C16848.C68714C0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_007E_01C16848.C68714C0" ------=_NextPart_001_007E_01C16848.C68714C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, I have a customer who wants to make something a little bit = different. He sells shoes and he wants to have a box for determine the = ammount of shoes of each size the client want to buy. I mean something = like: SKU Description SIZES =20 5 6 7 8 9 10 12 14 XXX-01 SHOE 1 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] ADD TO CART The way it should work is writing the ammount of each size the user = wants to buy, and after the user uses the add to cart button all the = information should go to the shopping cart. Additionally he doesnt wants to ask the user for any payment method.=20 Now the question: Any idea how can I that? Any help will be apreciated! Thnks. Gustavo. ------=_NextPart_001_007E_01C16848.C68714C0 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.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DCourier size=3D2>Hello all, I have a customer who = wants to=20 make&nbsp;something a little bit different. He sells shoes and he wants = to have=20 a box for determine the ammount of shoes of each size the client want to = buy. I=20 mean something like:</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>SKU&nbsp;&nbsp;&nbsp;=20 Description&nbsp;&nbsp;&nbsp; SIZES&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;=20 </FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier=20 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 5 &nbsp; 6&nbsp; &nbsp;7&nbsp;&nbsp; 8&nbsp;&nbsp; 9&nbsp;&nbsp; = 10&nbsp;=20 12&nbsp; 14</FONT></DIV> <DIV><FONT face=3DCourier size=3D2>XXX-01 SHOE 1&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp; [&nbsp;] [ ] [ ] [ ] [ ] [ ] [ ] [ = ]&nbsp;&nbsp;&nbsp;=20 ADD TO CART</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>The way it should work is writing the = ammount of=20 each size the user wants to buy, and after the user uses the add to cart = button=20 all the information should go to the shopping cart.</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Additionally he doesnt wants to ask = the user for=20 any payment method. </FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Now the question:</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Any idea how can I that?</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Any help will be = apreciated!</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Thnks.</FONT></DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DCourier size=3D2>Gustavo.</FONT></DIV></BODY></HTML> ------=_NextPart_001_007E_01C16848.C68714C0-- ------=_NextPart_000_007D_01C16848.C68714C0 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:20011108T163032Z END:VCARD ------=_NextPart_000_007D_01C16848.C68714C0-- From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Thu Nov 8 11:42:00 2001 Subject: [ic] page_edit search error 2.246 - [08/November/2001:10:14:47 -0500] outlet /cgi-bin/outlet/admin/page_edit search error: your search file a valid database reference, was 'backup'. My main problem is when ever you click on a category, or do al null search to list all products, it hangs and does not finsish loading the page. Is this related to the error that I am receiving? I have a few other catalogs that the search functions work great on them, so I know its not a server/bandwidth problem. Any help is appreciated! Nathan From: interchange-users at interchange.redhat.com (Donal H.) Date: Thu Nov 8 12:11:01 2001 Subject: [ic] TIPS AND TRICKS: Tree example Ok, problem solved - it was because all entries in the products.prod_group column were padded to 128 characters. -Donal ----- Original Message ----- From: "Daragh Mulvey" <daragh@online.ie> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 08, 2001 4:30 PM Subject: [ic] TIPS AND TRICKS: Tree example > I've just implemented the Tree example on a store > I'm currently working on. It's working fine from > a tree point of view, but when I click on one > of the sub categories, I typically get back > > Sorry, no matches for (?:^|\ )Hardware\b AND \b\:Nails\b > > (This is using the default Hardware foundation store) > > I noticed that the URL of the subcategories features > *way* too many spaces (%20) in the URL as follows: > > http://devlserver/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/s > f=comb_category/se=Tool%20Storage%20%20%20%20%20%20%20%20%20%20%20%20%20%20% > 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 > 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20 > %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20% > 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 > 0%3aTool%20Belts.html > > If I remove all the excess %20 from the url above it works fine > - but I can't get the system to produce the URL as it should be > > http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/ > sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html > > which (I think) is > > http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/ > sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html > > This URL works.... can you help? > > -Daragh > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 8 12:15:33 2001 Subject: [ic] TIPS AND TRICKS: Tree example DM> I noticed that the URL of the subcategories features DM> *way* too many spaces (%20) in the URL as follows: DM> http://devlserver/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/s DM> f=comb_category/se=Tool%20Storage%20%20%20%20%20%20%20%20%20%20%20%20%20%20% DM> 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 DM> 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20 DM> %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20% DM> 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 DM> 0%3aTool%20Belts.html I have seen this happen in files that contain windows style line feed characters. Try replaceing them with Unix style line feed characters. Something like perl -pi -e 's/\015?\012/\n/g;' your_file.html might work. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at interchange.redhat.com (Lars Oltmanns) Date: Thu Nov 8 12:20:11 2001 Subject: [ic] Unsubscribe from this list Hi, what do I have to do to be unsubscribed from this list? Best regards, Lars From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 8 12:25:01 2001 Subject: [ic] TIPS AND TRICKS: Tree example Quoting Daragh Mulvey (daragh@online.ie): > I've just implemented the Tree example on a store > I'm currently working on. It's working fine from > a tree point of view, but when I click on one > of the sub categories, I typically get back > > Sorry, no matches for (?:^|\ )Hardware\b AND \b\:Nails\b > > (This is using the default Hardware foundation store) > > I noticed that the URL of the subcategories features > *way* too many spaces (%20) in the URL as follows: > > http://devlserver/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/s > f=comb_category/se=Tool%20Storage%20%20%20%20%20%20%20%20%20%20%20%20%20%20% > 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 > 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20 > %20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20% > 20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2 > 0%3aTool%20Belts.html > > If I remove all the excess %20 from the url above it works fine > - but I can't get the system to produce the URL as it should be > > http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/ > sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html > > which (I think) is > > http://interchange/shop/donal7/scan/fi=products/st=db/bs=1/tf=comb_category/ > sf=comb_category/se=Tool%20Storage%20Tool%20Belts.html > > This URL works.... can you help? I bet you are using Postgres, Oracle, or some other DB which pads the char() data type. Try changing all field types in tree to varchar() and see what happens; or you can add "Database tree ChopBlanks 1" to your database config. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Software axiom: Lack of speed kills. From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Nov 8 12:37:01 2001 Subject: [ic] IC 4.8.2 Getting Started Guide "Therefore, I have noticed on the IC Dev documentation site, a reference to the Interchange 4.8.2 Getting Started Guide." Try the tutorial, and the readme files on the install. The tutorial should get you started. - Fred -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 8 12:42:00 2001 Subject: [ic] more or less? Hi All Does the [more-list][/morelist] and [matches] combination only work with 'components'? The reason I'm asking: I'm trying to limit the number of items on the results page to 6. It works perfectly when searching (ie using the search_box_small component) but, when choosing a category link, it has no effect at all. I've tried all kinds of permutations using mv_matchlimit including placing it in a <form></form>. I've looked through every file in IC dir structure and can't find where to put the relevant commands. Thanks :o) Dave From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Thu Nov 8 12:47:00 2001 Subject: [ic] Unsubscribe from this list > Hi, > > what do I have to do to be unsubscribed from this list? > > Best regards, > > Lars Simply follow the link that comes with EVERY email that comes from this list. R E A D that page that appears, and follow the instructions. Rene From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 8 12:51:02 2001 Subject: [ic] more or less? Hi All Does the [more-list][/morelist] and [matches] combination only work with 'components'? The reason I'm asking: I'm trying to limit the number of items on the results page to 6. It works perfectly when searching (ie using the search_box_small component) but, when choosing a category link, it has no effect at all. I've tried all kinds of permutations using mv_matchlimit including placing it in a <form></form>. I've looked through every file in IC dir structure and can't find where to put the relevant commands. Thanks :o) Dave From: interchange-users at interchange.redhat.com (Donal H.) Date: Thu Nov 8 12:55:01 2001 Subject: [ic] TIPS AND TRICKS: Tree example > I bet you are using Postgres, Oracle, or some other DB which pads the > char() data type. Try changing all field types in tree to varchar() > and see what happens; or you can add "Database tree ChopBlanks 1" > to your database config. Yep - we're using Postgres. I just modifed the perl code that populates the comb_category column to strip trailing spaces. That did the trick. Thanks, -Donal From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 8 13:15:01 2001 Subject: [ic] Items not appearing in front end At 11:06 AM 11/08/2001 -0500, you wrote: >At 11:32 AM 10/29/01 -0500, you wrote: >>Hello again all, >> One of our IC (4.8.2 RH7.1, Perl 5.6.1) sites appears to be >> "forgetting" about a few item in the database. Everything shows up fine >> in the admin UI, you can search for/modify/delete/clone the items in the >> UI. But the front end doesn't display them. You can do a search for >> the or other unique text/entries the item may have and it will always >> come up with: >> >>Sorry, I didn't find any matches for ARRAY(0x837df18). >> >>With no error.log entry. >> >>I've checked the txt structure. Deleted the gdbm/recreated it. I even >>tried deleting the entry, and then recreating it with the same sku >>#. The behavior is still the same. This got me to thinking that there >>might be an old entry fragment or something. I checked all the db/txt >>files and couldn't find any reference to any of the faulty sku's. They >>only appear in the products table. At this point I'm almost thinking >>that it is some strange quirk in GDBM, and am about ready to try >>migrating it to pgsql to see if that corrects the problem. There are >>only 3/>500 items that exhibit this behavior, and before I do that, I >>wanted to see if anyone on the list has experienced anything similar to this. > > >I posted the above message a while ago, I am still experiencing this >problem. I have moved the database to pgsql 7.0.3 and can manually do the >query through the command line. I can in IC use the URL to do something >like this. >http://www.diabeticexpress.com/cgi-bin/dexpress.cgi/scan/sf=code/se=04-09 >or even http://www.diabeticexpress.com/cgi-bin/dexpress.cgi/04-09.html > >But you can't search through the search box for it. It will always give >an error. I have two other products that exhibit the exact same >behavior. Again, nothing shows up in either error logs, and every time I >try to turn DEBUG on, it IC fails on me. Which I can't have on a live >site. The search box is the search_box_small component. My setup is: > >IC 4.8.2 >Perl 5.6.1 >RaqXTR (modded version of rh6.x) > Perhaps that search form needs some work. I went to your site and did an Advanced search for 'ez-ject lancet', match any, search name field and the 'missing' product came up. I would edit search_box_small and try a simplified set of search terms: <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 10]> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE="*"> <input type=hidden name=mv_substring_match value=1> <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=8> ...that should return a better set of results. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Thu Nov 8 13:44:01 2001 Subject: [ic] Problems with IE5 and item image upload in admin Quoting Andrew McBeath: > Has anyone noticed IE5 doesnt upload images properly in the item editor? > The image never actually uploads, and the path doesnt get > stripped off the filename thats placed in the db. > It works fine under Opera and mozilla (linux), as well as opera > and mozzie on MS... This may be off track for this problem, but someone else also reported a similar problem, to which I replied: My experience was with IE6 and a stock 4.8.2 install. In item editor, the widget in the image meta was set to 'image upload'. I had to set the widget to 'image listing', select 'Combo Box' for 'Filter(s)', set 'Directory' to images/items, and make sure the 'Append HTML' contains (stock install should have put this in place): <A HREF="admin/upload_file?ui_image_preview=/your_cat_name/images/items/_UI_VAL UE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_ start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&u i_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> Hope it helps! Curt Hauge From: interchange-users at interchange.redhat.com (John Beima) Date: Thu Nov 8 14:00:00 2001 Subject: [ic] Unsubscribe from this list G'Day Lars, You stand on your head... You sacrafice (Sp?) a virgin... You woreship your god... Then you click the link at the bottom of the messages, enter your name in the very bottom box, and edit your settings... In the edit screen you can remove youself... John Quoting Lars Oltmanns <larsoltmanns@web.de>: > Hi, > > what do I have to do to be unsubscribed from this list? > > Best regards, > > Lars > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Thu Nov 8 14:26:01 2001 Subject: [ic] orders always encrypt credit card number This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C16858.81F655E0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit > Quoting Curt Hauge (chc@mninter.net): > > I recently upgraded to 4.8.2 from 4.6.5. I am receiving my > orders with both > > credit card AND the invoice encrypted. I would like just the whole order > > encrypted. The docs stated to set either encrypt OR credit card to 1 (or > > both to encrypt both). Am I missing something else? I have restarted > > Interchange after making changes. The variables listed are set in > > variable.txt as such: > > ENCRYPTOR /usr/local/bin/gpg > > PGP_KEY orders@mysite.com > > ORDERS_TO orders@mysite.com > You don't mention that you tried running gpg from the command > line, *as the Interchange UID*, with: > > echo test | /usr/local/bin/gpg --always-trust -e -a -r > 'orders@mysite.com' > > If that doesn't yield an encrypted message, you probably have a > GPG keyring > problem. Thanks for your response, Mike. Yes, the encryption is working fine (and the test yielded 'test'). However, it is encrypting the card and then the whole order even though I have credit card set to 0 and encrypt set to 1. I want it to encrypt the order only. I'm using a 4.6.5 catalog.cfg with the order routine from 4.8.2 catalog.cfg. I have attached it if anyone cares to have a look. I have looked for duplicate entries, but perhaps I am missing a key variable? This is not a major problem, more likely 'wishing it worked like before the upgrade'. =) Curt Hauge ------=_NextPart_000_000A_01C16858.81F655E0 Content-Type: application/octet-stream; name="catalog.cfg" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="catalog.cfg" # Set the sitewide information. The initial settings # in the "variable" table are shown below; subsequent # changes are only in the database, not below. VariableDatabase variable ### These reflect the initial settings set above; ### if you uncomment them they will override it. # #Variable SERVER_NAME www.mysite.com #Variable CGI_URL /cgi-bin/mysite #Variable SECURE_SERVER http://www.mysite.com #Variable ORDERS_TO chc@inter.net #Variable IMAGE_DIR /mysite/images #Variable DOCROOT /home/mysite/www #Variable SAMPLEHTML /home/mysite/www/mysite #Variable SAMPLEURL http://www.mysite.com/mysite # #Variable COMPANY My Site Test #Variable ENCRYPTOR none # #Variable SOMESQL =20 #Variable MYSQL =20 #Variable PGSQL =20 #Variable ORACLE =20 #Variable SQLDSN =20 #Variable SQLDB =20 #Variable SQLUSER =20 #Variable SQLPASS =20 ## END SITE CONFIGURATION ParseVariables Yes ######### ######### Set the catalog URLS, using the Variable settings above. ######### ## ## The URLs which are written to call the CGI link script. ##=20 VendURL http://__SERVER_NAME____CGI_URL__ SecureURL __SECURE_SERVER____CGI_URL__ ## Set the image path for relative images ImageDir __IMAGE_DIR__/ ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/ ## ######### #########=20 ######### ######### ######### Some user session related settings... ######### # # ## Whether to encrypt passwords in UserDB ## We usually don't for users, so we can mail them their password ## We DO in admin, that is set in catalog_after.cfg UserDB default crypt 0 ## Change a field to something that doesn't conflict in MySQL UserDB default time_field mod_time ## Don't want people setting their credit limit or dealer status = directly UserDB default scratch "dealer credit_limit" ### minimal login stuff for affiliate UserDB affiliate user_field affiliate UserDB affiliate database affiliate UserDB affiliate time_field none UserDB affiliate crypt 0 ## Set some initial values ScratchDefault mv_add_dot_html 1 ScratchDefault mv_no_session_id 1 ScratchDefault mv_no_count 1 ScratchDefault order_style 1 ValuesDefault mv_shipmode uspsi=20 ValuesDefault show_basket 1 # # ######### ######### ######### ################################################################ ######## These define the variables for templating ######## ######## You see them in pages with __LEFTRIGHT_TOP__ ######## ######## ######## ######## Files are actually in templates/regions dir ######## ######## ######## ################################################################ ## Define some colors ## Variable HEADERBG BGCOLOR=3D"#669999" Variable HEADERTEXT #FFFFFF Variable TITLEBG BGCOLOR=3D"#669999" Variable TITLETEXT #FFFFFF ## Put in memory with high traffic settings ## Better performance this way ## TRAFFIC is defined in interchange.cfg ## ## Variables used in these files must have been previously defined #ifdef @TRAFFIC =3D~ /high/i ParseVariables Yes ConfigDir templates/regions Variable NOLEFT_TOP <NOLEFT_TOP Variable NOLEFT_BOTTOM <NOLEFT_BOTTOM Variable LEFTRIGHT_TOP <LEFTRIGHT_TOP Variable LEFTRIGHT_BOTTOM <LEFTRIGHT_BOTTOM Variable LEFTONLY_TOP <LEFTONLY_TOP Variable LEFTONLY_BOTTOM <LEFTONLY_BOTTOM Variable SEL_LEFT_TOP <SEL_LEFT_TOP Variable SEL_LEFT_BOTTOM <SEL_LEFT_BOTTOM Variable SEL_ALL_TOP <SEL_ALL_TOP Variable SEL_ALL_BOTTOM <SEL_ALL_BOTTOM Variable INDEX_BOTTOM <INDEX_BOTTOM ConfigDir config #endif ## Use [include ...] with low traffic settings, file read every time ## template changes show up immediately this way ## TRAFFIC is defined in interchange.cfg ## #ifdef @TRAFFIC =3D~ /low/i Variable NOLEFT_TOP [include templates/regions/NOLEFT_TOP] Variable NOLEFT_BOTTOM [include templates/regions/NOLEFT_BOTTOM] Variable LEFTRIGHT_TOP [include templates/regions/LEFTRIGHT_TOP] Variable LEFTRIGHT_BOTTOM [include = templates/regions/LEFTRIGHT_BOTTOM] Variable LEFTONLY_TOP [include templates/regions/LEFTONLY_TOP] Variable LEFTONLY_BOTTOM [include = templates/regions/LEFTONLY_BOTTOM] Variable SEL_LEFT_TOP [include templates/regions/SEL_LEFT_TOP] Variable SEL_LEFT_BOTTOM [include = templates/regions/SEL_LEFT_BOTTOM] Variable SEL_ALL_TOP [include templates/regions/SEL_ALL_TOP] Variable SEL_ALL_BOTTOM [include = templates/regions/SEL_ALL_BOTTOM] Variable INDEX_BOTTOM [include templates/regions/INDEX_BOTTOM] #endif # ################################################################ ################################################################ ParseVariables Yes # Sets Interchange to not parse <BODY MV=3D"body 1"> and other tags = within # HTML tags, use [pragma no_html_parse 0] to enable on a page Pragma no_html_parse MailOrderTo __ORDERS_TO__ ################################################################ ######## DATABASE SETUP ######## ######## ######## ######## When you defined your catalog, you specified ######## ######## a database type. This region uses #include ######## ######## to include the database definitions based ######## ######## on that choice. ######## ######## ######## ######## See the directories in dbconf/ for the ######## ######## different types. ######## ######## ######## ################################################################ ## ## #ifndef SQLDSN Variable SQLDSN =20 #endif ##### ##### MySQL ##### #ifdef MYSQL Message Using MySQL, DSN=3D__SQLDSN__. # Tell the default DBM we are using something else... Variable SOME_DATABASE 1 # Uncomment if needed #Variable SQLUSER foo #Variable SQLPASS bar # The table defs are in separate files in the dbconf/mysql directory, # the ones kept in DBM are in TABLENAME.dbm files. #include dbconf/mysql/* #endif ##### ##### PostgreSQL ##### #ifdef PGSQL Message Using PostgreSQL, DSN=3D__SQLDSN__. # Tell the default DBM we are using something else... Variable SOME_DATABASE 1 # Uncomment and edit if needed #Variable SQLUSER foo #Variable SQLPASS bar # The table defs are in separate files in the dbconf/pgsql directory, # the ones kept in DBM are in TABLENAME.dbm files. #include dbconf/pgsql/* #endif ##### ##### Oracle ##### #ifdef ORACLE Message Using Oracle, DSN=3D__SQLDSN__. # Tell the default DBM we are using something else... Variable SOME_DATABASE 1 # Oracle considers 'session', 'size', and 'comment' to be reserved # words. Since we use those as column names, attach this arbitrary # string to the end of each word to make it acceptable to Oracle. # Note that this must be defined before the #include below. Variable FIELDMUNGE =20 # Uncomment and edit if needed #Variable SQLUSER foo #Variable SQLPASS bar # The table defs are in separate files in the dbconf/oracle directory, # the ones kept in DBM are in TABLENAME.dbm files. #include dbconf/oracle/* #endif ##### ##### Default DBM if nothing else defined ##### #ifndef SOME_DATABASE # The table defs are in separate files in the dbconf/dbm directory. Message Using default DBM database. #include dbconf/default_db/* #endif ProductFiles products ## ## ################################################################ ######## end database setup ####### ################################################################ AlwaysSecure ord/checkout multi/checkout AsciiTrack logs/tracking.asc ################################################################ ######## Pricing setup ####### ################################################################ ######## ####### ######## In the construct demo, if the user is logged ####### ######## in and is marked as a "dealer" (1 in the ####### ######## dealer field in the userdb database) then ####### ######## they are given quantity discounts based on ####### ######## price groups. (All products except gift_cert ####### ######## are in price group 1 as distributed.) If ####### ######## the quantity is 1, then pricing comes from ####### ######## the "wholesale" field in the products ####### ######## database. ####### ######## ####### ######## If the user is not a dealer (or not logged in) ####### ######## then pricing just comes from "price". ####### ######## ####### ######## There is an Autoload routine that determines ####### ######## the dealer status and changes the PriceField ####### ######## definition if they are. ####### ######## ####### ######## The "gift_cert" AutoModifier allows special ####### ######## receipt, basket, and checkout display handling ####### ######## for items defined as a gift_cert. ####### ######## ####### PriceField price CommonAdjust pricing:price_group,q5,q10: ;:wholesale ;$ AutoModifier pricing:price_group AutoModifier products:gift_cert UserDB default scratch dealer Autoload <<EOR [perl] if($Scratch->{dealer}) { $Config->{PriceField} =3D 'no_price'; } [/perl] EOR ######## ####### ################################################################ ## Set this to No if you don't want auto-login capability for users CookieLogin Yes # This sets up the new payment charge mode in Interchange 4 # You set it to "custom name", where name is the name of a GlobalSub # that performs the charge operation. If it is not "custom", then # it will use the CyberCash routines. # # "minivend_test" is special, and the demo order profile # works with the demo order form to test # #Variable MV_PAYMENT_MODE minivend_test # Uncomment to use creditCardAuto if you want, now handled better in # order profiles with "&credit_card=3Dstandard". #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__ EncryptKey __PGP_KEY__ # Uncomment only if you have these locales on your system #Locale de_DE #Locale de_DE LC_CTYPE de_DE #Locale fr_FR #Locale en_US Locale en_US LC_CTYPE C LocaleDatabase locale Onfly onfly OrderCounter etc/order.number OrderLineLimit 25 OrderProfile etc/profiles.order etc/profiles.login etc/profiles.misc # This makes CommonAdjust effective, since no_price doesn't exist ReadPermission group RobotLimit 50 # Here we override Interchange's normal order routine ActionMap order <<EOR sub { #Log('in order action'); if($CGI->{mv_nextpage} ne 'order') { # Do nothing } elsif($Values->{no_basket}) { $CGI->{mv_nextpage} =3D 'ord/nobasket'; } else { $CGI->{mv_nextpage} =3D 'ord/basket'; } $CGI->{mv_order_item} =3D $CGI->{mv_arg} if ! $CGI->{mv_order_item}; $Tag->update('values'); return 1; } EOR ActionMap deliver <<EOR sub { my $deliverable =3D shift; $Scratch->{deliverable} =3D $CGI->{mv_arg}; $CGI->{mv_nextpage} =3D 'deliver'; return 1; } EOR ActionMap get_password <<EOR sub { $Config->{NoSearch} =3D ''; $CGI->{mv_nextpage} =3D $CGI->{mv_search_page} =3D = 'action/get_password'; $CGI->{mv_todo} =3D 'search'; $Tag->update('process'); return; } EOR ParseVariables Yes Route log attach 0 Route log cybermode "" Route log empty 1 Route log encrypt 0 Route log increment 0 Route log report etc/log_transaction Route log supplant 0 Route log track logs/log Route log_entry attach 0 Route log_entry cybermode "" Route log_entry empty 1 Route log_entry encrypt 0 Route log_entry increment 0 Route log_entry report etc/log_entry Route log_entry supplant 0 Route log_entry track logs/log Route copy_user attach 0 Route copy_user cybermode "" Route copy_user empty 1 Route copy_user encrypt 0 Route copy_user increment 0 Route copy_user report etc/mail_receipt Route copy_user supplant 0 Route copy_user track logs/log # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 1 Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key '__PGP_KEY__' Route main pgp_key '__PGP_KEY__' Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc # Order routes can be maintained in a database, empty in demo # CHANGES TO THIS WILL OVERRIDE THE ROUTES ABOVE RouteDatabase route SalesTax __TAXFIELD__ FractionalItems Yes SeparateItems Yes=20 SpecialPage catalog index SpecialPage report ../etc/report SpecialPage receipt ../etc/receipt NoCache admin config multi ord query reconfig special Static __CATALOG_STATIC__ StaticLogged __LOGGED_STATIC__ StaticAll Yes StaticDBM static StaticDepth 2 StaticDir __SAMPLEHTML__/pages StaticFly Yes StaticPath __SAMPLEURL__/pages TaxShipping __TAXSHIPPING__ #ifdef UI_TRAFFIC_STATS TrackFile __UI_TRAFFIC_STATS__ #endif UpsZoneFile products/554.csv UseModifier size color History 10 UserTag history-scan Order find exclude default UserTag history-scan addAttr UserTag history-scan Routine <<EOR my %var_exclude =3D ( qw/ mv_credit_card_number 1 mv_pc 1 mv_session_id 1 /); sub { my ($find, $exclude, $default) =3D @_; my $ref =3D $Vend::Session->{History} or return $Tag->area($default || $Config->{SpecialPage}{catalog}); my ($hist, $href, $cgi); $exclude =3D qr/$exclude/ if $exclude; for(my $i =3D $#$ref; $i >=3D 0; $i--) { #Log("checking $ref->[$i][0] for $exclude"); if ($exclude and $ref->[$i][0] =3D~ $exclude) { next; } if($find) { next unless $ref->[$i][0] =3D~ /$find/; } ($href, $cgi) =3D @{$ref->[$i]}; last; } return $Tag->area($default || $Config->{SpecialPage}{catalog}) if ! $href; my $form =3D ''; for(grep !$var_exclude{$_}, keys %$cgi) { $form .=3D "\n$_=3D"; $form .=3D join("\n$_=3D", split /\0/, $cgi->{$_}); } return $Tag->area( { href =3D> $href, form =3D> $form} ); } EOR WritePermission group # 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 ------=_NextPart_000_000A_01C16858.81F655E0-- From: interchange-users at interchange.redhat.com (sam harris) Date: Thu Nov 8 14:40:01 2001 Subject: [ic] Credit card info captured being new to this, please refer me to some doc or link where I could find help modifying the var for credit card info to be a field and at least to be able to print cc Info, as we are not at the point of getting a verification company account yet. Thanks a lot samharris@usa.com -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Nov 8 15:58:01 2001 Subject: [ic] bug report & fix for 4.8.2 foundation RPM When installing from RPM, the foundation catalog gives the following error in the HTTP error log when I attempt to checkout: [Thu Nov 8 12:31:31 2001] [error] [client 10.0.0.2] Premature end of script headers: /var/www/cgi-bin/foundation The interchange error log for this catalog gives a clue: 10.0.0.2 hQqIb2zj:10.0.0.2 - [08/November/2001:12:31:31 -0800] foundation /cgi-bin/foundation/ord/checkout.html Runtime error: Undefined subroutine &Vend::Interpolate::getUPS called at (eval 110) line 17. After searching the mailing list for solutions, I did perl -MCPAN -e'install Business::UPS' It seems to me that the foundation catalog should be requiring Business::UPS in the catalog.cfg so that folks can more easily find the problem if they are missing this module. -- Bob From: interchange-users at interchange.redhat.com (Chris G) Date: Thu Nov 8 16:08:01 2001 Subject: [ic] Options and Archives Hi, I have just set up my basic catalog and I am looking into using the options, some products have different sizes. Is there an example/tutorial somewhere? Is there an archive for this list? Thanks. Chris _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Thu Nov 8 16:19:01 2001 Subject: [ic] Options and Archives Quoting Chris G: > Is there an archive for this list? There is a link on every page at http://interchange.redhat.com Direct link to mail archives is here: http://interchange.redhat.com/cgi-bin/ic/mail_archive.html Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Thu Nov 8 16:32:01 2001 Subject: [ic] Options and Archives Curt Hauge wrote: > > Quoting Chris G: > > > Is there an archive for this list? > > There is a link on every page at http://interchange.redhat.com > > Direct link to mail archives is here: > > http://interchange.redhat.com/cgi-bin/ic/mail_archive.html What is the difference with http://developer.akopia.com/archive/interchange-users/ ? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Nov 8 16:41:01 2001 Subject: [ic] Options and Archives "I have just set up my basic catalog and I am looking into using the options, some products have different sizes. " In your item admin, select an item, then select its options, and try the simple options in the following manner: In The Name Box Type: SZ... This will appear on your Invoice / Order In The Label Box Type: SIZE In The textarea type in S=Small, M=Medium, L=Large That should get you started. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Ballou,Matt) Date: Thu Nov 8 17:07:00 2001 Subject: [ic] IC Ports This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C168A1.C3A35850 Content-Type: text/plain; charset="iso-8859-1" Hello All, I Seem to have got IC 4.8.2 to work loading RPM's on RH 7.1 system. One problem I seem to have run into is, the links do not work behind firewall. That is, the page comes up, but none of the side bar links work. I have port 80 open to that server, but thats it. Is there a CGI type port or something else I need open to get it to work? Thanks, Matt ------_=_NextPart_000_01C168A1.C3A35850 Content-Type: application/octet-stream; name="Matt Ballou (E-mail).vcf" Content-Disposition: attachment; filename="Matt Ballou (E-mail).vcf" BEGIN:VCARD VERSION:2.1 N:Ballou;Matt FN:Ballou,Matt NOTE:IT Manager EMAIL;PREF;INTERNET:mballou@LAUTECHNOLOGIES.COM REV:20010418T191631Z END:VCARD ------_=_NextPart_000_01C168A1.C3A35850-- From: interchange-users at interchange.redhat.com (Hai Ah Azar) Date: Thu Nov 8 17:13:00 2001 Subject: [ic] Using Interchange with Ibill How do I use ibill's gateway processing with the interchange shopping cart. What payment option do I choose? PGP? And if so, then what do I put in those fields. Anyone who can help with this, I'm a dire need, and would be forever grateful. Hai Ah _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Hai Ah Azar) Date: Thu Nov 8 17:19:01 2001 Subject: [ic] Write in Options Does any one know how to make interchange allow for write in options rather than fixed value options? If this is completely not possible, then are there any alternatives to allowing the customer to input personalized information specific to a product? Hai Ah _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Nov 8 17:23:00 2001 Subject: [ic] IC Ports "I have port 80 open to that server, but thats it. Is there a CGI type port or something else I need open to get it to work?" You should not need anything besides port 80, and 443 if your are running a SSL server. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 8 17:32:00 2001 Subject: [ic] Write in Options Quoting Hai Ah Azar (hazar0000@hotmail.com): > Does any one know how to make interchange allow for write in options rather > than fixed value options? If this is completely not possible, then are > there any alternatives to allowing the customer to input personalized > information specific to a product? Just set the type of the option widget to "text" and the width to whatever you want. The latest round of UI changes apparently made simple options too simple, for to do that you have to go to Administration->Tables->options Then find the option in question, edit it, change the widget type, and away you go. I will see about adding an "advanced" link to the simple option editor. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Thu Nov 8 17:35:06 2001 Subject: [ic] IC Ports "Ballou,Matt" wrote: > That is, the page comes up, but none of the side bar links > work. I have port 80 open to that server, but thats it. Is there a CGI type > port > or something else I need open to get it to work? Need more input. Do you get any error messages? Is this in a virtural hosting environment? I'd bet, and I'm guessing here, that your dns name doesn't match the hostname. When you install IC it hard codes whatever your hostname is into itself. So, the easy thing to do in this case is uninstall the rpms, then use "hostname" to temporarily change the hostname to match the dns name and reinstall the rpms. That'll fix it, if I guessed your problem right. --J(K) From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Thu Nov 8 17:39:00 2001 Subject: [ic] Uh Oh, Newbie in deep trouble! I will be providing directions for installing Interchange in approximately 1 week. If you want to wait . . . Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Laura R Donnelly Sent: Thursday, November 08, 2001 8:04 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Uh Oh, Newbie in deep trouble! > On Thu, 8 Nov 2001, Andrew M. La Marche wrote: > > AMLM>>I think that I just got in over my head. I want to open up an online store > AMLM>>but know hardly anything about programming. I downloaded the tarbal, and > AMLM>>there it sits. I have no idea how to install this awesomely breathtaking > AMLM>>script. Is there anyone out there that might be interested in helping out an > AMLM>>inexperienced newbie like me? I would really like to use this script but > AMLM>>wow! is it beyond my means for right now! I think that once it was up and > AMLM>>running I wouldn't have too much difficulty getting the hang of > AMLM>>administering it... > You may also consider starting with a host company that has it installed for you. It took me a month to get my site up and running...of course with a lot of help from the boards :) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 8 18:09:00 2001 Subject: [ic] Fedex shipping under one pound????? I'm trying to use fedex for my shipping but i ran into a problem. Most of my products weight .01 lbs and users would need to buy 100 things to equal one pound. So what happens is fedex wont recognize it and my shipping options drop down is totally empty. here is my shipping.asc file FEG FedEx Ground weight 0 0 e Nothing to ship! {'PriceDivide' => "1",'adder' => "2.00",'ups' => "0",'ui_ship_type' => "FEDE:FEG",'at_least' => "5",} FEG FedEx Ground weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="FEG" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} FEH FedEx Home Delivery weight 0 0 e Nothing to ship! {'ups' => "0",'adder' => "2.00",'PriceDivide' => "1",'ui_ship_type' => "FEDE:FEH",'at_least' => "5",} FEH FedEx Home Delivery weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="FEH" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} FPO FedEx Priority Overnight weight 0 0 e Nothing to ship! {'ups' => "0",'adder' => "2.00",'PriceDivide' => "1",'ui_ship_type' => "FEDE:FPO",'at_least' => "5",} FPO FedEx Priority Overnight weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="FPO" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} FSO FedEx Standard Overnight weight 0 0 e Nothing to ship! {'PriceDivide' => "1",'adder' => "2.00",'ups' => "0",'ui_ship_type' => "FEDE:FSO",'at_least' => "5",} FSO FedEx Standard Overnight weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="FSO" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} F2D FedEx 2-Day weight 0 0 e Nothing to ship! {'PriceDivide' => "1",'adder' => "2.00",'ups' => "0",'ui_ship_type' => "FEDE:F2D",'at_least' => "5",} F2D FedEx 2-Day weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="F2D" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} FES FedEx Express Saver weight 0 0 e Nothing to ship! {'PriceDivide' => "1",'adder' => "2.00",'ups' => "0",'ui_ship_type' => "FEDE:FES",'at_least' => "5",} FES FedEx Express Saver weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="FES" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} FIP FedEx International Priority weight 0 0 e Nothing to ship! {'PriceDivide' => "1",'adder' => "2.00",'ups' => "0",'ui_ship_type' => "FEDE:FIP",'at_least' => "5",} FIP FedEx International Priority weight 0 150 f [fedex-query zip="[either][value zip][or][var SHIP_DEFAULT_ZIP][/either]" mode="FIP" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} FIE FedEx International Economy weight 0 0 e Nothing to ship! {'ups' => "0",'adder' => "2.00",'PriceDivide' => "1",'ui_ship_type' => "FEDE:FIE",'at_least' => "5",} FIE FedEx International Economy weight 0 150 f [fedex-query zip="[either][value zip][or]_DEFAULT_ZIP__[/either]" mode="FIE" cache=1 weight="@@TOTAL@@"] {'PriceDivide' => "1",} I was thinking of doing something like @@total@@ < 1 "1" else @@total@@ but I have no idea how to do it in IC. basiclly i need all orders to show up as one pound even if they weigh .01 lbs. Or else fedex will return no shipping options. please help me ASAP. I already launched my site and my first customer wasnt happy when I had to email him asking for more money. Thanks in advance From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 8 18:55:00 2001 Subject: [ic] Write in Options On Thu, Nov 08, 2001 at 02:18:55PM -0800, Hai Ah Azar wrote: > Does any one know how to make interchange allow for write in options rather > than fixed value options? If this is completely not possible, then are > there any alternatives to allowing the customer to input personalized > information specific to a product? Just use <INPUT NAME="some_modifier" TYPE=TEXT> where some_modifier (or attribute) matches on that you have configured in catalog.cfg. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Nov 8 19:32:00 2001 Subject: [ic] Using Interchange with Ibill At 02:13 PM 11/8/01, you wrote: >How do I use ibill's gateway processing with the interchange shopping cart. >What payment option do I choose? PGP? And if so, then what do I put in >those fields. > >Anyone who can help with this, I'm a dire need, and would be forever grateful. > >Hai Ah Hai, I've never used ibill with ic. Their gateway as seen at: http://www.ibill.com/Support/Setup/Gateway/samples.cfm Looks like a custom payment module could be built based upon similar code to modules using ssleay such as authorizenet gateway. Back in the good ol MV days (before IC), I actually wrote my own authorizenet gateway module using ssleay and it worked/works ! Good Luck, Kyle From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 8 19:53:01 2001 Subject: [ic] Fedex shipping under one pound????? On Thu, 8 Nov 2001 steve@moddepot.com wrote: >>I'm trying to use fedex for my shipping but i ran into a problem. Most of my >>products weight .01 lbs and users would need to buy 100 things to equal one >>pound. So what happens is fedex wont recognize it and my shipping options >>drop down is totally empty. here is my shipping.asc file I'm of several different minds about this... If they can order 100 things and the weight comes up to 1 pound and shipping is calculated correctly, I would just put in a minimum shipping amount to be charged. (That test would indicate that the shipping mechanism is working OK.) There is a minimum amount that FedEx is going to charge you, so set a minimum amount for your customer. This would insure that they got charged correctly if they bought 10,000. You can also set your weights at .1 instead of .01. 10 of those makes a pound and FedEx's minimum. That's fine if most people aren't going to order very many of these items (stamps, perhaps?) With that lightweight of an item, you might want to consider a flat rate shipping fee - especially if most sales are for 100 or 200 or less. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 08, 2001 at 19:45 PM: Truck Pulls: for people who cannot understand the WWF ---------------------------------------------------------------- This Linux System has been up 322 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Admin) Date: Thu Nov 8 22:36:01 2001 Subject: [ic] IC Ports Where did you fing the RPM? I would like to give that type of install a try. I keep getting a LWP::Simple not found when I try to start the server and it won't compile the catalougs. Scott D. ----- Original Message ----- From: "Ballou,Matt" <mballou@lautechnologies.com> To: "Interchange (E-mail)" <interchange-users@interchange.redhat.com> Sent: Thursday, November 08, 2001 3:07 PM Subject: [ic] IC Ports > Hello All, > I Seem to have got IC 4.8.2 to work loading RPM's on RH 7.1 system. > One problem I seem to have run into is, the links do not work > behind firewall. That is, the page comes up, but none of the side bar links > work. I have port 80 open to that server, but thats it. Is there a CGI type > port > or something else I need open to get it to work? > > Thanks, > > Matt > > > > From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Nov 9 00:58:00 2001 Subject: [ic] Netscape 4.7 and Interchange I know that the losing shopping cart contents has been discussed A LOT between secure and non-secure servers, but in my particular situation, I have tried both methods under plain-old non-secure with Netscape 4.78 on Windows and Linux and my cart just shows 1 or 2 items being added and nothing else gets added even when I click on various other products. If you'll go to this domain: http://www.wildnut.com/wildnut/ which is using an IP address of 12.29.13.31 and if you'll try adding multiple products - most don't get added with Netscape. However, it works just fine in Internet Explorer. I have not changed any of the templates and am just using the standard Foundation store. I'm also having the same problem with Netscape using my non-secure and secure server (which is on the same server) at: http://www.wildnut.com/foundation2/ However, Internet Explorer appears to work fine. So - my question is - does anyone have any idea WHY this is happening? Am I suppose to enable something - like FullURL?? I don't have that enabled at present. Thanks for your help! :) Justin ---------------------------------------------------------------------------- ---- To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange From: Mike Heins <mheins@redhat.com> Date: Thu, 9 Aug 2001 12:06:41 -0400 In-Reply-To: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com>; from scott@abcoa.com on Thu, Aug 09, 2001 at 10:52:53AM -0400 References: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com> User-Agent: Mutt/1.2.5i ---------------------------------------------------------------------------- ---- Quoting Scott Fletcher (scott@abcoa.com): > Yea, I have found this similar problem with the dissappearance of hte > shopping cart when using some pages like checkout. What so embarrasing is > that one of the employee at my company gave a demostration of the > Interchange software to the customer about the idea of using it for shopping > cart. We all noticed the disappearance of hte shopping cart and the wrong > webpage. Since then, we haven't heard from the customer. So, we're not > sure what is up with that. The cases where this happens are well documented, and almost always occur with a differing secure/non-secure domain. If you can document any cases where this happens with secure and non-secure hosts in the same domain (even the same .domain.com when the proper CookieDomain is set) then we will energetically fix them on a high-priority basis. Interchange doesn't support differing secure and non-secure domains. It is possible to make it work to a fair degree, the means to which do so I post on a monthly basis. But it is not supported, for it is too difficult to make work reliably in all situations. If someone can point me to another program which does this *without totally compromising user session security* then I would be happy to learn and implement changes. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Nov 9 01:20:00 2001 Subject: [ic] Netscape 4.7 and Interchange By the way, it's version 4.78 that I'm experiencing this with . . . :) Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Justin Bonds Sent: Thursday, November 08, 2001 11:57 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange I know that the losing shopping cart contents has been discussed A LOT between secure and non-secure servers, but in my particular situation, I have tried both methods under plain-old non-secure with Netscape 4.78 on Windows and Linux and my cart just shows 1 or 2 items being added and nothing else gets added even when I click on various other products. If you'll go to this domain: http://www.wildnut.com/wildnut/ which is using an IP address of 12.29.13.31 and if you'll try adding multiple products - most don't get added with Netscape. However, it works just fine in Internet Explorer. I have not changed any of the templates and am just using the standard Foundation store. I'm also having the same problem with Netscape using my non-secure and secure server (which is on the same server) at: http://www.wildnut.com/foundation2/ However, Internet Explorer appears to work fine. So - my question is - does anyone have any idea WHY this is happening? Am I suppose to enable something - like FullURL?? I don't have that enabled at present. Thanks for your help! :) Justin ---------------------------------------------------------------------------- ---- To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange From: Mike Heins <mheins@redhat.com> Date: Thu, 9 Aug 2001 12:06:41 -0400 In-Reply-To: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com>; from scott@abcoa.com on Thu, Aug 09, 2001 at 10:52:53AM -0400 References: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com> User-Agent: Mutt/1.2.5i ---------------------------------------------------------------------------- ---- Quoting Scott Fletcher (scott@abcoa.com): > Yea, I have found this similar problem with the dissappearance of hte > shopping cart when using some pages like checkout. What so embarrasing is > that one of the employee at my company gave a demostration of the > Interchange software to the customer about the idea of using it for shopping > cart. We all noticed the disappearance of hte shopping cart and the wrong > webpage. Since then, we haven't heard from the customer. So, we're not > sure what is up with that. The cases where this happens are well documented, and almost always occur with a differing secure/non-secure domain. If you can document any cases where this happens with secure and non-secure hosts in the same domain (even the same .domain.com when the proper CookieDomain is set) then we will energetically fix them on a high-priority basis. Interchange doesn't support differing secure and non-secure domains. It is possible to make it work to a fair degree, the means to which do so I post on a monthly basis. But it is not supported, for it is too difficult to make work reliably in all situations. If someone can point me to another program which does this *without totally compromising user session security* then I would be happy to learn and implement changes. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Allen Armstrong) Date: Fri Nov 9 02:37:00 2001 Subject: [ic] Public Chat on IRC Hi, For those who miss the public chat on IRC, like I do. Too earlier in the morning for me. Here is a site containing the logs for the chats: http://irc.cursor.uk.net/logs/ Allen Armstrong From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Nov 9 03:14:00 2001 Subject: [IC] Internal server error... * Glenn McCalley wrote on Mon, Nov 05, 2001 at 10:39 -0800: > ...but still 500 error. Also, 5 minutes after the failure, the interchange > error.log shows "Spurious PID file for process xxxxx supposedly running 301 > seconds". I suppose this is whatever task was forked and died being killed > for running too long? Looks so. Usually it should live a few seconds only. Couldn't you strace the process in that condition (before the 300 seconds timeout of course)? For that, just give a "strace -p <pid>". It procduces a lot of output. I would expect that it consists of a very few calls repeating always. Maybe you could mail those 2 or 5 lines repeating or describe shortly what you see (i.e. "many open()s and close() on the same files x,y and z" or so). > Are there other programs where logging should be uncommented? Or > everywhere? Or is there a way to enable some logging in the > task that's being left behind? [...] Would be a little late in that state :) Usually I would suggest to attach a gdb (gdb <binary> <pid>), but since it's perl it may not be useful (except you like to debug the perl binary itself :)). Maybe you can find answers when starting IC with --debug to prevent it from forking with "perl -d" ("perl -d interchange -r" or so). Enter "c" to continue. Wait. Make the request or whatever. In the condition, hit STRG-C. Give "T" (uppercase) to get a backtrace (this shows the function which is active currently). I have never tried this with Interchange - it may be not working at all. This is just a hint, hope it helps. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (ACC&S) Date: Fri Nov 9 03:36:01 2001 Subject: [ic] (no subject) Hi, I'm trying to know, with usertrack file, if does exist a way that each time a user view information about a product, to increment a counter for this products ? Do you have a solution ? I'm not an expert with perl to do that ;o(( I would like to create a special page in the UI parts looks like "best of product" thanks, best regards, From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Nov 9 06:16:01 2001 Subject: [ic] Ambogius Errormessage Hello List, i found a 'strange` errormessage in my logfiles and could not find what causes the error XXX.XXX.XXX.XXX EEAxJcSL:XXX.XXX.XXX.XXX - [08/November/2001:12:05:28 +0100] webshop /webshop/ui.html Safe: Can't locate DBI object method "do" via package "DBD::Pg::db" at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129. > > > my $db = $Db{area} || return; > my $settor = $db->field_settor('sort'); > foreach ( @{ $Scratch->{area_sort} } ) { > $settor->( @$_ ); > } > delete $Scratch->{start_sort}; > return; > > if anybody can tell me what it mean, i would be very appreciative ;) cu (mit freundlichen Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Nov 9 06:34:01 2001 Subject: [ic] Ambogius Errormessage Tobias Henle <t.henle@thiesen.com> writes: > Hello List, > > i found a 'strange` errormessage in my logfiles and could not find what > causes the error > > XXX.XXX.XXX.XXX EEAxJcSL:XXX.XXX.XXX.XXX - [08/November/2001:12:05:28 > +0100] webshop /webshop/ui.html Safe: Can't locate DBI object method > "do" via package "DBD::Pg::db" at > /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129. > > > > > > my $db = $Db{area} || return; > > my $settor = $db->field_settor('sort'); > > foreach ( @{ $Scratch->{area_sort} } ) { > > $settor->( @$_ ); > > } > > delete $Scratch->{start_sort}; > > return; > > > > > > > if anybody can tell me what it mean, i would be very appreciative ;) The code in question in on the admin page layout.html. Is your database area the same as in the foundation catalog ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Nov 9 07:05:01 2001 Subject: [ic] Table-Combo stays empty for Simple search Hello List, sorry but i have another problem (oh what a nice friday *sucks*) and cannot find a solution :(. When i try to add a new Category (in the Admin Interface) and select simple search for link type, the table-combo stays empty. this is not the behavior i suspect - it should display the available tables to search in - and it writes a empty tab field to the database. i donnot no wheter it is my fault or ic's - i suspect it is mine - or is it an error wich results from my last posting - ??? - mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (josephinejoyce) Date: Fri Nov 9 07:37:01 2001 Subject: Fw: [ic] Payment Processor Error Tracking Thanks a lof for your suggesiton Mike. It worked. regards joyce > ----- Original Message ----- > From: Mike Heins <mheins@redhat.com> > To: <interchange-users@interchange.redhat.com> > Sent: Wednesday, November 07, 2001 9:48 AM > Subject: Re: Fw: [ic] Payment Processor Error Tracking > > > > Quoting fctmaillist (fctmaillist@megasoft.com): > > > > > > > > > > > > > > " $Vend::Session->{errors}{mv_credit_card_valid} = $msg;". > > > > > > > > > > > > > > But we couldnot stop the flow as soon as we get the error for > > > example > > > > > > > invalid request to the processor. > > > > > > > -------------------------------------------------------------------------- > - > > > > > > It is all a question of how you are invoking it. Where is that > done, > > > > > > and how? > > > > > > > > > > -------------------------------------------------------------------------- > - > > > > > > In the profiles.order we have the following code > > > __NAME__ credit_card > > > fname=required > > > lname=required > > > address1=required > > > city=required > > > country=required > > > [if value country =~ /^(US|CA)$/i] > > > state=state_province > > > zip=postcode > > > [/if] > > > &or phone_night=phone, phone_day=phone Must have day or evening phone > number > > > > > > &fatal = yes > > > email=required > > > email=email > > > > > > &set = mv_payment Incomplete > > > [if variable MV_PAYMENT_MODE] > > > &credit_card=standard keep __CREDIT_CARDS_ACCEPTED__ > > > &charge=[var MV_PAYMENT_MODE][cgi mv_payment_test] > > > &set=mv_payment Real-time Credit Card (%c -- [var MV_PAYMENT_MODE]) > > > [else] > > > &set=mv_payment Credit Card (%c) > > > &charge = [para some inputs ][/para] > > > > Nope -- that will not work. The &charge primitive accepts either a > > known mode (one of the Vend::Payment modules) or the nambe of > > a globalsub with "custom globalsub". > > > > This is discussed in the docs, but remember that the [itl tags] > > get interpolated before the profile primitives. The only way > > to do it in-line is with > > > > &calc=<<EOF > > $Values->{mv_credit_card_valid = $Tag->para('input', 'input', @etc); > > EOF > > > > I would recommend that you put your usertag into a globalsub > > and use the standard interface, or better yet make it into > > a Vend::Payment::Para module. > > > > -- > > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > > phone +1.513.523.7621 <mheins@redhat.com> > > > > Nature, to be commanded, must be obeyed. -- Francis Bacon > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Sheamus Nulty) Date: Fri Nov 9 08:38:00 2001 Subject: [ic] Intermittent Checkout Problem Hi Foks, I had a customer who experienced a problem at checkout where an order he placed was successful yet he was still returned to the checkout page and not the receipt page. The little feeback I got from the customer was that when he clicked Place Order it took a long time for anything to happen but when something did happen the checkout page was returned with an error message. Unfortunately, he can't remember what the message was. However, the order was placed successfully as it was added to the system and he got his order confirmation email. I've checked the various logs and no error was recorded and the extra debugging information I added returned no error at all either. So my question is, does anybody know why interchange would return to the checkout page even though the order was placed successfully. I know its a very broad question but at the moment I'm completely stumped as to how to track down this problem. I'm using the standard config that comes with 4.8.2 catalog.cfg for the order routes and my order profile is as follows __NAME__ checkout_profile fname=required lname=required address1=required city=required country=required [if value country =~ /^(US|CA)$/i] state=state_province zip=postcode [/if] &or phone_night=phone, phone_day=phone Must have day or evening phone number &fatal = yes email=required email=email &set = mv_payment Incomplete [if value fax_order == 1] &set = mv_payment Check or Money Order (will call) [elsif value fax_order == 2] project_id=required Please include your PO number &set = mv_payment Purchase order [value project_id] [value name=tmp_total set="[total-cost noformat=1]" hide=1] [perl tables="pricing products userdb"] $CGI->{credit_limit_ok} = 1; my $total = delete $Values->{tmp_total}; return unless $limit = tag_data('userdb', 'credit_limit', $Session->{username}); Log("credit_limit=$limit total=$total"); delete $CGI->{credit_limit_ok}; if($limit >= $total) { $CGI->{credit_limit_ok} = 1; } return; [/perl] credit_limit_ok=mandatory Credit limit exceeded. [/elsif] [elsif value fax_order == 3] &set = mv_payment COD [value name=mv_handling set=cod hide=1] [/elsif] [elsif variable MV_PAYMENT_MODE] &credit_card=standard keep __CREDIT_CARDS_ACCEPTED__ &charge=[var MV_PAYMENT_MODE][cgi mv_payment_test] &set=mv_payment Real-time Credit Card (%c) &fail=../special_pages/failed [/elsif] [elsif config CyberCash] &fail=../special_pages/failed &charge=[var CYBER_MODE] [/elsif] [elsif config CreditCardAuto] mv_credit_card_valid=required Credit card fails tests. &set=mv_payment Credit Card (%c) [/elsif] [else] &credit_card=standard __CREDIT_CARDS_ACCEPTED__ &set=mv_payment Credit Card (%c) [/else] [/if] &calc = $Values->{mv_payment} =~ s/\%c/$Values->{mv_credit_card_type}/g; 1; &final = yes &setcheck=mv_email [value email] __END__ and my checkout form is <FORM ACTION="/cgi-bin/cl/process.html" METHOD="POST" name=checkout > <INPUT TYPE=hidden NAME=mv_session_id VALUE="MvMWy5j3"> <INPUT TYPE=hidden NAME=mv_doit VALUE=refresh> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout"> <INPUT TYPE=hidden NAME=mv_order_route VALUE="log main copy_user"> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> Regards and thanks Sheamus From: interchange-users at interchange.redhat.com (Anton Vandeplas) Date: Fri Nov 9 09:00:01 2001 Subject: [ic] Intermittent Checkout Problem Seahmus, One time this happened to us because the payment gateway was not setup correcly. The order went through but the customer did not get the receipt. Hope this helps. Anton -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Sheamus Nulty Sent: Friday, November 09, 2001 8:36 AM To: interchange-users@interchange.redhat.com Subject: [ic] Intermittent Checkout Problem Hi Foks, I had a customer who experienced a problem at checkout where an order he placed was successful yet he was still returned to the checkout page and not the receipt page. The little feeback I got from the customer was that when he clicked Place Order it took a long time for anything to happen but when something did happen the checkout page was returned with an error message. Unfortunately, he can't remember what the message was. However, the order was placed successfully as it was added to the system and he got his order confirmation email. I've checked the various logs and no error was recorded and the extra debugging information I added returned no error at all either. So my question is, does anybody know why interchange would return to the checkout page even though the order was placed successfully. I know its a very broad question but at the moment I'm completely stumped as to how to track down this problem. I'm using the standard config that comes with 4.8.2 catalog.cfg for the order routes and my order profile is as follows __NAME__ checkout_profile fname=required lname=required address1=required city=required country=required [if value country =~ /^(US|CA)$/i] state=state_province zip=postcode [/if] &or phone_night=phone, phone_day=phone Must have day or evening phone number &fatal = yes email=required email=email &set = mv_payment Incomplete [if value fax_order == 1] &set = mv_payment Check or Money Order (will call) [elsif value fax_order == 2] project_id=required Please include your PO number &set = mv_payment Purchase order [value project_id] [value name=tmp_total set="[total-cost noformat=1]" hide=1] [perl tables="pricing products userdb"] $CGI->{credit_limit_ok} = 1; my $total = delete $Values->{tmp_total}; return unless $limit = tag_data('userdb', 'credit_limit', $Session->{username}); Log("credit_limit=$limit total=$total"); delete $CGI->{credit_limit_ok}; if($limit >= $total) { $CGI->{credit_limit_ok} = 1; } return; [/perl] credit_limit_ok=mandatory Credit limit exceeded. [/elsif] [elsif value fax_order == 3] &set = mv_payment COD [value name=mv_handling set=cod hide=1] [/elsif] [elsif variable MV_PAYMENT_MODE] &credit_card=standard keep __CREDIT_CARDS_ACCEPTED__ &charge=[var MV_PAYMENT_MODE][cgi mv_payment_test] &set=mv_payment Real-time Credit Card (%c) &fail=../special_pages/failed [/elsif] [elsif config CyberCash] &fail=../special_pages/failed &charge=[var CYBER_MODE] [/elsif] [elsif config CreditCardAuto] mv_credit_card_valid=required Credit card fails tests. &set=mv_payment Credit Card (%c) [/elsif] [else] &credit_card=standard __CREDIT_CARDS_ACCEPTED__ &set=mv_payment Credit Card (%c) [/else] [/if] &calc = $Values->{mv_payment} =~ s/\%c/$Values->{mv_credit_card_type}/g; 1; &final = yes &setcheck=mv_email [value email] __END__ and my checkout form is <FORM ACTION="/cgi-bin/cl/process.html" METHOD="POST" name=checkout > <INPUT TYPE=hidden NAME=mv_session_id VALUE="MvMWy5j3"> <INPUT TYPE=hidden NAME=mv_doit VALUE=refresh> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="ord/checkout"> <INPUT TYPE=hidden NAME=mv_order_route VALUE="log main copy_user"> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> Regards and thanks Sheamus _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Fred Pope) Date: Fri Nov 9 09:48:01 2001 Subject: [ic] IC Ports "I keep getting a LWP::Simple not found when I try to start the server and it won't compile the catalougs." Scott, I think you are getting this error because you do not have your PERL modules installed correctly. Installing the interchange bundle is the easiest solution to your problem. The RPM for IC is on the download page. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Fri Nov 9 10:30:01 2001 Subject: [ic] Redirecting to paper printouts. Have an interesting challenge..... A customer wants me to implement Interchange into their retail store operation as their Point-of-Sale system sharing the database with their webserver. Getting that part going isn't much of a problem.. But, something else they want has me scratching my head... They want their in-store version of Interchange to not email anything... They would like to have it send output to a printer with all information (including CC) so they have a paper ticket and carbon for their customer receipt and their own records. In short... place an order in the system and out comes a paper copy... Has anyone done this already? -- ========================================== Scott D. Medlock scottm@cosimo.net Commercial Open Systems, Inc. 315 Westport Road Kansas City, MO 64111 USA http://www.cosimo.net 816-410-1771 Voice 816-410-7622 Fax ========================================== From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Nov 9 10:50:00 2001 Subject: [ic] Redirecting to paper printouts. scott d medlock - network engineer <scottm@cosimo.net> writes: > Have an interesting challenge..... > > A customer wants me to implement Interchange into their retail store > operation as their Point-of-Sale system > sharing the database with their webserver. > > Getting that part going isn't much of a problem.. But, something else > they want has me scratching my head... > > They want their in-store version of Interchange to not email anything... > They would like to have it send output > to a printer with all information (including CC) so they have a paper > ticket and carbon for their customer > receipt and their own records. > > In short... place an order in the system and out comes a paper copy... > > Has anyone done this already? No, but should be easy to do with a sendmail alias which pipes the email to lpr. Probably you need a little more sophisticated, but a script doing the conversion, e.g. Email to Postscript shouldn't be that hard. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (David Bordas) Date: Fri Nov 9 11:05:00 2001 Subject: [ic] Cross-selling Question Hi all, I'm trying to make cross-selling to work but without any luck. Begin of flypage.html is like this : [control reset=1] [control-set] [component]search_box_small[/component] [/control-set] [control-set] [component]category_vertical[/component] [timed]0[/timed] [set_selector]left[/set_selector] [page_class]all[/page_class] [/control-set] [control-set] [component]none[/component] [/control-set] [control-set] [component]cross[/component] [/control-set] [control-set] [component]promo[/component] [size]3[/size] [cols]1[/cols] [banner][/banner] [/control-set] [control reset=1] So i have the promo and the cross on the page. Then in the UI i defined for exemple that sku 00025 is cross-selled to 00054. if i displayed a product ( with no cross-selled defined ) i have promotions products that appear or other cross-selled defined but i wouldn't this. I'm trying to understand and modifiy the cross component but for the moment i haven't find my way. Thanks in advance. NB : the promo works great and cross products don't appear there. rgds David From: interchange-users at interchange.redhat.com (interch) Date: Fri Nov 9 11:16:01 2001 Subject: [ic] shipping modes - country.txt Ive been attempting to figure out how shipping works for awhile now, but one thing is still confusing me. For some reason some countries dont work. For example, the United Kingdom doesnt work, and returns: "Note: XPR: Unsupported country specified." and no shipping options pop-up. in the country.txt file i see the line: UK 3 Europe-EC UK XDM FIP United Kingdom which makes me beleive that Worldwide Express & FedEx Priority should show up, but neither do. alot of the other entires seem to have two more codes after the country name but the UK does not. could this be the problem? Ive never edited this file before so i cant see how things have changed. Im just baffled because ive been trying to get it to work, especially because most of our international orders are from uk... any insight would be fantastic. thanks... -sphen boyle From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Fri Nov 9 11:20:12 2001 Subject: [ic] Redirecting to paper printouts. Had thought of that Stefan... Except at the retail location the CC's will be processed manually... So I need to get the CC data printed on the paper as well, and don't want to have that CC data sitting in lp, let alone the mail system.. Would like to just pipe the output to a device (serial or parallel) formatted for a simple text printer. That way (notwithstanding the firewalls, etc.) the CC data wouldn't be exposed to lp, or any other network service.... That's the part that has me stumped... "Stefan Hornburg (Racke)" wrote: > scott d medlock - network engineer <scottm@cosimo.net> writes: > > > Have an interesting challenge..... > > > > A customer wants me to implement Interchange into their retail store > > operation as their Point-of-Sale system > > sharing the database with their webserver. > > > > Getting that part going isn't much of a problem.. But, something else > > they want has me scratching my head... > > > > They want their in-store version of Interchange to not email anything... > > They would like to have it send output > > to a printer with all information (including CC) so they have a paper > > ticket and carbon for their customer > > receipt and their own records. > > > > In short... place an order in the system and out comes a paper copy... > > > > Has anyone done this already? > > No, but should be easy to do with a sendmail alias which pipes > the email to lpr. Probably you need a little more sophisticated, > but a script doing the conversion, e.g. Email to Postscript > shouldn't be that hard. > > Ciao > Racke > > -- > Racke happily hacks Interchange and maintains Debian packages like Courier. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- ========================================== Scott D. Medlock scottm@cosimo.net Commercial Open Systems, Inc. 315 Westport Road Kansas City, MO 64111 USA http://www.cosimo.net 816-410-1771 Voice 816-410-7622 Fax ========================================== From: interchange-users at interchange.redhat.com (David Bordas) Date: Fri Nov 9 11:25:00 2001 Subject: [ic] Cross-selling Question oups i forgot something. In flypage.html i alsa have this [fly-list code="[data session arg]"] [set cross_category][item-field category][/set] [set upsell][item-data merchandising upsell_to][/set] [set cross_codes][item-data merchandising cross_sell][/set] just after the [control reset=1] and the @_LEFTRIGHT_TOP_@ ----- Original Message ----- From: "David Bordas" <bordas@jeuxvideo.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 08, 2001 5:05 PM Subject: [ic] Cross-selling Question > Hi all, > > I'm trying to make cross-selling to work but without any luck. > Begin of flypage.html is like this : > [control reset=1] > > [control-set] > [component]search_box_small[/component] > [/control-set] > > [control-set] > [component]category_vertical[/component] > [timed]0[/timed] > [set_selector]left[/set_selector] > [page_class]all[/page_class] > [/control-set] > > [control-set] > [component]none[/component] > [/control-set] > > [control-set] > [component]cross[/component] > [/control-set] > > [control-set] > [component]promo[/component] > [size]3[/size] > [cols]1[/cols] > [banner][/banner] > [/control-set] > > [control reset=1] > > So i have the promo and the cross on the page. > Then in the UI i defined for exemple that sku 00025 is cross-selled to > 00054. > > if i displayed a product ( with no cross-selled defined ) i have promotions > products that appear or other cross-selled defined but i wouldn't this. > I'm trying to understand and modifiy the cross component but for the moment > i haven't find my way. > > Thanks in advance. > > NB : the promo works great and cross products don't appear there. > > rgds > David > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Admin) Date: Fri Nov 9 11:30:01 2001 Subject: [ic] IC Ports Thank You! I recompiled the perl, and it is now working. Thanks for your help. Scott D. ----- Original Message ----- From: "Fred Pope" <fred@satcomresources.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 09, 2001 7:55 AM Subject: RE: [ic] IC Ports > "I keep getting a LWP::Simple not found when I try to start the server > and it won't compile the catalougs." > > Scott, I think you are getting this error because you do not have your PERL > modules installed correctly. > > Installing the interchange bundle is the easiest solution to your problem. > > The RPM for IC is on the download page. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 9 11:44:00 2001 Subject: [ic] Redirecting to paper printouts. On Fri, Nov 09, 2001 at 10:15:46AM -0600, scott d medlock - network engineer wrote: > Had thought of that Stefan... Except at the retail location the CC's will be > processed manually... So I need to get the CC data printed on the paper as > well, and don't want to have that CC data sitting in lp, let alone the mail > system.. Um, you don't want it in lp but you want it to print? Do you mean you don't want it in the queue? Get a fast printer, locally attached. :-) I suppose you could have people swipe a card next to the ic machine or just write it by hand on the printout. If your percentage of auth checks and declines is high, the latter will probably work better anyway. cfm > > Would like to just pipe the output to a device (serial or parallel) formatted > for a simple text printer. That way (notwithstanding the firewalls, etc.) the > CC data wouldn't be exposed to lp, or any other network service.... > > That's the part that has me stumped... > -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Fri Nov 9 12:03:59 2001 Subject: [ic] Redirecting to paper printouts. Good ideas all... the only problem is my customer doesn't want that... They want to enter it in and have it print them out.... Handling printing like this in linux is really easy.. And not a problem at all. I do that all the time with other applications. It's the CC info on the printout that has me stumped. Sometimes the customer just wants it the way they want it and if I can't figure out how to do it.. Well, there goes a colocated server, an in store server, a T-1, and alot of revenue.... cfm@maine.com wrote: > On Fri, Nov 09, 2001 at 10:15:46AM -0600, scott d medlock - network engineer wrote: > > Had thought of that Stefan... Except at the retail location the CC's will be > > processed manually... So I need to get the CC data printed on the paper as > > well, and don't want to have that CC data sitting in lp, let alone the mail > > system.. > > Um, you don't want it in lp but you want it to print? Do you mean > you don't want it in the queue? Get a fast printer, locally attached. :-) > > I suppose you could have people swipe a card next to the ic machine or > just write it by hand on the printout. If your percentage of auth > checks and declines is high, the latter will probably work better anyway. > > cfm > > > > > Would like to just pipe the output to a device (serial or parallel) formatted > > for a simple text printer. That way (notwithstanding the firewalls, etc.) the > > CC data wouldn't be exposed to lp, or any other network service.... > > > > That's the part that has me stumped... > > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content/site management, online commerce, internet integration, Debian linux > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- ========================================== Scott D. Medlock scottm@cosimo.net Commercial Open Systems, Inc. 315 Westport Road Kansas City, MO 64111 USA http://www.cosimo.net 816-410-1771 Voice 816-410-7622 Fax ========================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 9 12:25:01 2001 Subject: [ic] Installing Interchange I have istalled interchange and redhat 7.2 on a new dell server. I ran the makecat command with a catalog named foo. the directories that this was set up in is: /var/www/html/foundation/index.html and /var/www/html/foo/index.html when i go to these pages they both have links to customer entrance (file:///cgi-bin/foo/index.html) and admin entrance (file:///cgi-bin/foo/admin/index.html) but neither of these links work. I'm not sure what to do next, can anyone help me to get to the next step or figure out how to install the interchange? jppatches0@aol.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 9 12:39:00 2001 Subject: [ic] Netscape 4.7 and Interchange At 12:18 AM 11/09/2001 -0600, you wrote: >By the way, it's version 4.78 that I'm experiencing this with . . . > >:) On Windows, I assume - could not duplicate it, cart works just fine. Do you have cookies disabled? Or is their anything unusual about your internet connection? - Ed L. >Justin Bonds >~~~~~~~~~~~~~~~~~~~~~~ >justin@hypertech.net >Tel: 501-745-2882 X103 >Toll-Free: 866-WildNut X103 >Fax: 501-745-7939 >http://www.hypertech.net - corporate site >http://www.storemotion.com - ecommerce engine >http://www.wildnut.com - creative division > > >-----Original Message----- >From: interchange-users-admin@interchange.redhat.com >[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of >Justin Bonds >Sent: Thursday, November 08, 2001 11:57 PM >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Netscape 4.7 and Interchange > > >I know that the losing shopping cart contents has been discussed A LOT >between secure and non-secure servers, but in my particular situation, I >have tried both methods under plain-old non-secure with Netscape 4.78 on >Windows and Linux and my cart just shows 1 or 2 items being added and >nothing else gets added even when I click on various other products. > >If you'll go to this domain: > >http://www.wildnut.com/wildnut/ which is using an IP address of 12.29.13.31 > >and if you'll try adding multiple products - most don't get added with >Netscape. However, it works just fine in Internet Explorer. I have not >changed any of the templates and am just using the standard Foundation >store. > >I'm also having the same problem with Netscape using my non-secure and >secure server (which is on the same server) at: > >http://www.wildnut.com/foundation2/ > >However, Internet Explorer appears to work fine. > >So - my question is - does anyone have any idea WHY this is happening? Am I >suppose to enable something - like FullURL?? I don't have that enabled at >present. > >Thanks for your help! > >:) Justin > > >---------------------------------------------------------------------------- >---- > >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Netscape 4.7 and Interchange >From: Mike Heins <mheins@redhat.com> >Date: Thu, 9 Aug 2001 12:06:41 -0400 >In-Reply-To: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com>; from >scott@abcoa.com on Thu, Aug 09, 2001 at 10:52:53AM -0400 >References: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com> >User-Agent: Mutt/1.2.5i > >---------------------------------------------------------------------------- >---- > >Quoting Scott Fletcher (scott@abcoa.com): > > Yea, I have found this similar problem with the dissappearance of hte > > shopping cart when using some pages like checkout. What so embarrasing >is > > that one of the employee at my company gave a demostration of the > > Interchange software to the customer about the idea of using it for >shopping > > cart. We all noticed the disappearance of hte shopping cart and the wrong > > webpage. Since then, we haven't heard from the customer. So, we're not > > sure what is up with that. > >The cases where this happens are well documented, and almost always >occur with a differing secure/non-secure domain. If you can document >any cases where this happens with secure and non-secure hosts in the >same domain (even the same .domain.com when the proper CookieDomain >is set) then we will energetically fix them on a high-priority basis. > >Interchange doesn't support differing secure and non-secure domains. >It is possible to make it work to a fair degree, the means to which >do so I post on a monthly basis. But it is not supported, for it is >too difficult to make work reliably in all situations. > >If someone can point me to another program which does this *without >totally compromising user session security* then I would be happy to >learn and implement changes. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >I am a great believer in luck, and I find that the harder I work >the more luck I have. -- Thomas Jefferson >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > >Justin Bonds >~~~~~~~~~~~~~~~~~~~~~~ >justin@hypertech.net >Tel: 501-745-2882 X103 >Toll-Free: 866-WildNut X103 >Fax: 501-745-7939 >http://www.hypertech.net - corporate site >http://www.storemotion.com - ecommerce engine >http://www.wildnut.com - creative division > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Nov 9 12:43:00 2001 Subject: [ic] Installing Interchange JPpatches0@aol.com writes: > I have istalled interchange and redhat 7.2 on a new dell server. I ran the > makecat command with a catalog named foo. the directories that this was set > up in is: > /var/www/html/foundation/index.html and /var/www/html/foo/index.html > when i go to these pages they both have links to customer entrance > (file:///cgi-bin/foo/index.html) and admin entrance > (file:///cgi-bin/foo/admin/index.html) but neither of these links work. I'm > not sure what to do next, can anyone help me to get to the next step or > figure out how to install the interchange? These links are totally broken. A link with "file:" can never work with IC. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Fri Nov 9 14:23:00 2001 Subject: [ic] mysql a requirement for IC? Hi all, Is it a -requirement- for IC that mysql - or at least the Perl mysql module - be installed, even if you use the default database? Maybe to satisfy a "require " somewhere? I'm still chasing down 500 errors for UI/orders and UI/merchandising functions and I found posts in the archives that seem to indicate installing DBD::mysql made similar problems go away, however DBD::mysql won't install here without mysql... TIA, Glenn. From: interchange-users at interchange.redhat.com (Jeff Carnahan) Date: Fri Nov 9 14:44:00 2001 Subject: [ic] mysql a requirement for IC? } Is it a -requirement- for IC that mysql - or at least the Perl mysql } module - be installed, even if you use the default database? Maybe to } satisfy a "require " somewhere? } Nope. Not at all, Interchange will function just fine with text or DBM based data tables. There is no requirement for MySQL or any associated modules be installed. However, Interchange may require the DBI bundle, as DBI facilitates access to many types of databases, including text, DBM, MySQL and others. I'm fairly certain you will need to have that installed. My suggestion is to install Bundle::Interchange. It will take care of all the dependencies for you. It can easily be installed with the following one-liner: perl -MCPAN -e 'install Bundle::Interchange' -- Jeff Carnahan - jcarnahan@networq.com From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Fri Nov 9 15:42:00 2001 Subject: [ic] mysql a requirement for IC? Thanks Jeff, Bundle::Interchange -is- installed, and still taking those 500's for Orders and Merchandising (only those 2). perl.core and all. I've got to believe it's an error message coming (most likely) from Perl that isn't being trapped/logged anywhere. I've enabled every ::logDebug I can find and logging is working, just not where I need it. :-/ I'll keep looking. Glenn. ----- Original Message ----- From: Jeff Carnahan <jcarnahan@networq.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 09, 2001 11:44 AM Subject: RE: [ic] mysql a requirement for IC? > } Is it a -requirement- for IC that mysql - or at least the Perl mysql > } module - be installed, even if you use the default database? Maybe to > } satisfy a "require " somewhere? > } > > Nope. Not at all, Interchange will function just fine with text or DBM based > data tables. There is no requirement for MySQL or any associated modules be > installed. > > However, Interchange may require the DBI bundle, as DBI facilitates access > to many types of databases, including text, DBM, MySQL and others. I'm > fairly certain you will need to have that installed. > > My suggestion is to install Bundle::Interchange. It will take care of all > the dependencies for you. It can easily be installed with the following > one-liner: > > perl -MCPAN -e 'install Bundle::Interchange' > > -- > Jeff Carnahan - jcarnahan@networq.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jeff Carnahan) Date: Fri Nov 9 16:11:01 2001 Subject: [ic] mysql a requirement for IC? } Bundle::Interchange -is- installed, Then the error shouldn't be associated with the absence of key Perl modules. } I've got to believe } it's an error message coming (most likely) from Perl that isn't being } trapped/logged anywhere. I've enabled every ::logDebug I can find and } logging is working, just not where I need it. :-/ I'll keep looking. } I'm a late-comer to this thread, are you seeing specific error messages in your error log? (either Interchange error log or catalog error log?) Does the problem happen when specific pages are accessed or Interchange features utilized? -- Jeff Carnahan - jcarnahan@networq.com From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Fri Nov 9 16:50:00 2001 Subject: [ic] mysql a requirement for IC? Yes, specific functions. >From the user/administrative interface, selecting "Orders" or "Merchandising" produces the ever-popular "500 - Internal server error" at the browser. All others work great. Cart function is great you can buy stuff, check out is fine. Apache error_log shows only "Premature end of script headers" /tmp/icdebug shows nothing illuminating, last entry will end in "path/orders" (if orders selected) The system is -empty- except for IC. 800MHz/512MB Environment is FreeBSD 4.0 Apache 1.3.19 Perl 5.6.1 IC 4.8.2 FreeBSD kernel is set for MaxUsers=128; MaxChild=1024. sysctl for filehandles shows 1024 per process allowed - not running out of file handles. Perl has been reloaded. IC has been re-installed, no errors or warnings. Others have checked the store and it happens to them as well. *Sigh* I've done several minivend stores and love the system. A couple of those stores sold $Millions of merchandise and hit over 100 requests/second at their peak. This one has me buffaloed and any suggestions are warmly received. If you know how to get a higher level of logging going that would be great too. Thanks! Glenn. ----- Original Message ----- From: Jeff Carnahan <jcarnahan@networq.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 09, 2001 1:11 PM Subject: RE: [ic] mysql a requirement for IC? > } Bundle::Interchange -is- installed, > > Then the error shouldn't be associated with the absence of key Perl modules. > > } I've got to believe > } it's an error message coming (most likely) from Perl that isn't being > } trapped/logged anywhere. I've enabled every ::logDebug I can find and > } logging is working, just not where I need it. :-/ I'll keep looking. > } > > I'm a late-comer to this thread, are you seeing specific error messages in > your error log? (either Interchange error log or catalog error log?) Does > the problem happen when specific pages are accessed or Interchange features > utilized? > > -- > Jeff Carnahan - jcarnahan@networq.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Nov 9 16:56:01 2001 Subject: [ic] Netscape 4.7 and Interchange Hi Ed, This happens with both Netscape 4.78 on Windows and Linux. I tried both - two separate computers on a T-1. Cookies are enabled for both of the Netscape versions. For instance, click on Levels and then buy the 24" level. Don't go to the cart or press anything else and immediately click on Rulers and buy the Folding Ruler. Now, click on the Cart and see what shows up. As of right now - NOTHING on mine. Under Advanced in Netscape - it is set to Accept all cookies. Now, I'm headed to the Linux machine to try it. Cookies were enabled and I get EXACTLY the same result - clicking on both items while shopping and then clicking on the Cart and receiving ZILCHO contents. The site that I'm referring to is at http://www.wildnut.com/wildnut/ Internet Explorer added everything appropriately. It shocks me that you're not experiencing this since I tried it on two separate machines with two different operating systems . . . Now, what's interesting to note about this is that - it appears that if I click on one of the Specials at the bottom of the page - it will add those to the cart. Hmmmmmm . . . STRANGE!!! It appears to be the items that appear when the category sections are clicked that aren't working. If you will (and I very much appreciate your help), please try it again following the above steps and let me know. I'm a little confused . . . One interesting thing - I'm experiencing this with Red Hat's demo store at: http://demo.ic.redhat.com/cgi-bin/ic3 Thanks a bunch for your help! :) Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed LaFrance Sent: Friday, November 09, 2001 11:39 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Netscape 4.7 and Interchange At 12:18 AM 11/09/2001 -0600, you wrote: >By the way, it's version 4.78 that I'm experiencing this with . . . > >:) On Windows, I assume - could not duplicate it, cart works just fine. Do you have cookies disabled? Or is their anything unusual about your internet connection? - Ed L. >Justin Bonds >~~~~~~~~~~~~~~~~~~~~~~ >justin@hypertech.net >Tel: 501-745-2882 X103 >Toll-Free: 866-WildNut X103 >Fax: 501-745-7939 >http://www.hypertech.net - corporate site >http://www.storemotion.com - ecommerce engine >http://www.wildnut.com - creative division > > >-----Original Message----- >From: interchange-users-admin@interchange.redhat.com >[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of >Justin Bonds >Sent: Thursday, November 08, 2001 11:57 PM >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Netscape 4.7 and Interchange > > >I know that the losing shopping cart contents has been discussed A LOT >between secure and non-secure servers, but in my particular situation, I >have tried both methods under plain-old non-secure with Netscape 4.78 on >Windows and Linux and my cart just shows 1 or 2 items being added and >nothing else gets added even when I click on various other products. > >If you'll go to this domain: > >http://www.wildnut.com/wildnut/ which is using an IP address of 12.29.13.31 > >and if you'll try adding multiple products - most don't get added with >Netscape. However, it works just fine in Internet Explorer. I have not >changed any of the templates and am just using the standard Foundation >store. > >I'm also having the same problem with Netscape using my non-secure and >secure server (which is on the same server) at: > >http://www.wildnut.com/foundation2/ > >However, Internet Explorer appears to work fine. > >So - my question is - does anyone have any idea WHY this is happening? Am I >suppose to enable something - like FullURL?? I don't have that enabled at >present. > >Thanks for your help! > >:) Justin > > >--------------------------------------------------------------------------- - >---- > >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Netscape 4.7 and Interchange >From: Mike Heins <mheins@redhat.com> >Date: Thu, 9 Aug 2001 12:06:41 -0400 >In-Reply-To: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com>; from >scott@abcoa.com on Thu, Aug 09, 2001 at 10:52:53AM -0400 >References: <B344E1B1390FD5119D640002B3252E709E4F@abcmail.abcoa.com> >User-Agent: Mutt/1.2.5i > >--------------------------------------------------------------------------- - >---- > >Quoting Scott Fletcher (scott@abcoa.com): > > Yea, I have found this similar problem with the dissappearance of hte > > shopping cart when using some pages like checkout. What so embarrasing >is > > that one of the employee at my company gave a demostration of the > > Interchange software to the customer about the idea of using it for >shopping > > cart. We all noticed the disappearance of hte shopping cart and the wrong > > webpage. Since then, we haven't heard from the customer. So, we're not > > sure what is up with that. > >The cases where this happens are well documented, and almost always >occur with a differing secure/non-secure domain. If you can document >any cases where this happens with secure and non-secure hosts in the >same domain (even the same .domain.com when the proper CookieDomain >is set) then we will energetically fix them on a high-priority basis. > >Interchange doesn't support differing secure and non-secure domains. >It is possible to make it work to a fair degree, the means to which >do so I post on a monthly basis. But it is not supported, for it is >too difficult to make work reliably in all situations. > >If someone can point me to another program which does this *without >totally compromising user session security* then I would be happy to >learn and implement changes. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >I am a great believer in luck, and I find that the harder I work >the more luck I have. -- Thomas Jefferson >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > >Justin Bonds >~~~~~~~~~~~~~~~~~~~~~~ >justin@hypertech.net >Tel: 501-745-2882 X103 >Toll-Free: 866-WildNut X103 >Fax: 501-745-7939 >http://www.hypertech.net - corporate site >http://www.storemotion.com - ecommerce engine >http://www.wildnut.com - creative division > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Fri Nov 9 17:04:09 2001 Subject: [ic] can you set up your own log file for variable info I was wondering if its possible to set up your own log file for IC to keep track of information for you. For instance, I want to do some testing for a few days and want to get a log of the variable "searchspec". Im assuming theres got to be a way to tell IC to do this on the "results" page when the searchspec is there. Can you send it to a file from that page? Thanks a lot. Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Fri Nov 9 17:34:00 2001 Subject: [ic] Netscape 4.7 and Interchange Justin Bonds wrote: > For instance, click on Levels and then buy the 24" level. Don't go to the > cart or press anything else and immediately click on Rulers and buy the > Folding Ruler. Now, click on the Cart and see what shows up. As of right > now - NOTHING on mine. Under Advanced in Netscape - it is set to Accept all > cookies. Perchance, when you click Levels and then click buy now are you stopping to put in a quantity? --J(K) From: interchange-users at interchange.redhat.com (Jerry) Date: Fri Nov 9 17:57:01 2001 Subject: [ic] Netscape 4.7 and Interchange We've seen the same behavior if you don't put something in the quantity box with the Netscape 4.x browsers. It works ok with Netscape 6.x though. The only way I've found around not making NS 4.x users put a quantity in is to eliminate using the form method of ordering and using the [order] tag instead. IE: [order [item-code]]<img src="cart.gif" BORDER=0 align="absmiddle"></A> The downside is your stuck changing the quantity only in the the cart or checkout page. I've about given up trying to make things work/display right in NS 4.x. It is a quick way to make sure you tables are balanced though. :) Jerry Uphoff > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jason Balicki > Sent: Friday, November 09, 2001 5:31 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Netscape 4.7 and Interchange > > > Justin Bonds wrote: > > > For instance, click on Levels and then buy the 24" level. > Don't go to the > > cart or press anything else and immediately click on Rulers and buy the > > Folding Ruler. Now, click on the Cart and see what shows up. > As of right > > now - NOTHING on mine. Under Advanced in Netscape - it is set > to Accept all > > cookies. > > Perchance, when you click Levels and then click buy now are you > stopping to put in a quantity? > > --J(K) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Fri Nov 9 18:12:00 2001 Subject: [ic] can you set up your own log file for variable info At 02:07 PM 11/9/01, you wrote: >I was wondering if its possible to set up your own log file for IC to keep >track of information for you. For instance, I want to do some testing for a >few days and want to get a log of the variable "searchspec". Im assuming >theres got to be a way to tell IC to do this on the "results" page when the >searchspec is there. Can you send it to a file from that page? Thanks a >lot. > >Sincerely, >Aaron Hazelton >FixtureFactor.com V.P. >828.631.3477 Aaron, Checkout the log tag: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_47.html If your using an SQL db, it maybe better to log to a table via query tag, or custom tag..... Good Luck, Kyle From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Nov 9 18:21:01 2001 Subject: [ic] Netscape 4.7 and Interchange OH MY GOD!!!!!!!!!!!!!!!!!!!!!!! I feel so STUPID. STUPID. STUPID. I just figured that since Internet Explorer didn't need a quantity, then neither would Netscape. Thanks so much for your relatively simple and yet ingenious solution. Now, I'm going to bed to cry all night - hoping that I will become a genius one day. Boo Hoo Hoo - bowing my head in shame. :) Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Balicki Sent: Friday, November 09, 2001 4:31 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange Justin Bonds wrote: > For instance, click on Levels and then buy the 24" level. Don't go to the > cart or press anything else and immediately click on Rulers and buy the > Folding Ruler. Now, click on the Cart and see what shows up. As of right > now - NOTHING on mine. Under Advanced in Netscape - it is set to Accept all > cookies. Perchance, when you click Levels and then click buy now are you stopping to put in a quantity? --J(K) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Fri Nov 9 18:26:00 2001 Subject: [ic] Netscape 4.7 and Interchange Thanks for your suggestion Jerry. I thought that I was losing my mind. Something so simple and yet so confusing to me . . . I wonder if Einstein ever had this problem? HA! :) Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jerry Sent: Friday, November 09, 2001 4:56 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Netscape 4.7 and Interchange We've seen the same behavior if you don't put something in the quantity box with the Netscape 4.x browsers. It works ok with Netscape 6.x though. The only way I've found around not making NS 4.x users put a quantity in is to eliminate using the form method of ordering and using the [order] tag instead. IE: [order [item-code]]<img src="cart.gif" BORDER=0 align="absmiddle"></A> The downside is your stuck changing the quantity only in the the cart or checkout page. I've about given up trying to make things work/display right in NS 4.x. It is a quick way to make sure you tables are balanced though. :) Jerry Uphoff > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jason Balicki > Sent: Friday, November 09, 2001 5:31 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Netscape 4.7 and Interchange > > > Justin Bonds wrote: > > > For instance, click on Levels and then buy the 24" level. > Don't go to the > > cart or press anything else and immediately click on Rulers and buy the > > Folding Ruler. Now, click on the Cart and see what shows up. > As of right > > now - NOTHING on mine. Under Advanced in Netscape - it is set > to Accept all > > cookies. > > Perchance, when you click Levels and then click buy now are you > stopping to put in a quantity? > > --J(K) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 9 18:30:01 2001 Subject: [ic] Netscape 4.7 and Interchange At 03:55 PM 11/09/2001 -0600, you wrote: >Hi Ed, > >This happens with both Netscape 4.78 on Windows and Linux. I tried both - >two separate computers on a T-1. Cookies are enabled for both of the >Netscape versions. > >For instance, click on Levels and then buy the 24" level. Don't go to the >cart or press anything else and immediately click on Rulers and buy the >Folding Ruler. Now, click on the Cart and see what shows up. As of right >now - NOTHING on mine. Under Advanced in Netscape - it is set to Accept all >cookies. > Yes, now I see it - in Netscape, if you don't type a quantity into the qty text field before clicking the buy button, nothing goes in the cart. In IE, an qty of one is put in the cart. This has somehting to do with the code for the "Buy List" feature, I am fairly certain, and in any case others have come across this - I remember seeing it on this list. A quick-and-dirty fix would be to edit results.html so that the input for quantity has a default of '1'. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 9 18:35:00 2001 Subject: [ic] can you set up your own log file for variable info >-----Original Message----- >From: FixtureFactor.com [mailto:aaron@fixturefactor.com] >Sent: Friday, November 09, 2001 3:08 PM >To: Interchange-Users >Subject: [ic] can you set up your own log file for variable info > > >I was wondering if its possible to set up your own log file for IC to keep >track of information for you. For instance, I want to do some testing for a >few days and want to get a log of the variable "searchspec". Im assuming >theres got to be a way to tell IC to do this on the "results" page when the >searchspec is there. Can you send it to a file from that page? Thanks a >lot. The site www.gaiam.com, which is one my company maintains, stores this in a database table using SQL. It can be very helpful in tuning your search engine. When we did it, we analyzed what people were searching on and what they found and made some significant changes in your search mechanism as a result. Patrick From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 9 20:39:00 2001 Subject: [ic] mysql a requirement for IC? On Fri, Nov 09, 2001 at 04:43:47PM -0800, Glenn McCalley wrote: > Yes, specific functions. > >From the user/administrative interface, selecting "Orders" or > "Merchandising" produces the ever-popular "500 - Internal server error" at > the browser. All others work great. Cart function is great you can buy > stuff, check out is fine. > > Apache error_log shows only "Premature end of script headers" Bear in mind that does NOT mean that perl is throwing out an error; it might simply be dying. I've found a few instances where testing a hash val in an an undefined hash will kill perl, something like if($f->{bar}=~s/asdfasf/qwerqwer/) { dead } where $f=\%foo and %foo does not exist. Something like that. And it seems to depend on what kind of an eval {} one is in. Inconsistent and I do not understand it; this is perl, not C. It is very clearly something different betwee 5.6.0 and 5.6.1. Just start hacking away the page until you find it. Suspect the tags, dump the variables. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Sat Nov 10 01:40:00 2001 Subject: [ic] Netscape 4.7 and Interchange Ed LaFrance wrote: > Yes, now I see it - in Netscape, if you don't type a quantity into the qty > text field before clicking the buy button, nothing goes in the cart. In IE, > an qty of one is put in the cart. > > This has somehting to do with the code for the "Buy List" feature, I am > fairly certain, and in any case others have come across this - I remember > seeing it on this list. > > A quick-and-dirty fix would be to edit results.html so that the input for > quantity has a default of '1'. This should be in the FAQ. I'm only replying to this to help folks in the future find things in the archives. There is no way to make Netscape 4.x behave sanely. I've tried, others have tried, and failed. I don't have access to IE at the moment, can anyone verify that the changes that Ed describes will help Netscape users and not hinder IE users? --J(K) PS: helping regex search: Netscape, Internet Explorer, IE, buy now, buy list, quantity. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 10 07:47:00 2001 Subject: [ic] Netscape 4.7 and Interchange On Fri, Nov 09, 2001 at 11:35:58PM -0600, Jason Balicki wrote: > Ed LaFrance wrote: > > Yes, now I see it - in Netscape, if you don't type a quantity into the qty > > text field before clicking the buy button, nothing goes in the cart. In IE, > > an qty of one is put in the cart. > > > > This has somehting to do with the code for the "Buy List" feature, I am > > fairly certain, and in any case others have come across this - I remember > > seeing it on this list. > > > > A quick-and-dirty fix would be to edit results.html so that the input for > > quantity has a default of '1'. > > This should be in the FAQ. I'm only replying to this > to help folks in the future find things in the archives. > > There is no way to make Netscape 4.x behave sanely. I've > tried, others have tried, and failed. I don't have access > to IE at the moment, can anyone verify that the changes > that Ed describes will help Netscape users and not hinder > IE users? This is probably a page specific issue and more likely has something to do with your code. The default quantity for an order link is 1; I'm pretty sure there is no default quantity for posts. Is it different for IE and Netscape? Javascript or some such? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (David Berry) Date: Sat Nov 10 12:58:00 2001 Subject: [ic] RE: more or less? Hi All, I found it. Just in case anyone else wants to limit the number of matches on the results page, here's a solution ( I'm sure not the only one) :o) in the file catalog_before.cfg file ( found in '/usr/lib/interchange' on my setup) this is a snippet from the alteration: the 2 lines referring to "ml" are the ones that need to be added here MatchLimit is being set to 6. ... Variable MV_DEFAULT_SEARCH_TABLE products Sub <<EOR sub bar_link { my $base = shift || 'cat'; my $extra; $base =~ s/(\W.*)//s and $extra = $1; my $ref = shift; my $code = $ref->[0]; my $record = tag_data($base, 'n/a', $code, { hash => 1 }); return $ref->[0] unless $record; my $url; my $anchor; my $highlight; my $first; my $ml = 6; LINK: { push @out, "ml=$ml"; if($record->{link_type} eq 'external') { ... Although this works, it would be nice to be able to do this from the admin ui (hint...hint) ... maybe it's there already .. couldn't find it though. dave From: interchange-users at interchange.redhat.com (Jason Timm) Date: Sat Nov 10 18:06:01 2001 Subject: [ic] Please specify the MailOrderTo directive Here we go again... OK, here is what is happening. I create a catalog with makecat. Next, I restart Interchange. Interchange fails to open the catalog and reports, "Please specify the MailOrderTo directive in the configuration file...". I have been through the docs and the archives and will now address the advice I have found so far: Here is the contents of the cgi-bin: -rwsr-xr-x 1 interch interch 7164 Nov 10 13:19 imaginegoodhealthcom The ownership and permissions seem to be right here. 'interch' is the user that runs interchange and 'interch' is specified as the Interchange User in the makecat setup script. The catuser in this case was set to 'imaginegoodhealthcom'. The owner and the group for the catalogs directory are all set to 'imaginegoodhealthcom' like so: drwxrwsr-x 14 imagineg imagineg 4096 Nov 10 13:24 imaginegoodhealthcom and: drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 backup -rw-rw---- 1 imagineg imagineg 11177 Nov 10 13:19 catalog.cfg drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 config drwxrws--- 6 imagineg imagineg 4096 Nov 10 13:19 dbconf -rw-rw---- 1 imagineg imagineg 0 Nov 10 13:19 error.log drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 etc lrwxrwxrwx 1 root imagineg 59 Nov 10 13:19 images -> /home/imaginegoodhealthcom/html/imaginegoodhealthcom/images drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 logs drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 orders drwxrws--- 6 imagineg imagineg 4096 Nov 10 13:19 pages drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 products drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 session drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 special_pages lrwxrwxrwx 1 root imagineg 27 Nov 10 13:24 templates -> /var/www/catalogs/templates drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 tmp drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 upload The products directory (which is the one that variables.txt is in) looks like this: -rw-rw-r-- 1 imagineg imagineg 9237 Nov 10 13:19 1da.csv -rw-rw-r-- 1 imagineg imagineg 10240 Nov 10 13:19 2ndDayAir.csv -rw-rw-r-- 1 imagineg imagineg 5571 Nov 10 13:19 450.csv -rw-rw-r-- 1 imagineg imagineg 5571 Nov 10 13:19 986.csv -rw-rw-r-- 1 imagineg imagineg 1520 Nov 10 13:19 access.asc -rw-rw-r-- 1 imagineg imagineg 83 Nov 10 13:19 affiliate.txt -rw-rw-r-- 1 imagineg imagineg 138 Nov 10 13:19 area.txt -rw-rw-r-- 1 imagineg imagineg 138 Nov 10 13:19 cat.txt -rw-rw-r-- 1 imagineg imagineg 88 Nov 10 13:19 component.txt -rw-rw-r-- 1 imagineg imagineg 9431 Nov 10 13:19 country.txt -rw-rw-r-- 1 imagineg imagineg 24 Nov 10 13:19 downloadable.txt -rw-rw-r-- 1 imagineg imagineg 144 Nov 10 13:19 files.txt -rw-rw-r-- 1 imagineg imagineg 111 Nov 10 13:19 gift_certs.txt -rw-rw-r-- 1 imagineg imagineg 6603 Nov 10 13:19 gndcomm.csv -rw-rw-r-- 1 imagineg imagineg 6585 Nov 10 13:19 Ground.csv -rw-rw-r-- 1 imagineg imagineg 48 Nov 10 13:19 inventory.txt -rw-rw-r-- 1 imagineg imagineg 599 Nov 10 13:19 locale.txt -rw-rw-r-- 1 imagineg imagineg 163 Nov 10 13:19 merchandising.txt -rw-rw-r-- 1 imagineg imagineg 28024 Nov 10 13:19 mv_metadata.asc -rw-rw-r-- 1 imagineg imagineg 9349 Nov 10 13:19 NextDayAir.csv -rw-rw-r-- 1 imagineg imagineg 21859 Nov 10 13:19 NextDayAir.gdbm -rw-rw-r-- 1 imagineg imagineg 226 Nov 10 13:19 options.txt -rw-rw-r-- 1 imagineg imagineg 203 Nov 10 13:19 orderline.txt -rw-rw-r-- 1 imagineg imagineg 83 Nov 10 13:19 order_returns.txt -rw-rw-r-- 1 imagineg imagineg 35 Nov 10 13:19 pricing.txt -rw-rw-r-- 1 imagineg imagineg 226 Nov 10 13:19 products.txt -rw-rw-r-- 1 imagineg imagineg 278 Nov 10 13:19 route.txt -rw-rw-r-- 1 imagineg imagineg 18 Nov 10 13:19 salestax.asc -rw-rw-r-- 1 imagineg imagineg 1325 Nov 10 13:19 shipping.asc -rw-rw-r-- 1 imagineg imagineg 5521 Nov 10 13:19 state.txt -rw-rw-r-- 1 imagineg imagineg 466 Nov 10 13:19 transactions.txt -rw-rw-r-- 1 imagineg imagineg 523 Nov 10 13:19 userdb.txt -rw-rw-r-- 1 imagineg imagineg 2868 Nov 10 13:19 variable.txt All of this information is exactly the way another catalog is setup, and it works but this one does not. Now, reading the archives, I read that some have tried 'chgrp -R interch catalogdir' or even a 'chown', so I tried that as well. Sure enough that does fix the above issue. But, it creates a new problem. After doing that, IC starts up and the catalog seems to load, but when browsing to the catalogs page (http://www.domain.com/cgi-bin/catalog), the server reports a 404 message. But the program is there and is set properly as indicated above. In messing with this, I have also had the server tell me that Interchange was unavailable - another problem that indicates a permission issue. I read this from an earlier post: "This is really a permissions problem. Your Interchange daemon does not have access to your catalog files. One common fix for this is to edit your servers /etc/group file and add your interchange user to the group that owns your catalog files." This makes total sense to me, but I already have interch as a member of the user's group. So that must not be it... I currently have 3 sites down and am willing to compensate someone for a good tip in the right direction. Anyone have any ideas what I can try next? Jason From: interchange-users at interchange.redhat.com (CHRIS KNIGHT) Date: Sat Nov 10 19:06:01 2001 Subject: [ic] Please specify the MailOrderTo directive Jason, I don't know if this will help you or not. Your permissions appear correct, for sure on catalog.cfg and the files in /products/. But what is going on with your user? If interch.interch runs interchange and has the cgi file, why is catalog.cfg and etc. and all the /product/ owned by imagineg.imagineg ? In my setup interch is the owner and the group for all of this. HTH, Chris >>> jason@itchoices.com 11/10/01 3:10:54 PM >>> Here we go again... OK, here is what is happening. I create a catalog with makecat. Next, I restart Interchange. Interchange fails to open the catalog and reports, "Please specify the MailOrderTo directive in the configuration file...". I have been through the docs and the archives and will now address the advice I have found so far: Here is the contents of the cgi-bin: -rwsr-xr-x 1 interch interch 7164 Nov 10 13:19 imaginegoodhealthcom The ownership and permissions seem to be right here. 'interch' is the user that runs interchange and 'interch' is specified as the Interchange User in the makecat setup script. The catuser in this case was set to 'imaginegoodhealthcom'. The owner and the group for the catalogs directory are all set to 'imaginegoodhealthcom' like so: drwxrwsr-x 14 imagineg imagineg 4096 Nov 10 13:24 imaginegoodhealthcom and: drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 backup -rw-rw---- 1 imagineg imagineg 11177 Nov 10 13:19 catalog.cfg drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 config drwxrws--- 6 imagineg imagineg 4096 Nov 10 13:19 dbconf -rw-rw---- 1 imagineg imagineg 0 Nov 10 13:19 error.log drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 etc lrwxrwxrwx 1 root imagineg 59 Nov 10 13:19 images -> /home/imaginegoodhealthcom/html/imaginegoodhealthcom/images drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 logs drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 orders drwxrws--- 6 imagineg imagineg 4096 Nov 10 13:19 pages drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 products drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 session drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 special_pages lrwxrwxrwx 1 root imagineg 27 Nov 10 13:24 templates -> /var/www/catalogs/templates drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 tmp drwxrws--- 2 imagineg imagineg 4096 Nov 10 13:19 upload The products directory (which is the one that variables.txt is in) looks like this: -rw-rw-r-- 1 imagineg imagineg 9237 Nov 10 13:19 1da.csv -rw-rw-r-- 1 imagineg imagineg 10240 Nov 10 13:19 2ndDayAir.csv -rw-rw-r-- 1 imagineg imagineg 5571 Nov 10 13:19 450.csv -rw-rw-r-- 1 imagineg imagineg 5571 Nov 10 13:19 986.csv -rw-rw-r-- 1 imagineg imagineg 1520 Nov 10 13:19 access.asc -rw-rw-r-- 1 imagineg imagineg 83 Nov 10 13:19 affiliate.txt -rw-rw-r-- 1 imagineg imagineg 138 Nov 10 13:19 area.txt -rw-rw-r-- 1 imagineg imagineg 138 Nov 10 13:19 cat.txt -rw-rw-r-- 1 imagineg imagineg 88 Nov 10 13:19 component.txt -rw-rw-r-- 1 imagineg imagineg 9431 Nov 10 13:19 country.txt -rw-rw-r-- 1 imagineg imagineg 24 Nov 10 13:19 downloadable.txt -rw-rw-r-- 1 imagineg imagineg 144 Nov 10 13:19 files.txt -rw-rw-r-- 1 imagineg imagineg 111 Nov 10 13:19 gift_certs.txt -rw-rw-r-- 1 imagineg imagineg 6603 Nov 10 13:19 gndcomm.csv -rw-rw-r-- 1 imagineg imagineg 6585 Nov 10 13:19 Ground.csv -rw-rw-r-- 1 imagineg imagineg 48 Nov 10 13:19 inventory.txt -rw-rw-r-- 1 imagineg imagineg 599 Nov 10 13:19 locale.txt -rw-rw-r-- 1 imagineg imagineg 163 Nov 10 13:19 merchandising.txt -rw-rw-r-- 1 imagineg imagineg 28024 Nov 10 13:19 mv_metadata.asc -rw-rw-r-- 1 imagineg imagineg 9349 Nov 10 13:19 NextDayAir.csv -rw-rw-r-- 1 imagineg imagineg 21859 Nov 10 13:19 NextDayAir.gdbm -rw-rw-r-- 1 imagineg imagineg 226 Nov 10 13:19 options.txt -rw-rw-r-- 1 imagineg imagineg 203 Nov 10 13:19 orderline.txt -rw-rw-r-- 1 imagineg imagineg 83 Nov 10 13:19 order_returns.txt -rw-rw-r-- 1 imagineg imagineg 35 Nov 10 13:19 pricing.txt -rw-rw-r-- 1 imagineg imagineg 226 Nov 10 13:19 products.txt -rw-rw-r-- 1 imagineg imagineg 278 Nov 10 13:19 route.txt -rw-rw-r-- 1 imagineg imagineg 18 Nov 10 13:19 salestax.asc -rw-rw-r-- 1 imagineg imagineg 1325 Nov 10 13:19 shipping.asc -rw-rw-r-- 1 imagineg imagineg 5521 Nov 10 13:19 state.txt -rw-rw-r-- 1 imagineg imagineg 466 Nov 10 13:19 transactions.txt -rw-rw-r-- 1 imagineg imagineg 523 Nov 10 13:19 userdb.txt -rw-rw-r-- 1 imagineg imagineg 2868 Nov 10 13:19 variable.txt All of this information is exactly the way another catalog is setup, and it works but this one does not. Now, reading the archives, I read that some have tried 'chgrp -R interch catalogdir' or even a 'chown', so I tried that as well. Sure enough that does fix the above issue. But, it creates a new problem. After doing that, IC starts up and the catalog seems to load, but when browsing to the catalogs page (http://www.domain.com/cgi-bin/catalog), the server reports a 404 message. But the program is there and is set properly as indicated above. In messing with this, I have also had the server tell me that Interchange was unavailable - another problem that indicates a permission issue. I read this from an earlier post: "This is really a permissions problem. Your Interchange daemon does not have access to your catalog files. One common fix for this is to edit your servers /etc/group file and add your interchange user to the group that owns your catalog files." This makes total sense to me, but I already have interch as a member of the user's group. So that must not be it... I currently have 3 sites down and am willing to compensate someone for a good tip in the right direction. Anyone have any ideas what I can try next? Jason _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Sun Nov 11 03:14:05 2001 Subject: [ic] dynamic profiles.order I have an interesting problem and have exhausted the archives and the docs that I can find. Hopefully someone here will have a suggestion or pointer. Certain software products in our store require that the customer agree to a license agreement before purchasing. Each product that has a license generates a checkbox like so: <input type="checkbox" value="checked" name="license_[item-code]"> with a label like so: [error name="license_[item-code]" std_label="I have read and agreed..." show_label=1 required=1] However, the "required=1" parameter is apparently not enough to force the user to check the box before checking out. This suggests that I need to have associated entries in etc/profiles.order. My problem is this: how do I make a dynamic profiles.order that adds the appropriate "required" lines depending on which products are being purchased? Or is there a way to require a field without putting an entry into profiles.order? Any pointers appreciated. Patrick Walsh From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 11 09:23:01 2001 Subject: [ic] dynamic profiles.order On Sun, Nov 11, 2001 at 12:13:54AM -0800, Patrick J. Walsh wrote: > I have an interesting problem and have exhausted the archives and the > docs that I can find. Hopefully someone here will have a suggestion or > pointer. > > Certain software products in our store require that the customer agree > to a license agreement before purchasing. Each product that has a license > generates a checkbox like so: > > <input type="checkbox" value="checked" name="license_[item-code]"> > > with a label like so: > > [error name="license_[item-code]" std_label="I have read and agreed..." > show_label=1 required=1] > > However, the "required=1" parameter is apparently not enough to force > the user to check the box before checking out. This suggests that I need to > have associated entries in etc/profiles.order. My problem is this: how do I > make a dynamic profiles.order that adds the appropriate "required" lines > depending on which products are being purchased? Or is there a way to > require a field without putting an entry into profiles.order? Something along these lines: [set order_profile] [perl] $license=&license_number; push @OUT,qq`$license=required That item requires a license.` if(&license_required); return join "\n",@OUT; [/perl] [/set] where license_number maps item_code to appropriate license and license_required tests whether or not you need it. If you do this in basket, you need to iterate for(@{$Vend::Items}) and will probably want to stuff the license into an attribute for convenience; on product flypage, you have the [item tags]. It sounds like you want that profile on product flypage. > > Any pointers appreciated. > > Patrick Walsh > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Sun Nov 11 13:44:00 2001 Subject: [ic] dynamic profiles.order > One quick one would be right in the profile: > > [item-list] > [if-item-field needs_license] > license_[item-code]=required Need indication you have read and agreed for [item-code]. > [/if-item-field] > [/item-list] I don't know why I didn't think to try that. Thanks for the tip (and thanks to cfm@maine.com for his response as well). ..Patrick From: interchange-users at interchange.redhat.com (Thomas N. Stefanidis) Date: Sun Nov 11 15:26:00 2001 Subject: [ic] How to make "previous-next product Hello, I wan to make a "previous-next product" on the fly page. I want the customer to be able to choose the previous or the next product in the category. Lets say we have a category called "Masks" and we choose a subdirectory.I want the customer to be able to choose in the previous or next product of that subdirectory. Any ideas? Thomas From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Sun Nov 11 15:37:00 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) Finally isolated it! It's "convert-date"!! In the admin UI, -any- page that contains the "convert-date" tag produces a "500 Internal Server Error". Every time. Remove that tag and that tag only, and the page displays fine (well, no data where the date should be, but it displays). Anyone know what could cause this or had this before (I don't see it in the list archives) or am I launching into the convert-date routine next? All comments appreciated. Glenn. IC 4.8.2 / Foundation demo. Perl 5.6.1 FreeBSD 4.0 From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Sun Nov 11 15:39:59 2001 Subject: [ic] mail archive search broken? The searchable mail archive located here: http://interchange.redhat.com/cgi-bin/ic/mail_archive.html seems to have died. As of today all of my searches return no results including searches for "encrypt," "pgp," "authorizenet," and even "interchange" -- all of which have of course been in both messages and subjects. Probably this notice should be sent somewhere other than this list. If so, I apologize. Would someone please let the list know when this is fixed? Thanks. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 11 15:57:00 2001 Subject: [ic] How to make "previous-next product On Sun, Nov 11, 2001 at 10:24:49PM +0200, Thomas N. Stefanidis wrote: > Hello, > I wan to make a "previous-next product" on the fly page. > I want the customer to be able to choose the previous or the next > product in the category. > Lets say we have a category called "Masks" and we choose a > subdirectory.I want the customer to be able to choose in the previous or > next product of that subdirectory. Just add two data columns, previous and next to your products database. Otherwise you could write some tag that would apply whatever sort of logic your catalog requires, eg alphabetic, size, by code. You'd probably want to cache the result set for that, because you will have to select all products each time for anything complex. Build a file in the background like code previous next and just pull the line for the code in question. > Any ideas? > > Thomas > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (David Berry) Date: Sun Nov 11 16:02:00 2001 Subject: [ic] multiple stores - one cart Just a question Interchange 4.8.2 perl 5.6.1 mysql 11.15 I was reading that a database can be globaly accessed by all catalogs, I have three stores set up independantly of each other running under the same interchange server, does it mean that they can be set up to have a common cart and shipping, where items bought in different stores can be placed in the same cart? If this is possible, how would the setup look? Thanks Dave From: interchange-users at interchange.redhat.com (Curtis Gardner) Date: Sun Nov 11 16:06:01 2001 Subject: [ic] server unavailable This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C16ACA.CB027B00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello, I have installed interchange-4.8.2-1, apache1.3.22, mysql 3.23.36, perl 5.6.1 apache is runing as root interchange is running as interch mysqld is running as mysql loaded interchange and foundation from rpm's, using localhost for the machine I can go to "http://127.0.0.1/foundation/" and get what appears to be straight html page with "Customer Entrance" and "Admin Entrance" links. Clicking either gives me a message saying "We're sorry, the Interchange server is unavailable ...". Apache's logs aren't telling me anything and I can't find any logs for Interchange. Substituting localhost, localhost.localdomain does not work either. It is as though the foundation executable can't talk to the interchange process but that's just a stab at it. In the same directory as the foundation directory, apache's test-cgi works fine but this html also. I don't have a clue. If we can keep my cluelessness confined to Interchange, I would appreciate any help. Thanks in advance. __________________ Curtis Gardner Tel: (919) 462-3229 ext 226 Fax: (661) 462-1862 Cell: (919) 608-2878 Email: cbgardner@nc.rr.com ------=_NextPart_000_0020_01C16ACA.CB027B00 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IhAVAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHCwALABAABgAAAAAABAEB A5AGAOgHAAAiAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB AAAAEwAAAHNlcnZlciB1bmF2YWlsYWJsZQAAAgFxAAEAAAAWAAAAAcFq9LMamZe8us/4EdW6mSro cgAAAAAAAgEdDAEAAAAZAAAAU01UUDpDQkdBUkRORVJATkMuUlIuQ09NAAAAAAsAAQ4AAAAAQAAG DgBsA6r0asEBAgEKDgEAAAAYAAAAAAAAAH22O6LFvNQRukbgjh4AAADCgAAACwAfDgEAAAACAQkQ AQAAAO0DAADpAwAAqwUAAExaRnV4ODfrAwAKAHJjcGcxMjUWMgD4C2BuDhAwMzNPAfcCpAPjAgBj aArAc/BldDAgBxMCgwBQEGZYcHJxDlAQ330KgXZJCJB3awuAZDQMYGOHAFALAwu1IEhlbAkAJiwK ogqASSAQ8HZleiALgHMBkBYgCYAXIXQHBJAQ4Q8gZS00LjiALjItMSwgYQqwoRDgZTEuMxjAMhkA cG15c3EDIBmhGaAzGjYZAHAEkAMgNS42Pi4VEwqAGSQXIAQgcnWPAwAPIBkQHHFvb3QWZP8X2RxV HLYX1RZkGgMXsR6o7xzyGgMWZAkAYQEAF7sZEA0UsCACEBygZGF0aQ8CICOwA2EcgHBtJ3O7GQAW ZHUAkBzRCQBjB0DcaG8XUCOxBcB0HDEAwXpoC4BlFmQWZiYQA6BnJm8mwCiwImgCQHA6RC8vDiA3 LjApsTFyLyPILyIjcxhgBUB3vxDwBUAZIBrwEQEowmIXEDUXUHILcGcpEBbQdG2/AyAKsB5hA/Am 0CjwQyWQNyjQB4AFwEUCMCzAbmPCZSrUIkFkbQuALrmibAuAa3MuIVBDMLA2YxSRHOBlLeEukWdp fxcAIYEjYTKBBBAtkjMQeeEcwiJXZScJcCyQBbBscnkZACbSSR3pESBy/xcABcAcYRygFvALcAtg AmCpFxAgLjcgIjEBQRkzuyTwJeFnBCAKwAnwJwVAzxfwFiAcwjKSbnkm0BzD9yORKEM4sWYUoTmC OBQmkmM0+TEBU3ViF1At4HWvJCAlyhkAJfcuJfNkA3F3L+E/UAeRbh1QK2AFsGv7MbUxAUkFQBxh HQEm0Ahg5yzwJsMjyWV4BZA9UDbD/zqEF2FAgCjRJtId2hKwJgC/MvEsYD1QJsEkEDfxai5B+zKx F1FiGRBBQT7gQREDoKcm0jMQMpFkaQlwYyjQ/zRwQYRCW0jnGQY38RfwF1D8LWMyMEBDO6EnUUYl HGH3LTMHQDRALieMP1A4ohbjbTLAYwpBQQJmK2BDsyD6awngcBnxT/MXkAQQJ2D7BBEFoG5M0hew KNE0+RkA+xbAQFB1IIErwUkBBzAX8NM7IxlgbHBOS1QYMUyh/y/hInA2gC8RTksK9EAQA/B+ZEkg VYAKwAwhEgMasCD2X1ofC9I0IVAKIAFAMLHfJ3BHgC4wACAcYUcLESdgJwrRW7ED0DE2W9MgVAEW EDogKDkxOSmoIDQ2GNAzGcA5QxGPBUAZwFnwXcRGYXheUcg2NjFetDE4XuBdxAZDFhFeVjYwOC0y aDg3OBZkRT9xXkFjVGJnXNRALxAuNGAu/QWgbVebC+NYCQExFnMUEQIAZ6AAAAALAAGACCAGAAAA AADAAAAAAAAARgAAAAADhQAAAAAAAAMALoAIIAYAAAAAAMAAAAAAAABGAAAAAFKFAAB9bgEACwA7 gAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADAD2ACCAGAAAAAADAAAAAAAAARgAAAAAQhQAA AAAAAAMAPoAIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAAAwA/gAggBgAAAAAAwAAAAAAAAEYA AAAAGIUAAAAAAAADAFWACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAB4AZoAIIAYAAAAAAMAA AAAAAABGAAAAAFSFAAABAAAABAAAADkuMAALAGeACCAGAAAAAADAAAAAAAAARgAAAAAGhQAAAAAA AAsAg4AIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAABAAAAAgH4DwEAAAAQAAAAfbY7osW81BG6RuCO HgAAAAIB+g8BAAAAEAAAAH22O6LFvNQRukbgjh4AAAACAfsPAQAAAKMAAAAAAAAAOKG7EAXlEBqh uwgAKypWwgAAUFNUUFJYLkRMTAAAAAAAAAAATklUQfm/uAEAqgA32W4AAABDOlxXSU5OVFxQcm9m aWxlc1xBZG1pbmlzdHJhdG9yXExvY2FsIFNldHRpbmdzXEFwcGxpY2F0aW9uIERhdGFcTWljcm9z b2Z0XE91dGxvb2tcUGVyc29uYWwgRm9sZGVycygxKS5wc3QAAAMA/g8FAAAAAwANNP03AAACAX8A AQAAADMAAAA8TkVCQkxLRUdKTkRJQ0ZLQ01GTE1FRUtCQ0ZBQS5jYmdhcmRuZXJAbmMucnIuY29t PgAAAwAGENvBsj8DAAcQeAMAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUAAABIRUxMTyxJSEFW RUlOU1RBTExFRElOVEVSQ0hBTkdFLTQ4Mi0xLEFQQUNIRTEzMjIsTVlTUUwzMjMzNixQRVJMNTYx QVBBQ0hFSVNSVU5JTkdBU1JPT1RJTlRFUkNIQU5HRUlTAAAAAGQA ------=_NextPart_000_0020_01C16ACA.CB027B00-- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Nov 11 16:54:00 2001 Subject: [ic] multiple stores - one cart On Sun, 11 Nov 2001, David Berry wrote: DB>>I was reading that a database can be globaly accessed by all catalogs, I have DB>>three stores set up independantly of each other running under the same DB>>interchange server, does it mean that they can be set up to have a common DB>>cart and shipping, where items bought in different stores can be placed in DB>>the same cart? If this is possible, how would the setup look? One way would be to use symbolic links in all catalogs to just one set of databases. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 11, 2001 at 16:55 PM: Honeymoon: time between "I do" and "you'd better" ---------------------------------------------------------------- This Linux System has been up 2 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 11 17:25:00 2001 Subject: [ic] multiple stores - one cart On Sun, Nov 11, 2001 at 09:02:42PM +0000, David Berry wrote: > Just a question > > Interchange 4.8.2 > perl 5.6.1 > mysql 11.15 > > I was reading that a database can be globaly accessed by all catalogs, I have > three stores set up independantly of each other running under the same > interchange server, does it mean that they can be set up to have a common > cart and shipping, where items bought in different stores can be placed in > the same cart? If this is possible, how would the setup look? That doesn't make any sense; I probably don't understand the question. If it is the same cart, same shipping, same database, why not just use one catalog? What you describe sounds like three instances of the same catalog. Yes, you can do that. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Sun Nov 11 17:30:00 2001 Subject: [ic] server unavailable At 04:06 PM 11/11/01 -0500, Curtis Gardner wrote: >I can go to "http://127.0.0.1/foundation/" and get what appears to be >straight html page with "Customer Entrance" and "Admin Entrance" links. >Clicking either gives me a message saying "We're sorry, the Interchange >server is unavailable ...". Apache's logs aren't telling me anything and I >can't find any logs for Interchange. Substituting localhost, >localhost.localdomain does not work either. It is as though the foundation >executable can't talk to the interchange process but that's just a stab at >it. In the same directory as the foundation directory, apache's test-cgi >works fine but this html also. If the Interchange daemon is in fact running, and you get a result from the cgi it means, as you correctly guessed, they can't talk to each other. The cgi probably doesn't have the setuid bit set: chmod u+s {apache}/cgi-bin/foundation.cgi (or whatever it is named) And make sure it is owned by the same user running the interchange daemon. From: interchange-users at interchange.redhat.com (Curtis Gardner) Date: Sun Nov 11 19:27:01 2001 Subject: [ic] server unavailable Thanks Ryan, That was a good try but it didn't work for me. I tried rerunning the makecat program and at the permission type, I answered G instead M. That did not work either. I reverified that interchange is running as interch, the same owner and group of the foundation executable in the cgi-bin. I would try building a store but after rebuilding the foundation demo, making sure the foundation executeable was replaced, I don't think that would work. Do you or anyone else have more ideas. Thanks again, Curtis -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ryan Hertz Sent: Sunday, November 11, 2001 5:29 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] server unavailable At 04:06 PM 11/11/01 -0500, Curtis Gardner wrote: >I can go to "http://127.0.0.1/foundation/" and get what appears to be >straight html page with "Customer Entrance" and "Admin Entrance" links. >Clicking either gives me a message saying "We're sorry, the Interchange >server is unavailable ...". Apache's logs aren't telling me anything and I >can't find any logs for Interchange. Substituting localhost, >localhost.localdomain does not work either. It is as though the foundation >executable can't talk to the interchange process but that's just a stab at >it. In the same directory as the foundation directory, apache's test-cgi >works fine but this html also. If the Interchange daemon is in fact running, and you get a result from the cgi it means, as you correctly guessed, they can't talk to each other. The cgi probably doesn't have the setuid bit set: chmod u+s {apache}/cgi-bin/foundation.cgi (or whatever it is named) And make sure it is owned by the same user running the interchange daemon. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Sun Nov 11 19:57:01 2001 Subject: [ic] Multiple Levels of Categories I'm sure this has been ased many times before, and I have looked through the archives, but couldn't find an answer. My question is, based on IC 4.8.2 and the foundation demo catalog is it possible to have multiple levels of sub-categories as illustrated in the example below: T-Shirts |--Music | |-- Rock | |-- R&B | |-- Hip-Hop | |-- East Coast | |-- product 1 | |-- product 2 | |-- West Coast | |-- product 1 | |-- product 2 |-- Nature | |-- Animals | |-- Flower | |-- product 1 | |-- product 2 |-- Third Category Thanks, Michael Stearne From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Sun Nov 11 20:02:01 2001 Subject: [ic] Scalability of IC I have a client that wants to implement IC for their on-line retail presence. In your opinion (experienced MV/IC users) could IC eventually be used to replace their in-house inventory system. The current system handles around 10,000 items selling clothing to the public and wholesale. I guess the major issue woulod be the accounting functionality that IC does/does not offer. Wouold Interchange be good enough to run an entire meduim sized business on? I know this is a very vague and subjective question, but I am really just looking for thoughts. Thanks, Michael Stearne From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Sun Nov 11 20:04:04 2001 Subject: [ic] Scalability of IC I have a client that wants to implement IC for their on-line retail presence. In your opinion (experienced MV/IC users) could IC eventually be used to replace their in-house inventory system. The current system handles around 10,000 items selling clothing to the public and wholesale. I guess the major issue woulod be the accounting functionality that IC does/does not offer. Would Interchange be good enough to run an entire meduim sized business on? I know this is a very vague and subjective question, but I am really just looking for thoughts. Thanks, Michael Stearne From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 11 20:34:00 2001 Subject: [ic] Scalability of IC On Sun, Nov 11, 2001 at 08:01:46PM -0500, Michael Stearne wrote: > I have a client that wants to implement IC for their on-line retail > presence. In your opinion (experienced MV/IC users) could IC eventually > be used to replace their in-house inventory system. The current system > handles around 10,000 items selling clothing to the public and > wholesale. I guess the major issue woulod be the accounting > functionality that IC does/does not offer. Would Interchange be good > enough to run an entire meduim sized business on? > > I know this is a very vague and subjective question, but I am really > just looking for thoughts. No; it's not designed for that sort of thing. You could reinvent all the wheels if you want. If you do reinvent all the wheels, you'll find a web interface is too slow for real productivity. Typically one would glue IC to something designed for inventory/accounting, either live or batch. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Nov 11 20:45:01 2001 Subject: [ic] Scalability of IC On Sun, 11 Nov 2001, Michael Stearne wrote: MS>>I have a client that wants to implement IC for their on-line retail MS>>presence. In your opinion (experienced MV/IC users) could IC eventually MS>>be used to replace their in-house inventory system. The current system In it's present configuration: !!NO!! You can, however, write some add-on modules to the demos that will do a very nice job of it. I am using Retail Plus from True North Computer Systems in Canada for my inventory and POS system. I print out the e-mails from IC, and manually enter it all into the POS, including Charge Card info and let the POS do the Charge Card verifications through ICVerify. I prefer to have to do these addditional steps since it keeps me in closer contact with the customers and allow me to give them better customer service. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 11, 2001 at 20:40 PM: My cat is good for nothing, but he's very, very good! ---------------------------------------------------------------- This Linux System has been up 0 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Nov 11 20:53:01 2001 Subject: [ic] Scalability of IC On Sun, 11 Nov 2001 cfm@maine.com wrote: >>On Sun, Nov 11, 2001 at 08:01:46PM -0500, Michael Stearne wrote: >>> I have a client that wants to implement IC for their on-line retail >>> presence. In your opinion (experienced MV/IC users) could IC eventually >>> be used to replace their in-house inventory system. The current system >>> handles around 10,000 items selling clothing to the public and >>> wholesale. I guess the major issue woulod be the accounting >>> functionality that IC does/does not offer. Would Interchange be good >>> enough to run an entire meduim sized business on? >>> >>> I know this is a very vague and subjective question, but I am really >>> just looking for thoughts. >> >>No; it's not designed for that sort of thing. You could reinvent all >>the wheels if you want. If you do reinvent all the wheels, you'll >>find a web interface is too slow for real productivity. Typically one >>would glue IC to something designed for inventory/accounting, either >>live or batch. This kind of thing comes back to the Windows vs (L/U)nix thing. Windows wants to have an integrated package that does a lot of things all at once. Outlook Express is an example of this. It has it's own mail 'fetcher' it's own mail reader, and it's own editor for answering/writing e-mail, all in one package with no options for changing any of them. In my configuration of Linux, I am using sendmail to send and receive mail. I am using Pine to read mail. And when I write mail, I use Joe as my editor. Unix/Linux has the philosphy of one task for one program. Trying to have IC handle all of these other functions kind of defeats all of this, and as you quite correctly say, would drastically slow the whole thing down. IC is a program for selling stuff via e-commerce. Let's stick to that and continue to do that one thing very well. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 11, 2001 at 20:45 PM: Disc space - the final frontier! ---------------------------------------------------------------- This Linux System has been up 0 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Webster) Date: Sun Nov 11 23:53:00 2001 Subject: [ic] Picture Files I've created a form for my client to fill out when they need to post a product to the site that I maintain. The form automatically sends the .jpg or .gif file to /cart/images/items. When I put the products in, the old version of IC had a drop down menu that let you select the file name. This was great for me as the files I needed were already there without having to FTP them to the server. I can make that field a drop down menu but it holds/retrieves no data (from the directory on the server). How can I fix this problem so I don't have to manually enter each file name. Thx. Jim. From: interchange-users at interchange.redhat.com (Ben Myles) Date: Mon Nov 12 00:50:00 2001 Subject: [ic] Anyone interested in splitting the cost of a dedicated server? Hi, I realise this message is a little off-topic, and I apologise. However like myself, I'm sure there are a lot of IC developers who can't find good, afordable hosting for their interchange-based sites. I'm wondering if there's anyone here, in Australia, interested in splitting the cost of co-locating a server with me? I'm looking to find about three people (so there would be four of us in total) to do this with. If you're interested, reply to me, and I'll give you some info on costs etc, but to give you an idea, between four of us this won't cost much more than what one normal 'shared server' account would with a hosting company. Thanks, Ben Myles From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Nov 12 02:51:00 2001 Subject: [ic] Multiple Levels of Categories Hello Michael, Michael Stearne wrote: > I'm sure this has been ased many times before, and I have looked through > the archives, but couldn't find an answer. My question is, based on IC > 4.8.2 and the foundation demo catalog is it possible to have multiple > levels of sub-categories as illustrated in the example below: that sounds like you are looking for the [tree] tag, it is documented in the `Interchange Tags Reference'. I never used this tag, but i think thats what u need ;) cu (mit freundlichen Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 12 03:34:01 2001 Subject: [ic] Picture Files Jim Webster <jim@powergatenetworks.com> writes: > I've created a form for my client to fill out when they need to post a > product to the site that I maintain. The form automatically sends the .jpg > or .gif file to /cart/images/items. > > When I put the products in, the old version of IC had a drop down menu that > let you select the file name. This was great for me as the files I needed > were already there without having to FTP them to the server. > > I can make that field a drop down menu but it holds/retrieves no data (from > the directory on the server). > > How can I fix this problem so I don't have to manually enter each file name. Enable meta editing with Variable UI_META_LINK 1 in catalog.cfg and do a reconfig. Go to the item page and click on meta for the image field and change "Image Upload" to "Image Listing". Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Nov 12 03:37:01 2001 Subject: [ic] Ambogius Errormessage Hi mr. Racke, i have looked for the datatypes and found some differences, but they seem not to be the problem, my meta info for the cat table looks like: inwashopdb=# \d cat Table "cat" Attribute | Type | Modifier ---------------+------------------------+----------------------- code | character varying(20) | not null sel | character varying(64) | not null default '' name | character varying(64) | not null default '' which_page | character(128) | sort | character varying(4) | not null default 'ZZ' display_type | character varying(128) | image | character(128) | image_prop | character(128) | banner_image | character(128) | banner_text | character(128) | link_type | character varying(128) | url | character(128) | tab | character(128) | page | character(128) | search | character(128) | selector | character varying(128) | link_template | character(128) | Indices: cat_code, cat_pkey and the only difference is, that the character(128) are text fields in the foundation-shop. The sort-field, which seems to cause this error is the same: foundation=# \d cat Table "cat" Attribute | Type | Modifier ---------------+-----------------------+----------------------- [...] sort | character varying(4) | not null default 'ZZ' [...] xxx.xxx.xxx.xxx wSk8mYAr:xxx.xxx.xxx.xxx - [12/November/2001:10:03:35 +0100] inwa /cgi-bin/inwa/process.html Safe: Uncaught exception from user code: > Can't locate DBI object method "do" via package "DBD::Pg::db" at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129. > Vend::Table::DBI::__ANON__(10066, 0001) called at (eval 451) line 5 > eval ' > my $db = $Db{cat} || return; > my $settor = $db->field_settor(\'sort\'); > foreach ( @{ $Scratch->{cat_sort} } ) { > $settor->( @$_ ); > } > delete $Scratch->{start_sort}; > return; > [something what looks like a error-stacktrace] mit freundlichen Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 12 04:03:03 2001 Subject: [ic] Ambogius Errormessage Tobias Henle <t.henle@thiesen.com> writes: [...] > > xxx.xxx.xxx.xxx wSk8mYAr:xxx.xxx.xxx.xxx - [12/November/2001:10:03:35 > +0100] inwa /cgi-bin/inwa/process.html Safe: Uncaught exception from > user code: > > Can't locate DBI object method "do" via package "DBD::Pg::db" > at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129. > > Vend::Table::DBI::__ANON__(10066, 0001) called at (eval 451) line 5 > > eval ' > > my $db = $Db{cat} || return; > > my $settor = $db->field_settor(\'sort\'); > > foreach ( @{ $Scratch->{cat_sort} } ) { > > $settor->( @$_ ); > > } > > delete $Scratch->{start_sort}; > > return; > > > [something what looks like a error-stacktrace] Yes, it is. Can anyone using Postgres as database reproduce this error ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Mon Nov 12 05:03:01 2001 Subject: [ic] Ambogius Errormessage * Stefan Hornburg (Racke) wrote on Mon, Nov 12, 2001 at 10:01 +0100: > > > Can't locate DBI object method "do" via package "DBD::Pg::db" > > at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129. > > Yes, it is. Can anyone using Postgres as database reproduce this > error ? I use postgreSQL and didn't found this error message in interchange/error.log and catalog/error.log (test server with zero traffic). I could try to provocate it if anybody tells me how to do. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 12 05:14:00 2001 Subject: [ic] Ambogius Errormessage Steffen Dettmer <steffen@dett.de> writes: > * Stefan Hornburg (Racke) wrote on Mon, Nov 12, 2001 at 10:01 +0100: > > > > Can't locate DBI object method "do" via package "DBD::Pg::db" > > > at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129. > > > > Yes, it is. Can anyone using Postgres as database reproduce this > > error ? > > I use postgreSQL and didn't found this error message in > interchange/error.log and catalog/error.log (test server with > zero traffic). I could try to provocate it if anybody tells me > how to do. It is related to the layout page, but I don't know which action really triggers this error. Maybe you can play around a little bit with the admin/layout page. Bye Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 12 07:05:01 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) "Glenn McCalley" <techlist@bnetmd.net> writes: > Finally isolated it! It's "convert-date"!! > In the admin UI, -any- page that contains the "convert-date" tag produces a > "500 Internal Server Error". Every time. Remove that tag and that tag > only, and the page displays fine (well, no data where the date should be, > but it displays). Is there any error message in the global error.log ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 12 08:54:00 2001 Subject: [ic] Advanced search on large DB I have an arbitary database of over 100000 products in a new 4.8.2 store running mySQL on a modest server. What I need to put together is an advanced search form to allow customers to search titles for keywords within prod_group or category. The data is not unlike the original 'Art gallery' type database: description, artist, prod_group, category. What I really need is an example of an efficient advanced search form that deals directly with the mySQL DB allowing searches through hardcoded prod_groups or categories drop downs. My SQL (no pun intended) understanding is not that brilliant. My previous catalogs relied on Glimpse for searching. I've been through http://www.minivend.com/doc-4.8/frames/ictags_59.html several times and haven't been able to grasp the concepts as much as I would have liked. How do I allow searches through a DB this large without over burdening the server? I would love to view an example or two of an advanced search page specific to mySQL and Interchange and a large DB. Any other tips would be tremendously appreciated! Simon From: interchange-users at interchange.redhat.com (Donal H.) Date: Mon Nov 12 10:35:01 2001 Subject: [ic] "unterminated string" error - sub set_slice in DBI.pm Hi, When I try to change the status of an order the following error is reported: "Sorry, there was an error in processing this form action. Please report the error or try again later. (DBD::Pg::st execute failed: ERROR: unterminated string starting on line 2 at /interchange/sys/lib/Vend/Table/DBI.pm line 937. )" I've uncommented some of ::logDebug code in DBI.pm (and added some more logDebug) in sub set_slice. This is the relevant section of my DBI.pm file: ..... ::logDebug("set_slice query: $sql"); ::logDebug("set_slice key/fields/values:\nkey=$key\n" . ::uneval($fary, $vary)); my $sth = $s->[$DBI]->prepare($sql) or die ::errmsg("prepare %s: %s", $sql, $DBI::errstr); ::logDebug("set_slice prepare done (sql: $sql)"); my $rc = $sth->execute(@$vary) or die ::errmsg("execute %s: %s", $sql, $DBI::errstr); ::logDebug("set_slice execute done (sql: $sql)"); ..... Here's the output in the icdebug file: Vend::Table::DBI:debug: tkey now '8128' Vend::Table::DBI:debug: set_slice query: update transactions SET status=?,deleted=?,archived=? WHERE code = '8128' Vend::Table::DBI:debug: set_slice key/fields/values: key=8128 [ 'status', 'deleted', 'archived' ] [ 'canceled', '0', '0' ] Vend::Table::DBI:debug: set_slice prepare done (sql: update transactions SET status=?,deleted=?,archived=? WHERE code = '8128') So it appears to be failing at: $sth->execute(@$vary) Can anyone see anything wrong with this or suggest any possible causes? The sql seems ok. Looking at other parts of the log file that have called the same code, I can't see any obvious differences. Thanks, -Donal From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Mon Nov 12 11:00:01 2001 Subject: [ic] Javascript Updating of Configured Price with Simple Options. Fred Pope wrote: > > Thanks for the input. I have actually tried that too. Looking at the code in > the Interpolate.pm, I think that you can use both > js="onupdate=somejavafunction()" or extra="onupdate=somejavafunction()" but > neither of them seem to be adding any variables into the <select> tags > generated from the IC [item-options] tag on the flypage, and I am not sure > why. There must be something that I am missing. > > If you look at Interpolate.pm, there is first the section that builds the > accessory select box, and then there is the section that uses that if the > simple options (or matrix / modular for that matter) to generate the various > select boxes. Mike made the changes to this code yesterday to include the js > and extra into all of the relevant sections. There is something else. > This appears to be a problem with quoting parameters in [prefix-*] tags. If you try to do any coding in the JS string itself, you inevitably have to use quotes (and spaces). The way I was able to get JS through was to define all the code I needed in a function with no args (or at least no string args), NO spaces, and just call the function: js=onChange=myfunc() Then, myfunc will run. Obviously, this has extreme limitations, so I've spoken with Jon Jensen about bringing the quoting of [prefix-*] tags on par with the normal quoting mechanisms (|,',",`). He is looking into it. However, you can always pass the object with 'this', and with enough effort you should be able to accomplish whatever you need in the function. This works since this is not quoted. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 12 11:18:00 2001 Subject: [ic] LOG container tag help Hi, Ive been fighting with the [log] tag to store [searchspec] info from the results page into a seperate log file for analysis purposes. I dont know exactly how to set it up, I tried something like the following and the "1" prints out on the screen like its processing it, but the log file is not updated. Anybody willing to help me on this? [log] 'file="searchlog"' 'create=1' 'type=error' "value=[value-extended name=mv_searchspec joiner=" | "]" [/log] Am I anywhere close?? Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Nov 12 12:10:01 2001 Subject: [ic] Ambogius Errormessage Hi Stefan, if i could help you, you can mail to my firm e-mail cu (mit freundlichen Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 12 12:13:16 2001 Subject: [ic] LOG container tag help "FixtureFactor.com" <aaron@fixturefactor.com> writes: > Hi, Ive been fighting with the [log] tag to store [searchspec] info from > the results page into a seperate log file for analysis purposes. I dont > know exactly how to set it up, I tried something like the following and the > "1" prints out on the screen like its processing it, but the log file is not > updated. Anybody willing to help me on this? > > [log] > 'file="searchlog"' > 'create=1' > 'type=error' > "value=[value-extended name=mv_searchspec joiner=" | "]" > [/log] [log file=searchlog create=1 type=error] [value-extended name=mv_searchspec joiner=" | "] [/log] Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rick Dickulous) Date: Mon Nov 12 12:34:00 2001 Subject: [ic] tag for thumbnail images I am using the Foundation demo (hardware store) and infusing my own products into it. When the user clicks a category, a page containing those items appears. I want to put the thumbnail image for the items in the leftmost column of the returned set. I have the results.html page in the admin and can see the tags in the table, but I need to know what tag drops in the thumbnail image. I am looking now at the random and cross_sell components to see what tag is used there. Any help would be uber appreciated. Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 12 12:49:01 2001 Subject: [ic] multiple stores - one cart Thanks Jim Sym links are under consideration, I though that there may be an IC specific way of going about it. During makecat there is a references to Share Url where catalogs can share common images and files, didn't know what the extent of "sharing" was. Sorry Christopher didn't mean to confuse. There are 3 stores that at present have no shared or common parts, all databases, files, images, etc. are all seperate, united only in running under the same instance of IC. The physical stores are all owned by the same person and reside in the same warehouse, so it would make sense (if possible) to have a common cart, shipping, etc. and it would also be advantagous for the customers as they could select from the different stores but just go through one checkout process. Thanks for the help Dave From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 12 12:52:00 2001 Subject: [ic] Scalability of IC > I have a client that wants to implement IC for their on-line retail > presence. In your opinion (experienced MV/IC users) could IC > eventually > be used to replace their in-house inventory system. The > current system > handles around 10,000 items selling clothing to the public and > wholesale. I guess the major issue woulod be the accounting > functionality that IC does/does not offer. Wouold > Interchange be good > enough to run an entire meduim sized business on? > > I know this is a very vague and subjective question, but I am really > just looking for thoughts. > > Thanks, > Michael Stearne Nope. IC would do very well to become a front-end for many back-end systems (ERP/CRM/etc. solutions). Many IC service providers specialize in integrating IC with backend systems (i.e. inventory, invoices/customer info, order status, etc., etc.). As far as an ERP/CRM solution goes, here are the $1,000,000 players: Siebel, Clarify, Vantive, Pivotal, SAP-R3, SalesLogix, Epiphany, Oracle, Baan, CODA, D&B, IBM, Software 2000, SNI, PeopleSoft, Marcam, J.D. Edwards. But there now is a new Open Source player (not quite $1 mil. material, but close enough for the size of business you are talking about): Compiere (MPL). See my message below regarding Compiere. HTH, HAND, Dan Browning Kavod Technologies Announcing Compiere: the open source ERP & CRM solution I recently stumbled across Compiere (http://www.compiere.org & http://sf.net/projects/compiere) and I was so impressed that I have to say something. I have in the past integrated Interchange with expensive accounting / ERP solutions (like MAS90) for running "back office" tasks (inventory, POS, accounting, etc., etc.), and have always pined for a great open source CRM & ERP. Here it is. I believe that most of you will find this is exactly the software that you need to complement interchange (your front end e-commerce app) with a backend (ERP, advanced CRM). (I wont be surprised if RH buys ComPiere too ;-) In fact, I think Compiere is even *better* than the big boys (SAP, Baan, Oracle-*, etc.) in some ways (besides being open source). The current version takes about 4 hours to install (including Oracle, etc.), but the next release due out in a few weeks will have many improvements (including PHB Oracle installation). I sincerely think that the opensourcing of Compiere is as monumental as was the posting of Linux 0.01 by Linus. Further, I expect to see at least 20 new Compiere developers come from this list. :-) If you get as excited about it as I did, don't hesitate to run around, scream, shout, and then send a thank you to the author. I can't seem to say enough good things about the quality of the project. I tried to write some info about it (features, technologies, etc.) below to whet your appetites. See you guys on the compiere-help@sf.net mailing list, Dan Browning Kavod Technologies Author: The lead programmer is Jorg Janke (more info: http://www.compiere.org/home/aboutus.html) Platforms: Server: Linux or Windows NT/2000 Client: Linux or Windows NT/2000 or DHTML License: Mozilla Public License 1.1 for Compiere only (see http://www.compiere.org/home/whyfree.html#whatfree for what else is required to run Compiere) Short Description: Compiere is the Open Source ERP & CRM solution with first tier functionality for the small-medium enterprise. Designed for the global marketplace, Compiere is easy to install and implement. In contrast to other solutions, you will be able to enter invoices after about 4 hours, without functionality compromises or irreversible implementation time decisions. Feature List: [I just wrote this up to whet your appetite, see the home page for more info] Manages your inventory Automates your accounting Provides customer-centric POS (point-of-sales) Enter Sales Orders Receive Orders from the Web Create Invoices and record Shipments Collect Receipts (cash, credit cards) & match with Bank Statements Generate or enter Purchase Orders Record Supplier Receipts and Invoices Pay your Suppliers Enter manual Journals Print reports and statements "Rich" Windows interface & "Reach" DHTML interface Smart User Interface (Personalization of every aspect: you only see what you need) Rule-based "Safe-fail" technology: instead of "failsafe", Compiere handles failures gracefully and intelligently. Truly integrated: "Front office" (CRM) + "Back office" (ERP) functionality together with many additional optional functionalities like Project management, Marketing campaign management, and others For the Global Market o Multi-Language for Documents and User Interface o Multi-Currency for transacting or reporting foreign currencies o Multi-Tax supporting different tax systems (Sales, VAT, and combinations) o Multi-Costing in parallel (e.g. Standard Costing, Average, Lifo, ...) o Multi-Accounting for your legal reporting using different accounting principles (e.g. Cash/Accrual, International/US/German/.. GAAP) o Multi-Organization for different branches/outlets and/or legal entities Customer Management Accounting Management Partner Management Supply Chain Management Implementation Features: >From installation to entering invoices in just 4 hours. No "final" decision making (no irreversible decisions at install time) Quote to Cash Requisition to Pay Customer Relations Management Partner Relations Management Supply Chain Management Performance Analysis Web Store Quotes Sales Orders Shipments Customer Invoices Receipts Bank Statement Open Item Management Invoice Payment Rules Cash, credit card, On account, check, transfer Cash Journal Requisitions to Pay Purchase orders Material Receipts Vender invoices Payments Bank Statements Lead and Activity Tracking Marketing Campaign Management Customer Profitability Analysis Self Service Online Inquiry Partner Relations Management Lead Distribution and Tracking Marketing Expense Accounting Collateral Ordering Customer Service Requests & Warranty Requests Supply Chain Management Product Catalog Distribution & Multi-Warehouse Control Materials Management Product/Service Costing EDI Integration Bill of Material (stocked or non-stocked) Price Lists Price List Version Purchase Price List Performance Analysis Accounting Rules Integrated Reporting, Data Warehousing and OLAP Manual Journals Generated Journals Web Store Online Product Catalog Online Pricing and Availability Online Sales Transactions User Management Counter Info Requests Application Dictionary Smart User Interface Smart Reporting Drill-down Drill-across Many Reporting types Customizing Reports Sustainable Architecture Safe-fail Security Customization Application Integration Integration: SQL, Excel, HTML, XML, Text, PDF, PS, Word, Business OLAP Cubes, Scanner interface J2EE Connectors OAGIS and OFX EDI Workflow and Wizard Attachments and Images Alerts Scheduling Email integration Help (online documentation) Server Architecture: The Compiere Server is Java Management Extensions (JMX) compliant. All server services are implemented as Dynamic Managed Beans (MBean). The Compiere Server is based on the JMX reference implementation. . Compiere Server (JMX compliant MBean Server) . Compiere Server Services (JMX compliant Dynamoc MBeans) o Accounting Server o Request Server o Utility Server This architecture allows to . Manage the MBeans (start/stop/..) and inquire their status locally and remotely . Ability to integrate with an SNMP (Simple Network Management Protocol) manager or CIM/WBEM manager . Add additional services required (e.g. Servlet Server, EJB engine, ...) . Ability to integrate the Compiere Server services into any JMX compliant server (e.g. Application Servers) Stand alone mode In the stand alone mode, the Compiere JMX Server also manages: . Java Servlet & JSP Server (Tomcat and Jasper wrapped in a Dynamic MBean) . JBoss EJB engine and JNDI components required for the Compiere application Integrated mode The stand alone mode is intended for small footprint, small implementations. If you need to integrate significant functionality, you could integrate the Compiere Services as MBeans in JMX compliant agents (MBean Servers) like JBoss or in other Application Servers. Application technology: Technology Stack Compiere is a 100% pure Java solution based on Oracle database technology. The client application component is written entirely in Java designed to utilize the capacity of today's PCs. The Java Application or Java Applet client is the preferred choice for high data volume as it provides a high performance Windows based user interface. It communicates, via thin JDBC, with the database layer and via IIOP with the application layer. The client accesses the server via the Internet or Intranet. As an alternative, a HTML client could be used to extend, where the installation or download of the application is not appropriate (i.e. self-service functionality for vendors, customers, employees). This part is implemented through Java Servlets and Java Server Pages, to be hosted in Servlet Servers (like JRun) or the Oracle Database Server (8.1.7) directly. The application server component is implemented in Java and SQLJ (Embedded SQL in Java) as Java Enterprise Beans hosted in the Oracle Database Server. Some application functionality is implemented as PL/SQL. The majority of the functionality is implemented as Java Stored Procedures. Compiere utilizes the option to natively compile and deploy Java in the Database, which increases the performance as it eliminates the Java interpreter on the server side. We are members of the Oracle, Sun and Microsoft technology programs and are using Rational Rose for analysis and design, Borland JBuilder Java for Java development and debugging, OptimizeIt for Java performance and memory debugging, ParaSoft JTest for automatic testing, ZeroG InstallAnywhere to create automatic installs, JRun as Servlet Server and the Embarcadero suite of products for database maintenance and PL/SQL programming and debugging. Compiere uses the ILOG Java rules engine currently for creating accounting transactions and pricing decisions. Complex logic is easier maintained with rules than with procedural logic. This also allows sophisticated users to extend the functionality. The rules are compiled for maximum runtime performance. Deployment Options Compiere has the following main components: . Client o Java Application o Java Applet o HTML based . Servlet Server for HTML based Application . Application Server . Database Server All application components can be deployed on all Java enabled platforms: Windows (NT, 2000), UNIX, Linux. Mac, etc. A variety of configurations are supported. Where communication bandwidth allows, the Application Client can be deployed as Windows Application or Java Applet. The Java Applet and the Java Application are functionally identical. A communication bandwidth of 128 kbps is sufficient for the Windows Application. For the HTML client, a Java Servlet and JSP (Java Server Pages) Server is required. Options include JRun. In addition to the standard HTTP Internet communication, the SSL secure protocol could be used. The Java Application Server is based on Enterprise Java Bean (EJB) or Remote Method Invocation (RMI) technology and could be deployed as a stand-alone tier in the Oracle Application Server or other EJB servers. The secure standard IIOP protocol is used. The Database Server hosts data and application logic and is accessed by the standard JDBC (Java Database Communication) protocol. Functionality at the database level is implemented in PL/SQL and Java Stored Procedures. In Oracle 8i the database includes a CORBA and an EJB server. Since the majority of functionality is data intensive, eliminating an additional level reduces overhead and improves performance. With Oracle 8.1.7, the database includes also a Servlet & JSP server The portability and hardware independence allows for easy deployment and rollout reducing the hardware and administrative overhead. Depending on the environment, a simple two-tier deployment might be sufficient with the option to migrate anytime to a multi-tier deployment environment. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 12 13:01:01 2001 Subject: [ic] Advanced search on large DB > I have an arbitary database of over 100000 products in a new > 4.8.2 store running mySQL on a modest server. What I need to > put together is an advanced search form to allow customers to > search titles for keywords within prod_group or category. > > The data is not unlike the original 'Art gallery' type > database: description, artist, prod_group, category. > > What I really need is an example of an efficient advanced > search form that deals directly with the mySQL DB allowing > searches through hardcoded prod_groups or categories drop downs. > > My SQL (no pun intended) understanding is not that brilliant. > My previous catalogs relied on Glimpse for searching. > > I've been through > http://www.minivend.com/doc-4.8/frames/ictags_> 59.html > several > times and haven't been able to grasp the > concepts as much as I would have liked. > > How do I allow searches through a DB this large without over > burdening the server? > > I would love to view an example or two of an advanced search > page specific to mySQL and Interchange and a large DB. > > Any other tips would be tremendously appreciated! > > Simon Below is a message that Mike Heins posted circa 12 months ago. Dan Browning Kavod Technologies From: interchange-users-admin@minivend.com on behalf of Mike Heins [mikeh@minivend.com] Sent: Tuesday, November 21, 2000 12:58 PM To: Interchange User List Subject: [ic] Tips and Tricks -- optimizing lists Area: Core Category: Templates Item: List optimization Interchange has powerful search capabilities that allow you to produce lists of items for use in category lists, product lists, indexes, and other navigation tools. These are a two-edged sword, though. Lists of hundreds or thousands of entries can be returned, and techniques that work well displaying only a few items may slow to a crawl when a large list is returned. In general, when you are returning one item (i.e. a flypage) or a small list (i.e. a shopping cart) you can be pretty carefree in your use of [if ...] and [calc] and [perl] tags. When there are hundreds of items, though, you cannot; each complex test or embedded Perl snippet causes the Safe module to have to evaluate code, and each ITL tag requires parsing and argument building. The Safe module is pretty fast considering what it does, but it can only generate a few thousand instances per second even on a fast system. And the ITL tag parser can likewise only parse thousands of tags per CPU second. What to do? You want to provide complex conditional tests but you don't want your system to slow to a crawl. Luckily, there are techniques which can speed up complex lists by orders of magnitude. ------------ Benchmarking ------------ A non-precise benchmark of different iteration options can be done with the following global UserTag. Place this in a file in the usertag/ directory in the Interchange root: UserTag benchmark Order start display UserTag benchmark AddAttr UserTag benchmark Routine <<EOR my $bench_start; my @bench_times; sub { my ($start, $display, $opt) = @_; my @times = times(); if($start or ! defined $bench_start) { $bench_start = 0; @bench_times = @times; for(@bench_times) { $bench_start += $_; } } my $current_total; if($display or ! $start) { for(@times) { $current_total += $_; } unless ($start) { $current_total = sprintf '%.3f', $current_total - $bench_start; for(my $i = 0; $i < 4; $i++) { $times[$i] = sprintf '%.3f', $times[$i] - $bench_times[$i]; } } return $current_total if ! $opt->{verbose}; return "total=$current_total user=$times[0] sys=$times[1] cuser=$times[2] csys=$times[3]"; } return; } EOR Then at the beginning of the code to check, call [benchmark start=1] to start the measurement. At the end [benchmark] will display the time used. Bear in mind that it is not precise, and that there may be variation due to system conditions. Also, the longer the times and the bigger the list, the better the comparison. To see the system/user breakdown, do: [benchmark verbose=1] In general, "user" time measures Interchange processing time and and the rest are indicative of the database access overhead, which can vary widely from database to database. ------------- Optimizations ------------- ---------------------------------------------------- [PREFIX-tag] is faster than [parsed-tag] [loop prefix=foo search="ra=yes"] [foo-data products image] is slightly faster than [foo-field image] which is MUCH faster than [data products image [foo-code]] which is faster than [data table=products column=image key="[foo-code]"] [/loop] The loop tags are interpreted by means of fast regular expression scans of the loop container text, and fetch an entire row of data in one query. The [data ...] ITL tag interpretation is delayed until after the loop is finished, whereby the ITL tag parser must find the tag, build a parameter list, then fetch the data with a separate query. If there are repeated references to the same field in the loop, the speedup can be 10x or more. ---------------------------------------------------- Pre-fetch data with rf=field1,field2,field3 and access with [PREFIX-param field1]. mv_return_fields (otherwise known as "rf" in one-click terminology) sets the fields that are returned from a search. Once they are returned, they can be accessed with [PREFIX-param field]. They can also be referenced with [PREFIX-pos N], where N is a digit representing the ordinal position (i.e. starting with 0) in the list of fields. The following are equivalent: Benchmark loop-field list: [benchmark start=1] <!-- [loop search="ra=yes/st=db"] [loop-code] price: [loop-field price] [/loop] --> TIME: [benchmark] <P> Benchmark loop-param list: [benchmark start=1] <!-- [loop search="ra=yes/st=db/rf=sku,price"] [loop-code] price: [loop-param price] [/loop] --> TIME: [benchmark] but the second is much, much faster. ---------------------------------------------------- [PREFIX-alternate N] is available for row counting and display. A common need when building tables is to conditionally close the table row or data containers. I see a lot of: [loop search="ra=yes"] [calc] return '<TR>' if [loop-increment] == 1; return[/calc] [calc] return '' if [loop-increment] % 3; return '</TR>' [/calc] [/loop] Much faster, by a few orders of magnitude, is: [loop search="ra=yes"] [loop-change 1][condition]1[/condition]<TR>[/loop-change 1] [loop-alternate 3]</TR>[/loop-alternate] [/loop] If you think you need to close the final row by checking the final count, look at this: [loop search="ra=yes"] [on-match] <TABLE> <TR> [/on-match] [list] <TD>[loop-code]</TD> [loop-alternate 3]</TR><TR>[/loop-alternate] [/list] [on-match] </TR> </TABLE> [/on-match] [no-match] No match, sorry. [/no-match] [/loop] This is a hundred times faster than anything you can build with multiple [calc] tags. ---------------------------------------------------- Use simple go/nogo comparisons in [if ...] Consider these two snippets: [if scratch|value|cgi key] THEN [/if] and: [if scratch|value|cgi key == '1'] THEN [/if] The first one doesn't require Perl evaluation. It simply checks to see if the value is blank or 0, and returns true if it is anything but. Of course this requires setting your test values to blank or 0 instead of "No" or " " or somesuch, but it is anywhere from 20-35% faster. Try it on the construct demo: ---- begin test --- Overhead: [benchmark start=1] <!-- [loop search="ra=yes"][set cert][loop-field gift_cert][/set][/loop] --> [benchmark] <P> if scratch compare: [benchmark start=1] <!-- [loop search="ra=yes"] [set cert][loop-field gift_cert][/set] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [loop-code] [if scratch cert] YES [else] NO [/else][/if] [/loop] --> [benchmark] <P> if scratch compare eq 1: [benchmark start=1] <!-- [loop search="ra=yes"] [set cert][loop-field gift_cert][/set] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [loop-code] [if scratch cert == 1] YES [else] NO [/else][/if] [/loop] --> [benchmark] <P> [page @@MV_PAGE@@]Again[/page] ---- end test --- ---------------------------------------------------- Use [PREFIX-calc] instead of [calc] or [perl] (This facility is not yet documented, but will be soon.) You can execute the same code as [calc] with [PREFIX-calc], which has two benefits: 1. It doesn't require ITL parsing. 2. It is executed during the loop instead of after it. The [PREFIX-calc] object has complete access to all normal embedded Perl objects like $Values, $Carts, $Tag, and such. If you want to make a data table (i.e. "products" or "pricing") available for access inside of it, just do: [perl tables="products pricing"] [/perl] prior to list start. Now you can do something like: [loop search="ra=yes"] [loop-calc] $desc = $Tag->data('products', 'description', '[loop-code]'); $link = $Tag->page('[loop-code]'); return "$link $desc </A>"; [/loop-calc] <BR> [/loop] ---------------------------------------------------- ADVANCED: Precompile and execute with [PREFIX-sub] and [PREFIX-exec] (This facility is not yet documented, but will be soon.) For repetitive routines, you can achieve a considerable savings in CPU by pre-compiling your embedded Perl code. In the "Construct Something" demo, the bar_link() routine in catalog_before.cfg is an example of compiling the subroutine once at catalog configuration time. You can also compile routines at the time of the list execution with [item-sub routine] CODE [/item-sub]. This means only one Safe evaluation is done -- every time the [loop-exec routine] is called, it is done fast as a call to the routine. This can be 10 times or more faster than separate [calc] calls, or 5 times faster than separate [PREFIX-calc] calls. Example: [benchmark start=1] loop-calc: <!-- [loop search="st=db/fi=country/ra=yes/ml=1000"] [loop-calc] my $code = q{[loop-code]}; return "code '$code' reversed is " . reverse($code); [/loop-calc] [/loop] --> [benchmark] <P> [benchmark start=1] loop-sub and loop-exec: <!-- [loop search="st=db/fi=country/ra=yes/ml=1000"] [loop-sub country_compare] my $code = shift; return "code '$code' reversed is " . reverse($code); [/loop-sub] [loop-exec country_compare][loop-code][/loop-exec] [/loop] --> [benchmark] ---------------------------------------------------- ADVANCED: Execute and save with [query ...], then use an embedded Perl routine. You can run [query arrayref=myref sql="query"], which saves the results of the search/query in a Perl reference. It is then available in $Tmp->{myref}. (Of course, "myref" can be any arbitrary name.) This is the fastest possible method to display a list. Observe: --- begin test code --- [set waiting_for]os28004[/set] [benchmark start=1] Embedded Perl <!-- [query arrayref=myref sql="select sku, price, description from products"] <!-- make query, this container text is not used. --> [/query] [perl] # Get the query results, has multiple fields my $ary = $Tmp->{myref}; my $out = ''; foreach $line (@$ary) { my ($sku, $price, $desc) = @$line; if($sku eq $Scratch->{waiting_for}) { $out .= "We were waiting for this one!!!!\n"; } $out .= "sku: $sku price: $price description: $desc\n"; } return $out; [/perl] --> TIME: [benchmark] [benchmark start=1] All loop <!-- [query list=1 sql="select sku, price, description from products"] [if scratch waiting_for eq '[sql-code]']We were waiting for this one!!!! [/if] sku: [sql-code]price: [sql-param price] desc: [sql-param description] [/query] --> TIME: [benchmark] --- end test code --- ---------------------------------------------------- Other things that help: *** Avoid interpolate=1 when possible. A separate tag parser must be spawned every time you do this. Many times people use this without needing it. *** Avoid saving large values to Scratch, as these have to be written to the users session. If you need them only for the current page, clear at the end by using [tmp scratch_var] contents [/tmp], which is the same as [seti scratch_var] contents [/seti] except clears the value before the session is written. You can also use [scratchd scratch_var] to return the contents and delete them from the session at the same time. *** Use the [more-list] facility to break up your large searches. You can use them in [query ....] and [loop ...] searches as well -- see the docs. -- Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <heins@akopia.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@www.minivend.com http://www.minivend.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ethan Goldstine) Date: Mon Nov 12 13:07:01 2001 Subject: [ic] Credit Card Checking & CreditCardAuto Hi, All-- I am new to Interchange, am setting up a store for the first and am somewhat confused about the use of CreditCardAuto, even after reading the documentation and everything posted to the boards about it. When CreditCardAuto is set to Yes, a valid credit card generates the "Can't figure out credit card expiration" that is documented in other postings. I have EncryptProgram set to gpg, and the software is successfully encrypting the e-mail it's sending to the store owner. I have tried setting EncryptProgram to /usr/bin/gpg -a -e -r ethan@kapow.com and that doesn't help. I'm assuming that when CreditCardAuto is functioning properly, it saves the encrypted credit card info into the database. What field does it go into? I don't think I have a field for it in any of my tables. Is that possibly what's causing the problem? The bottom line is this: does anyone have a good explanation of exactly what CreditCardAuto does and how it does it? Thanks, Ethan Ethan Goldstine Producer, kapow, inc. ethan@kapow.com 310.479.2020 From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 12 13:10:01 2001 Subject: [ic] tag for thumbnail images Hey, I did the same thing...Why dont they just put that in there in the first place?? heres mine: <td>[if-item-field thumb]<A HREF="[area [item-code]]"><img src="thumb/[item-field thumb]" ALT="[item-description]" BORDER="0"></A>[/if-item-field]</td> Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Dickulous Sent: Monday, November 12, 2001 12:34 PM To: interchange-users@interchange.redhat.com Subject: [ic] tag for thumbnail images I am using the Foundation demo (hardware store) and infusing my own products into it. When the user clicks a category, a page containing those items appears. I want to put the thumbnail image for the items in the leftmost column of the returned set. I have the results.html page in the admin and can see the tags in the table, but I need to know what tag drops in the thumbnail image. I am looking now at the random and cross_sell components to see what tag is used there. Any help would be uber appreciated. Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 12 13:12:04 2001 Subject: [ic] tag for thumbnail images Hey, I did the same thing...Why dont they just put that in there in the first place?? heres mine: <td>[if-item-field thumb]<A HREF="[area [item-code]]"><img src="thumb/[item-field thumb]" ALT="[item-description]" BORDER="0"></A>[/if-item-field]</td> Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Dickulous Sent: Monday, November 12, 2001 12:34 PM To: interchange-users@interchange.redhat.com Subject: [ic] tag for thumbnail images I am using the Foundation demo (hardware store) and infusing my own products into it. When the user clicks a category, a page containing those items appears. I want to put the thumbnail image for the items in the leftmost column of the returned set. I have the results.html page in the admin and can see the tags in the table, but I need to know what tag drops in the thumbnail image. I am looking now at the random and cross_sell components to see what tag is used there. Any help would be uber appreciated. Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 12 13:16:01 2001 Subject: [ic] multiple stores - one cart On Mon, Nov 12, 2001 at 05:12:45PM +0000, dave@belleekshop.com wrote: > Thanks Jim > > Sym links are under consideration, I though that there may be an IC specific way of going about it. During makecat there is a references to Share Url where catalogs can share common images and files, didn't know what the extent of "sharing" was. > > Sorry Christopher > > didn't mean to confuse. There are 3 stores that at present have no shared or common parts, all databases, files, images, etc. are all seperate, united only in running under the same instance of IC. > > The physical stores are all owned by the same person and reside in the same warehouse, so it would make sense (if possible) to have a common cart, shipping, etc. and it would also be advantagous for the customers as they could select from the different stores but just go through one checkout process. > Thanks for the help So what you are really looking for is your administrative and maintenance convenience, right? Suppose each store had a different merchant account (if it is tied in online), a different name, different email order to, and you just want them to LOOK the same except for various fill in the blanks, then yes, you can do that very easily. In rough decreasing order of difficulty, you could use locale, or various [file includes], or even frame a basic anonymous catalog - just make sure your ssl checkout is under one single name to save pain. :-) Symlinks yes, we've done that too; it's a mess compared to one catalog. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Nov 12 13:49:01 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) At 03:32 PM 11/11/2001 -0800, you wrote: >Finally isolated it! It's "convert-date"!! >In the admin UI, -any- page that contains the "convert-date" tag produces a >"500 Internal Server Error". Every time. Remove that tag and that tag >only, and the page displays fine (well, no data where the date should be, >but it displays). > >Anyone know what could cause this or had this before (I don't see it in the >list archives) or am I launching into the convert-date routine next? All >comments appreciated. > >Glenn. > >IC 4.8.2 / Foundation demo. >Perl 5.6.1 >FreeBSD 4.0 Hmmm... what (if any) error in the error.log was associated with this problem? The only thing I can think of is that perhaps you are missing modules or libraries needed by the convert_date routine. - Ed L. > =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 12 14:09:00 2001 Subject: [ic] tag for thumbnail images I have them on my website. go to www.moddepot.com and if that's what you want let me know and I will paste the code for you ----- Original Message ----- From: "Rick Dickulous" <twoten@altavista.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, November 12, 2001 9:33 AM Subject: [ic] tag for thumbnail images > I am using the Foundation demo (hardware store) and infusing my own products into it. When the user clicks a category, a page containing those items appears. I want to put the thumbnail image for the items in the leftmost column of the returned set. I have the results.html page in the admin and can see the tags in the table, but I need to know what tag drops in the thumbnail image. I am looking now at the random and cross_sell components to see what tag is used there. > > Any help would be uber appreciated. > > > Find the best deals on the web at AltaVista Shopping! > http://www.shopping.altavista.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Nov 12 14:11:57 2001 Subject: [ic] Advanced search on large DB At 12:52 AM 11/13/2001 +1100, you wrote: >I have an arbitary database of over 100000 products in a new 4.8.2 store >running mySQL on a modest server. >What I need to put together is an advanced search form to allow customers to >search titles for keywords within prod_group or category. > >The data is not unlike the original 'Art gallery' type database: >description, artist, prod_group, category. > >What I really need is an example of an efficient advanced search form that >deals directly with the mySQL DB allowing searches through hardcoded >prod_groups or categories drop downs. > >My SQL (no pun intended) understanding is not that brilliant. My previous >catalogs relied on Glimpse for searching. > >I've been through http://www.minivend.com/doc-4.8/frames/ictags_59.html >several times and haven't been able to grasp the concepts as much as I would >have liked. > >How do I allow searches through a DB this large without over burdening the >server? > >I would love to view an example or two of an advanced search page specific >to mySQL and Interchange and a large DB. > >Any other tips would be tremendously appreciated! Well, the [query] tag doc (which you have already studied) is about as good as it gets in the current incarnation if the IC manuals. I would suggest taking a look at the UI html files (VENDROOT/lib/UI/pages/admin/) for a few examples of the this tag in use: customer_view.html and order_view.html each contain reasonably straight-forward examples which should help you on your way. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interch) Date: Mon Nov 12 14:20:01 2001 Subject: [ic] Connecting to undefined db We have an IC installation we use to manage a lot of our account setups. Part of the process is creating and inserting some default data into databases that are created for the client. Each client has their own database, so defining the databases in IC before hand isn't possible. Is there any trick to be able to connect to an arbitrary database not defined in IC without having to create a usertag to get around Safe.pm? Any hints on the simplest way to do this would be appreciated. I'd like to use the flex editor for this but that doesn't seem possible from what I can tell. Chris From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 12 14:32:01 2001 Subject: [ic] mail archive search broken? Quoting Patrick J. Walsh (pjwalsh@pacbell.net): > The searchable mail archive located here: > > http://interchange.redhat.com/cgi-bin/ic/mail_archive.html > > seems to have died. As of today all of my searches return no results > including searches for "encrypt," "pgp," "authorizenet," and even > "interchange" -- all of which have of course been in both messages and > subjects. Probably this notice should be sent somewhere other than this > list. If so, I apologize. > > Would someone please let the list know when this is fixed? Thanks. > It is working, though with week-old messages only. Ht::Dig barfed again.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 12 14:34:32 2001 Subject: [ic] Credit Card Checking & CreditCardAuto Quoting Ethan Goldstine (ethan@kapow.com): > Hi, All-- > > I am new to Interchange, am setting up a store for the first and am > somewhat confused about the use of CreditCardAuto, even after reading the > documentation and everything posted to the boards about it. > > When CreditCardAuto is set to Yes, a valid credit card generates the "Can't > figure out credit card expiration" that is documented in other postings. > > I have EncryptProgram set to gpg, and the software is successfully > encrypting the e-mail it's sending to the store owner. I have tried > setting EncryptProgram to /usr/bin/gpg -a -e -r ethan@kapow.com and that > doesn't help. > > I'm assuming that when CreditCardAuto is functioning properly, it saves the > encrypted credit card info into the database. What field does it go > into? I don't think I have a field for it in any of my tables. Is that > possibly what's causing the problem? > > The bottom line is this: does anyone have a good explanation of exactly > what CreditCardAuto does and how it does it? > CreditCardAuto is legacy and should almost never be used. It automatically encrypts a credit card the moment it notices mv_credit_card_number in the submitted values. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 12 14:36:35 2001 Subject: [ic] dynamic profiles.order Quoting Patrick J. Walsh (pjwalsh@pacbell.net): > I have an interesting problem and have exhausted the archives and the > docs that I can find. Hopefully someone here will have a suggestion or > pointer. > > Certain software products in our store require that the customer agree > to a license agreement before purchasing. Each product that has a license > generates a checkbox like so: > > <input type="checkbox" value="checked" name="license_[item-code]"> > > with a label like so: > > [error name="license_[item-code]" std_label="I have read and agreed..." > show_label=1 required=1] > > However, the "required=1" parameter is apparently not enough to force > the user to check the box before checking out. This suggests that I need to > have associated entries in etc/profiles.order. My problem is this: how do I > make a dynamic profiles.order that adds the appropriate "required" lines > depending on which products are being purchased? Or is there a way to > require a field without putting an entry into profiles.order? > > Any pointers appreciated. There are about 5 zillion ways to do it. One quick one would be right in the profile: [item-list] [if-item-field needs_license] license_[item-code]=required Need indication you have read and agreed for [item-code]. [/if-item-field] [/item-list] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 12 14:38:40 2001 Subject: [ic] Secure server FAQs [monthly posting] These are the FAQs: Shopping cart is dropped when using SSL. This is a thorny question. It has many possible causes, and most often occurs when you try to use a different secure server domain than the regular catalog runs on. (See the next question for more info on that.) If your secure domain is the same as the non-secure domain, it is usually due to the user not having cookies enabled. It can be due to the HostnameLookups (Stronghold/Apache parameter) not matching for the two servers, secure and non-secure. It can also be caused by the user having different web proxy addresses for HTTP and HTTPS. If it still does not work, try changing some of the appropriate configuration parameters in interchange.cfg: DomainTail No IpHead Yes If you still are having problems, try this combination in catalog.cfg, the catalog configuration file: SessionExpire 10 minutes WideOpen Yes The above setting will typically make Interchange work when it is possible to work. Sometimes when you have multiple Interchange servers sharing the same secure server, you will have problems after accessing the second one. (The first one issues a session ID cookie, and that causes problems). I have a different secure server domain. Why does the shopping cart get dropped? First of all, it is questionable business practice to not certify your secure server. Besides violating the terms of use of many certificate issuers, customers notice the changed domain and it is proven by user surveys and long experience that you will receive fewer orders as a result. Certs can be obtained for $125 US per year, less than the typical cost of one hour of a top consultant's time. Do your business a favor -- spend the money to get a cert. If you insist on doing it anyway, probably driven by the fact that you need a dedicated IP address for a secure server, you can use the solutions in the previous FAQ question and get some relief. But by far the best way is to have all orders and shopping cart calls go only to the secure domain. Your users may get a different session when browsing the non-secure catalog pages, but it will matter little. To do this on the Foundation demo, place in catalog.cfg: AlwaysSecure order ord/basket ord/checkout A more complete list might be: AlwaysSecure <<EOF account change_password customerservice login logout new_account ord/basket ord/checkout order process query/check_orders query/order_detail query/order_return returns saved_carts ship_addresses EOF (Thanks to John Beima for the above list.) Add pages of your own that need to be sure of coherent session information. For all *forms* to be secure, make sure "process" is on that list. (Your search forms will still be non-secure if you use "[process-search]" to produce the form ACTION.) To make individual order links secure, use this instead of "[order]": <A HREF="[area href=order secure=1 form='mv_order_item=SKU_OF_ITEM' ]">Order it</A> To make a form-based order button secure, use "[process secure=1]" as the ACTION. My images aren't there on the secure server!!! You have a different document root, or the permissions are not such that you can access them. You can set a different base URL for images with: ImageDirSecure https://your.secure.server/somewhere/images Don't try to set it to an http:// URL -- images will be broken anyway. My secure pages fail when my browser is MSIE. MSIE has several SSL bugs, particularly in V5.01. See the C<Apache-SSL> or C<mod_ssl> FAQ. You can sometimes fix this with an httpd.conf change: SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 12 14:40:43 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) Quoting Glenn McCalley (techlist@bnetmd.net): > Finally isolated it! It's "convert-date"!! > In the admin UI, -any- page that contains the "convert-date" tag produces a > "500 Internal Server Error". Every time. Remove that tag and that tag > only, and the page displays fine (well, no data where the date should be, > but it displays). > > Anyone know what could cause this or had this before (I don't see it in the > list archives) or am I launching into the convert-date routine next? All > comments appreciated. This is a bad POSIX library on your system, or a bad build by Perl of its links to it. It is a shame that Perl and FreeBSD work so poorly together. These problems are constant, and in my opinion the FreeBSD people should be concerned that there are so many bad Perl builds out there. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 12 15:19:00 2001 Subject: [ic] Connecting to undefined db Quoting interch (interch@client.paymentonline.com): > > We have an IC installation we use to manage a lot of our account setups. > Part of the process is creating and inserting some default data into > databases that are created for the client. Each client has their own > database, so defining the databases in IC before hand isn't possible. Is > there any trick to be able to connect to an arbitrary database not defined > in IC without having to create a usertag to get around Safe.pm? Any hints > on the simplest way to do this would be appreciated. I'd like to use the > flex editor for this but that doesn't seem possible from what I can tell. Using the flex editor would not be possible, except where I mention below. The other should be. You could create a Global UserTag which passes back a handle to the $dbh (DBI object), then do object methods with it. Also, you probably don't know it is possible (actually probably nobody but me knows) to add a single database to an Interchange catalog without going through the entire config process. Depending on how your server is set up, it would be quite efficient and could be done on a running server withoug impacting performance hardly at all. This would allow the flex editor to operate on the table. Interchange actually can easily define several hundred of its DBs with very little downside in processing time. Benchmarks of its dummy database creation show the ability to create about 100,000 per second, which means that a thousand would take only a 10 milliseconds or so. Implementing this is the type of thing our consulting arm can do; they have access to me and I would help them get you going. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you think nobody cares if you're alive, try missing a couple of car payments. -- Earl Wilson From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Mon Nov 12 16:05:01 2001 Subject: [ic] LOG container tag help First, thanks Racke! ok, Ive got it somewhat working, and the text is inserting into a file..... but i cant seem to get the delimiters to work (I would like TAB). Also, everytime it is accessed, it replaces the current string and does not add to it. I dont see anything in the Docs about that part. Any help?? Thanks everybody, Aaron -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Stefan Hornburg (Racke) Sent: Monday, November 12, 2001 12:10 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] LOG container tag help "FixtureFactor.com" <aaron@fixturefactor.com> writes: > Hi, Ive been fighting with the [log] tag to store [searchspec] info from > the results page into a seperate log file for analysis purposes. I dont > know exactly how to set it up, I tried something like the following and the > "1" prints out on the screen like its processing it, but the log file is not > updated. Anybody willing to help me on this? > > [log] > 'file="searchlog"' > 'create=1' > 'type=error' > "value=[value-extended name=mv_searchspec joiner=" | "]" > [/log] [log file=searchlog create=1 type=error] [value-extended name=mv_searchspec joiner=" | "] [/log] Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 12 20:00:01 2001 Subject: [ic] multiple stores - one cart On 12 Nov 2001 dave@belleekshop.com wrote: >>Sym links are under consideration, I though that there may be an IC >>specific way of going about it. During makecat there is a references to >>Share Url where catalogs can share common images and files, didn't know >>what the extent of "sharing" was. If I were going to do this, I would set up each store as a stand alone unit and get each one operating properly. Then, in 2 of the stores, I would delete the various data bases that I want to share and make sym-links to the one that I want to share. Probably one at a time and test, and then do another one and test. It's going to be easiest to do this from the command line or Midnight Commander. You may have to play with the permissions a bit in order to get everything functioning right. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 12, 2001 at 19:50 PM: It works better if you plug it in. ---------------------------------------------------------------- This Linux System has been up 23 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Mon Nov 12 20:11:00 2001 Subject: [ic] Scalability of IC > > > I have a client that wants to implement IC for their on-line retail > > > presence. In your opinion (experienced MV/IC users) could IC eventually > > > be used to replace their in-house inventory system. The current system > > > handles around 10,000 items selling clothing to the public and > > > wholesale. I guess the major issue woulod be the accounting > > > functionality that IC does/does not offer. Would Interchange be good > > > enough to run an entire meduim sized business on? > > > > > > I know this is a very vague and subjective question, but I am really > > > just looking for thoughts. > > > > > No; it's not designed for that sort of thing. You could reinvent all > > the wheels if you want. If you do reinvent all the wheels, you'll > > find a web interface is too slow for real productivity. Typically one > > would glue IC to something designed for inventory/accounting, either > > live or batch. > > > This kind of thing comes back to the Windows vs (L/U)nix thing. > > ** details of how outlook express apparently does the job of sendmail, > pine and joe snipped ** > > Unix/Linux has the philosphy of one task for one program. > > Trying to have IC handle all of these other functions kind of defeats all of > this, and as you quite correctly say, would drastically slow the whole thing > down. IC is a program for selling stuff via e-commerce. Let's stick to that and > continue to do that one thing very well. > You'd be surprised at what Interchange can do. Take the "Freemoney" project for example (www.freemoney.org). Freemoney is an Interchange-based accounting system. Interchange is not just about E-Commerce; it can be made to do anything that needs a web-based front end. There is an online Freemoney project demo at www.web-counting.com. The project is still in its early days, but appears to be coming along nicely. I've been tracking the CVS changes for some time now. It could, eventually, be used to replace in-house accounting and inventory systems. Strangely enough, SuSE sell their Linux distribution using Interchange and Freemoney (www.suse.dk). Red Hat may want to consider doing that at some point. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Jason Korkin) Date: Mon Nov 12 20:14:03 2001 Subject: [ic] multiple stores - one cart What about the 'subcatalog' directive that Interchange supports. Basically, set up one catalog, then you can create "mirrors" of the same catalog, and in the catalog.cfg file, specify a PageDir if you want to use different pages. We're doing this for about 25+ catalogs right now and its working great! Check out the following URL over at the Interchange site: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig04%2e49 You'll need to tinker a bit with a few modifications, but in all, it works like a charm. Email me off-list if you need some quick pointers... I'd be glad to help you out. Jason. Jim Balcom wrote: > > On 12 Nov 2001 dave@belleekshop.com wrote: > > >>Sym links are under consideration, I though that there may be an IC > >>specific way of going about it. During makecat there is a references to > >>Share Url where catalogs can share common images and files, didn't know > >>what the extent of "sharing" was. > > If I were going to do this, I would set up each store as a stand alone unit > and get each one operating properly. > > Then, in 2 of the stores, I would delete the various data bases that I want > to share and make sym-links to the one that I want to share. Probably one at > a time and test, and then do another one and test. It's going to be easiest > to do this from the command line or Midnight Commander. You may have to play > with the permissions a bit in order to get everything functioning right. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Monday, November 12, 2001 at 19:50 PM: > It works better if you plug it in. > > ---------------------------------------------------------------- > This Linux System has been up 23 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Matthew Bottrell) Date: Mon Nov 12 21:13:00 2001 Subject: [ic] RE: more or less? Well.... I've been playing around on the demo at the following site: http://demo.interchange.redhat.com/cgi-bin/ic3/admin/index.html And looking at the following options it's possible: >From the Design --> Search Builder page "... You can limit the number of results per page, and use the template [more-list] to page between matches. The default is 50. ..." Hope that helps... Cheers, Matt. From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Nov 12 21:42:01 2001 Subject: [ic] Gift Certificates and Coupons Hello all, A client of ours is asking that we setup a system for handling gift certificates and coupons. Before I go through the steps to do this I would like to hear if there are plans in the near future to implement these functions so I do not reinvent the wheel? I see there is a gift_certs table which has certainly given me ideas on how to handle these functions, but it appears that if you purchase a gift certificate there is no way to redeem it. Can it be verified whether this will appear in the next release or not? Thank you, -Ron From: interchange-users at interchange.redhat.com (Jim Webster) Date: Tue Nov 13 00:35:00 2001 Subject: [ic] templates Anyone know how to add a carriage return in the ship_notice template file? I have tried [\n]. No such luck. Jim. From: interchange-users at interchange.redhat.com (Jim Webster) Date: Tue Nov 13 00:43:01 2001 Subject: [ic] (no subject) I am. Please send info. Jim. From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Tue Nov 13 01:06:01 2001 Subject: [ic] Nested Loops - Newbie Hi I am trying to get it so that a menu link for a category only links to products in that category and in the area it is displayed under. i.e 2 products one in Software with OS, The other in Courses with OS. Currently clicking on either link will display both products. Software: Operating Systems Courses Operating Systems I believe the relavent code is in templates/components/category_verticle : ...snip... <!-- BEGIN COMPONENT [control component category_vertical] --> [timed-build auto=1 if="[control timed 0]" minutes="[control timed 0]"] [set found_cat][/set] [loop prefix=box search=" fi=area st=db tf=sort ac=0 ac=0 co=yes sf=sel op=eq se=[control set_selector left] sf=which_page op=rm se=[control page_class all|@@MV_PAGE@@] "] <tr> <td valign="top" class="categorybar"> <b>[box-exec bar_link]area[/box-exec]</b> </td> </tr> <tr> </tr> <tr> <td valign="top" class="categorybar"> [set found_cat]1[/set] [loop prefix=cat search=" fi=cat st=db tf=sort tf=name rf=code,name sf=sel # Have to add box-sf se=[box-code] # have to add box-se for above sf " ] &nbsp;&nbsp;[cat-exec bar_link]cat[/cat-exec]<BR> [/loop] ...snip... I assume I can just add another sf/se pair, but how do I get the prod_group from the box loop? I am also assumin that the outer loop gets the area and the inner loop the category, which I believe I have validated by prionting out the code returned in both loops. I know I could make 2 different categories and set the prod_group in each, however that will eventually become very messy. Thank's Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jason Timm) Date: Tue Nov 13 01:31:00 2001 Subject: [ic] For those that don't already know this... Hello all, I just learned a lesson the hard way and wanted to share what I learned. I have been setting up catalogs specifying the 'M' option for PermType during the makecat process. This means that each user will be in their own group and Interchange files will be owned by the user with the group also being the user's individual group. This implies that the interchange user (interch for me) must be in each user's group. When you have a large number of catalogs, this seems like a logical way to do things while maintaining a certain level of security so that users can't alter other catalog owner's files. But, there is a major flaw with that system... Most *nix versions including Red Hat 7.1 which I use, has a limit on the number of groups that a user can belong to (usually 16, but 32 for some flavors). That means that after your 31st(ish) catalog, interch will no longer have access to the user group owned files and will therefore disable the catalog. The tricky thing is that you can specify whatever you want in the /etc/group file, but that doesn't mean that it will work. Unless someone else has a solution for this, it appears that there is a limit of 32 catalogs when using the 'M' PermType option. And since this is what makecat recommends, it really should be documented somewhere... Jason From: interchange-users at interchange.redhat.com (murahashi) Date: Tue Nov 13 01:37:01 2001 Subject: [ic] Tax caluculation problem Sales tax value calculation was wrong in case of below on both Interchange 4.6 and 4.8. TAXArea JP TAXField JP TAX Rate JP=5.0 ( Case 1) On checkout.html, Subtotal 8250Yen Tax 412Yen Tax = 8250 * 0.05 = 412.5 Wrong! Tax should be 413Yen. It seems that Round off is not correct. (Case 2) On checkout.html Subtotal 46790Yen Tax 2340Yen Tax =46790 * 0.05 = 2339.5 This case correct! >From experiences, most of cases are right on calculation of round off. Where should I look into sales tax module? Any pointer? Any help would be appreciated. --------------------------------------------------------------- KIDA Net Business Ltd Shozo Murahashi From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 13 01:41:01 2001 Subject: [ic] Nested Loops - Newbie This is a multi-part message in MIME format. ------=_NextPart_000_0284_01C16C6A.34BFC200 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > Hi I am trying to get it so that a menu link for a category only links to > products in that category and in the area it is displayed under. Mike posted the attached file that not only makes this process work but it allows for creating custom cat link searches effortlessly. I have heavily tested this in 4.8.2 and it works beautifully. Just dump it into catalog/pages/admin directory of any catalog to try it out. Delete it if you want to revert to the default layout_auto.html page. (I don't think so) Click on 'Design' and 'auto populate' to use it. ------=_NextPart_000_0284_01C16C6A.34BFC200 Content-Type: text/html; name="layout_auto.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="layout_auto.html" <!-- saved from url=3D(0022)http://internet.e-mail --> [set page_title]Layout auto-populate[/set] [set ui_class]Design[/set] [set page_banner]Layout Editor: Organize your site into categories[/set] [set page_perm]layout=3De[/set] [set help_name]layout.edit[/set] [set icon_name]icon_pages.gif[/set] [tmp meta_header] [include include/table_populator] <SCRIPT LANGUAGE=3DJavaScript> function change_ta (ta_field, selector) { if(selector =3D=3D 'complex') { ta_field.rows =3D 20; ta_field.disabled =3D false; } else { ta_field.rows =3D 1; ta_field.disabled =3D true; } return; } </SCRIPT> [/tmp] [seti ui_body_extra][/seti] @_UI_STD_HEAD_@ <!-- ----- BEGIN REAL STUFF ----- --> <form action=3D"[area __UI_BASE__/layout]" method=3DGET> <input type=3Dhidden name=3Dmv_action value=3Dback> <table border=3D0 __UI_T_PROPERTIES__> <tr> <td colspan=3D2 bgcolor=3D__UI_C_TOPBLOCKBAR__><img src=3D"bg.gif" = width=3D__UI_MAIN_WIDTH__ height=3D1></td> </tr> <tr bgcolor=3D"__UI_C_INTBLOCK__"> <td width=3D25%> 1. Choose a table as the source: </td> <td> [if !value area_table] [value name=3Darea_table set=3Dproducts hide=3D1] [value name=3Darea_column set=3Dprod_group hide=3D1] [value name=3Dcat_column set=3Dcategory hide=3D1] [/if] <select name=3D"area_table" onChange=3D" populateTable( this.form.area_table.options, this.form.area_column.options, = this.form.area_table.options[this.form.area_table.selectedIndex].value ); populateTable( this.form.area_table.options, this.form.cat_column.options, = this.form.area_table.options[this.form.area_table.selectedIndex].value ); " size=3D1> [loop list=3D"[list-databases]" option=3Darea_table] <OPTION VALUE=3D"[loop-code]">[loop-code]</OPTION> [/loop] </select> </td> </tr> <tr> <td> 2. Choose a column to populate areas: </td> <td> <select name=3D"area_column"> <option value=3D""> -- none -- [loop list=3D"[db-columns table=3D'[value area_table]']" = option=3Darea_column] <option>[loop-code] [/loop] </select> </td> </tr> <tr> <td> 3. Choose a column to populate categories: </td> <td> <select name=3D"cat_column"> <option value=3D""> -- none -- [loop list=3D"[db-columns table=3D'[value area_table]']" = option=3Dcat_column] <option>[loop-code] [/loop] </select> </td> </tr> <tr> <td> 4. Choose a search type: </td> <td> <select name=3D"cat_type" = onChange=3D"change_ta(this.form.search_code,this.form.cat_type.value)"> <option value=3D"narrow"> Narrow search (area and category match) <option value=3D"simple"> Simple search (only category matches) <option value=3D"complex"> Complex search (template substitution on = below) </select> </td> </tr> <tr> <td valign=3Dtop> 5. Complex search code: </td> <td> NOTE: Not active unless complex search selected above.<br> <textarea rows=3D1 cols=3D50 name=3Dsearch_code disabled=3Dtrue> fi=3Dproducts st=3Ddb co=3Dyes sf=3Dprod_group se=3D~PROD_GROUP~ op=3Deq sf=3Dcategory se=3D~CATEGORY~ op=3Deq sf=3Dinactive se=3D1 op=3Dne rf=3Dsku va=3Dbanner_text=3D~BANNER_TEXT~ </textarea> </td> </tr> <tr bgcolor=3D"__UI_C_INTBLOCK__"> <td> 6. Select the page class: </td> <td> <INPUT NAME=3Dwhich_page VALUE=3Dall> </td> </tr> <tr bgcolor=3D"__UI_C_INTBLOCK__"> <td> 7. Select the page area: </td> <td> <INPUT NAME=3Dsel VALUE=3Dleft> </td> </tr> <tr bgcolor=3D"__UI_C_INTBLOCK__"> <td> 8. Decide whether to remove previous settings: </td> <td> <SELECT NAME=3Dnuke><OPTION VALUE=3D0>No <OPTION VALUE=3D1>Yes</SELECT> </td> </tr> <tr> <td> 9. Click this button to populate: </td> <td> [button text=3D"Populate"] [flag type=3Dwrite table=3D"area"] [flag type=3Dwrite table=3D"cat"] [seti ui_failure] [perl tables=3D"area cat [cgi area_table]"] my $go_page =3D $CGI->{mv_nextpage}; $CGI->{mv_nextpage} =3D '@@MV_PAGE@@'; my $ptab =3D $CGI->{area_table} or return "no area source table"; my $pdb =3D $Db{$ptab} or return "area source table bad"; my $adb =3D $Db{area} or return "no area table"; my $cdb =3D $Db{cat} or return "no cat table"; my $acol =3D $CGI->{area_column}; my $ccol =3D $CGI->{cat_column}; if(! $acol and ! $ccol ) { return "no column to populate either"; } my $selector =3D ''; my $selcode =3D ''; my %area_defaults =3D ( name =3D> undef, which_page =3D> $CGI->{which_page} || 'all', sort =3D> '05', sel =3D> $CGI->{sel} || 'left', display_type =3D> 'name', ); my %catmap; my $narrow; my $lt; my $search_code; if($CGI->{cat_type} eq 'simple') { $lt =3D 'simple'; $selector =3D 'category=3D~CATEGORY~'; $search_code =3D ''; } elsif($CGI->{cat_type} eq 'narrow') { $narrow =3D 1; $lt =3D 'simple'; $selector =3D <<EOF; category=3D~CATEGORY~ prod_group=3D~PROD_GROUP~ EOF $search_code =3D ''; } else { $lt =3D 'complex'; $selector =3D ''; $search_code =3D $CGI->{search_code}; } my %cat_defaults =3D ( link_type =3D> $lt, selector =3D> $selector, search =3D> $search_code, sort =3D> '05', display_type =3D> 'name' ); if($CGI->{nuke}) { $adb->query('delete from area'); $cdb->query('delete from cat'); } if($acol) { $adb->config('AUTO_NUMBER', '1000') if ! $adb->config('_Auto_number'); return "area column $acol doesn't exist" unless $pdb->column_exists($acol); my $ary =3D $pdb->query("select distinct $acol from $ptab order by = $acol") or return "area column query failed"; for(@$ary) { my ($area) =3D (@$_); my $key =3D $adb->set_row(''); return "no autonumbering available" if ! $key; $catmap{$area} =3D $key; for(keys %area_defaults) { $adb->set_field($key, $_, $area_defaults{$_} || $area); } } } my %catdone; if($ccol) { $cdb->config('AUTO_NUMBER', '1000') if ! $cdb->config('_Auto_number'); return "cat column $ccol doesn't exist" unless $pdb->column_exists($ccol); my ($ary, $fh) =3D $pdb->query( "select $acol, $ccol from $ptab order by $ccol", ) or return "cat column query failed"; foreach my $row (@$ary) { my $area =3D $row->[$fh->{$acol}]; my $cat =3D $row->[$fh->{$ccol}]; my $donetag =3D $narrow ? "$area:$cat" : $cat; next if $catdone{$donetag}++; my $key =3D $cdb->set_row(''); return "no cat autonumbering available" if ! $key; my %defaults =3D %cat_defaults; $defaults{name} =3D $cat; $defaults{sel} =3D $catmap{$area}; $defaults{search} =3D~ s/~ (\w+) ~/$row->[$fh->{lc $1}]/gx; $defaults{selector} =3D~ s/~ (\w+) ~/$row->[$fh->{lc $1}]/gx; =09 for(keys %defaults) { Log("setting col=3D$_ key=3D$key =3D $defaults{$_}"); $cdb->set_field($key, $_, $defaults{$_}); } } } $CGI->{mv_nextpage} =3D $go_page; my $out =3D $Tag->uneval( { ref =3D> \%catmap } ); $out =3D~ s/,/,\n/g; #return '<XMP>' . $Tag->uneval( { ref =3D> \%catmap } ) . "</XMP"; return; [/perl] [/seti] [/button] <BR> </td> </tr> <tr> <td colspan=3D2 bgcolor=3D__UI_C_TOPBLOCKBAR__><img src=3D"bg.gif" = width=3D__UI_MAIN_WIDTH__ height=3D1></td> </tr> </table> </form> <!-- ----- END REAL STUFF ----- --> @_UI_STD_FOOTER_@ <!-- page: @@MV_PAGE@@ --> ------=_NextPart_000_0284_01C16C6A.34BFC200-- From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Nov 13 02:58:01 2001 Subject: [ic] mail archive search broken? > It is working, though with week-old messages only. Ht::Dig barfed > again.... Wouldn't it be better to change Ht::dig to some other search-engine? Rene From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 13 04:24:01 2001 Subject: [ic] LOG container tag help "FixtureFactor.com" <aaron@fixturefactor.com> writes: > First, thanks Racke! > ok, Ive got it somewhat working, and the text is inserting into a file..... > but i cant seem to get the delimiters to work (I would like TAB). What about joiner="\t" ? > Also, > everytime it is accessed, it replaces the current string and does not add to > it. I dont see anything in the Docs about that part. Any help?? Probably you need to omit create=1. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Nov 13 04:26:58 2001 Subject: [ic] mail archive search broken? Quoting Rene Hertell (rene@hertell.com): > > It is working, though with week-old messages only. Ht::Dig barfed > > again.... > > Wouldn't it be better to change Ht::dig to some other search-engine? Suggestions? We have looked at a bunch, and found none that would be worth the work. The simple ones either don't have relevance ranking or won't perform on multi-hundred megabyte data sizes, and the complicated ones are days of work to set up. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 13 04:47:00 2001 Subject: [ic] mail archive search broken? Mike Heins <mheins@redhat.com> writes: > Quoting Rene Hertell (rene@hertell.com): > > > It is working, though with week-old messages only. Ht::Dig barfed > > > again.... > > > > Wouldn't it be better to change Ht::dig to some other search-engine? > > Suggestions? We have looked at a bunch, and found none that would be > worth the work. The simple ones either don't have relevance ranking or > won't perform on multi-hundred megabyte data sizes, and the complicated > ones are days of work to set up. What search-engines have you looked at ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Nov 13 04:50:00 2001 Subject: [ic] Possible bug ? Can't save and restore carts Hi list, i tried the demo store ic3 on interchange.redhat.com and my shop http://www.teddytoys.fr ( based on fondation demo store ). And on this two shops, i can create an account but can't saved and restore carts. I thought that saved function worked but when i leave shop and go back the cart doen't appear on the saved_carts.html page. I saw this on the mailing-list : << Actually, I have finally been able to dig into the usertag section and discover the load_cart and delete_cart family of functions that handle these calls. Including the following line near the top of my basket.html did the trick: [if cgi retrieve_cart][load_cart nickname="[cgi retrieve_cart]"][/if] This picks up the CGI variable load_cart which is set by the link on the saved_carts.html page. --Moe Pitman>> But doesn't work for me. Can someone help me please ? From: interchange-users at interchange.redhat.com (Donal H.) Date: Tue Nov 13 06:12:01 2001 Subject: [ic] "unterminated string" error - sub set_slice in DBI.pm Sorry - I found the problem and it's not IC. Some other pgsql code was being triggered and wasn't showing in the log file of course. -Donal ----- Original Message ----- From: "Donal H." <donalh@online.ie> To: <interchange-users@interchange.redhat.com> Sent: Monday, November 12, 2001 3:36 PM Subject: [ic] "unterminated string" error - sub set_slice in DBI.pm > Hi, > > When I try to change the status of an order the following error is reported: > > "Sorry, there was an error in processing this form action. Please report the > error or try again later. (DBD::Pg::st execute failed: ERROR: unterminated > string starting on line 2 at /interchange/sys/lib/Vend/Table/DBI.pm line > 937. )" > > I've uncommented some of ::logDebug code in DBI.pm (and added some more > logDebug) in sub set_slice. > This is the relevant section of my DBI.pm file: > ..... > ::logDebug("set_slice query: $sql"); > ::logDebug("set_slice key/fields/values:\nkey=$key\n" . ::uneval($fary, > $vary)); > my $sth = $s->[$DBI]->prepare($sql) > or die ::errmsg("prepare %s: %s", $sql, $DBI::errstr); > ::logDebug("set_slice prepare done (sql: $sql)"); > my $rc = $sth->execute(@$vary) > or die ::errmsg("execute %s: %s", $sql, $DBI::errstr); > ::logDebug("set_slice execute done (sql: $sql)"); > ..... > > Here's the output in the icdebug file: > Vend::Table::DBI:debug: tkey now '8128' > Vend::Table::DBI:debug: set_slice query: update transactions SET > status=?,deleted=?,archived=? WHERE code = '8128' > Vend::Table::DBI:debug: set_slice key/fields/values: > key=8128 > [ > 'status', > 'deleted', > 'archived' > ] > [ > 'canceled', > '0', > '0' > ] > > Vend::Table::DBI:debug: set_slice prepare done (sql: update transactions SET > status=?,deleted=?,archived=? WHERE code = > '8128') > > So it appears to be failing at: > $sth->execute(@$vary) > > Can anyone see anything wrong with this or suggest any possible causes? The > sql seems ok. > Looking at other parts of the log file that have called the same code, I > can't see any obvious differences. > > Thanks, > -Donal > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 13 06:46:00 2001 Subject: [ic] templates Jim Webster <jim@powergatenetworks.com> writes: > Anyone know how to add a carriage return in the ship_notice template file? > > I have tried [\n]. No such luck. Do you need a carriage return (\r) or a newline (\n) ? For the latter just add an empty line. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Tue Nov 13 10:10:00 2001 Subject: [ic] mail archive search broken? >Mike Heins <mheins@redhat.com> writes: > > > Quoting Rene Hertell (rene@hertell.com): > > > > It is working, though with week-old messages only. Ht::Dig barfed > > > > again.... > > > > > > Wouldn't it be better to change Ht::dig to some other search-engine? > > > > Suggestions? We have looked at a bunch, and found none that would be > > worth the work. The simple ones either don't have relevance ranking or > > won't perform on multi-hundred megabyte data sizes, and the complicated > > ones are days of work to set up. Try: http://www.xav.com/scripts/search/ It may not scale large enough, but I think the advanced searching would please the masses. And it is, of course, written in Perl. -Ryan From: interchange-users at interchange.redhat.com (Maureen Miniter) Date: Tue Nov 13 13:21:02 2001 Subject: [ic] Graphics help On the site I am currently working with(www.trial-site.com), the customer wants one of the links on the side category bar (Health Magazine) to link to a normal HTML page with one graphic on it. I am unsure how to do this since when you click on the links in the category bar it brings up "flypage". Any help would be greatly appreciated. Thanks! -Maureen Miniter The Internet Place, Inc. Berwick, PA. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (interch) Date: Tue Nov 13 13:53:01 2001 Subject: [ic] Possible bug in page editor Whenever I create a new page, the editor always creates it in the pages directory, it won't create the page in any subdirectory of the pages directory. Has anyone else seen this? Also just a design note, it would be nice if the page editor would go back to the file listing of the directory you were working in instead of jumping all the way back to the pages directory. A small but time consuming issue if you use IC to edit a lot of pages.. Chris From: interchange-users at interchange.redhat.com (Charlie Romero) Date: Tue Nov 13 14:12:01 2001 Subject: [ic] Small piece of Interchange contract work available I don't know of a better place to post this. I have a need for someone to do an Interchange project for me. It's one store at this point. Maybe something a long the lines of a mall in the future. Email me w/ qualifications, reference links, etc. Thanks, Charlie From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 13 14:56:01 2001 Subject: [ic] Possible bug ? Can't save and restore carts > Hi list, > > i tried the demo store ic3 on interchange.redhat.com and my > shop http://www.teddytoys.fr ( based on fondation demo store > ). And on this two shops, i can create an account but can't > saved and restore carts. I thought that saved function worked > but when i leave shop and go back the cart doen't appear on > the saved_carts.html page. > > I saw this on the mailing-list : > << Actually, I have finally been able to dig into the usertag > section and discover the load_cart and delete_cart family of > functions that handle these calls. Including the following > line near the top of my basket.html did the > trick: > > [if cgi retrieve_cart][load_cart nickname="[cgi retrieve_cart]"][/if] > > This picks up the CGI variable load_cart which is set by the > link on the saved_carts.html page. --Moe Pitman>> > > But doesn't work for me. > > Can someone help me please ? Works for me. Did you create account and log in before saving the cart? Did you log in before trying to access the cart? What browser/cookies/etc. do you have? HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 13 15:00:02 2001 Subject: [ic] mail archive search broken? > Quoting Rene Hertell (rene@hertell.com): > > > It is working, though with week-old messages only. Ht::Dig barfed > > > again.... > > > > Wouldn't it be better to change Ht::dig to some other search-engine? > > Suggestions? [...] We need to find the one that spammers use to find my email addresses. I could write a fake email address on a piece of paper, lock it in a safe deposit box, sink it to the bottom of the ocean, and I would *still* get spam to that address. I think they are using nano-quantum-alien technology. :-) -Dan From: interchange-users at interchange.redhat.com (Glenn McCalley) Date: Tue Nov 13 15:23:01 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) Well, OK, bad POSIX library... I'll certainly check with the FreeBSD folks. We pick up a new Perl every 6 months or so from perl.org and this is the first time anything like this has happened, and -all- of our development is in Perl. I hope that's it - got to get these new stores up. In reply to Stefan and Ed's questions, no, there were -no- IC error.log messages produced by the error. Thanks guys! Glenn. ----- Original Message ----- From: Mike Heins <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Sunday, November 11, 2001 2:26 PM Subject: Re: [ic] why does convert-date cause 500 error? (Foundation demo) > Quoting Glenn McCalley (techlist@bnetmd.net): > > Finally isolated it! It's "convert-date"!! > > In the admin UI, -any- page that contains the "convert-date" tag produces a > > "500 Internal Server Error". Every time. Remove that tag and that tag > > only, and the page displays fine (well, no data where the date should be, > > but it displays). > > > > Anyone know what could cause this or had this before (I don't see it in the > > list archives) or am I launching into the convert-date routine next? All > > comments appreciated. > > This is a bad POSIX library on your system, or a bad build by Perl of > its links to it. > > It is a shame that Perl and FreeBSD work so poorly together. These > problems are constant, and in my opinion the FreeBSD people should be > concerned that there are so many bad Perl builds out there. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Nature, to be commanded, must be obeyed. -- Francis Bacon > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Tue Nov 13 15:45:00 2001 Subject: [ic] mail archive search broken? On Tue, Nov 13, 2001 at 11:59, Dan Browning wrote: > > Quoting Rene Hertell (rene@hertell.com): > > > > It is working, though with week-old messages only. Ht::Dig barfed > > > > again.... > > > > > > Wouldn't it be better to change Ht::dig to some other search-engine? > > > > Suggestions? [...] > > We need to find the one that spammers use to find my email addresses. I > could write a fake email address on a piece of paper, lock it in a safe > deposit box, sink it to the bottom of the ocean, and I would *still* get > spam to that address. I think they are using nano-quantum-alien > technology. :-) Sounds like my alumni magazine. ;-> Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 13 16:08:00 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) On Tue, Nov 13, 2001 at 03:18:50PM -0800, Glenn McCalley wrote: > Well, OK, bad POSIX library... > I'll certainly check with the FreeBSD folks. We pick up a new Perl every 6 > months or so from perl.org and this is the first time anything like this has > happened, and -all- of our development is in Perl. I hope that's it - got > to get these new stores up. > > In reply to Stefan and Ed's questions, no, there were -no- IC error.log > messages produced by the error. There won't be. Perl or IC died, not like in die() but like in segfault. > > Thanks guys! > Glenn. > > ----- Original Message ----- > From: Mike Heins <mheins@redhat.com> > To: <interchange-users@interchange.redhat.com> > Sent: Sunday, November 11, 2001 2:26 PM > Subject: Re: [ic] why does convert-date cause 500 error? (Foundation demo) > > > > Quoting Glenn McCalley (techlist@bnetmd.net): > > > Finally isolated it! It's "convert-date"!! > > > In the admin UI, -any- page that contains the "convert-date" tag > produces a > > > "500 Internal Server Error". Every time. Remove that tag and that tag > > > only, and the page displays fine (well, no data where the date should > be, > > > but it displays). > > > > > > Anyone know what could cause this or had this before (I don't see it in > the > > > list archives) or am I launching into the convert-date routine next? > All > > > comments appreciated. > > > > This is a bad POSIX library on your system, or a bad build by Perl of > > its links to it. > > > > It is a shame that Perl and FreeBSD work so poorly together. These > > problems are constant, and in my opinion the FreeBSD people should be > > concerned that there are so many bad Perl builds out there. > > > > -- > > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > > phone +1.513.523.7621 <mheins@redhat.com> > > > > Nature, to be commanded, must be obeyed. -- Francis Bacon > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Tue Nov 13 18:10:01 2001 Subject: [ic] profile emailing I've exhausted the archive for a problem that I'm having my problem/question is... I know that I can create a profile for a user no problem. is what I want to do is email those persons via an admin page to those customers that meet a specific profile. I've looked at the email tag and email_raw tag but both look like it emails to a particular user and not a group. I just want to know if this is possible and for any info that would send me in a proper direction Thx N Adv J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |__earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 13 18:28:00 2001 Subject: [ic] profile emailing > I've exhausted the archive for a problem that I'm having > > my problem/question is... I know that I can create a profile > for a user no problem. > > is what I want to do is email those persons via an admin page > to those customers that meet a specific profile. > > I've looked at the email tag and email_raw tag but both look > like it emails to a particular user and not a group. > > I just want to know if this is possible and for any info that > would send me in a proper direction > > > Thx N Adv > > > J. Scott Andreas :) You can probably without much sweat customize IC to do what you want, but I like to think of IC as more of working in tandem with software specialized to do what you're talking about (called CRM - Customer Relationship Management). Right now all you want to do is send a targeted email to those on your list so you something that can do that (IC can with a little customization), but wouldn't you really rather have a specialized open source solution that really takes the cake for CRM? Compiere is it. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Matthew Bottrell) Date: Tue Nov 13 18:33:01 2001 Subject: [ic] mail archive search broken? On Tuesday, November 13, 2001 8:24 PM, Mike Heins penned the following: > Suggestions? We have looked at a bunch, and found none that would be > worth the work. The simple ones either don't have relevance ranking or > won't perform on multi-hundred megabyte data sizes, and the complicated > ones are days of work to set up. How about http://www.mnogosearch.org/ I find it works well and is quite customizable... Cheers, MB. From: interchange-users at interchange.redhat.com (Matthew Bottrell) Date: Tue Nov 13 18:59:01 2001 Subject: [ic] For those that don't already know this... Jason Timm at 5:35 PM on Tuesday, November 13, 2001 penned down the following: > Unless someone else has a solution for this, it appears that there is a > limit of 32 catalogs when using the 'M' PermType option. And since this is > what makecat recommends, it really should be documented somewhere... OKay, The max number of groups a user can be a member of is set via the kernel: (namely the NGROUPS_MAX and NGROUPS definitions). You need to however also recompile glibc to be without problems. Instructions on how to do this can be found at: http://www.uwsg.iu.edu/hypermail/linux/kernel/0010.0/0788.html Whilst it talks of nfs servers -- the same theory applies. Hope that helps... In theory there is nothing stoppping you moving the NGROUPS_MAX to something like 256 or 512... Regards, Matt Bottrell. From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Tue Nov 13 19:03:00 2001 Subject: [ic] Nested Loops - Newbie This is pretty useful, however it is not what I was looking for. This generates a unique category for each product/category combination. Which does automate the task, it however does not get passed the messy solution of having multiple categories with the same title. i.e. Courses->OS has the same title as Software->OS, the difference is the options used in field/column pairs. I put the file in /var/lib/interchange/store/pages/admin, the catalog is store :} I believe the solution I am looking for requires modification of category_vertical, specifically the use of the box loop parameters in the cat loop. To add/expand the sf & se fields. This would allow you to have one OS category and adding it to an area would automatically filter OS products to that area. This is a much better solution as it reduces the number and complexity of categories, and will not require the generation of a new category for an existing category when it is added to a new area. Thanks, Jeff. > > Hi I am trying to get it so that a menu link for a category only links >to > > products in that category and in the area it is displayed under. > >Mike posted the attached file that not only makes this process work but it >allows for creating custom cat link searches effortlessly. I have heavily >tested this in 4.8.2 and it works beautifully. > >Just dump it into catalog/pages/admin directory of any catalog to try it >out. > >Delete it if you want to revert to the default layout_auto.html page. (I >don't think so) > >Click on 'Design' and 'auto populate' to use it. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Tue Nov 13 19:46:00 2001 Subject: [ic] MV_USERDB Can someone tell me if MV_USERDB , MV_USERDB_TABLE_ACL and the like are still useable functions in 4.8.x version of IC. or if they have been superceded by other means. I want contacts database to have [userdb] functions in addition to a userdb J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |__earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 13 20:13:00 2001 Subject: [ic] profile emailing On Tue, Nov 13, 2001 at 03:28:30PM -0800, Dan Browning wrote: > > I've exhausted the archive for a problem that I'm having > > > > my problem/question is... I know that I can create a profile > > for a user no problem. > > > > is what I want to do is email those persons via an admin page > > to those customers that meet a specific profile. > > > > I've looked at the email tag and email_raw tag but both look > > like it emails to a particular user and not a group. > > > > I just want to know if this is possible and for any info that > > would send me in a proper direction > > > > > > Thx N Adv > > > > > > J. Scott Andreas :) > > You can probably without much sweat customize IC to do what you want, > but I like to think of IC as more of working in tandem with software > specialized to do what you're talking about (called CRM - Customer > Relationship Management). Right now all you want to do is send a > targeted email to those on your list so you something that can do that > (IC can with a little customization), but wouldn't you really rather > have a specialized open source solution that really takes the cake for > CRM? or a perl script, @users=@{MY SELECT} for(@users) { pipe to qmail } -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 13 20:18:01 2001 Subject: [ic] For those that don't already know this... On Wed, Nov 14, 2001 at 10:57:43AM +1100, Matthew Bottrell wrote: > Jason Timm at 5:35 PM on Tuesday, November 13, 2001 penned down the > following: > > > > Unless someone else has a solution for this, it appears that there is a > > limit of 32 catalogs when using the 'M' PermType option. And since this > is > > what makecat recommends, it really should be documented somewhere... > Or just run another instance of ic. This is in the archives, many times. :-) > > OKay, > > The max number of groups a user can be a member of is set via the kernel: > (namely the NGROUPS_MAX and NGROUPS definitions). > > You need to however also recompile glibc to be without problems. > > > Instructions on how to do this can be found at: > http://www.uwsg.iu.edu/hypermail/linux/kernel/0010.0/0788.html > > > Whilst it talks of nfs servers -- the same theory applies. > > Hope that helps... > > In theory there is nothing stoppping you moving the NGROUPS_MAX to something > like 256 or 512... > > > Regards, > > Matt Bottrell. > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (sphen boyle) Date: Tue Nov 13 20:22:03 2001 Subject: [ic] mailing lists on checkout just stated worrying about the mailing list section of the checkout. as of right now im not sure exactly if interchange has some easy way of keeping the emails for each list so i made a quick shell script to do a sql query on the user_db database to save them to a file. Does anyone know how to select one of the lists automatically? I looked at the checkout.html and it seems tricky since if you are logged in it probably queries the db and has them already selected if you have selected them previously. Does interchange have some easy command to do this? thanks -sphen boyle From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 13 22:20:00 2001 Subject: [ic] Very newbie question and new to the list... Hello everyone or anyone, I know this must have been brought up a million times or maybe it hasen't and I am on the wrong list. Either way maybe you can help. First off: I know nothing about linux or redhat other than they are an os. Secondly: I am a designer and forced to configure interchange for my company. Finally: How, where and what file do I need to modify the line "Welcome to Construct Something, your online hardware store!" If this is the wrong list for this sort of question please forgive me and please could you be so kind and redirect me to where I can get some answers. Thanks a bunch sam From: interchange-users at interchange.redhat.com (Tommy Pruitt) Date: Tue Nov 13 23:18:01 2001 Subject: [ic] MailOrderTo error in startup Interchange will not start because of "Please specify the MailOrderTo directive in the configuration file" In the catalog.cfg file the only MailOrderTo is set to __ORDERS_TO__ What am I missing? help Tommy From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Wed Nov 14 00:41:00 2001 Subject: [ic] Installing mysql libraries w/o root Perl experts: I would like to move my databases from gdbm to mysql. However, I do not have root access on the server where our catalog is located. This script: #!/usr/bin/perl use DBI; use DBD::mysql; produces this error: Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. at ./tmp.perl line 4 I presume that the fix for this is to install the latest DBD::mysql, but since I'm not root, perl -MCPAN -e 'install DBD::mysql' produces errors. Assuming that I need to install this, what's the best way to install it in my home directory and then what do I do to Interchange to get it to use my copy of DBD::mysql instead of the system copy? (Remember that I don't have access to Interchange's source code on this server). Any help appreciated. ..Patrick From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Wed Nov 14 00:45:18 2001 Subject: [ic] Installing mysql libraries w/o root Perl experts: I would like to move my databases from gdbm to mysql. However, I do not have root access on the server where our catalog is located. This script: #!/usr/bin/perl use DBI; use DBD::mysql; produces this error: Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. at ./tmp.perl line 4 I presume that the fix for this is to install the latest DBD::mysql, but since I'm not root, perl -MCPAN -e 'install DBD::mysql' produces errors. Assuming that I need to install this, what's the best way to install it in my home directory and then what do I do to Interchange to get it to use my copy of DBD::mysql instead of the system copy? (Remember that I don't have access to Interchange's source code on this server). Any help appreciated. ..Patrick From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Nov 14 02:29:00 2001 Subject: [ic] Possible bug ? Can't save and restore carts Yes, i create an account and i log in before accessing. I can go to saved_carts.html but when i clic on the cart that doesn't work. But i find that this work if i click on the small_saved_carts ( on the left near the search box ) I'm using IE 6, perhaps it's the problem. I read oneday something in the mailing list : http://www.iucon.de/interchange/ Perhaps it's my problem no ? Thx ----- Original Message ----- From: "Dan Browning" <danpb@mail.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 13, 2001 8:56 PM Subject: RE: [ic] Possible bug ? Can't save and restore carts > > Hi list, > > > > i tried the demo store ic3 on interchange.redhat.com and my > > shop http://www.teddytoys.fr ( based on fondation demo store > > ). And on this two shops, i can create an account but can't > > saved and restore carts. I thought that saved function worked > > but when i leave shop and go back the cart doen't appear on > > the saved_carts.html page. > > > > I saw this on the mailing-list : > > << Actually, I have finally been able to dig into the usertag > > section and discover the load_cart and delete_cart family of > > functions that handle these calls. Including the following > > line near the top of my basket.html did the > > trick: > > > > [if cgi retrieve_cart][load_cart nickname="[cgi retrieve_cart]"][/if] > > > > This picks up the CGI variable load_cart which is set by the > > link on the saved_carts.html page. --Moe Pitman>> > > > > But doesn't work for me. > > > > Can someone help me please ? > > Works for me. > > Did you create account and log in before saving the cart? > > Did you log in before trying to access the cart? > > What browser/cookies/etc. do you have? > > HTH, > > Dan Browning > Kavod Technologies > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Nov 14 02:46:01 2001 Subject: [ic] mailing lists on checkout Hi, you'd like to select by default one newsletter is that ? Perhaps using a combo box with yes or no for the selection. modify checkout.html : replace this : << [perl tables="__UI_META_TABLE__ mv_metadata"] return; [/perl] [input-filter name=mail_list op=null_to_space][/input-filter] [display table=userdb type=multiple column=mail_list key="[data session username]"] >> by this << <SELECT NAME=mail_list> <OPTION VALUE="Newsletter" selected>Yes</option> <OPTION VALUE="">No</option> </select> >> After, only use your shell to retrieve all email that have "Newsletter" in the ML field. Hope that help ----- Original Message ----- From: "sphen boyle" <interch@nawabenterprises.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 2:19 AM Subject: [ic] mailing lists on checkout > just stated worrying about the mailing list section of the checkout. as of > right now im not sure exactly if interchange has some easy way of keeping > the emails for each list so i made a quick shell script to do a sql query > on the user_db database to save them to a file. Does anyone know how to > select one of the lists automatically? I looked at the checkout.html and > it seems tricky since if you are logged in it probably queries the db and > has them already selected if you have selected them previously. Does > interchange have some easy command to do this? > > thanks > > -sphen boyle > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Nov 14 02:56:01 2001 Subject: [ic] Very newbie question and new to the list... Hi, i think you can find this in /templates in a file named leftright_top and leftonly_top. I can't be sure 'cause i'm not using construct demo but fondation one. Bye ----- Original Message ----- From: <diavolo@mail.eaze.net> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 3:30 AM Subject: [ic] Very newbie question and new to the list... > Hello everyone or anyone, > I know this must have been brought up a million times or maybe it hasen't > and I am on the wrong list. Either way maybe you can help. > First off: > I know nothing about linux or redhat other than they are an os. > Secondly: > I am a designer and forced to configure interchange for my company. > Finally: > How, where and what file do I need to modify the line > "Welcome to Construct Something, your online hardware store!" > > If this is the wrong list for this sort of question please forgive me and > please could you be so kind and redirect me to where I can get some answers. > > Thanks a bunch > sam > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Timm) Date: Wed Nov 14 03:02:00 2001 Subject: [ic] MailOrderTo error in startup >Interchange will not start because of "Please specify the MailOrderTo >directive in the configuration file" >In the catalog.cfg file the only MailOrderTo is set to __ORDERS_TO__ >What am I missing? It's a permissions thing. If you ran makecat as root, and you used a PermType of 'm' then you will need to add interch to the catuser's group. Otherwise, you can use 'g' for the PermType. There are implications either way, but if you mess with PermType, CatUser, and Interchange User, you will get it to work. Jason From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Nov 14 03:06:02 2001 Subject: [ic] Possible bug ? Can't save and restore carts David, I am using Internet Explorer 6 and did both a Saved Cart and a Recurring Order. I even logged out, then exited out of the site and Internet Explorer - came back - logged back in - and they're still there. Now, when I click on the Saved Cart and place an order - it does delete the cart - but that's what it should be doing. It doesn't delete the Recurring Orders - which it SHOULDN'T. I accessed the Saved/Recurring section from the Service, Saved/Recurring Carts section. So - it seems to be working fine for me . . . at least from the Red Hat demo site. By the way - your toy site looks really nice. :) Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David Bordas Sent: Wednesday, November 14, 2001 1:30 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Possible bug ? Can't save and restore carts Yes, i create an account and i log in before accessing. I can go to saved_carts.html but when i clic on the cart that doesn't work. But i find that this work if i click on the small_saved_carts ( on the left near the search box ) I'm using IE 6, perhaps it's the problem. I read oneday something in the mailing list : http://www.iucon.de/interchange/ Perhaps it's my problem no ? Thx ----- Original Message ----- From: "Dan Browning" <danpb@mail.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 13, 2001 8:56 PM Subject: RE: [ic] Possible bug ? Can't save and restore carts > > Hi list, > > > > i tried the demo store ic3 on interchange.redhat.com and my > > shop http://www.teddytoys.fr ( based on fondation demo store > > ). And on this two shops, i can create an account but can't > > saved and restore carts. I thought that saved function worked > > but when i leave shop and go back the cart doen't appear on > > the saved_carts.html page. > > > > I saw this on the mailing-list : > > << Actually, I have finally been able to dig into the usertag > > section and discover the load_cart and delete_cart family of > > functions that handle these calls. Including the following > > line near the top of my basket.html did the > > trick: > > > > [if cgi retrieve_cart][load_cart nickname="[cgi retrieve_cart]"][/if] > > > > This picks up the CGI variable load_cart which is set by the > > link on the saved_carts.html page. --Moe Pitman>> > > > > But doesn't work for me. > > > > Can someone help me please ? > > Works for me. > > Did you create account and log in before saving the cart? > > Did you log in before trying to access the cart? > > What browser/cookies/etc. do you have? > > HTH, > > Dan Browning > Kavod Technologies > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Nov 14 03:10:00 2001 Subject: [ic] why does convert-date cause 500 error? (Foundation demo) Glenn McCalley wrote: > > Well, OK, bad POSIX library... > I'll certainly check with the FreeBSD folks. We pick up a new Perl every 6 > months or so from perl.org and this is the first time anything like this has > happened, and -all- of our development is in Perl. I hope that's it - got > to get these new stores up. [...] I use MV since V3.10 and FreeBSD since V3.11! I've only trouble with MV/IC under high traffic. But this is another stuff. I'm wondering, why FreeBSD still distribute "old Perl Version" 5.005! I've try out the maintainer! grep MAINTAINER /usr/src/gnu/usr.bin/perl/Makefile MAINTAINER=markm@freebsd.org Anybody know, why is the maintainer not distribute the newest perl in FreeBSD, if this make some trouble with MV/IC? Thanks! Joachim > ----- Original Message ----- > From: Mike Heins <mheins@redhat.com> > To: <interchange-users@interchange.redhat.com> > Sent: Sunday, November 11, 2001 2:26 PM > Subject: Re: [ic] why does convert-date cause 500 error? (Foundation demo) [DEL] > > > > This is a bad POSIX library on your system, or a bad build by Perl of > > its links to it. > > > > It is a shame that Perl and FreeBSD work so poorly together. These > > problems are constant, and in my opinion the FreeBSD people should be > > concerned that there are so many bad Perl builds out there. -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Nov 14 03:14:01 2001 Subject: [ic] Very newbie question and new to the list... I know in Interchange 4.8, it's under Content, Page Edit and then whichever file you want to change the title in. For instance, index.html and then change the Page Title. I'm not sure if this is the way with older versions, however . . . Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of David Bordas Sent: Wednesday, November 14, 2001 1:57 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Very newbie question and new to the list... Hi, i think you can find this in /templates in a file named leftright_top and leftonly_top. I can't be sure 'cause i'm not using construct demo but fondation one. Bye ----- Original Message ----- From: <diavolo@mail.eaze.net> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 3:30 AM Subject: [ic] Very newbie question and new to the list... > Hello everyone or anyone, > I know this must have been brought up a million times or maybe it hasen't > and I am on the wrong list. Either way maybe you can help. > First off: > I know nothing about linux or redhat other than they are an os. > Secondly: > I am a designer and forced to configure interchange for my company. > Finally: > How, where and what file do I need to modify the line > "Welcome to Construct Something, your online hardware store!" > > If this is the wrong list for this sort of question please forgive me and > please could you be so kind and redirect me to where I can get some answers. > > Thanks a bunch > sam > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Nov 14 03:18:01 2001 Subject: [ic] Possible bug ? Can't save and restore carts So i'll try to look more in code to see what i'm doing wrong. Thanks ----- Original Message ----- From: "Justin Bonds" <justin@hypertech.net> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 9:03 AM Subject: RE: [ic] Possible bug ? Can't save and restore carts > David, > > I am using Internet Explorer 6 and did both a Saved Cart and a Recurring > Order. I even logged out, then exited out of the site and Internet > Explorer - came back - logged back in - and they're still there. Now, when > I click on the Saved Cart and place an order - it does delete the cart - but > that's what it should be doing. It doesn't delete the Recurring Orders - > which it SHOULDN'T. I accessed the Saved/Recurring section from the > Service, Saved/Recurring Carts section. > > So - it seems to be working fine for me . . . at least from the Red Hat demo > site. > > By the way - your toy site looks really nice. > > :) Justin > > > Justin Bonds > ~~~~~~~~~~~~~~~~~~~~~~ > justin@hypertech.net > Tel: 501-745-2882 X103 > Toll-Free: 866-WildNut X103 > Fax: 501-745-7939 > http://www.hypertech.net - corporate site > http://www.storemotion.com - ecommerce engine > http://www.wildnut.com - creative division > > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > David Bordas > Sent: Wednesday, November 14, 2001 1:30 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Possible bug ? Can't save and restore carts > > > Yes, i create an account and i log in before accessing. > I can go to saved_carts.html but when i clic on the cart that doesn't work. > But i find that this work if i click on the small_saved_carts ( on the left > near the search box ) > > I'm using IE 6, perhaps it's the problem. > I read oneday something in the mailing list : > http://www.iucon.de/interchange/ > > Perhaps it's my problem no ? > > Thx > ----- Original Message ----- > From: "Dan Browning" <danpb@mail.com> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, November 13, 2001 8:56 PM > Subject: RE: [ic] Possible bug ? Can't save and restore carts > > > > > Hi list, > > > > > > i tried the demo store ic3 on interchange.redhat.com and my > > > shop http://www.teddytoys.fr ( based on fondation demo store > > > ). And on this two shops, i can create an account but can't > > > saved and restore carts. I thought that saved function worked > > > but when i leave shop and go back the cart doen't appear on > > > the saved_carts.html page. > > > > > > I saw this on the mailing-list : > > > << Actually, I have finally been able to dig into the usertag > > > section and discover the load_cart and delete_cart family of > > > functions that handle these calls. Including the following > > > line near the top of my basket.html did the > > > trick: > > > > > > [if cgi retrieve_cart][load_cart nickname="[cgi retrieve_cart]"][/if] > > > > > > This picks up the CGI variable load_cart which is set by the > > > link on the saved_carts.html page. --Moe Pitman>> > > > > > > But doesn't work for me. > > > > > > Can someone help me please ? > > > > Works for me. > > > > Did you create account and log in before saving the cart? > > > > Did you log in before trying to access the cart? > > > > What browser/cookies/etc. do you have? > > > > HTH, > > > > Dan Browning > > Kavod Technologies > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 14 03:32:01 2001 Subject: [ic] Re: Very newbie question and new to the list... Thanks guys, I have tried what you said and no works..I think it's because I have Interchange 4.6. I know my systems admin is never going to download the latest version, so if any of you have any more ideas that would be great. re: my problem: How, where and what file do I need to modify the line "Welcome to Construct Something, your online hardware store!" the line is under the menu.. Thanks again, Sam -------------------------- Justin Bonds writes: > I know in Interchange 4.8, it's under Content, Page Edit and then whichever > file you want to change the title in. For instance, index.html and then > change the Page Title. > > I'm not sure if this is the way with older versions, however . . . > > Justin > > > Justin Bonds > ~~~~~~~~~~~~~~~~~~~~~~ > justin@hypertech.net > Tel: 501-745-2882 X103 > Toll-Free: 866-WildNut X103 > Fax: 501-745-7939 > http://www.hypertech.net - corporate site > http://www.storemotion.com - ecommerce engine > http://www.wildnut.com - creative division > > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > David Bordas > Sent: Wednesday, November 14, 2001 1:57 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Very newbie question and new to the list... > > > Hi, > > i think you can find this in /templates in a file named leftright_top and > leftonly_top. > I can't be sure 'cause i'm not using construct demo but fondation one. > > Bye > ----- Original Message ----- > From: <diavolo@mail.eaze.net> > To: <interchange-users@interchange.redhat.com> > Sent: Wednesday, November 14, 2001 3:30 AM > Subject: [ic] Very newbie question and new to the list... > > >> Hello everyone or anyone, >> I know this must have been brought up a million times or maybe it hasen't >> and I am on the wrong list. Either way maybe you can help. >> First off: >> I know nothing about linux or redhat other than they are an os. >> Secondly: >> I am a designer and forced to configure interchange for my company. >> Finally: >> How, where and what file do I need to modify the line >> "Welcome to Construct Something, your online hardware store!" >> >> If this is the wrong list for this sort of question please forgive me and >> please could you be so kind and redirect me to where I can get some > answers. >> >> Thanks a bunch >> sam >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 14 05:03:00 2001 Subject: [ic] Nested Loops - Newbie > This generates a unique category for each product/category combination. > Which does automate the task, it however does not get passed the messy > solution of having multiple categories with the same title. i.e. Courses->OS > has the same title as Software->OS, the difference is the options used in > field/column pairs. If you are using the new layout_auto.html page just choose complex search. Complex Search default values definitely work and will auto create links that return categories exclusive to prod_groups regardless of how many categories have the same name. From: interchange-users at interchange.redhat.com (Michel Matte) Date: Wed Nov 14 06:46:01 2001 Subject: [ic] Entering a Payment Without a Cart I am trying to enter payments on previous account balance directly from the menu. Is there a way to either create a cart behind the scenes and add a gift-type item to enter the payment or go directly to checkout to enter the payment. I tried to add an item as suggested in "How do I add an item behind the scenes" in the October 21 Achives, but I can't get the item to appear in checkout screen. I must be missing something. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 14 08:18:01 2001 Subject: [ic] Flypage, multiple product tables, and [item-field] * Todd L. Cawthron wrote on Mon, Nov 05, 2001 at 08:58 -0800: > Steffen Dettmer wrote: > > >Could you please tell me how to enable the debug features? > > There are a couple of things you need to do. First you need to set a couple > of directives in interchange.cfg. Then, you will need to uncomment some > lines in various perl modules in (ic directory)/lib/Vend. Wouldn't it better to check in logDebug if debug is set? > In interchange.cfg, un-comment (or add it if it's not in your cfg file): > > Variable DEBUG 1 Had it already. > Once you have made these changes in interchange.cfg, you need to modify some > perl modules. The cfg file only makes it possible for debug features to > work, it doesn't really turn most of them on. For that, go to (ic > directory)/lib/Vend. Make sure you have a backup copy of everything you're > about to modify, just in case you make a mistake. Then, un-comment all of > the lines that call ::logDebug. If you are using vi, this will do the > trick: > > :%s/#::logDebug/::logDebug/ I though perl -pi -e 's/#(::logDebug.*;)/$1/' * would do the trick too, but this wasn't the solution. I found a lot of non-declared variables to be logged. I copied a few files from the backup copy. How do the developers test this software? Well, now I have a Vend.debug and a Vend.nodbug - Vend itself is now a symlink. Now it's going really crazy: with the debug version the 99%CPU hang does not occures: interchange works, but with debug only. This may be due to a debug statement side effect? I tried it 10 times, 5 with and 5 without debug. In every case with debug it worked, and every case without debug the interchange hangs! What can I do now? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Nov 14 08:24:01 2001 Subject: [ic] [item-accessories color] trouble with IE 5 and MAC Hi List, a MAC user reported to me, that he has problem to select color. He is only able to choose any color, if he clicks twice. Looking at the HTML-Codes, I see Color: <SELECT NAME="mv_order_color"> <OPTION VALUE="gold">Gold <OPTION VALUE="silber">Silber <OPTION VALUE="rot">Rot <OPTION VALUE="schwarz">Schwarz </SELECT> With Color: <SELECT NAME="mv_order_color"> <OPTION VALUE="gold">Gold</OPTION> <OPTION VALUE="silber">Silber</OPTION> <OPTION VALUE="rot" SELECTED>Rot</OPTION> <OPTION VALUE="schwarz">Schwarz</OPTION> </SELECT> it works well with IE 5 for MAC. It seems to me, the subfunction "build_accessory_select" of the module "Interpolate.pm" should have the codes if($label) { $run .= $limit->($label) . "</OPTION>; } instead of if($label) { $run .= $limit->($label); } Any comments? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (admin) Date: Wed Nov 14 08:27:10 2001 Subject: [ic] MySQL doesn't work with V4.8.2 !? Hello together, I've already an interchange shop without any problems. But the products database is the default products.txt database. Now I try to setup an other shop with a MySQL database. The makecat script creates an empty MySQL File in /var/lib/mysql and writes all directorys as usual without any error. But it doesn't work, error 404??? The funniest part of it, it doesn't gives me any error message in the log files... I think it's tricky to setup a MySQL based shop. Please help! Regards Erik Kendel btw I use mysql -3.23.36-1, on RedHat 7.1 ... From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 14 08:49:00 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it Hi, as I wrote, I had a problem with hanging interchange processes. strace showed that there is an endless loop (see my mails for details). Surprisingly I found that this problem seems not to occure with enabled debugging. I assumed a side effect. I tried to determine the position with try and error. I found a single line that seem to be a workaround. This line in in the file Vend/SessionFile.pm. It's at the end in sub DELETE and reads as it follows: ::logDebug("storing in $SessionFile: " . ::uneval($ref)); To go sure, I used the original File, which has this line commented out. Instead I added: ::uneval($ref); And it works, too. No 99% CPU processes. I don't know what unveal does, but it workarounds the problem. I'm afraid that this don't fixes the issue but gives a point less where it gets triggered. For completness a patch: diff -u Vend.nodebug/SessionFile.pm Vend/SessionFile.pm --- Vend.nodebug/SessionFile.pm Wed Jul 18 04:23:14 2001 +++ Vend/SessionFile.pm Wed Nov 14 14:40:05 2001 @@ -132,6 +132,7 @@ #::logDebug("locked $SessionFile"); } #::logDebug("storing in $SessionFile: " . ::uneval($ref)); + ::uneval($ref); Vend::Util::uneval_file($ref,$SessionFile); } Dear developers, does anybody has an idea what's going on here? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Wed Nov 14 08:58:01 2001 Subject: [ic] Re: Very newbie question and new to the list... If you are using the admin pages go to Content, then click on index.html , scroll down till you see the "Welcome to Construct Something, your online hardware store!..." then edit it to what ever you want. If you are not using the admin pages go to the catalog directory. For me it is /var/lib/interchange/foundation. Then go to the pages directory. There open index.html. Scroll down to the "Welcome to Construct Something, your online hardware store!..." then edit it and save your changes. Be carefull not to change any of the Interchange tags ([tag]). Hope this helps, Richard Eicher II www.pbol.net -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of diavolo@mail.eaze.net Sent: Wednesday, November 14, 2001 1:42 AM To: interchange-users@interchange.redhat.com Subject: [ic] Re: Very newbie question and new to the list... Thanks guys, I have tried what you said and no works..I think it's because I have Interchange 4.6. I know my systems admin is never going to download the latest version, so if any of you have any more ideas that would be great. re: my problem: How, where and what file do I need to modify the line "Welcome to Construct Something, your online hardware store!" the line is under the menu.. Thanks again, Sam -------------------------- Justin Bonds writes: > I know in Interchange 4.8, it's under Content, Page Edit and then whichever > file you want to change the title in. For instance, index.html and then > change the Page Title. > > I'm not sure if this is the way with older versions, however . . . > > Justin > > > Justin Bonds > ~~~~~~~~~~~~~~~~~~~~~~ > justin@hypertech.net > Tel: 501-745-2882 X103 > Toll-Free: 866-WildNut X103 > Fax: 501-745-7939 > http://www.hypertech.net - corporate site > http://www.storemotion.com - ecommerce engine > http://www.wildnut.com - creative division > > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > David Bordas > Sent: Wednesday, November 14, 2001 1:57 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Very newbie question and new to the list... > > > Hi, > > i think you can find this in /templates in a file named leftright_top and > leftonly_top. > I can't be sure 'cause i'm not using construct demo but fondation one. > > Bye > ----- Original Message ----- > From: <diavolo@mail.eaze.net> > To: <interchange-users@interchange.redhat.com> > Sent: Wednesday, November 14, 2001 3:30 AM > Subject: [ic] Very newbie question and new to the list... > > >> Hello everyone or anyone, >> I know this must have been brought up a million times or maybe it hasen't >> and I am on the wrong list. Either way maybe you can help. >> First off: >> I know nothing about linux or redhat other than they are an os. >> Secondly: >> I am a designer and forced to configure interchange for my company. >> Finally: >> How, where and what file do I need to modify the line >> "Welcome to Construct Something, your online hardware store!" >> >> If this is the wrong list for this sort of question please forgive me and >> please could you be so kind and redirect me to where I can get some > answers. >> >> Thanks a bunch >> sam >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Wed Nov 14 09:03:01 2001 Subject: [ic] Entering a Payment Without a Cart I think I have been after something similar to you, as I have been trying add items that are not in the catalog. Check out my posts about "on the fly", since thats the way to do it. I have implemented "on-the-fly" ordering into the order entry page in the admin so i can process orders with phone customers for items that are not in my cat. and it still shows up on all of the forms and reports as any other items, even with negative amounts. Im still struggling with getting it to work in the customer area, havent gotten that to work correctly yet. hope this helps, Sincerely, Aaron Hazelton FixtureFactor.com V.P. 828.631.3477 We welcome your feedback! Please take 2 minutes and click here: http://www.fixturefactor.com/cgi-bin/ffactor.cgi/feedback.html -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Michel Matte Sent: Wednesday, November 14, 2001 6:56 AM To: interchange-users@interchange.redhat.com Subject: [ic] Entering a Payment Without a Cart I am trying to enter payments on previous account balance directly from the menu. Is there a way to either create a cart behind the scenes and add a gift-type item to enter the payment or go directly to checkout to enter the payment. I tried to add an item as suggested in "How do I add an item behind the scenes" in the October 21 Achives, but I can't get the item to appear in checkout screen. I must be missing something. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 14 09:09: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. -- 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 interchange.redhat.com (Dan Griffin) Date: Wed Nov 14 09:54:01 2001 Subject: [ic] MySQL doesn't work with V4.8.2 !? Erik, I have created several catalogs using Mysql and makecat. I have found the easiest way is to first create a database (i.e. test_foundation) with mysql or mysqladmin ( do not create any tables, just the database ) then run makecat. And don't forget to restart Interchange. Dan Griffin ----- Original Message ----- From: "admin" <admin@web-vision.de> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 7:22 AM Subject: [ic] MySQL doesn't work with V4.8.2 !? > Hello together, > > I've already an interchange shop without any problems. > But the products database is the default products.txt > database. Now I try to setup an other shop with a MySQL > database. The makecat script creates an empty MySQL > File in /var/lib/mysql and writes all directorys as usual > without any error. But it doesn't work, error 404??? > The funniest part of it, it doesn't gives me any error > message in the log files... > I think it's tricky to setup a MySQL based shop. > Please help! > > Regards > Erik Kendel > > > btw > I use mysql -3.23.36-1, on RedHat 7.1 ... > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Bob Lorenzini) Date: Wed Nov 14 10:05:00 2001 Subject: [ic] Re: Very newbie question and new to the list... There is a utility called "grep" which will search for a text string. If you check the man page for grep "man grep" you will find a switch option that will let you recursively search directorys. Bob From: interchange-users at interchange.redhat.com (Leon Harris) Date: Wed Nov 14 10:18:00 2001 Subject: [ic] MySQL doesn't work with V4.8.2 !? Hi. Error 404 is an apache error. It means your webserver is not finding the url you asked it for. It isn't a mysql problem. Interrchange won't give you error messages, because it is an apache problem. Check /etc/httpd/logs/error_log ( on redhat < 6.2) or in /var/log/httpd/error_log what were you trying to get ? www.myhost.com/cgi-bin/catalogname? check you entered the right details for document root etc when you ran makecat Cheers, leon admin wrote: > Hello together, > > I've already an interchange shop without any problems. > But the products database is the default products.txt > database. Now I try to setup an other shop with a MySQL > database. The makecat script creates an empty MySQL > File in /var/lib/mysql and writes all directorys as usual > without any error. But it doesn't work, error 404??? > The funniest part of it, it doesn't gives me any error > message in the log files... > I think it's tricky to setup a MySQL based shop. > Please help! > > Regards > Erik Kendel > > btw > I use mysql -3.23.36-1, on RedHat 7.1 ... > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Leon Harris) Date: Wed Nov 14 10:27:01 2001 Subject: [ic] Installing mysql libraries w/o root Hi. if you use bash, you can put in the interchange users profile PERL5LIB=$PERL5LIB:/path/to/your/modules export PERL5LIB Thats how to do this with perl - never done it with IC but this should work. HTH , Leon "Patrick J. Walsh" wrote: > Perl experts: > > I would like to move my databases from gdbm to mysql. However, I do not > have root access on the server where our catalog is located. This script: > > #!/usr/bin/perl > > use DBI; > use DBD::mysql; > > produces this error: > > Can't load > '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for > module DBD::mysql: > /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined > symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line > 169. > > at ./tmp.perl line 4 > > I presume that the fix for this is to install the latest DBD::mysql, but > since I'm not root, perl -MCPAN -e 'install DBD::mysql' produces errors. > Assuming that I need to install this, what's the best way to install it in > my home directory and then what do I do to Interchange to get it to use my > copy of DBD::mysql instead of the system copy? (Remember that I don't have > access to Interchange's source code on this server). > > Any help appreciated. > > ..Patrick > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Wed Nov 14 10:59:01 2001 Subject: [ic] Re: Very newbie question and new to the list... Quoting diavolo@mail.eaze.net: > re: my problem: > How, where and what file do I need to modify the line > "Welcome to Construct Something, your online hardware store!" > the line is under the menu.. try this: grep -r "Welcome" /CATROOT/pages from the command line during a telnet session -r recurses sub-directories This will return the files containing the text "Welcome" Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Wed Nov 14 11:03:42 2001 Subject: [ic] MailOrderTo error in startup Quoting Tommy Pruitt > Interchange will not start because of "Please specify the MailOrderTo > directive in the configuration file" > In the catalog.cfg file the only MailOrderTo is set to __ORDERS_TO__ > What am I missing? try setting 'ORDERS_TO' from within variables.txt, or go to the admin section: Administration --> Preferences --> Order and enter an email address, if it is not already there, of course. =) Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 14 11:07:01 2001 Subject: [ic] Re: Very newbie question and new to the list... Thanks for the replys, but I don't seem to have that anywhere in my index page. I pasted it below. I will try what Curt and Bob said to do and will be back I am sure... ------------------------------- [comment] ui_template: Yes ui_template_name: sel_left [/comment] [set page_title]__COMPANY__ -- Welcome[/set] [set hbanner]Specials[/set] [set hpromo_type]specials[/set] [set component_hsize]2[/set] [set page_banner]Welcome[/set] [set component_left3][/set] [set component_left2][/set] [set component_left1][/set] [set members_only]0[/set] [set vbanner]New items[/set] [set component_before][/set] [set vpromo_type]new[/set] [set component_after]promo_horizontal[/set] [set component_vsize]3[/set] @_SEL_LEFT_TOP_@ <!-- BEGIN CONTENT --> [if session source] [calc] my $coupon_enable = $CGI->{coupon}; my $campaigns = q{[data table=affiliate column=campaigns key='[data session source]' ]}; delete $Scratch->{coupon_approve}; return unless $coupon_enable; return unless $campaigns =~ /\bcoupon\b/; $Scratch->{coupon_approve} = 1; return; [/calc] <br> <font __FFACE__ size="1"> Welcome Affiliate Program Visitor: <br> <a href="[data table=affiliate column=url key='[data session source]']"><img src="[data table=affiliate column=image key='[data session source]']" border="0"></a> </font> [if scratch coupon_approve] [seti coupon_amount][data table=affiliate column=coupon_amount key='[data session source]'][/seti] [discount ENTIRE_ORDER] $s - $Scratch->{coupon_amount}; [/discount] [set order_discounted]1[/set] [/if] [if scratch order_discounted] <font __FFACE__ size="1" color="#ff0000"> <b>[currency][scratch coupon_amount][/currency] Off Coupon Active</b> </font> [/if] [/if] <p><img src="navigation/default_b.gif" width="313" height="252" align="top"></p> <p><font __FFACE__ size="2">Welcome to __COMPANY__, the Internet's premier source of quality hand tools! We have tools for every building project. Thank you for visiting.</font></p><br> <!-- END CONTENT --> @_SEL_LEFT_BOTTOM_@ --------------------------------- re: my problem: How, where and what file do I need to modify the line "Welcome to Construct Something, your online hardware store!" the line is under the menu.. --------------------------------------------------------------------------- Rick Eicher II writes: > If you are using the admin pages go to Content, then click on index.html , > scroll down till you see the "Welcome to Construct Something, your online > hardware store!..." then edit it to what ever you want. > > If you are not using the admin pages go to the catalog directory. For me it > is /var/lib/interchange/foundation. Then go to the pages directory. There > open index.html. Scroll down to the "Welcome to Construct Something, your > online hardware store!..." then edit it and save your changes. Be carefull > not to change any of the Interchange tags ([tag]). > > Hope this helps, > Richard Eicher II > www.pbol.net > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > diavolo@mail.eaze.net > Sent: Wednesday, November 14, 2001 1:42 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] Re: Very newbie question and new to the list... > > > Thanks guys, > I have tried what you said and no works..I think it's because I have > Interchange 4.6. I know my systems admin is never going to download the > latest version, so if any of you have any more ideas that would be great. > > re: my problem: > How, where and what file do I need to modify the line > "Welcome to Construct Something, your online hardware store!" > the line is under the menu.. > > Thanks again, > > Sam > -------------------------- > > Justin Bonds writes: > >> I know in Interchange 4.8, it's under Content, Page Edit and then > whichever >> file you want to change the title in. For instance, index.html and then >> change the Page Title. >> >> I'm not sure if this is the way with older versions, however . . . >> >> Justin >> >> >> Justin Bonds >> ~~~~~~~~~~~~~~~~~~~~~~ >> justin@hypertech.net >> Tel: 501-745-2882 X103 >> Toll-Free: 866-WildNut X103 >> Fax: 501-745-7939 >> http://www.hypertech.net - corporate site >> http://www.storemotion.com - ecommerce engine >> http://www.wildnut.com - creative division >> >> >> -----Original Message----- >> From: interchange-users-admin@interchange.redhat.com >> [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of >> David Bordas >> Sent: Wednesday, November 14, 2001 1:57 AM >> To: interchange-users@interchange.redhat.com >> Subject: Re: [ic] Very newbie question and new to the list... >> >> >> Hi, >> >> i think you can find this in /templates in a file named leftright_top and >> leftonly_top. >> I can't be sure 'cause i'm not using construct demo but fondation one. >> >> Bye >> ----- Original Message ----- >> From: <diavolo@mail.eaze.net> >> To: <interchange-users@interchange.redhat.com> >> Sent: Wednesday, November 14, 2001 3:30 AM >> Subject: [ic] Very newbie question and new to the list... >> >> >>> Hello everyone or anyone, >>> I know this must have been brought up a million times or maybe it hasen't >>> and I am on the wrong list. Either way maybe you can help. >>> First off: >>> I know nothing about linux or redhat other than they are an os. >>> Secondly: >>> I am a designer and forced to configure interchange for my company. >>> Finally: >>> How, where and what file do I need to modify the line >>> "Welcome to Construct Something, your online hardware store!" >>> >>> If this is the wrong list for this sort of question please forgive me and >>> please could you be so kind and redirect me to where I can get some >> answers. >>> >>> Thanks a bunch >>> sam >>> _______________________________________________ >>> interchange-users mailing list >>> interchange-users@interchange.redhat.com >>> http://interchange.redhat.com/mailman/listinfo/interchange-users >> >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Wed Nov 14 11:10:09 2001 Subject: [ic] Graphics help Quoting Maureen Miniter: > On the site I am currently working with(www.trial-site.com), the customer > wants one of the links on the side category bar (Health Magazine) > to link to > a normal HTML page with one graphic on it. I am unsure how to do > this since > when you click on the links in the category bar it brings up > "flypage". Any > help would be greatly appreciated. Thanks! go to 'Design' in admin, then add or select the 'Area' you want to change, then select which 'Display type' you need. Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Wed Nov 14 11:43:00 2001 Subject: [ic] Re: Very newbie question and new to the list... > <p><img src="navigation/default_b.gif" width="313" height="252" > align="top"></p> > <p><font __FFACE__ size="2">Welcome > to __COMPANY__, the Internet's premier source > of quality hand tools! We have tools for every building > project. Thank you for visiting.</font></p><br> ><!-- END CONTENT --> This is the part that needs to be changed. __COMPANY__ is a variable that is pulled out of a database table. You can write over this variable or change the variable in the table. If you have the admin pages you can look throught the tables and make the changes as need. But that will only change the __COMPANY__ variable. If you need to change the wording (the Internet's premier source..) then that will have to be done in the index.html page. A side note when you ran the ./makecat script it should of asked you for the name of the company. Hope this helps, rick From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Nov 14 11:47:02 2001 Subject: [ic] MV_USERDB At 04:41 PM 11/13/2001 -0800, you wrote: >Can someone tell me if MV_USERDB , MV_USERDB_TABLE_ACL and the like are >still useable functions in 4.8.x version of IC. or if they have been >superceded by other means. > >I want contacts database to have [userdb] functions in addition to a userdb > > >J. Scott Andreas :) >IS/Programmer/WebDevelopement >Learning Services, Inc. A grep of the code shows that several of the MV_USERDB* vars are still referenced in Util.pm. Does this mean they are still utilized to the degree that they were in Minivend? Perhaps... - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Nov 14 11:51:01 2001 Subject: [ic] Installing mysql libraries w/o root At 09:39 PM 11/13/2001 -0800, you wrote: >Perl experts: > > I would like to move my databases from gdbm to mysql. However, I do not >have root access on the server where our catalog is located. This script: > >#!/usr/bin/perl > >use DBI; >use DBD::mysql; > > produces this error: > >Can't load >'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for >module DBD::mysql: >/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined >symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line >169. > > at ./tmp.perl line 4 > > I presume that the fix for this is to install the latest DBD::mysql, but >since I'm not root, perl -MCPAN -e 'install DBD::mysql' produces errors. >Assuming that I need to install this, what's the best way to install it in >my home directory and then what do I do to Interchange to get it to use my >copy of DBD::mysql instead of the system copy? (Remember that I don't have >access to Interchange's source code on this server). > > Any help appreciated. > >..Patrick I guess you could try the local install script (interchange-4.x.x/dist/src/cpan_local_install), but I don't know if it will work in this situation. Otherwise you'll need to coax the server admin into doing it for you. - Ed L. > =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 14 11:55:00 2001 Subject: [ic] Re: Very newbie question and new to the list... Rick, thanks that helps, but it's not the line I am looking for. The one I need is right under the menu before the constuction picture: "Welcome to Construct Something, your online hardware store!" I can change "Construct Something" doing what you said, but not "your online hardware store!" This is not located anywhere in the html. It is however in the splash.html, but I need it in the index.html. thanks for your help. Sam Rick Eicher II writes: >> <p><img src="navigation/default_b.gif" width="313" height="252" >> align="top"></p> >> <p><font __FFACE__ size="2">Welcome >> to __COMPANY__, the Internet's premier source >> of quality hand tools! We have tools for every building >> project. Thank you for visiting.</font></p><br> >><!-- END CONTENT --> > > This is the part that needs to be changed. __COMPANY__ is a variable that is > pulled out of a database table. You can write over this variable or change > the variable in the table. If you have the admin pages you can look throught > the tables and make the changes as need. But that will only change the > __COMPANY__ variable. If you need to change the wording (the Internet's > premier source..) then that will have to be done in the index.html page. > > A side note when you ran the ./makecat script it should of asked you for the > name of the company. > > Hope this helps, > rick > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Dickulous) Date: Wed Nov 14 12:19:01 2001 Subject: [ic] Oooops! Lost all my graphics! I've been removing hardware items from the foundation store and replacing them with art items in my craft store. http://craftsmart.ca/~craftsma/cgi-bin/cart.cgi/index.html Suddenly all my images except for the thumbnails are missing. Even the Buy Now button is gone from the fly pages but it is there on the homepage. This applies even to the old hardware items so I must have fudged some global setting somewhere. The images themselves are where they have always been in the images/items and images/thumb directories. Any help would be greatly appreciated. Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Wed Nov 14 13:05:01 2001 Subject: [ic] MV_USERDB thanks ED -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed LaFrance Sent: Wednesday, November 14, 2001 8:47 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] MV_USERDB At 04:41 PM 11/13/2001 -0800, you wrote: >Can someone tell me if MV_USERDB , MV_USERDB_TABLE_ACL and the like are >still useable functions in 4.8.x version of IC. or if they have been >superceded by other means. > >I want contacts database to have [userdb] functions in addition to a userdb > > >J. Scott Andreas :) >IS/Programmer/WebDevelopement >Learning Services, Inc. A grep of the code shows that several of the MV_USERDB* vars are still referenced in Util.pm. Does this mean they are still utilized to the degree that they were in Minivend? Perhaps... - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Hans Poo) Date: Wed Nov 14 13:26:00 2001 Subject: [ic] Re: Very newbie question and new to the list... El Mié 14 Nov 2001 12:04, escribió: > There is a utility called "grep" which will search for a text string. If > you check the man page for grep "man grep" you will find a switch option > that will let you recursively search directorys. > > > Bob > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users En cualquier caso puedes usar: find . -name '*.html' -type f -exec grep string_busar {} \; From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Nov 14 13:54:01 2001 Subject: [ic] Oooops! Lost all my graphics! Rick Dickulous wrote: > > I've been removing hardware items from the foundation store and replacing them with art items in my craft store. > http://craftsmart.ca/~craftsma/cgi-bin/cart.cgi/index.html > Suddenly all my images except for the thumbnails are missing. Even the Buy Now button is gone from the fly pages but it is there on the homepage. This applies even to the old hardware items so I must have fudged some global setting somewhere. The images themselves are where they have always been in the images/items and images/thumb directories. Any help would be greatly appreciated. Look into .../products/variable.txt and check the path and url. Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 14 15:40:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it Quoting Steffen Dettmer (steffen@dett.de): > Hi, > > as I wrote, I had a problem with hanging interchange processes. > strace showed that there is an endless loop (see my mails for > details). Surprisingly I found that this problem seems not to > occure with enabled debugging. I assumed a side effect. > > I tried to determine the position with try and error. I found a > single line that seem to be a workaround. This line in in the > file Vend/SessionFile.pm. It's at the end in sub DELETE and reads > as it follows: > > ::logDebug("storing in $SessionFile: " . ::uneval($ref)); > > To go sure, I used the original File, which has this line > commented out. Instead I added: > > ::uneval($ref); > > And it works, too. No 99% CPU processes. I don't know what unveal > does, but it workarounds the problem. I'm afraid that this don't > fixes the issue but gives a point less where it gets triggered. > > For completness a patch: I don't see any context here, but I do recommend that no one do this -- you shouldn't be sticking in patches when you know not what they do. I am guessing your operating system is BSD. Why I should have to guess, I don't know -- it should be mandatory to mention that in a message like this. In any case, the thing you mentioned makes it seem like you have a problem with file locks. I would run my "make test" on Perl and see whether it passed 100%. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 14 16:48:01 2001 Subject: [ic] MV_USERDB Quoting Ed LaFrance (edl@newmediaems.com): > At 04:41 PM 11/13/2001 -0800, you wrote: > > >Can someone tell me if MV_USERDB , MV_USERDB_TABLE_ACL and the like are > >still useable functions in 4.8.x version of IC. or if they have been > >superceded by other means. > > > >I want contacts database to have [userdb] functions in addition to a userdb > > > > A grep of the code shows that several of the MV_USERDB* vars are still > referenced in Util.pm. Does this mean they are still utilized to the degree > that they were in Minivend? Perhaps... > For the most part, these functions has been subsumed by [userdb ....] and UserDB in catalog.cfg. This is one part of Interchange which is very well documented. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Wed Nov 14 17:32:01 2001 Subject: [ic] MV_USERDB Mike, As far as the documentation goes and correct me if I'm wrong but does't IC assume that userdb table is 'userdb'. But what if you have multiple tables for instance a contacts table a userdb table and so forth and you want them these tables to have USERDB functions According to the archive to declare another table to be able to use [userdb] functions in catalog.cfg Variable MV_USERDB contacts Variable MV_USERDB_ACL_TABLE contacts Variable MV_USERNAME code Variable MV_PASSWORD password . . . Database userdb userdb.txt TAB Database contacts contacts.txt TAB -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike Heins Sent: Wednesday, November 14, 2001 1:47 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] MV_USERDB Quoting Ed LaFrance (edl@newmediaems.com): > At 04:41 PM 11/13/2001 -0800, you wrote: > > >Can someone tell me if MV_USERDB , MV_USERDB_TABLE_ACL and the like are > >still useable functions in 4.8.x version of IC. or if they have been > >superceded by other means. > > > >I want contacts database to have [userdb] functions in addition to a userdb > > > > A grep of the code shows that several of the MV_USERDB* vars are still > referenced in Util.pm. Does this mean they are still utilized to the degree > that they were in Minivend? Perhaps... > For the most part, these functions has been subsumed by [userdb ....] and UserDB in catalog.cfg. This is one part of Interchange which is very well documented. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 14 17:36:01 2001 Subject: [ic] UserTags with upper case letters not working? Hi, after a few hours I renamed my UserTag from "Preis" to "preis" and suddenly it was working. Is anything screwed up in my setup or is it really required to have lowercase tag names? And if so, why isn't IC reporting an error? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 14 17:41:01 2001 Subject: [ic] Searching multiple fields question Hi, I just don't get it. What I try to do is the following: searching a text in products comment and description. I have a second condition, the shop_id must match a scratch value. I tried for instance: <INPUT TYPE=hidden NAME=mv_search_map VALUE=" mv_searchspec=search_id mv_searchspec=search_word "> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 10]> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE="products:shop_id"> <INPUT TYPE=hidden NAME=mv_search_field VALUE="products:comment,products:description"> <input type=hidden name=mv_substring_match value=1> <INPUT TYPE=hidden NAME=mv_column_op VALUE=em> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <INPUT TYPE=hidden NAME=search_id VALUE="[scratch shop_id]"> <INPUT MAXLENGTH=30 NAME=search_word type=text size=8> This is not working as I want. Is <INPUT TYPE=hidden NAME=mv_search_field VALUE="products:comment,products:description"> equal to: <INPUT TYPE=hidden NAME=mv_search_field VALUE="products:description"> <INPUT TYPE=hidden NAME=mv_search_field VALUE="products:comment"> ? In that case I understand why it's not working as I need it. Then I would need to use mv_searchor, but it seems that this can be used only once, so this would search for the right shop_id or the word. Any suggestions? Thank you! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 14 18:00:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Mike Heins wrote on Wed, Nov 14, 2001 at 15:39 -0500: > Quoting Steffen Dettmer (steffen@dett.de): [...] > > And it works, too. No 99% CPU processes. I don't know what unveal > > does, but it workarounds the problem. I'm afraid that this don't > > fixes the issue but gives a point less where it gets triggered. > > > > For completness a patch: > > I don't see any context here, but I do recommend that no one do > this Hum, yep, of course, I forgot to say it explicitly that this patch is not for any user but for developer only, and only to make clear what I changed exactly. Second, this patch is empiric guessed as I tried to insinuate. What do you mean with "I don't see any context here"? To less patch context? I just used diff -u which defaults to 3 lines context. > I am guessing your operating system is BSD. I'm running linux. > Why I should have to guess, I don't know -- it should be > mandatory to mention that in a message like this. You're right, sorry. It's an SuSE 7.0 distribution: Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown with the old Perl 5.005_03. > In any case, the thing you mentioned makes it seem like you > have a problem with file locks. I would run my "make test" > on Perl and see whether it passed 100%. Thank you for the hint. You suggest to do a make test in the perl sources, right? I'll have to upgrade Perl anyway, so I'll do it. File locks could really be problematic, since the file system is a NFS share. So this may be a NFS problem? I could check it by moving the home of this user to a local file system, this may be a nice idea, correct? Do you have an idea why the line "::uneval($ref);" worksarounds this problems? After a very quick look at the source I think this statement should do nothing but return a "dump" of the referenced thing, is that correct? So this statement should do nothing except wasteing CPU cycles, correct? Well, for me it looks like a mysteria at all. Any ideas? Thank you for your quick response! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Nov 14 18:46:00 2001 Subject: [ic] workaround found for 99%CPU usage problem in Steffen Dettmer wrote: > > * Mike Heins wrote on Wed, Nov 14, 2001 at 15:39 -0500: > > Quoting Steffen Dettmer (steffen@dett.de): > [...] > > > And it works, too. No 99% CPU processes. I don't know what unveal > > > does, but it workarounds the problem. I'm afraid that this don't > > > fixes the issue but gives a point less where it gets triggered. > > > > > > For completness a patch: > > > > I don't see any context here, but I do recommend that no one do > > this > > Hum, yep, of course, I forgot to say it explicitly that this > patch is not for any user but for developer only, and only to > make clear what I changed exactly. Second, this patch is empiric > guessed as I tried to insinuate. > > What do you mean with "I don't see any context here"? To less > patch context? I just used diff -u which defaults to 3 lines > context. > > > I am guessing your operating system is BSD. > > I'm running linux. > > > Why I should have to guess, I don't know -- it should be > > mandatory to mention that in a message like this. > > You're right, sorry. It's an SuSE 7.0 distribution: > Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown > with the old Perl 5.005_03. [DEL] > Well, for me it looks like a mysteria at all. Any ideas? I'm not sure, if my hint can help you. But did you read any error message from /var/log/messages? I've gotten a 99% CPU processes on a cobalt server with suse linux, because the RAM was not enough (65 MB) and I've gotten an error messages about the page (swap oder VM) in /var/log/messages. With 256 MB RAM, the 99% CPU processes goes away. I'm a FreeBSD user! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 14 19:43:00 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it > * Mike Heins wrote on Wed, Nov 14, 2001 at 15:39 -0500: > > Quoting Steffen Dettmer (steffen@dett.de): > [...] > > > And it works, too. No 99% CPU processes. I don't know what unveal > > > does, but it workarounds the problem. I'm afraid that this don't > > > fixes the issue but gives a point less where it gets triggered. > > > > > > For completness a patch: > > > > I don't see any context here, but I do recommend that no one do this > > Hum, yep, of course, I forgot to say it explicitly that this > patch is not for any user but for developer only, and only to > make clear what I changed exactly. Second, this patch is > empiric guessed as I tried to insinuate. > > What do you mean with "I don't see any context here"? To less > patch context? I just used diff -u which defaults to 3 lines context. > > > I am guessing your operating system is BSD. > > I'm running linux. > > > Why I should have to guess, I don't know -- it should be > mandatory to > > mention that in a message like this. > > You're right, sorry. It's an SuSE 7.0 distribution: > Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 > i686 unknown with the old Perl 5.005_03. > > > In any case, the thing you mentioned makes it seem like you have a > > problem with file locks. I would run my "make test" on Perl and see > > whether it passed 100%. > > Thank you for the hint. You suggest to do a make test in the > perl sources, right? I'll have to upgrade Perl anyway, so I'll do it. > > File locks could really be problematic, since the file system > is a NFS share. So this may be a NFS problem? I could check > it by moving the home of this user to a local file system, > this may be a nice idea, correct? For NFS, try this in interchange.cfg: LockType fcntl I thought that was in the docs? Hmm. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Nov 14 19:55:00 2001 Subject: [ic] Nested Loops - Newbie > > This generates a unique category for each product/category combination. > > Which does automate the task, it however does not get passed the messy > > solution of having multiple categories with the same title. i.e. >Courses->OS > > has the same title as Software->OS, the difference is the options used >in > > field/column pairs. > >If you are using the new layout_auto.html page just choose complex search. >Complex Search default values definitely work and will auto create links >that return categories exclusive to prod_groups regardless of how many >categories have the same name. This option only produced a category for the first area a product was in. i.e. I have a product in area Courses category OS and another product in area Software category OS, only 1 OS category was produced in the design page. This was the first Area/Category and the se/sf values were hard coded. I must not be communicating what I want very well, so I'll try again :} What I want to do is in the design page have 1 category, say OS, and when I apply that category to any area, the links generated should only link to products in the area & category. I don not want to generate 1 category per area/category combination.Unfortunately the use of "category" here is confusing as it is being used in 2 different contexts :{ What I need is to be able to set sf=AREA_SF and se=AREA_SE in the search link for the category. That is, I must be able to use variables in the search as oppossed to hard coded values that auto_layout generates. The search needs to be dynamically generated at runtime, not hard coded in the design phase. This way you will only ever require 1 category per category, regardless of how many areas it is in. It seems to me that this should be the default behaviour. In fact I can't think of a time when you would want to display both area and category and have products from other areas displayed. It also seems strange to require specific searching on Area/Category for every Area/Category seperately, i.e. OS-Courses category to be used when you want to view OS products in courses and OS-Software category to search for software bundles etc. If you wanted to display products in a cataloge from every area surely you would simply not put an se/sf pair in the area search. I am sure this needs to be done in code, and the most likely area I have found is accessing the box loop se/sf pair in the cat loop search in category_vertical. I have a two step process using the auto-populate feature that should make it simple enough for the sales staff to add new areas. However I still believe the approach taken is overly complex. if (AREA_SE != NULL) add_se($searchm AREA_SE) etc . There you go, one category per category, if you don't want to display a category by area, don't have an area search, even sales staff can handle that :} Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 14 19:59:00 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it Quoting Steffen Dettmer (steffen@dett.de): > You're right, sorry. It's an SuSE 7.0 distribution: > Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown > with the old Perl 5.005_03. Aha. This could be part of the problem, particularly if you do have multiple processors. > > > In any case, the thing you mentioned makes it seem like you > > have a problem with file locks. I would run my "make test" > > on Perl and see whether it passed 100%. > > Thank you for the hint. You suggest to do a make test in the perl > sources, right? I'll have to upgrade Perl anyway, so I'll do it. If it is Linux, this is probably not an issue other than the general out-of-datedness of your software. > > File locks could really be problematic, since the file system is a NFS > share. So this may be a NFS problem? I could check it by moving > the home of this user to a local file system, this may be a nice > idea, correct? Aha. That is it -- flock() doesn't work across NFS filesystems. And it won't work at all if you don't have lockd running; even then you should set LockType to "fcntl" if you want to still try NFS. But on the 2.2.x kernel series there is not much hope of it working. In any case, I am certain if it moves to a local file system the problem will disappear. > > Do you have an idea why the line "::uneval($ref);" worksarounds > this problems? After a very quick look at the source I think this > statement should do nothing but return a "dump" of the referenced > thing, is that correct? So this statement should do nothing > except wasteing CPU cycles, correct? > > Well, for me it looks like a mysteria at all. Any ideas? This is just timing problem. If we can't lock reliably, file-based sessions simply will not work. You could move to DBI sessions. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Wed Nov 14 23:15:01 2001 Subject: [ic] MySQL doesn't work with V4.8.2 !? make sure that you have both DBD and DBI installed from: http://www.mysql.com/downloads/api-dbi.html I would create the database first and then run makecat telling it to use mysql along with the appropriate user name and password. It should give an error when creating the database - which is fine. When finished, restart Interchange and hopefully it'll add the tables to the database. :) Justin Justin Bonds ~~~~~~~~~~~~~~~~~~~~~~ justin@hypertech.net Tel: 501-745-2882 X103 Toll-Free: 866-WildNut X103 Fax: 501-745-7939 http://www.hypertech.net - corporate site http://www.storemotion.com - ecommerce engine http://www.wildnut.com - creative division -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Dan Griffin Sent: Wednesday, November 14, 2001 9:55 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] MySQL doesn't work with V4.8.2 !? Erik, I have created several catalogs using Mysql and makecat. I have found the easiest way is to first create a database (i.e. test_foundation) with mysql or mysqladmin ( do not create any tables, just the database ) then run makecat. And don't forget to restart Interchange. Dan Griffin ----- Original Message ----- From: "admin" <admin@web-vision.de> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 7:22 AM Subject: [ic] MySQL doesn't work with V4.8.2 !? > Hello together, > > I've already an interchange shop without any problems. > But the products database is the default products.txt > database. Now I try to setup an other shop with a MySQL > database. The makecat script creates an empty MySQL > File in /var/lib/mysql and writes all directorys as usual > without any error. But it doesn't work, error 404??? > The funniest part of it, it doesn't gives me any error > message in the log files... > I think it's tricky to setup a MySQL based shop. > Please help! > > Regards > Erik Kendel > > > btw > I use mysql -3.23.36-1, on RedHat 7.1 ... > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (murahashi) Date: Thu Nov 15 00:05:01 2001 Subject: [ic] Tax caluculation problem I did more tests about tax caluculation round off. TAXArea JP TAXField JP TAX Rate JP=5.0 (CASE-A) frac_digits = 0 Checkout.html showed below. Order-A1: Subtotal 190Yen ; Tax 10Yen (Correct) Order-A1: Subtotal 170Yen ; Tax 8Yen (This should be 9Yen) Order-A1: Subtotal 30Yen ; Tax 2Yen (Correct) Order-A1: Subtotal 10Yen ; Tax 0Yen (This should be 1Yen) In Japan, we have no decimal for calculated tax value. It seems IC rounded off in case of even, but not rounded off in case of odd. Is that right? Am I worng? Of course, when frac_digits = 2 , all of calclation are right . See below. (CASE-B) frac_digits = 2 Checkout.html showed below. Order-A1: Subtotal 190.00Yen ; Tax 9.50Yen Order-A1: Subtotal 170.00Yen ; Tax 8.50Yen Order-A1: Subtotal 30.00Yen ; Tax 1.50Yen Order-A1: Subtotal 10.00Yen ; Tax 0.50Yen Any help would be appreciated. --------------------------------------------------------------- KIDA Net Business Ltd Shozo Murahashi ----- Original Message ----- From: "murahashi" <murahashi@ayayu.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 13, 2001 3:37 PM Subject: [ic] Tax caluculation problem > Sales tax value calculation was wrong in case of below on both Interchange > 4.6 and 4.8. > > TAXArea JP > TAXField JP > TAX Rate JP=5.0 > > ( Case 1) > On checkout.html, > Subtotal 8250Yen > Tax 412Yen > > Tax = 8250 * 0.05 = 412.5 > Wrong! > Tax should be 413Yen. > It seems that Round off is not correct. > > (Case 2) > On checkout.html > Subtotal 46790Yen > Tax 2340Yen > > Tax =46790 * 0.05 = 2339.5 > This case correct! > > >From experiences, most of cases are right on calculation of round off. > > Where should I look into sales tax module? Any pointer? > > Any help would be appreciated. > --------------------------------------------------------------- > KIDA Net Business Ltd > Shozo Murahashi > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 02:19:00 2001 Subject: [ic] Tax caluculation problem Quoting murahashi (murahashi@ayayu.com): > I did more tests about tax caluculation round off. > > TAXArea JP > TAXField JP > TAX Rate JP=5.0 > > (CASE-A) > frac_digits = 0 > Checkout.html showed below. > Order-A1: Subtotal 190Yen ; Tax 10Yen (Correct) > Order-A1: Subtotal 170Yen ; Tax 8Yen (This should be 9Yen) > Order-A1: Subtotal 30Yen ; Tax 2Yen (Correct) > Order-A1: Subtotal 10Yen ; Tax 0Yen (This should be 1Yen) > > In Japan, we have no decimal for calculated tax value. > It seems IC rounded off in case of even, but not rounded off in case of odd. > Is that right? Am I worng? > > Of course, when frac_digits = 2 , all of calclation are right . See below. > > (CASE-B) > frac_digits = 2 > Checkout.html showed below. > Order-A1: Subtotal 190.00Yen ; Tax 9.50Yen > Order-A1: Subtotal 170.00Yen ; Tax 8.50Yen > Order-A1: Subtotal 30.00Yen ; Tax 1.50Yen > Order-A1: Subtotal 10.00Yen ; Tax 0.50Yen I think this may be a problem in the round_to_frac_digits routine -- it doesn't operate when the number is zero. Try this patch to Util.pm: Index: Util.pm =================================================================== RCS file: /anon_cvs/repository/interchange/lib/Vend/Util.pm,v retrieving revision 2.7 diff -u -r2.7 Util.pm --- Util.pm 2001/10/31 22:22:35 2.7 +++ Util.pm 2001/11/15 07:16:55 @@ -203,7 +203,8 @@ # use what we were given } elsif ( $Vend::Cfg->{Locale} ) { - $digits = $Vend::Cfg->{Locale}{frac_digits} || 2; + $digits = $Vend::Cfg->{Locale}{frac_digits}; + $digits = 2 if ! defined $digits; } else { $digits = 2; If it works for you, I will then put it in the distribution. Thank you very much for the investigation. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (David Bordas) Date: Thu Nov 15 02:37:00 2001 Subject: [ic] Searching multiple fields question Hi, here an exemple that i use and it works great << <form action="[area search]" method=post> <input type=hidden name="mv_searchtype" value="sql"> <input type=hidden name="mv_sort_field" value="category"> <input type=hidden name="mv_sort_field" value="description"> <input type=hidden name="mv_sort_field" value=""> <input type=hidden name="mv_coordinate" value="yes"> <INPUT TYPE=hidden NAME=mv_search_map VALUE=" mv_searchspec=search1 mv_searchspec=search2 mv_searchspec=search3 mv_searchspec=search4 mv_searchspec=search5"> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="marque"> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="category"> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="age"> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="description"> <INPUT TYPE=hidden NAME="mv_search_field" VALUE="comment"> >> If this can help you... David ----- Original Message ----- From: "Steffen Dettmer" <steffen@dett.de> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 14, 2001 11:40 PM Subject: [ic] Searching multiple fields question > Hi, > > I just don't get it. What I try to do is the following: searching > a text in products comment and description. I have a second > condition, the shop_id must match a scratch value. I tried for > instance: > > <INPUT TYPE=hidden NAME=mv_search_map VALUE=" > mv_searchspec=search_id > mv_searchspec=search_word > "> > > <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> > <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> > <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 10]> > <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> > <INPUT TYPE=hidden NAME=mv_search_field VALUE="products:shop_id"> > <INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:comment,products:description"> > <input type=hidden name=mv_substring_match value=1> > <INPUT TYPE=hidden NAME=mv_column_op VALUE=em> > <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> > <INPUT TYPE=hidden NAME=search_id VALUE="[scratch shop_id]"> > <INPUT MAXLENGTH=30 NAME=search_word type=text size=8> > > This is not working as I want. Is > <INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:comment,products:description"> > > equal to: > <INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:description"> > <INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:comment"> > > ? In that case I understand why it's not working as I need it. > Then I would need to use mv_searchor, but it seems that this can > be used only once, so this would search for the right shop_id or > the word. > > Any suggestions? > > Thank you! > > oki, > > Steffen > > -- > Dieses Schreiben wurde maschinell erstellt, > es trägt daher weder Unterschrift noch Siegel. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (murahashi) Date: Thu Nov 15 04:16:01 2001 Subject: [ic] Tax caluculation problem > I think this may be a problem in the round_to_frac_digits > routine -- it doesn't operate when the number is zero. > > Try this patch to Util.pm: > > Index: Util.pm > =================================================================== > RCS file: /anon_cvs/repository/interchange/lib/Vend/Util.pm,v > retrieving revision 2.7 > diff -u -r2.7 Util.pm > --- Util.pm 2001/10/31 22:22:35 2.7 > +++ Util.pm 2001/11/15 07:16:55 > @@ -203,7 +203,8 @@ > # use what we were given > } > elsif ( $Vend::Cfg->{Locale} ) { > - $digits = $Vend::Cfg->{Locale}{frac_digits} || 2; > + $digits = $Vend::Cfg->{Locale}{frac_digits}; > + $digits = 2 if ! defined $digits; > } > else { > $digits = 2; > > If it works for you, I will then put it in the distribution. > Thank you very much for the investigation. > It worked well in All of cases we tested. You are super! Thank you very very much. Please put in the distribution. --------------------------------------------------------------- KIDA Net Business Ltd Shozo Murahashi From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Nov 15 05:50:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Joachim Leidinger wrote on Thu, Nov 15, 2001 at 00:46 +0100: > Steffen Dettmer wrote: > > Hum, yep, of course, I forgot to say it explicitly that this > > patch is not for any user but for developer only, and only to > > make clear what I changed exactly. > I'm not sure, if my hint can help you. But did you read any error > message from /var/log/messages? I didn't found anythink related. > I've gotten a 99% CPU processes on a cobalt server with suse linux, > because the RAM was not enough (65 MB) and I've gotten an error messages > about the page (swap oder VM) in /var/log/messages. With 256 MB RAM, the > 99% CPU processes goes away. There were more than 100MB physical RAM available (==free+bcache) of 256MB always, plus swap. So I don't think that's a problem. But thanks for the hint. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Nov 15 06:00:01 2001 Subject: [ic] Searching multiple fields question * David Bordas wrote on Thu, Nov 15, 2001 at 08:37 +0100: > here an exemple that i use and it works great [...] But with this it's possible to do an AND search or an OR search for all conditions, is this correct? I need somethink like (id == id) and ( (field1 == spec) or (field2 == spec) ). I think I should look to the SQL query feature, is this correct? Thank you for your quick reply. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Nov 15 06:03:18 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Mike Heins wrote on Wed, Nov 14, 2001 at 19:58 -0500: > Quoting Steffen Dettmer (steffen@dett.de): > > You're right, sorry. It's an SuSE 7.0 distribution: > > Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown > > with the old Perl 5.005_03. > > Aha. This could be part of the problem, particularly if you do > have multiple processors. Yep, this machine has two CPUs (Pentium III (Coppermine) 866). [...] > If it is Linux, this is probably not an issue other than the general > out-of-datedness of your software. Hum, but of course it's not possible to update to each distribution plus all upgrades always on every host. > Aha. That is it -- flock() doesn't work across NFS filesystems. > And it won't work at all if you don't have lockd running; even > then you should set LockType to "fcntl" if you want to still > try NFS. I'll try it out. Thank you! > In any case, I am certain if it moves to a local file system > the problem will disappear. Is it enough to move the catalog/catname/session to a local file system? If possible I would like to keep the catalog on NFS (beacuse of backups and so on). Do you think it's enough to make session a symlink to something local? > This is just timing problem. If we can't lock reliably, file-based > sessions simply will not work. You could move to DBI sessions. This would be an alternative, but since I have only a single web server I think it's a lot more performant to have file based sessions, correct? So I would prefere to have the sessions on a local file system. Thank you for your help! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (George Frampton) Date: Thu Nov 15 11:16:01 2001 Subject: [ic] Beginner Installation Problem Greetings: I'm a new user to IC and fairly new to Linux as well. I encountered the following error when attempting to install IC: =========================================================== Interchange Version 4.7.x Configuration Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line 143 Can't write uid file: Permission denied make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `test'. Stop. =========================================================== Any advice would be appreciated. Regards George PS The website is Virtualy Hosted with Shell Access. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 15 11:35:00 2001 Subject: [ic] Beginner Installation Problem > Greetings: > > I'm a new user to IC and fairly new to Linux as well. I > encountered the > following error when attempting to install IC: > > =========================================================== > Interchange Version 4.7.x Configuration > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > Interchange was originally based on Vend 0.2 and 0.3 > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > Distributed under the GNU General Public License. > See the file LICENSE for license information. > > Found Perl 5.6.0 as /usr/bin/perl > > If you get a CPAN error, rerun the configuration and it > should go away. > > opendir(./../../..): Permission denied at > /usr/lib/perl5/5.6.0/FindBin.pm > line 143 > Can't write uid file: Permission denied > make: *** No targets specified and no makefile found. Stop. > make: *** No rule to make target `test'. Stop. > > =========================================================== > > Any advice would be appreciated. > > Regards > > George > > PS > The website is Virtualy Hosted with Shell Access. Checkout cpan_local_install in your tarball somewhere. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 15 12:25:01 2001 Subject: [ic] multiple stores - one cart Thanks Christopher your interest is inspiring :o) You may have solved my problem by giving me an alternative way of looking at the stores in general, maybe I've been over-complicating it. Essentially, the physical side is one big store that has three major suppliers, each supplier has a different product line (thousand or so items each), they are all sold under the one roof, but in different sections (but only one merchant account). As you quite rightly put it, I'm trying to make it easy for administration of stocks (ie keeping the databases seperate) and the ordering/mailing together. I'll take your suggestion,though, and put the stocks together for the on-line store and seperate them by menus, it's going to be the quickest way and I'm running out of time very quickly. Once our new epos system is finished being installed, (I'm doing that as well) I'll have a bit more time and return to the problem then. thanks again Dave From: interchange-users at interchange.redhat.com (Rick Dickulous) Date: Thu Nov 15 13:08:01 2001 Subject: [ic] Oooops! Lost all my graphics! Thanks for the help. I looked for a variable and found an entry for IMAGE_DIR in that file and it was set correctly. However I observed that it was images preceded by /interchange/en_US/ that were refusing to load. I checked /pages/results.html and found several hard coded entries for the offending /interchange/en_US and changed them to the correct directory. That fixed the problem but leaves me wondering why is that en_US directory in there and why did it work initially and then break? On Wed, 14 November 2001, Joachim Leidinger wrote: > > Rick Dickulous wrote: > > > > I've been removing hardware items from the foundation store and replacing them with art items in my craft store. > > http://craftsmart.ca/~craftsma/cgi-bin/cart.cgi/index.html > > Suddenly all my images except for the thumbnails are missing. Even the Buy Now button is gone from the fly pages but it is there on the homepage. This applies even to the old hardware items so I must have fudged some global setting somewhere. The images themselves are where they have always been in the images/items and images/thumb directories. Any help would be greatly appreciated. > > > Look into .../products/variable.txt and check the path and url. > > Joachim > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 15 13:32:00 2001 Subject: [ic] Searching multiple fields question At 11:40 PM 11/14/2001 +0100, you wrote: >Hi, > >I just don't get it. What I try to do is the following: searching >a text in products comment and description. I have a second >condition, the shop_id must match a scratch value. I tried for >instance: > ><INPUT TYPE=hidden NAME=mv_search_map VALUE=" > mv_searchspec=search_id > mv_searchspec=search_word >"> > ><INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> ><INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> ><INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 10]> ><INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> ><INPUT TYPE=hidden NAME=mv_search_field VALUE="products:shop_id"> ><INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:comment,products:description"> ><input type=hidden name=mv_substring_match value=1> ><INPUT TYPE=hidden NAME=mv_column_op VALUE=em> ><INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> ><INPUT TYPE=hidden NAME=search_id VALUE="[scratch shop_id]"> ><INPUT MAXLENGTH=30 NAME=search_word type=text size=8> > >This is not working as I want. Is ><INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:comment,products:description"> > >equal to: ><INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:description"> ><INPUT TYPE=hidden NAME=mv_search_field > VALUE="products:comment"> > >? In that case I understand why it's not working as I need it. >Then I would need to use mv_searchor, but it seems that this can >be used only once, so this would search for the right shop_id or >the word. > >Any suggestions? > Yes. I've generally found that, when doing complex searches, it is easier to collect search criteria in one step with a simple non-search form, then analyze the input and compose/submit the search in a second step. Additionally, in your case, I think an SQL query might work best for that second step. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Thu Nov 15 13:39:01 2001 Subject: [ic] problems using a date widget I need to search for material based on date. So thusly I want to use the date widget to search for material within a date range. On the search page I have... <TR> <TD><B>Beginning<BR> [widget type=date NAME=ui_begin_date]</TD> <TD><B>Ending</B><BR> [widget type=date NAME=ui_end_date]</TD> </TR> on the result page I have... [calc] if ($Session->{arg}) { $Scratch ->{date_limit} = "AND created like '$Session->{arg}%'"; } elsif ($CGI->{ui_begin_date}) { for (qw/ ui_begin_date ui_end_date/) { $CGI -> {$_} = $Tag->filter ( { op => 'date_change', body => $CGI -> {$_} } ); } $Scratch->{date_limit} = <<EOF AND created >= '$CGI->{ui_begin_date}' AND created <= '$CGI->{ui_end_date}Z' EOF } else { $Scratch -> {date_limit}= ""; } return; [/calc] There are no ouput errors running IC 4.8 The Docs and List were exhausted for this problem Thx. J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 | |__earning (__ __)ervices | |ncorporated --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 15 13:45:00 2001 Subject: [ic] Image buy buttons not working in Netscape In our IC 4.8 store we have found a problem with using images for the buy button not working in netscape. When purchasing something and clicking on the image buy button we receive an error saying nothing page not found. The item is placed into the cart, but the page does not resolve. Any clues/answers to help us. Below is the code. Thanks in advance! <table border=0><tr><td align=center valign=center><b>Quantity:</b> <input type="text" name="mv_order_quantity" size="4" value="1"></td><td align=center valign=center><input type="image" src="/pbg_oraclepress/images/buynow.jpg" value="Buy it Now!"></td></tr></table> From: interchange-users at interchange.redhat.com (interch) Date: Thu Nov 15 14:58:00 2001 Subject: [ic] Status of server error generating bug in rpc mode? Just checking to see if anyone has a patch for the bug that generates server errors in the admin on IC 4.8.2 when running in rpc mode? Chris From: interchange-users at interchange.redhat.com (Aaron Rubin) Date: Thu Nov 15 15:07:00 2001 Subject: [ic] Payflowpro and multiple charge attempts Hello, I was running IC 4.8.1, Perl 5.6.1, Verisign Payflowpro SDK 3.0 (formerly Signio) on a Cobalt RAQ 4 (one processor and I haven't recompiled Perl or made any major changes). When I tried to put a transaction through the card was getting authorized 3 times in rapid succession (in a second or less). Ron Phipps had the same problem and downgraded to IC 4.6 so I did the same and it worked but I already built the catalog to utilize some of the features of IC 4.8 and I miss having those features. Anyone have any ideas why I'm getting the weirdness with 4.8.1? Thanks. -- Aaron Rubin http://KarateDepot.com 1-877-216-2669 x12 From: interchange-users at interchange.redhat.com (interch) Date: Thu Nov 15 15:30:00 2001 Subject: [ic] Status of server error generating bug in rpc mode? Some more info on this I am just starting to debug it myself. >From the catalog error log: 63.228.109.101 HnAmZ8HI:63.228.109.101 - [15/November/2001:12:29:56 -0800] paymentonline /paymentonline/admin/page_edit search error: your search file a valid database reference, was 'backup'. >From the server error log: 63.228.109.101 - - [15/November/2001:12:30:00 -0800] paymentonline /paymentonline/admin/page_save.html Died in server spawn: Can't call method "new" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm line 674. I will post a fix once I find it if no one else has it figured out already. Chris On Thu, 15 Nov 2001, interch wrote: > > Just checking to see if anyone has a patch for the bug that generates > server errors in the admin on IC 4.8.2 when running in rpc mode? > > Chris > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Russell Uman) Date: Thu Nov 15 15:45:00 2001 Subject: [ic] International Zone Based Shipping i am trying to do this exact same thing! did you ever make any progress? did you add country codes to your ups zone file, or did you create and use a separate country zone file? were you ever able to figure out how to pass the country field to the zone lookup instead of the zip? thanks! ----- Original Message ----- From: Mark R. Misko <mark.misko@bossintl.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 19, 2001 2:09 PM Subject: [ic] International Zone Based Shipping > Just curious if anyone has done or knows about international zone based > shipping. > > I am using zone based shipping for all of my shipping methods. All of the > domestic shipping modes (UPS and FedEx modes) work out great. I have zone > files and rate tables all set up using the Internal UPS lookup method. It > works great! > > I am having problems using the same UPS Style Lookup for international > shipping rates though. As with domestic zones, I have a zone chart with all > the all the country codes (taken from the 'country' sql database) as my rows > and a column listing the zone. The zone is then passed to the rate table > where the shipping is calculated. This of course is not working for my > international setup. > > Here are what I think the problems may be: > > 1. The UPS style uses Zip codes that are entered into the proper field to > determine the shipping zone from the chart. I am attempting to pass the > country code variable (selector?) from the "country" database into my zone > file instead of using zip codes. Will this work? Maybe I do not have the > proper formula. > > Instead of taking the zip code entered by the user I want to use the country > code from the "country" database. > > Here is the basic charge amount formula I am using for all of my zip code > based methods: > > Ground [value name=zip filter=digits default=53562] > > This works for all Zip based shipping with Internal UPS selected and the > proper zone and rate files setup. > > I need to be able to pass along the country code instead of the zip code. > Can I just change variable names in the formula above to make this work? > Any ideas? > > 2. Do I need to set up my zone tables differently instead of using the > "country" code? Can I pass a numerical value similar to a zip code? Is it > even possible to pass the country code? > > > Thanks in advance, > > -Mark > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (David Berry) Date: Thu Nov 15 15:57:01 2001 Subject: [ic] multiple stores - one cart >If I were going to do this, I would set up each store as a stand alone unit >and get each one operating properly. > >Then, in 2 of the stores, I would delete the various data bases that I want >to share and make sym-links to the one that I want to share. Probably one at >a time and test, and then do another one and test. It's going to be easiest >to do this from the command line or Midnight Commander. You may have to play >with the permissions a bit in order to get everything functioning right. Thanks Jim I had a quick go at this, but couldn't figure out how to symlink to a mysql table??? So I changed them to gdbm's to make the symlinks easier. Then I got bogged down a bit. If I create three identical foundations stores, delete the session dirs in two of them and symlink them to the third, everything works well with the "floating" cart, I can purchase items from any of the stores and check out just on one store with everything as expected. BUT ... if I load any of the products tables with different items, it no longer works :o( Which seems to suggest that it's on the right lines, but there's more to figure out. A pity it wasn't that easy. Thanks for the interest Dave From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 15 16:12:01 2001 Subject: [ic] multiple stores - one cart David Berry <djberry.ennis@eircom.net> writes: > >If I were going to do this, I would set up each store as a stand alone unit > >and get each one operating properly. > > > >Then, in 2 of the stores, I would delete the various data bases that I want > >to share and make sym-links to the one that I want to share. Probably one at > >a time and test, and then do another one and test. It's going to be easiest > >to do this from the command line or Midnight Commander. You may have to play > >with the permissions a bit in order to get everything functioning right. > > Thanks Jim > > I had a quick go at this, but couldn't figure out how to symlink to a mysql > table??? You can specify the same DBI access string. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Nov 15 16:16:00 2001 Subject: [ic] Payflowpro and multiple charge attempts We are using 4.8.2 and we are having no issues with the PayFlowPro. We are using the standard configuration. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com CONFIDENTIAL CONTENTS WARNING This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for the delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and delete the original message. Thank you. Satcom Resources LLC. 970-748-3094 _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 17:02:00 2001 Subject: [ic] problems using a date widget Quoting Scott Andreas---Learning Services, Inc (sandreas@learningservicesinc.com): > I need to search for material based on date. So thusly I want to use the > date widget to search for material within a date range. > > On the search page I have... > > <TR> > <TD><B>Beginning<BR> > [widget type=date NAME=ui_begin_date]</TD> > <TD><B>Ending</B><BR> > [widget type=date NAME=ui_end_date]</TD> > </TR> > > > on the result page I have... With a problem like this, it is usually helpful to see what you get from the input. > > [calc] ## I bet the error log will show values like ## begin=11^@/^@15^@/^@2001 end=11^@/^@16^@/^@2001 Log("begin=$CGI->{ui_begin_date end=$CGI->{ui_end_date}"); ## So you ask, what good is date_widget? Do this: for('ui_begin_date', 'ui_end_date') { $CGI->{$_} = $Tag->filter('date_change', $CGI->{$_}; } ## Print then again ## begin=20011115 end=20011116 Log("begin=$CGI->{ui_begin_date end=$CGI->{ui_end_date}"); > if ($Session->{arg}) { > $Scratch ->{date_limit} = "AND created like '$Session->{arg}%'"; > } > elsif ($CGI->{ui_begin_date}) { > for (qw/ ui_begin_date ui_end_date/) { > $CGI -> {$_} = $Tag->filter ( { > op => 'date_change', > body => $CGI -> {$_} > } ); > } > $Scratch->{date_limit} = <<EOF > AND created >= '$CGI->{ui_begin_date}' > AND created <= '$CGI->{ui_end_date}Z' > EOF > } > else { > $Scratch -> {date_limit}= ""; > } > return; > [/calc] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 17:06:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? Quoting interch (interch@client.paymentonline.com): > > Some more info on this I am just starting to debug it myself. > > >From the catalog error log: > 63.228.109.101 HnAmZ8HI:63.228.109.101 - [15/November/2001:12:29:56 -0800] > paymentonline /paymentonline/admin/page_edit search error: your search > file a valid database reference, was 'backup'. > > >From the server error log: > > 63.228.109.101 - - [15/November/2001:12:30:00 -0800] paymentonline > /paymentonline/admin/page_save.html Died in server spawn: Can't call > method "new" on an undefined value at > /usr/local/interchange/lib/Vend/Data.pm line 674. > > > I will post a fix once I find it if no one else has it figured out > already. We have been unable to isolate this one (because no one has been able to give me a recipe for duplication). The current suspect is a bad build of MySQL or Postgres. Avoid the Red Hat-built package of MySQL and try the one from www.mysql.com and see what happens. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Prove you aren't stupid. Say NO to Passport. From: interchange-users at interchange.redhat.com (interch) Date: Thu Nov 15 17:43:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? Found it.... The problem is in dummy_database in Data.pm. backup is defined as an anonymous sub it looks like for some reason which I didn't bother to follow, and I don't completely understand what is going on here it looks like it is trying to get the structure here or something for it and of course it doesn't exist, so $class is then undefined and it bombs. I changed the die to a logDebug and a next and that is working as a temporary fix until someone that knows more than me can fix it correctly. Here is the fix I put in that seems to work. sub dummy_database { my ($name, $data); while (($name,$data) = each %{$Vend::Cfg->{Database}}) { if (defined $Vend::Cfg->{SaveDatabase}{$name}) { $Vend::Database{$name} = $Vend::Cfg->{SaveDatabase}{$name}; next; } my $class = $db_config{$data->{Class}}->{Class}; unless ($class) { ::logDebug("no class found for database %s", $name); next; } $Vend::Database{$name} = new $class ($data); } update_productbase(); } Chris On Thu, 15 Nov 2001, Mike Heins wrote: > Quoting interch (interch@client.paymentonline.com): > > > > Some more info on this I am just starting to debug it myself. > > > > >From the catalog error log: > > 63.228.109.101 HnAmZ8HI:63.228.109.101 - [15/November/2001:12:29:56 -0800] > > paymentonline /paymentonline/admin/page_edit search error: your search > > file a valid database reference, was 'backup'. > > > > >From the server error log: > > > > 63.228.109.101 - - [15/November/2001:12:30:00 -0800] paymentonline > > /paymentonline/admin/page_save.html Died in server spawn: Can't call > > method "new" on an undefined value at > > /usr/local/interchange/lib/Vend/Data.pm line 674. > > > > > > I will post a fix once I find it if no one else has it figured out > > already. > > We have been unable to isolate this one (because no one has been able > to give me a recipe for duplication). The current suspect > is a bad build of MySQL or Postgres. > > Avoid the Red Hat-built package of MySQL and try the one from > www.mysql.com and see what happens. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Prove you aren't stupid. Say NO to Passport. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Thu Nov 15 17:52:00 2001 Subject: [ic] Beginner Installation Problem > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > George Frampton > Sent: Thursday, November 15, 2001 10:04 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] Beginner Installation Problem > > > Greetings: > > I'm a new user to IC and fairly new to Linux as well. I encountered the > following error when attempting to install IC: > > =========================================================== > Interchange Version 4.7.x Configuration > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > Interchange was originally based on Vend 0.2 and 0.3 > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > Distributed under the GNU General Public License. > See the file LICENSE for license information. > > Found Perl 5.6.0 as /usr/bin/perl > > If you get a CPAN error, rerun the configuration and it should go away. > > opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm > line 143 > Can't write uid file: Permission denied > make: *** No targets specified and no makefile found. Stop. > make: *** No rule to make target `test'. Stop. > > =========================================================== > > Any advice would be appreciated. Justin - You'll probably need root or the equivalent access to perform this action . . . your web host will probably have to install this module for you . . . > Regards > > George > > PS > The website is Virtualy Hosted with Shell Access. > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Thu Nov 15 19:17:00 2001 Subject: [ic] need help with shipping calculation hello list - i'm lost.. :( I'm trying to figure out how to calculate shipping based on an SKU number. i've looked at the shipping.asc file but it just got more confused. we use a specific SKU scheme, kinda like this: 10XXXXX - shipping is $25 20XXXXX - shipping is $20 90XXXXX - shipping is $5 is there an easy way to do this? thanks a lot Vlad From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Thu Nov 15 19:27:00 2001 Subject: [ic] shipping question hello list - i'm lost.. :( I'm trying to figure out how to calculate shipping based on an SKU number. i've looked at the shipping.asc file but it just got more confused. we use a specific SKU scheme, kinda like this: 10XXXXX - shipping is $25 20XXXXX - shipping is $20 90XXXXX - shipping is $5 is there an easy way to do this? thanks a lot Vlad From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 15 19:34:00 2001 Subject: [ic] multiple stores - one cart On Thu, 15 Nov 2001, David Berry wrote: DB>>If I create three identical foundations stores, delete the session dirs in DB>>two of them and symlink them to the third, everything works well with the DB>>"floating" cart, I can purchase items from any of the stores and check out DB>>just on one store with everything as expected. BUT ... if I load any of the DB>>products tables with different items, it no longer works :o( Which seems to DB>>suggest that it's on the right lines, but there's more to figure out. A pity DB>>it wasn't that easy. What I am hearing you saying here is that you want to add some items to just one store. If that's they case, then each store needs it's own products files and data bases. If you want one item to go into the common database from any of the three stores, then it sounds like a permissions or ownership problem. As I think that I said before, I've never done this, and it's all off the top of my head, and probably quite unreliable. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 15, 2001 at 19:30 PM: Smile... people will wonder what you've been up to. ---------------------------------------------------------------- This Linux System has been up 94 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (MF ramsis) Date: Thu Nov 15 19:39:01 2001 Subject: [ic] importing a products.xls file from within admin UI produces "fatal error " SQL syntax error in ~/DBI.pm line 1129 ?! Hi, Meanwhile this newbie Installed IC several times with success, no errors were reported ;-) because I have satisfied all dependencies. Running SuSE Linux 7.2 kernel 2.4.4-4GB on Asus A7V mobo, Thunderbird 1Ghz, 256MB PC150. Interchange 4.8.2 / foundation demo perl, v5.6.0 built for i586-linux During install process I choose not to populate the store, because I wanted to upload my own products file afterwards, by using template.xls file that you can download when you're almost done with the store "wizard" within the administration UI section. The following "Fatal Error" appears immediatly when my products file starts to be parsed : DBD::mysql::db do failed: You have an error in your SQL syntax near 'where sku = '10100'' at line 1 at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1129, line 21. Progress to date: table inventory: Using fields from file: 'sku quantity stock_message account cogs_account' So I then choose to upload the known "construct.xls" file thinking that maybe my own file ( based on template.xls) is producing this error. But even then the same error is reproduced, but now with " sku = 'os28070 '' " which is a product on row 22 within "construct.xls". I looked into ~/DBI.pm line 1129 and that sql syntax is correct to my knowledge. This is the line in DBI.pm : $s->[$DBI]->do("update $s->[$TABLE] SET $column=$value where $s->[$KEY] = $key"); Is this a know problem ? I have looked into the archives and bug list, and this problem is not listed there ... Has some body experianced the same sort of problem uploding his/her products file ? Thanks , Fouad From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 15 19:44:00 2001 Subject: [ic] Beginner Installation Problem On Thu, 15 Nov 2001, George Frampton wrote: GF>>I'm a new user to IC and fairly new to Linux as well. I encountered the GF>>following error when attempting to install IC: GF>> GF>>=========================================================== GF>>Interchange Version 4.7.x Configuration Others have given you some ideas, and I'm not going to tamper with that. But, I strongly recommend that you trash that version and get version 4.8.x The version that you are trying to install is a development version and is possibly unstable. My philosophy is that if you are going to do an installation from scratch, then use the latest and greatest. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 15, 2001 at 19:35 PM: Man has his will. Woman has her won't! ---------------------------------------------------------------- This Linux System has been up 94 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 15 19:49:01 2001 Subject: [ic] Lower To Upper Case??? I built up a 'GFrab 'N Go' function that I put in the upper left corner of the page on the construct demo. Here's what's in that code: <tr> <td bgcolor="#999999" valign="top" width=131> <FORM ACTION="[process-target]" METHOD=POST name="basket"> <INPUT TYPE=hidden NAME="mv_todo" VALUE="refresh"> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> <table width="131" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999"> <tr><td><center><i><b><font size=+2><font color = "white"> Grab 'N Go</font></font></b></i></center> </td></tr> <tr> <td align="center"><font __FFACE__ size="1"> <font color="white"><b>SKU: </b></font></font> <input type="text" name="mv_order_item" size="10"> </td></tr> <tr><td align="center"> <font __FFACE__ size="1"> <font color="white"><b>Quantity:</b></font></font> <input type="text" name="mv_order_quantity" size="6" value="1"> </td> </tr> <tr><td><font size =-1><font color ="white"><center> <A HREF="http://www.thediapersuperstore.com/cgi-bin/diaperstore/grabngo-help.html"> Need Help? </A></font></font></center></td></tr> <tr> <td align="center"> <input type="submit" value="Buy it Now!"> </td> </tr> </table> </FORM> I need to make the input for 'mv_order_item' all upper case. I tried [perl] $var =~ tr/a-z/A-Z/ [/perl] but that didn't seem to work. When I tried [perl] $var =~ tr/a-z/A-Z/g [/perl] safe intercepted it and kept it from working. So, how do I get an input of 'at-m' converted to 'AT-M' so that the search will find it. (This is a very valuable function! Repeat customers that already know your SKU's can enter this in, along with the quantity and that item is put into their cart immediately. They can come in, place their order and their charge card information and be gone in under a minute!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 15, 2001 at 19:40 PM: >From my brain, an organ with a mind of its own. ---------------------------------------------------------------- This Linux System has been up 95 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Thu Nov 15 19:54:46 2001 Subject: [ic] Number of results from a [query] Is there a subtag available to know how many rows are returned on an sql [query]? I want to do the following: [query list=1 sql="select * from table"] [if <number of rows returns> > 1] [list] [sql-code] . [/list] [/if] Thanks, Peter From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 20:24:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? Quoting interch (interch@client.paymentonline.com): > > Found it.... > > The problem is in dummy_database in Data.pm. backup is defined as an > anonymous sub it looks like for some reason which I didn't bother to > follow, and I don't completely understand what is going on here it looks > like it is trying to get the structure here or something for it and of > course it doesn't exist, so $class is then undefined and it bombs. I > changed the die to a logDebug and a next and that is working as a > temporary fix until someone that knows more than me can fix it correctly. > Here is the fix I put in that seems to work. > > > > sub dummy_database { > my ($name, $data); > while (($name,$data) = each %{$Vend::Cfg->{Database}}) { > if (defined $Vend::Cfg->{SaveDatabase}{$name}) { > $Vend::Database{$name} = > $Vend::Cfg->{SaveDatabase}{$name}; > next; > } > my $class = $db_config{$data->{Class}}->{Class}; > unless ($class) { > ::logDebug("no class found for database %s", > $name); > next; > } > $Vend::Database{$name} = > new $class ($data); > } > update_productbase(); > } > This is a good error log ot put in. Now we need to find out what database is failing, what DBI/internal type it is, and why it is failing. If you can get me that information (or someone else experiencing the problem can) then we can get somewhere. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 21:05:00 2001 Subject: [ic] Number of results from a [query] Quoting Peter Jakl (peter@jakl.net): > Is there a subtag available to know how many rows are returned on an sql > [query]? > > I want to do the following: > > [query list=1 sql="select * from table"] > > [if <number of rows returns> > 1] > [list] > [sql-code] . > [/list] > [/if] > You can get it with [matches] in a more-list area, but I don't think that helps you. It seems that we need to put something like this in to help you: [on-match == 1] <hr> Match was exactly 1. [search-list] [item-increment]. [item-field description]<BR> [/search-list] [/on-match] [on-match > 1] <hr> Match was greater than 1. [search-list] [item-increment]. [item-field description]<BR> [/search-list] [/on-match] [on-match < 5] <hr> Match was less than 5. [search-list] [item-increment]. [item-field description]<BR> [/search-list] [/on-match] [on-match > 5] <hr> Match was greater than 5. Whooiee!!! [/on-match] This is actually easy to do, and I did it. Try this patch against 4.8.x (lines may be off): --- /R/Interpolate.pm Thu Oct 18 12:24:36 2001 +++ /tmp/Interpolate.pm Thu Nov 15 20:44:10 2001 @@ -417,7 +417,7 @@ 'more' => qr($T{more}\]), 'more_list' => qr($T{more_list}$Optx$Optx$Optx$Optx$Optx\]($Some)$T{'/more_list'}), 'no_match' => qr($T{no_match}\]($Some)$T{'/no_match'}), - 'on_match' => qr($T{on_match}\]($Some)$T{'/on_match'}), + 'on_match' => qr($T{on_match}$Optr\]($Some)$T{'/on_match'}), 'quantity_name' => qr($T{quantity_name}\]), 'then' => qr(^\s*$T{then}$T($Some)$T{'/then'}), ); @@ -5462,7 +5462,7 @@ $obj->{matches} > 0 ? '' : $1 !ge; $page =~ s!$QR{on_match}! - $obj->{matches} <= 0 ? '' : $1 + pull_if($2,0,$1,$obj->{matches}) !ge; $page =~ s:\[$prefix\]($Some)\[/$prefix\]:labeled_list($opt,$1,$obj):ige or $page = labeled_list($opt,$page,$obj) ; -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Thu Nov 15 21:18:01 2001 Subject: [ic] Questions for Mike > -- > 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@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users Ok - Mike - are these quotes automatically generated by your email program? I'd like to have that program. AND no - I apologize to all because I didn't search the archives for the answer to this one - but I AM trying to use the correct format now for this list (if that counts for anything) . . . Can this be integrated into Interchange so that when the customer gets a receipt - he'll get a different quote automatically??? HA! Keywords for this article for future searches: Mike's quotes, automated email quoting system, dynamic quoting system, Red Hat Interchange Quote Database (MSRP: $3,000) :) Justin From: interchange-users at interchange.redhat.com (interch) Date: Thu Nov 15 21:28:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? On Thu, 15 Nov 2001, Mike Heins wrote: > Quoting interch (interch@client.paymentonline.com): > > > > Found it.... > > > > The problem is in dummy_database in Data.pm. backup is defined as an > > anonymous sub it looks like for some reason which I didn't bother to > > follow, and I don't completely understand what is going on here it looks > > like it is trying to get the structure here or something for it and of > > course it doesn't exist, so $class is then undefined and it bombs. I > > changed the die to a logDebug and a next and that is working as a > > temporary fix until someone that knows more than me can fix it correctly. > > Here is the fix I put in that seems to work. > > > > > > > > sub dummy_database { > > my ($name, $data); > > while (($name,$data) = each %{$Vend::Cfg->{Database}}) { > > if (defined $Vend::Cfg->{SaveDatabase}{$name}) { > > $Vend::Database{$name} = > > $Vend::Cfg->{SaveDatabase}{$name}; > > next; > > } > > my $class = $db_config{$data->{Class}}->{Class}; > > unless ($class) { > > ::logDebug("no class found for database %s", > > $name); > > next; > > } > > $Vend::Database{$name} = > > new $class ($data); > > } > > update_productbase(); > > } > > > > This is a good error log ot put in. Now we need to find out what > database is failing, what DBI/internal type it is, and why it is > failing. If you can get me that information (or someone else experiencing > the problem can) then we can get somewhere. A bit more info. This is under Redhat 7.2, IC 4.8.2, with most catalogs including the one I am debugging in using dbm format. Some catalogs are using mysql here and there. It is failing on the 'backup' database each and every time. It seems to always be triggered when using the page editor or the template editor. There is no 'backup' database defined anywhere nor does it exist in the products directory. Also, an interesting note is that before I added this little fix the backup database showed up under admin->info. It showed the source file as having a size of 4096, which is the file size of the backup directory in the catalog. I also took a look at lib/UI/pages/admin/template_edit.html and saw this: <!-- ----- BEGIN REAL STUFF ----- --> [loop search=" fi=backup co=yes sf=sku se=[cgi ui_template] st=db tf=mod_time to=nr rf=code,page_name,mod_time "] My guess is that this and maybe other code snippets somehow tell IC incorrectly that backup is a valid database, and after that it gets cached somewhere and from then on IC thinks backup is a valid database, which would explain why once I trigger this it then happens constantly no matter where I am in the admin until I restart, since it seems there are a couple of places at least where when doing an open or close on a database, IC opens or closes all known databases, and hits this invalid database that causes the error? Chris From: interchange-users at interchange.redhat.com (Matthew Bottrell) Date: Thu Nov 15 21:35:00 2001 Subject: [ic] Lower To Upper Case??? On Friday, November 16, 2001 11:50 AM, Jim Balcom penned the following: >I built up a 'GFrab 'N Go' function that I put in the upper left corner of >the page on the construct demo. > [snip snip] > >So, how do I get an input of 'at-m' converted to 'AT-M' so that the search >will find it. > >(This is a very valuable function! Repeat customers that already know your >SKU's can enter this in, along with the quantity and that item is put into >their cart immediately. They can come in, place their order and their charge >card information and be gone in under a minute!) Why not use some JavaScript and then force all values to upper case? Here's a snippet of code to do the trick... SCRIPT LANGUAGE="JavaScript"><!-- function convert() { document.myForm.myText1.value = document.myForm.myText1.value.toUpperCase(); document.myForm.myText2.value = document.myForm.myText2.value.toUpperCase(); } //--></SCRIPT> <FORM NAME="myForm" onSubmit="convert()"> <INPUT TYPE="TEXT" NAME="myText1"> <INPUT TYPE="TEXT" NAME="myText2"> <INPUT TYPE="SUBMIT"> </FORM> Hope that helps and gives you what you want! Cheers, MB. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 21:42:00 2001 Subject: [ic] Questions for Mike Quoting Justin Bonds (justin@hypertech.net): > > > -- > > 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@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > Ok - Mike - are these quotes automatically generated by your email program? > I'd like to have that program. AND no - I apologize to all because I didn't > search the archives for the answer to this one - but I AM trying to use the > correct format now for this list (if that counts for anything) . . . Any email program automatically includes a signature. I just have a script that automatically writes out a new one every 5 minutes, in crontab. > > Can this be integrated into Interchange so that when the customer gets a > receipt - he'll get a different quote automatically??? HA! > Sure -- in fact if you try this in 4.8.x: [fortune] in your catalog, one will come up if you have a fortune program. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 22:00:00 2001 Subject: [ic] Status of server error generating bug in rpc mode? Quoting interch (interch@client.paymentonline.com): > > My guess is that this and maybe other code snippets somehow tell IC > incorrectly that > backup is a valid database, and after that it gets cached somewhere and > from > then on IC thinks backup is a valid database, which would explain why once > I trigger this it then happens constantly no matter where I am in the > admin until I restart, since it seems there are a > couple of places at least where when doing an open or close on a database, > IC opens or closes all known databases, and hits this invalid database > that causes the error? > My guess is there is a dbconf/*/backup.dbm file but no backup.txt file in products. Try creating a products/backup.txt with: code value as the only contents. See if it goes away. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (interch) Date: Thu Nov 15 23:19:00 2001 Subject: [ic] Status of server error generating bug in rpc mode? On Thu, 15 Nov 2001, Mike Heins wrote: > Quoting interch (interch@client.paymentonline.com): > > > > My guess is that this and maybe other code snippets somehow tell IC > > incorrectly that > > backup is a valid database, and after that it gets cached somewhere and > > from > > then on IC thinks backup is a valid database, which would explain why once > > I trigger this it then happens constantly no matter where I am in the > > admin until I restart, since it seems there are a > > couple of places at least where when doing an open or close on a database, > > IC opens or closes all known databases, and hits this invalid database > > that causes the error? > > > > My guess is there is a dbconf/*/backup.dbm file but no backup.txt file > in products. Try creating a products/backup.txt with: The problem appears to be that when you reference a database, this time in a loop tag using fi=db, that table gets added to the list of databases IC thinks is valid. dummy_database loops through all of those, and dies when it runs into one that isn't defined. The only place I have found the offending code so far is in lib/UI/pages/admin/template_edit.html in the code I posted in the last message. Just go in and change fi=backup to fi=someothername, then go to content->template edit, edit a template, and save it. You should get the error at that point, and then after that click on admin and you will see someothername listed as an IC table.. If not running in pre fork mode this doesn't happen. From here I am pretty lost, not knowing the internals of IC I'm not really sure where to start looking next without spending a lot of time. Chris > > as the only contents. See if it goes away. > > -- > 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@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Nov 15 23:25:00 2001 Subject: [ic] Lower To Upper Case??? On Thu, Nov 15, 2001 at 07:49:30PM -0500, Jim Balcom wrote: > I built up a 'GFrab 'N Go' function that I put in the upper left corner of > the page on the construct demo. Here's what's in that code: > > I need to make the input for 'mv_order_item' all upper case. > > I tried [perl] $var =~ tr/a-z/A-Z/ [/perl] > but that didn't seem to work. > [filter op=uc interpolate=1][value var=mv_order_item][/filter] -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 23:34:00 2001 Subject: [ic] Lower To Upper Case??? Quoting Jason Kohles (jkohles@redhat.com): > On Thu, Nov 15, 2001 at 07:49:30PM -0500, Jim Balcom wrote: > > I built up a 'GFrab 'N Go' function that I put in the upper left corner of > > the page on the construct demo. Here's what's in that code: > > > > I need to make the input for 'mv_order_item' all upper case. > > > > I tried [perl] $var =~ tr/a-z/A-Z/ [/perl] > > but that didn't seem to work. > > > [filter op=uc interpolate=1][value var=mv_order_item][/filter] > True, but also [value name=mv_order_item filter=uc] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 15 23:52:00 2001 Subject: [ic] Status of server error generating bug in rpc mode? Quoting interch (interch@client.paymentonline.com): > > > > On Thu, 15 Nov 2001, Mike Heins wrote: > > > Quoting interch (interch@client.paymentonline.com): > > > > > > My guess is that this and maybe other code snippets somehow tell IC > > > incorrectly that > > > backup is a valid database, and after that it gets cached somewhere and > > > from > > > then on IC thinks backup is a valid database, which would explain why once > > > I trigger this it then happens constantly no matter where I am in the > > > admin until I restart, since it seems there are a > > > couple of places at least where when doing an open or close on a database, > > > IC opens or closes all known databases, and hits this invalid database > > > that causes the error? > > > > > > > My guess is there is a dbconf/*/backup.dbm file but no backup.txt file > > in products. Try creating a products/backup.txt with: > > > The problem appears to be that when you reference a database, this time in > a loop tag using fi=db, that table gets added to the list of databases IC > thinks is valid. dummy_database loops through all of those, and dies when > it runs into one that isn't defined. The only place I have found the > offending code so far is in lib/UI/pages/admin/template_edit.html in the > code I posted in the last message. Just go in and change fi=backup to > fi=someothername, then go to content->template edit, edit a template, and > save it. You should get the error at that point, and then after that > click on admin and you will see someothername listed as an IC table.. > > If not running in pre fork mode this doesn't happen. From here I am > pretty lost, not knowing the internals of IC I'm not really sure where to > start looking next without spending a lot of time. Thank you!! This allows me to duplicate the problem and it will be fixed straightaway. the easy workaround is to add the backup database in catalog_before.cfg: Database backup backup.txt %% Database backup PRELOAD lib/UI/backup.txt Database backup PRELOAD_EMPTY_ONLY 1 Database backup HIDE_EDIT 1 Then put this file in lib/UI/backup.txt: code %% page_name %% mod_time %% page_text That should solve the problem in the short term. Now that I know where to look I can solve the long-term problem. (At first look, it appears Tie::ShadowHash is not working like I think it should.) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 16 00:22:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? Quoting interch (interch@client.paymentonline.com): > The problem appears to be that when you reference a database, this time in > a loop tag using fi=db, that table gets added to the list of databases IC > thinks is valid. dummy_database loops through all of those, and dies when > it runs into one that isn't defined. The only place I have found the > offending code so far is in lib/UI/pages/admin/template_edit.html in the > code I posted in the last message. Just go in and change fi=backup to > fi=someothername, then go to content->template edit, edit a template, and > save it. You should get the error at that point, and then after that > click on admin and you will see someothername listed as an IC table.. > > If not running in pre fork mode this doesn't happen. From here I am > pretty lost, not knowing the internals of IC I'm not really sure where to > start looking next without spending a lot of time. > Thank you, Chris. Very much. Your analysis put me onto it straightaway. Shows to go you that you can learn something new every day. I never thought Perl auto-vivified hash keys on a "defined" check, but now I know different. It must do a depth-first search, autovififying on the way. It is a simple one-line patch to Scan.pm: Index: Scan.pm =================================================================== RCS file: /anon_cvs/repository/interchange/lib/Vend/Scan.pm,v retrieving revision 2.0 diff -u -r2.0 Scan.pm --- Scan.pm 2001/07/18 02:23:14 2.0 +++ Scan.pm 2001/11/16 05:19:19 @@ -894,7 +894,7 @@ } if($_ !~ /\./) { $_ = $Vend::Cfg->{Database}{$_}{'file'} - if defined $Vend::Cfg->{Database}{$_}{'file'}; + if defined $Vend::Cfg->{Database}{$_}; } $ok &&= $_ !~ /$Vend::Cfg->{NoSearch}/ if $Vend::Cfg->{NoSearch}; This has been a long-running problem, and you are responsible for fixing it more than I am. 8-) If you will send me your name I will make sure you get proper credit. I hope you stick around. We can use you. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Nov 16 02:41:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? Mike Heins <mheins@redhat.com> writes: > Quoting interch (interch@client.paymentonline.com): > > The problem appears to be that when you reference a database, this time in > > a loop tag using fi=db, that table gets added to the list of databases IC > > thinks is valid. dummy_database loops through all of those, and dies when > > it runs into one that isn't defined. The only place I have found the > > offending code so far is in lib/UI/pages/admin/template_edit.html in the > > code I posted in the last message. Just go in and change fi=backup to > > fi=someothername, then go to content->template edit, edit a template, and > > save it. You should get the error at that point, and then after that > > click on admin and you will see someothername listed as an IC table.. > > > > If not running in pre fork mode this doesn't happen. From here I am > > pretty lost, not knowing the internals of IC I'm not really sure where to > > start looking next without spending a lot of time. > > > > Thank you, Chris. Very much. Your analysis put me onto it straightaway. > > Shows to go you that you can learn something new every day. I never > thought Perl auto-vivified hash keys on a "defined" check, but now > I know different. It must do a depth-first search, autovififying > on the way. Just for the record: only "exists" prevents autovivifying. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (AddAction New Media) Date: Fri Nov 16 08:16:01 2001 Subject: [ic] e-mail of receipt Hi, We have a newly installed 4.8.1 on RHL 7.1 and in all catalogs the e-mail receipt is not being mailed to the customer. The store copy is received. Any ideas as to where to look. The error reports don't reveal anything and the "send copy of e-mail" is being selected as yes. Thank you Anton From: interchange-users at interchange.redhat.com (joachim.richter) Date: Fri Nov 16 09:17:00 2001 Subject: [ic] pick locale - reload page Hi list, i like to change the following code <A HREF="[area href="process/locale/en_US/page/index.html"]">US</a> Instead hopping back to the index page whenever a language is chosen, it should reload the page you are on i have tried @@MV_PAGE@@ but i cant get it right ! any hints regards JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 16 11:36:00 2001 Subject: [ic] pick locale - reload page > Hi list, > > i like to change the following code > > <A HREF="[area href="process/locale/en_US/page/index.html"]">US</a> > > Instead hopping back to the index page whenever a language is > chosen, it should reload the page you are on > > i have tried @@MV_PAGE@@ but i cant get it right ! > > any hints > > > regards JoE Works for me: <a href="[area process/locale/en_US/page/@@MV_PAGE@@]">English</a> HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 16 12:07:01 2001 Subject: [ic] shipping question At 06:33 PM 11/15/2001 -0600, you wrote: >hello list - > > >i'm lost.. :( > > >I'm trying to figure out how to calculate shipping based on an SKU number. >i've looked at the shipping.asc file but it just got more confused. > >we use a specific SKU scheme, kinda like this: > >10XXXXX - shipping is $25 >20XXXXX - shipping is $20 >90XXXXX - shipping is $5 > > >is there an easy way to do this? Well, fairly easy. Add a column called 'flat_ship' to your products table, and populate it with the shipping charge for each item. Then modify shipping.asc, adding your new mode. It should look something like this (-> = TAB): peritem -> Standard shipping -> flat_ship -> 0 -> 99999 -> f @@TOTAL@@ sorry, I just don't use the shipping interface in the UI, so I honestly can't tell you how to create it that way, but I am sure it is quite easy. Finally, add the new shipping mode to the appropriate records in your country table, and Apply Changes. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Fri Nov 16 12:21:01 2001 Subject: [ic] shipping question That's simple enough... thank you! Vlad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed > LaFrance > Sent: Friday, November 16, 2001 11:03 am > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] shipping question > > > At 06:33 PM 11/15/2001 -0600, you wrote: > > >hello list - > > > > > >i'm lost.. :( > > > > > >I'm trying to figure out how to calculate shipping based on > an SKU number. > >i've looked at the shipping.asc file but it just got more confused. > > > >we use a specific SKU scheme, kinda like this: > > > >10XXXXX - shipping is $25 > >20XXXXX - shipping is $20 > >90XXXXX - shipping is $5 > > > > > >is there an easy way to do this? > > Well, fairly easy. Add a column called 'flat_ship' to your > products table, > and populate it with the shipping charge for each item. Then modify > shipping.asc, adding your new mode. It should look something > like this (-> > = TAB): > > peritem -> Standard shipping -> flat_ship -> 0 -> 99999 -> f @@TOTAL@@ > > sorry, I just don't use the shipping interface in the UI, so > I honestly > can't tell you how to create it that way, but I am sure it is > quite easy. > > Finally, add the new shipping mode to the appropriate records in your > country table, and Apply Changes. > > - Ed L. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interch) Date: Fri Nov 16 14:20:01 2001 Subject: [ic] Status of server error generating bug in rpc mode? On Fri, 16 Nov 2001, Mike Heins wrote: > Quoting interch (interch@client.paymentonline.com): > > The problem appears to be that when you reference a database, this time in > > a loop tag using fi=db, that table gets added to the list of databases IC > > thinks is valid. dummy_database loops through all of those, and dies when > > it runs into one that isn't defined. The only place I have found the > > offending code so far is in lib/UI/pages/admin/template_edit.html in the > > code I posted in the last message. Just go in and change fi=backup to > > fi=someothername, then go to content->template edit, edit a template, and > > save it. You should get the error at that point, and then after that > > click on admin and you will see someothername listed as an IC table.. > > > > If not running in pre fork mode this doesn't happen. From here I am > > pretty lost, not knowing the internals of IC I'm not really sure where to > > start looking next without spending a lot of time. > > > > Thank you, Chris. Very much. Your analysis put me onto it straightaway. > > Shows to go you that you can learn something new every day. I never > thought Perl auto-vivified hash keys on a "defined" check, but now > I know different. It must do a depth-first search, autovififying > on the way. Hehe I had to go look up what auto vivify even meant:) Thanks for the quick fix, glad I could help. And since our company decided to use IC as the base for our ecommerce product, I'll be around for a while for better or worse:) Chris Ochs From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Fri Nov 16 15:04:00 2001 Subject: [ic] problems using a date widget Thanks for your help... here is what is actually happenning on the results page from the date widget on the search page. now...this is in the results page [calc] if ($CGI->{ui_begin_date}) { for (qw/ ui_begin_date ui_end_date/) { $CGI -> {$_} = $Tag->filter ( { op => 'date_change', body => $CGI -> {$_} } ); } $Scratch->{date_limit} = <<EOF co=yes sf=created nu=1 op=<= se=$CGI->{ui_begin_date} sf=created nu=1 op=>= se=$CGI->{ui_end_date} EOF } else { $Scratch -> {date_limit}= ""; } return; [/calc] and the same page query has... <FORM ACTION="[area @@MV_PAGE@@]"> <SMALL><INPUT TYPE=text NAME=ui_text_qualification VALUE=""> [button text="Search for recipient"] mv_nextpage=@@MV_PAGE@@ [/button] </form> </SMALL> <!-- ----- Show the contact list box ----- --> [if cgi ui_text_qualification] <H4>Entries containing "[cgi ui_text_qualification]"</H3> [/if] <FORM ACTION="[process]"> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="@@MV_PAGE@@"> <INPUT TYPE=hidden NAME=mv_todo VALUE=back> [search-region more=1 search=" fi=catalogreq ml=__UI_SZ_LIST_CUSTOMER__ md=1 st=db [if scratch date_limit] [scratch date_limit] [elsif cgi ui_text_qualification] se=[cgi ui_text_qualification] [/elsif] [else] co=yes sf=inactive se=1 op=ne [/else] [/if] [if cgi ui_sort_field] tf=[cgi ui_sort_field] to=[cgi ui_sort_option] [else] tf=0 [/else] [/if] [scratch start_at][set start_at][/set] rf=code,institut,firstname,lastname,title,department,phone1,fax,address1,cit y,state,zip,country,sourcecode,catalogqty,created "] the environmental variables being passed show . . . 'mv_no_count' => '', 'mv_no_session_id' => '', 'active_img' => 'right.gif', 'order_style' => '1', 'date_limit' => 'co=yes sf=created nu=1 op=<= se=20010916 <---from ui_start_date sf=created nu=1 op=>= se=20011116 <---from ui_end_date ', . . . -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike Heins Sent: Thursday, November 15, 2001 2:01 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] problems using a date widget Quoting Scott Andreas---Learning Services, Inc (sandreas@learningservicesinc.com): > I need to search for material based on date. So thusly I want to use the > date widget to search for material within a date range. > > On the search page I have... > > <TR> > <TD><B>Beginning<BR> > [widget type=date NAME=ui_begin_date]</TD> > <TD><B>Ending</B><BR> > [widget type=date NAME=ui_end_date]</TD> > </TR> > > > on the result page I have... With a problem like this, it is usually helpful to see what you get from the input. > > [calc] ## I bet the error log will show values like ## begin=11^@/^@15^@/^@2001 end=11^@/^@16^@/^@2001 Log("begin=$CGI->{ui_begin_date end=$CGI->{ui_end_date}"); ## So you ask, what good is date_widget? Do this: for('ui_begin_date', 'ui_end_date') { $CGI->{$_} = $Tag->filter('date_change', $CGI->{$_}; } ## Print then again ## begin=20011115 end=20011116 Log("begin=$CGI->{ui_begin_date end=$CGI->{ui_end_date}"); > if ($Session->{arg}) { > $Scratch ->{date_limit} = "AND created like '$Session->{arg}%'"; > } > elsif ($CGI->{ui_begin_date}) { > for (qw/ ui_begin_date ui_end_date/) { > $CGI -> {$_} = $Tag->filter ( { > op => 'date_change', > body => $CGI -> {$_} > } ); > } > $Scratch->{date_limit} = <<EOF > AND created >= '$CGI->{ui_begin_date}' > AND created <= '$CGI->{ui_end_date}Z' > EOF > } > else { > $Scratch -> {date_limit}= ""; > } > return; > [/calc] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Korkin) Date: Fri Nov 16 15:20:01 2001 Subject: [ic] How can we make interchange *NOT* parse a page? Dear List, Using: Interchange 4.8.2, RedHat 7.2. Question: How can I make interchange *NOT* parse a page that is riddled with [include] tags and general ITL? We're writing a basic editor that needs to be able to see these tags. I tried the following global sub: GlobalSub <<EOT sub ShowPageHTML { my $path = "/home/catalogs/shop/pages/customers"; my $file = $_[0]; my $siteid = $_[1]; my $out = ""; open(FILE, "< $path/$siteid/$file"); while(<FILE>) { $out .= $_; } close(FILE); return $out; } EOT Called via: [perl arg=sub interpolate=1] ShowPageHTML("[value file]", "[value siteid]") [/perl] But when the sub goes through the page that it opens and returns, it still parses the lines. How can we just show the HTML and ITL without parsing the tags? Thanks! Jason. -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 16 15:31:01 2001 Subject: [ic] How can we make interchange *NOT* parse a page? > Dear List, > > Using: Interchange 4.8.2, RedHat 7.2. > > Question: How can I make interchange *NOT* parse a page that > is riddled with [include] tags and general ITL? We're > writing a basic editor that needs to be able to see these tags. > > I tried the following global sub: > > GlobalSub <<EOT > sub ShowPageHTML { > my $path = "/home/catalogs/shop/pages/customers"; > my $file = $_[0]; > my $siteid = $_[1]; > my $out = ""; > > open(FILE, "< $path/$siteid/$file"); > while(<FILE>) { > $out .= $_; > } > close(FILE); > return $out; > } > EOT > > Called via: > > [perl arg=sub interpolate=1] > ShowPageHTML("[value file]", "[value siteid]") > [/perl] > > > But when the sub goes through the page that it opens and > returns, it still parses the lines. How can we just show the > HTML and ITL without parsing the tags? > > Thanks! > > Jason. Have you already looked at the UI source (page_edit, etc.)? -Dan From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Nov 16 15:53:00 2001 Subject: [ic] How can we make interchange *NOT* parse a page? On Fri, 16 Nov 2001, Jason Korkin wrote: > Question: How can I make interchange *NOT* parse a page that is > riddled with [include] tags and general ITL? We're writing a basic > editor that needs to be able to see these tags. [snip] > Called via: > > [perl arg=sub interpolate=1] > ShowPageHTML("[value file]", "[value siteid]") > [/perl] A few options come to mind: * Try setting reparse=0 in your [perl] tag * Do s/[/&#91;/g on the text before you output it * Surround your [perl] block with [restrict] tags ... hmm, wait, then [perl] itself wouldn't work ... Jon From: interchange-users at interchange.redhat.com (David Berry) Date: Fri Nov 16 16:12:01 2001 Subject: [ic] multiple stores - one cart > I had a quick go at this, but couldn't figure out how to symlink to a mysql > table??? You can specify the same DBI access string. Thanks Racke, thats a good one to know. Dave From: interchange-users at interchange.redhat.com (David Berry) Date: Fri Nov 16 16:19:01 2001 Subject: [ic] multiple stores - one cart Hi Jim, >What I am hearing you saying here is that you want to add some items to just >one store. If that's they case, then each store needs it's own products >files and data bases. > >If you want one item to go into the common database from any of the three >stores, then it sounds like a permissions or ownership problem. > >As I think that I said before, I've never done this, and it's all off the >top of my head, and probably quite unreliable. Actually, I do want three seperate and different products files, it's the cart that I only want one of - but to hold items from all three products files. Thanks Dave From: interchange-users at interchange.redhat.com (Webmaster) Date: Fri Nov 16 16:40:01 2001 Subject: [ic] Changing Shipping Settings through Preferences Doesn't Seem to Work? I originally set the shipping settings through the Wizard and it was fine. But now that I want to change the shipping options, I try to do it directly through the Preferences area, but for some reason, it doesn't "pick up" meaning the checkout doesn't show these new/modified options, but the original one. If I go through the wizard, again, it works. That's fine and dandy, I guess I could go through the wizard, but now, I need to create a new shipping option which doesn't show in the list of wizard shipping options. So, here I am at a loss and a crossroads. Can anyone tell me what's going on and perhaps how to overcome? And yes, I do hit the "Apply Changes" and it still doesnt' work. Hai Ah Azar -- Webmaster HostCloud Hosting Services uses the Interchange Shopping Cart :) http://www.hostcloud.com From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Fri Nov 16 17:10:01 2001 Subject: [ic] Problems using foundation wizard to set up a store Hello, I posted this before, haven't got an answer, so I'll reword it so maybe I can make mysef understood. I'm trying to set up a foundation store using the wizard. So far, some of things that the wizard asks for ( like the contacts page) are being set up, while others ( like the main index page) are not. I've looked into the -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Fri Nov 16 17:14:00 2001 Subject: [ic] IGNORE: -- Problems using foundation wizard to set up a store Please ignore this post. It is totally in error, it is a mixture of two different posts, both unfinished, which I'm working on for different projects. It was supposed to be just a draft to come back later, but I put it in my outbox instead of my drafts box. I apologize to the list for wasting your time with my error. On Fri, 16 Nov 2001, you wrote: > Hello, > I posted this before, haven't got an answer, so I'll reword it so > maybe I can make mysef understood. > > I'm trying to set up a foundation store using the wizard. So far, > some of things that the wizard asks for ( like the contacts page) are being > set up, while others ( like the main index page) are not. I've looked into the > > > -- From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Fri Nov 16 17:28:00 2001 Subject: [ic] DBD problem revisited About a week ago I asked for help installing DBD/DBI libraries without root access. Eventually I convinced my ISP to do the upgrading. Now I have a new problem. RH 6.2, Interchange 4.8 When I make the variable changes required to use the mysql database instead of gdbm, the changes apply just fine. However, the tables aren't created and the cart doesn't work. Note that I can use mysql from the command prompt and login and create tables and such with no problem. This is the error: 66.74.46.220 75tC5bVt:66.74.46.220 - [16/November/2001:16:33:33 -0500] dyna-q /~dyna-q/cgi-bin/cart.cgi/index.html Runtime error: connect failed (create) -- Undefined subroutine &DBD::mysql::db::_login called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm line 131, <IN> chunk 16. > (in cleanup) Driver has not implemented DESTROY for DBI::db=HASH(0x9e72f74) at /usr/local/cpanel/3rdparty/interchange/lib/Vend/Table/DBI.pm line 203 Does that mean anything to anyone? Sounds like my perl libraries are still bad? They were just installed from CPAN yesterday. Here's my DSN: dbi:mysql:dynaq_interch:localhost:3306 The information contained in the DSN is all correct and work (in conjunction with username/password) using mysql at the command line. There are no errors in the mysql error log. If there are other mysql logs, I don't have access to them. Does anyone have any thoughts? ..Patrick From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 16 18:03:00 2001 Subject: [ic] DBD problem revisited On Fri, Nov 16, 2001 at 02:26:29PM -0800, Patrick J. Walsh wrote: > About a week ago I asked for help installing DBD/DBI libraries without > root access. Eventually I convinced my ISP to do the upgrading. Now I have > a new problem. > > RH 6.2, Interchange 4.8 > > When I make the variable changes required to use the mysql database > instead of gdbm, the changes apply just fine. However, the tables aren't > created and the cart doesn't work. Note that I can use mysql from the > command prompt and login and create tables and such with no problem. This > is the error: > > 66.74.46.220 75tC5bVt:66.74.46.220 - [16/November/2001:16:33:33 -0500] > dyna-q /~dyna-q/cgi-bin/cart.cgi/index.html Runtime error: connect failed > (create) -- Undefined subroutine &DBD::mysql::db::_login called at > /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm line 131, <IN> chunk ^^^^^^ Sounds like your installation is a bit old. You might want to check that. Or you might have another mysql.pm hanging around. With linux, never go back, just keep current. > 16. > > (in cleanup) Driver has not implemented DESTROY for > DBI::db=HASH(0x9e72f74) at > /usr/local/cpanel/3rdparty/interchange/lib/Vend/Table/DBI.pm line 203 > > Does that mean anything to anyone? Sounds like my perl libraries are > still bad? They were just installed from CPAN yesterday. > > Here's my DSN: dbi:mysql:dynaq_interch:localhost:3306 > > The information contained in the DSN is all correct and work (in > conjunction with username/password) using mysql at the command line. There > are no errors in the mysql error log. If there are other mysql logs, I > don't have access to them. > > Does anyone have any thoughts? > > ..Patrick > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jason Korkin) Date: Fri Nov 16 18:31:01 2001 Subject: [ic] How can we make interchange *NOT* parse a page? Jon, The reparse=0 worked like a charm -- is that documented anywhere? Best, Jason. Jon Jensen wrote: > > On Fri, 16 Nov 2001, Jason Korkin wrote: > > > Question: How can I make interchange *NOT* parse a page that is > > riddled with [include] tags and general ITL? We're writing a basic > > editor that needs to be able to see these tags. > [snip] > > Called via: > > > > [perl arg=sub interpolate=1] > > ShowPageHTML("[value file]", "[value siteid]") > > [/perl] > > A few options come to mind: > > * Try setting reparse=0 in your [perl] tag > * Do s/[/&#91;/g on the text before you output it > * Surround your [perl] block with [restrict] tags ... hmm, wait, then > [perl] itself wouldn't work ... > > Jon > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Fri Nov 16 18:35:10 2001 Subject: [ic] THE REAL ONE: Problems using foundation wizard This is the real post. Hi, I'm trying to use the foundation wizard to set up a store. When I have everything set up, on the "Preview" Screen, when I click the "Finish" button I get the following error in the logs: x.x.x.x aJANAIHa:dzepeda dzepeda [16/November/2001:17:17:01 -0600] testcat1 1 /cgi-bin/testcat11/ui Safe: require trapped by operation mask at /usr/local/lib/perl5/5.6.1/File/Copy.pm line 10. Copy.pm contains a 'use 5.005_64' directive at line 10. I've search through the archives for similar problems, I found one suggestion to use the AllowGlobal directive. I tried this by adding the following lines in my interchange.cfg and restarting: #======================================================== #Catalog store /var/lib/interchange/store /cgi-bin/store Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation /foundation Catalog testcat11 /var/lib/interchange/testcat11 /cgi-bin/testcat11 /testcat11 AllowGlobal testcat11 # <--- Added this line #========================================================================# This had no effect on the problem. I noticed that there was a 'SafeUntrap' directive in the configuration file so I started trying to untrap things, just to try to get it to work. I just went down the list, when I got a particular error from Safe, I "untrapped" it. I tried 'require', then 'caller' then got down to '-d'. I couldn't untrap -d, and since this doesn't seem to be the way to go anyway, I gave up. Is there a recommended workaround for this problem? Thanks in advance for any help you folks might give. -- "Daniel P. Zepeda" <dzepeda@satx.net> From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Fri Nov 16 19:24:01 2001 Subject: [ic] bug report: error in 4.8.2 makecat I was having some problems creating a catalog in 4.8.2 using makecat. I've had some success using earlier versions of Interchange. My DocumentRoot is /home/httpd/html and the default is /var/www/html when makecat runs. I *definitely* specified the correct directory interactively -- I've done this a few times -- and still the makecat script outputs Copying share/ files to /var/www/html.......................done. When I look at /var/www/html, it is apparent that a directory named /var/www/html/interchange is being created by makecat and populated with a bunch of graphics -- and /home/httpd/html/interchange does not exist. I tracked this down because I was getting all broken graphics in the admin interface. mv /var/www/html/interchange /home/httpd/html/ fixes the problem entirely. I hope this information helps and perhaps makes it so the FAQ "broken graphics in admin interface" goes away... If there is a more intelligent place to make these bug reports, please let me know... between this one and the foundation catalog.cfg needing Business::UPS, these are two stupid problems that newbies will run into over and over again if they aren't fixed. -- Bob From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Nov 16 19:28:00 2001 Subject: [ic] How can we make interchange *NOT* parse a page? On Fri, 16 Nov 2001, Jason Korkin wrote: > The reparse=0 worked like a charm -- is that documented anywhere? http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse Jon From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 16 19:55:00 2001 Subject: [ic] Lower To Upper Case??? On Thu, 15 Nov 2001, Mike Heins wrote: MH>>> [filter op=uc interpolate=1][value var=mv_order_item][/filter] MH>>> MH>> MH>>True, but also MH>> MH>> [value name=mv_order_item filter=uc] Thanks for the hints, but I don't understand where to put this. <tr> <td align="center"><font __FFACE__ size="1"> <font color="white"><b>SKU: </b></font></font> <input type="text" name="mv_order_item" size="10"> [value name=mv_order_item filter=uc] </td></tr> doesn't do it. at-m does not get put in the cart, but AT-M does. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 16, 2001 at 19:50 PM: The moving cat sheds, and having shed, moves on... ---------------------------------------------------------------- This Linux System has been up 119 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Nov 16 20:00:01 2001 Subject: [ic] bug report: error in 4.8.2 makecat On Fri, 16 Nov 2001, Bob Ramstad wrote: > I was having some problems creating a catalog in 4.8.2 using makecat. > I've had some success using earlier versions of Interchange. tarball? RPM? > My DocumentRoot is /home/httpd/html and the default is /var/www/html > when makecat runs. I *definitely* specified the correct directory > interactively -- I've done this a few times -- and still the makecat > script outputs Sounds like a bug. :) > mv /var/www/html/interchange /home/httpd/html/ > > fixes the problem entirely. A quick permanent workaround would be: ln -s /home/httpd /var/www > If there is a more intelligent place to make these bug reports, please > let me know... http://interchange.redhat.com/bugs/ is the place, but we really hope anyone who submits a bug will give enough details and make sure it's reproducible (preferably on a clean install of the latest IC), because otherwise it's usually very hard to figure out what's going on. Jon From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Fri Nov 16 20:12:01 2001 Subject: [ic] DBD problem revisited > > 66.74.46.220 75tC5bVt:66.74.46.220 - [16/November/2001:16:33:33 -0500] > > dyna-q /~dyna-q/cgi-bin/cart.cgi/index.html Runtime error: connect failed > > (create) -- Undefined subroutine &DBD::mysql::db::_login called at > > /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm line 131, <IN> chunk > ^^^^^^ > > Sounds like your installation is a bit old. You might want to check that. > Or you might have another mysql.pm hanging around. With linux, never > go back, just keep current. What makes you think that it's old? Perl is version 5.005_03, which I believe is the latest. And the DBD and DBI libraries were installed using the -MCPAN parameter only a day ago. `slocate mysql.pm` returned two mysql.pm's that are installed outside of home directories. /usr/lib/perl5/site_perl/5.005/i386-linux/Bundle/DBD/mysql.pm /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm The bottom one is 2.1002, the top one is 2.0416. However, the error message says that it is using the one on the bottom. Is there something else that could be going wrong? Or do I need to have the bundle updated? ..Patrick From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Nov 16 20:30:01 2001 Subject: [ic] How can we make interchange *NOT* parse a page? Jon Jensen wrote: > > On Fri, 16 Nov 2001, Jason Korkin wrote: > > > The reparse=0 worked like a charm -- is that documented anywhere? > > http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse Dear Mr. Jensen, I've trouble to understand "http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse", because my native language is the german language. If I've a big page, will that kind of codes like <html> <head> <title>[scratch mytitle]</title> [perl reparse=0] </head> <body> ...a very big simple HTML stuff </body> </html> [/perl] prevent IC for any parsing of the big stuff of HTML codes without any ITL/IC TAGS? Can you give me an simple example, how to use [perl reparse=0] in a simple big HTML page? Thank you very much, Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Fri Nov 16 21:12:00 2001 Subject: [ic] DBD problem revisited On Fri, Nov 16, 2001 at 05:11:35PM -0800, Patrick J. Walsh wrote: > > What makes you think that it's old? Perl is version 5.005_03, which I > believe is the latest. And the DBD and DBI libraries were installed using > the -MCPAN parameter only a day ago. > 5.005_03 is definately old, the current stable version of perl is 5.6.1. -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 16 21:16:00 2001 Subject: [ic] How can we make interchange *NOT* parse a page? Quoting Joachim Leidinger (jojo@blackpoint.de): > Jon Jensen wrote: > > > > On Fri, 16 Nov 2001, Jason Korkin wrote: > > > > > The reparse=0 worked like a charm -- is that documented anywhere? > > > > http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse > > Dear Mr. Jensen, > > I've trouble to understand > "http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse", > because my native language is the german language. If I've a big page, > will that kind of codes like > > <html> > <head> > <title>[scratch mytitle]</title> > [perl reparse=0] > </head> > <body> > ...a very big simple HTML stuff > </body> > </html> > [/perl] > > prevent IC for any parsing of the big stuff of HTML codes without any > ITL/IC TAGS? > Can you give me an simple example, how to use [perl reparse=0] in a > simple big HTML page? > No, reparse=0 is one of the universal attributes (the other is interpolate=1). Mostly it is set correctly for all tags, though one might argue that [perl ...] should have it set 0 by default. (MVASP is the way to do it if you want that.) There is no reason to use [perl ...] in the original case. By far the best way to ensure you won't get output in a region is: [strip reparse=0] Big blob of stuff. [/strip] This is fast. Or you can do: [restrict allow=scratch] [scratch yourstuff] [/restrict] There are many ways. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you think nobody cares if you're alive, try missing a couple of car payments. -- Earl Wilson From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 16 21:20:00 2001 Subject: [ic] Lower To Upper Case??? Quoting Jim Balcom (jim@idk-enterprises.com): > On Thu, 15 Nov 2001, Mike Heins wrote: > > MH>>> [filter op=uc interpolate=1][value var=mv_order_item][/filter] > MH>>> > MH>> > MH>>True, but also > MH>> > MH>> [value name=mv_order_item filter=uc] > > Thanks for the hints, but > I don't understand where to put this. > > <tr> > <td align="center"><font __FFACE__ size="1"> > <font color="white"><b>SKU: </b></font></font> > <input type="text" name="mv_order_item" size="10"> > [value name=mv_order_item filter=uc] > </td></tr> > > doesn't do it. at-m does not get put in the cart, but AT-M does. I didn't understand what you were trying to do. If you *always* want mv_order_item to be upper case, in every instance, put in catalog.cfg: Filter mv_order_item uc If you only want it in some cases, put in a page: [input-filter name=mv_order_item op=uc][/input-filter] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 16 21:24:01 2001 Subject: [ic] DBD problem revisited Quoting Patrick J. Walsh (pwalsh@dyna-q.net): > > > 66.74.46.220 75tC5bVt:66.74.46.220 - [16/November/2001:16:33:33 -0500] > > > dyna-q /~dyna-q/cgi-bin/cart.cgi/index.html Runtime error: connect > failed > > > (create) -- Undefined subroutine &DBD::mysql::db::_login called at > > > /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm line 131, <IN> > chunk > > ^^^^^^ > > > > Sounds like your installation is a bit old. You might want to check that. > > Or you might have another mysql.pm hanging around. With linux, never > > go back, just keep current. > > What makes you think that it's old? Perl is version 5.005_03, which I > believe is the latest. And the DBD and DBI libraries were installed using > the -MCPAN parameter only a day ago. Perl 5.005_03 is two-and-a-half years old. 5.005 as a release is over 3 years old. That is an eon in Internet time. 5.6.0 has been out for 17 months. > > `slocate mysql.pm` returned two mysql.pm's that are installed outside of > home directories. > > /usr/lib/perl5/site_perl/5.005/i386-linux/Bundle/DBD/mysql.pm > /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/mysql.pm > > The bottom one is 2.1002, the top one is 2.0416. However, the error > message says that it is using the one on the bottom. Is there something > else that could be going wrong? Or do I need to have the bundle updated? It is a bogus build. Try: cd ~/interchange cpan_local_install DBD::mysql -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Clothes make the man. Naked people have little or no influence on society. -- Mark Twain From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Nov 16 21:38:01 2001 Subject: [ic] How can we make interchange *NOT* parse a page? On Sat, 17 Nov 2001, Joachim Leidinger wrote: > > > The reparse=0 worked like a charm -- is that documented anywhere? > > > > http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse > > I've trouble to understand > "http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_2.html#attr_reparse", > because my native language is the german language. If I've a big page, > will that kind of codes like > > <html> > <head> > <title>[scratch mytitle]</title> > [perl reparse=0] > </head> > <body> > ...a very big simple HTML stuff > </body> > </html> > [/perl] > > prevent IC for any parsing of the big stuff of HTML codes without any > ITL/IC TAGS? > Can you give me an simple example, how to use [perl reparse=0] in a > simple big HTML page? Mike already discussed the best way to deal with this, but if you just want to see [perl reparse=0] in action because the docs aren't clear enough, here's an example. Save this as a page in the pages/ directory of one of your IC catalogs and try it out. <html><head></head><body> [tmp klaeglich]JoJo GmbH[/tmp] <h1>Example with reparse=1</h1> [perl reparse=1] return '[scratch klaeglich]'; [/perl] <h1>Example with reparse=0</h1> [perl reparse=0] return '[scratch klaeglich]'; [/perl] </body></html> Viel Spass, Jon From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 16 21:49:01 2001 Subject: [ic] Lower To Upper Case??? On Fri, 16 Nov 2001, Mike Heins wrote: MH>>I didn't understand what you were trying to do. If you *always* want MH>>mv_order_item to be upper case, in every instance, put in catalog.cfg: MH>> MH>> Filter mv_order_item uc Well, that's kind of like killing mosquitoes with a shotgun, but that did what I want to do, and since all of my SKU's are in Upper Case, it shouldn't cause any other problems. My most humblest appreciation for your help! ------------------------- Separate topic: Do you ever sleep? It's 9:30 at night and you are in here helping us. I've seen messages from you in the middle of the night! I admire your dedication and I am awed by your knowledge! I do hope that this Thursday through Sunday (at a minimum) that you are going to disappear and go do something fun that has nothing to do with computers! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 16, 2001 at 21:40 PM: Suicide Hotline...please hold. ---------------------------------------------------------------- This Linux System has been up 121 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 16 21:59:00 2001 Subject: [ic] How can we make interchange *NOT* parse a page? On Fri, 16 Nov 2001, Jon Jensen wrote: Thank you Jon! Too much of the docs are devoid of examples. In 1977 I bought a book "Nailing Jelly To A Tree" and I sat down with my SOL-20 and I plugged in the programs written in Basic (NOT MITS Basic that Bill Gates was writing) Once I had them working in their original printing I preceeded to make changes and see what would happen if... It was in this manner that I learned programming. With this page that you put here, you have given this man a working page that he can run on his computer and then he can make changes and see what happens. He will learn a LOT more this way than if you had just given him the 'school solution' It's the old bit about teaching a man how to fish, rather than giving him fish. I, for one, appreciate your effort! JJ>>Mike already discussed the best way to deal with this, but if you just JJ>>want to see [perl reparse=0] in action because the docs aren't clear JJ>>enough, here's an example. Save this as a page in the pages/ directory JJ>>of one of your IC catalogs and try it out. JJ>> JJ>><html><head></head><body> JJ>> JJ>>[tmp klaeglich]JoJo GmbH[/tmp] JJ>> JJ>><h1>Example with reparse=1</h1> JJ>> JJ>>[perl reparse=1] JJ>> return '[scratch klaeglich]'; JJ>>[/perl] JJ>> JJ>><h1>Example with reparse=0</h1> JJ>> JJ>>[perl reparse=0] JJ>> return '[scratch klaeglich]'; JJ>>[/perl] JJ>> JJ>></body></html> JJ>> JJ>>Viel Spass, JJ>>Jon JJ>> JJ>> JJ>>_______________________________________________ JJ>>interchange-users mailing list JJ>>interchange-users@interchange.redhat.com JJ>>http://interchange.redhat.com/mailman/listinfo/interchange-users JJ>> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 16, 2001 at 21:50 PM: Best diet: Eat as much as you want, but don't swallow it. ---------------------------------------------------------------- This Linux System has been up 121 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (DB) Date: Sat Nov 17 01:13:01 2001 Subject: [ic] ic4.8.2 Sales tax wierdness I have ic 4.8.2 installed on RedHat 7.1 using the foundation demo. I have modified a few of the templates and html pages but nothing major. Using the Wizard, I told it to charge 7% sales tax in Ohio. Now if I place a test order for a taxable product and choose Ohio for the state, I get a popup saying that $0.00 tax will be charged and indeed no tax is added. Maybe I broke something when I modified a template or page, but can someone provide a troubleshooting tip or two? Other than this problem, everything works great! DB From: interchange-users at interchange.redhat.com (sphen boyle) Date: Sat Nov 17 02:13:01 2001 Subject: [ic] ic4.8.2 Sales tax wierdness make sure that the TAXRATE field in your variable.txt file is correct. i have it set for 6% connecticut tax, so my field is CT=6... you should have something like OH=7. also there is a variable called TAXAREA. You should make sur ethat it has you two leter state abreviation in there too. I find that the admin interface doesnt work for tax at all. you must do this manually. hopefully this helps. and i appologize if spelling is bad considering i am drunka sshit. yep. peace... On Saturday, November 17, 2001, at 01:14 AM, DB wrote: > I have ic 4.8.2 installed on RedHat 7.1 using the foundation demo. I have > modified a few of the templates and html pages but nothing major. Using > the Wizard, I told it to charge 7% sales tax in Ohio. > > Now if I place a test order for a taxable product and choose Ohio for the > state, I get a popup saying that $0.00 tax will be charged and indeed no > tax is added. Maybe I broke something when I modified a template or page, > but can someone provide a troubleshooting tip or two? Other than this > problem, everything works great! > > DB > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Steven Potter) Date: Sat Nov 17 02:36:01 2001 Subject: [ic] shipping question I have a question similar to this... How do I set different handling fees per sku, but still calculate shipping normaly? Thanks Steven Potter Vlad Sedov wrote: >That's simple enough... > > >thank you! > > > >Vlad > > >>-----Original Message----- >>From: interchange-users-admin@interchange.redhat.com >>[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed >>LaFrance >>Sent: Friday, November 16, 2001 11:03 am >>To: interchange-users@interchange.redhat.com >>Subject: Re: [ic] shipping question >> >> >>At 06:33 PM 11/15/2001 -0600, you wrote: >> >>>hello list - >>> >>> >>>i'm lost.. :( >>> >>> >>>I'm trying to figure out how to calculate shipping based on >>> >>an SKU number. >> >>>i've looked at the shipping.asc file but it just got more confused. >>> >>>we use a specific SKU scheme, kinda like this: >>> >>>10XXXXX - shipping is $25 >>>20XXXXX - shipping is $20 >>>90XXXXX - shipping is $5 >>> >>> >>>is there an easy way to do this? >>> >>Well, fairly easy. Add a column called 'flat_ship' to your >>products table, >>and populate it with the shipping charge for each item. Then modify >>shipping.asc, adding your new mode. It should look something >>like this (-> >>= TAB): >> >>peritem -> Standard shipping -> flat_ship -> 0 -> 99999 -> f @@TOTAL@@ >> >>sorry, I just don't use the shipping interface in the UI, so >>I honestly >>can't tell you how to create it that way, but I am sure it is >>quite easy. >> >>Finally, add the new shipping mode to the appropriate records in your >>country table, and Apply Changes. >> >>- Ed L. >> >> >> >>=============================================================== >>New Media E.M.S. Software Solutions for Business >>463 Main St., Suite D eCommerce | Consulting | Hosting >>Placerville, CA 95667 edl@newmediaems.com >>(530) 622-9421 http://www.newmediaems.com >>(866) 519-4680 Toll-Free (530) 622-9426 Fax >>=============================================================== >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users >> >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (FCT Maillist) Date: Sat Nov 17 06:31:01 2001 Subject: [ic] Maximum CPU usage Hi, I am using IC 4.8.1 on Linux 7.0 with a PostGreSQL database. But on being accessed by only 3-4 users , the system becomes slow and the CPU usage clocks 99% usage. The catalogs built for each user occupies maximum server resources. How do we overcoemn this isuue? Has anyone experienced similar problems? Any way out? Thanks in advance, Vinod From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Sat Nov 17 09:46:01 2001 Subject: [ic] Maximum CPU usage On Sat, 17 Nov 2001, FCT Maillist wrote: > I am using IC 4.8.1 on Linux 7.0 with a PostGreSQL database. But on being > accessed by only 3-4 users , the system becomes slow and the CPU usage > clocks 99% usage. The catalogs built for each user occupies maximum server > resources. > > How do we overcoemn this isuue? Has anyone experienced similar problems? Any > way out? What version of PostgreSQL are you running? (Do 'psql --version'.) If it's anything earlier than 7.1, you definitely need to upgrade. Major improvements were made between PostgreSQL 7.0 and 7.1, to say nothing of the improvements since 6.5. Anyway, the most generally useful thing to do is to enable query logging in the PostgreSQL daemon and find out what's taking so much time. To do that, you pass option "-d 2" to the postmaster and send its stdout to a file instead of to /dev/null like most postmaster startup scripts do. Here's how I did it with PostgreSQL 7.1.2 on Red Hat Linux 7.1. Make this patch to /etc/rc.d/init.d/postgresql: 142c142 < su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null --- > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -o '-d 2' -p /usr/bin/postmaster start > /var/log/pgsql 2>&1" < /dev/null Then do 'tail -f /var/log/pgsql' and watch the output while you visit various pages on your site. You should be able to get an idea of what's taking so much time. Jon From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 17 11:05:00 2001 Subject: [ic] Maximum CPU usage On Sat, Nov 17, 2001 at 09:45:09AM -0500, Jon Jensen wrote: > On Sat, 17 Nov 2001, FCT Maillist wrote: > > > I am using IC 4.8.1 on Linux 7.0 with a PostGreSQL database. But on being > > accessed by only 3-4 users , the system becomes slow and the CPU usage > > clocks 99% usage. The catalogs built for each user occupies maximum server > > resources. > > 99% doesn't mean that they are working hard, it just means they are using everything they can get. I'm not sure what you mean by "each user occupies maximum server resources". Do you mean that happens at the 99% or in normal "quiet" state? If the former, that is why quotas exist; if the latter, then you are guaranteeing the former. I've done this plenty of times without any help from postgres; don't assume that is the cause (or that it is not). :-) > > How do we overcoemn this isuue? Has anyone experienced similar problems? Any > > way out? > > What version of PostgreSQL are you running? (Do 'psql --version'.) If it's > anything earlier than 7.1, you definitely need to upgrade. Major > improvements were made between PostgreSQL 7.0 and 7.1, to say nothing of > the improvements since 6.5. > > Anyway, the most generally useful thing to do is to enable query logging > in the PostgreSQL daemon and find out what's taking so much time. To do > that, you pass option "-d 2" to the postmaster and send its stdout to a > file instead of to /dev/null like most postmaster startup scripts do. > Here's how I did it with PostgreSQL 7.1.2 on Red Hat Linux 7.1. Make this > patch to /etc/rc.d/init.d/postgresql: > > 142c142 > < su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null > --- > > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -o '-d 2' -p /usr/bin/postmaster start > /var/log/pgsql 2>&1" < /dev/null > > Then do 'tail -f /var/log/pgsql' and watch the output while you visit > various pages on your site. You should be able to get an idea of what's > taking so much time. > > Jon > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Sat Nov 17 13:34:00 2001 Subject: [ic] bug report: error in 4.8.2 makecat > I was having some problems creating a catalog in 4.8.2 using makecat. > I've had some success using earlier versions of Interchange. tarball? RPM? RPM as downloaded from interchange.redhat.com November 7th. -r--r--r-- 1 rramstad rramstad 1328912 Nov 7 10:59 interchange-4.8.2-1.noarch.rpm -r--r--r-- 1 rramstad rramstad 620870 Nov 7 10:58 interchange-foundation-4.8.2-1.noarch.rpm -r--r--r-- 1 rramstad rramstad 979356 Nov 7 10:59 interchange-foundation-demo-4.8.2-1.i386.rpm -- Bob From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Sat Nov 17 16:03:00 2001 Subject: [ic] bug: 4.8.2 admin UI new super-users cannot edit tablesf I was able to reproduce this on http://demo.interchange.redhat.com very easily. Login as the super-user "demo" (or on a default 4.8.2 as "interch"), Click on Administration in the dark grey bar and note that as the super-user specified at makecat time, all the database tables are listed at the bottom of the page. Click on Tables in the lighter grey bar and note that all tables are listed. Click on one of them to edit, it should come up. So far, so good. Now, create a new super-user account by clicking on Access in the lighter grey bar, then Create new user. Fill out the form. Click on Apply changes. Log out. Go back to the admin login page. Log in using the new super-user account. If you visit Administration, tables are not listed at the bottom of the main page. Tables brings up an empty list. There are many reports of this problem in the mailing list archives. The suggested solutions -- upgrading software, deleting .gdbm files, among other things -- didn't work for me. Imagine my surprise that the demo site has the same problem! The obvious workaround is to only have "interch" be the super user and just change the password. Not great for security, but it'll work for now. Again, I hate to flog a dead horse here, and I especially hate doing it when I don't have a patch for the problem, but this is a great example of something a newbie might want to do, and obviously newbies have been running into this left and right judging from the archives. If I get sophisticated enough to offer a solution, I'll send it along. Obviously the problem must lie in the UI, probably somewhere "interch" is hard coded instead of looking for the super-user bit set. -- Bob From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Sat Nov 17 16:09:01 2001 Subject: [ic] bug: 4.8.2 admin UI Administration Access allows no user selection I was able to reproduce this on http://demo.interchange.redhat.com very easily. Login as the super-user "demo" (or on a default 4.8.2 as "interch"), Click on Administration in the dark grey bar, then click on Access. *Without any user highlighted* click on Edit user -- brings up blank Edit page for (presumably) null username Show permissions -- brings up permissions for first user in list Change password -- brings up obviously broken page for null username Delete user -- unsure what it does, but looks like it has same problem Is there someone actively working on the admin UI for the foundation catalog? If so, I'll send these kinds of reports to them and keep them off the list. Yow! -- Bob From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Nov 17 16:16:00 2001 Subject: [ic] bug: 4.8.2 admin UI new super-users cannot edit tablesf Quoting Bob Ramstad (rramstad@alum.mit.edu): > Obviously the problem must lie in the UI, probably somewhere > "interch" is hard coded instead of looking for the super-user bit set. Horrors. Not much is hardcoded in IC. This is a bug that was fixed in CVS quite a time ago. Just remove any data in the access table fields yes_tables and no_tables for that user. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> In character, in manners, in style, in all things, the supreme excellence is simplicity. -- Longfellow From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Sat Nov 17 16:26:01 2001 Subject: [ic] Re: bug: 4.8.2 admin UI new super-users cannot edit tables Here's some more info on this problem. When using the wizard, the admin account created works fine and can edit tables. That struck me as odd, so I took a look at that user. I noticed the "Real name" was set at "Site Admin" so I changed it to my actual name using the Access part of the Administration UI. Imagine my surprise when I was thereafter unable to edit tables! It doesn't seem tied to the actual change of name -- I changed it back to "Site Admin" and was still unable to edit tables even after logging out and back in -- but there is definitely something broken in the Access part of the UI. As I mentioned earlier, one can simply "touch products/access.asc" to get back to having one user "interch/pass" as the admin. Changing the password on that user does work. -- Bob From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Sat Nov 17 16:29:00 2001 Subject: [ic] Re: bug: 4.8.2 admin UI new super-users cannot edit tables Here's some more info on this problem. When using the wizard, the admin account created by the wizard works fine and can see and edit tables. That struck me as odd, so I took a look at that user. I noticed the "Real name" was set at "Site Admin" so I changed it to my actual name using the Access part of the Administration UI. Imagine my surprise when I was thereafter unable to edit tables! It doesn't seem tied to the actual change of name -- I changed it back to "Site Admin" and was still unable to edit tables even after logging out and back in -- but there is definitely something broken in the Access part of the UI. As I mentioned earlier, one can simply "touch products/access.asc" to get back to having one user "interch/pass" as the admin. Changing the password on that user does work. -- Bob From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Sat Nov 17 16:32:01 2001 Subject: [ic] bug: 4.8.2 admin UI new super-users cannot edit tablesf Bob Ramstad wrote: > > The obvious workaround is to only have "interch" be the super user and > just change the password. Not great for security, but it'll work for > now. Actually, a better workaround is: Create the new superuser with the interch superuser. Before you log out, go into the access table for the user you just created and delete the word "NONE" from any field that has it. That will allow the new superuser access to the tables. --J(K) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Nov 17 16:41:01 2001 Subject: [ic] shipping question On Sat, 17 Nov 2001, Steven Potter wrote: SP>>I have a question similar to this... How do I set different handling SP>>fees per sku, but still calculate shipping normaly? The easiest way would be to simply raise the selling price of each item. If you want to add the same handling fee to every item (I add on $2.00 to every order to pay for the box, tape and packaging materials) you can do that in shipping.asc -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 17, 2001 at 16:35 PM: I know Karate, Kung Fu, and 47 other dangerous words ---------------------------------------------------------------- This Linux System has been up 139 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jud Harris) Date: Sat Nov 17 17:25:01 2001 Subject: [ic] cybercash modules? / conf file? Hey folks, 1. I've searched the archive and the cybercash tutorial first notes - "install the cybercash modules" - does one get these from cybercash.com when you start an account? I was hoping to experiment with them before it's set up. I looked in their support section to no avail? Can anyone point me to this module? 2. The only reference to CyberCash I can find in IC is Route cybercash configfile "__CYBER_CONFIGFILE__" in the catalog.cfg. Where'd I miss the spec for this file? I apologize if this has already been answered - please forward me on if necessary. Thanks in advance! -Jud From: interchange-users at interchange.redhat.com (Jud Harris) Date: Sat Nov 17 17:28:01 2001 Subject: [ic] pre-orders / backorders / partial charging? Hi again, I'm trying to set up a pre-order scenario that would distinguish which items in the cart are in stock, and which are not, and then complete the order only charging the credit card for the in-stock items. This would allow me to come back once the other items are in stock, manually charge the card, and check-off and ship the remaining items. Is there a built-in way to do this, or will I need to set up some custom cart work? Thanks again for all the help! -Jud From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 17 18:26:01 2001 Subject: [ic] pre-orders / backorders / partial charging? On Sat, Nov 17, 2001 at 04:27:08PM -0600, Jud Harris wrote: > Hi again, > > I'm trying to set up a pre-order scenario that would distinguish which items > in the cart are in stock, and which are not, and then complete the order > only charging the credit card for the in-stock items. > > This would allow me to come back once the other items are in stock, manually > charge the card, and check-off and ship the remaining items. > > Is there a built-in way to do this, or will I need to set up some custom > cart work? It's a logical mess. What we do is allow an admin user to load a new cart, create a new order that splits the order, maintaining an audit trail. It's way too "manual". Personally, I think it is better handled by real order processing back end. > > Thanks again for all the help! > -Jud > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Cozy Corner) Date: Sun Nov 18 01:44:01 2001 Subject: [ic] Pay Pal Integration This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C16FD1.DE575D40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have been reading the archives and am wondering if someone has integrated minivend with Pay Pal. Any way will do for now, even if it is not a full integration with a return OK. Please let me know if you have ------=_NextPart_000_0006_01C16FD1.DE575D40 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+Ih8GAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHCwASAAEAJwAAAAAAHQEB A5AGAHwFAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB AAAAFAAAAFBheSBQYWwgSW50ZWdyYXRpb24AAgFxAAEAAAAWAAAAAcFv+8VPJskLwtuuEdWKYQDQ WQvKjAAAAgEdDAEAAAAbAAAAU01UUDpDT1pZQ09STkVSQE5ZQy5SUi5DT00AAAsAAQ4AAAAAQAAG DgCakbT7b8EBAgEKDgEAAAAYAAAAAAAAAMvKPeUY2tURimEA0FkLyozCgAAACwAfDgEAAAACAQkQ AQAAACcBAAAjAQAAWwEAAExaRnV6HuFnAwAKAHJjcGcxMjUWMgD4C2BuDhAwMzNPAfcCpAPjAgBj aArAc7BldDAgBxMCgH0KgZJ2CJB3awuAZDQMYI5jAFALAwu1IEkgEPBQdmUgYgnhIAlwYcJkC4Bn IHRoFCAKwF0Q4GkUEAQgAHBkFUBtPCB3AiAEgRTSBpAgc30DcGUCIBQgEPAEIAuAdNplCcBhGAAW AG0LgBWRhxXxA/AVECBQYXkZYUxsLgrjCoBBbhmQd4sZgQPwbAMgZG8gAhCBBcBub3csIGUY0b8W 4hkwFuAEIBugBUBhG1D2dRsBF+ZpAiAZFB0QCXBmdAhwA6BPSxnmGgRQdmwUoBEgICAwBUAHgCD2 axuhFuJ5CGAT4xoEEeECACKgAAsAAYAIIAYAAAAAAMAAAAAAAABGAAAAAAOFAAAAAAAAAwADgAgg BgAAAAAAwAAAAAAAAEYAAAAAEIUAAAAAAAADAAeACCAGAAAAAADAAAAAAAAARgAAAABShQAAJ2oB AB4ACYAIIAYAAAAAAMAAAAAAAABGAAAAAFSFAAABAAAABAAAADkuMAAeAAqACCAGAAAAAADAAAAA AAAARgAAAAA2hQAAAQAAAAEAAAAAAAAAHgALgAggBgAAAAAAwAAAAAAAAEYAAAAAN4UAAAEAAAAB AAAAAAAAAB4ADIAIIAYAAAAAAMAAAAAAAABGAAAAADiFAAABAAAAAQAAAAAAAAALAA2ACCAGAAAA AADAAAAAAAAARgAAAACChQAAAQAAAAsAOoAIIAYAAAAAAMAAAAAAAABGAAAAAA6FAAAAAAAAAwA8 gAggBgAAAAAAwAAAAAAAAEYAAAAAEYUAAAAAAAADAD2ACCAGAAAAAADAAAAAAAAARgAAAAAYhQAA AAAAAAMAfoAIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwDLgAggBgAAAAAAwAAAAAAAAEYA AAAABoUAAAAAAAACAfgPAQAAABAAAADLyj3lGNrVEYphANBZC8qMAgH6DwEAAAAQAAAAy8o95Rja 1RGKYQDQWQvKjAIB+w8BAAAAggAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExMAAAA AAAAAABOSVRB+b+4AQCqADfZbgAAAEM6XFdJTkRPV1NcTG9jYWwgU2V0dGluZ3NcQXBwbGljYXRp b24gRGF0YVxNaWNyb3NvZnRcT3V0bG9va1xvdXRsb29rLnBzdAAAAAMA/g8FAAAAAwANNP03AAAC AX8AAQAAADUAAAA8TkZCQklLR0JNTEJLR0VPT05DRkdLRU9KQ0FBQS5jb3p5Y29ybmVyQG55Yy5y ci5jb20+AAAAAAMABhAx11p6AwAHEKYAAAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAASUhB VkVCRUVOUkVBRElOR1RIRUFSQ0hJVkVTQU5EQU1XT05ERVJJTkdJRlNPTUVPTkVIQVNJTlRFR1JB VEVETUlOSVZFTkRXSVRIUEFZUEFMQU5ZV0FZV0lMTERPRk9STk9XLAAAAACzFg== ------=_NextPart_000_0006_01C16FD1.DE575D40-- From: interchange-users at interchange.redhat.com (Jason Timm) Date: Sun Nov 18 02:07:00 2001 Subject: [ic] Quick question - disabling ORDERS_TO Hi all! How would one go about disabling emails from IC? That is, I have disabled receipts being sent to the buyers by removing copy_user from the routes, but it still wants to email the order to the store owner. I have tried commenting out the email line in the route and setting its value to "", but both result in the checkout page reloading itself and the order not being completed. I have also tried removing the ORDERS_TO value in catalog.cfg. I have restarted the IC server, applied changes, and beat on the server, but it doesn't seem to do any good. Basically, I don't want IC sending out any emails... I am running IC 4.8 on RH 7.1. jt From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Nov 18 08:02:00 2001 Subject: [ic] Quick question - disabling ORDERS_TO "Jason Timm" <jason@itchoices.com> writes: > Hi all! > > How would one go about disabling emails from IC? That is, I have disabled > receipts being sent to the buyers by removing copy_user from the routes, but > it still wants to email the order to the store owner. I have tried > commenting out the email line in the route and setting its value to "", but > both result in the checkout page reloading itself and the order not being > completed. I have also tried removing the ORDERS_TO value in catalog.cfg. > I have restarted the IC server, applied changes, and beat on the server, but > it doesn't seem to do any good. Basically, I don't want IC sending out any > emails... I don't know if this is possible to specify this to IC, but you can just send the email to a local account where it is directly put into /dev/null. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (David Berry) Date: Sun Nov 18 09:15:01 2001 Subject: [ic] SubCatalog config Sorry all I know the answer is in the archives, but the search is'nt woprking just now. Can anyone let me have a copy of a working catalog.cfg file (the subcatalog one)? Thanks Dave From: interchange-users at interchange.redhat.com (Bradley Caricofe) Date: Sun Nov 18 09:46:01 2001 Subject: [ic] Pay Pal Integration Just an FYI, Electronic Transfer (etransfer.net) will set practically anyone up with a merchant account capable of accepting VS or MC, for a $40 setup fee and $30 a month thereafter. This fee includes Authorizenet and all bank fees (not including the per transaction fees). They set me up in less than a week to accept visa, mastercard and amex, and it was cheap. For less than a $100 you can be accepting credit cards via a real online payment gateway. -Brad --- Cozy Corner <cozycorner@nyc.rr.com> wrote: > I have been reading the archives and am wondering if someone has > integrated > minivend with Pay Pal. > Any way will do for now, even if it is not a full integration with a > return > OK. > > Please let me know if you have > > ATTACHMENT part 2 application/ms-tnef name=winmail.dat __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com From: interchange-users at interchange.redhat.com (Korey G.) Date: Sun Nov 18 13:25:00 2001 Subject: [ic] Authorizenet.pm Hello All Im trying to install Authorizenet Module like so perl -MCPAN -e 'install Business::OnlinePayment::AuthorizeNet' But I get this error message, Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/bop.t 2 512 1 1 100.00% 1 t/check.t 2 512 1 1 100.00% 1 t/credit_card.t 2 512 1 1 100.00% 1 t/load.t 2 512 1 1 100.00% 1 Failed 4/4 test scripts, 0.00% okay. 4/4 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Can some one help -Thanks From: interchange-users at interchange.redhat.com (Michel Matte) Date: Sun Nov 18 15:16:01 2001 Subject: [ic] RE: Entering a Payment Without a Cart Quoting Aron Hazelton: > [ic] Entering a Payment Without a Cart > > FixtureFactor.com interchange-users@interchange.redhat.com > Wed Nov 14 09:03:01 2001 > > I think I have been after something similar to you, as I have been trying > add items that are not in the catalog. Check out my posts about "on the > fly", since thats the way to do it. I have implemented "on-the-fly" > ordering into the order entry page in the admin so i can process orders with > phone customers for items that are not in my cat. and it still shows up on > all of the forms and reports as any other items, even with negative amounts. > Im still struggling with getting it to work in the customer area, havent > gotten that to work correctly yet. > hope this helps, > Thank you for the suggestions. But I am trying to enter a payment directly on a previous balance. I found my problem. I use a gift certificate type of item called "credit", and enter the amount directly in the quantity field. It worked in the basket page but not in the checkout. That's because the quantity field drops the cents in the amount. You have to add a line in catalog.cfg with: FractionalItems Yes. You can also bypass the basket page with a similar command. You ten have to edit the pages to remove unecessary fields. The above is much easier than trying to modify a price on the fly. See discussion in past July 2001 archives. Looks very good but all I got was a headache. See also: http://www.insitehosting.com/icdocs/ic_ecommerce.html Hope this helps, Michel From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sun Nov 18 15:26:00 2001 Subject: [ic] Quick question - disabling ORDERS_TO Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > "Jason Timm" <jason@itchoices.com> writes: > > > Hi all! > > > > How would one go about disabling emails from IC? That is, I have disabled > > receipts being sent to the buyers by removing copy_user from the routes, but > > it still wants to email the order to the store owner. I have tried > > commenting out the email line in the route and setting its value to "", but > > both result in the checkout page reloading itself and the order not being > > completed. I have also tried removing the ORDERS_TO value in catalog.cfg. > > I have restarted the IC server, applied changes, and beat on the server, but > > it doesn't seem to do any good. Basically, I don't want IC sending out any > > emails... > > I don't know if this is possible to specify this to IC, > but you can just send the email > to a local account where it is directly put into /dev/null. Just set: Route main empty 1 That prevents any report email. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Doug Finley) Date: Sun Nov 18 20:51:02 2001 Subject: [ic] Pay Pal Integration ----- Original Message ----- From: Cozy Corner <cozycorner@nyc.rr.com> > I have been reading the archives and am wondering if someone has integrated > minivend with Pay Pal. > Any way will do for now, even if it is not a full integration with a return > OK. I have integrated Paypal on an IC 4.8.2 site. The integration with IC is very clunky, but that is due entirely to my shortcomings, not IC. I'm sure that a full-time developer could make this a more seamless process. What I've done is the following: 1. visit PayPal.com and download their PDF on accepting web payments -- Sorry, I did not keep the link. It will explain what each variable in the code below is used for. 2. Place the following form behind a button in IC. (replace the variables with your info, using the PDF as a reference.) <form action=" https://www.paypal.com/cgi-bin/webscr " method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="dollsource@aol.com"> <input type="hidden" name="return" value="http://www.dollsource.com/thankyou.htm"> <input type="hidden" name="undefined_quantity" value="0"> <input type="hidden" name="item_name" value="Dollsource.com Shopping Cart"> <input type="hidden" name="amount" value="[subtotal noformat=1]"> <input type="hidden" name="shipping" value="[shipping noformat=1]"> <input type="hidden" name="shipping2" value="0.00"> <input type="hidden" name="handling" value="0.00"> <input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="image_url" value="http://www.dollsource.com/logo-web.gif"> <input type="hidden" name="cancel_return" value="http://www.dollsource.com/cancel.htm"> <input type="hidden" name=" no_note" value="1"> <input type="image" src="http://images.paypal.com/images/x-click-but01.gif" name="submit" alt="Click here to pay with PayPal - it's fast, free and secure!"> </form> 3. This is where I stopped short. Rather that try to integrate the Paypal process above with the rest of the IC checkout process, I simply placed the Paypal button on the top of the Receipt.html page with an explanation to "click here" to complete the sale. I then added lots of explanation to the checkout page stating that once they clicked checkout they would then be required to complete the transaction at Paypal. I works fairly smoothly. Most of our customers come to us from ebay auctions, so they are very familiar with paypal. They fill their cart, checkout (which sends the order to the site admin and puts it into IC), then click into PayPal where the payment form is already populated for them via the form above. They then give their paypal account info, or open a new account if needed. Lastly, they are returned to a thankyou page once the paypal transaction is complete. If they bail out before completing the paypal side, they are bounced to our cancel page and informed that the sale is not final. Again there are MANY better ways of doing this I'm sure, this is just one quick solution that worked for this mom&pop site. Hope this helps. Doug Finley www.vcdna.org From: interchange-users at interchange.redhat.com (Jason Timm) Date: Sun Nov 18 22:12:01 2001 Subject: [ic] Quick question - disabling ORDERS_TO > > How would one go about disabling emails from IC? That is, I have disabled > > receipts being sent to the buyers by removing copy_user from the routes, but > > it still wants to email the order to the store owner. I have tried > > commenting out the email line in the route and setting its value to "", but > > both result in the checkout page reloading itself and the order not being > > completed. I have also tried removing the ORDERS_TO value in catalog.cfg. > > I have restarted the IC server, applied changes, and beat on the server, but > > it doesn't seem to do any good. Basically, I don't want IC sending out any > > emails... > > I don't know if this is possible to specify this to IC, > but you can just send the email > to a local account where it is directly put into /dev/null. Just set: Route main empty 1 That prevents any report email. -- <mheins@redhat.com> -------------------------------------------------------------- I tried adding: empty 1 to Route main, but it causes the checkout page to reload instead of completing the order. Here is what I have for main: ## This route emails the order to you unless email is set to "", ## and failsafe-logs the order report a couple of places Route main <<EOF attach 0 credit_card 1 default 1 email '__ORDERS_TO__' empty 1 encrypt 0 errors_to '__ORDERS_TO__' pgp_cc_key "__PGP_KEY__" pgp_key "__PGP_KEY__" receipt etc/receipt.html report etc/report supplant 1 individual_track orders track logs/tracking.asc EOF I also tried this with email set to "" as the instructions above indicate - no luck. It seems that without the email being set to something, it does not work. And, actually, the empty setting doesn't seem to work either. jt From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Mon Nov 19 00:03:01 2001 Subject: [ic] Authorizenet.pm Korey G wrote: > Hello All > Im trying to install Authorizenet Module > like so > > perl -MCPAN -e 'install Business::OnlinePayment::AuthorizeNet' You shouldn't need to download the AuthorizeNet module if you're using Interchange 4.8.2 - the core download for Red Hat 7.x - that is. Don't know about the other ones. To get 4.8.2 to work with AuthorizeNet, you need to modify the interchange.cfg file and add the following line to the very bottom of the file - after the last line (at least that's where mine is located): Require module Vend::Payment::AuthorizeNet Also, make sure that you download Net SSLeay or Crypt SSLeay (I'm using Net) from: http://search.cpan.org/search?mode=module&query=SSLeay Make sure that you also have MD5 installed from: http://search.cpan.org/search?dist=MD5 Install one of the SSLeay (either Net or Crypt) and the MD5 according to: http://www.cpan.org/modules/INSTALL.html OR the way I do it is: tar -xzvf filename.tar.gz cd newlycreatedfilenamedirectory perl Makefile.PL make install In AuthorizeNet, make sure that under Settings, Manage URLs - that no URL exists (I find it easier this way). In ADC Settings: Delimited Response: YES Default Field Separator: ,comma Default Encapsulation Character: None Set an ADC Password and then just set the Require Password for all transactions to NO. Now, note that you can play with these settings and change them - but this just gives you a working example. Set up your company using the Wizard in the Interchange Admin area - under Administration, Wizard, choosing Authorize.Net as your payment gateway, putting in your AuthorizeNet user name, the ADC Password that you set from above, secure.authorize.net as the Authorize.net server, and the URL as something like www.yourdomain.com and then finishing with the Wizard using the Preview (or launch - whichever) feature to save the settings. This should update the Administration, Preferences, Payment section with the AuthorizeNet info. Restart Interchange and it should start using the AuthorizeNet features. :) Justin Keywords: AuthorizeNet, Authorize.Net > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Korey G. > Sent: Sunday, November 18, 2001 3:21 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] Authorizenet.pm > > > Hello All > Im trying to install Authorizenet Module > like so > > perl -MCPAN -e 'install Business::OnlinePayment::AuthorizeNet' > > But I get this error message, > > > Failed Test Status Wstat Total Fail Failed List of failed > ------------------------------------------------------------------ > ------------- > t/bop.t 2 512 1 1 100.00% 1 > t/check.t 2 512 1 1 100.00% 1 > t/credit_card.t 2 512 1 1 100.00% 1 > t/load.t 2 512 1 1 100.00% 1 > Failed 4/4 test scripts, 0.00% okay. 4/4 subtests failed, 0.00% okay. > make: *** [test_dynamic] Error 2 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > > Can some one help > > -Thanks > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Justin Bonds) Date: Mon Nov 19 00:14:00 2001 Subject: [ic] Authorizenet.pm Just a Note: When I say "In AuthorizeNet, make sure that under . . ." - I mean the settings located on their web site at: https://secure.authorize.net/ :) Justin > > Korey G wrote: > > > Hello All > > Im trying to install Authorizenet Module > > like so > > > > perl -MCPAN -e 'install Business::OnlinePayment::AuthorizeNet' > > You shouldn't need to download the AuthorizeNet module if you're using > Interchange 4.8.2 - the core download for Red Hat 7.x - that is. > Don't know > about the other ones. > > To get 4.8.2 to work with AuthorizeNet, you need to modify the > interchange.cfg file and add the following line to the very bottom of the > file - after the last line (at least that's where mine is located): > > Require module Vend::Payment::AuthorizeNet > > Also, make sure that you download Net SSLeay or Crypt SSLeay (I'm > using Net) > from: > http://search.cpan.org/search?mode=module&query=SSLeay > > Make sure that you also have MD5 installed from: > http://search.cpan.org/search?dist=MD5 > > Install one of the SSLeay (either Net or Crypt) and the MD5 according to: > > http://www.cpan.org/modules/INSTALL.html > > OR the way I do it is: > > tar -xzvf filename.tar.gz > cd newlycreatedfilenamedirectory > perl Makefile.PL > make install > > In AuthorizeNet, make sure that under Settings, Manage URLs - that no URL > exists (I find it easier this way). In ADC Settings: > > Delimited Response: YES > Default Field Separator: ,comma > Default Encapsulation Character: None > > Set an ADC Password and then just set the Require Password for all > transactions to NO. > > Now, note that you can play with these settings and change them - but this > just gives you a working example. > > Set up your company using the Wizard in the Interchange Admin area - under > Administration, Wizard, choosing Authorize.Net as your payment gateway, > putting in your AuthorizeNet user name, the ADC Password that you set from > above, secure.authorize.net as the Authorize.net server, and the URL as > something like www.yourdomain.com and then finishing with the Wizard using > the Preview (or launch - whichever) feature to save the settings. This > should update the Administration, Preferences, Payment section with the > AuthorizeNet info. > > Restart Interchange and it should start using the AuthorizeNet features. > > :) Justin > > Keywords: AuthorizeNet, Authorize.Net > > > > > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > Korey G. > > Sent: Sunday, November 18, 2001 3:21 PM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] Authorizenet.pm > > > > > > Hello All > > Im trying to install Authorizenet Module > > like so > > > > perl -MCPAN -e 'install Business::OnlinePayment::AuthorizeNet' > > > > But I get this error message, > > > > > > Failed Test Status Wstat Total Fail Failed List of failed > > ------------------------------------------------------------------ > > ------------- > > t/bop.t 2 512 1 1 100.00% 1 > > t/check.t 2 512 1 1 100.00% 1 > > t/credit_card.t 2 512 1 1 100.00% 1 > > t/load.t 2 512 1 1 100.00% 1 > > Failed 4/4 test scripts, 0.00% okay. 4/4 subtests failed, 0.00% okay. > > make: *** [test_dynamic] Error 2 > > /usr/bin/make test -- NOT OK > > Running make install > > make test had returned bad status, won't install without force > > > > Can some one help > > > > -Thanks > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 19 00:28:00 2001 Subject: [ic] Pay Pal Integration off topic but Doug can you please send me the priority mail integration stuff. I tried to get it working for over a month. I decided to use FedEx as a temp solution. thanks in advance. steve@moddepot.com ----- Original Message ----- From: "Doug Finley" <dfinleyhsd@earthlink.net> To: <interchange-users@interchange.redhat.com> Sent: Sunday, November 18, 2001 5:57 PM Subject: Re: [ic] Pay Pal Integration > > ----- Original Message ----- > From: Cozy Corner <cozycorner@nyc.rr.com> > > I have been reading the archives and am wondering if someone has > integrated > > minivend with Pay Pal. > > Any way will do for now, even if it is not a full integration with a > return > > OK. > > I have integrated Paypal on an IC 4.8.2 site. The integration with IC is > very clunky, but that is due entirely to my shortcomings, not IC. I'm sure > that a full-time developer could make this a more seamless process. What > I've done is the following: > > 1. visit PayPal.com and download their PDF on accepting web payments -- > Sorry, I did not keep the link. It will explain what each variable in the > code below is used for. > > 2. Place the following form behind a button in IC. (replace the variables > with your info, using the PDF as a reference.) > > <form action=" https://www.paypal.com/cgi-bin/webscr " method="post"> > <input type="hidden" name="cmd" value="_xclick"> > <input type="hidden" name="business" value="dollsource@aol.com"> > <input type="hidden" name="return" > value="http://www.dollsource.com/thankyou.htm"> > <input type="hidden" name="undefined_quantity" value="0"> > <input type="hidden" name="item_name" value="Dollsource.com Shopping Cart"> > <input type="hidden" name="amount" value="[subtotal noformat=1]"> > <input type="hidden" name="shipping" value="[shipping noformat=1]"> > <input type="hidden" name="shipping2" value="0.00"> > <input type="hidden" name="handling" value="0.00"> > <input type="hidden" name="no_shipping" value="1"> > <input type="hidden" name="image_url" > value="http://www.dollsource.com/logo-web.gif"> > <input type="hidden" name="cancel_return" > value="http://www.dollsource.com/cancel.htm"> > <input type="hidden" name=" no_note" value="1"> > <input type="image" src="http://images.paypal.com/images/x-click-but01.gif" > name="submit" alt="Click here to pay with PayPal - it's fast, free and > secure!"> > </form> > > 3. This is where I stopped short. Rather that try to integrate the Paypal > process above with the rest of the IC checkout process, I simply placed the > Paypal button on the top of the Receipt.html page with an explanation to > "click here" to complete the sale. I then added lots of explanation to the > checkout page stating that once they clicked checkout they would then be > required to complete the transaction at Paypal. > > I works fairly smoothly. Most of our customers come to us from ebay > auctions, so they are very familiar with paypal. They fill their cart, > checkout (which sends the order to the site admin and puts it into IC), then > click into PayPal where the payment form is already populated for them via > the form above. They then give their paypal account info, or open a new > account if needed. Lastly, they are returned to a thankyou page once the > paypal transaction is complete. If they bail out before completing the > paypal side, they are bounced to our cancel page and informed that the sale > is not final. > > Again there are MANY better ways of doing this I'm sure, this is just one > quick solution that worked for this mom&pop site. Hope this helps. > > Doug Finley > www.vcdna.org > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 19 03:24:01 2001 Subject: [ic] How can we make interchange *NOT* parse a page? Jon Jensen wrote: [...] > Mike already discussed the best way to deal with this, but if you just > want to see [perl reparse=0] in action because the docs aren't clear > enough, here's an example. Save this as a page in the pages/ directory > of one of your IC catalogs and try it out. > > <html><head></head><body> > [tmp klaeglich]JoJo GmbH[/tmp] > <h1>Example with reparse=1</h1> > [perl reparse=1] > return '[scratch klaeglich]'; > [/perl] > <h1>Example with reparse=0</h1> > [perl reparse=0] > return '[scratch klaeglich]'; > [/perl] > </body></html> > > Viel Spass, Jon, I see it! Thanks for the explanation! :-) Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Administrator) Date: Mon Nov 19 07:58:01 2001 Subject: [ic] Host Crashed?> HELP hello my host crashed and lost my info lucky i had a server backup, but when i restored my site the interchange didnt work, then i tried uploading just the files i think would restore the cart and it worked but only for couple days, then it would say interchange busy or something, anyone know what files i need to upload to restore a interchange cart? like which files are needed etc???? please thanks alot! NOTICE: The information contained in this electronic mail transmission is intended by Aircraft Rubber Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential being monitored by ARM Inc,. (Fuel Safe Systems) If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email, so that the sender's address records can be corrected. From: interchange-users at interchange.redhat.com (Fred Pope) Date: Mon Nov 19 09:58:00 2001 Subject: [ic] Maximum CPU usage "I am using IC 4.8.1 on Linux 7.0 with a PostGreSQL database. But on being accessed by only 3-4 users , the system becomes slow and the CPU usage clocks 99% usage. The catalogs built for each user occupies maximum server resources." Have you done a TOP to see what is occupying the processor? Sounds like you have something funky. Our system sits idle most of the time unless it is being hit, at which point you may see it drop to 95% CPU Usage. What makes you think that it is Interchange or PGSQL that is causing the problem? I have run every flavor of PGSQL that has been mentioned on some of our robust 133 MHz PII development servers, and they like our production machines.....always have plenty of CPU power to go around. Based on my experience with Interchange and PGSQL, I think that you may have something else going on. Try to isolate the problem a bit more. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (MF ramsis) Date: Mon Nov 19 10:13:01 2001 Subject: [ic] Items list remains empty after upload products ?? Hi , I'm running RedHat Linux 7.2 2.4.9-13, MySQLVer 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386), IC V4.8.2, used the Redhat RPM's for install and the CPAN modules. Install went fine, no errors or dependency issues. After some days of work I'm not able to convince IC to upload my products.xls file. I do this through the wizard, which tells me after the upload that it was succesfull ..... not really :-( The Items list remains empty. I have used also the tarball before, but this has the same effect, no items are really uploaded in spite of IC wizard seas they are ? Then I installed the demo catalog "foundation-demo" , which went ok, I can see that the store is populated. Then deleted the "foundation-demo " items/catagories so i could trie to upload my products.xls file afterwards...... but still nothing to see despite of IC telling me again that it went fine. The products.xls file is populated correctly as it should with the required feelds (columns). I've searched the IC users archive for this problem , and found one problem ( similar to the one I have, but this person ( George Entenman, date: 11-02-2001) gets an error message like : FATAL error DBD::mysql::db do failed: You have an error in your SQL syntax near 'where sku = 'os28070'' at line 1 at /interchange/lib/Vend/Table/DBI.pm line 1129, chunk 21. Unfortunatly, he got no reply. I really don't know anymore where to look, since Ithere is no error generated which I could follow up with. Is this problem known to happen, can some body help out/give me a good hint ? From: interchange-users at interchange.redhat.com (Michael Zwiener) Date: Mon Nov 19 10:34:01 2001 Subject: [ic] Allgemeine Fragen zu IC Hallo, ich bin in der gemeinen Lage, schnell herausfinden zu müssen, ob sich IC für ein großes Projekt eignet. Leider habe ich nicht die Zeit, die Doku zu lesen. Vielleicht hat ja einer von euch Lust, mir ein paar Fragen zu beantworten [:-)] 1. Ist es möglich, Geschenkgutscheine mit variablem Wert (den der Kunde angeben kann) zu verkaufen? 2. Wie ist es mit Artikelvarianten (z.B. mehrere Farben - jeweils mit anderem Bild) 3. Artikelpromotion möglich (z.B. Sonderangebote auf Startseite) 4. Mehrsprachigkeit 5. Kundenlogins (dem Kunden auch die Möglichkeit geben, seine alten Bestellungen zu sichten) 6. CSV - Wie einfach ist der Import (Formate?) 7. Reports (wie gut und umfangreich) 8. Kreditkartenvaldierung / Bankeinzug? 9. Admin-Webinterface - Usergruppen (Rechte)? 10. Volltextsuche - Fuzzy-Search möglich? 11. Ist es möglich, z.B. Downloads zu verkaufen? 12. Gibt es eine "Kunden, die diesen Artikel gekauft haben, kauften auch..." - Funktion? 13. Kann ich automatisch Werbebanner wechseln, wenn der Kunde eine Produktgruppe verlässt? 14. Was kann das Teil nicht? Erfahrungen von Euch, Gesamteindruck, Fehlerlastigkeit... Ich weiß, daß ist ne Menge, aber wenn mir jeder ein oder zwei Fragen beantworten kann, wäre ich ein superglücklicher Michi, der dann heute Nacht keine riesen-Doku wälzen müßte [;-)] Mit freundlichem Gruß Michael Zwiener From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 19 10:53:01 2001 Subject: [ic] Allgemeine Fragen zu IC Hi, this is an english spoken list. Write your next email in english! At the moment...I give you short answers in german. Michael Zwiener wrote: > ich bin in der gemeinen Lage, schnell herausfinden zu müssen, ob sich IC > für ein großes Projekt eignet. Leider habe ich nicht die Zeit, die Doku > zu lesen. Vielleicht hat ja einer von euch Lust, mir ein paar Fragen zu > beantworten [:-)] > > 1. Ist es möglich, Geschenkgutscheine mit variablem Wert (den der Kunde > angeben kann) zu verkaufen? Ist machtbar! > 2. Wie ist es mit Artikelvarianten (z.B. mehrere Farben - jeweils mit > anderem Bild) Ist machtbar! Mit einen anderen Bild? Vielleicht! > 3. Artikelpromotion möglich (z.B. Sonderangebote auf Startseite) JA! Das geht! > 4. Mehrsprachigkeit Wird unterstützt! > 5. Kundenlogins (dem Kunden auch die Möglichkeit geben, seine alten > Bestellungen zu sichten) Gibt es auch! > 6. CSV - Wie einfach ist der Import (Formate?) Einfach! Ist aber abhängig von der vorgegebenen Format! > 7. Reports (wie gut und umfangreich) Was versteht man denn unter "umfangreich" bzgl. Reports? > 8. Kreditkartenvaldierung / Bankeinzug? a) Kreditkartennummer plausibel und keine Fantasienummer? b) Einbindung mit Online-Payment gibt es auch für IC! > 9. Admin-Webinterface - Usergruppen (Rechte)? Kann definiert werden, wer was wo darf...! > 10. Volltextsuche - Fuzzy-Search möglich? Volltext -> Ja! Fuzzy-Search -> Wofür? > 11. Ist es möglich, z.B. Downloads zu verkaufen? Ja! > 12. Gibt es eine "Kunden, die diesen Artikel gekauft haben, kauften > auch..." - Funktion? Ja! > 13. Kann ich automatisch Werbebanner wechseln, wenn der Kunde eine > Produktgruppe verlässt? Ist möglich! > 14. Was kann das Teil nicht? Erfahrungen von Euch, Gesamteindruck, > Fehlerlastigkeit... Eigentlich alles! Hängt von Dir ab! Was kannst Du? ;-) Grundsätzliches: - sehr flexibel - hoher Einarbeitsaufwand - Perlerfahrungen helfen viel > Ich weiß, daß ist ne Menge, aber wenn mir jeder ein oder zwei Fragen > beantworten kann, wäre ich ein superglücklicher Michi, der dann heute > Nacht keine riesen-Doku wälzen müßte [;-)] Es bleibt dir nicht anderes überig! Du *must* Doku wälzen. ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Michael Zwiener) Date: Mon Nov 19 11:20:00 2001 Subject: [ic] Allgemeine Fragen zu IC Hi, first, thanks for your answer... now I try it in english :-) Can you also tell me, for witch of these points, IC have more or less ready modules or functions, and wich needs "by hand implimentation" (in witch dificulty)? >>1. Ist es möglich, Geschenkgutscheine mit variablem Wert (den der Kunde >>angeben kann) zu verkaufen? > > Ist machtbar! > > >>2. Wie ist es mit Artikelvarianten (z.B. mehrere Farben - jeweils mit >>anderem Bild) > > Ist machtbar! Mit einen anderen Bild? Vielleicht! > > >>3. Artikelpromotion möglich (z.B. Sonderangebote auf Startseite) > > JA! Das geht! > > >>7. Reports (wie gut und umfangreich) > > Was versteht man denn unter "umfangreich" bzgl. Reports? Waht I mean is the quality of the reports... > > >>8. Kreditkartenvaldierung / Bankeinzug? > > a) Kreditkartennummer plausibel und keine Fantasienummer? Is it possible to check the card f.e. of freezing? I dont have any expiriences by that, but I think, there are some online-databases, where you can check such stuff?! > b) Einbindung mit Online-Payment gibt es auch für IC! > > >>9. Admin-Webinterface - Usergruppen (Rechte)? > > Kann definiert werden, wer was wo darf...! > > >>10. Volltextsuche - Fuzzy-Search möglich? > > Volltext -> Ja! > Fuzzy-Search -> Wofür? it's a nice feature, i think ... > > >>11. Ist es möglich, z.B. Downloads zu verkaufen? > > Ja! > > >>12. Gibt es eine "Kunden, die diesen Artikel gekauft haben, kauften >>auch..." - Funktion? > > Ja! > > >>13. Kann ich automatisch Werbebanner wechseln, wenn der Kunde eine >>Produktgruppe verlässt? > > Ist möglich! > > > From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Nov 19 11:39:01 2001 Subject: [ic] Hiding VAT The default foundation shows the price for each ordered item, and a sales tax total when checking out. I need to show the price including 25% VAT for Danish customers, but without VAT for customers from Greenland and the Faeroe Islands. For Danish customers, it would be nice to show the VAT total on the order receipt. Will I have to change all pages where the price can be shown, or does Interchange / Foundation handle this somehow? I can't seem to find it. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@kakidata.dk From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 19 12:23:01 2001 Subject: [ic] Host Crashed?> HELP > hello my host crashed and lost my info lucky i had a server > backup, but > when i restored my site the interchange didnt work, then i tried > uploading just the files i think would restore the cart and it worked > but only for couple days, then it would say interchange busy or > something, anyone know what files i need to upload to restore a > interchange cart? like which files are needed etc???? please > thanks alot! > NOTICE: > The information contained in this electronic mail > transmission is intended by Aircraft Rubber Corporation for > the use of the > named individual or entity to which it is directed and may > contain information that is privileged or otherwise > confidential being monitored > by ARM Inc,. (Fuel Safe Systems) If you have received this electronic > mail transmission in error, please delete it from your system without > copying or forwarding it, and notify the sender of the error > by reply email, > so that the sender's address records can be corrected. RE: [ic] Toast Burnt? > HELP Hello my toast burnt and lost my tastbuds lucky i have run-on sentances, but when i restored my horrible english, the capitalization of personal pronouns didnt work, then i tried taking out just the apostrophes i think would restore the toast and it worked but only for a couple days, then I would have to have another run-on sentence, then it would say an error message that i didnt bother to write down, anybody know what i can possibly do to repair my horrible lamer attitude with side of laziness and bad communication skills? like what is wrong with my brain???? please thanks alot! NOTICE: The information contained in this electronic mail transmission is intended by We-Hire-The-Nutty-Ones for the use of the pour souls to which it is directed and may contain horrible spelling and misinformation that is sickening or otherwise harmful to read. If you have received this electronic mail transmission in error, we feel sorry for the pain you must be feeling right now. Please delete it from your system without copying or forwarding it, and notify the sender of the his horrible skillz and attitudz, so that the sender's brain can be corrected. Humor impaired need not reply. :^0 -Dan From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Mon Nov 19 14:06:00 2001 Subject: [ic] problems using a date widget--solved op can not take literals. To fix this one must use IC functions. <<EOF co=yes sf=created nu=1 op=<= <-----change to op=ge se=$CGI->{ui_begin_date} sf=created nu=1 op=>= <-----change to op=le se=$CGI->{ui_end_date} EOF -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Scott Andreas---Learning Services, Inc Sent: Friday, November 16, 2001 10:42 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] problems using a date widget Thanks for your help... here is what is actually happenning on the results page from the date widget on the search page. now...this is in the results page [calc] if ($CGI->{ui_begin_date}) { for (qw/ ui_begin_date ui_end_date/) { $CGI -> {$_} = $Tag->filter ( { op => 'date_change', body => $CGI -> {$_} } ); } $Scratch->{date_limit} = <<EOF co=yes sf=created nu=1 op=<= se=$CGI->{ui_begin_date} sf=created nu=1 op=>= se=$CGI->{ui_end_date} EOF } else { $Scratch -> {date_limit}= ""; } return; [/calc] and the same page query has... <FORM ACTION="[area @@MV_PAGE@@]"> <SMALL><INPUT TYPE=text NAME=ui_text_qualification VALUE=""> [button text="Search for recipient"] mv_nextpage=@@MV_PAGE@@ [/button] </form> </SMALL> <!-- ----- Show the contact list box ----- --> [if cgi ui_text_qualification] <H4>Entries containing "[cgi ui_text_qualification]"</H3> [/if] <FORM ACTION="[process]"> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="@@MV_PAGE@@"> <INPUT TYPE=hidden NAME=mv_todo VALUE=back> [search-region more=1 search=" fi=catalogreq ml=__UI_SZ_LIST_CUSTOMER__ md=1 st=db [if scratch date_limit] [scratch date_limit] [elsif cgi ui_text_qualification] se=[cgi ui_text_qualification] [/elsif] [else] co=yes sf=inactive se=1 op=ne [/else] [/if] [if cgi ui_sort_field] tf=[cgi ui_sort_field] to=[cgi ui_sort_option] [else] tf=0 [/else] [/if] [scratch start_at][set start_at][/set] rf=code,institut,firstname,lastname,title,department,phone1,fax,address1,cit y,state,zip,country,sourcecode,catalogqty,created "] the environmental variables being passed show . . . 'mv_no_count' => '', 'mv_no_session_id' => '', 'active_img' => 'right.gif', 'order_style' => '1', 'date_limit' => 'co=yes sf=created nu=1 op=<= se=20010916 <---from ui_start_date sf=created nu=1 op=>= se=20011116 <---from ui_end_date ', . . . -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike Heins Sent: Thursday, November 15, 2001 2:01 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] problems using a date widget Quoting Scott Andreas---Learning Services, Inc (sandreas@learningservicesinc.com): > I need to search for material based on date. So thusly I want to use the > date widget to search for material within a date range. > > On the search page I have... > > <TR> > <TD><B>Beginning<BR> > [widget type=date NAME=ui_begin_date]</TD> > <TD><B>Ending</B><BR> > [widget type=date NAME=ui_end_date]</TD> > </TR> > > > on the result page I have... With a problem like this, it is usually helpful to see what you get from the input. > > [calc] ## I bet the error log will show values like ## begin=11^@/^@15^@/^@2001 end=11^@/^@16^@/^@2001 Log("begin=$CGI->{ui_begin_date end=$CGI->{ui_end_date}"); ## So you ask, what good is date_widget? Do this: for('ui_begin_date', 'ui_end_date') { $CGI->{$_} = $Tag->filter('date_change', $CGI->{$_}; } ## Print then again ## begin=20011115 end=20011116 Log("begin=$CGI->{ui_begin_date end=$CGI->{ui_end_date}"); > if ($Session->{arg}) { > $Scratch ->{date_limit} = "AND created like '$Session->{arg}%'"; > } > elsif ($CGI->{ui_begin_date}) { > for (qw/ ui_begin_date ui_end_date/) { > $CGI -> {$_} = $Tag->filter ( { > op => 'date_change', > body => $CGI -> {$_} > } ); > } > $Scratch->{date_limit} = <<EOF > AND created >= '$CGI->{ui_begin_date}' > AND created <= '$CGI->{ui_end_date}Z' > EOF > } > else { > $Scratch -> {date_limit}= ""; > } > return; > [/calc] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 19 14:35:00 2001 Subject: [ic] Hiding VAT Quoting Kaare Rasmussen (kar@kakidata.dk): > The default foundation shows the price for each ordered item, and a sales > tax total when checking out. > > I need to show the price including 25% VAT for Danish customers, but without > VAT for customers from Greenland and the Faeroe Islands. > > For Danish customers, it would be nice to show the VAT total on the order > receipt. > > Will I have to change all pages where the price can be shown, or does > Interchange / Foundation handle this somehow? > > I can't seem to find it. > In catalog.cfg: SalesTax multi Then set country->tax->DK to "default = 25%". -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (joachim.richter) Date: Mon Nov 19 14:46:01 2001 Subject: [ic] reload - locales Hi list, I am fighting the locales Lets say I am on the results.html, and click my language --> it will automatically send me back to the index.html. It has to since <A HREF="[area href="process/locale/de_DE/page/index.html"]">blabla</a> but If I put in <A HREF="[area process/locale/de_DE/page/@@MV_PAGE@@]">blabla</a> I get an error message saying @@MV_PAGE@@ not found If I put just @@MV_PAGE@@ anywhere on a page it will print out the correct page title. All I like to do is stay on the same page after I pressed the language button. I think interchange gets confused with the @@MV_PAGE@@ in an a href. any ideas ? thanx JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 19 15:07:01 2001 Subject: [ic] reload - locales Quoting joachim.richter (joachim.richter@usvideocenter.de): > Hi list, > > I am fighting the locales > > Lets say I am on the results.html, and click my language --> > it will automatically send me back to the index.html. > > It has to since > > <A HREF="[area href="process/locale/de_DE/page/index.html"]">blabla</a> > > but If I put in > > <A HREF="[area process/locale/de_DE/page/@@MV_PAGE@@]">blabla</a> That won't work in a variable. But <A HREF="[area href="process/locale/de_DE/page/[var MV_PAGE 1]" ]">blabla</a> should work anywhere. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Nov 19 15:17:01 2001 Subject: [ic] reload - locales > > That won't work in a variable. But > > <A HREF="[area > href="process/locale/de_DE/page/[var MV_PAGE 1]" > ]">blabla</a> > > should work anywhere. Does this also mean that if you change locale when viewing a search-result, you get the same page? Rene From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 19 15:38:00 2001 Subject: [ic] reload - locales "Rene Hertell" <rene@hertell.com> writes: > > > > That won't work in a variable. But > > > > <A HREF="[area > > href="process/locale/de_DE/page/[var MV_PAGE 1]" > > ]">blabla</a> > > > > should work anywhere. > > Does this also mean that if you change locale when viewing a search-result, > you get the same page? Not with this method. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Nov 19 15:46:01 2001 Subject: [ic] reload - locales > > > That won't work in a variable. But > > > > > > <A HREF="[area > > > href="process/locale/de_DE/page/[var MV_PAGE 1]" > > > ]">blabla</a> > > > > > > should work anywhere. > > > > Does this also mean that if you change locale when viewing a > search-result, > > you get the same page? > > Not with this method. So, if I want to get the same search-result-page displayed, then I have to save the search-criteria in a scratch, and build up the new locale-page from that? Rene From: interchange-users at interchange.redhat.com (joachim.richter) Date: Mon Nov 19 16:36:01 2001 Subject: [ic] Sort by Date European Format Hi list, has anybody ever come across the european Date format which is DD.MM.YYYY (Day/Month/Year) ? I am trying to make a list that search articles by the date in the xeingdatum column, articles with empty xeingdatum fields will be filtered out, but the following search does not give any satisfying result. Since the 31.03.2000 will come before the 30.11.2000, does anybody have any experience with this ? thanx JoE [search-region more=1 search=" se= sf=xeingdatum op=ne co=1 st=sql fi=products ml=20 tf=xeingdatum to=nr "] [search-list] <TR> <TD ALIGN=LEFT>[item-data products description]</TD> <TD ALIGN=LEFT>[item-data products xeingdatum]</TD> </TR> [/search-list] <TR><TD COLSPAN=2><HR></TD></TR>[more-list] <TR> <TD>More</TD> <TD COLSPAN=1>[more]</TD> </TR> [/more-list] [/search-region] US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 19 17:05:00 2001 Subject: [ic] Sort by Date European Format "joachim.richter" <joachim.richter@usvideocenter.de> writes: > Hi list, > > has anybody ever come across the european Date format which is DD.MM.YYYY > (Day/Month/Year) ? > I am trying to make a list that search articles by the date in the xeingdatum column, > articles with empty xeingdatum fields will be filtered out, but the following search > does not give any satisfying result. > > Since the 31.03.2000 will come before the 30.11.2000, > does anybody have any experience with this ? What do you use as database ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 19 17:09:01 2001 Subject: [ic] Sort by Date European Format On Mon, Nov 19, 2001 at 10:36:21PM +0000, joachim.richter wrote: > Hi list, > > has anybody ever come across the european Date format which is DD.MM.YYYY > (Day/Month/Year) ? > I am trying to make a list that search articles by the date in the xeingdatum column, > articles with empty xeingdatum fields will be filtered out, but the following search > does not give any satisfying result. > > Since the 31.03.2000 will come before the 30.11.2000, > does anybody have any experience with this ? > > thanx JoE Some databases will do it automatically. Otherwise, why not just create a YYYYMMDD field on which to sort? > > > > [search-region more=1 search=" > > se= > sf=xeingdatum > op=ne > > co=1 > st=sql > fi=products > ml=20 > tf=xeingdatum > to=nr > "] > [search-list] > <TR> > <TD ALIGN=LEFT>[item-data products description]</TD> > <TD ALIGN=LEFT>[item-data products xeingdatum]</TD> > </TR> > > [/search-list] > <TR><TD COLSPAN=2><HR></TD></TR>[more-list] > <TR> > <TD>More</TD> > <TD COLSPAN=1>[more]</TD> > </TR> > [/more-list] > > [/search-region] > > US Video Center Medien GmbH > Heimsheimer Str 22 > 70499 Stuttgart > > Tel 0711 880252 0 > Fax 0711 880252 22 > Email joachim.richter@usvideocenter.de > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 19 17:11:00 2001 Subject: [ic] reload - locales "Rene Hertell" <rene@hertell.com> writes: > > > > That won't work in a variable. But > > > > > > > > <A HREF="[area > > > > href="process/locale/de_DE/page/[var MV_PAGE 1]" > > > > ]">blabla</a> > > > > > > > > should work anywhere. > > > > > > Does this also mean that if you change locale when viewing a > > search-result, > > > you get the same page? > > > > Not with this method. > > So, if I want to get the same search-result-page displayed, then I have to > save the search-criteria in a scratch, and build up the new locale-page from > that? Basically, yes. If you really need this, I will dig up a page from a MV shop where this worked. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Nov 19 17:24:01 2001 Subject: [ic] reload - locales > Basically, yes. If you really need this, I will dig up a page > from a MV shop where this worked. I personally don't need this for the moment, but I guess that many other people would be interested in this, especially those who run sites in Europe. I would anyway be interested in seeing how you solved this feature :) Rene From: interchange-users at interchange.redhat.com (Jason Ballou) Date: Mon Nov 19 17:37:01 2001 Subject: [ic] Competitors placing fake orders; need help... My exceedingly unscrupulous competitors are placing fake orders where they order several thousand of a few items at a time, depleting my inventory numbers for that item and preventing my customers from ordering it until I re-inventory the items. I am running version 4.8.1. What is the easiest way that I can set a maximum quantity per item, keeping in mind that I know almost nothing about programming? Thanks, Jason __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 19 17:43:01 2001 Subject: [ic] reload - locales "Stefan Hornburg (Racke)" wrote: > > "Rene Hertell" <rene@hertell.com> writes: > > > > > > That won't work in a variable. But > > > > > > > > > > <A HREF="[area > > > > > href="process/locale/de_DE/page/[var MV_PAGE 1]" > > > > > ]">blabla</a> > > > > > > > > > > should work anywhere. > > > > > > > > Does this also mean that if you change locale when viewing a > > > search-result, > > > > you get the same page? > > > > > > Not with this method. > > > > So, if I want to get the same search-result-page displayed, then I have to > > save the search-criteria in a scratch, and build up the new locale-page from > > that? > > Basically, yes. If you really need this, I will dig up a page > from a MV shop where this worked. Why not using <a href="[area href="process/locale/de_DE/page/[data session last_search]"]"> ? It works for me! See www.intos.de and search for "CPU" in the left menu (in the input field under the text "SUCHE / ART.NR". The button for the search is "SUCHE STARTEN"). After the results page is showing on in the main frame, you can swith the price between EURO and DM or switch the "image on / image off" (Bilder zeigen/ Bilder aus) and you get the same results page with another current price format or with item images. You can choose the locale for the price and the mode of the image displaying (on/off) in that and all other pages. ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Korksoft Support Services) Date: Mon Nov 19 17:52:00 2001 Subject: [ic] Competitors placing fake orders; need help... Why don't you just disable the inventory feature.... or set the inventory to something like 999999. Jason. Jason Ballou wrote: > > My exceedingly unscrupulous competitors are placing > fake orders where they order several thousand of a few > items at a time, depleting my inventory numbers for > that item and preventing my customers from ordering it > until I re-inventory the items. > > I am running version 4.8.1. What is the easiest way > that I can set a maximum quantity per item, keeping in > mind that I know almost nothing about programming? > > Thanks, > Jason > > __________________________________________________ > Do You Yahoo!? > Find the one for you at Yahoo! Personals > http://personals.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 19 17:54:00 2001 Subject: [ic] Allgemeine Fragen zu IC On Mon, 19 Nov 2001, Joachim Leidinger wrote: JL>>this is an english spoken list. Write your next email in english! JL>>At the moment...I give you short answers in german. My personal feelings are that: (others on the list may not agree with me!) As long as he realizes that if he asks questions in a non-English language that his help may be limited, or non-existent and if his knowledge of English is very limited, that it's better to ask in a native tongue than to not ask at all and keep banging his head against the wall. It's my impression that we have numerous very knowledgeable people on the list that are versatile enough to cover many languages. However, others may want to keep the list strictly English. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 19, 2001 at 17:45 PM: Of all the things I've lost, I miss my mind the most. ---------------------------------------------------------------- This Linux System has been up 189 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 19 17:55:16 2001 Subject: [ic] Competitors placing fake orders; need help... Jason Ballou <jasonballou1@yahoo.com> writes: > My exceedingly unscrupulous competitors are placing > fake orders where they order several thousand of a few > items at a time, depleting my inventory numbers for > that item and preventing my customers from ordering it > until I re-inventory the items. > > I am running version 4.8.1. What is the easiest way > that I can set a maximum quantity per item, keeping in > mind that I know almost nothing about programming? You can check the order amount on the basket and checkout page and disallow any orders above a certain limit. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 19 17:57:00 2001 Subject: [ic] Host Crashed?> HELP On Mon, 19 Nov 2001, Dan Browning wrote: DB>>RE: [ic] Toast Burnt? > HELP DB>> DB>>Hello my toast burnt and lost my tastbuds lucky i have run-on sentances, DB>>but when i restored my horrible english, the capitalization of personal DB>>pronouns didnt work, then i tried taking out just the apostrophes i DB>>think would restore the toast and it worked but only for a couple days, DB>>then I would have to have another run-on sentence, then it would say an DB>>error message that i didnt bother to write down, anybody know what i can DB>>possibly do to repair my horrible lamer attitude with side of laziness DB>>and bad communication skills? like what is wrong with my brain???? DB>>please thanks alot! It's always a pleasure, Dan! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 19, 2001 at 17:55 PM: Recovery program for excessive talkers: On-and-on-Anon. ---------------------------------------------------------------- This Linux System has been up 189 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Nov 19 17:59:00 2001 Subject: [ic] reload - locales > Why not using > > <a href="[area href="process/locale/de_DE/page/[data session > last_search]"]"> This I have to try next time I have to use some locale settings. Thanks for the tip! > It works for me! See www.intos.de and search for "CPU" in the left menu Your site looks really nice! The idea with switching on/off the images is a really great idea. I had to compromise with the images, when we built our site last year. We wanted a fast site for all speeds, and that's why we used minimal sized graphics on our pages. Now with this piece of code we could have used "hi-speed" and "low-speed" pages :) Rene From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 19 18:01:01 2001 Subject: [ic] Competitors placing fake orders; need help... On Mon, Nov 19, 2001 at 02:36:46PM -0800, Jason Ballou wrote: > My exceedingly unscrupulous competitors are placing > fake orders where they order several thousand of a few > items at a time, depleting my inventory numbers for > that item and preventing my customers from ordering it > until I re-inventory the items. > > I am running version 4.8.1. What is the easiest way > that I can set a maximum quantity per item, keeping in > mind that I know almost nothing about programming? Charge their card and ship what you have. Back order the rest. Otherwise, set up an order profile that blocks big orders. > > Thanks, > Jason > > __________________________________________________ > Do You Yahoo!? > Find the one for you at Yahoo! Personals > http://personals.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 19 18:09:01 2001 Subject: [ic] Allgemeine Fragen zu IC > On Mon, 19 Nov 2001, Joachim Leidinger wrote: > > JL>>this is an english spoken list. Write your next email in > english! At > JL>>the moment...I give you short answers in german. > > My personal feelings are that: (others on the list may not > agree with me!) > > As long as he realizes that if he asks questions in a > non-English language that his help may be limited, or > non-existent and if his knowledge of English is very limited, > that it's better to ask in a native tongue than to not ask at > all and keep banging his head against the wall. > > It's my impression that we have numerous very knowledgeable > people on the list that are versatile enough to cover many languages. > > However, others may want to keep the list strictly English. > > -= Jim =- I agree, some occasional lingual variety makes it fun, verdad? Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 19 18:11:00 2001 Subject: [ic] Competitors placing fake orders; need help... On Mon, 19 Nov 2001, Jason Ballou wrote: JB>>My exceedingly unscrupulous competitors are placing JB>>fake orders where they order several thousand of a few JB>>items at a time, depleting my inventory numbers for JB>>that item and preventing my customers from ordering it JB>>until I re-inventory the items. JB>> JB>>I am running version 4.8.1. What is the easiest way JB>>that I can set a maximum quantity per item, keeping in JB>>mind that I know almost nothing about programming? I hope that you are not using IC as a serious inventory control. Perhaps Foundation is different, but Construct is useless for this. When I add an item to the store, I set the inventory at around 1000000 so that it gets ignored. It's rare that I am out of stock on something, or if I am, I can have it in stock in 2-3 days. I don't have any problem in writing the order up, charging the charge card and back ordering what they have ordered. When the charge card fails, I don't have to order the stuff. If they are giving you a valid charge card that you can sucessfully hit let them suffer the problems of getting it all cancelled. I would make them wait several days to process the credit citing a heavy workload as punishment. (I'm doing my inventory control, as well as credit card processing on my Point Of Sale terminal) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 19, 2001 at 18:00 PM: Useless Invention: Double-sided playing cards. ---------------------------------------------------------------- This Linux System has been up 189 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 19 18:22:00 2001 Subject: [ic] Competitors placing fake orders; need help... > On Mon, 19 Nov 2001, Jason Ballou wrote: > > JB>>My exceedingly unscrupulous competitors are placing > JB>>fake orders where they order several thousand of a few items at a > JB>>time, depleting my inventory numbers for that item and > preventing my > JB>>customers from ordering it until I re-inventory the items. > JB>> > JB>>I am running version 4.8.1. What is the easiest way > JB>>that I can set a maximum quantity per item, keeping in > JB>>mind that I know almost nothing about programming? > > I hope that you are not using IC as a serious inventory > control. Perhaps Foundation is different, but Construct is > useless for this. > > When I add an item to the store, I set the inventory at > around 1000000 so that it gets ignored. It's rare that I am > out of stock on something, or if I am, I can have it in stock > in 2-3 days. I don't have any problem in writing the order > up, charging the charge card and back ordering what they have > ordered. When the charge card fails, I don't have to order the stuff. > > If they are giving you a valid charge card that you can > sucessfully hit let them suffer the problems of getting it > all cancelled. I would make them wait several days to process > the credit citing a heavy workload as punishment. > > (I'm doing my inventory control, as well as credit card > processing on my Point Of Sale terminal) > > > -= Jim =- Ha ha! Jim mentioned inventory control, which is my cue to blab on again about Compiere (are you guys sick of me yet, or what?). Compiere, as you have all heard me say before, is the best open source CRM / ERP out there. It is now the 5th most active project at sourceforge.net. Version 2.4.0 beta 2 was just released, so if you haven't already checked it out, now is the time: http://sourceforge.net/projects/compiere/ Now back to our regularly scheduled programming... Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 19 18:27:01 2001 Subject: [ic] Competitors placing fake orders; need help... [snip] >When I add an item to the store, I set the inventory at around 1000000 so >that it gets ignored. It's rare that I am out of stock on something, or if I >am, I can have it in stock in 2-3 days. I don't have any problem in writing >the order up, charging the charge card and back ordering what they have >ordered. When the charge card fails, I don't have to order the stuff. [snip] >-= Jim =- >From my work with Gaiam.com, I have always been under the understanding that it is illegal to charge a credit card before you have shipped the product. Can anyone verify this? Maybe it's just a policy that Gaiam has implemented to keep their customers happy. We first developed the site 2 years ago, so my rememberance is a bit rusty. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 19 18:32:00 2001 Subject: [ic] Competitors placing fake orders; need help... > [snip] > > >When I add an item to the store, I set the inventory at > around 1000000 > >so that it gets ignored. It's rare that I am out of stock on > something, > >or if > I > >am, I can have it in stock in 2-3 days. I don't have any problem in > >writing the order up, charging the charge card and back > ordering what > >they have ordered. When the charge card fails, I don't have to order > >the stuff. > > [snip] > > >-= Jim =- > > From my work with Gaiam.com, I have always been under the > understanding that it is illegal to charge a credit card > before you have shipped the product. Can anyone verify this? > Maybe it's just a policy that Gaiam has implemented to keep > their customers happy. We first developed the site 2 years > ago, so my rememberance is a bit rusty. > > Patrick Bennett Insurance companies and government insurance (Medicare) place some restrictions on that sort of thing (e.g. for copays that are paid via credit card), but other than that I haven't heard of it. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Mon Nov 19 18:34:00 2001 Subject: [ic] SQL insert with a form I have gone over the mailing lists and the docs on how to insert into a table with a form. I have followed the instructions for UPDATING a database with a form at: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates10%2e09, but I get an "Attempted database update without permission". Searching through the maillist, the answer to that question is to have mv_data_enable set to 1, which I do, and I still get nothing. Below is what I have in my form, can someone PLEASE help me. Thank you, Dorothy Puma [set mv_data_enable]1[/set] <FORM METHOD=POST ACTION="[process-target]"> <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> <INPUT TYPE=HIDDEN NAME="mv_data_fields" VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, servicePerformed,host,domain"> <INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Mon Nov 19 19:01:01 2001 Subject: [ic] Competitors placing fake orders; need help... Quoting Jason Ballou: > My exceedingly unscrupulous competitors are placing > fake orders where they order several thousand of a few > items at a time, depleting my inventory numbers for > that item and preventing my customers from ordering it > until I re-inventory the items. > > I am running version 4.8.1. What is the easiest way > that I can set a maximum quantity per item, keeping in > mind that I know almost nothing about programming? Perhaps you have some form of payment other than credit card which the "seedy characters" are using to avoid inputting a valid card number. I found this in my private archive and then resourced the mail archives at RedHat. Maybe this will help. http://interchange.redhat.com/archive/interchange-users/2000/msg09957.html Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 19 19:28:00 2001 Subject: [ic] Competitors placing fake orders; need help... On Mon, 19 Nov 2001, Dan Browning wrote: DB>>> From my work with Gaiam.com, I have always been under the DB>>> understanding that it is illegal to charge a credit card DB>>> before you have shipped the product. Can anyone verify this? DB>>> Maybe it's just a policy that Gaiam has implemented to keep DB>>> their customers happy. We first developed the site 2 years DB>>> ago, so my rememberance is a bit rusty. DB>>> DB>>> Patrick Bennett DB>> DB>>Insurance companies and government insurance (Medicare) place some DB>>restrictions on that sort of thing (e.g. for copays that are paid via DB>>credit card), but other than that I haven't heard of it. Some years ago (8 maybe) I lost my merchant account for Visa and Mastercard because I helped out a buddy in the carpet cleaning business. When I tried to get it back I ran into a lot of obstacles, including my doing computer consulting (which they refused to provide services for) as well as (a long laundry list of things, including florists) billing at the beginning of the month for services during the coming month (voice mail service in this case) My current provider has but 2 restrictions (before First Charter sold out to IMS, which may be different, but I haven't been told!) 1: No telemarketing 2: No adult content I don't care what any of those companies say - if I have to special order in a large amount of inventory, I want to make sure that the money is good before I order! There are too many companies that are desperate to sign up merchants for merchant accounts to have obstacles such as this in the way. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 19, 2001 at 19:20 PM: Variables won't; constants aren't. ---------------------------------------------------------------- This Linux System has been up 190 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 19 19:34:00 2001 Subject: [ic] American Express I just tried to make a charge on my American Express card at Domain Discover and it was declined. I called American Express and learned the reason. In the expiration date I had put in '05'as the month when the actual expiration month is '06'. I was told that they are now declining all charges with an incorrect expiration date. I have also encountered this, a little, with Visa and MasterCard. If you are getting declinations and the customers are insisting that there is money in the account, check the expiration dates closely. (I don't have a problem with this procedure, and I'm not objecting to it. In fact, I like it!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 19, 2001 at 19:30 PM: Scrute the inscrutable, eff the ineffable. ---------------------------------------------------------------- This Linux System has been up 190 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 19 20:22:00 2001 Subject: [ic] SQL insert with a form On Mon, Nov 19, 2001 at 03:33:40PM -0800, Dorothy Puma wrote: > I have gone over the mailing lists and the docs on how to insert into a > table with a form. I have followed the instructions for UPDATING a > database > with a form at: > http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates10%2e09, > but I get an "Attempted database update without > permission". Searching through the maillist, the answer to that question > is to have mv_data_enable set to 1, which I do, and I still get nothing. > Below > is what I have in my form, can someone PLEASE help me. You can get permission denied for a number of reasons. Is that an sql database or a local dbm? What are the permissions of the database? > > Thank you, > Dorothy Puma > > [set mv_data_enable]1[/set] > <FORM METHOD=POST ACTION="[process-target]"> > <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> > <INPUT TYPE=HIDDEN NAME="mv_data_fields" > VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > servicePerformed,host,domain"> > <INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Kevin Wright) Date: Mon Nov 19 21:09:01 2001 Subject: [ic] How to? How do I un-subscribe? Thanks, Kevin From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Nov 19 21:31:01 2001 Subject: [ic] Competitors placing fake orders; need help... Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > Jason Ballou <jasonballou1@yahoo.com> writes: > > > My exceedingly unscrupulous competitors are placing > > fake orders where they order several thousand of a few > > items at a time, depleting my inventory numbers for > > that item and preventing my customers from ordering it > > until I re-inventory the items. > > > > I am running version 4.8.1. What is the easiest way > > that I can set a maximum quantity per item, keeping in > > mind that I know almost nothing about programming? > > You can check the order amount on the basket and checkout > page and disallow any orders above a certain limit. Actually, this is built into 4.8.x: Limit cart_quantity_per_line 50 -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at interchange.redhat.com (murahashi) Date: Mon Nov 19 22:26:00 2001 Subject: [ic] Code convert of Form input data Two manths ago, I asked about input-filter, but I was not able to have a solution. Mike, Thanks for your answer at that time. Again, I tried some cases but not yet. > Presumably you would use an external module to convert it, in which > case you would make a global UserTag to access it, and your code > inside the filter would look like "$val = $Tag->your_convert_tag($val)". I have global Usertag like sjis and it works well like this. [sjis]xxxx[/sjis] But the following filter have an error in error.log. [input-filter name=mv_searchspec] my $val = $CGI->{mv_searchspec}; $val = $Tag->sjis($val); return $val; [/input-filter] <<error.log>> 211.124.7.107 VWjQ44Cc:211.124.7.107 - [20/November/2001:11:27:40 +0900] foundation /cgibin/foundation.cgi/search.html Safe: unpack trapped by operation mask at /home/sites/home/interchange/lib/jcode.pl line 506. > > > my $val = $CGI->{mv_searchspec}; > $val = $Tag->sjis($val); > return $val; What is wrong or what should I do? Any help would be appreciated. S.Muruhashi ----- Original Message ----- From: <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 07, 2001 8:48 PM Subject: Re: [ic] Code convert of Form input data > Quoting murahashi@ayayu.com (murahashi@ayayu.com): > > We have to convert input data from form input, and insert/update interchange > > database. > > Like this. > > > > {Form input} ---> [code conversion] ----> [interchange database] > > ISO-2022-JP ====> euc-JP > > > > Code conversion means, for example, from ISO-2022-JP to euc-JP. > > > > For search function like below, we don't know way to convert code of > > searchspec. > > > > <FORM ACTION="[area search]"> > > <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> > > <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> > > <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10> > > <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> > > <INPUT TYPE=hidden NAME=mv_search_field VALUE=inactive> > > <INPUT TYPE=hidden NAME=mv_search_field VALUE=":*"> > > <INPUT TYPE=hidden NAME=mv_column_op VALUE=ne> > > <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> > > <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1> > > <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10> > > <INPUT TYPE=image alt="Search Go" border="0" src="navigation/go.gif" > > width="23" height="17"> > > </form> > > > > Any idea or help would be appreciated. > > I am afraid I don't know how to do the conversion, but assuming there > is some code that does that, just add a filter: > > [input-filter name=mv_searchspec] > my $val = $CGI->{mv_searchspec}; > # code to effect the conversion goes here > return $val; > [/input-filter] > > If you have already defined a $Vend::Interpolate::Filter that does > the conversion, then it is just: > > [input-filter name=mv_searchspec op=your_filter][/input-filter] > > If mv_searchspec is *always* to be filtered, you can instead > do in catalog.cfg: > > Filter mv_searchspec your_filter > > Presumably you would use an external module to convert it, in which > case you would make a global UserTag to access it, and your code > inside the filter would look like "$val = $Tag->your_convert_tag($val)". > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Research is what I'm doing when I don't know what I'm doing. > -- Wernher Von Braun > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Morrie Wyatt) Date: Mon Nov 19 22:36:02 2001 Subject: [ic] How to? Hi Kevin. ----- Original Message ----- From: "Kevin Wright" <kwright@tolosatech.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 20, 2001 1:05 PM Subject: [ic] How to? > How do I un-subscribe? > Thanks, Kevin > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ^ Try starting at the above URL ---^ Regards, Morrie. Morrie Wyatt (morrie@mtiqualos.com.au) ----------------------------------------- M.T.I. Qualos Pty. Ltd. 55 Northern Rd. West Heidelberg Vic. 3081 Ph: (03)9450-1900 Fax: (03)9450-1947 ----------------------------------------- From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Mon Nov 19 22:39:59 2001 Subject: [ic] SQL insert with a form Thank you for responding! It's a mySql database. I know it's not permissions on the mySql database, because I can insert into the database using the [query sql="INSERT INTO Tkt SET customerName='[value customerName]', timeTkt='[value timeTkt ]';"] command. I can also see that Interchange is not even trying to connect into the mySql database, I have logging turned on and can see all requests on the database, and nothing. The only problem that I have with the [query sql="INSERT INTO (etc) ] command, is getting the single quotes escaped out before it is written to the database. So, I was trying to use the mv_data_function commands instead. Any ideas?? Thanks, Dorothy At 05:21 PM 11/19/01, cfm@maine.com wrote: >On Mon, Nov 19, 2001 at 03:33:40PM -0800, Dorothy Puma wrote: > > I have gone over the mailing lists and the docs on how to insert into a > > table with a form. I have followed the instructions for UPDATING a > > database > > with a form at: > > > http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates10%2e09, > > but I get an "Attempted database update without > > permission". Searching through the maillist, the answer to that question > > is to have mv_data_enable set to 1, which I do, and I still get nothing. > > Below > > is what I have in my form, can someone PLEASE help me. > > >You can get permission denied for a number of reasons. Is that >an sql database or a local dbm? What are the permissions of the database? > > > > > Thank you, > > Dorothy Puma > > > > [set mv_data_enable]1[/set] > > <FORM METHOD=POST ACTION="[process-target]"> > > <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> > > <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> > > <INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> > > <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> > > <INPUT TYPE=HIDDEN NAME="mv_data_fields" > > VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > > servicePerformed,host,domain"> > > <INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > >-- > >Christopher F. Miller, Publisher cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 >1.207.657.5078 http://www.maine.com/ >Content/site management, online commerce, internet integration, Debian linux >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Mon Nov 19 22:44:01 2001 Subject: [ic] How to? Follow this link, and put your email address in where it says: "To change your subscription (set options like digest and delivery modes, get a reminder of your password, or unsubscribe from interchange-users), enter your subscription email address" http://interchange.redhat.com/mailman/listinfo/interchange-users --- Dorothy Puma At 06:05 PM 11/19/01, you wrote: >How do I un-subscribe? >Thanks, Kevin >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kevin Wright) Date: Mon Nov 19 22:56:01 2001 Subject: [ic] How to? Thanks, The information at that url only discusses how to subscribe. That's why I sent my question to the list! Unless I'm not reading it correctly??? Thanks, Kevin -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Morrie Wyatt Sent: Monday, November 19, 2001 7:35 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] How to? Hi Kevin. ----- Original Message ----- From: "Kevin Wright" <kwright@tolosatech.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 20, 2001 1:05 PM Subject: [ic] How to? > How do I un-subscribe? > Thanks, Kevin > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ^ Try starting at the above URL ---^ Regards, Morrie. Morrie Wyatt (morrie@mtiqualos.com.au) ----------------------------------------- M.T.I. Qualos Pty. Ltd. 55 Northern Rd. West Heidelberg Vic. 3081 Ph: (03)9450-1900 Fax: (03)9450-1947 ----------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kevin Wright) Date: Mon Nov 19 23:14:01 2001 Subject: [ic] How to? Thanks! Thanks All, See, it was right in front of my nose. Good thing it wasn't a snake! See ya, Kevin From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 19 23:36:00 2001 Subject: [ic] safe::hole missing hi, i'm installing interchange and i'm getting a configuration error saying the safe::hole is missing. can anyone help me with this? jppatches@aol.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 20 02:35:01 2001 Subject: [ic] Code convert of Form input data murahashi <murahashi@ayayu.com> writes: > Two manths ago, I asked about input-filter, but I was not able to have a > solution. > Mike, Thanks for your answer at that time. > Again, I tried some cases but not yet. > > > Presumably you would use an external module to convert it, in which > > case you would make a global UserTag to access it, and your code > > inside the filter would look like "$val = $Tag->your_convert_tag($val)". > > I have global Usertag like sjis and it works well like this. > [sjis]xxxx[/sjis] > > But the following filter have an error in error.log. > [input-filter name=mv_searchspec] > my $val = $CGI->{mv_searchspec}; > $val = $Tag->sjis($val); > return $val; > [/input-filter] > > > <<error.log>> > 211.124.7.107 VWjQ44Cc:211.124.7.107 - [20/November/2001:11:27:40 +0900] > foundation /cgibin/foundation.cgi/search.html Safe: unpack trapped by > operation mask at /home/sites/home/interchange/lib/jcode.pl line 506. Hm, does it work within [calc] or [perl] ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Bradley Caricofe) Date: Tue Nov 20 05:12:01 2001 Subject: [ic] Bizarre entry in error.log I have a very simple foundation storefront setup and have made only minor changes to the demo like adding new products. This morning I went to apply changes after editing 10 or so items in the backend and IC crashed. I've had it on this server for about 2 weeks running great. My catalog error.log said: 24.18.163.71 jIZAHCff:24.18.163.71 - [20/November/2001:05:00:36 -0500] - /cgi-bin/store.cgi/admin/login Safe: (in cleanup) Bizarre copy of ARRAY in leaveeval at (eval 450) line 1. The IC error log was only a little diff: 24.18.163.71 jIZAHCff:24.18.163.71 - [20/November/2001:05:02:15 -0500] - /cgi-bin/store.cgi/admin/item_edit Safe: (in cleanup) Bizarre copy of ARRAY in leaveeval at (eval 463) line 1. - any ideas? thanks, Brad __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 From: interchange-users at interchange.redhat.com (admin) Date: Tue Nov 20 05:37:02 2001 Subject: [ic] display only 25 instead of 50 products on result page! hello together, I will display only 25 instead of 50 products on result page ! The list is to long with 50 products and I hope to get a faster result page. regards Erik Kendel From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Nov 20 05:48:00 2001 Subject: [ic] display only 25 instead of 50 products on result page! hi, you can set this with the mv_matchlimit var. Exemple for the search: modify this line in components/template/search_box_small <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=[control matches 50]> and replace 50 with 25. David ----- Original Message ----- From: "admin" <admin@web-vision.de> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 20, 2001 11:36 AM Subject: [ic] display only 25 instead of 50 products on result page! > hello together, > > I will display only 25 instead of 50 products on result page ! > The list is to long with 50 products and I hope to get a faster > result page. > > regards > Erik Kendel > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (fctmaillist) Date: Tue Nov 20 05:51:01 2001 Subject: [ic] Installation Problem hi list, I tried to install interchange-foundation-demo-4.8.1-1.rpm in Redhat Linux 7.2. we got the following error error : failed dependencies interchange is needed by interchange-foundation-demo-4.8.1-1 Can any of you help me to successfully install interchange? thanks, joyce.j. From: interchange-users at interchange.redhat.com (Peter Moutsatsos) Date: Tue Nov 20 05:58:00 2001 Subject: [ic] Problems with interchange 4.6.3 install Hi all, This is my first install attempt of interchange, but I am quite knowledgable in linux. I've received the following error when I run ./configure. It occurs during, I presume, the 'make test' section: PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl5.00503/mach -I/usr/libdata/perl5.00503 test.pl server/unixmode...... ok 1 server/startup........... ok 2 link/unixmode........... ok 3 server/inetmode....... ok 4 link/inetmode............ not ok 5 server/control........... ok 6 6 tests run -- 1/6 tests failed. *** Error code 1 Stop. Any ideas how I can fix this installation error? Cheers, Peter Moutsatsos moutsatsos@ozemail.com.au From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Tue Nov 20 07:25:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Steffen Dettmer wrote on Thu, Nov 15, 2001 at 11:56 +0100: > Is it enough to move the catalog/catname/session to a local file > system? If possible I would like to keep the catalog on NFS > (beacuse of backups and so on). Do you think it's enough to make > session a symlink to something local? Seems to be not enough; moving session to a local file system didn't solved it (yes, I set "LockType fcntl" in interchange.cfg). > > This is just timing problem. If we can't lock reliably, file-based > > sessions simply will not work. You could move to DBI sessions. > > This would be an alternative, but since I have only a single web > server I think it's a lot more performant to have file based > sessions, correct? So I would prefere to have the sessions on a > local file system. What files are locking? I assume at least writeable file: log files and the DB-Files? So I should move session, error.log and products/ to a local file system? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (David Totten) Date: Tue Nov 20 07:41:01 2001 Subject: [ic] How to? On Mon, Nov 19, 2001 at 07:52:52PM -0800, Kevin Wright wrote: > Thanks, The information at that url only discusses how to subscribe. That's > why I sent my question to the list! Unless I'm not reading it correctly??? > > Thanks, Kevin > You are reading it wrong. At the very bottom of the page, there is a place that you can enter in an email address. If you enter the email address that this mailing list is sending email to, you will be presented with options for your "account". Those options include the ability to unsubscribe. Dave Totten -- ___________________________________________________________________ GnuPG uid: 0x887B864C Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C For more information about GnuPG, visit http://www.gnupg.org From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 20 07:53:00 2001 Subject: [ic] Installation Problem "fctmaillist" <fctmaillist@megasoft.com> writes: > hi list, > I tried to install interchange-foundation-demo-4.8.1-1.rpm in Redhat > Linux 7.2. we got the following error > error : > failed dependencies > interchange is needed by interchange-foundation-demo-4.8.1-1 > > Can any of you help me to successfully install interchange? Anything is said. Install the interchange rpm first. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 20 08:38:01 2001 Subject: [ic] Problems with interchange 4.6.3 install On Tue, Nov 20, 2001 at 09:04:38PM +1000, Peter Moutsatsos wrote: > Hi all, > > This is my first install attempt of interchange, but I am quite > knowledgable in linux. > > I've received the following error when I run ./configure. > > It occurs during, I presume, the 'make test' section: > > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/usr/libdata/perl5.00503/mach -I/usr/libdata/perl5.00503 test.pl > server/unixmode...... ok 1 > server/startup........... ok 2 > link/unixmode........... ok 3 > server/inetmode....... ok 4 > link/inetmode............ not ok 5 > server/control........... ok 6 > 6 tests run -- 1/6 tests failed. > *** Error code 1 > > Stop. > > Any ideas how I can fix this installation error? I'd bet you can ignore it and proceed. That would be for cross server catalogs, say ssl on one machine and the catalog on another. If you are running it all on one machine, you won't need inetmode. It has to do with your tlink code in src directory. Anyone knowledgable should be able to get tlink to work when and if they need it later. :-) Likewise I assume you have good reason to use old versions like 4.6.3 and perl5.005. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Tue Nov 20 09:06:00 2001 Subject: [ic] Installation Problem ---Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of fctmaillist Sent: Tuesday, November 20, 2001 4:26 PM To: interchange-users@interchange.redhat.com Subject: [ic] Installation Problem hi list, I tried to install interchange-foundation-demo-4.8.1-1.rpm in Redhat Linux 7.2. we got the following error error : failed dependencies interchange is needed by interchange-foundation-demo-4.8.1-1 Can any of you help me to successfully install interchange? thanks, joyce.j. You need to install the interchange.rpm first. From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Nov 20 09:56:00 2001 Subject: [ic] safe::hole missing "i'm getting a configuration error saying the safe::hole is missing." Right after that it reccommends a fix for that problem, and that fix works....really well. Install the interchange bundle. Or download the RPM for that module. -- Fred Pope Satcom Resources 970-748-3094 fred@satcomresources.com http://www.satcomresources.com From: interchange-users at interchange.redhat.com (Gustavo A. Barreto A.) Date: Tue Nov 20 10:35:00 2001 Subject: [ic] Results Template ----- Original Message ----- From: Gustavo A. Barreto A. To: interchange-users@interchange.redhat.com Sent: Monday, November 19, 2001 11:01 AM Subject: Re: [ic] Results Template I tried to setup modular and matrix options to resolve this problem, I readed in the list something about the modular options component but I cannot find'em so if someone can help me with this I will apreciate a lot. ----- Original Message ----- From: Gustavo A. Barreto A. To: interchange-users@interchange.redhat.com Sent: Thursday, November 08, 2001 11:30 AM Subject: [ic] Results Template Hello all, I have a customer who wants to make something a little bit different. He sells shoes and he wants to have a box for determine the ammount of shoes of each size the client want to buy. I mean something like: SKU Description SIZES 5 6 7 8 9 10 12 14 XXX-01 SHOE 1 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] ADD TO CART The way it should work is writing the ammount of each size the user wants to buy, and after the user uses the add to cart button all the information should go to the shopping cart. Additionally he doesnt wants to ask the user for any payment method. Now the question: Any idea how can I that? Any help will be apreciated! Thnks. Gustavo. From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Tue Nov 20 11:43:01 2001 Subject: [ic] modular options http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e01 http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e08 on various places on the site there are references to a few components which I cannot find. modular_buy modular_update I have downloaded 4.8.2 and do not see it anywhere. http://interchange.redhat.com/cgi-bin/cvsweb/interchange/dist/foundation/templates/components/ does not show them either.. so. where are they? Ven From: interchange-users at interchange.redhat.com (Scott Andreas---Learning Services, Inc) Date: Tue Nov 20 12:10:00 2001 Subject: [ic] Competitors placing fake orders; need help... The Bastards!!! Since you have their IP information DENY them access to your webserver in effect you would be blocking access to your webserver from scrupulous individuals such as they. Or, tell them that if it happens again you will report them to the better business bureau and if they do it again follow up with your threat. Or, you can always edit the page and display inventory if it is equal to or less than 0. What this would do is display your products even though your inventory is in the negative. GoodLuck -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Ballou Sent: Monday, November 19, 2001 2:37 PM To: interchange-users@interchange.redhat.com Subject: [ic] Competitors placing fake orders; need help... My exceedingly unscrupulous competitors are placing fake orders where they order several thousand of a few items at a time, depleting my inventory numbers for that item and preventing my customers from ordering it until I re-inventory the items. I am running version 4.8.1. What is the easiest way that I can set a maximum quantity per item, keeping in mind that I know almost nothing about programming? Thanks, Jason __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 20 12:21:01 2001 Subject: [ic] Competitors placing fake orders; need help... At 09:30 PM 11/19/2001 -0500, you wrote: >Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > Jason Ballou <jasonballou1@yahoo.com> writes: > > > > > My exceedingly unscrupulous competitors are placing > > > fake orders where they order several thousand of a few > > > items at a time, depleting my inventory numbers for > > > that item and preventing my customers from ordering it > > > until I re-inventory the items. > > > > > > I am running version 4.8.1. What is the easiest way > > > that I can set a maximum quantity per item, keeping in > > > mind that I know almost nothing about programming? > > > > You can check the order amount on the basket and checkout > > page and disallow any orders above a certain limit. > You might want to consider blocking their traffic in it's entirety, using entries in an .htaccess file in your cgi-bin or some other method provided by Apache. Then they get nothing but a 403 error page - no access to the catalog at all. Also, if you know who these people are (and if you have their IP's from Apache's access_log file you are well on your way), demand that they stop, and make sure they know you mean business. Consider having a lawyer write the demand for you. I wouldn't be surprised if what they are doing would be legally classified as malicious, fraud, or otherwise in violation if the Interstate Commerce Code. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 20 12:25:01 2001 Subject: [ic] SQL insert with a form At 03:33 PM 11/19/2001 -0800, you wrote: >I have gone over the mailing lists and the docs on how to insert into a >table with a form. I have followed the instructions for UPDATING a >database >with a form at: >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates10%2e09, >but I get an "Attempted database update without >permission". Searching through the maillist, the answer to that question >is to have mv_data_enable set to 1, which I do, and I still get nothing. >Below >is what I have in my form, can someone PLEASE help me. > >Thank you, >Dorothy Puma > >[set mv_data_enable]1[/set] ><FORM METHOD=POST ACTION="[process-target]"> ><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> ><INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> ><INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> ><INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> ><INPUT TYPE=HIDDEN NAME="mv_data_fields" >VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, >servicePerformed,host,domain"> ><INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> >_______________________________________________ FWIW - You are missing: <input type=your_choice name=tktnum value="a_key_id"> - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Tue Nov 20 12:28:00 2001 Subject: [ic] display only 25 instead of 50 products on result page! Quoting Erik Kendel: > I will display only 25 instead of 50 products on result page ! > The list is to long with 50 products and I hope to get a faster > result page. You don't mention what your search criteria is or where you are searching from. If you are searching from the category list on the leftside, you want to go to the admin section --> Design, the select an area and a category. For you category search select Complex search, then select Create under 'Complex search link'. This should get you going. Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Tue Nov 20 12:41:01 2001 Subject: [ic] Competitors placing fake orders; need help... I wish I was as fortunate to have this problem..... I'd charge them for every item and ship them all their crap! They wouldn't do it again! -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Scott Andreas---Learning Services, Inc Sent: Tuesday, November 20, 2001 12:05 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Competitors placing fake orders; need help... The Bastards!!! Since you have their IP information DENY them access to your webserver in effect you would be blocking access to your webserver from scrupulous individuals such as they. Or, tell them that if it happens again you will report them to the better business bureau and if they do it again follow up with your threat. Or, you can always edit the page and display inventory if it is equal to or less than 0. What this would do is display your products even though your inventory is in the negative. GoodLuck -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jason Ballou Sent: Monday, November 19, 2001 2:37 PM To: interchange-users@interchange.redhat.com Subject: [ic] Competitors placing fake orders; need help... My exceedingly unscrupulous competitors are placing fake orders where they order several thousand of a few items at a time, depleting my inventory numbers for that item and preventing my customers from ordering it until I re-inventory the items. I am running version 4.8.1. What is the easiest way that I can set a maximum quantity per item, keeping in mind that I know almost nothing about programming? Thanks, Jason __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 20 12:47:00 2001 Subject: [ic] SQL insert with a form My database actually does an autoincrement on the Primary Key field, which works fine when I use the [query sql="INSERT INTO Tkt SET customerName='[value customerName]', HelpDeskNum='[value HelpDeskNum]',serviceDate='[value serviceDate]', LocationWork='[value LocationWork]', AfterHours='[value AfterHours]'"] command. I have tried adding the primary key in the "mv_data_fields": <INPUT TYPE=HIDDEN NAME="mv_data_fields" VALUE="tktnum,customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, servicePerformed,host,domain"> and having an input field with the tktnum, but I still get the error. Ticket Number: <INPUT NAME="tktnum" SIZE=30 > What I really want to do is escape out the sinqle quotes out of my test before it gets written to the database, as the single quotes cause an SQL error. Any ideas?? Thanks, Dorothy Ed LaFrance wrote: > At 03:33 PM 11/19/2001 -0800, you wrote: > >I have gone over the mailing lists and the docs on how to insert into a > >table with a form. I have followed the instructions for UPDATING a > >database > >with a form at: > >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates10%2e09, > >but I get an "Attempted database update without > >permission". Searching through the maillist, the answer to that question > >is to have mv_data_enable set to 1, which I do, and I still get nothing. > >Below > >is what I have in my form, can someone PLEASE help me. > > > >Thank you, > >Dorothy Puma > > > >[set mv_data_enable]1[/set] > ><FORM METHOD=POST ACTION="[process-target]"> > ><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> > ><INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> > ><INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> > ><INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" > >VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > >servicePerformed,host,domain"> > ><INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> > >_______________________________________________ > > FWIW - You are missing: > > <input type=your_choice name=tktnum value="a_key_id"> > > - Ed L. > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 20 13:31:00 2001 Subject: [ic] SQL insert with a form At 09:40 AM 11/20/2001 -0800, you wrote: >My database actually does an autoincrement on the Primary Key field, which >works >fine when I use the >[query sql="INSERT INTO Tkt SET customerName='[value customerName]', >HelpDeskNum='[value HelpDeskNum]',serviceDate='[value serviceDate]', >LocationWork='[value LocationWork]', AfterHours='[value AfterHours]'"] >command. Yep, but with form-based update, IC has to see valid data for the key value *in the form* or it will fail right off. >I have tried adding the primary key in the "mv_data_fields": > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" >VALUE="tktnum,customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, >servicePerformed,host,domain"> > >and having an input field with the tktnum, but I still get the error. > >Ticket Number: <INPUT NAME="tktnum" SIZE=30 > > >What I really want to do is escape out the sinqle quotes out of my test >before it >gets written to the database, as the single quotes cause an SQL error. Any >ideas?? I'm not sure I understand that. You can use filters on form inputs and on 'memory' values, so in either case it seems you should be able to condition the data as needed - read up on the [filter] tag and form-based filters. If you want to use a form to directly write to the SQL table, use the [counter] tag to generate a unique key number, instead of the auto_increment field type. - Ed L. >Thanks, >Dorothy > >Ed LaFrance wrote: > > > At 03:33 PM 11/19/2001 -0800, you wrote: > > >I have gone over the mailing lists and the docs on how to insert into a > > >table with a form. I have followed the instructions for UPDATING a > > >database > > >with a form at: > > >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates > 10%2e09, > > >but I get an "Attempted database update without > > >permission". Searching through the maillist, the answer to that question > > >is to have mv_data_enable set to 1, which I do, and I still get nothing. > > >Below > > >is what I have in my form, can someone PLEASE help me. > > > > > >Thank you, > > >Dorothy Puma > > > > > >[set mv_data_enable]1[/set] > > ><FORM METHOD=POST ACTION="[process-target]"> > > ><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> > > ><INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> > > ><INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> > > ><INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> > > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" > > >VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > > >servicePerformed,host,domain"> > > ><INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> > > >_______________________________________________ > > > > FWIW - You are missing: > > > > <input type=your_choice name=tktnum value="a_key_id"> > > > > - Ed L. > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 20 14:23:00 2001 Subject: [ic] SQL insert with a form Ed LaFrance <edl@newmediaems.com> writes: > At 09:40 AM 11/20/2001 -0800, you wrote: > > My database actually does an autoincrement on the Primary Key field, which > > works > > >fine when I use the > >[query sql="INSERT INTO Tkt SET customerName='[value customerName]', > >HelpDeskNum='[value HelpDeskNum]',serviceDate='[value serviceDate]', > >LocationWork='[value LocationWork]', AfterHours='[value AfterHours]'"] > >command. > > Yep, but with form-based update, IC has to see valid data for the key value > *in the form* or it will fail right off. No, thats wrong in these 4.8.x days. You have to specify: Database Tkt AUTO_SEQUENCE 1 > > > > >I have tried adding the primary key in the "mv_data_fields": > > > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" > >VALUE="tktnum,customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > >servicePerformed,host,domain"> > > > >and having an input field with the tktnum, but I still get the error. > > > >Ticket Number: <INPUT NAME="tktnum" SIZE=30 > > > > > What I really want to do is escape out the sinqle quotes out of my test > > before it > > > gets written to the database, as the single quotes cause an SQL error. Any > > ideas?? insert into foo (a,b,c) values ('d','e','f') will work with single quotes. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 20 14:30:00 2001 Subject: [ic] SQL insert with a form I'll try these out. Thanks, Dorothy "Stefan Hornburg (Racke)" wrote: > Ed LaFrance <edl@newmediaems.com> writes: > > > At 09:40 AM 11/20/2001 -0800, you wrote: > > > My database actually does an autoincrement on the Primary Key field, which > > > works > > > > >fine when I use the > > >[query sql="INSERT INTO Tkt SET customerName='[value customerName]', > > >HelpDeskNum='[value HelpDeskNum]',serviceDate='[value serviceDate]', > > >LocationWork='[value LocationWork]', AfterHours='[value AfterHours]'"] > > >command. > > > > Yep, but with form-based update, IC has to see valid data for the key value > > *in the form* or it will fail right off. > > No, thats wrong in these 4.8.x days. You have to specify: > > Database Tkt AUTO_SEQUENCE 1 > > > > > > > > > >I have tried adding the primary key in the "mv_data_fields": > > > > > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" > > >VALUE="tktnum,customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > > >servicePerformed,host,domain"> > > > > > >and having an input field with the tktnum, but I still get the error. > > > > > >Ticket Number: <INPUT NAME="tktnum" SIZE=30 > > > > > > > What I really want to do is escape out the sinqle quotes out of my test > > > before it > > > > > gets written to the database, as the single quotes cause an SQL error. Any > > > ideas?? > > insert into foo (a,b,c) values ('d','e','f') will work with single > quotes. > > Ciao > Racke > > -- > Die Erde bleibt keine Scheibe. --- The earth remains no disk. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Berry) Date: Tue Nov 20 15:40:01 2001 Subject: [ic] display only 25 instead of 50 products on result page If you're trying to limit the number displayed without using the "search_box_small" component, try: in the file catalog_before.cfg file ( found in '/usr/lib/interchange' on my setup) this is a snippet from the alteration: (just scroll down to the relevant bit) the 3 lines referring to "ml" are the only ones that need to be added, here MatchLimit is being set to 6. ... Variable  MV_DEFAULT_SEARCH_TABLE products Sub <<EOR sub bar_link {         my $base = shift || 'cat';         my $extra;         $base =~ s/(\W.*)//s                 and $extra = $1;         my $ref = shift;         my $code = $ref->[0];         my $record =  tag_data($base, 'n/a', $code, { hash => 1 });         return $ref->[0] unless $record;         my $url;         my $anchor;         my $highlight;         my $first;         my $ml = 6;         LINK: {                 push @out, "ml=$ml";                 if($record->{link_type} eq 'external') { $first = $record->{url}; $first =~ s/\s+$//; $first =~ s/^\s+//; $url = $first; } elsif ($record->{link_type} eq 'internal') { my ($page, $form) = split /\s+/, $record->{url}, 2; my $current = $Tag->var('MV_PAGE', 1); $highlight = 1 if $page eq $current or $page eq $CGI->{ui_explode}; $url = $Tag->area( { href => $page, form => $form }); } elsif ($record->{link_type} eq 'simple') {             push @out, "ml=$ml"; ... save and restart IC. This works for me ... Dave From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 20 15:45:00 2001 Subject: [ic] Competitors placing fake orders; need help... >-----Original Message----- >From: FixtureFactor.com [mailto:aaron@fixturefactor.com] > > >I wish I was as fortunate to have this problem..... I'd charge them for >every item and ship them all their crap! They wouldn't do it again! The problem being that only works if you have automatic processing. I think the scenario here is that the order is emailed to the store owner for the credit card to be processed. They have - of course - put in a bad credit card, but one which would pass an AVS check. During the time it takes for the merchant to realize this and get rid of the order, the damage has been done and the items have been unavailable on the site the entire time. I also think the solution of blocking their traffic could become difficult, as they can just switch which machine they are doing it from. Getting a lawyer involved sounds like the only way. Very unfortunate. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Tue Nov 20 17:01:01 2001 Subject: [ic] SQL database on another server, Still having wizard problems Hi Folks, So I have a MySQL database installation on another computer from the one that I'm running Interchange on. When I run makecat, I expected to put the -h 'host_with_mysql' option in there so that I can specify the host on which the MySQL installation is located. It appears that the 'Extra options' for the mysqladmin program are not parsed correctly, so the '-h host_with_mysql' gets lost. I've worked around this by hardcoding the -h option into the precopy_commands file but I'd like to make a more intelligent fix for this so I can submit it to the list. My question is, am I barking up the right tree? Should I try to fix this and if so, where is the best place to post the fix? On another front, I'm still having problems using the foundation store wizard. I previously posted this problem, but no-one answered. Basically, the problem is that when I try to 'Finish' the wizard at the preview screen, I get this error: x.x.x.x W6nSMFaD:dzepeda dzepeda [19/November/2001:17:41:31 -0600] testcat13 /cgi-bin/testcat13/ui Safe: require trapped by operation mask at /usr/local/lib/perl5/5.6.1/File/Copy.pm line 10. Line 10 of Copy.pm is: use 5.005_64; If I comment this out, it just fails in another use statement. I've tried several workarounds that I found in the mail list archives for similar problems with no success. I've tried updating my interchange installation with the lastest from the stable branch of the CVS repository, still with no success. I don't really want to try the development branch because I want a stable installation of Interchange. I originally installed interchange from the RPMs found on the download area of the interchange site: interchange-4.8.2-1.noarch.rpm interchange-foundation-4.8.2-1.noarch.rpm interchange-foundation-demo-4.8.2-1.i386.rpm Then as I said, upgraded that with what was in the CVS repository yesterday. I'm running RedHat Linux 7.0, with Perl upgraded to 5.6.1 from the tarball available on CPAN installed in /usr/local. I'm pretty much at a loss now where to go from here. Can it be possible I'm the only one having this problem? If so, where do I start trying to track it down? I've seen others talking about using the wizard, so they obviously don't have this problem. -- "Daniel P. Zepeda" <dzepeda@satx.net> From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 20 17:15:00 2001 Subject: [ic] SQL database on another server, Still having wizard problems Daniel, I don't know about your Wizard problem, but as far as using an SQL database on another server, I've done this several times, When running the makecat: dbi:mysql:database=NAMEOFDATABASE;host=HOSTNAME:port=3309 Then on your extra options: -u USERNAME -p -h HOSTNAME --port=3309 If you have already run your makecat, then just edit your catalog.cfg file: #Variable SQLDSN dbi:mysql:database=NAMEOFDATABASE;host=HOSTNAME:port=3309 #Variable SQLDB NAMEOFDATABASE #Variable SQLUSER USERNAME #Variable SQLPASS PASSWORD Hope this helps. --- Dorothy "Daniel P. Zepeda" wrote: > Hi Folks, > > So I have a MySQL database installation on another computer from the one that > I'm running Interchange on. When I run makecat, I expected to put the -h > 'host_with_mysql' option in there so that I can specify the host on which the > MySQL installation is located. It appears that the 'Extra options' for the > mysqladmin program are not parsed correctly, so the '-h host_with_mysql' gets > lost. I've worked around this by hardcoding the -h option into the > precopy_commands file but I'd like to make a more intelligent fix for this so I > can submit it to the list. My question is, am I barking up the right tree? > Should I try to fix this and if so, where is the best place to post the fix? > > On another front, I'm still having problems using the foundation store > wizard. I previously posted this problem, but no-one answered. Basically, the > problem is that when I try to 'Finish' the wizard at the preview screen, I get > this error: > > x.x.x.x W6nSMFaD:dzepeda dzepeda [19/November/2001:17:41:31 -0600] testcat13 > /cgi-bin/testcat13/ui Safe: require trapped by operation mask at > /usr/local/lib/perl5/5.6.1/File/Copy.pm line 10. > > Line 10 of Copy.pm is: > > use 5.005_64; > > If I comment this out, it just fails in another use statement. I've tried > several workarounds that I found in the mail list archives for similar problems > with no success. > > I've tried updating my interchange installation with the lastest from the > stable branch of the CVS repository, still with no success. I don't really want > to try the development branch because I want a stable installation of > Interchange. > > I originally installed interchange from the RPMs found on the download area of > the interchange site: > > interchange-4.8.2-1.noarch.rpm > interchange-foundation-4.8.2-1.noarch.rpm > interchange-foundation-demo-4.8.2-1.i386.rpm > > Then as I said, upgraded that with what was in the CVS repository yesterday. > > I'm running RedHat Linux 7.0, with Perl upgraded to 5.6.1 from the tarball > available on CPAN installed in /usr/local. > > I'm pretty much at a loss now where to go from here. Can it be possible I'm the > only one having this problem? If so, where do I start trying to track it down? > I've seen others talking about using the wizard, so they obviously don't have > this problem. > > -- > "Daniel P. Zepeda" <dzepeda@satx.net> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 20 17:35:01 2001 Subject: [ic] SQL insert with a form - SOLVED Thank you for your help. I still have not been able to get the mv_function_data fields to work. But, since my real problem was the single quotes in my form fileds, the fix was setting a filter. This is what I did that worked: On my form I had all the normal form fileds with my next page doing all the work <FORM ACTION="[process-target]" METHOD=POST NAME="main"> <input type=hidden name=mv_session_id value="[data session id]"> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="serviceticket-sent.html"> Here's the Next page: [query sql="INSERT INTO Tkt SET RequestDetails='[value name=RequestDetails filter=sql]',customerName='[value customerName]', submittedBy='[value submittedBy]', timeTkt='[value timeTkt]';"] The "filter=sql" within the value tag was the answer. Thanks, Dorothy Ed LaFrance wrote: > At 09:40 AM 11/20/2001 -0800, you wrote: > >My database actually does an autoincrement on the Primary Key field, which > >works > >fine when I use the > >[query sql="INSERT INTO Tkt SET customerName='[value customerName]', > >HelpDeskNum='[value HelpDeskNum]',serviceDate='[value serviceDate]', > >LocationWork='[value LocationWork]', AfterHours='[value AfterHours]'"] > >command. > > Yep, but with form-based update, IC has to see valid data for the key value > *in the form* or it will fail right off. > > >I have tried adding the primary key in the "mv_data_fields": > > > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" > >VALUE="tktnum,customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > >servicePerformed,host,domain"> > > > >and having an input field with the tktnum, but I still get the error. > > > >Ticket Number: <INPUT NAME="tktnum" SIZE=30 > > > > >What I really want to do is escape out the sinqle quotes out of my test > >before it > >gets written to the database, as the single quotes cause an SQL error. Any > >ideas?? > > I'm not sure I understand that. You can use filters on form inputs and on > 'memory' values, so in either case it seems you should be able to condition > the data as needed - read up on the [filter] tag and form-based filters. > > If you want to use a form to directly write to the SQL table, use the > [counter] tag to generate a unique key number, instead of the > auto_increment field type. > > - Ed L. > > >Thanks, > >Dorothy > > > >Ed LaFrance wrote: > > > > > At 03:33 PM 11/19/2001 -0800, you wrote: > > > >I have gone over the mailing lists and the docs on how to insert into a > > > >table with a form. I have followed the instructions for UPDATING a > > > >database > > > >with a form at: > > > >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictemplates > > 10%2e09, > > > >but I get an "Attempted database update without > > > >permission". Searching through the maillist, the answer to that question > > > >is to have mv_data_enable set to 1, which I do, and I still get nothing. > > > >Below > > > >is what I have in my form, can someone PLEASE help me. > > > > > > > >Thank you, > > > >Dorothy Puma > > > > > > > >[set mv_data_enable]1[/set] > > > ><FORM METHOD=POST ACTION="[process-target]"> > > > ><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="serviceticket2-sent"> > > > ><INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="Tkt"> > > > ><INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="tktnum"> > > > ><INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> > > > ><INPUT TYPE=HIDDEN NAME="mv_data_fields" > > > >VALUE="customerName,HelpDeskNum,serviceDate,LocationWork,AfterHours, > > > >servicePerformed,host,domain"> > > > ><INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> > > > >_______________________________________________ > > > > > > FWIW - You are missing: > > > > > > <input type=your_choice name=tktnum value="a_key_id"> > > > > > > - Ed L. > > > > > > =============================================================== > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Tue Nov 20 17:50:01 2001 Subject: [ic] SQL database on another server, Still having wizard problems On Tue, 20 Nov 2001, Dorothy Puma wrote: > When running the makecat: > > dbi:mysql:database=NAMEOFDATABASE;host=HOSTNAME:port=3309 > > Then on your extra options: > > -u USERNAME -p -h HOSTNAME --port=3309 > > Oh, I've tried this. When I put -u USERNAME -p -h HOSTNAME on the extra options line, I get an error which is telling me it is trying to connect to a local MySQL server. Notice the 'run' prompt doesn't show any of my extra options. Here is the relevant portion of the makecat run if I don't put a username and password when prompted: Set to 1 if you want to use MySQL: ...............1 Database to use (will be created): ...............test_testcat43 .........................dbi:mysql:test_testcat43;HOSTNAME Username for MySQL (if any): ..................... Password for MySQL (if any): ..................... We can try and use mysqladmin to create the database in MySQL. In many default MySQL distributions, any user can create a database beginning with "test". Use the next option to add parameters. If your MySQL is password-protected (and you know the password) you may want to add "-u root -p". Set to 1 to create 'test_testcat43' with mysqladmin: ..1 To create the database you may need to supply a password and username. To do that, add the option "-u USERNAME -p", where USERNAME is a MySQL user with permission to create databases. This is often the user "root". Extra options for creation: ......................-u interch -p -h HOSTNAME ... run "mysqladmin -u -p create test_testcat43"? y mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! Set to 1 if you want to use MySQL: ...............1 Database to use (will be created): ...............test_testcat45 DBI DSN to use: ..................................dbi:mysql:test_testcat45;HOSTNAME Username for MySQL (if any): .....................interch Password for MySQL (if any): .....................interchpass We can try and use mysqladmin to create the database in MySQL. In many default MySQL distributions, any user can create a database beginning with "test". Use the next option to add parameters. If your MySQL is password-protected (and you know the password) you may want to add "-u root -p". Set to 1 to create 'test_testcat45' with mysqladmin: ..1 To create the database you may need to supply a password and username. To do that, add the option "-u USERNAME -p", where USERNAME is a MySQL user with permission to create databases. This is often the user "root". Extra options for creation: ......................-u interch -p interchpass -h HOSTNAME Found system commands to run. Since you selected the MySQL option, you need to create a database named "test_testcat45". In a default MySQL configuration, any user may create and drop and modify test_* databases, but some administrators disable this. run "mysqladmin -u interch -pinterchpass create test_testcat45"? y mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! Again, extra options are missing. -- "Daniel P. Zepeda" <dzepeda@satx.net> From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 20 17:57:00 2001 Subject: [ic] SQL database on another server, Still having wizard problems Daniel, See notes below > Oh, I've tried this. When I put -u USERNAME -p -h HOSTNAME on the extra options line, I get > an error which is telling me it is trying to connect to a local MySQL server. Notice the 'run' > prompt doesn't show any of my extra options. > > Here is the relevant portion of the makecat run if I don't put a username > and password when prompted: > > Set to 1 if you want to use MySQL: ...............1 > Database to use (will be created): ...............test_testcat43 > .........................dbi:mysql:test_testcat43;HOSTNAME At this point you need the whole line: dbi:mysql:database=test_testcat43;host=HOSTNAME:port=3309 > > Username for MySQL (if any): ..................... > Password for MySQL (if any): ..................... > > We can try and use mysqladmin to create the database in > MySQL. In many default MySQL distributions, any user can create > a database beginning with "test". > > Use the next option to add parameters. If your MySQL is password-protected > (and you know the password) you may want to add "-u root -p". > > Set to 1 to create 'test_testcat43' with mysqladmin: ..1 > > To create the database you may need to supply a password and > username. To do that, add the option "-u USERNAME -p", where > USERNAME is a MySQL user with permission to create databases. > This is often the user "root". > > Extra options for creation: ......................-u interch -p -h HOSTNAME At this point do the: -u USERNAME -p -h HOSTNAME --port=3309 You're adding the host name and port number twice, but it works. --- Dorothy From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Tue Nov 20 18:24:00 2001 Subject: [ic] SQL database on another server, Still having wizard problems On Tue, 20 Nov 2001, Dorothy Puma wrote: > Daniel, > See notes below > > > Database to use (will be created): ...............test_testcat43 > > .........................dbi:mysql:test_testcat43;HOSTNAME > > At this point you need the whole line: > > dbi:mysql:database=test_testcat43;host=HOSTNAME:port=3309 Actually not, DBI can and does parse the line I gave it as a valid DSN. I don't pass it the port because I use the default port. I know this works 'cause I've got one that working that I just edited the config file for, that uses a DSN line exactly as shown (with the correct hostname of course). This part is really irrelevant because this is not used in the mysqladmin command. > > > > > Username for MySQL (if any): ..................... > > Password for MySQL (if any): ..................... > > > > We can try and use mysqladmin to create the database in > > MySQL. In many default MySQL distributions, any user can create > > a database beginning with "test". > > > > Use the next option to add parameters. If your MySQL is password-protected > > (and you know the password) you may want to add "-u root -p". > > > > Set to 1 to create 'test_testcat43' with mysqladmin: ..1 > > > > To create the database you may need to supply a password and > > username. To do that, add the option "-u USERNAME -p", where > > USERNAME is a MySQL user with permission to create databases. > > This is often the user "root". > > > > Extra options for creation: ......................-u interch -p -h HOSTNAME > > At this point do the: > > -u USERNAME -p -h HOSTNAME --port=3309 That is what I'm showing. Again, don't have to pass the port because I'm using the default port. > > You're adding the host name and port number twice, but it works. Yes. Once for the DBI DSN, and again for the mysqladmin command. And no, it doesn't work, that is the problem :-( > --- > Dorothy > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Tue Nov 20 20:01:00 2001 Subject: PART ONE SOLVED: RE: [ic] SQL database on another server, Still So, I've figured out what the problem was, here is a simple fix, there are three files involved: 1. additional_fields 2. additional_help 3. precopy_commands Here are the diffs. Let me know if there is a preferred way to post fixes like this, or if there is a preferred place to post these fixes. Actually, this only fixes part of the problem. As it stands now the user that is specified as the SQLUSER and the password specified as SQLPASS are also used in the mysqladmin command. It seems to me that this is not optimal, because the user may wish to specify a username/password combination for the creation phase, and another username/password combination for the regular user of the database. I'm not sure which is better, I don't have time tonight to delve any further, and I wanted these fixes posted, so I'll leave it at this. I still have the wizard problem I mentioned in the original post, I'm willing to dig around like I did for this problem, but I really don't know where to start. This was a pretty simple problem, it looks like the other may not be so simple. Any help/pointers would be appreciated. --- additional_fields Tue Nov 20 18:41:30 2001 +++ additional_fields.orig Tue Nov 20 18:46:52 2001 @@ -40,7 +40,7 @@ {MYSQLCREATE}MYSQLCREATEOPT Extra options for creation - + -p -u root -p {SOMESQL and ! '__MVC_MYSQL__'}PGSQL Set to 1 if you want to use PostgreSQL ****************************************************************** --- additional_help Tue Nov 20 18:45:15 2001 +++ additional_help.orig Tue Nov 20 18:46:52 2001 @@ -42,11 +42,10 @@ MYSQLCREATEOPT . -As it stands now, the username and password you supplied above -will need to be able to create a database. If you need to specify -extra parameters, for instance to point the mysqladmin program to -another host or port, then supply them here. To specify another -host and port put "-h HOSTNAME --port PORTNUMBER". +To create the database you may need to supply a password and +username. To do that, add the option "-u USERNAME -p", where +USERNAME is a MySQL user with permission to create databases. +This is often the user "root". PGSQL . ******************************************************************* --- precopy_commands Tue Nov 20 18:39:48 2001 +++ precopy_commands.orig Tue Nov 20 18:46:52 2001 @@ -1,4 +1,4 @@ -{MYSQL}mysqladmin -u __MVC_SQLUSER__ -p__MVC_SQLPASS__ __MVC_MYSQLCREATEOPT__ create __MVC_SQLDB__+{MYSQL}mysqladmin -u __MVC_SQLUSER__ -p__MVC_SQLPASS__ create __MVC_SQLDB__ Since you selected the MySQL option, you need to create a database named "__MVC_SQLDB__". In a default MySQL configuration, any user may create and drop and modify test_* databases, but some administrators disable this. ********************************************************************* -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 20 20:40:01 2001 Subject: [ic] SQL::Statement missing i'm still working on installation. after running the makecat and then su -c "/usr/lib/interchange/bin/interchange -r" interch I get the following response ( I have installed the perl module SQL::Statement rpm ) bash: /root/.bashrc: permission denied killing interchange server 4500 with TERM low traffic settings calling UI.......UI is loaded... Interchange v4.8.2 configuring catalog foundation.... required perl module SQL::Statement not present. Aborting catalog. in line 8 of configuration file 'catalog.cfg': require module SQL::Statement foundation config error: required perl module SQL::Statement not present. Aborting catalog. in line 8 of configuration file 'catalog.cfg': require module SQL::Statement foundation: error in configuration. skipping foundation: config error. skipping. interchange server started in INET and UNIX made (s) (process ID 4509) any ideas on what the problem might be? From: interchange-users at interchange.redhat.com (MF ramsis) Date: Tue Nov 20 22:53:01 2001 Subject: [ic] Items list remains empty after upload products ?? MF ramsis wrote: > Hi , > > > I'm running RedHat Linux 7.2 2.4.9-13, MySQLVer 11.15 Distrib > 3.23.41, for redhat-linux-gnu (i386), IC V4.8.2, used the Redhat > RPM's for install and the CPAN modules. > Install went fine, no errors or dependency issues. > > After some days of work I'm not able to convince IC to upload my > products.xls file. > I do this through the wizard, which tells me after the upload that it > was succesfull ..... not really :-( > The Items list remains empty. > > I have used also the tarball before, but this has the same effect, no > items are really uploaded in spite of > IC wizard seas they are ? > Then I installed the demo catalog "foundation-demo" , which went ok, I > can see that the store is populated. > Then deleted the "foundation-demo " items/catagories > so i could trie to upload my products.xls file afterwards...... but > still nothing to see despite of IC telling me again that > it went fine. > > The products.xls file is populated correctly as it should with the > required feelds (columns). Well, reading again through the docs "IC databases " on page 9, it seas to set EXEL attribute to 1, to avoid problems when importing exel sheets. Have done this but without success, also opened and saved the file again to make sure it was tab delimited, also this doesn't make the file to be imported, no items on the list again ? Still digging further..... Meanwhile what could I have missed ? From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 20 23:13:00 2001 Subject: [ic] Items list remains empty after upload products ?? have you applied changes? ----- Original Message ----- From: "MF ramsis" <mf.ramsis@chello.nl> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 20, 2001 7:54 PM Subject: Re: [ic] Items list remains empty after upload products ?? > MF ramsis wrote: > > > Hi , > > > > > > I'm running RedHat Linux 7.2 2.4.9-13, MySQLVer 11.15 Distrib > > 3.23.41, for redhat-linux-gnu (i386), IC V4.8.2, used the Redhat > > RPM's for install and the CPAN modules. > > Install went fine, no errors or dependency issues. > > > > After some days of work I'm not able to convince IC to upload my > > products.xls file. > > I do this through the wizard, which tells me after the upload that it > > was succesfull ..... not really :-( > > The Items list remains empty. > > > > I have used also the tarball before, but this has the same effect, no > > items are really uploaded in spite of > > IC wizard seas they are ? > > Then I installed the demo catalog "foundation-demo" , which went ok, I > > can see that the store is populated. > > Then deleted the "foundation-demo " items/catagories > > so i could trie to upload my products.xls file afterwards...... but > > still nothing to see despite of IC telling me again that > > it went fine. > > > > The products.xls file is populated correctly as it should with the > > required feelds (columns). > > > > Well, reading again through the docs "IC databases " on page 9, it seas > to set > EXEL attribute to 1, to avoid problems when importing exel sheets. > Have done this but without success, also opened and saved the file > again to make sure it was tab delimited, also > this doesn't make the file to be imported, no items on the list again ? > > > Still digging further..... > > > Meanwhile what could I have missed ? > > > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (MF ramsis) Date: Tue Nov 20 23:15:00 2001 Subject: [ic] Items list remains empty after upload products ?? MF ramsis wrote: > Hi , > > > I'm running RedHat Linux 7.2 2.4.9-13, MySQLVer 11.15 Distrib > 3.23.41, for redhat-linux-gnu (i386), IC V4.8.2, used the Redhat > RPM's for install and the CPAN modules. > Install went fine, no errors or dependency issues. > > After some days of work I'm not able to convince IC to upload my > products.xls file. > I do this through the wizard, which tells me after the upload that it > was succesfull ..... not really :-( > The Items list remains empty. > > I have used also the tarball before, but this has the same effect, no > items are really uploaded in spite of > IC wizard seas they are ? > Then I installed the demo catalog "foundation-demo" , which went ok, I > can see that the store is populated. > Then deleted the "foundation-demo " items/catagories > so i could trie to upload my products.xls file afterwards...... but > still nothing to see despite of IC telling me again that > it went fine. > > The products.xls file is populated correctly as it should with the > required feelds (columns). > Finally found it :-) Thinking of a possible ASCII problem that might occur during file download by the BROWSER used, which is Mozilla 0.9.x, I tried to use an other browser to do the job and used konqueror, the file uploaded perfectly well !!!! Greets, Fouad Ramsis. From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Wed Nov 21 00:58:00 2001 Subject: [ic] Modifying pgsql table Hi, I am running IC 4.8 on RedHat Linux 7.2, and pgsql. I am trying to add some extra price fields to the products database, for locale baseds pricing, and am having dificulty deciphering exatly what is required to do this. I am just starting to enter products so there is no data to worry about. I was wondering if someone could give a point list of the steps required to do this? Names for extra price fields will just be <country code_price> i.e. NZ_price, US_price etc. I think the doco needs some point based lists on how to do things, i.e. (this is very made up ;) 1. Modify product.pgsql, add new fields. 2. run something to update db 3. import ascii file with records I'm sure such a structure would help lots of new people, at least they would know what they need to lookup to get a step done ... finding it in the doco is a different thing though ;) Has there been any though given to using a searchable format for the doco, like pdf etc? I think that would also be useful, as HTML is nasty to search through, and a pain to d/l if you don't have the doco locally. Thanks, Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 21 01:10:00 2001 Subject: [ic] new account button not working if DEBUG (fwd) ----- Forwarded message from steffen@riva.bedi.net ----- If I enable Debug in interchange.cfg, I'm not able to create users with "new account" button on foundations login page (new_account.html). I get the following error: ERROR: Attribute 'username' specified more than once The same error gets reported in the admin UI (looks different, of course). And this is correct, the query is malformed. I logged an example: Vend::Table::DBI:debug: def_ary query will be: insert into userdb (username,username,password,acl,mod_time,s_nickname,company,fname,lname,address1,address2,address3,city,state,zip,country,phone_day,mv_shipmode,b_nickname,b_fname,b_lname,b_address1,b_address2,b_address3,b_city,b_state,b_zip,b_country,b_phone,mv_credit_card_type,mv_credit_card_exp_month,mv_credit_card_exp_year,p_nickname,email,fax,phone_night,fax_order,address_book,accounts,preferences,carts,owner,file_acl,db_acl,order_numbers,email_copy,mail_list,project_id,account_id,order_dest,credit_limit,inactive) VALUES ('1234',56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,'''''') The 56 are from _Default_ary (which contains them) I think. It doesn't look good, aint? Does anybody have the same behaivior? ----- End forwarded message ----- oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 21 01:11:17 2001 Subject: [ic] Searching multiple fields question * Ed LaFrance wrote on Thu, Nov 15, 2001 at 10:31 -0800: > Yes. I've generally found that, when doing complex searches, it is easier > to collect search criteria in one step with a simple non-search form, then > analyze the input and compose/submit the search in a second > step. Thank you for that tip; I implemented it like that, it's just nice. > Additionally, in your case, I think an SQL query might work best for > that second step. I did that, with has aditinally the advantage, that my SQL knowlegde is better than my IC knowlegde, so it's more easy for me. Thank you! Just for completness, if anyone is interessted in some example code for a SQL search page, drop me a note. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 21 01:12:23 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Mike Heins wrote on Wed, Nov 14, 2001 at 19:58 -0500: > Quoting Steffen Dettmer (steffen@dett.de): > > Thank you for the hint. You suggest to do a make test in the perl > > sources, right? I'll have to upgrade Perl anyway, so I'll do it. > > If it is Linux, this is probably not an issue other than the general > out-of-datedness of your software. I reinstalled all interchange software from TGZ, upgraded to perl 5.6, reinstalled Bundle::interchange (well, anythink was done automatically by configure). I had no errors. > Aha. That is it -- flock() doesn't work across NFS filesystems. I have the catalogs local now. It doesn't solve the problem. > And it won't work at all if you don't have lockd running; even > then you should set LockType to "fcntl" if you want to still > try NFS. But on the 2.2.x kernel series there is not much hope > of it working. Is there not much hope to get NFS + 2.2.x working, or on 2.2.x in general? > In any case, I am certain if it moves to a local file system > the problem will disappear. I moved catalogs without success. The interchange installation was already local. Any ideas? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Nov 21 03:17:00 2001 Subject: [ic] modular options Victor Nolton wrote: > > http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e01 > http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e08 > > on various places on the site there are references to a few > components which I cannot find. > modular_buy > modular_update > > I have downloaded 4.8.2 and do not see it anywhere. > > http://interchange.redhat.com/cgi-bin/cvsweb/interchange/dist/foundation/templates/components/ > > does not show them either.. so. where are they? Victor, I see in IC 4.8.2 #grep -R "modular_buy" * ... foundation/pages/flypage.html: [include templates/components/modular_buy] and #ls templates/components/modular_buy ls: templates/components/modular_buy: No such file or directory It is not there! ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (MF ramsis) Date: Wed Nov 21 08:35:00 2001 Subject: [ic] Items list remains empty after upload products ?? steve@moddepot.com wrote: >have you applied changes? > Thanks Steve, I did also applied changes ( forgot to mention that) . But as you see I found the problem( message earlier from me), such problems do occur when an application , in this case Mozilla, does something with the ASCII file when uploading and that is something that can cause such problems within IC when handling database files. Fouad From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 21 09:19:01 2001 Subject: [ic] Interchange installation Hi, I have installed redhat 7.2 and interchange from cd rom professional version and seem to be stuck. after running the makecat command and then entering su -c "/usr/lib/interchange/bin/interchange -r" interch I get the following message that says the SQL::statement is missing. I installed the SQL::statement package but still get this message. Can anyone help me to get past this problem? what am i missing? bash: /root/.bashrc: permission denied killing interchange server 4500 with TERM low traffic settings calling UI.......UI is loaded... Interchange v4.8.2 configuring catalog foundation.... required perl module SQL::Statement not present. Aborting catalog. in line 8 of configuration file 'catalog.cfg': require module SQL::Statement foundation config error: required perl module SQL::Statement not present. Aborting catalog. in line 8 of configuration file 'catalog.cfg': require module SQL::Statement foundation: error in configuration. skipping foundation: config error. skipping. interchange server started in INET and UNIX made (s) (process ID 4509) From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Wed Nov 21 10:37:00 2001 Subject: [ic] Interchange installation This may have nothing to do with it. But try starting (as root) interchange as "/etc/rc.d/init.d/interchange start" instead. This has worked better for when using an RPM install. Michael JPpatches0@aol.com wrote: >Hi, I have installed redhat 7.2 and interchange from cd rom professional >version and seem to be stuck. after running the makecat command and then >entering su -c "/usr/lib/interchange/bin/interchange -r" interch I get the >following message that says the SQL::statement is missing. I installed the >SQL::statement package but still get this message. Can anyone help me to get >past this problem? what am i missing? > >bash: /root/.bashrc: permission denied >killing interchange server 4500 with TERM >low traffic settings >calling UI.......UI is loaded... >Interchange v4.8.2 >configuring catalog foundation.... required perl module SQL::Statement not >present. Aborting catalog. >in line 8 of configuration file 'catalog.cfg': require module SQL::Statement >foundation config error: required perl module SQL::Statement not present. >Aborting catalog. >in line 8 of configuration file 'catalog.cfg': require module SQL::Statement >foundation: error in configuration. skipping >foundation: config error. skipping. >interchange server started in INET and UNIX made (s) (process ID 4509) >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 21 11:14:01 2001 Subject: [ic] Interchange installation ok, I typed in this su -c "/etc/rc.d/init.d/interchange start" interch and this is the response i get bash: /root/.bashrc: permission denied starting interchange [OK] touch: creating '/var/lock/subsys/interchange': permission denied I then went to http://localhost/foundation/index.html and get the customer / admin entrance. when i try to click on the url to enter http://localhost/cgi-bin/foundation/index.html I get a page that says undefined catalog: /cgi-bin/foundation any ideas on what i'm doing wrong or missing? I don't understand why i get undefined catalog and how to fix this problem From: interchange-users at interchange.redhat.com (Bradley Caricofe) Date: Wed Nov 21 11:42:01 2001 Subject: [ic] IC Crashing on Apply Changes Hi everyone, I've had IC 4.8.2 running pretty well for a couple of weeks now. For the last 48 hours or so when I "Apply Changes" in the admin area, it seems to crash the catalog somehow. The Interchange server continues to run fine but the catalog I applied changes to is dead. It kicks out an error to my browser when I hit any page. This is somewhat random, I sometime have Applied Changes with no problems. The changes I've been making are pretty minor, just adding products and playing with the Options pages. The catalog error log recorded this each time: --error-- 24.18.163.71 dTcKS8Rv:24.18.163.71 - [21/November/2001:11:23:20 -0500] store /cgi-bin/store.cgi/ui Attempt to set slice of 106b in read-only table inventory 24.18.163.71 dTcKS8Rv:24.18.163.71 - [21/November/2001:11:23:40 -0500] store /cgi-bin/store.cgi/ui Attempt to set slice of 106c in read-only table inventory 24.18.163.71 dTcKS8Rv:24.18.163.71 - [21/November/2001:11:32:46 -0500] store /cgi-bin/store.cgi/admin/item_edit Runtime error: Bizarre copy of UNKNOWN in aass ign at /usr/local/interchange/lib/Vend/Util.pm line 698. --end-- Now the Inventory table is: -rw-rw-r-- 1 interch site13 751 Nov 21 09:48 inventory.txt Are those too tight? Thanks. -Brad __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 From: interchange-users at interchange.redhat.com (Hans Poo) Date: Wed Nov 21 12:10:00 2001 Subject: [ic] Interchange installation El Mié 21 Nov 2001 13:13, JPpatches0@aol.com escribió: > ok, I typed in this su -c "/etc/rc.d/init.d/interchange start" interch > and this is the response i get > > bash: /root/.bashrc: permission denied > starting interchange [OK] > touch: creating '/var/lock/subsys/interchange': permission denied > > I then went to http://localhost/foundation/index.html and get the customer > / admin entrance. when i try to click on the url to enter > http://localhost/cgi-bin/foundation/index.html I get a page that says > undefined catalog: /cgi-bin/foundation > > any ideas on what i'm doing wrong or missing? I don't understand why i get > undefined catalog and how to fix this problem > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users First of all in order to run a shell command as root you must know the root pasword, and use the su (substitute user no super user) command. In your code you miss a hypen(-) su - -c "/etc/rc.d/init.d/interchange start" more explicit su - root -c "/etc/rc.d/init.d/interchange start" and is the same as: su - root #/etc/rc.d/init.d/interchange start Please check: #man su Hans Poo From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 21 12:23:01 2001 Subject: [ic] Webtechniques article on RH E-commerce Suite http://www.webtechniques.com/archives/2001/12/stratrevu/ Comprehensive, Open-Source E-Commerce Suite By Charlie Cho <SNIPPET> Red Hat E-Commerce Suite Pros:Easy to install and set up. Extensive feature set. Attractively priced. Cons:No out-of-box support for foreign currencies and number displays. Linux knowledge required to maintain server. </SNIPPET> The article was good, but I guess he had to come up with *something* bad to say ("no out-of-box support for foreign currencies"). I would say it is pretty "out-of-box" supported--its just not in the example template, they make it sound like you have to hack the daemon to get it going. This might be the article that Rene mentioned. FYI only, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Wed Nov 21 12:26:01 2001 Subject: [ic] simple options with updating price I want to use simple options where. Each option is just another item. This actually might be "modular options" but since its not working, simple options are good enough. I just need a way to update the price of the options. The way I imagine it is to add another column to the options, where i define OPTION=SKU, then a cron job updates the price column in options with the price of the item. This will only work if the code of the option is among a certain group and its a simple option. Example: o_value | price | new_column ---------------------------- A=Part1,| B=250 | B=SKU230 B=Part2 | | price gets updated once a day with the price of the SKU, in this case "SKU230". In the example, only option B gets a price update. Before I start coding this, I wonder if someone has done something similar. Any suggestions are appreciated. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Wed Nov 21 12:29:01 2001 Subject: [ic] Re: missing Perl modules > foundation config error: required perl module SQL::Statement not present. 1) If you read the error message, you'll see that this means that SQL::Statement is not installed in your copy of PERL. My recommendation would be to consult the Perl documentation on how to download and install modules. "Rightgrade" to Perl 5.6.1 if you haven't done so already. If you don't know how to do this, and aren't willing to learn, I'd strongly suggest NOT using Interchange. 2) Could someone PLEASE write up a beginners installation document for Interchange? There will ALWAYS be newbies trying to pick up Interchange, and there will ALWAYS be questions which are really more sysadmin type questions than "real" Interchange questions. If a document existed which covered these questions, we could just RTFM and move on. Seriously, folks, the signal to noise ratio on this list seems to be totally going to hell. I also suspect that if someone sat down with a vanilla RedHat installation and documented everything they needed to do to get Interchange running, they'd be surprised at how hard it really is... It's hard! There are lots of steps, and someone who doesn't really know system administration will have some real issues getting it to run without some good instructions. Someone who knew Interchange really well doing a vanilla install might also find some of these errors / bugs that folks have been reporting. I don't think it's reasonable to say that folks without the right expertise shouldn't be trying to run Interchange. They'll try, it won't work, and they'll come here for help. That's what has been happening, and will continue to happen. As far as Perl is concerned, the doc should probably explain how to use the interactive CPAN shell, have a list of required modules, and an example of an error message that Interchange throws when a module is missing. Probably also good to recommend a specific Perl version i.e. minimum 5.6.0 best to be running the latest and greatest. -- Bob From: interchange-users at interchange.redhat.com (Fajar Handika) Date: Wed Nov 21 12:37:01 2001 Subject: [ic] HTML/Tagset.pm I'm trying to install interchange on my home PC, which isn't connected to the internet all the time for simulation purpose. But I got this error message : Your Interchange main software installation appears to have been successful. You do not appear to have all the required modules installed. You are missing: SQL::Statement Safe::Hole MIME::Base64 Storable URI::URL Trying to install now. Get Bundle::Interchange? [yes] .. and after ftping and trying to get to this url : ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz (which is failed because my PC isn't connected to the internet come this message : Can't locate HTML/Tagset.pm in @INC (@INC contains: ./lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at Makefile.PL line 656. make: *** [mv_install] Error 2 Anyone can explain ? I use RedHat 7.1 for the OS. Thanks From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 21 13:05:01 2001 Subject: [ic] Re: missing Perl modules boy, if there is anything i want to do is learn. I have tried installing the perl-sql-statement module and i have installed perl 5.6.1 but still get that same message. I will figure this out with or without your help and if there was another place to look for help i would. maybe starting a seperate mailing list for newbies might be the answer on how not to bother the people with the answers that have no patience for newbie questions. I have installed interchange on another server with success, but for some reason the verson that came on the redhat cdrom 7.2 has a problem. From: interchange-users at interchange.redhat.com (Barry Treahy, Jr.) Date: Wed Nov 21 13:43:00 2001 Subject: [ic] Re: missing Perl modules Bob Ramstad wrote: >Seriously, folks, the signal to noise ratio on this list seems to be >totally going to hell. I also suspect that if someone sat down with a >vanilla RedHat installation and documented everything they needed to >do to get Interchange running, they'd be surprised at how hard it >really is... It's hard! There are lots of steps, and someone who >doesn't really know system administration will have some real issues >getting it to run without some good instructions. > Your nomination for writing this proposed 'Introduction to Interchange' has been accepted, do we have second? All kidding aside, it probably hasn't been done because busy folks haven't had time to do it and Mike, and crew, can't do it all. There was an excellent piece of work contributed this year by Dan Browning on the How To for CVS and Interchange. Perhaps he can be encouraged to consider this too, but as I mentioned, most of us using MV and IC are busy supporting and deploying sites. Regards, Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Wed Nov 21 14:18:01 2001 Subject: [ic] Good Merchant Account I am a new interchange user. I am looking for a good merchant account. I will only be processing between $500 and $1000 a month to start out. Gary Henderson Custom Business Solutions From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Wed Nov 21 16:30:01 2001 Subject: [ic] Interchange installation On Wed, 21 Nov 2001 JPpatches0@aol.com wrote: > ok, I typed in this su -c "/etc/rc.d/init.d/interchange start" interch > and this is the response i get > > bash: /root/.bashrc: permission denied > starting interchange [OK] > touch: creating '/var/lock/subsys/interchange': permission denied > You probably still have the same problem, look in the error logs, and you'll probably see the same errors you were getting before. As to the original problem. Check the permissions for the SQL::Statement, try this (assuming that interch is the user that interchange runs as) # perl -e 'use SQL::Statement' # su - interch $ perl -e 'use SQL::Statement' If as root it works but interch it doesn't, probably a permission problem, if both fail, the module is installed incorrectly. How are you checking for the existence of this module? > I then went to http://localhost/foundation/index.html and get the customer / > admin entrance. when i try to click on the url to enter > http://localhost/cgi-bin/foundation/index.html I get a page that says > undefined catalog: /cgi-bin/foundation This is just telling > > any ideas on what i'm doing wrong or missing? I don't understand why i get > undefined catalog and how to fix this problem > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 21 16:36:01 2001 Subject: [ic] Searching multiple fields question * Steffen Dettmer wrote on Wed, Nov 21, 2001 at 06:52 +0100: > Just for completness, if anyone is interessted in some example > code for a SQL search page, drop me a note. I received some notes per PM. So here a short info. The example uses a scratch shop_id (I have multiple product data sets with different properties in the same table). If you want to play with it you will need to remove the references to shop_id. I put it here for two reasons: first, I'm tired now after a hard day and won't risk to remove to much code :) and second example code is better when longer :) oki. This is based on foundation demo shop. On the pages there is a menu box (one click searches). The code is in templates/compnents/category_vertical. I changed it to fetch it not via [loop] but [query]. This example shows how to cascade query, which is very powerful: [comment] "Outer" query lists areas taht are defined in our shop_id "Inner" query processes each area and fetches the categories of that area. The menu_link function formats that link in a way that it works with the embedded java menu. This code is originally in a VALUE="..." attribute. [/comment] [query prefix=box type="list" list_prefix="boxlist" sql="select distinct on (area.sort, area.code) area.code from area, cat where area.sel='[control set_selector left]' and area.code = cat.sel and cat.shop_id = [scratch shop_id] order by area.sort "] [boxlist]{[box-exec bar_link]area[/box-exec]} [set found_cat]1[/set] [query prefix=cat list_prefix="catlist" type="list" sql="select code, name from cat where sel='[box-code]' order by sort" ] [catlist]{|[cat-exec menu_link]cat[/cat-exec]}[/catlist] [/query] [/boxlist] [/query] That's it :) The SQL search is slightly more to do. First, we need a search box - basically a text input field. Of course it's possible to add features like scan supports, but here it has no properties, it just searches a string in multiple fields. The code for the search box is trivial (put it i.e. in search_box_small component): <form action="[area search-catalog]" method=post> <input type=hidden name=mv_session_id value="[data session id]"> <table border="0" width="95%"> <tr> <td align="left"> <INPUT MAXLENGTH=30 NAME=search_word type=text size=8> </td> <td align="right" valign="middle" width="45"> <input type="image" alt="Search Go" width="45" border="0" src="__THEME_IMG_DIR__go.gif"> </td> </tr> </table> </form> IC generates the right URL for us with the area tag. All logic is done by IC, nice :) We need only to pass the session id in a hidden field and of course our text field. I called it search_word. Of course we now need a page search-catalog.html. We do need to put it into the pages directory and it will work. The page is very similar to the results.html page, but instead of [item-code] or item-whatever we need to use [sql-code] or sql-whatever. AFAIK the most names are really the same, so I did it by global substitution (vim :%s/item-/sql-/gc). The [search-region] tag has to be replaced with the query tag: [query sql=" select sku, description, price from products where shop_id = [scratch shop_id] and ( lower(description) like lower('%[cgi search_word]%') or lower(title) like lower('%[cgi search_word]%') or lower(comment) like lower('%[cgi search_word]%') ) order by category" type=list more=1 ml=10] The "lower()" construction is for case-insensitve matches, surely there are better solutions for that. Instead of [search-list] use [list]. Well, that query allows [on-match] like search-region, instead of item-change it's now sql-change and so on. Well, you could use prefix_list="search-list" and prefix="item" which may make the tag names behaive like the ones from search-region, but I haven't tested it. Well, since the whole gzip'd file is smaller than this text, I'll attach it (I hope it wouldn't hurt the list policy). I'm sorry that the text is german (had no time for locale :)), but since you should have the results.html you should understand it completly. Hope it helps a little. Have a nice day, dear list! oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Wed Nov 21 16:40:01 2001 Subject: [ic] Searching multiple fields question --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Steffen Dettmer wrote on Wed, Nov 21, 2001 at 22:31 +0100: > Well, since the whole gzip'd file is smaller than this text, I'll > attach it (I hope it wouldn't hurt the list policy). Yep, and here it is. oki, Steffen --=20 Dieses Schreiben wurde maschinell erstellt, es tr=E4gt daher weder Unterschrift noch Siegel. --cNdxnHkX5QqsyA0e Content-Type: application/x-gunzip Content-Disposition: attachment; filename="search-catalog.html.gz" Content-Transfer-Encoding: base64 H4sICG8c/DsAA3NlYXJjaC1jYXRhbG9nLmh0bWwAvVhbU9tKEn62fkVHx4mhgpFNTu0FLBeX mIRawCw4pyqleFWyNLbnoIuZkQCHYn/7ds9IsmzMZbdSywPWzHT39PT1m3H8JIpYnA6NjLsp i2ahl7Jd+M5kdcKNvQhnQzZOBZ9MU6N+EuyCZJ7wp03fS70wmWxP0yjcuoX29g7stFptq922 dtqw097d+evu759gxAIes/Qn9O5nUDccq9zZcNJoBjNvwtyUpyEbuu5R/+zi4Py760KzCVeZ P4WemLBRzKVkjoXkyNV5h2syDVDyhMe7kApPTsEXiZTgJwGTyNs1HMlSLVutuGpl6Fg4PVyI YHGgqA3HT+JUJCEIhhR2e7iYaioWHEWzJCbF9fndUXLvysgLQ3WkfE2dr8L2vBQ0H5skYu7e MpFy3/sfxfw/uZQll1kl/8mGO2hW+iXaUNJQ/RrOyItjJobfYskEg140G7NpmMUTx8pX3r63 8OIgidZs/ml58/bq5lcz5nMvlK/vWfH9vnvaOx5cnnz5OnAH/Qt3Pw+7w96Xk3M46p8PeueD dYmgo6kzEvgfJfMxSF94KQZywAM3EYFSgMd+mAUMxjxktllkm1wcDj89kboBl7gyN0lnPh7q oF4IyqM5D2etjMCkSOJcDZq/UvMwTgQ4/oTndO4dihjmsX+TMTEHeRPaplGTLGR+CvI62wJM GV/wWYoSt2AmuM/AqI1FEuEgCTI/lTi+m5Jz5TSZuTwAG5zixPnU0Kih72ADIEzumNioCN2E kF+zfL7x/ol+7xubRg3wD5XXRKpQvIUNKn8ld1563sAPuLEyMozmUKSqWUhN5zNmh1ymxUSU CGa3y1Fot1sUWOSuCOOduTeZF6PucwpTL/TRJvUrbaZm96H06COar71n1PZv8ANdz1OwfrSs LagffTlBwuhW05XiHpGYPLuxf7MJD0atFrP7FLI4ZFgMQxZP0inUXSSq1V0Uadp118TRI24x 80QkcW4i2Aysf5Fo/iP4aMGHD8V2dfdxC67ZXML7B5rC3Yzab3AyhjsGU++WgRKyBRHzYgle DDwO+C0PMi+EUTbfzkmDJG6kxInfd6g4pAlWX4wBwMhP58AxA6RRy9Xe0Krp8+zz0hLmj5b5 1BLES1YgM2xEc6gTQ2uPfjuwz+nj40ctSxsHU1IbZqN+49T5cJOYa3VO38jaaND4sdhaWaeg dze3SCSt3axdu1GWRg1dTwhvvtZjyPhjQfgcyZ8Jj/MTvyRVnV5J5OskFstVaYpQsDQTsY4E ZTQkRLq6srzTGuJKPvdvsDYwLDYtyqKSTfEE98TSVrTBfbNJH88oUARU4a2Xjm4qvwT3Q4rU Ykes2TptnFGSxViHpoKNbdOZYhJiZjalj9HH7lVZteMknfJ4MlR1UzcSQhoaCEgPkYZz64UZ a2I8IAJgARDOsVEbXQUktgwKZXZvt4YF7HCSuBlRwiJ8OO5fnsHB0eCkf446eIJ5UO4JZ73B 1/5n+6J/NegaHR7PslQXjCkPAhZX9pISayAVTaUNSgqwk0A+D1g5TRRwcn7xbQCD7xe9QgCc H5z1bBNFeD5VURP+ODj9hjNoEmxh09e4JEM3E7pTeWdCwd56jdEPuX9d7rZc2JDXsRYmMjqp Nwox3XmQTm3z7633JoyUr2kf8FkYypnno8XK8cwLAjX+RHqk2EEBOojRqJ3PvNg2/2J2O1PR 7VhpgAQWUSAZ+KEnpW1SE8faPvLEjtkFg1i7nVH3QzySs70LalfXacca5exatBfyCQr2kY8J k8gPEItdszDOsFGI18lPIjhFjPkGygvBuHzD/vFPbxq+TjdiMkWbsXhBWlpkneG0GaqES6iB elkOBuhzCNS8bsKmP/XQydAeEkYKOEXbUC2MOQuDsjEqPFmsG+u90lZeeerRMVLQTIKR8Vur 9bdWq2UuHOcwnk4J6qgUAQ3h8H5yjxg2Ec/okvNo05D8LgGy1dih2lA9IrWBWk2bpbhd5DgK z3Ob+yDCpAiZPgv9rZ7HqL2YQouyuMg7bWm8n6h8p+1HgjZe/eTRpJpDUviIHadZNLIqZlAT WIUKJstTZ6h1vKJkqnK12BM3VYMKLEPLed0n9yxvNqPr0uKiRW189YZVmAWhVhYSK2SSBVuA IBErXwILUgw9BGLFVY0/vauRqBJLPrNKelPNxGQlPyJexgpSFHrMj7wB8AIkJ3E4B4/uWwg1 sMSjuRj4mRAYowqvaoWoW+DJlZ/cAsYudivBb7lU9IgK3if+gI2yyRA13VBfmwXDbgUkr25D 50IxqmOYOZUJmPcRDleITUhmtvnOxgKKNwd0LAXTCvrGJli7EwmahWZIOgslG5YAWV3syzWr WNQXDozvw8tu5QAVF1QOUXXMU55V3+2+4NbndiRn7r7J4bkArf/Ti76qAIvm8UJaI8ELOdP5 b7Kxu0ioii75TnmdL4rJSq1fbPoKIUIjRaphEgE0wqg3Dwub8fgWabFEQnkbISzGx4iEoQst jZI14oJOp9c/3jN0eXbd4+ODo57rAl21bbNtrqvY3ysF10BuhS4pntbJXTYtgjj/uonITKQr Zh51z7VYr5SZ12110KoNf3XarCnwCE1i7mO+5P0X+1q+dzWp1roRdZgRBqie7xWXPgceVSPh Sg6PfcHUc5pZoMhlPmqVJeRcBtvamTsVvlcjjOpbDk9HIrmTeD+mG0Lk+Rb1z+rGMhtFeGsr oO3p8DCbYwe4c6xT1DWJjwhMUspwuY13t2h73aG2NXtjYbNGiSNbpJA2e61aeNFSzNWPFbat +3pVLx5hzdHp6rqDr72znnty9sX9fHLpuvQAJG7Z9oSPf7mKb1YCL85opl+rg1XYSVXF1XEx zGumioICTuoCysZjDL4FJCKU+RT5oBeaZbVJFJSQkLgspqsAmWCJ4N2CIsJ+GnpCQTBHXRya iZh4Mcan2sL+HdSs3YAGUH3BnKbYxTqEOZWmc1vDN3X+Qmwa2G0IvREL8XeUhDRUYVEQW8s7 KQWtioa5fSrjRfPIseI6M2DuTEX3KW3VkkUL0BBtFYQ7lgLhhnIC6dhdvn4G/DbPTdW8Nbqt oM489XJ4eYqyGJQXhuIuUP3fsVAkqUwX25WLnBMn5cbYWFVz7Rye9o/+8c9v/UGva1wlQsy3 CNwpMsRV9CLVOewWL1011Y3oDYLKBXrw4PwzNPSzS2W2f4n/+FjD8ICNcSGAun6+bHYfGo3H 4sVA2+vRaeWYnZ4XXyHcy9XYl6koH71+fLa2YP+h/gdlj9RMixeAR/WsVPQt9YSSq7ulxOzp INKHpAKkryilDJcJgVcUo3NBBsPuRUO5q6wIxssvEJoX9Ha2SSwmhd9hAWwqvrCqznCsJXfB 0Wnv4NKmx2xco1fKpg6tJQ+e5X5zcgcOIRnnA6wmGRYYdGkWB9tqVyVmuHbvygbLoV19lXYs 9d5Md0z9Tq4oexgTxbu6Iqs+wR/2B4P+mbtv/Aeg/nfZtxoAAA== --cNdxnHkX5QqsyA0e-- From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Wed Nov 21 16:44:02 2001 Subject: [ic] Interchange installation On Wed, 21 Nov 2001, Hans Poo wrote: > First of all in order to run a shell command as root you must know the root > pasword, and use the su (substitute user no super user) command. In your code > you miss a hypen(-) > > su - -c "/etc/rc.d/init.d/interchange start" Actually, his original command will work. Calling su without the first dash doesn't transfer the current environment to the shell running the command, while leaving the dash off does. The error /root/.bashrc: permission denied is caused because the interchange start script su's into interch, which can't read root's bashrc. This is only a minor annoyance in this case and can be fixed if you like in the interchange start script. > > more explicit > > su - root -c "/etc/rc.d/init.d/interchange start" > > and is the same as: > > su - root > #/etc/rc.d/init.d/interchange start > > Please check: > #man su > > Hans Poo > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Wed Nov 21 16:48:34 2001 Subject: [ic] HTML/Tagset.pm On Sun, 11 Nov 2001, Fajar Handika wrote: Try installing when the PC *is* connected to the internet, the error clearly states it is trying to download and install the required software, obviously it needs to be on the 'Net to do this. > Date: Sun, 11 Nov 2001 21:16:43 +0700 > From: Fajar Handika <undee@unmaddigital.com> > Reply-To: interchange-users@interchange.redhat.com > To: interchange-users@interchange.redhat.com > Subject: [ic] HTML/Tagset.pm > > I'm trying to install interchange on my home PC, which isn't connected to > the internet all the time for simulation purpose. > But I got this error message : > > Your Interchange main software installation appears to have been successful. > You do not appear to have all the required modules installed. You are > missing: > > SQL::Statement > Safe::Hole > MIME::Base64 > Storable > URI::URL > Trying to install now. > Get Bundle::Interchange? [yes] > > > .. and after ftping and trying to get to this url : > ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz (which is failed because > my PC isn't connected to the internet come this message : > > Can't locate HTML/Tagset.pm in @INC (@INC contains: ./lib > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl .) at Makefile.PL line 656. > make: *** [mv_install] Error 2 > > > Anyone can explain ? I use RedHat 7.1 for the OS. > > Thanks > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- "InterSAT Technical Support" <support@satx.net> From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Wed Nov 21 16:53:00 2001 Subject: [ic] Re: missing Perl modules On Wed, 21 Nov 2001, Bob Ramstad wrote: > Seriously, folks, the signal to noise ratio on this list seems to be > totally going to hell. I also suspect that if someone sat down with a > vanilla RedHat installation and documented everything they needed to > do to get Interchange running, they'd be surprised at how hard it > really is... It's hard! There are lots of steps, and someone who > doesn't really know system administration will have some real issues > getting it to run without some good instructions. This is a waste of bandwidth. Obviously there needs to be more documentation, but adding to the noise calling for the documentation isn't going to help. Don't you think we all know that there needs to be a FAQ? Why don't you spend bandwidth contributing one instead of complaining about it. It takes less time on your part to ignore newbie questions, 'press delete' instead of complaining about the S/N ratio. > I don't think it's reasonable to say that folks without the right > expertise shouldn't be trying to run Interchange. They'll try, it > won't work, and they'll come here for help. That's what has been > happening, and will continue to happen. I agree with you here. > > As far as Perl is concerned, the doc should probably explain how to > use the interactive CPAN shell, have a list of required modules, and > an example of an error message that Interchange throws when a module > is missing. Probably also good to recommend a specific Perl version > i.e. minimum 5.6.0 best to be running the latest and greatest. You've already started... keep going. From: interchange-users at interchange.redhat.com (Jay Houghton) Date: Wed Nov 21 16:59:01 2001 Subject: [ic] AuthorizeNet.pm not being recognized error.log: .../cs1/process.html Unknown charge type: AuthorizeNet I'm struggling with the AuthorizeNet integration, I've read every post on the list and scoured the web for info, and can't seem to fix this issue. I'm confident that my configuration is correct, I've tracked the issue to line 341 in Payment.pm, where: # Try our predefined modes if (! $sub and defined &{"Vend::Payment::$gw"} ) { $sub = \&{"Vend::Payment::$gw"}; } the defined &{"Vend::Payment::$gw"} is not evaluating TRUE. I've verified that $gw is set correctly to "AuthorizeNet" and printed out various variables in this routine and believe that its not recognizing the fact that AuthorizeNet.pm is installed. I'm no perl expert (which may be the problem!) so I'm not sure what needs to be done to recognize this module. I have Net::SSLeay [root@carib1 Vend]# perl -MNet::SSLeay -e 'print "It works\n"' It works [root@carib1 Vend]# what gives? about my configuration: I've done the necessary modifications to support AuthorizeNet: Require module Vend::Payment::AuthorizeNet is in Interchange.cfg CreditCardAuto is off in my catalog.cfg: Variable MV_PAYMENT_MODE AuthorizeNet Variable MV_PAYMENT_ID mypaymentid Variable MV_PAYMENT_REFERER myreferer Variable MV_PAYMENT_TEST TRUE Variable AUTHNET_ID mypaymentid Variable AUTHNET_REFERER myreferer upon restarting: Killing Interchange server 29290 with TERM. High traffic settings. Calling UI......UI is loaded... Vend::Payment::AuthorizeNet payment module initialized, using Net::SSLeay Interchange V4.8.1 Configuring catalog cs1...Using PostgreSQL, DSN=dbi:Pg:dbname=cs1...done. Interchange server started in INET and UNIX mode(s) (process id 29458) Jay Houghton Director of Engineering Advanced Software Concepts jay@advsw.com office: 978-594-5065 mobile: 617-270-5660 From: interchange-users at interchange.redhat.com (Daniel P. Zepeda) Date: Wed Nov 21 18:18:00 2001 Subject: [ic] Re: missing Perl modules > On Wed, 21 Nov 2001, Bob Ramstad wrote: > > Seriously, folks, the signal to noise ratio on this list seems to be <snip> I noticed a faq pod in a CVS update today, I don't know if this is the *best* way to get it, but I used CVS to get it and then ran perldoc <interchange-src-dir>/pod/icfaq.pod I haven't looked at it yet, but it looks long and what we were talking about. -- "Daniel P. Zepeda" <dzepeda@satx.net> From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 21 20:53:00 2001 Subject: [ic] HTML/Tagset.pm On Sun, 11 Nov 2001, Fajar Handika wrote: FH>>I'm trying to install interchange on my home PC, which isn't connected to FH>>the internet all the time for simulation purpose. FH>>But I got this error message : FH>> FH>>Your Interchange main software installation appears to have been successful. FH>>You do not appear to have all the required modules installed. You are FH>>missing: FH>> FH>> SQL::Statement FH>> Safe::Hole FH>> MIME::Base64 FH>> Storable FH>> URI::URL FH>>Trying to install now. FH>>Get Bundle::Interchange? [yes] FH>> FH>> FH>>.. and after ftping and trying to get to this url : FH>>ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz (which is failed because FH>>my PC isn't connected to the internet come this message : FH>> FH>>Can't locate HTML/Tagset.pm in @INC (@INC contains: ./lib FH>>/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 FH>>/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 FH>>/usr/lib/perl5/site_perl .) at Makefile.PL line 656. FH>>make: *** [mv_install] Error 2 FH>> FH>> FH>>Anyone can explain ? I use RedHat 7.1 for the OS. I'm sorry, but what's to explain? What am I missing? You are saying that you are not connected to the internet and it is saying that the softwares on your computer is not complete enough to finish the installation and it wants to get what's missing and you won't let it because you aren't connected. You seemed to have already undertood all of this before you wrote the message. Connect to the Internet and then re-do the installation while you are connected. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 21, 2001 at 20:50 PM: There must be more to life than compile-and-go. ---------------------------------------------------------------- This Linux System has been up 240 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 21 20:59:01 2001 Subject: [ic] Re: missing Perl modules On Wed, 21 Nov 2001, Barry Treahy, Jr. wrote: BTJ>>Your nomination for writing this proposed 'Introduction to Interchange' BTJ>>has been accepted, do we have second? BTJ>> BTJ>>All kidding aside, it probably hasn't been done because busy folks BTJ>>haven't had time to do it and Mike, and crew, can't do it all. There BTJ>>was an excellent piece of work contributed this year by Dan Browning on BTJ>>the How To for CVS and Interchange. Perhaps he can be encouraged to BTJ>>consider this too, but as I mentioned, most of us using MV and IC are BTJ>>busy supporting and deploying sites. Here's another factor that I think might apply... Once a person gets past that initial torment of the initial install they tend to forget what went on there and are more focussed on what comes next. Most of us only do a successful install once. (Or, maybe twice - to set up a second store!) The real problem (as I see it) is not in the installation, but in building and maintaining the store afterwards. (The installation was not easy for me, at the time, and I had to hire help. But, compared to what came later it was a piece of cake! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 21, 2001 at 20:55 PM: I drink to make other people interesting. ---------------------------------------------------------------- This Linux System has been up 240 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 21 21:14:01 2001 Subject: [ic] Good Merchant Account On Wed, 21 Nov 2001, Gary Henderson wrote: GH>>I am a new interchange user. I am looking for a good merchant account. I GH>>will only be processing between $500 and $1000 a month to start out. The general trend at the moment is that getting a merchant account is quite easy. Various companies are falling all over themselves to sign people up. I get almost as many telemarketers for merchant accounts as I get telemarketers for long distance service and health plans. There are numerous 'front end' companies signing people up, and they all process through a very few 'back end' companies. Echo and First Data are 2 back end companies. Both are quite good, but I prefer First Data. Your projected volume is reasonably decent. Don't be embarassed by it. Look for a low discount rate. I am presently at 1.75%, but I have been told that it is ridiculously low. But, I don't complain! Anything under 3% is very good! Look for someone that is offering to set you up for a little, or no,. set up fee. If you are going to have an on-site terminal, count on spending around $500 (or thereabouts) to buy the terminal. You can usually lease them also. If you are not going to use a gateway that is built into IC, you can get PC software for around $500 - such as ICVerify (CyberCash) etc. Avoid companies with high front end fees (disguised as application fees, installation fees, etc) Once you have things set up for Visa and MasterCard, getting Discover and Diner's Club is a piece of cake, just pay their initiation fees. American Express is generally easy to get, but they don't have proccessors for the back end, but rely on the processors for Visa and Mastercard. Or, the last time I checked, I have to have a Visa/Mastercard Merchant account to process American Express. That may have changed. Don't be ashamed of your volume. Shop around and find the best deal. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 21, 2001 at 21:00 PM: These shoes look like Frankenstein's hand-me-downs. ---------------------------------------------------------------- This Linux System has been up 240 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 21 21:36:01 2001 Subject: [ic] Re: missing Perl modules On Wed, 21 Nov 2001, Bob Ramstad wrote: BR>>I don't think it's reasonable to say that folks without the right BR>>expertise shouldn't be trying to run Interchange. They'll try, it BR>>won't work, and they'll come here for help. That's what has been BR>>happening, and will continue to happen. But, one of the neat things is that those questions (and answers) get put in the archives and the FAQ's. We constantly tell people to go look in the archives before asking questions. When that solution works well, all that gets added to the archines (and this list) are new concerns that haven't been seen before. Yes, we get people trying to run it that have a snowball's chance in Hell of making it work. But, telling them that is not going to work is only going to make them obnoxious (usually). Steering them toward the archives and telling them to work their way through those will make them feel that either they can succeed with a lot of hard work, or make them feel defeated and move on. Personally, I am ambivalent about which course they choose to take. BR>>is missing. Probably also good to recommend a specific Perl version BR>>i.e. minimum 5.6.0 best to be running the latest and greatest. Uuummm.... I haven't looked at 4.8, but when I installed 4.6 this sort of thing was made very clear and, in fact, it refused to install with less than the correct version. It then went on and installed a better version before we were done. I expect no less of 4.8. I don't agree with your feelings, Bob... A newbie comes along, he asks questions and he finds that he is in over his head and he moves on to something easier. Or, he accepts the difficulty as a challenge, something that he must conquer in order to move on and persists. Along the way he learns things, and as he learns he starts helping other people that are trying to learn what he has learned, and he helps them. In watching this list for nearly a year, I'm seeing that only Mike Heins has all of the answers! :-) I'm seeing a lot of old pro's heling out the newbies, but they are also posting requests for help. This list is a sharing experience. Yes, this list takes up a lot of bandwidth. But, except for the occasional spam it's all pretty much helpful. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 21, 2001 at 21:15 PM: Useless Invention: Open Toed Safety Shoes. ---------------------------------------------------------------- This Linux System has been up 240 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 21 22:10:01 2001 Subject: [ic] Good Merchant Account costco has a very good rate for merchant accounts. you can visit them at costco.com From: interchange-users at interchange.redhat.com (Kyle Kirkland) Date: Thu Nov 22 03:44:02 2001 Subject: [ic] 4.8.2 Admin UI Clone options not working I'm running IC4.8.2 on RH7.1.1 I'm trying to utilize the "Clone options" facility in the Admin UI to cut down on entering the same options over and over again for each of my items. For some reason, it's not working for me. I'm using "Simple Options" and when I try to clone an existing item's options, the UI just puts me back to the original blank options screen I started with without entering any data in the database. I've spent the past 5 hours sifting through the list archives and docs, modifying code, trying all suggestions I could find, but to no avail. Does anyone know why this may be happening or at least point me in a direction of trying to debug it? Any help would be GREATLY appreciated! Some details: ------------- Product A: - Simple Options + Name: Size + Label: Size + Set label to name: CHECKED + Textfield: S7=7 ft. S8=8 ft. Product B: - Simple Options + NOTHING ENTERED + Select Product A in "Clone an existing option set:" + Click "Clone options" + still NOTHING ENTERED From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Nov 22 05:52:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Mike Heins wrote on Wed, Nov 14, 2001 at 19:58 -0500: > Quoting Steffen Dettmer (steffen@dett.de): > > You're right, sorry. It's an SuSE 7.0 distribution: > > Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown > > with the old Perl 5.005_03. > > If it is Linux, this is probably not an issue other than the general > out-of-datedness of your software. upgraded: This is perl, v5.6.1 built for i686-linux > Aha. That is it -- flock() doesn't work across NFS filesystems. Fixed, anythink local now. > In any case, I am certain if it moves to a local file system > the problem will disappear. Well, it doesn't. > This is just timing problem. If we can't lock reliably, file-based > sessions simply will not work. You could move to DBI sessions. Here again a trace excerpt: [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 It looks really like and endless loop and not a failed flock(2) or so. In the trace file there are successfull accesses to store.al. After the same stat(2) call it gets opened and readed in with success. Do I think right when I assume that it's not Interchange Code that does the lib load but perl code (auto loader)? Any suggestions, ideas or hints? I would like to get it working now... oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 22 08:48:00 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it Quoting Steffen Dettmer (steffen@dett.de): > > In any case, I am certain if it moves to a local file system > > the problem will disappear. > > Well, it doesn't. Did you remove all of your data files? The Storable files can easily get corrupted. Usually Storable will tell you, though, with error messages. > > > This is just timing problem. If we can't lock reliably, file-based > > sessions simply will not work. You could move to DBI sessions. > > Here again a trace excerpt: > > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 > > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 > > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 > > It looks really like and endless loop and not a failed flock(2) > or so. In the trace file there are successfull accesses to > store.al. After the same stat(2) call it gets opened and readed > in with success. > I would suggest updating Storable, or trying to install on a new setup and seeing if you can duplicate. I have never seen this before, and I can guarantee it is not a normal mode of operation. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (Ernie Fortnum) Date: Thu Nov 22 08:54:00 2001 Subject: [ic] safe::hole missing JPpatches wrote: > hi, i'm installing interchange and i'm getting a configuration error saying > the safe::hole is missing. can anyone help me with this? Hi JP I'm about 1 step in front of you (installing Interchange 4.8.2 on a RaQ3). Amongst other things I had missing: Safe::Hole SQL::Statement Storable Based on reading what others have done in the past I went to my install directory cd /home/tmp/interchange-4.8.2 and did wget http://www.cpan.org/modules/by-module/Safe/Safe-Hole-0.08.tar.gz and (just in case you're missing the other two) wget http://www.cpan.org/modules/by-module/SQL/SQL-Statement-0.1020.tar.gz wget http://www.cpan.org/modules/by-module/Storable/Storable-1.0.13.tar.gz =========== Then for the first one : gzip -dc Safe-Hole-0.08.tar.gz | tar -xof - Then go into the newly-created directory and typed: perl Makefile.PL make make install =============== And then I repeated for the other 2 =============== I then tried restarting Interchange The complaint about Safe Hole etc at least was no longer there :-) Regards Ernie From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 22 08:58:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it On Thu, Nov 22, 2001 at 11:42:09AM +0100, Steffen Dettmer wrote: > * Mike Heins wrote on Wed, Nov 14, 2001 at 19:58 -0500: > > Quoting Steffen Dettmer (steffen@dett.de): > > > You're right, sorry. It's an SuSE 7.0 distribution: > > > Linux stella 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown > > > with the old Perl 5.005_03. > > > > If it is Linux, this is probably not an issue other than the general > > out-of-datedness of your software. > > upgraded: > This is perl, v5.6.1 built for i686-linux > > > Aha. That is it -- flock() doesn't work across NFS filesystems. > > Fixed, anythink local now. > > > In any case, I am certain if it moves to a local file system > > the problem will disappear. > > Well, it doesn't. ... > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 What's with /usr/local/.... /Storable ? How many Storables do you have? Look through your @INC. I'll bet you have more than one. That's just a guess and may or may not solve your problem. From the way the thread developed, it sure looks to me like your problem is systems administration and organizational. You've clearly got a crufty system. If you are using a distribution, like SUSE, stick with it; use their perl modules too wherever possible. I'd suggest you clean it up, even reinstalling if that is easiest. cfm > > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 > > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 > > It looks really like and endless loop and not a failed flock(2) > or so. In the trace file there are successfull accesses to > store.al. After the same stat(2) call it gets opened and readed > in with success. > > Do I think right when I assume that it's not Interchange Code > that does the lib load but perl code (auto loader)? > > Any suggestions, ideas or hints? I would like to get it working > now... > > oki, > > Steffen > > -- > Dieses Schreiben wurde maschinell erstellt, > es tr?gt daher weder Unterschrift noch Siegel. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (joachim.richter) Date: Thu Nov 22 10:25:00 2001 Subject: [ic] Netscape 4.7 / Explorer Differences ! Hi List , the problem below was solved with Mike Heins several months ago. <a href="[area scan fi=test sf=testfield se=test item tf=title ml=15 ]">[item-field article]</a> Since then I write all links like the above and they work fine with all browsers. But what is to do if instead of se=test item I have a scratch variable like [scratch dummy] ? exchanging test item with [scratch dummy] does not work. What to do now ? Any clues? > Hi there, > > how can I resolve this strange problem. this link works fine with the > internet explorer 5.5 > with the netscape 4.7 it doesnt > > <a href="scan/fi=test/sf=testfield/se=test item/tf=title/ml=15">[item-field article]</a> ^ Never generate a link like that, that is how. I won't listen to anyone tell me "it works". 8-) > <a href="[area scan fi=test sf=testfield se=test item tf=title ml=15 ]">[item-field article]</a> For hard-coded links, use the full URL plus a %20 for the space. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 22 10:35:00 2001 Subject: [ic] Netscape 4.7 / Explorer Differences ! "joachim.richter" <joachim.richter@usvideocenter.de> writes: > Hi List , > > the problem below was solved with Mike Heins several months ago. > > <a href="[area scan > fi=test > sf=testfield > se=test item > tf=title > ml=15 > ]">[item-field article]</a> > > Since then I write all links like the above and they work fine with all browsers. > But what is to do if instead of se=test item I have a scratch variable > like [scratch dummy] ? exchanging test item with [scratch dummy] does not work. > What to do now ? Any clues? What about <a href="[area scan=" fi=test sf=test field se=[scratch dummy] "]">[item-field article]</a> Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 22 11:13:01 2001 Subject: [ic] safe::hole missing I did download the perl-Safe-Hole-0.06-3cl.i386.rpm and installed and when I change to su interch and cd /usr/lib/interchange and then bin/interchange -test I get a message that says the required Safe::Hole is missing. aborting. I have tried to install and reinstall this module, but keep getting the same message. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 22 11:27:00 2001 Subject: [ic] safe::hole missing JPpatches0@aol.com writes: > I did download the perl-Safe-Hole-0.06-3cl.i386.rpm and installed and when I > change to su interch and cd /usr/lib/interchange and then bin/interchange > -test I get a message that says the required Safe::Hole is missing. aborting. > I have tried to install and reinstall this module, but keep getting the same > message. It is probably not in the Perl module path. Try if perl -MSafe::Hole -e '' fails. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ethan Goldstine) Date: Thu Nov 22 12:22:01 2001 Subject: [ic] Quick Turnaround IC Consulting Hi there, I am looking for an individual or a company that can do some quick turnaround IC consulting. I'm in the process of setting up a store and it's proving a lot more complicated than I'd thought. The store is for a non-profit organization that runs a real-life store. In addition to selling products from the store, they want to sell tickets and memberships, at various levels, through IC. Problems I'm looking for help solving include: 1. Special pricing for members of the organization. 2. Shipping that is based on total purchase of merchandise, not tickets and memberships. 3. The ability for users to request gift wrapping (at an additional charge) for any non-ticket / membership item. 4. Order routing that will send the products, tickets and memberships to different people. 5. The proper use of product options. 6. Making sure that tickets / donations / products appear on different search results form and fly pages. 7. The ability to ask additional questions on donation forms and have that info be included as part of the order. If you can help with this, please e-mail me off the list. I'm trying to get this up and running by early next week. Thank you, Ethan Ethan Goldstine Producer, kapow, inc. http://www.kapow.com 310.479.2020 From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 22 13:42:01 2001 Subject: [ic] safe::hole missing On 22 Nov 2001, Stefan Hornburg (Racke) wrote: SHR>>It is probably not in the Perl module path. SHR>>Try if SHR>> SHR>>perl -MSafe::Hole -e '' SHR>> SHR>>fails. Just for kicks, I tried this and it failed, even though my 'safe' function is working. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 22, 2001 at 13:40 PM: There are 2 ways to handle women and I know neither. ---------------------------------------------------------------- This Linux System has been up 257 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Nov 22 15:31:01 2001 Subject: [ic] safe::hole missing Jim Balcom <jim@idk-enterprises.com> writes: > On 22 Nov 2001, Stefan Hornburg (Racke) wrote: > > SHR>>It is probably not in the Perl module path. > SHR>>Try if > SHR>> > SHR>>perl -MSafe::Hole -e '' > SHR>> > SHR>>fails. > > Just for kicks, I tried this and it failed, even though my 'safe' function > is working. That is definitely not the same, you need Safe::Hole for DBI stuff et al and it is an extension to Safe, so plain safe is working even if Safe::Hole is not installed. You should try perl -MSafe -e '' :-) Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Nov 22 16:31:00 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * Mike Heins wrote on Thu, Nov 22, 2001 at 08:47 -0500: > Quoting Steffen Dettmer (steffen@dett.de): > > > In any case, I am certain if it moves to a local file system > > > the problem will disappear. > > > > Well, it doesn't. > > Did you remove all of your data files? The Storable files can easily > get corrupted. Usually Storable will tell you, though, with error > messages. Yes, I set up a complete new catalog to go for sure. > I would suggest updating Storable, oki, so I'll check CPAN. > or trying to install on a new setup Well, I reinstalled interchange 4.8.2 from tgz but into the same destination. I think anythink in use has been overwritten. > and seeing if you can duplicate. I have never seen this before, > and I can guarantee it is not a normal mode of operation. I'm afraid that this problem is not caused by storable itself but by it's loader, but I don't understand enough of the autoloader. I'll try gdb, but think the perl is compiled without debug symbols/stripped, so I think I will not see much. But thanks for the tips, I'll try them and report the results next week. Thank you for your quick reply. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Nov 22 16:45:01 2001 Subject: [ic] workaround found for 99%CPU usage problem in Vend/SessionFile.pm: "::uneval($ref);" fixes it * cfm@maine.com wrote on Thu, Nov 22, 2001 at 08:57 -0500: > On Thu, Nov 22, 2001 at 11:42:09AM +0100, Steffen Dettmer wrote: > > [pid 27204] mremap(0x40290000, 233472, 233472, MREMAP_MAYMOVE) = 0x40290000 > > [pid 27204] stat("/usr/local/interchange-4.8.2/lib/auto/Storable/store.al", > > {st_mode=S_IFREG|0444, st_size=532, ...}) = 0 > > What's with /usr/local/.... /Storable ? Sorry? the .al file is some perl code. > How many Storables do you have? I have some interchange-VER and backups of them, all with Storable. And a a old one, since the perl5.003 tree still exists. > Look through your @INC. I'll bet you have more than one. perl -e ' foreach $path (@INC) { if (-e "$path/auto/Storable" ) { print "$path\n" } }' finds nothing. perl -I/usr/local/interchange-4.8.2/lib/ -e $same_proc finds only: /usr/local/interchange-4.8.2/lib/ Before reinstalling Storable, I'll remove any so named directory. > the thread developed, it sure looks to me like your problem is systems > administration and organizational. You've clearly got a crufty system. This may be true, but after reinstalling perl and interchange it should be clean, shouldn't it? > If you are using a distribution, like SUSE, stick with it; use their > perl modules too wherever possible. Well... I can check if SuSE has a perl 5.6 RPM (I think they had an security announcement once) and try that, too. > I'd suggest you clean it up, even reinstalling if that is > easiest. I'll look if I have some other test server around some where. Maybe on this system it will disapear (I had such things already with no known reason). It seems that I'm the only one with this problem, so it seems to be something really weired... Hum. #include "why_me.h" :) oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 22 20:06:00 2001 Subject: [ic] Interchange installation I seem to have interchange installed and running. I also installed the foundation demo store and have a url address of http://localhost/cgi-bin/foundation to access the demo store, but I get the response undefined catalog /cgi-bin/foundation any chance someone else has come accross this and could give me an idea of what i need to do to define the catalog? From: interchange-users at interchange.redhat.com (Steve Graham) Date: Thu Nov 22 23:11:00 2001 Subject: [ic] Sell Price vs Qty1/Price1 Hello, New user/developer here. IC 4.8.2 up & running. I could probably determine IC's actions with this but thought I would ask before modifying my MySql database. What will happen if I add to the quantity discounts file a field called q1, and of course still have standard product price in the main products file? Which will be the correct price? I would like to show the Manufacturer's suggested list price, and my quantity discount prices in the fly-page. I have determined how to show the discounts on the fly-page, but did not attempt the q1 yet. I would like the product price to be the "list" price, and q1 our standard q1 sale price. - any suggestion appreciated. <> btw: I am considering buying the full set of documentation on 4.8.2 to help support the IC cause - are these a manuals helplfull? Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 22 23:44:01 2001 Subject: [ic] safe::hole missing solved the undefined catalog /cgi-bin/foundation problem. after searching the previous mailing list archives I found a command to use to update the perl modules perl -MCPAN -e 'install Bundle::Interchange' after running this as root I was able to access the demo store. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Nov 23 01:17:00 2001 Subject: [ic] Interchange installation * JPpatches0@aol.com wrote on Thu, Nov 22, 2001 at 20:05 -0500: > undefined catalog /cgi-bin/foundation The catalogs that get accepted by the server (to which the link program connects to) have to be configured in interchange.cfg in the interchange directory (not in the catalog directory). It's important that the paths and URLs match exactly. Example: #Catalog store /var/lib/interchange/store /cgi-bin/store Catalog foundation /some/path/catalogs/foundation /docroot/path/cgi-bin/foundation.cgi /cgi-bin/foundation (this are two lines, the first is a comment). Check if the settings are correct. Check error.log in the interchange directory as always. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Fri Nov 23 01:22:01 2001 Subject: [ic] Sell Price vs Qty1/Price1 * Steve Graham wrote on Fri, Nov 23, 2001 at 04:10 +0000: > What will happen if I add to the quantity discounts file a field called q1, > and of course still have standard product price in the main products file? > Which will be the correct price? AFAIK (and this is not much) the foundation demo uses quantity pricing for dealers. So adding q1... wouldn't change anything for "ordinary" users. > I would like to show the Manufacturer's suggested list price, > and my quantity discount prices in the fly-page. I have > determined how to show the discounts on the fly-page, but did > not attempt the q1 yet. I would recommend (which may be complete non-sense) to add a field to the database called "sugg_price" and print it out just for information. Since you use a DMBS, you can use some SQL query to add that field on the run without any problems (please note, if you don't set NoImport your database tables may be dropped and recreated if you change the .txt files!). After that, you need to change the pages. To add the value of sugg_price, you could use: ..... <td align="left"> Price: <b>[item-price]<b> </td> <td align="left"> <I>(suggested Price: [item-price])</I> </td> ..... Without the fear that this new field will change anything as side effect. > I would like the product price to be the "list" price, and q1 > our standard q1 sale price. - any suggestion appreciated. You can implement that but AFAIK the foundation demo handles it not in this way. > <> btw: > I am considering buying the full set of documentation on 4.8.2 to help > support the IC cause - are these a manuals helplfull? Documentation is always helpful :) And buying it should help the development so it may be a good idea. But on this list I read that are printouts of the online documentation, so you won't get anythink new AFAIK. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 23 09:34:01 2001 Subject: [ic] Database administration with Interchange Adminstration tool ? Hello, I am looking for a documentation of the Interchange administration tool. Does anaybody know where to find a documentation (e. g. based on the demo foundation store) ? I am using the foundation store and would like to change this store in a way that it fits my needs. Therefore I would like to expand the product table in Postgresql with some additional data fields. Is there a way to do this with the administration tool? Greetings Christian Willer -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at interchange.redhat.com (David Bordas) Date: Fri Nov 23 11:31:00 2001 Subject: [ic] Shipping on max weight ? Hi, I'm trying to make a shipping by max weight. For exemple if i have 2 products one at weight 6 and one at 4. Shipping charge'll be 6 $. but i don't find how to do it ? I try to modify checkout.html near [seti weight] ... but don't solve my problem. I think i should modify my shipping method that is for the moment standard shipping by weight, weight multiply by 1 . But don't know how to set max weight there ? please i'm lost and i really need help. thank in advance. David From: interchange-users at interchange.redhat.com (Eric Paul) Date: Fri Nov 23 16:15:01 2001 Subject: [ic] Sudden Cybercash Error One of my clients who has had a store up and running for a couple years now just started having a problem yesterday. When clearing cards thru CyberCash, the following error message is showing up in the log: starfire /cgi-bin/starfire/process.html Cybercash Error: > Location: CCMckDirectLib3_2; Message: The HTTP server has not processed your request. > Here is the response status that it returned: 400 Bad Request > This error occurred suddenly, and with no configuration changes on our part. Is anyone else experiencing similar problems? I know that Verisign was going to be changing some things with CC, but I was informed that the methods called from the Perl libraries were not changing. Any ideas? Eric From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Nov 23 16:25:01 2001 Subject: [ic] How can I copy item with new sku and change other fields? Hi list, I want to copy one seleted item as a new item with a my own new sku and changing some other fields like description in the Admin-UI? This is my wish: - select one item to copy as a new item - give the new sku for the newest item - change something in some other item fields of the new item - save it I am missing a button "Copy this item as a new item" in my UI! Any suggestions, helps or hints are very wellcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Nov 23 16:32:00 2001 Subject: [ic] search error: Limit subroutine creation Hi List, I've trouble to try out the reason of the following error messages: 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] intos /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit Terminator/su=yes/va=katalogseite=173/va=group=SCSI Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > 192.168.3.1 8hvxIYcL:192.168.3.1 - [23/November/2001:22:02:33 +0100] intos /cgi-bin/intos/scan/va=Selektionskz=1/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit Terminator/su=yes/va=katalogseite=173/va=group=SCSI Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > 192.168.3.1 hvxIYcLS:192.168.3.1 - [23/November/2001:22:02:33 +0100] intos /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) LVD Kabel/su=yes/va=katalogseite=174/va=group=SCSI Kabel/va=subgroup=SCSI-III (U2W&#47;160) LVD Kabel search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > 192.168.3.1 vxIYcLSp:192.168.3.1 - [23/November/2001:22:02:34 +0100] intos /cgi-bin/intos/scan/va=Selektionskz=1/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) LVD Kabel/su=yes/va=katalogseite=174/va=group=SCSI Kabel/va=subgroup=SCSI-III (U2W&#47;160) LVD Kabel search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > This message is comming four times by one searching access for the group (Gruppe) and subgroup (Untergruppe). What is the reason? Any suggestions, helps and hints are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Nov 23 16:38:01 2001 Subject: [ic] How can I copy item with new sku and change other fields? For IC 4.8 & up use the clone item button. -Steve >From: Joachim Leidinger <jojo@blackpoint.de> >Reply-To: interchange-users@interchange.redhat.com >To: "interchange-users@developer.akopia.com" ><interchange-users@chevelle.interchange.redhat.com> >Subject: [ic] How can I copy item with new sku and change other fields? >Date: Fri, 23 Nov 2001 22:24:23 +0100 > >Hi list, > >I want to copy one seleted item as a new item with a my own new sku and >changing some other fields like description in the Admin-UI? >This is my wish: > >- select one item to copy as a new item >- give the new sku for the newest item >- change something in some other item fields of the new item >- save it > >I am missing a button "Copy this item as a new item" in my UI! > >Any suggestions, helps or hints are very wellcome! > >Thanks! > >Joachim > >-- >Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce >[Hans-Joachim.leidinger@bpanet.de] >Black Point Arts Internet Solutions GmbH >http://www.bpanet.de >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 23 16:44:00 2001 Subject: [ic] Sudden Cybercash Error On Fri, Nov 23, 2001 at 04:15:03PM -0500, Eric Paul wrote: > One of my clients who has had a store up and running for a couple years now > just started having a problem yesterday. When clearing cards thru > CyberCash, the following error message is showing up in the log: > > starfire /cgi-bin/starfire/process.html Cybercash Error: > > Location: CCMckDirectLib3_2; Message: The HTTP server has not processed > your request. > > Here is the response status that it returned: > 400 Bad Request > > > > > This error occurred suddenly, and with no configuration changes on our > part. Is anyone else experiencing similar problems? I know that Verisign > was going to be changing some things with CC, but I was informed that the > methods called from the Perl libraries were not changing. Any ideas? That's not like Verisign; they are always most careful about keeping their cash cows going, even when it would be easier for everyone to improve things. So it's probably not them # include bridge_and_swampland > > Eric > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 23 16:52:01 2001 Subject: [ic] search error: Limit subroutine creation On Fri, Nov 23, 2001 at 10:31:51PM +0100, Joachim Leidinger wrote: > Hi List, > > I've trouble to try out the reason of the following error messages: > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > intos > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > ...> > This message is comming four times by one searching access for the group > (Gruppe) and subgroup (Untergruppe). > > What is the reason? > > Any suggestions, helps and hints are very welcome! We don't use that kind of search any more so I can't give you any code. What we **used to do** was maintain separate fields, pre-massaging the database on import, so that a category like "SCSI-III (U2W/160) asdf%:\+..@" would map to something safe, typically something like this: sub Squash { my($s); $s=$_[0]; $s=~tr /A-Za-z0-9+-/_/cs; # if you need case sensitive $s=~s/_+$//; $s=~s/^_+//; return $s; } Now we map all our categories to integers. :-) cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Eric Paul) Date: Fri Nov 23 16:57:00 2001 Subject: [ic] Sudden Cybercash Error At 04:43 PM 11/23/2001, you wrote: >On Fri, Nov 23, 2001 at 04:15:03PM -0500, Eric Paul wrote: > > One of my clients who has had a store up and running for a couple years > now > > just started having a problem yesterday. When clearing cards thru > > CyberCash, the following error message is showing up in the log: > > > > starfire /cgi-bin/starfire/process.html Cybercash Error: > > > Location: CCMckDirectLib3_2; Message: The HTTP server has not processed > > your request. > > > Here is the response status that it returned: > > 400 Bad Request > > > > > > > > > This error occurred suddenly, and with no configuration changes on our > > part. Is anyone else experiencing similar problems? I know that Verisign > > was going to be changing some things with CC, but I was informed that the > > methods called from the Perl libraries were not changing. Any ideas? > >That's not like Verisign; they are always most careful about keeping >their cash cows going, even when it would be easier for everyone to >improve things. So it's probably not them # include bridge_and_swampland > *rofl* The problem seems to be MCK related, as I can't even get the test forms to work. And of course, the CyberCash call center is closed today for the holiday. Does anyone by chance have a 24-hour staffed number for CyberCash? I'd rather not have to tell my client that their web store is dead in the water until Monday :P Eric From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Nov 23 16:59:39 2001 Subject: [ic] How can I copy item with new sku and change other fields? This might help also - click on the item you want to clone, then the clone button shoudl appear. >From: Joachim Leidinger <jojo@blackpoint.de> >Reply-To: interchange-users@interchange.redhat.com >To: "interchange-users@developer.akopia.com" ><interchange-users@chevelle.interchange.redhat.com> >Subject: [ic] How can I copy item with new sku and change other fields? >Date: Fri, 23 Nov 2001 22:24:23 +0100 > >Hi list, > >I want to copy one seleted item as a new item with a my own new sku and >changing some other fields like description in the Admin-UI? >This is my wish: > >- select one item to copy as a new item >- give the new sku for the newest item >- change something in some other item fields of the new item >- save it > >I am missing a button "Copy this item as a new item" in my UI! > >Any suggestions, helps or hints are very wellcome! > >Thanks! > >Joachim > >-- >Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce >[Hans-Joachim.leidinger@bpanet.de] >Black Point Arts Internet Solutions GmbH >http://www.bpanet.de >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Nov 23 18:01:00 2001 Subject: [ic] search error: Limit subroutine creation cfm@maine.com wrote: > > I've trouble to try out the reason of the following error messages: > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > intos > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > ...> > > This message is comming four times by one searching access for the group > > (Gruppe) and subgroup (Untergruppe). > > > > What is the reason? > > > > Any suggestions, helps and hints are very welcome! > > We don't use that kind of search any more so I can't give you any code. What kind of search? I'm in a muddle! > What we **used to do** was maintain separate fields, pre-massaging the > database on import, so that a category like "SCSI-III (U2W/160) asdf%:\+..@" > would map to something safe, typically something like this: > > sub Squash { > my($s); > $s=$_[0]; > > $s=~tr /A-Za-z0-9+-/_/cs; # if you need case sensitive > $s=~s/_+$//; > $s=~s/^_+//; > return $s; > } > > Now we map all our categories to integers. :-) I'm very sorry! I've no clue, what you are talking about! I use the above search url via LWP::UserAgent in my perl script to call a IC page to search for a group "SCSI Kabel" and to search for a subgroup "SCSI-III (U2W/160) LVD Kabel" and store it as a HTML file. After that, I build all that files as an one PDF file via the program "htmldoc". All other groups has the right contents in the one PDF file. But this group is empty in the PDF Files. Looking intos the creating/storing html files of the empty group (SCSI Kabel) show me, it is emtpy and the whole empty html file is wrong. There are a lot of wrong missing start html tags and end html tags. Something is breaking any IC tag for parsing or so. I've 233 PDF files and 9 of this files of the subgroup "...(U2W)...Kabel" or "...(V)..." are empty. But there are a lot of another groups and subgroups with "..(..).." and all that files are right ind HTML and PDF too! I need more information for the stupid old german boy with bad mental capability of english language, to understand the error message from IC so, that I'm able to solve the problem. If you are so kind to explain me the meaning of the error message, I will be very glad about your help, information or suggestions. Thank you very much and please .... stay on this threat! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Nov 23 18:08:01 2001 Subject: [ic] How can I copy item with new sku and change other fields? Steve Graham wrote: > > This might help also - click on the item you want to clone, then the clone > button shoudl appear. I'm in a muddle! I can't see any kind of the clone button. Where is the clone button? I choose in UI - Menu Items - clickt a sku of one item - see all field of that items with " Item list Create new item sku: 11410 Edit Pricing Up-sell Cross-sell Promotion Inventory " as a menu bar and nothing else. What is wrong? Thank you very much! Joachim [....] > >I want to copy one seleted item as a new item with a my own new sku and > >changing some other fields like description in the Admin-UI? > >This is my wish: > > > >- select one item to copy as a new item > >- give the new sku for the newest item > >- change something in some other item fields of the new item > >- save it > > > >I am missing a button "Copy this item as a new item" in my UI! > > > >Any suggestions, helps or hints are very wellcome! -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 23 18:14:00 2001 Subject: [ic] Sell Price vs Qty1/Price1 On Fri, 23 Nov 2001, Steve Graham wrote: SG>>What will happen if I add to the quantity discounts file a field called q1, SG>>and of course still have standard product price in the main products file? SG>>Which will be the correct price? SG>> SG>>I would like to show the Manufacturer's suggested list price, and my SG>>quantity discount prices in the fly-page. I have determined how to show the SG>>discounts on the fly-page, but did not attempt the q1 yet. I would like the SG>>product price to be the "list" price, and q1 our standard q1 sale price. - SG>>any suggestion appreciated. One way that I see it is to add a field in products.txt and call it something like MSRP. Then add that in to display on the fly page. Either add it in the middle of a file that has never been populated, or add it on to the end of an existing file. SG>>I am considering buying the full set of documentation on 4.8.2 to help SG>>support the IC cause - are these a manuals helplfull? A couple of weeks ago, I printed them all out after I downloaded them. Because of various glitches between the PDF and the printer, and the fact that I was trying to print both sides of the paper and get the pages to come out right, it probably would have been cheaper for me to have bought them from Red Hat. (I threw away at least a ream of paper) Otherwise, as I understand it, there is no difference. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 23, 2001 at 18:05 PM: Useless Invention: Candy bars with stannous fluoride added. ---------------------------------------------------------------- This Linux System has been up 285 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 23 18:25:01 2001 Subject: [ic] Shipping on max weight ? On Sat, 24 Nov 2001, David Bordas wrote: DB>>I'm trying to make a shipping by max weight. DB>>For exemple if i have 2 products one at weight 6 and one at 4. DB>>Shipping charge'll be 6 $. DB>> DB>>but i don't find how to do it ? DB>>I try to modify checkout.html near [seti weight] ... but don't solve my DB>>problem. DB>>I think i should modify my shipping method that is for the moment DB>>standard shipping by weight, weight multiply by 1 . DB>> DB>>But don't know how to set max weight there ? DB>> DB>>please i'm lost and i really need help. I've got a hunch that I am not understanding your question correctly. The store will add up the weights that you have specified in the products.txt file. If someone buys a widget that weighs 6 pounds and a gadget that weighs 4 pounds it now knows that the total order weight is 10 pounds. (Make sure that your shipping weights in there are correct.) Then, you need to set your shipping method in shipping.asc to deal with this total weight. For what I understand your question to be, playing with checkout.html is not going to accomplish what you want to do. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 23, 2001 at 18:15 PM: This country needs more unemployed politicians. ---------------------------------------------------------------- This Linux System has been up 285 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 23 18:30:00 2001 Subject: [ic] How can I copy item with new sku and change other fields? On Fri, 23 Nov 2001, Joachim Leidinger wrote: JL>>I want to copy one seleted item as a new item with a my own new sku and JL>>changing some other fields like description in the Admin-UI? JL>>This is my wish: JL>> JL>>- select one item to copy as a new item JL>>- give the new sku for the newest item JL>>- change something in some other item fields of the new item JL>>- save it JL>> JL>>I am missing a button "Copy this item as a new item" in my UI! JL>> JL>>Any suggestions, helps or hints are very wellcome! When I want to do something like that, I use my favorite editor on products.txt and copy the field and make the appropriate changs. I also sometimes use Jon Jensens TE to copy the field to be cloned and to make the necessary mods, I know from experience that IC will not tolerate 2 identical SKU-s, so be sure to rename one SKU before you save the file. This is a case where using the command line toold is much faster (IMHO) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 23, 2001 at 18:25 PM: Cleanliness is next to clean-limbed, in the dictionary. ---------------------------------------------------------------- This Linux System has been up 285 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Nov 23 18:32:04 2001 Subject: [ic] Sell Price vs Qty1/Price1 Thanks, I thought I would need to add a new field - it's not a big problem. -Steve >From: Jim Balcom <jim@idk-enterprises.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: Re: [ic] Sell Price vs Qty1/Price1 >Date: Fri, 23 Nov 2001 18:15:34 -0500 (EST) > >On Fri, 23 Nov 2001, Steve Graham wrote: > >SG>>What will happen if I add to the quantity discounts file a field called >q1, >SG>>and of course still have standard product price in the main products >file? >SG>>Which will be the correct price? >SG>> >SG>>I would like to show the Manufacturer's suggested list price, and my >SG>>quantity discount prices in the fly-page. I have determined how to show >the >SG>>discounts on the fly-page, but did not attempt the q1 yet. I would like >the >SG>>product price to be the "list" price, and q1 our standard q1 sale >price. - >SG>>any suggestion appreciated. > >One way that I see it is to add a field in products.txt and call it >something like MSRP. Then add that in to display on the fly page. > >Either add it in the middle of a file that has never been populated, or add >it on to the end of an existing file. > >SG>>I am considering buying the full set of documentation on 4.8.2 to help >SG>>support the IC cause - are these a manuals helplfull? > >A couple of weeks ago, I printed them all out after I downloaded them. >Because of various glitches between the PDF and the printer, and the fact >that I was trying to print both sides of the paper and get the pages to >come >out right, it probably would have been cheaper for me to have bought them >from Red Hat. (I threw away at least a ream of paper) Otherwise, as I >understand it, there is no difference. > > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Friday, November 23, 2001 at 18:05 PM: >Useless Invention: Candy bars with stannous fluoride added. > >---------------------------------------------------------------- >This Linux System has been up 285 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Nov 23 18:36:01 2001 Subject: [ic] How can I copy item with new sku and change other fields? Hello, It should be after the "create new item", and before the "sku". You might need to check your access settings under administration to make sure you are allowed to clone items. Take a look at the administration section of the demo: http://demo.ic.redhat.com/ The clone item shows up here. Otherwise, this might be a question for Mike H. >From: Joachim Leidinger <jojo@blackpoint.de> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] How can I copy item with new sku and change other fields? >Date: Sat, 24 Nov 2001 00:01:47 +0100 > >Steve Graham wrote: > > > > This might help also - click on the item you want to clone, then the >clone > > button shoudl appear. > >I'm in a muddle! I can't see any kind of the clone button. Where is the >clone button? >I choose in UI >- Menu Items >- clickt a sku of one item >- see all field of that items with >" > Item list Create new item sku: 11410 > Edit Pricing Up-sell Cross-sell Promotion >Inventory >" > >as a menu bar and nothing else. > >What is wrong? > >Thank you very much! > >Joachim > >[....] > > >I want to copy one seleted item as a new item with a my own new sku and > > >changing some other fields like description in the Admin-UI? > > >This is my wish: > > > > > >- select one item to copy as a new item > > >- give the new sku for the newest item > > >- change something in some other item fields of the new item > > >- save it > > > > > >I am missing a button "Copy this item as a new item" in my UI! > > > > > >Any suggestions, helps or hints are very wellcome! > > >-- >Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce >[Hans-Joachim.leidinger@bpanet.de] >Black Point Arts Internet Solutions GmbH >http://www.bpanet.de >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 23 18:49:01 2001 Subject: [ic] search error: Limit subroutine creation On Fri, Nov 23, 2001 at 11:56:20PM +0100, Joachim Leidinger wrote: > cfm@maine.com wrote: > > > I've trouble to try out the reason of the following error messages: > > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > intos > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > ...> > > > This message is comming four times by one searching access for the group > > > (Gruppe) and subgroup (Untergruppe). > > > > > > What is the reason? > > > > > > Any suggestions, helps and hints are very welcome! > > > > We don't use that kind of search any more so I can't give you any code. > > What kind of search? I'm in a muddle! A scan page is doing a search. > > > What we **used to do** was maintain separate fields, pre-massaging the > > database on import, so that a category like "SCSI-III (U2W/160) asdf%:\+..@" > > would map to something safe, typically something like this: > > > > sub Squash { > > my($s); > > $s=$_[0]; > > > > $s=~tr /A-Za-z0-9+-/_/cs; # if you need case sensitive > > $s=~s/_+$//; > > $s=~s/^_+//; > > return $s; > > } > > > > Now we map all our categories to integers. :-) > > I'm very sorry! I've no clue, what you are talking about! > I use the above search url via LWP::UserAgent in my perl script to call > a IC page to search for a group "SCSI Kabel" and to search for a > subgroup "SCSI-III (U2W/160) LVD Kabel" and store it as a HTML file. > After that, I build all that files as an one PDF file via the program > "htmldoc". All other groups has the right contents in the one PDF file. > But this group is empty in the PDF Files. Looking intos the > creating/storing html files of the empty group (SCSI Kabel) show me, it > is emtpy and the whole empty html file is wrong. There are a lot of > wrong missing start html tags and end html tags. Something is breaking > any IC tag for parsing or so. I've 233 PDF files and 9 of this files of > the subgroup "...(U2W)...Kabel" or "...(V)..." are empty. But there are > a lot of another groups and subgroups with "..(..).." and all that files > are right ind HTML and PDF too! > > I need more information for the stupid old german boy with bad mental > capability of english language, to understand the error message from IC > so, that I'm able to solve the problem. > > If you are so kind to explain me the meaning of the error message, I > will be very glad about your help, information or suggestions. You are passing "SCSI-III (U2W/160) LVD Kabel" as part of the http request and it is not being decoded properly. You need to encode the request properly. > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. /SCSI-III (U2W/ <---- Oops, that last / is killing the parenthesis match. Not that you want that either! My suggest is that you use another category string, "SCSI_III_U2W_160_LVD_Kabel" is what Squash sub would produce. That doesn't even have to be encoded. If you can get IC to do this search and copy the URL to your LWP that might do the trick. Or use the filter in lib/Vend/Util http_encode (maybe url_encode) I'm not sure which. > > Thank you very much and please .... stay on this threat! > > Joachim > > > > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 23 18:57:01 2001 Subject: [ic] Shipping on max weight ? On Fri, Nov 23, 2001 at 06:26:32PM -0500, Jim Balcom wrote: > On Sat, 24 Nov 2001, David Bordas wrote: > > DB>>I'm trying to make a shipping by max weight. > DB>>For exemple if i have 2 products one at weight 6 and one at 4. > DB>>Shipping charge'll be 6 $. > DB>> > DB>>but i don't find how to do it ? > DB>>I try to modify checkout.html near [seti weight] ... but don't solve my > DB>>problem. > DB>>I think i should modify my shipping method that is for the moment > DB>>standard shipping by weight, weight multiply by 1 . > DB>> > DB>>But don't know how to set max weight there ? > DB>> > DB>>please i'm lost and i really need help. > > I've got a hunch that I am not understanding your question correctly. Yeah, just what kind of shipping is this? Or are you using shipping to fudge something else? What if they have three products, one at 6 and two at 4? Do you want 6? What do you mean "shipping charge will be 6$"? Sounds like you are confused about how shipping works and need to review docs. That being noted, you can still do it with usertag or perl in shipping table. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Webster) Date: Fri Nov 23 20:43:00 2001 Subject: [ic] Ship To vs. Bill To My email confirmations come out fine (after some adjustments). However, the 'View Order' portion of the database has SHIP TO and BILL TO REVERSED!!! I have adjusted metatags and orders.profile - NOTHING has changed. Can someone please tell me where I make the appropriate adjustments. Jim. From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Fri Nov 23 23:36:00 2001 Subject: [ic] can't start up server Hi I just installed interchange 4.8.2 on my FreeBSD server and I did the bin/makecat stuff using the demo foundation. My interchange.cfg only lists the one catalog. When I start up this is what I get: host# su -l interch -c "/usr/local/interchange/bin/interchange -r" The Interchange server was not running (/usr/local/interchange/etc/interchange.pid). Low traffic settings. Calling UI.... ...UI is loaded... UserTag bar_button scalar parameter PosNumber redefined. In line 2 of the configuration file 'usertag/bar_button.tag': UserTag bar-button PosNumber 2 UserTag button scalar parameter Documentation redefined. In line 44 of the configuration file 'usertag/button.tag': UserTag button Documentation <<EOD UserTag convert_date scalar parameter PosNumber redefined. In line 2 of the configuration file 'usertag/convert_date.tag': UserTag convert-date PosNumber 1 UserTag db_date scalar parameter PosNumber redefined. In line 8 of the configuration file 'usertag/db_date.tag': UserTag db-date PosNumber 2 UserTag email_raw scalar parameter Documentation redefined. In line 17 of the configuration file 'usertag/email_raw.tag': UserTag email_raw Documentation <<EOD UserTag fcounter scalar parameter PosNumber redefined. In line 2 of the configuration file 'usertag/fcounter.tag': UserTag fcounter PosNumber 1 UserTag get_url scalar parameter Documentation redefined. In line 11 of the configuration file 'usertag/get_url.tag': UserTag get-url Documentation <<EOD UserTag rand scalar parameter PosNumber redefined. In line 2 of the configuration file 'usertag/rand.tag': UserTag rand posNumber 1 UserTag reconfig scalar parameter PosNumber redefined. In line 2 of the configuration file 'usertag/reconfig.tag': UserTag reconfig PosNumber 1 UserTag summary scalar parameter PosNumber redefined. In line 13 of the configuration file 'usertag/summary.tag': UserTag summary PosNumber 1 UserTag var scalar parameter PosNumber redefined. In line 12 of the configuration file 'usertag/var.tag': UserTag var PosNumber 2 UserTag xml_generator scalar parameter Documentation redefined. In line 128 of the configuration file 'usertag/xml_generator.tag': UserTag xml-generator Documentation <<EOD Interchange V4.8.2 Configuring catalog foundation...foundation config error: Please specify the MailOrderTo directive in the configuration file '' foundation: error in configuration. Skipping. foundation: config error. Skipping. Segmentation fault host# Even though it asked me for an address it had the default __ORDERS_TO__ thing in the catalog.cfg for this catalog. So I commented that out and put in MailOrderTo chad@shire.net same crash on startup I also tried "none". It appears to me that the MailOrderTo directive IS set, so why is the startup complaining? Thanks Chad From: interchange-users at interchange.redhat.com (Bradley Caricofe) Date: Sat Nov 24 02:13:01 2001 Subject: [ic] Sudden Cybercash Error > Does anyone by chance have a 24-hour staffed number for > CyberCash? I'd rather not have to tell my client that their web store > is > dead in the water until Monday :P > > Eric Did you try 703.295.0880? You should be able to leave a msg for their on-call holiday staff. Also try 0881. I may have the # to their NOC around here, I've done that a few times in a pinch. -Brad __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Nov 24 05:49:00 2001 Subject: [ic] search error: Limit subroutine creation Joachim Leidinger <jojo@blackpoint.de> writes: > Hi List, > > I've trouble to try out the reason of the following error messages: > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > intos > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > Try [area href=scan arg="va=Se.. sp=kresults_esay ..."] Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Florian Schuler) Date: Sat Nov 24 12:21:01 2001 Subject: [ic] =?iso-8859-1?Q?Can=B4t_use_a_db_-_table/_just_products?= Hello list, I have problems to do a sql statement with other tables than products !! I´m usinng IC 4.8.2, Postgres 7.1 The table I want to use, is called "servicesupport" I created the file servicesupport.pgsql" in my dbconf/pgsql/. see at the end of this E-Mail In my catalog.cfg I added servicesupport to "ProductFiles products servicesupport" Then I resarted (like 1001 times before) IC. Now, I do something like this: [query st=db list=1 sql="select * from servicesupport where artikelnr=2"] This is my FAX number:[sql-field fax] (for example) [/query] The "This is my FAX number:" is displayed but the number doesn´t appear. But if I change the "[sql-field fax]" to :[sql-field sku] the sku is displayed I think I´ve tried everything - I guess. "NoImport products servicesupport" in catalogs.cfg I created a file in my products-dir "servicesupport.sql" -- nothing I hope someone of you can help me or knows an awnser. Thanks in advance | enjoy your weekend if you can ;-)) Florian Schuler Here is my servicesupport.pgsq: Database servicesupport servicesupport.txt __SQLDSN__ ifdef SQLUSER Database servicesupport USER __SQLUSER__ endif ifdef SQLPASS Database servicesupport PASS __SQLPASS__ endif Database servicesupport KEY sku Database servicesupport COLUMN_DEF "sku=integer NOT NULL PRIMARY KEY" Database servicesupport COLUMN_DEF "artikelnr=text" Database servicesupport COLUMN_DEF "ansprechpartner=text" Database servicesupport COLUMN_DEF "tel=VARCHAR(128)" Database servicesupport COLUMN_DEF "fax=text" Database servicesupport COLUMN_DEF "email=text" Database servicesupport NUMERIC sku Database servicesupport INDEX artikelnr From: interchange-users at interchange.redhat.com (Eric Paul) Date: Sat Nov 24 12:27:00 2001 Subject: [ic] Sudden Cybercash Error At 02:12 AM 11/24/2001, you wrote: > > Does anyone by chance have a 24-hour staffed number for > > CyberCash? I'd rather not have to tell my client that their web store > > is > > dead in the water until Monday :P > > > > Eric > >Did you try 703.295.0880? You should be able to leave a msg for their >on-call holiday staff. Also try 0881. I may have the # to their NOC >around here, I've done that a few times in a pinch. Thanks Brad. I finally got hold of someone today. Their response: "Oh wow. Yeah, it shouldn't do that. But I don't know how to fix it, and there's no one in today that I can escalate it to. Someone will be in touch on Monday." So nice to know Verisign is looking out for my business interests :P Meanwhile, is anyone else having a similar problem with the 3.2 Perl modules? I've tried installing a fresh MCK into another directory and just running their test harness, and I'm getting the same error. That would lead me to believe the problem isn't on my end, but I would have thought the whole list would be hopping with complaints if all of CC was down... Anyone? Eric From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Sat Nov 24 12:41:01 2001 Subject: [ic] search error: Limit subroutine creation * cfm@maine.com wrote on Fri, Nov 23, 2001 at 18:48 -0500: > On Fri, Nov 23, 2001 at 11:56:20PM +0100, Joachim Leidinger wrote: > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > /SCSI-III (U2W/ <---- Oops, that last / is killing the parenthesis > match. Not that you want that either! I haven't checked the code, but for me it looks dangerous that there is not input validator putting an error before. What would happen when the user constructs careful search strings like se=x/;some_perl_code or similar? > My suggest is that you use another category string, > "SCSI_III_U2W_160_LVD_Kabel" is what Squash sub would produce. This stops IC from generating non-working links, but an attacker could request them with faked pages of course. Do I have to carry about such issues when developing a catalog with ITL, or is it safe by it's concepts? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Sat Nov 24 12:44:28 2001 Subject: [ic] Database administration with Interchange Adminstration tool ? > store in a way that it fits my needs. Therefore I would like > to expand the product table in Postgresql with some > additional data fields. Is there a way to do this with the > administration tool? Nope, but it is planned for a future enhancement. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Nov 24 12:53:00 2001 Subject: [ic] =?iso-8859-1?q?Can=B4t?= use a db - table/ just products "Florian Schuler" <VisionCall@gmx.de> writes: > Hello list, > > I have problems to do a sql statement with other tables than products !! > I´m usinng IC 4.8.2, Postgres 7.1 > The table I want to use, is called "servicesupport" > > I created the file servicesupport.pgsql" in my dbconf/pgsql/. see at the end > of this E-Mail > In my catalog.cfg I added servicesupport to "ProductFiles products > servicesupport" > > Then I resarted (like 1001 times before) IC. > Now, I do something like this: > > [query st=db list=1 sql="select * from servicesupport where artikelnr=2"] > This is my FAX number:[sql-field fax] (for example) > [/query] Hm, does: [query st=db table=servicesupportlist=1 sql="select * from servicesupport where artikelnr=2"] ... [/query] work ? Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Nov 24 12:57:00 2001 Subject: [ic] Sudden Cybercash Error Eric Paul <epaul@spellbook.net> writes: [...] > > Meanwhile, is anyone else having a similar problem with the 3.2 Perl > modules? I've tried installing a fresh MCK into another directory and just > running their test harness, and I'm getting the same error. That would lead > me to believe the problem isn't on my end, but I would have thought the > whole list would be hopping with complaints if all of CC was down... Anyone? Hm, the shop of our customer who uses CyberCash works fine. No problems this weekend. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Sat Nov 24 13:19:01 2001 Subject: [ic] Re: =?iso-8859-1?Q?=5Bic=5D_Can=B4t_use_a_db_-_table=2F_just_products?= * Florian Schuler wrote on Sat, Nov 24, 2001 at 18:28 +0100: > The table I want to use, is called "servicesupport" > > I created the file servicesupport.pgsql" in my dbconf/pgsql/. see at the end > of this E-Mail Do you include this file in the config or why do you need it?! > In my catalog.cfg I added servicesupport to "ProductFiles products > servicesupport" It that a product table or another type table? If the latter, use: > "NoImport products servicesupport" in catalogs.cfg #no import source: Database servicesupport test.xxx __SQLDSN__ #some key field Database servicesupport key id #which is numeric of course Database servicesupport numeric id #set other options as desired: #Database servicesupport WRITE_CONTROL 1 #Database servicesupport WRITE_TAGGED 1 #or whatver... > The "This is my FAX number:" is displayed but the number doesn´t appear. > But if I change the "[sql-field fax]" to :[sql-field sku] the sku is > displayed I guess that all product tables need to have the same attributes. > I think I´ve tried everything - I guess. :) Did you put the running server into salt water? :) Well, do not try it, it helps nothing :) > enjoy your weekend if you can ;-)) I'll try it hard :) oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Leo Arnts) Date: Sat Nov 24 13:36:01 2001 Subject: [ic] Running interchange Hi, I have installed interchange on Redhat 7.1 and I want to make an shop. When I go to the html pages and I want to go to the Customer Entrance or Admin Interface I get the following error We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand. Please try again soon. The interchange process is running... Someone an idea ? Leo From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Nov 24 13:43:01 2001 Subject: [ic] search error: Limit subroutine creation Steffen Dettmer <steffen@dett.de> writes: > * cfm@maine.com wrote on Fri, Nov 23, 2001 at 18:48 -0500: > > On Fri, Nov 23, 2001 at 11:56:20PM +0100, Joachim Leidinger wrote: > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > /SCSI-III (U2W/ <---- Oops, that last / is killing the parenthesis > > match. Not that you want that either! > > I haven't checked the code, but for me it looks dangerous that > there is not input validator putting an error before. What would > happen when the user constructs careful search strings like > se=x/;some_perl_code or similar? I suppose that the search code is protected against such things. > > > My suggest is that you use another category string, > > "SCSI_III_U2W_160_LVD_Kabel" is what Squash sub would produce. > > This stops IC from generating non-working links, but an attacker > could request them with faked pages of course. Do I have to carry > about such issues when developing a catalog with ITL, or is it > safe by it's concepts? There is some possibility that users drain your databases. You can avoid this with the NoSearch directive, which is by default set to userdb. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Sat Nov 24 13:48:00 2001 Subject: [ic] Running interchange Check your interchange.cfg file and make sure the pathes match. --- Dorothy At 10:33 AM 11/24/01, you wrote: >Hi, > >I have installed interchange on Redhat 7.1 and I want to make an shop. >When I go to the html pages and I want to go to the Customer Entrance or >Admin Interface I get the following error >We're sorry, the Interchange server is unavailable... >We are out of service or may be experiencing high system demand. Please >try again soon. > >The interchange process is running... > >Someone an idea ? > >Leo > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Nov 24 13:54:01 2001 Subject: [ic] Running interchange "Leo Arnts" <leo@arnts.org> writes: > Hi, > > I have installed interchange on Redhat 7.1 and I want to make an shop. > When I go to the html pages and I want to go to the Customer Entrance or > Admin Interface I get the following error > We're sorry, the Interchange server is unavailable... > We are out of service or may be experiencing high system demand. Please > try again soon. > > The interchange process is running... > > Someone an idea ? Read the FAQ please. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Sat Nov 24 14:12:00 2001 Subject: [ic] Running interchange > We're sorry, the Interchange server is unavailable... > We are out of service or may be experiencing high system demand. Please > try again soon. > > The interchange process is running... This can be found in the mail-archive. Just follow this link and check out the search results... http://interchange.redhat.com/cgi-bin/htsearch?words=We%27re%20sorry%2c%20th e%20Interchange%20server%20is%20unavailable Rene tip: Your error has to do with wrong permissions and/or owner of the *.cgi executable. From: interchange-users at interchange.redhat.com (Steve Graham) Date: Sat Nov 24 15:19:01 2001 Subject: [ic] calling flypage Hello, Is there a better way to call the flypage for individual product details? eg: <a href="/cgin-bin/foundation/12345.html">Click Here</a> If not, do I need to add a tag for the session variable? Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Sat Nov 24 15:24:00 2001 Subject: [ic] =?iso-8859-1?Q?RE:_=5Bic=5D_Can=B4t_use_a_db_-_table/_just_products?= > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Florian Schuler > > Hello list, > > I have problems to do a sql statement with other tables than products !! > I´m usinng IC 4.8.2, Postgres 7.1 > The table I want to use, is called "servicesupport" > > I created the file servicesupport.pgsql" in my dbconf/pgsql/. see at the > end > of this E-Mail > In my catalog.cfg I added servicesupport to "ProductFiles products > servicesupport" > > Then I resarted (like 1001 times before) IC. > Now, I do something like this: > > [query st=db list=1 sql="select * from servicesupport where artikelnr=2"] > This is my FAX number:[sql-field fax] (for example) > [/query] Try: [query st=db list=1 sql="select sku, fax from servicesupport where artikelnr=2"] This is my FAX number:[sql-field fax] (for example) [/query] It may be an issue with the "select *". I always use a complete field list after seeing performance degradation and problems when creating stored procedures in MS SQL Server when using the '*' for a field list (this was not on an IC project). The MS engine compiles the stored procedure for quicker execution and in some cases the * caused problems in 6.5. I'm not positive this is the problem but it's worth a shot ;) <--- SNIP ---> From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 24 16:13:01 2001 Subject: [ic] Shipping on max weight ? >On Fri, Nov 23, 2001 at 06:26:32PM -0500, Jim Balcom wrote: >> On Sat, 24 Nov 2001, David Bordas wrote: >> >> DB>>I'm trying to make a shipping by max weight. >> DB>>For exemple if i have 2 products one at weight 6 and one at 4. >> DB>>Shipping charge'll be 6 $. >> DB>> >> DB>>but i don't find how to do it ? >> DB>>I try to modify checkout.html near [seti weight] ... but don't solve my >> DB>>problem. >> DB>>I think i should modify my shipping method that is for the moment >> DB>>standard shipping by weight, weight multiply by 1 . >> DB>> >> DB>>But don't know how to set max weight there ? >> DB>> >> DB>>please i'm lost and i really need help. >> >> I've got a hunch that I am not understanding your question correctly. > >Yeah, just what kind of shipping is this? Or are you using shipping to >fudge something else? What if they have three products, one at 6 and >two at 4? Do you want 6? > Yes it'll be 6. >What do you mean "shipping charge will be 6$"? Sounds like you are confused >about how shipping works and need to review docs. > >That being noted, you can still do it with usertag or perl in shipping table. i'm know quite well perl so yes i can do it with perl, but i don't know where to do that for interchange. Could you explain me what files i should modify for accessing to the shipping table ? Thanks > > >-- > >Christopher F. Miller, Publisher cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 >1.207.657.5078 http://www.maine.com/ >Content/site management, online commerce, internet integration, Debian linux >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > Ce mel a été envoyé avec Meloo http://www.meloo.com Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grâce aux outils gratuits d'Internet ! From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 24 16:17:24 2001 Subject: [ic] Shipping on max weight ? >On Sat, 24 Nov 2001, David Bordas wrote: > >DB>>I'm trying to make a shipping by max weight. >DB>>For exemple if i have 2 products one at weight 6 and one at 4. >DB>>Shipping charge'll be 6 $. >DB>> >DB>>but i don't find how to do it ? >DB>>I try to modify checkout.html near [seti weight] ... but don't solve my >DB>>problem. >DB>>I think i should modify my shipping method that is for the moment >DB>>standard shipping by weight, weight multiply by 1 . >DB>> >DB>>But don't know how to set max weight there ? >DB>> >DB>>please i'm lost and i really need help. > >I've got a hunch that I am not understanding your question correctly. > >The store will add up the weights that you have specified in the >products.txt file. If someone buys a widget that weighs 6 pounds and a >gadget that weighs 4 pounds it now knows that the total order weight is 10 >pounds. (Make sure that your shipping weights in there are correct.) > it works like this for the moment but my client want to change this. In your exemple weight'll be the max, so 6 ! I know it's quite idiot but he want this ... >Then, you need to set your shipping method in shipping.asc to deal with >this total weight. > >For what I understand your question to be, playing with checkout.html is not >going to accomplish what you want to do. > ok thanks i was looking to [seti weight] in checkout.html without any success, so i'll have a look to shipping.asc. Thanks > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Friday, November 23, 2001 at 18:15 PM: >This country needs more unemployed politicians. > >---------------------------------------------------------------- >This Linux System has been up 285 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > Ce mel a été envoyé avec Meloo http://www.meloo.com Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grâce aux outils gratuits d'Internet ! From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Nov 24 16:58:00 2001 Subject: [ic] Shipping on max weight ? On Sat, Nov 24, 2001 at 10:22:27AM +0000, jv6b@meloo.com wrote: > >On Fri, Nov 23, 2001 at 06:26:32PM -0500, Jim Balcom wrote: > >> On Sat, 24 Nov 2001, David Bordas wrote: > >> > >> DB>>I'm trying to make a shipping by max weight. > >> DB>>For exemple if i have 2 products one at weight 6 and one at > 4. > >> DB>>Shipping charge'll be 6 $. > >> DB>> > >> DB>>but i don't find how to do it ? > >> DB>>I try to modify checkout.html near [seti weight] ... but don't > solve my > >> DB>>problem. > >> DB>>I think i should modify my shipping method that is for the moment > > >> DB>>standard shipping by weight, weight multiply by 1 . > >> DB>> > >> DB>>But don't know how to set max weight there ? > >> DB>> > >> DB>>please i'm lost and i really need help. > >> > >> I've got a hunch that I am not understanding your question correctly. > > > > >Yeah, just what kind of shipping is this? Or are you using shipping > to > >fudge something else? What if they have three products, one at 6 > and > >two at 4? Do you want 6? > > > Yes it'll be 6. > >What do you mean "shipping charge will be 6$"? Sounds like you are > confused > >about how shipping works and need to review docs. > > > >That being noted, you can still do it with usertag or perl in shipping > table. > i'm know quite well perl so yes i can do it with perl, but i don't > know where to do that for interchange. > Could you explain me what files i should modify for accessing to the > shipping table ? Look in the docs for named subroutines in shipping.asc, in the sections on shipping. It's not even obvious to me that you can do this directly with only the shipping table, because I'd bet that only gets basket totals. (no I did not check) Perhaps a usertag that went into each page to iterate the basket, selected the maximum item, and set a value. Then THAT value was used in your subroutine in shipping. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jay Houghton) Date: Sat Nov 24 17:06:01 2001 Subject: [ic] can't start up server Chad, looks like your interchange.cfg may be including the usertag files more than once, be sure that you only have one include in your interchange.cfg: # Include individual usertags. include usertag/*.tag The MailOrderTo setting should have been specified during makecat. Its put into the /products/variable.txt file as a variable __ORDERS_TO__ Jay Houghton Director of Engineering Advanced Software Concepts jay@advsw.com office: 978-594-5065 mobile: 617-270-5660 From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Sat Nov 24 17:12:01 2001 Subject: [ic] calling flypage On Sat, 24 Nov 2001, Steve Graham wrote: > Is there a better way to call the flypage for individual product details? > eg: > > <a href="/cgin-bin/foundation/12345.html">Click Here</a> [page 12345]Click Here</a> Jon From: interchange-users at interchange.redhat.com (Steve Graham) Date: Sat Nov 24 18:17:00 2001 Subject: [ic] calling flypage Thanks - much less code. What about the simple way to include an items price/detail/order button in a page? -Steve >From: Jon Jensen <jon@redhat.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: Re: [ic] calling flypage >Date: Sat, 24 Nov 2001 17:11:36 -0500 (EST) > >On Sat, 24 Nov 2001, Steve Graham wrote: > > > Is there a better way to call the flypage for individual product >details? > > eg: > > > > <a href="/cgin-bin/foundation/12345.html">Click Here</a> > >[page 12345]Click Here</a> > >Jon > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Sat Nov 24 18:48:01 2001 Subject: [ic] calling flypage * Steve Graham wrote on Sat, Nov 24, 2001 at 23:16 +0000: > Thanks - much less code. > > What about the simple way to include an items > price/detail/order button in a page? You can make a page for that. Use i.e. <form action="[area detail]" method=post> <input type=hidden name=mv_session_id value="[data session id]"> <input type=hidden name=detail_sku value="[item-code]"> <input type="image" alt="Details" width="45" border="0" src="__THEME_IMG_DIR__details.gif"> </from> This will open a page called detail.html in the pages directory and pass the detail_sku parameter, which can be used by a loop, scan, query or whatever. I think foundation built the details with a scan, too. It's a scan by sku which will return exactly one match. On the Page you put the wanted informations. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Nov 24 18:58:01 2001 Subject: [ic] Shipping on max weight ? On Sat, 24 Nov 2001 jv6b@meloo.com wrote: >>>Yeah, just what kind of shipping is this? Or are you using shipping >>to >>>fudge something else? What if they have three products, one at 6 >>and >>>two at 4? Do you want 6? >>> >>Yes it'll be 6. Why won't it be 14? And, I'm assuming that these 4's and 6's are weights of the products rather than prices. I'm still not clear on what you are trying to do, so my help is going to be vague, and mayhaps in appropriate. And,I see that Mr Miller (someone I highly respect) is as confused as I am. >>>What do you mean "shipping charge will be 6$"? Sounds like you are >>confused >>>about how shipping works and need to review docs. >>> >>>That being noted, you can still do it with usertag or perl in shipping >>table. >>i'm know quite well perl so yes i can do it with perl, but i don't >>know where to do that for interchange. >>Could you explain me what files i should modify for accessing to the >>shipping table ? First of all, in 'shipping.asc' are the shipping methods, and the formulas. These refer to rate tables that you get, or build, for the shipping methods that you want. Some tables are included with the demo and you can build from there. What's in the demo does work, although the rates may be inaccurate, and may not work well for other countries. In the early summer, late June or early July, I posted a lengthy tutorial about adding shipping methods. You can find that in the mail archives. The docs that come with Interchange also have a lot of information on the shipping configuration in the doc on databases. After you have been through all of those, if you are still having problems, come on back and ask some SPECIFIC questions and we will help you. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 24, 2001 at 18:45 PM: 1200 bps used to seem so fast ---------------------------------------------------------------- This Linux System has been up 310 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Nov 24 19:08:00 2001 Subject: [ic] Shipping on max weight ? On Sat, 24 Nov 2001 cfm@maine.com wrote: >>Look in the docs for named subroutines in shipping.asc, in the sections >>on shipping. It's not even obvious to me that you can do this directly >>with only the shipping table, because I'd bet that only gets basket >>totals. (no I did not check) >> >>Perhaps a usertag that went into each page to iterate the basket, selected >>the maximum item, and set a value. Then THAT value was used in your >>subroutine in shipping. If he wants to make sure that the shipping cost will never be more than X dollars (is that what he is looking for?) In shipping.asc we can put in a minimum shipping charge, can't he kind of reverse that and set a maximum? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, November 24, 2001 at 19:05 PM: DIODE: What happens to people who don't die young. ---------------------------------------------------------------- This Linux System has been up 310 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Sat Nov 24 20:38:01 2001 Subject: [ic] can't start up server On Saturday, November 24, 2001, at 05:00 , Jay Houghton wrote: > Chad, > > looks like your interchange.cfg may be including the usertag files more > than > once, be sure that you only have one include in your interchange.cfg: > > # Include individual usertags. > include usertag/*.tag I seem to only have one in the catalog.cfg. The interchange.cfg has interchange.cfg:#### Now including individual usertag files interchange.cfg:#include usertag/* which appears to be commented out > > The MailOrderTo setting should have been specified during makecat. Its > put > into the /products/variable.txt file as a variable __ORDERS_TO__ > Yes, I see that the variables.txt is set correctly. Why does it tell me that I need to define it when it is already defined? " Interchange V4.8.2 Configuring catalog foundation...foundation config error: Please specify the MailOrderTo directive in the configuration file '' " Thanks Chad From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 25 06:09:02 2001 Subject: [ic] Shipping on max weight ? >On Sat, 24 Nov 2001 jv6b@meloo.com wrote: > >>>>Yeah, just what kind of shipping is this? Or are you using shipping >>>to >>>>fudge something else? What if they have three products, one at 6 >>>and >>>>two at 4? Do you want 6? >>>> > >>>Yes it'll be 6. > >Why won't it be 14? > I know this's not logical but my client want this so i should do as they want. >And, I'm assuming that these 4's and 6's are weights of the products rather >than prices. Yep 4's and 6's are weight feild of the products. > >I'm still not clear on what you are trying to do, so my help is going to be >vague, and mayhaps in appropriate. And,I see that Mr Miller (someone I >highly respect) is as confused as I am. > >>>>What do you mean "shipping charge will be 6$"? Sounds like you are >>>confused >>>>about how shipping works and need to review docs. >>>> >>>>That being noted, you can still do it with usertag or perl in shipping >>>table. >>>i'm know quite well perl so yes i can do it with perl, but i don't >>>know where to do that for interchange. >>>Could you explain me what files i should modify for accessing to the >>>shipping table ? > >First of all, in 'shipping.asc' are the shipping methods, and the formulas. >These refer to rate tables that you get, or build, for the shipping methods >that you want. Some tables are included with the demo and you can build from >there. What's in the demo does work, although the rates may be inaccurate, >and may not work well for other countries. > >In the early summer, late June or early July, I posted a lengthy tutorial >about adding shipping methods. You can find that in the mail archives. > >The docs that come with Interchange also have a lot of information on the >shipping configuration in the doc on databases. > >After you have been through all of those, if you are still having problems, >come on back and ask some SPECIFIC questions and we will help you. > Ok thanks i'll try. In fact my calculation will be simple weight = max product weight in the cart. But the "max" isn't to definied with akopia. >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Saturday, November 24, 2001 at 18:45 PM: >1200 bps used to seem so fast > >---------------------------------------------------------------- >This Linux System has been up 310 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > Ce mel a été envoyé avec Meloo http://www.meloo.com Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grâce aux outils gratuits d'Internet ! From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Nov 25 08:18:03 2001 Subject: [ic] Shipping on max weight ? On Sun, 25 Nov 2001 jv6b@meloo.com wrote: >>Ok thanks i'll try. >>In fact my calculation will be simple >>weight = max product weight in the cart. >> >>But the "max" isn't to definied with akopia. >>Ce mel a été envoyé avec Meloo http://www.meloo.com >>Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grâce aux outils gratuits d'Internet ! OK, apparently you are French and we are having a bit of a problem with languages. I'm getting a different vibration from you now. I think that I am hearing --- It doesn't matter how many items are in the cart, or how much any of them weigh, shipping will be charged ONLY for the heaviest item. Or, a customer can buy 1,000 items that weigh 5 pounds each, and 1 item that weighs 6 pounds. The shipping cost will be calculated on a 6 pound package and the other 5,000 pounds will go for free shipping? Is this correct? You can find the routine that adds up all of the shipping weights (without looking, I think that it's in checkout.html) and instead of adding each one into a total, do a compare on each item as you cycle through the shopping cart and see if it's heavier than the previous item. If it is, that becomes the new shipping weight. If it's not heavier, then that weight is ignored. If I have misunderstood, I suggest that you post your question in your native language and perhaps someone on the list will translate it for us so that we can have another go at it. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, November 25, 2001 at 08:05 AM: He who dies with the most toys... is *still* DEAD! ---------------------------------------------------------------- This Linux System has been up 11 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 25 12:09:35 2001 Subject: [ic] Shipping on max weight ? >On Sun, 25 Nov 2001 jv6b@meloo.com wrote: > >>>Ok thanks i'll try. >>>In fact my calculation will be simple >>>weight = max product weight in the cart. >>> >>>But the "max" isn't to definied with akopia. > >>>Ce mel a été envoyé avec Meloo http://www.meloo.com >>>Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grâce aux outils gratuits d'Internet ! > >OK, apparently you are French and we are having a bit of a problem with >languages. > >I'm getting a different vibration from you now. > >I think that I am hearing --- > >It doesn't matter how many items are in the cart, or how much any of them >weigh, shipping will be charged ONLY for the heaviest item. > >Or, a customer can buy 1,000 items that weigh 5 pounds each, and 1 item that >weighs 6 pounds. The shipping cost will be calculated on a 6 pound package >and the other 5,000 pounds will go for free shipping? > >Is this correct? > yes and sorry for my poor english, i'll try to explain me better next time. >You can find the routine that adds up all of the shipping weights (without >looking, I think that it's in checkout.html) and instead of adding each one >into a total, do a compare on each item as you cycle through the shopping >cart and see if it's heavier than the previous item. If it is, that becomes >the new shipping weight. If it's not heavier, then that weight is ignored. ok for compare but i can set the new weight. I try [seti weight]6[/seti] for testing and this doesn't work :( > >If I have misunderstood, I suggest that you post your question in your >native language and perhaps someone on the list will translate it for us so >that we can have another go at it. > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Sunday, November 25, 2001 at 08:05 AM: >He who dies with the most toys... is *still* DEAD! > >---------------------------------------------------------------- >This Linux System has been up 11 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > Ce mel a été envoyé avec Meloo http://www.meloo.com Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grâce aux outils gratuits d'Internet ! From: interchange-users at interchange.redhat.com (David Berry) Date: Sun Nov 25 15:56:01 2001 Subject: [ic] How can I copy item with new sku and change other fields? Hi Joachim, If I understand your question correctly:o) In the UI - select for edit the "sku" that you want to copy, replace the "sku" with your new one and save it (ie, click ok). You will find that you now have 2 identical items with different "sku's", you can now choose either one and edit it to suit. (I'm assuming your "key" field is "sku".) Hope it helps Dave From: interchange-users at interchange.redhat.com (JT Justman) Date: Sun Nov 25 19:48:01 2001 Subject: [ic] Admin UI session problem; mysterious source? Hi, everyone! Using IC 4.8.1. The catalog is run through a hosting company. I think I am the only customer they have who uses IC, but it's all I can afford for development phase. Everything worked fine until two things were updated. 1) The document root changed. I asked them to setup a URL rewrite, but I think they might have simply changed my DocumentRoot to the link program, i.e. /cgi-bin/cart.cgi/, so that all requested files pass through IC. 2) I was changed to a static IP. I'm not sure which of the two (if it was) caused the problem. First, and most apparent, the UI images were broken. This happens any time they do anything for me, because their update scripts are broken I think. In any case, I changed the UI Images variable, but the fix wouldn't be final till I restarted (which I don't have access to do) or did "apply changes". Then I noticed a problem. I was getting lots of "maybe you need to log in" and "no permission for page". When I first opened the UI login, it would first send a cookie for the session ID, then re-assign it immediately (different number). When I would log in, it would re-assign the cookie over and over. As it turns out, more-or-less one time for each of the missing images! So the final cookie was not the same one I had logged in under. So after several hours of searching and trying different things (checking sessions settings, file perms, etc) and experimenting with cookies I realized that I could simply accept the first cookie, then refuse all others, and the site would function, more-or-less. So, before I went to ask the oh-knowledgeable IC list, I did the long-delayed apply changes. When I did so, the images came back. Then as I started to compose my message, I cleared cookies, set it to prompt, and logged in again. To my surprise, the problem had disappeared, the cookie was assigned properly, and the site functioned perfectly. So, is this just a coincidence (the "apply changes" fixed whatever was causing the problem) or did the missing images actually cause the UI to resend the cookie? Or am I nuts? Thanks for any thoughts. JT From: interchange-users at interchange.redhat.com (JT Justman) Date: Sun Nov 25 20:05:01 2001 Subject: [ic] Admin UI session problem; mysterious source? (again) I think I sent this message incorrectly the first time, but appologies if it is recieved twice. I also added something I omitted. Hi, everyone! Using IC 4.8.1. The catalog is run through a hosting company. I think I am the only customer they have who uses IC, but it's all I can afford for development phase. Everything worked fine until two things were updated. 1) The document root changed. I asked them to setup a URL rewrite, but I think they might have simply changed my DocumentRoot to the link program, i.e. /cgi-bin/cart.cgi/, so that all requested files pass through IC. 2) I was changed to a static IP. I'm not sure which of the two (if it was) caused the problem. First, and most apparent, the UI images were broken. This was the result of the docroot change. In any case, I changed the UI Images variable, but the fix wouldn't be final till I restarted (which I don't have access to do) or did "apply changes". Then I noticed a problem. I was getting lots of "maybe you need to log in" and "no permission for page". When I first opened the UI login, it would first send a cookie for the session ID, then re-assign it immediately (different number). When I would log in, it would re-assign the cookie over and over. As it turns out, more-or-less one time for each of the missing images! So the final cookie was not the same one I had logged in under. Also, from the error.log 24.176.52.249 Y2rKMBf2:24.176.52.249 - [25/November/2001:16:53:07 -0700] eden /~eden/cgi-bin/cart.cgi/interchange/en_US/B7.gif Runtime error: can't open /home/eden/catalogs/eden/session/Y/2/Y2rKMBf2:24.176.52.249: No such file or directory at /usr/local/cpanel/3rdparty/interchange/lib/Vend/SessionFile.pm line 76 Why is the missing image at the beginning of this error? So after several hours of searching and trying different things (checking sessions settings, file perms, etc) and experimenting with cookies I realized that I could simply accept the first cookie, then refuse all others, and the site would function, more-or-less. So, before I went to ask the oh-knowledgeable IC list, I did the long-delayed apply changes. When I did so, the images came back. Then as I started to compose my message, I cleared cookies, set it to prompt, and logged in again. To my surprise, the problem had disappeared, the cookie was assigned properly, and the site functioned perfectly. So, is this just a coincidence (the "apply changes" fixed whatever was causing the problem) or did the missing images actually cause the UI to resend the cookie? Or am I nuts? Thanks for any thoughts. JT From: interchange-users at interchange.redhat.com (Eric Paul) Date: Sun Nov 25 20:57:01 2001 Subject: [ic] Sudden Cybercash Error At 04:54 PM 11/23/2001, you wrote: >At 04:43 PM 11/23/2001, you wrote: >>On Fri, Nov 23, 2001 at 04:15:03PM -0500, Eric Paul wrote: >> > One of my clients who has had a store up and running for a couple >> years now >> > just started having a problem yesterday. When clearing cards thru >> > CyberCash, the following error message is showing up in the log: >> > >> > starfire /cgi-bin/starfire/process.html Cybercash Error: >> > > Location: CCMckDirectLib3_2; Message: The HTTP server has not processed >> > your request. >> > > Here is the response status that it returned: >> > 400 Bad Request >> > > >> > >> > >> > This error occurred suddenly, and with no configuration changes on our >> > part. Is anyone else experiencing similar problems? I know that Verisign >> > was going to be changing some things with CC, but I was informed that the >> > methods called from the Perl libraries were not changing. Any ideas? Many thanks to everyone who replied. The problem turned out to be unrelated to Interchange and CyberCash. My upstream installed the latest Squid cache over the holiday weekend, and for some reason this breaks CyberCash's card processing forms. I'm guessing that Squid must have been re-writing the encrypted data and CC's server flipped out, hence the error 400 I was getting. For the record, they upgraded Squid to 2.4Stable2 from 2.3Stable4. I figured I'd make sure all the important info made it into the archives on the off chance someone else gets bit by this bug. Thanks again everyone! I'm finally off to a well deserved nap... Eric From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Nov 25 21:07:01 2001 Subject: [ic] Admin UI session problem; mysterious source? On Sun, Nov 25, 2001 at 04:47:16PM -0800, JT Justman wrote: > Hi, everyone! > > Using IC 4.8.1. The catalog is run through a hosting company. I think I am > the only customer they have who uses IC, but it's all I can afford for > development phase. > > Everything worked fine until two things were updated. > > 1) The document root changed. I asked them to setup a URL rewrite, but I > think they might have simply changed my DocumentRoot to the link program, > i.e. /cgi-bin/cart.cgi/, so that all requested files pass through IC. > > 2) I was changed to a static IP. > > I'm not sure which of the two (if it was) caused the problem. > > First, and most apparent, the UI images were broken. This happens any time > they do anything for me, because their update scripts are broken I think. In > any case, I changed the UI Images variable, but the fix wouldn't be final > till I restarted (which I don't have access to do) or did "apply changes". > Then I noticed a problem. I was getting lots of "maybe you need to log in" > and "no permission for page". > > When I first opened the UI login, it would first send a cookie for the > session ID, then re-assign it immediately (different number). When I would > log in, it would re-assign the cookie over and over. As it turns out, > more-or-less one time for each of the missing images! So the final cookie > was not the same one I had logged in under. There is nothing wrong with running every through IC. We run a couple of catalogs like that. It's not the static IP per se. You are getting a new session with every request. That **might** happen if you are getting a re-written url. There can be other causes too, make sure you shut down your browser(s), blow away the session database/files and see if it still happens. > > So after several hours of searching and trying different things (checking > sessions settings, file perms, etc) and experimenting with cookies I > realized that I could simply accept the first cookie, then refuse all > others, and the site would function, more-or-less. > > So, before I went to ask the oh-knowledgeable IC list, I did the > long-delayed apply changes. When I did so, the images came back. Then as I > started to compose my message, I cleared cookies, set it to prompt, and > logged in again. To my surprise, the problem had disappeared, the cookie was > assigned properly, and the site functioned perfectly. > > So, is this just a coincidence (the "apply changes" fixed whatever was > causing the problem) or did the missing images actually cause the UI to > resend the cookie? Or am I nuts? Check your web logs. Maybe you had two IC cookies. I'd bet it was your browser and mangled cookie/session(s). > > Thanks for any thoughts. > > JT > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Sun Nov 25 22:14:01 2001 Subject: [ic] can't start up server On Saturday, November 24, 2001, at 08:38 , Chad Leigh -- Shire.Net LLC wrote: > > On Saturday, November 24, 2001, at 05:00 , Jay Houghton wrote: > >> >> The MailOrderTo setting should have been specified during makecat. Its >> put >> into the /products/variable.txt file as a variable __ORDERS_TO__ >> > > Yes, I see that the variables.txt is set correctly. Why does it tell > me that I need to define it when it is already defined? > > " > Interchange V4.8.2 > Configuring catalog foundation...foundation config error: Please > specify the MailOrderTo directive in the configuration file '' > " > OK, I went and started from scratch, reinstalling interchange and redoing the catalog. I get the same problem: host# su -l interch -c "/usr/local/interchange/bin/interchange -r" The Interchange server was not running (/usr/local/interchange/etc/interchange.pid). Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.2 Configuring catalog foundation...foundation config error: Please specify the MailOrderTo directive in the configuration file '' foundation: error in configuration. Skipping. foundation: config error. Skipping. Segmentation fault host# ---- here is the variables.txt ofr this catalog ORDERS_TO chad@shire.net Order It appears to me that the MailOrderTo directive is set, since in the catalog.cfg it is listed as catalog.cfg:MailOrderTo __ORDERS_TO__ and ORDERS_TO is set. Why is this happening? Thanks Chad From: interchange-users at interchange.redhat.com (Jud Harris) Date: Sun Nov 25 22:55:00 2001 Subject: [ic] Cybercash ? Hey folks 1. I've searched the archive and the cybercash tutorial first notes - "install the cybercash modules" - does one get these from cybercash.com when you start an account? I was hoping to experiment with them before it's set up. I looked in their support section to no avail? Can anyone point me to this module? 2. The only reference to CyberCash I can find in IC is Route cybercash configfile "__CYBER_CONFIGFILE__" in the catalog.cfg. Where'd I miss the spec for this file? I apologize if this has already been answered - please forward me on if necessary. Thanks... -Jud -- From: interchange-users at interchange.redhat.com (JT Justman) Date: Sun Nov 25 23:00:00 2001 Subject: [ic] Admin UI session problem; mysterious source? From: <cfm@maine.com> > You are getting a new session with every request. That **might** happen if > you are getting a re-written url. There can be other causes too, make > sure you shut down your browser(s), blow away the session database/files and > see if it still happens. Hmm, I'm surprised I never saw it like that. Since the images are passed through IC, the problem (whatever it was) caused each image request to be seen as a new session. That makes the fact that the number of new sessions and images corresponded make sense. > Check your web logs. Maybe you had two IC cookies. I'd bet it was > your browser and mangled cookie/session(s). I tried both Mozilla and IE. Thanks for the insight though. It seems a lot less weird like that. JT From: interchange-users at interchange.redhat.com (Eric Paul) Date: Sun Nov 25 23:09:01 2001 Subject: [ic] Cybercash ? At 10:54 PM 11/25/2001, you wrote: >Hey folks > >1. I've searched the archive and the cybercash tutorial first notes - >"install the cybercash modules" - does one get these from cybercash.com when >you start an account? I was hoping to experiment with them before it's set >up. I looked in their support section to no avail? Can anyone point me to >this module? Yes, you can download the MCK only after you fill out CyberCash's license agreement. (Although I think at one point someone was hosting just the .pm files over on homestead.com... Try searching the archives for homestead and cybercash) >2. The only reference to CyberCash I can find in IC is >Route cybercash configfile "__CYBER_CONFIGFILE__" > >in the catalog.cfg. Where'd I miss the spec for this file? This config file is created when you install the MCK. You just give IC the path to it, and install the pm files in your libdir, and off it goes. At one point, you could signup for a free test account with CyberCash, although I'm not sure if they are still doing this now that Verisign has bought them. You might check http://amps.cybercash.com for more info. HTH Eric From: interchange-users at interchange.redhat.com (Jud Harris) Date: Mon Nov 26 00:39:00 2001 Subject: [ic] faking inventory? Howdy folks, Does anyone know of a way to set an item to either In-stock or out-of-stock without actually entering a number for the inventory? maybe just a yes/no flag somewhere? I've searched the online docs to no avail - any thoughts are welcome... Thanks again! -Jud -- From: interchange-users at interchange.redhat.com (Anton Vandeplas) Date: Mon Nov 26 00:54:01 2001 Subject: [ic] PGP Encryption with Cpanel Hi, We have a server with Interchange installed under Cpanel, with Cpanel as user. We are trying to install the Encryption key, but we are unsuccessful so far to get it to work. Does anybody have experience with an installation under Cpanel? Do the keys need to be generated with Cpanel as user or is it enough to have it in the /home/cpanel/.gnupg directory. All help appreciated. Anton From: interchange-users at interchange.redhat.com (Matthew Bottrell) Date: Mon Nov 26 00:58:01 2001 Subject: [ic] Sell Price vs Qty1/Price1 Recently Jim penned the following.... > A couple of weeks ago, I printed them all out after I downloaded them. > Because of various glitches between the PDF and the printer, and the fact > that I was trying to print both sides of the paper and get the pages to come > out right, it probably would have been cheaper for me to have bought them > from Red Hat. (I threw away at least a ream of paper) Otherwise, as I > understand it, there is no difference. Living in Australia -- buying from RH wasn't an option -- (The postage alone would of killed me). I copied the PDF documentation to a floppy disk (yup it fits!), and then went down to my local printer. Two days later -- I was presented with a nicely bound set of manuals. Even seperated the various books out for me! However, if you're in the US of A I would personally buy from RedHat... if like myself you're OS... then the printer options always works a treat! Regards, Matt. From: interchange-users at interchange.redhat.com (chad townsend) Date: Mon Nov 26 01:02:00 2001 Subject: [ic] faking inventory? putting a 1 in the inventory field is like a yes/no flag ... right? plus keep in mind the 'inventory' feature is just a function in the 'demos', you can take it out all together if you wish. ./chad& Jud Harris wrote: > > Howdy folks, > > Does anyone know of a way to set an item to either In-stock or > out-of-stock without actually entering a number for the inventory? > maybe just a yes/no flag somewhere? I've searched the online docs to > no avail - any thoughts are welcome... Thanks again! > -Jud > -- > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Mon Nov 26 02:48:01 2001 Subject: [ic] Process flow I was wondering if someone could give me an overview of the buy process sequence? Specifically which files get called in which order through the ordering process. i.e click the buy button, form submits order to <file> whith args <args> and perfomrs steps <steps>, then passes data to basket for display. Now I'm betting that's fairly close, except for where the order actually gets munged into the cart. Some nice data/control flow diagrams would be nice. Maybe the core guys could show us the ones they used for the design. I have looked through the docs and archive but have found little to help. I feel like it is staring me right in the face ... I hate that :} Yours hopefuly, Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 03:01:00 2001 Subject: [ic] search error: Limit subroutine creation cfm@maine.com wrote: > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > > intos > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > ... > > > We don't use that kind of search any more so I can't give you any code. > > > > What kind of search? I'm in a muddle! > > A scan page is doing a search. What another kind of search can you use with a perl script and LWP::UserAgent? Have you a simple little example to use a POST Methode with LWP::UserAgent in a perl script to call IC for searching anything? I will be very glad to use another kind of search methode to get a right search results in my perl script. .... > > If you are so kind to explain me the meaning of the error message, I > > will be very glad about your help, information or suggestions. > > You are passing "SCSI-III (U2W/160) LVD Kabel" as part of the > http request and it is not being decoded properly. You need to > encode the request properly. > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > /SCSI-III (U2W/ <---- Oops, that last / is killing the parenthesis > match. Not that you want that either! > > My suggest is that you use another category string, > "SCSI_III_U2W_160_LVD_Kabel" is what Squash sub would produce. > That doesn't even have to be encoded. > > If you can get IC to do this search and copy the URL to your > LWP that might do the trick. Or use the filter in lib/Vend/Util > http_encode (maybe url_encode) I'm not sure which. I've tried the same search string urldecode per hand in my browser with no luck. :-( Thank you very much and please .... stay on this threat! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 03:14:00 2001 Subject: [ic] search error: Limit subroutine creation "Stefan Hornburg (Racke)" wrote: > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > Hi List, > > > > I've trouble to try out the reason of the following error messages: > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > intos > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > Try > > [area href=scan arg="va=Se.. > sp=kresults_esay > ..."] I can't use this codes, because I'm calling IC from my external perl script with LWP::UserAgent to ge a results page, which is to store into a file. The perl script is not a part of IC or of a shop/catalog. Hmmm....or did you mean that my perl script has to creates/writes a IC page with the above codes and the LWP::UserAgent has to call that pages to get a right resulst page? That is an good idea, because the script is running in the same machine, where the IC server is running and the perl script is can not used from the outside area in the internet world. It is running internal. I will try it, if a urldecode did not solve my problem. Thanks! Joachim PS: Stefan, Du bist inspirierend! :-)) -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 26 03:23:01 2001 Subject: [ic] search error: Limit subroutine creation Joachim Leidinger <jojo@blackpoint.de> writes: > cfm@maine.com wrote: > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > > > intos > > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > > ... > > > > We don't use that kind of search any more so I can't give you any code. > > > > > > What kind of search? I'm in a muddle! > > > > A scan page is doing a search. > > What another kind of search can you use with a perl script and > LWP::UserAgent? > Have you a simple little example to use a POST Methode with > LWP::UserAgent in a perl script to call IC for searching anything? > I will be very glad to use another kind of search methode to get a right > search results in my perl script. use URI::Escape; Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (joachim.richter) Date: Mon Nov 26 03:29:00 2001 Subject: [ic] Netscape 4.7 / Explorer Differences ! Thanks for the hint Racke, but this does not work either ! <A HREF="[area scan=" fi=products st=sql sf=act1 sf=act2 sf=act3 se=[scratch dummy] tf=category tf=description ml=5 "]">test</a> any other ideas ? thanx JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 26 03:32:03 2001 Subject: [ic] search error: Limit subroutine creation Joachim Leidinger <jojo@blackpoint.de> writes: > "Stefan Hornburg (Racke)" wrote: > > > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > > > Hi List, > > > > > > I've trouble to try out the reason of the following error messages: > > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > intos > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > > > Try > > > > [area href=scan arg="va=Se.. > > sp=kresults_esay > > ..."] > > I can't use this codes, because I'm calling IC from my external perl > script with LWP::UserAgent to ge a results page, which is to store into > a file. The perl script is not a part of IC or of a shop/catalog. > Hmmm....or did you mean that my perl script has to creates/writes a IC > page with the above codes and the LWP::UserAgent has to call that pages > to get a right resulst page? That is an good idea, because the script is > running in the same machine, where the IC server is running and the perl > script is can not used from the outside area in the internet world. It > is running internal. Look at the URL IC generates from the code above and write a function in your script which creates the same URL. You need to use sth like URI::Escape for spaces etc. in the search specs. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 03:50:01 2001 Subject: [ic] How can I copy item with new sku and change other fields? Steve Graham wrote: > > Hello, > > It should be after the "create new item", and before the "sku". > > You might need to check your access settings under administration to make > sure you are allowed to clone items. > > Take a look at the administration section of the demo: > http://demo.ic.redhat.com/ > > The clone item shows up here. > > Otherwise, this might be a question for Mike H. I see it and I see my error, why I can't see the clone button. I'm using IC 4.6.1 and this version has not that clone button. Looking into the UI section of IC 4.8.1, I see the codes for the cloning items. Can I copy and paste that part of codes from item-edit.html into my own item-edit.html file or should I update IC 4.6.1 to 4.8.2? Another problem is, I've defined an admin user, who can change something in the Items area, but this user is not allowed to see and change some fields. I have to fields "GID" (the group id) and "SN" (the serial number). Both fields is very important for the layout of the IC pages. How can I set both fields to "" so, that both fields is emtpy in my cloned items with a new sku? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 06:04:01 2001 Subject: [ic] search error: Limit subroutine creation "Stefan Hornburg (Racke)" wrote: > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > "Stefan Hornburg (Racke)" wrote: > > > > > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > > > > > Hi List, > > > > > > > > I've trouble to try out the reason of the following error messages: > > > > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > > intos > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > > > > > > Try > > > > > > [area href=scan arg="va=Se.. > > > sp=kresults_esay > > > ..."] .... > Look at the URL IC generates from the code above and write a function > in your script which creates the same URL. You need to use sth like > URI::Escape for spaces etc. in the search specs. I've trieb both! First with: <A HREF="[area href=scan arg="va=katalogseite=66 va=group=Festplattenwechselrahmen va=subgroup=SCSI III (UW & U2W) Festplattenwechselrahmen va=Selektionskz=0 sp=kresults_easy2G tf=RN:n co=yes sf=Gruppe se=Festplattenwechselrahmen su=yes sf=Untergruppe se=SCSI III (UW & U2W) Festplattenwechselrahmen su=yes "]">TEST </A> http://www.bpa.leidinger.local/cgi-bin/intos/scan/va=katalogseite%3d66/va=group%3dFestplattenwechselrahmen/va=subgroup%3dSCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen/va=Selektionskz%3d0/sp=kresults_easy2G/tf=RN%3an/co=yes/sf=Gruppe/se=Festplattenwechselrahmen/su=yes/sf=Untergruppe/se=SCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen/su=yes.html I get an emtpy field! ---- snip -------- Katalogseite 66 Gruppe: Festplattenwechselrahmen Untergruppe: SCSI III (UW & U2W) Festplattenwechselrahmen the rest is empty ---- snip -------- But with http://www.bpa.leidinger.local/cgi-bin/intos/scan/va=katalogseite%3d66/va=group%3dFestplattenwechselrahmen/va=subgroup%3dSCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen/va=Selektionskz%3d0/sp=kresults_easy2G/tf=RN%3an/co=yes/sf=Gruppe/se=Festplattenwechselrahmen/su=yes/sf=Untergruppe/se=SCSI III (UW & U2W) Festplattenwechselrahmen/su=yes.html I get the whole right page. It seems to me, the first error is in my perl script, because ein char "&" is using into my variable and i get an empty group name. I've tried $urlgroup = uri_escape($group); $urlsubgroup = uri_escape($subgroup); with the exact same URL as the above area codes and get the same empty page. It seems to me, IC did not use a uri_unescape($anyvar) to find the right items. Or did IC it? Thank you a lot for more helps, suggestions and tips. Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 08:18:01 2001 Subject: [ic] search error: Limit subroutine creation "Stefan Hornburg (Racke)" wrote: > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > "Stefan Hornburg (Racke)" wrote: > > > > > > Joachim Leidinger <jojo@blackpoint.de> writes: > > > > > > > Hi List, > > > > > > > > I've trouble to try out the reason of the following error messages: > > > > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > > intos > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > > > > > > Try > > > > > > [area href=scan arg="va=Se.. > > > sp=kresults_esay > > > ..."] > > > > I can't use this codes, because I'm calling IC from my external perl > > script with LWP::UserAgent to ge a results page, which is to store into > > a file. The perl script is not a part of IC or of a shop/catalog. > > Hmmm....or did you mean that my perl script has to creates/writes a IC > > page with the above codes and the LWP::UserAgent has to call that pages > > to get a right resulst page? That is an good idea, because the script is > > running in the same machine, where the IC server is running and the perl > > script is can not used from the outside area in the internet world. It > > is running internal. > > Look at the URL IC generates from the code above and write a function > in your script which creates the same URL. You need to use sth like > URI::Escape for spaces etc. in the search specs. Stefan, it seems to me, LWP::UserAgent use the URI module to escape some characters and I don't need URI::Escape. This part ------- snip ---------- se=SCSI%20III%20(UW%20&%20U2W)%20Festplattenwechselrahmen ------- snip ---------- is coming from the apache log. How can I prevent LWP::UserAgent to use the URI to uri_escape the calling url? In normal IC page, all my scan codes works for me. I want to use the same URL in my perl script without any escape by URI in LWP::UserAgent. Any idea? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Nov 26 08:53:01 2001 Subject: [ic] search error: Limit subroutine creation Joachim Leidinger <jojo@blackpoint.de> writes: [...] > > Stefan, > > it seems to me, LWP::UserAgent use the URI module to escape some > characters and I don't need URI::Escape. This part > > ------- snip ---------- > se=SCSI%20III%20(UW%20&%20U2W)%20Festplattenwechselrahmen > ------- snip ---------- > > is coming from the apache log. How can I prevent LWP::UserAgent to use > the URI to uri_escape the calling url? That is the wrong way. Special characters have to be escaped in the URL, otherwise you violate specifications. Don't do this. The culprit in this case is probably the & which isn't escaped (LWP::UserAgent couldn't know about this). Use the POST method instead of GET and escape the parameters manually. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 26 09:12:00 2001 Subject: [ic] Process flow On Mon, Nov 26, 2001 at 07:47:38AM +0000, Jeff Fearn wrote: > I was wondering if someone could give me an overview of the buy process > sequence? > > Specifically which files get called in which order through the ordering > process. > > i.e click the buy button, form submits order to <file> whith args <args> and > > perfomrs steps <steps>, then passes data to basket for display. > > Now I'm betting that's fairly close, except for where the order actually > gets munged into the cart. > > Some nice data/control flow diagrams would be nice. Maybe the core guys > could show us the ones they used for the design. I have looked through the > docs and archive but have found little to help. I feel like it is staring me > right in the face ... I hate that :} It is. That is catalog specific. You define your flow when you create the catalog. > > Yours hopefuly, Jeff. > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 26 09:23:00 2001 Subject: [ic] search error: Limit subroutine creation On Mon, Nov 26, 2001 at 09:00:04AM +0100, Joachim Leidinger wrote: > cfm@maine.com wrote: > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > > > intos > > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > > ... > > > > We don't use that kind of search any more so I can't give you any code. > > > > > > What kind of search? I'm in a muddle! > > > > A scan page is doing a search. > > What another kind of search can you use with a perl script and > LWP::UserAgent? > Have you a simple little example to use a POST Methode with > LWP::UserAgent in a perl script to call IC for searching anything? > I will be very glad to use another kind of search methode to get a right > search results in my perl script. The method you are using will work fine IF you are searching on a field that does not need escaping. code price description category squash foo bar gletc 1111 99.99 asdfasdf SCSI-III (U2W SCSI_III_U2W asd as asdf And use squash in your query instead of the category. Create squash column when you upload data. (Note this is not much less work than just escaping it right; it's for human convenience mostly.) Alternatively, create a table of contents page listing your catalogs, wget that and strip out the urls. Use those. Sorry, no examples; we don't use either method any more, but map mv_arg to a category number, so categories look like VLINK?mv_arg=20222 or some such. That's not going to help you. > .... > > > If you are so kind to explain me the meaning of the error message, I > > > will be very glad about your help, information or suggestions. > > > > You are passing "SCSI-III (U2W/160) LVD Kabel" as part of the > > http request and it is not being decoded properly. You need to > > encode the request properly. > > > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > /SCSI-III (U2W/ <---- Oops, that last / is killing the parenthesis > > match. Not that you want that either! > > > > My suggest is that you use another category string, > > "SCSI_III_U2W_160_LVD_Kabel" is what Squash sub would produce. > > That doesn't even have to be encoded. > > > > If you can get IC to do this search and copy the URL to your > > LWP that might do the trick. Or use the filter in lib/Vend/Util > > http_encode (maybe url_encode) I'm not sure which. > > I've tried the same search string urldecode per hand in my browser with > no luck. :-( > > Thank you very much and please .... stay on this threat! > > > Joachim > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 10:34:00 2001 Subject: [ic] search error: Limit subroutine creation "Stefan Hornburg (Racke)" wrote: > > Joachim Leidinger <jojo@blackpoint.de> writes: > > [...] > > > > > Stefan, > > > > it seems to me, LWP::UserAgent use the URI module to escape some > > characters and I don't need URI::Escape. This part > > > > ------- snip ---------- > > se=SCSI%20III%20(UW%20&%20U2W)%20Festplattenwechselrahmen > > ------- snip ---------- > > > > is coming from the apache log. How can I prevent LWP::UserAgent to use > > the URI to uri_escape the calling url? > > That is the wrong way. Special characters have to be escaped in > the URL, otherwise you violate specifications. Don't do this. > The culprit in this case is probably the & which isn't escaped > (LWP::UserAgent couldn't know about this). Use the > POST method instead of GET and escape the parameters manually. Yes! I know! But I'm in a muddle, because se=SCSI%20III%20%28UW%20%26%20U2W%29%20Festplattenwechselrahmen se=SCSI%20III%20%28UW%20 se=SCSI%20III%20%28 can't find the items. Only se=SCSI%20III%20 can find the items. But I get all items from all subgroup of "SCSI III .......". With the character "(" or "se=SCSI%20III%20%28", I get an empty pages always. It is very strange for me, that IC is able to handle %20 right, but not with %28 or %26. Why? 9 of ~233 subgroups is empty! :-(( Any ideas? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Mon Nov 26 12:26:01 2001 Subject: [ic] can't start up server Quoting Chad Leigh: > OK, I went and started from scratch, reinstalling interchange and > redoing the catalog. I get the same problem: > > host# su -l interch -c "/usr/local/interchange/bin/interchange -r" > The Interchange server was not running > (/usr/local/interchange/etc/interchange.pid). > Low traffic settings. > Calling UI......UI is loaded... > Interchange V4.8.2 > Configuring catalog foundation...foundation config error: Please specify > the MailOrderTo directive in the configuration file '' > > > > foundation: error in configuration. Skipping. > foundation: config error. Skipping. > Segmentation fault > host# > > ---- > > here is the variables.txt ofr this catalog > > ORDERS_TO chad@shire.net Order > > > It appears to me that the MailOrderTo directive is set, since in the > catalog.cfg it is listed as > > catalog.cfg:MailOrderTo __ORDERS_TO__ > > and ORDERS_TO is set. If you edited catalog.cfg from a Windows box, make sure you don't have excessive carriage returns after uploading to server. Curt Hauge From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Mon Nov 26 12:48:00 2001 Subject: [ic] can't start up server On Monday, November 26, 2001, at 12:22 PM, Curt Hauge wrote: > If you edited catalog.cfg from a Windows box, make sure you don't have > excessive carriage returns after uploading to server. > > Curt Hauge > > Hi Curt No windows box was used in the installation. Only vi on native FreeBSD, though I did nothing to catalog.cfg to start. Thanks Chad From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Mon Nov 26 12:54:01 2001 Subject: [ic] "newbie" documentation Howdy. I'll gladly help with making up some newbie documentation. Is the current documentation under CVS control? Could someone create a "skeleton" document in CVS for a newbie document? If I can check the document out, I'd be happy to add some chapter headings, and fill in some of the info that I know I had trouble finding and working around. Other folks can jump in, and we'll go from there. I don't know enough about how the current docs are structured to know how to best start one and be able to have the result come out formatted like the other guides. -- Bob From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Mon Nov 26 12:57:01 2001 Subject: [ic] Re: missing Perl modules "Daniel P. Zepeda" <dzepeda@mail.intersatx.net> said: It takes less time on your part to ignore newbie questions, 'press delete' instead of complaining about the S/N ratio. Actually, oddly enough, the newbie questions bother me precisely because some of the newbies aren't getting answers. Most of the time they do get answers, but not always. I personally feel guilty whenever I hit delete on a simple question, especially when I know the answer and I've struggled myself with questions that I'm sure other folks could have answered in 10 seconds. Long story short, I'd feel better if there was an appropriate M so they could RTFM. -- Bob From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Nov 26 13:08:00 2001 Subject: [ic] "newbie" documentation > Howdy. I'll gladly help with making up some newbie documentation. > > Is the current documentation under CVS control? Could > someone create a "skeleton" document in CVS for a newbie > document? If I can check the document out, I'd be happy to > add some chapter headings, and fill in some of the info that > I know I had trouble finding and working around. Other folks > can jump in, and we'll go from there. > > I don't know enough about how the current docs are structured > to know how to best start one and be able to have the result > come out formatted like the other guides. > > -- Bob Now that's what I'm talkin' 'bout. :-) I'm glad to hear that you are interested in getting involved. I'll follow up personally with some more details and SDF attachments. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Mon Nov 26 13:24:00 2001 Subject: [ic] "newbie" documentation Please let me know when you get it done. I am working on an interchange store and could use all of the help I can get. Is it possible to do fully automated credit card processing at an affordable rate? I need something cheap with little to no out of pocket expense no matter if I have to type the CC# in manually. Gary Henderson Custom Business Solutions http://www.custom-business-solutions.com ----- Original Message ----- From: "Dan Browning" <danpb@mail.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, November 26, 2001 1:08 PM Subject: RE: [ic] "newbie" documentation > > Howdy. I'll gladly help with making up some newbie documentation. > > > > Is the current documentation under CVS control? Could > > someone create a "skeleton" document in CVS for a newbie > > document? If I can check the document out, I'd be happy to > > add some chapter headings, and fill in some of the info that > > I know I had trouble finding and working around. Other folks > > can jump in, and we'll go from there. > > > > I don't know enough about how the current docs are structured > > to know how to best start one and be able to have the result > > come out formatted like the other guides. > > > > -- Bob > > Now that's what I'm talkin' 'bout. :-) I'm glad to hear that you are > interested in getting involved. I'll follow up personally with some > more details and SDF attachments. > > Dan Browning > Kavod Technologies > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chris G) Date: Mon Nov 26 13:43:01 2001 Subject: [ic] Options and Pricing I'm having a problem with options. I have a product that comes in 2 different sizes, a 4 oz and a 16 oz. The 4 oz is $2, and the 16 is $6.50. I want the item to only show up once to the customer, but I want to track the inventory quantities separatly. So that if I'm out of one of the sizes the customer can still order the other. I have about 30 of these products right now (and it's growing) and don't want my customer to have to look at double the items. I can't find a good explaination of the different options and what they do/don't do, does anyone know where I can one? Thanks. Chris _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Eric Paul) Date: Mon Nov 26 13:47:01 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) At 01:21 PM 11/26/2001, you wrote: >Please let me know when you get it done. I am working on an interchange >store and could use all of the help I can get. Is it possible to do fully >automated credit card processing at an affordable rate? I need something >cheap with little to no out of pocket expense no matter if I have to type >the CC# in manually. Check with your merchant bank, see what options they offer. Most banks have a preferred online processing house (CyberCash, SkipJack, etc...) and the rate varies from bank to bank. You can also sign up directly with some of these processing houses, but you'll pay a higher rate. If you don't want to deal with cards in real-time, check the section of the online docs on PGP/GPG encryption. Email yourself the encrypted card numbers, decrypt the cards on your local machine, and enter them in your POS terminal. HTH Eric From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Mon Nov 26 13:55:01 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) Well first off I do not have a terminal. I am strictly a computer consulting business with no physical store front. I am looking for something I can do 100% online with little to no out of pocket expenses. Gary Henderson Custom Business Solutions http://www.Custom-Business-Solutions.com ----- Original Message ----- From: "Eric Paul" <epaul@spellbook.net> To: <interchange-users@interchange.redhat.com> Sent: Monday, November 26, 2001 1:44 PM Subject: Re: [ic] Credit Card Processing (Was: "newbie" documentation) > At 01:21 PM 11/26/2001, you wrote: > >Please let me know when you get it done. I am working on an interchange > >store and could use all of the help I can get. Is it possible to do fully > >automated credit card processing at an affordable rate? I need something > >cheap with little to no out of pocket expense no matter if I have to type > >the CC# in manually. > > Check with your merchant bank, see what options they offer. Most banks > have a preferred online processing house (CyberCash, SkipJack, etc...) and > the rate varies from bank to bank. You can also sign up directly with some > of these processing houses, but you'll pay a higher rate. > > If you don't want to deal with cards in real-time, check the section of the > online docs on PGP/GPG encryption. Email yourself the encrypted card > numbers, decrypt the cards on your local machine, and enter them in your > POS terminal. > > HTH > > Eric > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Eric Paul) Date: Mon Nov 26 14:20:01 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) At 01:52 PM 11/26/2001, you wrote: >Well first off I do not have a terminal. I am strictly a computer >consulting business with no physical store front. I am looking for >something I can do 100% online with little to no out of pocket expenses. > Gary, You are going to need to talk with your bank about setting you up with a Merchant Account. This is what you would use to process credit cards. Depending on the state you live in and the bank you deal with, there are all sorts of policies regarding what this will cost and how much up front and the like. If this ends up being too restrictive, you may want to check the thread about PayPal integration. Eric From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 26 14:23:00 2001 Subject: [ic] Options and Pricing On Mon, Nov 26, 2001 at 01:31:20PM -0500, Chris G wrote: > I'm having a problem with options. I have a product that comes in 2 > different sizes, a 4 oz and a 16 oz. The 4 oz is $2, and the 16 is $6.50. > I want the item to only show up once to the customer, but I want to track > the inventory quantities separatly. So that if I'm out of one of the sizes > the customer can still order the other. I have about 30 of these products > right now (and it's growing) and don't want my customer to have to look at > double the items. I can't find a good explaination of the different options > > and what they do/don't do, does anyone know where I can one? Thanks. Have all the similar items use the same flypage, and use item list to build the varations there. So you might show one generic item with descriptions, and then a list of sizes/colors/whatever with your order links. Use different product codes for each. > > Chris > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 26 14:26:02 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) On Mon, Nov 26, 2001 at 01:52:26PM -0500, Gary Henderson wrote: > Well first off I do not have a terminal. I am strictly a computer > consulting business with no physical store front. I am looking for > something I can do 100% online with little to no out of pocket expenses. authorizenet or surepay are pretty inexpensive and give you a 100% online interface. Last I looked, surepay site didn't work 100% with netscape or mozilla. YMMV. > > Gary Henderson > Custom Business Solutions > http://www.Custom-Business-Solutions.com > ----- Original Message ----- > From: "Eric Paul" <epaul@spellbook.net> > To: <interchange-users@interchange.redhat.com> > Sent: Monday, November 26, 2001 1:44 PM > Subject: Re: [ic] Credit Card Processing (Was: "newbie" documentation) > > > > At 01:21 PM 11/26/2001, you wrote: > > >Please let me know when you get it done. I am working on an interchange > > >store and could use all of the help I can get. Is it possible to do > fully > > >automated credit card processing at an affordable rate? I need something > > >cheap with little to no out of pocket expense no matter if I have to type > > >the CC# in manually. > > > > Check with your merchant bank, see what options they offer. Most banks > > have a preferred online processing house (CyberCash, SkipJack, etc...) and > > the rate varies from bank to bank. You can also sign up directly with > some > > of these processing houses, but you'll pay a higher rate. > > > > If you don't want to deal with cards in real-time, check the section of > the > > online docs on PGP/GPG encryption. Email yourself the encrypted card > > numbers, decrypt the cards on your local machine, and enter them in your > > POS terminal. > > > > HTH > > > > Eric > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Vutura - Internet Multimedia Werbung) Date: Mon Nov 26 14:50:01 2001 Subject: [ic] access administration - server error Hi everybody! I have some problem and can find no answer in the list... If I try to acces the access administration I get an internal server error. The error log is like 221.222.223.56 AnQ4pphQ:221.222.223.56 - [26/November/2001:20:43:09 +0100] iic / cgi-bin/iic/admin/access.html Runtime error: Can't use string ("mv_junk") as a H ASH ref while "strict refs" in use at (eval 88) line 54. I can edit the access table in table administration, but i think this is very difficult... Has someone some idea, why the access administration doesn't work? thx for ya help! wzl Vutura - Internet Multimedia Werbung Inhaber: W.Wolpert Auf der Ziegelbreite 14 79331 Teningen-Bottingen Germany (Countrycode +49) Tel. 0180 3 VUTURA Fax 0180 4 VUTURA Mail info@vutura.net Internet http://www.vutura.net From: interchange-users at interchange.redhat.com (Vutura - Internet Multimedia Werbung) Date: Mon Nov 26 14:53:01 2001 Subject: [ic] access administration - server error ...I use interchange 4.8.2 Hi everybody! I have some problem and can find no answer in the list... If I try to acces the access administration I get an internal server error. The error log is like 221.222.223.56 AnQ4pphQ:221.222.223.56 - [26/November/2001:20:43:09 +0100] iic / cgi-bin/iic/admin/access.html Runtime error: Can't use string ("mv_junk") as a H ASH ref while "strict refs" in use at (eval 88) line 54. I can edit the access table in table administration, but i think this is very difficult... Has someone some idea, why the access administration doesn't work? thx for ya help! wzl Vutura - Internet Multimedia Werbung Inhaber: W.Wolpert Auf der Ziegelbreite 14 79331 Teningen-Bottingen Germany (Countrycode +49) Tel. 0180 3 VUTURA Fax 0180 4 VUTURA Mail info@vutura.net Internet http://www.vutura.net From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Nov 26 16:36:00 2001 Subject: [ic] search error: Limit subroutine creation cfm@maine.com wrote: > > > > > > 192.168.3.1 J8hvxIYc:192.168.3.1 - [23/November/2001:22:02:33 +0100] > > > > > > intos > > > > > > /cgi-bin/intos/scan/va=Selektionskz=0/sp=kresults_easy2G/tf=RN:n/co=yes/sf=Gruppe/se=SCSI > > > > > > Kabel/su=yes/sf=Untergruppe/se=SCSI-III (U2W/160) Flachbandkabel mit > > > > > > Terminator/su=yes/va=katalogseite=173/va=group=SCSI > > > > > > Kabel/va=subgroup=SCSI-III (U2W&#47;160) Flachbandkabel mit Terminator > > > > > > search error: Limit subroutine creation: Bad code: /SCSI-III (U2W/: > > > > > > unmatched () in regexp at (eval 230) line 6, <SEARCH> chunk 1. > > > > > > > ... > > What another kind of search can you use with a perl script and > > LWP::UserAgent? > > Have you a simple little example to use a POST Methode with > > LWP::UserAgent in a perl script to call IC for searching anything? > > I will be very glad to use another kind of search methode to get a right > > search results in my perl script. > > The method you are using will work fine IF you are searching on a field > that does not need escaping. > > code price description category squash foo bar gletc > 1111 99.99 asdfasdf SCSI-III (U2W SCSI_III_U2W asd as asdf Ah! I see it, what you mean! > And use squash in your query instead of the category. Create squash > column when you upload data. (Note this is not much less work than > just escaping it right; it's for human convenience mostly.) > > Alternatively, create a table of contents page listing your catalogs, > wget that and strip out the urls. Use those. > > Sorry, no examples; we don't use either method any more, but map mv_arg > to a category number, so categories look like VLINK?mv_arg=20222 or > some such. That's not going to help you. I've change the contents of the fields, who has "(", ")" and "&" so, that I don't need such characters and I get the whole PDF Pages filled with items right. It was easier than creating a new field like "squash" at the moment, because I've no times to do that. I hope Mike can find a solution to provide any searching for an itemfields (with "(",")","&", etc.) by an external script outside of IC. cfm and Racke, thank you a lot for your times. Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Mon Nov 26 18:11:00 2001 Subject: [ic] Process flow > > I was wondering if someone could give me an overview of the buy process > > sequence? > > > > Specifically which files get called in which order through the ordering > > process. > > > > i.e click the buy button, form submits order to <file> whith args <args> >and > > > > perfomrs steps <steps>, then passes data to basket for display. > > > > Now I'm betting that's fairly close, except for where the order actually > > gets munged into the cart. > > > > Some nice data/control flow diagrams would be nice. Maybe the core guys > > could show us the ones they used for the design. I have looked through >the > > docs and archive but have found little to help. I feel like it is >staring me > > right in the face ... I hate that :} > > >It is. > >That is catalog specific. You define your flow when you create the >catalog. ?!? hmmm perhaps in some small way, however in general default actions and sequences are used. Perhaps you set the order that areas and categories are displayed, however this has nothing to do with the background processing functionality,such as how an item is inserted into your cart when you click a buy button. Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Axium Computer Services) Date: Mon Nov 26 18:54:01 2001 Subject: [ic] Multi-page checkout Hi, I'm going to be implementing a multi-page checkout for my site, and I was wondering if anyone has done this and would be willing to give me a copy of the source (no point in re-inventing the wheel). Also, has anyone compiled a list of sites that are using IC? I would be interested in browsing through some of them for ideas. Thanks Steven Potter From: interchange-users at interchange.redhat.com (Vutura - Internet Multimedia Werbung) Date: Mon Nov 26 19:42:01 2001 Subject: [ic] access administration - server error ich habs mit Hilfe der Liste gelöst... hatte alte usertags in /usr/local/interchange/usertags die ohne .tag endung... thx und bis bald Von: "Vutura - Internet Multimedia Werbung" <service@vutura.net> Organisation: Vutura - Internet Multimedia Werbung An: interchange-users@interchange.redhat.com Priorität: normal Betreff: [ic] access administration - server error Antwort an: interchange-users@interchange.redhat.com Datum: Mon, 26 Nov 2001 20:51:39 -0000 > ...I use interchange 4.8.2 > > Hi everybody! > > I have some problem and can find no answer in the list... > > If I try to acces the access administration I get an internal server error. > > The error log is like > > 221.222.223.56 AnQ4pphQ:221.222.223.56 - [26/November/2001:20:43:09 +0100] iic / > cgi-bin/iic/admin/access.html Runtime error: Can't use string ("mv_junk") as a H > ASH ref while "strict refs" in use at (eval 88) line 54. > > I can edit the access table in table administration, but i think this is very difficult... > > Has someone some idea, why the access administration doesn't work? > > thx for ya help! > > wzl > > Vutura - Internet Multimedia Werbung > Inhaber: W.Wolpert > Auf der Ziegelbreite 14 > 79331 Teningen-Bottingen > Germany (Countrycode +49) > > Tel. 0180 3 VUTURA > Fax 0180 4 VUTURA > > Mail info@vutura.net > Internet http://www.vutura.net > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > Vutura - Internet Multimedia Werbung Inhaber: W.Wolpert Auf der Ziegelbreite 14 79331 Teningen-Bottingen Germany (Countrycode +49) Tel. 0180 3 VUTURA Fax 0180 4 VUTURA Mail info@vutura.net Internet http://www.vutura.net From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Nov 26 19:47:00 2001 Subject: [ic] Multi-page checkout > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Axium Computer Services > > Hi, > I'm going to be implementing a multi-page checkout for my site, and I > was wondering if anyone has done this and would be willing to give me a > copy of the source (no point in re-inventing the wheel). > > Also, has anyone compiled a list of sites that are using IC? I would be > interested in browsing through some of them for ideas. > > Thanks > > Steven Potter Any relation to Harry? Heh sorry :) You can see a large list of sites on the Hall of Fame here: http://interchange.redhat.com/cgi-bin/ic/hall.html Be sure to checkout CaseETC.com for case modding and MyGamewear.com for gaming apparel, I hear both stores rock ;) Take it easy, -Ron From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 26 20:04:01 2001 Subject: [ic] faking inventory? On Sun, 25 Nov 2001, Jud Harris wrote: JH>>Howdy folks, JH>> JH>>Does anyone know of a way to set an item to either In-stock or JH>>out-of-stock without actually entering a number for the inventory? JH>>maybe just a yes/no flag somewhere? I've searched the online docs to JH>>no avail - any thoughts are welcome... Thanks again! Go into flypage.html and perhaps results_big.html and change the page code. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 26, 2001 at 20:05 PM: 10.0 times 0.1 is hardly ever 1.0. ---------------------------------------------------------------- This Linux System has been up 29 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 26 20:30:00 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) On Mon, 26 Nov 2001, Gary Henderson wrote: GH>>Well first off I do not have a terminal. I am strictly a computer GH>>consulting business with no physical store front. I am looking for GH>>something I can do 100% online with little to no out of pocket expenses. If you are going to accept credit cards for your services, you are going to have to have a terminal, of some sort. Unless you are 'piggy-backing' on someone elses merchant account and they are doing the data entering for you. This is either a terminal that you can swipe cards through, or it is software that runs on your PC, or the required 'hooks' to use a gateway. This last spring I paid $500 for CyberCash, software that runs on my PC. Last fall I paid $375 for a terminal that prints. I'm told that I got a good deal. My buddy got set up to take charge cards through some on-=line company and the customers saw that on-line company name on their statements, instead of his. That company went out of business, and he had to go about finding a replacement. The credit card industry is lucrative, and it's not just the card holders that have to foot the bill. Perhaps there is a way that you can get set up to accept credit cards without paying out money. If there is I am not familiar with it. If there is, watch out for the "I Gotcha's" -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 26, 2001 at 20:15 PM: Hell Hath No Pizza. ---------------------------------------------------------------- This Linux System has been up 29 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Nov 26 20:36:01 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) On Mon, 26 Nov 2001, Eric Paul wrote: EP>>You are going to need to talk with your bank about setting you up with a EP>>Merchant Account. This is what you would use to process credit EP>>cards. Depending on the state you live in and the bank you deal with, EP>>there are all sorts of policies regarding what this will cost and how much EP>>up front and the like. If this ends up being too restrictive, you may want EP>>to check the thread about PayPal integration. All in all, PayPal is a viable alternative. >From what they have told me (which I have trouble believing) once I sign up for a business account, they are going to charge me a percentage on every transaction, even a paypal to paypal account. Still, this is more economical for a small operation rather than going through all of the set-up hassles and expenses for your own merchant account. I object to it because their fee is higher than what I am paying, but it is still reasonable. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, November 26, 2001 at 20:30 PM: Stand on the toilet, get high on pot. ---------------------------------------------------------------- This Linux System has been up 29 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Nov 26 20:39:02 2001 Subject: [ic] Multi-page checkout On Mon, Nov 26, 2001 at 05:53:03PM -0600, Axium Computer Services wrote: > Hi, > I'm going to be implementing a multi-page checkout for my site, and I > was wondering if anyone has done this and would be willing to give me a > copy of the source (no point in re-inventing the wheel). Look back in old minivend tarballs. There are examples there. Are you sure they are not in current distributions? basket -> checkout -> shipping -> billing -> cc -> final -> receipt kind of thing. There was a tabbed demo at one point too, in which one did not need to follow the order, as long as all the green tabs turned to red (or am I dreaming?) > > Also, has anyone compiled a list of sites that are using IC? I would be > interested in browsing through some of them for ideas. used to be on the ic site. > > Thanks > > Steven Potter > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Mon Nov 26 21:28:00 2001 Subject: [ic] Process flow There is a hash of actions in interchange/bin/interchange that handle transactions (order, search etc), function pointers to C coders. These call functions in interchange, which in turn call library functions in the interchange/lib/ directory. Now to find out what fields are in all those global objects. Jeff. >I was wondering if someone could give me an overview of the buy process >sequence? > >Specifically which files get called in which order through the ordering >process. > >i.e click the buy button, form submits order to <file> whith args <args> >and >perfomrs steps <steps>, then passes data to basket for display. > >Now I'm betting that's fairly close, except for where the order actually >gets munged into the cart. > >Some nice data/control flow diagrams would be nice. Maybe the core guys >could show us the ones they used for the design. I have looked through the >docs and archive but have found little to help. I feel like it is staring >me >right in the face ... I hate that :} > >Yours hopefuly, Jeff. > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Mon Nov 26 22:20:00 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) On Monday, November 26, 2001, at 08:38 , Jim Balcom wrote: >> From what they have told me (which I have trouble believing) once I >> sign up > for a business account, they are going to charge me a percentage on > every > transaction, even a paypal to paypal account. > This is true and it irks me to no end but if you want to offer paypal to your customers you have no real choice. And their rates are higher too. But if you use their debit card and do any sort of ebay work you can get 1.5% rebate which offsets the rate some.... Paypal used to be a great deal. Now it is not. Chad From: interchange-users at interchange.redhat.com (garnier tom) Date: Tue Nov 27 06:04:00 2001 Subject: [ic] foundation advice: is interchange usefull for me? Hey all, I am planning to use interchange-foundation for a few sites. I wouldn't need all the options since I only wanted to use it's engine as a catalog-database system and give the owners the possibility of easily adjust their catalog and product options, and to let them gain a database of registered users for offline promotion. I'm not interested in internet-selling stuff, just showing products in an easy and organised way, with personal comments, search possibility,... What are your thoughts on this? Would it be very difficult to adjust the admin to only show a few of the available options? I have some basic Perl knowledge, and starting to become pretty familiar with the foundation demo. thanks in advance. -------------------------------------------------- What's your MailBox address? - http://mailbox.hu From: interchange-users at interchange.redhat.com (David Kelly) Date: Tue Nov 27 08:28:01 2001 Subject: [ic] Using ui_profile in the table-editor tag. When using the table-editor tag under IC 4.8.2 to modify the contents of a table, I am wanting to be able to indicate to end-users which fields are required by making the applicable fields 'bold'. I notice that this is done in the commerce launcher in the ic admin using profiles. I can only find examples of using profiles with the table-editor tag in wizard mode. How can I get similar behaviour when just using the tag to edit the contents of a table? Do I need to use profiles to do this? ... and if so how? Or .. is there some other way? Thanks in advance. Sincerely David Kelly Development Team Leader Ecombiz Ltd _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Cawman) Date: Tue Nov 27 09:06:01 2001 Subject: [ic] Would like to include usernames in emails Hello, I've searched through the mail archives and cannot find the solution to my question anywhere. I would like to include the customer's newly created username in the email that they receive when placing their orders. I've found that [scratch mv_autocreate] does list the username (and password) but I cannot get the username included in the email without the mv_username in front of it. I.e. [scratch mv_autocreate] produces mv_username=U00033 mv_password=44756 but I would like to just produce U00033 Any help would be much appreciated. Thanks. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Nov 27 10:02:00 2001 Subject: [ic] Would like to include usernames in emails Cawman wrote: > > Hello, > > I've searched through the mail archives and cannot find the solution to my > question anywhere. I would like to include the customer's newly created > username in the email that they receive when placing their orders. I've > found that [scratch mv_autocreate] does list the username (and password) but > I cannot get the username included in the email without the mv_username in > front of it. > > I.e. [scratch mv_autocreate] produces > mv_username=U00033 > mv_password=44756 > > but I would like to just produce > U00033 > > Any help would be much appreciated. > Thanks. How about [value mv_username]? Did it not works for you? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Cawman) Date: Tue Nov 27 10:13:01 2001 Subject: [ic] Would like to include usernames in emails No, that did not work either. When I add that to the email nothing shows up for it except a blank space. Cawman ----- Original Message ----- From: "Joachim Leidinger" <jojo@blackpoint.de> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 7:01 AM Subject: Re: [ic] Would like to include usernames in emails > Cawman wrote: > > > > Hello, > > > > I've searched through the mail archives and cannot find the solution to my > > question anywhere. I would like to include the customer's newly created > > username in the email that they receive when placing their orders. I've > > found that [scratch mv_autocreate] does list the username (and password) but > > I cannot get the username included in the email without the mv_username in > > front of it. > > > > I.e. [scratch mv_autocreate] produces > > mv_username=U00033 > > mv_password=44756 > > > > but I would like to just produce > > U00033 > > > > Any help would be much appreciated. > > Thanks. > > How about [value mv_username]? Did it not works for you? > > Joachim > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dave) Date: Tue Nov 27 11:14:00 2001 Subject: [ic] Would like to include usernames in emails At 07:14 -0800 27/11/01, Cawman wrote: >No, that did not work either. When I add that to the email nothing shows up >for it except a blank space. [snip] > > Cawman wrote: >> > >> > Hello, >> > >> > I've searched through the mail archives and cannot find the solution to >my >> > question anywhere. I would like to include the customer's newly created >> > username in the email that they receive when placing their orders. I've >> > found that [scratch mv_autocreate] does list the username (and password) >but >> > I cannot get the username included in the email without the mv_username >in >> > front of it. >> > >> > I.e. [scratch mv_autocreate] produces >> > mv_username=U00033 >> > mv_password=44756 >> > >> > but I would like to just produce >> > U00033 >> > >> > Any help would be much appreciated. >> > Thanks. >> >> How about [value mv_username]? Did it not works for you? >> > > Joachim Try [data session username] Dave -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dave Barr eCommerce Technical Manager CricInfo Ltd www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 27 11:18:00 2001 Subject: [ic] foundation advice: is interchange usefull for me? > Hey all, > > I am planning to use interchange-foundation for a few sites. > I wouldn't need all the options since I only wanted to use > it's engine as a catalog-database system and give the owners > the possibility of easily adjust their catalog and product > options, and to let them gain a database of registered users > for offline promotion. I'm not interested in internet-selling > stuff, just showing products in an easy and organised way, > with personal comments, search possibility,... > > What are your thoughts on this? Would it be very difficult to > adjust the admin to only show a few of the available options? > I have some basic Perl knowledge, and starting to become > pretty familiar with the foundation demo. > > thanks in advance. Yes, probably a good place to start would be icmenu.txt. HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Gavin Harper) Date: Tue Nov 27 11:22:00 2001 Subject: [ic] Salestax and checkout.html Is anyone else experiencing problems with the salestax not being calculated when the checkout.html page is loaded? If I click on the refresh button on the page it adds the salestax as it is supposed to and this only happens when the page is first loaded. This is a slight problem, if the page is never Refreshed then it looks like they are not being charged salestax, but of course when the order is inserted into the database salestax has been added making the Total price that the customer sees when they choose to enter their credit card details different to the amount actually in the database ;-) Anyones input for a fix to this would me most appreciated. Gavin Harper From: interchange-users at interchange.redhat.com (Cawman) Date: Tue Nov 27 11:31:01 2001 Subject: [ic] Would like to include usernames in emails I get the same result with [data session username] as with [value mv_username]. No values show up in the emails for these variables, just blank space. Cawman ----- Original Message ----- From: "Dave" <barrd@cricinfo.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 8:12 AM Subject: Re: [ic] Would like to include usernames in emails > At 07:14 -0800 27/11/01, Cawman wrote: > >No, that did not work either. When I add that to the email nothing shows up > >for it except a blank space. > > [snip] > > > > Cawman wrote: > >> > > >> > Hello, > >> > > >> > I've searched through the mail archives and cannot find the solution to > >my > >> > question anywhere. I would like to include the customer's newly created > >> > username in the email that they receive when placing their orders. I've > >> > found that [scratch mv_autocreate] does list the username (and password) > >but > >> > I cannot get the username included in the email without the mv_username > >in > >> > front of it. > >> > > >> > I.e. [scratch mv_autocreate] produces > >> > mv_username=U00033 > >> > mv_password=44756 > >> > > >> > but I would like to just produce > >> > U00033 > >> > > >> > Any help would be much appreciated. > >> > Thanks. > >> > >> How about [value mv_username]? Did it not works for you? > >> > > > Joachim > > Try > > [data session username] > > Dave > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dave Barr eCommerce Technical Manager CricInfo Ltd > www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 11:35:00 2001 Subject: [ic] Credit Card Processing (Was: "newbie" documentation) At 08:31 PM 11/26/2001 -0500, you wrote: >On Mon, 26 Nov 2001, Gary Henderson wrote: > >GH>>Well first off I do not have a terminal. I am strictly a computer >GH>>consulting business with no physical store front. I am looking for >GH>>something I can do 100% online with little to no out of pocket expenses. > >If you are going to accept credit cards for your services, you are going to >have to have a terminal, of some sort. Unless you are 'piggy-backing' on >someone elses merchant account and they are doing the data entering for you. > >This is either a terminal that you can swipe cards through, or it is >software that runs on your PC, or the required 'hooks' to use a gateway. > >This last spring I paid $500 for CyberCash, software that runs on my PC. >Last fall I paid $375 for a terminal that prints. I'm told that I got a good >deal. > >My buddy got set up to take charge cards through some on-=line company and >the customers saw that on-line company name on their statements, instead of >his. That company went out of business, and he had to go about finding a >replacement. > >The credit card industry is lucrative, and it's not just the card holders >that have to foot the bill. > >Perhaps there is a way that you can get set up to accept credit cards >without paying out money. If there is I am not familiar with it. If there >is, watch out for the "I Gotcha's" > > >-= Jim =- FWIW - I take payment by credit cards only occasionally, and this service has worked well for me: http://www.paybyweb.com ...but I probably would not use them if my cc transactions were more frequent, as they charge a rather high per-transaction rate in exchange for the convenience of no monthly fee. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 11:40:01 2001 Subject: [ic] foundation advice: is interchange usefull for me? At 12:04 PM 11/27/2001 +0100, you wrote: >Hey all, > >I am planning to use interchange-foundation for a few sites. I wouldn't >need all the options since I only wanted to use it's engine as a >catalog-database system and give the owners the possibility of easily >adjust their catalog and product options, and to let them gain a >database of registered users for offline promotion. I'm not interested >in internet-selling stuff, just showing products in an easy and >organised way, with personal comments, search possibility,... > >What are your thoughts on this? Would it be very difficult to adjust the >admin to only show a few of the available options? >I have some basic Perl knowledge, and starting to become pretty familiar >with the foundation demo. > >thanks in advance. You can definitely do this, I have... but (I'll probably get flamed for this) if you just want dynamic layout and content tools, my understanding is that there is quite a bit to work with in the PHP world that is more directly tailored to that goal. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Dave) Date: Tue Nov 27 12:07:11 2001 Subject: [ic] Would like to include usernames in emails At 08:32 -0800 27/11/01, Cawman wrote: >I get the same result with [data session username] as with [value >mv_username]. No values show up in the emails for these variables, just >blank space. Could you include the source of the eMail so we can see what's going on here, this sounds very dubious. Dave -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dave Barr eCommerce Technical Manager CricInfo Ltd www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Tue Nov 27 12:11:01 2001 Subject: [ic] shipping based on size of item I am trying to set up shipping based on size of the items. small = 8.95 medium = 9.95 .... ... So if i had a small item and a medium item in a cart the shipping should be add to get $18.90. I have looked throught the archives and have tryed some of the few examples found. What would the shipping.asc file look like to do this? I am running redhat 7.1 with interchange 4.8.2 from rpm. Thank you for your time, rick From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Tue Nov 27 12:14:00 2001 Subject: [ic] Quantity Pricing Help Greetings Lists, I am trying to get quantity pricing working for one of our catalogs. Once I have it fixed, I will have a few other catalogs to do the same with. I have entered an amount into the q2, and q5 but I do not get any results from that when I load up the shopping cart. (ideally for this first project all I need is q3, 1-2 is the retail price, and 3 and over is the discounted price.) I have read in the Interchange manuals (the bought books) but the section on quantity pricing is very very vague. It does not give me a whole lot of information besides that I need to use commonAdjust in my catalog.cfg Here is a snippet from my catalog.cfg. Does anyone see anything wrong with this code. ## Set this if you have a different secure server #AlwaysSecure order ord/checkout ord/basket login change_password process PriceField 0 CommonAdjust pricing:q2,q5,q10,q25, ;products:price, ==size:pricing :sale_price, ;:price, ;$, ==:options EncryptKey __PGP_KEY__ # This prevents a user from setting this value, you may want to unset # this if you have user-selectable handling charges like insurance This looks right to me, but I do not see any changes when I add items to the cart. * When changing the quantity pricing in through the admin, do you NEED a discount group? From the way I read the instructions that is if you want to group items so you can have 2 of one, and 2 of another and receive a discount for that group. I do not want that in this case. I would appreciate any help with this. I am guessing I am doing something very simple wrong, but for the last two days, I can not seem to figure this out! Thanks a lot for any help ! Nathan -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Tue Nov 27 12:17:00 2001 Subject: [ic] [discount] I haven't experiemnted with this much. is there a way to wildcard item numbers for discounts? [discount 12-*] I need to discount all items in a catalog except item numbers starting with 48 and 49. Actually in this case all items with 1* and 2* are to be discounted and all 4*'s are not to be. Any pointers would be great. Thanks Ven From: interchange-users at interchange.redhat.com (Cawman) Date: Tue Nov 27 12:30:00 2001 Subject: [ic] Would like to include usernames in emails Sure thing, the source is below. I have put a couple of *** down further for what I've tried to use. What I have tried is in the exact place I've tried. [if value email_copy] Sending email copy of order [value mv_order_number] to [value email]: [email to="[value email]" subject="Thank you for your order #[value mv_order_number]!" from=|"__COMPANY__ Customer Service" <__ORDERS_TO__>| ] Dear __COMPANY__ customer, Thank you for your order #[value mv_order_number]. It is being electronically processed. Name: [value fname] [value lname] [if value company]Company: [value company][/if] Email address: [value email] Address: [value address1][if value address2] [value address2][/if] City, State, Zip: [value city], [value state] [value zip] Country: [value country] Daytime Phone: [value phone_day] Evening Phone: [value phone_night] Payment Method: [value mv_payment] Shipping Method: [shipping_desc] [if value b_address1] Billing Name: [value b_fname] [value b_lname] Billing Address: [value b_address1] [value b_address2] City, State, Zip: [value b_city][if value b_state], [value b_state] [value b_zip][/if] [if value b_country]Billing Country: [value b_country][/if] [/if] Quan Item No. Description Price Extension ---- ----------- -------------------------------- ------------- ------------ --- [item-list][row 82] [column width=5 gutter=1 align=right] [item-quantity] [/column] [column width=12 gutter=1] [item-sku] [/column] [column width=32 align=left gutter=1 wrap=1] [item-data products description] [/column] [column width=14 align=right gutter=1][item-price][/column] [column width=15 align=right gutter=0][item-subtotal][/column] [/row] [if-item-data options o_enable][if-item-data !options o_modular][row 82] [column width=5 gutter=1 align=right][/column] [column width=12 gutter=1] [item-code] [/column] [column width=32 wrap=1 gutter=1][filter op="tabbed decode_entities compress_space strip"][item-options report=1][/filter][/column] [/row][/if-item-data][/if-item-data] [if-item-modifier mv_ad] [row 82] [column width=5 gutter=1 align=right] [/column] [column width=12 gutter=1] SHIP TO: [/column] [column width=61 align=n][item-modifier mv_ad][/column] [/row] [/if-item-modifier] [/item-list] [row 82] [column width=5 align=right gutter=1][/column] [column width=12 gutter=1][/column] [column width=32 align=right gutter=1 wrap=1][/column] [column width=14 gutter=1]SUBTOTAL[/column] [column width=15 align=right gutter=0][subtotal][/column] [/row] [row 82] [column width=5 align=right gutter=1][/column] [column width=12 gutter=1][/column] [column width=32 align=right gutter=1 wrap=1][/column] [column width=14 gutter=1]SALES TAX[/column] [column width=15 align=right gutter=0][salestax][/column] [/row] [row 82] [column width=5 align=right gutter=1][/column] [column width=12 gutter=1][/column] [column width=32 align=right gutter=1 wrap=1][/column] [column width=14 gutter=1]SHIPPING[/column] [column width=15 align=right gutter=0][shipping][/column] [/row][if value mv_handling] [row 82] [column width=5 align=right gutter=1][/column] [column width=12 gutter=1][/column] [column width=32 align=right gutter=1 wrap=1][/column] [column width=14 gutter=1]HANDLING[/column] [column width=15 align=right gutter=0][handling][/column] [/row] [/if] [row 82] [column width=5 align=right gutter=1][/column] [column width=12 gutter=1][/column] [column width=32 align=right gutter=1 wrap=1][/column] [column width=14 gutter=1]ORDER TOTAL[/column] [column width=15 align=right gutter=0][total-cost][/column] [/row] [if value gift_note] Note for Gift ------------- [value gift_note] [/if] Should you have a question about your order, or about other __COMPANY__ products, please reply to this message and let us help. Always reference your order number when calling for a status.[if !session logged_in] Or you can check status via this URL: [area form=' [scratch mv_autocreate] mv_click=Login mv_todo=return mv_nextpage=query/check_orders '] [else] You can visit your account maintenance page to check order status.[/else] [/if] Remember, you can always visit our site at: __SAMPLEURL__ Regards and thanks for your business! *** [scratch mv_autocreate] *** [data session username] *** [value mv_username] __COMPANY__ [filter op=html2text]__ADDRESS__[/filter] __CITY__ __PHONE__ __TOLLFREE__ FAX: __FAX__ [/email] [else]Email copy of order [value mv_order_number] NOT REQUESTED for [value email].[/else] [/if] ----- Original Message ----- From: "Dave" <barrd@cricinfo.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 9:00 AM Subject: Re: [ic] Would like to include usernames in emails > At 08:32 -0800 27/11/01, Cawman wrote: > >I get the same result with [data session username] as with [value > >mv_username]. No values show up in the emails for these variables, just > >blank space. > > Could you include the source of the eMail so we can see what's going > on here, this sounds very dubious. > > Dave > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dave Barr eCommerce Technical Manager CricInfo Ltd > www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Tue Nov 27 12:36:01 2001 Subject: [ic] shipping based on size of item Here is my current shipping.asc file: FLATD Standard custom 0 0 e Nothing to ship! {'ui_ship_type' => "size",'ups$ FLATD Standard size S S 8.95 FLATD Standard size M M 9.95 FLATD Standard size L 9999999 e test Can i have letters in for the min and max colums? -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: Tuesday, November 27, 2001 11:22 AM To: interchange Subject: [ic] shipping based on size of item I am trying to set up shipping based on size of the items. small = 8.95 medium = 9.95 .... ... So if i had a small item and a medium item in a cart the shipping should be add to get $18.90. I have looked throught the archives and have tryed some of the few examples found. What would the shipping.asc file look like to do this? I am running redhat 7.1 with interchange 4.8.2 from rpm. Thank you for your time, rick _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 27 12:46:01 2001 Subject: [ic] Quantity Pricing Help I had problems with version 4.6.5 because the quantity pricing was based on the user logging in and having a dealer account setup. I had to change a few things in my catalog.cfg file, here's a snippet of what I did (notice that PriceField is set as no_price field, not 0) #PriceField price PriceField no_price CommonAdjust pricing:price_group,q2,q4,q8: ;:price ;$ #CommonAdjust pricing:price_group,q5,q10: ;:wholesale ;$ #CommonAdjust products:price;pricing:price_group,q2,q4,q8:;$ AutoModifier pricing:price_group AutoModifier products:gift_cert UserDB default scratch dealer #Autoload <<EOR #[perl] # if($Scratch->{dealer}) { # $Config->{PriceField} = 'no_price'; # } #[/perl] #EOR I have version 4.8.2 running on a different store, but haven't transitioned my working stores with the quantity pricing over to the new version yet, so I don't know if there are any of the same issues involved, but give it a try. --- Dorothy Nathan Olmscheid wrote: > Greetings Lists, > > I am trying to get quantity pricing working for one of our catalogs. Once I > have it fixed, I will have a few other catalogs to do the same with. > > I have entered an amount into the q2, and q5 but I do not get any results > from that when I load up the shopping cart. (ideally for this first project > all I need is q3, 1-2 is the retail price, and 3 and over is the discounted > price.) > > I have read in the Interchange manuals (the bought books) but the section on > quantity pricing is very very vague. It does not give me a whole lot of > information besides that I need to use commonAdjust in my catalog.cfg > > Here is a snippet from my catalog.cfg. Does anyone see anything wrong with > this code. > > ## Set this if you have a different secure server > #AlwaysSecure order ord/checkout ord/basket login change_password process > > PriceField 0 > CommonAdjust pricing:q2,q5,q10,q25, ;products:price, ==size:pricing > :sale_price, ;:price, ;$, ==:options > > EncryptKey __PGP_KEY__ > > # This prevents a user from setting this value, you may want to unset > # this if you have user-selectable handling charges like insurance > > This looks right to me, but I do not see any changes when I add items to the > cart. > > * When changing the quantity pricing in through the admin, do you NEED a > discount group? From the way I read the instructions that is if you want to > group items so you can have 2 of one, and 2 of another and receive a > discount for that group. I do not want that in this case. > > I would appreciate any help with this. I am guessing I am doing something > very simple wrong, but for the last two days, I can not seem to figure this > out! > > Thanks a lot for any help ! > > Nathan > > -- > NAMI Solutions > Nathan D. Olmscheid > Co-Owner > - > Phone: 612-237-9646 > e-mail: nathan@namisolutions.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 27 13:06:01 2001 Subject: [ic] . Re: can't start up server >Quoting Chad Leigh: >> OK, I went and started from scratch, reinstalling interchange and >> redoing the catalog. I get the same problem: >> >> host# su -l interch -c "/usr/local/interchange/bin/interchange -r" >> The Interchange server was not running >> (/usr/local/interchange/etc/interchange.pid). >> Low traffic settings. >> Calling UI......UI is loaded... >> Interchange V4.8.2 >> Configuring catalog foundation...foundation config error: Please specify >> the MailOrderTo directive in the configuration file '' >> >> foundation: error in configuration. Skipping. >> foundation: config error. Skipping. >> Segmentation fault >> host# Hi Chad, Search the archives for freebsd and segmantation fault. There is a small problem with IC, freebsd and perl. You just have to comment out some lines in bin/interchange. Thanks to Mike Heins for the fix. Look for this code ---- # Here we prepare enter the daemon mode. # Set the $0 to something not having 'perl' (won't # work on Solaris and IRIX among possibly others) if(defined $Global::Variable->{MV_DOLLAR_ZERO}) { # $0 = $Global::Variable->{MV_DOLLAR_ZERO}; # $0 = "interchange --> $Global::VendRoot" # if length($0) < 2; } else { # $0 = 'interchange'; } # We won't have much output on any of this, but if we get some # we want it immediately Of course you have to have your perl modules installed correctly first. HTH - Kevin Scott From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Tue Nov 27 13:10:59 2001 Subject: [ic] new to interchange, sku reference I just started using interchange. I have learned alot the last few weeks but with my experience it is slow going. One problem I am currently having is with changing the SKU reference in a given SKU loop. What I have done is in products.txt I have created my items. Most of the items are for download after sale. For example item mm00003 is a high resolution image and respective fields. Now, there is also an item mm00003_web which is the same image as the previous but lower resolution and maybe smaller size. I felt I needed to create TWO seperate entrys like this for every occurance of a hi rez and low rez image because That is the only way I could get the respective file "hi rez or low rez" to become available after purchase. However Note: I have made only one of the entries "available" to the search results page, so I won't have redundant results. Now for the problem- In my search results it finds and displays the info for the mm00003. I have place a link, and size information to a flypage for that file also in the search results. I have also been able to add a link to the low rez mm00003_web fly page next to it by using: <a href="[area [item-code]_web]">[item-code]_web</a> This works great. Now I want to display the size field for mm00003_web next to the link. The current reference would in this instance be mm00003. How can I change reference in the results of mm00003 to mm00003_web. I guess what I want to know is can I in [item-field size], add a suffix to "item-code". I know this is wrong but here are some examples of what I am going for, to better explain my goal- [[item-code]_web-field size] or maybe [[[item-code]_web]-field size] I am sorry if I have made no sense here. I am little fustrated wit this problem. BTW- beside the interchange site and the .pdf's, is there any other books or support out there? I have searched but have come up with practically nothing. If someone lives in the Pasadena area of Southern California and wants to make some extra money, I would be happy to pay for a little tutoring. Thanks Paul Jordan From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Tue Nov 27 13:14:00 2001 Subject: [ic] Re: Quantity Pricing Help I am running 4.8.2 but I will see if any of this will help.... Dorothy Puma writes: > I had problems with version 4.6.5 because the quantity pricing was based on the > user logging in and having a dealer account setup. I had to change a few things > in my catalog.cfg file, here's a snippet of what I did (notice that PriceField > is set as no_price field, not 0) > > #PriceField price > PriceField no_price > > CommonAdjust pricing:price_group,q2,q4,q8: ;:price ;$ > #CommonAdjust pricing:price_group,q5,q10: ;:wholesale ;$ > #CommonAdjust products:price;pricing:price_group,q2,q4,q8:;$ > AutoModifier pricing:price_group > AutoModifier products:gift_cert > > UserDB default scratch dealer > > #Autoload <<EOR > #[perl] > # if($Scratch->{dealer}) { > # $Config->{PriceField} = 'no_price'; > # } > #[/perl] > #EOR > > > I have version 4.8.2 running on a different store, but haven't transitioned my > working stores with the quantity pricing over to the new version yet, so I > don't know if there are any of the same issues involved, but give it a try. > --- > Dorothy > -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Tue Nov 27 13:16:10 2001 Subject: [ic] Sorting/Searching I have a results page that I've implemented sorting on the columns. This works great when searching/sorting on all the products, but when I've narrowed down that search list, I still want them to be able to sort the columns just based off of the results of their search. What's happening now, is that they end up sorting on the all the products again. How to I get the value of their previous search? For example if their search resulted in a URL showing: scan/fi=Tkt/st=db/sf=customerName/se=Adara How do I get the value of that URL?? I could then just append the additional search parameter for the column that they want to sort on. But I can't find the easiest way to do this. Any ideas??? Thanks for any help, Dorothy From: interchange-users at interchange.redhat.com (Brendan Crosser-McGay) Date: Tue Nov 27 13:26:01 2001 Subject: [ic] barlink, can I be more specific? I have a small problem, I would like the area and category sections to use different classes (CSS) and they all seem to use the barlink CSS. I would like to know if theres a way to specify a different class for the AREA and CATEGORY instead of just one for both. I guess this also has possible complications if you try to make a category list with endless parent/child combos, but for now I'm not worried about that, I just want simple control over the categories and areas. If someone can help I would be very much appreciative! -Brendan From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Nov 27 13:39:01 2001 Subject: [ic] sort by date for europe Hi list, has anybody ever come across the european Date format which is DD.MM.YYYY (Day/Month/Year) ? I am trying to make a list that search articles by the date in the xeingdatum column, articles with empty xeingdatum fields will be filtered out, but the following search does not give any satisfying result. Since the 31.03.2000 will come before the 30.11.2000, does anybody have any experience with this ? We are using Interchange 4.8 and a mysql database, plus i am also trying to get the mm (max matches) to work on this What I am actually trying to do is, a list with the latest 25 articles sorted by date. [search-region more=1 search=" se= [blank - because I like to skip the empty fields] sf=eurodate op=ne co=1 st=sql fi=products mm=25 tf=eurodate to=nr "] [search-list] <TR> <TD ALIGN=LEFT>[item-data products description]</TD> <TD ALIGN=LEFT>[item-data products xeingdatum]</TD> </TR> [/search-list] <TR><TD COLSPAN=2><HR></TD></TR>[more-list] <TR> <TD>More</TD> <TD COLSPAN=1>[more]</TD> </TR> [/more-list] [/search-region] thanx JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Tue Nov 27 13:55:01 2001 Subject: [ic] Quantity Pricing Help > Here is a snippet from my catalog.cfg. Does anyone see anything wrong with > this code. [snip] > PriceField 0 > CommonAdjust pricing:q2,q5,q10,q25, ;products:price, ==size:pricing > :sale_price, ;:price, ;$, ==:options I was having a similar problem getting quantity pricing to work. It turns out that changes to the CommonAdjust line in catalog.cfg were having no effect because there was a CommonAdjust line in etc/after.cfg that was overriding it. Try switching to your catalog directory and grepping for CommonAdjust to see where else it might be getting set: `grep -r CommonAdjust *` ..Patrick From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 27 14:19:00 2001 Subject: [ic] Would like to include usernames in emails "Cawman" <cawman1@home.com> writes: > Sure thing, the source is below. I have put a couple of *** down further > for what I've tried to use. What I have tried is in the exact place I've > tried. The auto user is logged out automagically, so you need to fumble with [scratch mv_autocreate], e.g. [calc] $Scratch->{mv_autocreate} =~ /mv_username=(\w+)/; $1; [/calc] Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Nov 27 14:24:00 2001 Subject: [ic] sort by date for europe "joachim.richter" <joachim.richter@usvideocenter.de> writes: > Hi list, > > has anybody ever come across the european Date format which is DD.MM.YYYY (Day/Month/Year) ? > I am trying to make a list that search articles by the date in the xeingdatum column, > articles with empty xeingdatum fields will be filtered out, but the following search > does not give any satisfying result. > > Since the 31.03.2000 will come before the 30.11.2000, does anybody have any experience with this ? > > We are using Interchange 4.8 and a mysql database, plus i am also trying to get the mm (max matches) to work on this > > What I am actually trying to do is, a list with the latest 25 articles sorted by date. MySQL's default format is YYYY-MM-DD, which can be pretty good sorted without any additional measures. Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tonio Polia) Date: Tue Nov 27 15:01:01 2001 Subject: [ic] Error in UserTag with open Hi, I wuold like to use a UserTag .. but interchange server, when I start it, say this: #####start of message ##### Configuring catalog test1...Using MySQL, DSN=dbi:mysql:test_test1. UserTag 'bs_prepare' subroutine failed safe check: open trapped by operation mask at (eval 140) line 12, <CONFIG> line 46. In line 46 of the configuration file 'usertag/bsella': UserTag bs-prepare Routine <<EOF UserTag 'bs_confirm' subroutine failed safe check: open trapped by operation mask at (eval 142) line 20, <CONFIG> line 98. In line 98 of the configuration file 'usertag/bsella': UserTag bs-confirm Routine <<EOF ####end of message ######### the UserTag say this: ####start UserTag bs-prepare Routine <<EOF sub { ..... some code ... declaration of some variable open (FH, "+< $Vend::Cfg->{VendRoot}/$::Variable->{BS_OTP_RIC}") or die "Can't open file: $!"; flock(FH, 2) or die "Can't flock: $!"; # 2 = exclusive lock while ( <FH> ) { $otp=$_; $addr = tell(FH) unless eof(FH); } truncate(FH, $addr); flock(FH, 8) or die "Can't unlock: $!"; # 8 = unlock close(FH); chomp $otp; some pieces of code, it is right open(FH, "$Vend::Cfg->{VendRoot}/$::Variable->{BS_OTP_RIC}") or die "Can't open file: $!"; while (sysread FH, $buffer, 4096) { $lines += ($buffer =~ tr/\n//); } close(FH); another piece of code .... and at the end ... return ''; } EOF ####end bis bald Tonio ----------------------------------------------------------------- I Still See Her Face As Beatiful As Day It's Easy To Remember Remember My Love That Way All I Hear Is That Lonesome Sound The Hounds Of Winter They Follow Me Down (Sting, "The Hounds Of Winter") ----------------------------------------------------------------- Tonio "RedFox" Polia ICQ #: 47373366 e-mail:redfox@dag.it From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 15:06:00 2001 Subject: [ic] sort by date for europe At 05:28 PM 11/27/2001 +0000, you wrote: >Hi list, > > has anybody ever come across the european Date format which is > DD.MM.YYYY (Day/Month/Year) ? > I am trying to make a list that search articles by the date in the > xeingdatum column, > articles with empty xeingdatum fields will be filtered out, but the > following search > does not give any satisfying result. > >Since the 31.03.2000 will come before the 30.11.2000, does anybody have >any experience with this ? Yeah, and the answer is: don't try. Store your dates as YYYYMMDD, and use the [convert_date] tag to rearrange the digits for display in your search results. Any other way leads to insanity. - Ed L. >We are using Interchange 4.8 and a mysql database, plus i am also trying >to get the mm (max matches) to work on this > >What I am actually trying to do is, a list with the latest 25 articles >sorted by date. > >[search-region more=1 search=" > > se= [blank - because I like to skip the empty > fields] > sf=eurodate > op=ne > > co=1 > st=sql > fi=products > mm=25 > tf=eurodate > to=nr > "] >[search-list] ><TR> > <TD ALIGN=LEFT>[item-data products description]</TD> > <TD ALIGN=LEFT>[item-data products xeingdatum]</TD> ></TR> > >[/search-list] ><TR><TD COLSPAN=2><HR></TD></TR>[more-list] ><TR> > <TD>More</TD> > <TD COLSPAN=1>[more]</TD> > </TR> >[/more-list] > >[/search-region] > >thanx JoE >US Video Center Medien GmbH >Heimsheimer Str 22 >70499 Stuttgart > >Tel 0711 880252 0 >Fax 0711 880252 22 >Email joachim.richter@usvideocenter.de > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 15:10:01 2001 Subject: [ic] new to interchange, sku reference At 10:10 AM 11/27/2001 -0800, you wrote: >I just started using interchange. I have learned alot the last few weeks but >with my experience it is slow going. One problem I am currently having is >with changing the SKU reference in a given SKU loop. What I have done is in >products.txt I have created my items. Most of the items are for download >after sale. > >For example item mm00003 is a high resolution image and respective fields. >Now, there is also an item mm00003_web which is the same image as the >previous but lower resolution and maybe smaller size. I felt I needed to >create TWO seperate entrys like this for every occurance of a hi rez and low >rez image because That is the only way I could get the respective file "hi >rez or low rez" to become available after purchase. However Note: I have >made only one of the entries "available" to the search results page, so I >won't have redundant results. > >Now for the problem- In my search results it finds and displays the info for >the mm00003. I have place a link, and size information to a flypage for that >file also in the search results. I have also been able to add a link to the >low rez mm00003_web fly page next to it by using: > ><a href="[area [item-code]_web]">[item-code]_web</a> > >This works great. Now I want to display the size field for mm00003_web next >to the link. The current reference would in this instance be mm00003. How >can I change reference in the results of mm00003 to mm00003_web. > >I guess what I want to know is can I in [item-field size], add a suffix to >"item-code". I know this is wrong but here are some examples of what I am >going for, to better explain my goal- > >[[item-code]_web-field size] > >or maybe > >[[[item-code]_web]-field size] > I *think* I understand what you want... try this: [loop arg="[item-code]_web"][loop-field size][/loop] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 15:15:01 2001 Subject: [ic] Sorting/Searching At 10:13 AM 11/27/2001 -0800, you wrote: >I have a results page that I've implemented sorting on the columns. This >works great when searching/sorting on all the products, but when I've >narrowed down that search list, I still want them to be able to sort the >columns just based off of the results of their search. What's happening >now, is that they end up sorting on the all the products again. How to I >get the value of their previous search? > >For example if their search resulted in a URL showing: > >scan/fi=Tkt/st=db/sf=customerName/se=Adara > >How do I get the value of that URL?? I could then just append the >additional search parameter for the column that they want to sort on. >But I can't find the easiest way to do this. > >Any ideas??? > >Thanks for any help, >Dorothy I've seen this type of question on the list (and answered) several times before... without any further info, the best thing I can recommend is to follow the example of column sorting techniqiues which are used in the UI. Take a look at any of the UI "list" pages (all in VENDROOT/lib/UI/pages/admin/): item.html, order.html, etc. - Ed L. > =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 15:21:01 2001 Subject: [ic] barlink, can I be more specific? At 10:25 AM 11/27/2001 -0800, you wrote: >I have a small problem, I would like the area and category sections to use >different classes (CSS) and they all seem to use the barlink CSS. I would >like to know if theres a way to specify a different class for the AREA and >CATEGORY instead of just one for both. > >I guess this also has possible complications if you try to make a category >list with endless parent/child combos, but for now I'm not worried about >that, I just want simple control over the categories and areas. > >If someone can help I would be very much appreciative! >-Brendan There is probably no reason that you could not add a class to yourcat/templates/foundation/theme.cfg, then edit the appropriate category_* file in yourcat/templates/components to use your new class at the category link level. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 27 15:51:01 2001 Subject: [ic] Error in UserTag with open > Hi, I wuold like to use a UserTag .. > but interchange server, when I start it, say this: > > > #####start of message ##### > Configuring catalog test1...Using MySQL, > DSN=dbi:mysql:test_test1. UserTag 'bs_prepare' subroutine > failed safe check: open trapped by operation mask at (eval > 140) line 12, <CONFIG> line 46. > > In line 46 of the configuration file 'usertag/bsella': > UserTag bs-prepare Routine <<EOF > > UserTag 'bs_confirm' subroutine failed safe check: open > trapped by operation mask at (eval 142) line 20, <CONFIG> line 98. > > In line 98 of the configuration file 'usertag/bsella': > UserTag bs-confirm Routine <<EOF > ####end of message ######### > > the UserTag say this: > > ####start > UserTag bs-prepare Routine <<EOF > sub { > ..... some code ... declaration of some variable > open (FH, "+< > $Vend::Cfg->{VendRoot}/$::Variable->{BS_OTP_RIC}") or die > "Can't open file: $!"; > flock(FH, 2) or die "Can't flock: $!"; # 2 = exclusive lock > while ( <FH> ) { $otp=$_; $addr = tell(FH) unless eof(FH); } > truncate(FH, $addr); > flock(FH, 8) or die "Can't unlock: $!"; # 8 = unlock > close(FH); > chomp $otp; > > some pieces of code, it is right > > open(FH, > "$Vend::Cfg->{VendRoot}/$::Variable->{BS_OTP_RIC}") or die > "Can't open file: $!"; > while (sysread FH, $buffer, 4096) { > $lines += ($buffer =~ tr/\n//); > } > close(FH); > > another piece of code .... and at the end ... > > return ''; > } > EOF > > ####end > > bis bald > Tonio See if this reading illuminates anything: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_12.html http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_15.html http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_89.html HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Cawman) Date: Tue Nov 27 16:33:01 2001 Subject: [ic] Would like to include usernames in emails That works great.... Thanks for the help. Cawman ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 11:18 AM Subject: Re: [ic] Would like to include usernames in emails > "Cawman" <cawman1@home.com> writes: > > > Sure thing, the source is below. I have put a couple of *** down further > > for what I've tried to use. What I have tried is in the exact place I've > > tried. > > The auto user is logged out automagically, so you need to fumble with > [scratch mv_autocreate], e.g. > > [calc] > $Scratch->{mv_autocreate} =~ /mv_username=(\w+)/; > $1; > [/calc] > > Ciao > Racke > > -- > Die Erde bleibt keine Scheibe. --- The earth remains no disk. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Tue Nov 27 16:58:00 2001 Subject: [ic] complicated perl code hello - is there an alternative to the [perl] tag that would allow for more complicated perl code? i'm attempting to integrate a perl script into an interchange page that uses a couple of standard perl modules. 'use' and 'require' are apparently not allowed within [perl] tags. or is it a flag that can be set/unset? more specifically, i'm trying to use the Curl::easy module. thanks a lot, Vlad From: interchange-users at interchange.redhat.com (chad townsend) Date: Tue Nov 27 17:13:01 2001 Subject: [ic] help with ENV please don't flame me for this stupid question, but how do i access the ENV? i need to grab HTTP_HOST [perl] $Scratch->{my_test} = $ENV{HTTP_HOST}; [/perl] [scratch my_test] i tried that, but it didn't work. thanks, ./chad& From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Nov 27 17:25:00 2001 Subject: [ic] barlink, can I be more specific? > I have a small problem, I would like the area and category sections to use > different classes (CSS) and they all seem to use the barlink CSS. I would > like to know if theres a way to specify a different class for the AREA and > CATEGORY instead of just one for both. There are a few options. There is a field in the Layout editor called 'Link Template' where you can specify how the link will be displayed. In fact the link template can actually be set in a number of ways: Order is: 1) If there is text between the [loop-exec bar_link] and [/loop-exec] this is used. 2) if not, if there is a Link template for the Area or Cat entry this is used. 3) if not, if there is a variable called BAR_LINK_TEMPLATE this is used. 4) if not, the default is '<A HREF="$URL$" CLASS="barlink">$ANCHOR$</A>' As you can see, yet another powerful feature of ic. :-) In your case, number 1 may be the easiest. I prefer it as I don't have to enter the template in each cat and area entry in the Layout Editor, also, I don't want the store owner to have to mess with it. Have fun, Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Tue Nov 27 17:29:08 2001 Subject: [ic] shipping based on size of item I found this in the archives is this look close. FLATD Standard custom 0 0 e Nothing to ship! {'ui_ship_type' => "[item-accessories size",'ups' => "0",'PriceDivide' => "1",} FLATD Standard [item-accessories size] 1 1 8.95 FLATD Standard [item-accessories size] 2 2 9.95 FLATD Standard [item-accessories size] 3 9999999 e test or am i on the wrong track? I have also read about writting a usertag. Am i stuck to do this? Thanks rick -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rick Eicher II Sent: Tuesday, November 27, 2001 11:22 AM To: interchange Subject: [ic] shipping based on size of item I am trying to set up shipping based on size of the items. small = 8.95 medium = 9.95 .... ... So if i had a small item and a medium item in a cart the shipping should be add to get $18.90. I have looked throught the archives and have tryed some of the few examples found. What would the shipping.asc file look like to do this? I am running redhat 7.1 with interchange 4.8.2 from rpm. Thank you for your time, rick _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Nov 27 17:34:01 2001 Subject: [ic] complicated perl code At 04:03 PM 11/27/2001 -0600, you wrote: >hello - > > >is there an alternative to the [perl] tag that would allow for more >complicated perl code? > >i'm attempting to integrate a perl script into an interchange page that >uses a couple of standard perl modules. 'use' and 'require' are apparently >not allowed within [perl] tags. or is it a flag that can be set/unset? > >more specifically, i'm trying to use the Curl::easy module. > > > >thanks a lot, > >Vlad Your best bet is probably a server-level (configured in interchange.cfg) UserTag. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Nov 27 17:38:16 2001 Subject: [ic] help with ENV > please don't flame me for this stupid question, but how do i > access the ENV? i need to grab > HTTP_HOST > > [perl] > $Scratch->{my_test} = $ENV{HTTP_HOST}; > [/perl] > [scratch my_test] > > i tried that, but it didn't work. try searching the mailing list archive. That will work. Ed LaFrance wrote a cunning tag: http://lists.akopia.com/pipermail/interchange-users/2001-May/007684.html Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Nov 27 17:43:00 2001 Subject: [ic] Quantity Pricing Help On Tue, 27 Nov 2001, Nathan Olmscheid wrote: NO>>I have entered an amount into the q2, and q5 but I do not get any results NO>>from that when I load up the shopping cart. (ideally for this first project NO>>all I need is q3, 1-2 is the retail price, and 3 and over is the discounted NO>>price.) NO>>CommonAdjust pricing:q2,q5,q10,q25, ;products:price, ==size:pricing NO>>:sale_price, ;:price, ;$, ==:options NO>>This looks right to me, but I do not see any changes when I add items to the NO>>cart. You haven't mentioned what you have done in pricing.txt. So, I suspect that we need to look there. sku q2 q5 q10 q25 (put tabs between those) abc 10.00 5.00 5.00 5.00 mno 3.00 2.00 2.00 xyz 1.00 Presumably 'abc' has a price of $15.00. When they buy 2 they are 10.00 each. 5 or more, and they are 5.00 each 'mno' doesn't get discounted until they buy 5 'xyz' presents an 'I Gotcha!' The price for 1 (in products.txt) is $5.00 When you buy less than 10 you will pay 5.00 each. If you buy 10 to 25, you will pay $1.00 each. If you buy 25 to infinity, you will pay $5.00 each. Once you fill in a field, you have to fill in each additional field, or it reverts back to the price in products.txt. Does this help you? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, November 27, 2001 at 17:30 PM: PARANOID:Paying MORE for Surge-Protectors than Computers ---------------------------------------------------------------- This Linux System has been up 50 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 27 17:47:01 2001 Subject: [ic] complicated perl code On Tue, Nov 27, 2001 at 04:03:58PM -0600, Vlad Sedov wrote: > hello - > > > is there an alternative to the [perl] tag that would allow for more complicated perl code? > > i'm attempting to integrate a perl script into an interchange page that uses a couple of standard perl modules. 'use' and 'require' are apparently not allowed within [perl] tags. or is it a flag that can be set/unset? > > more specifically, i'm trying to use the Curl::easy module. > Look back in mailing lists for [realperl]. You can do anything with it that the minivend user can do. Does [perl global=1] do what you need? > > > thanks a lot, > > Vlad > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Korksoft Support Services) Date: Tue Nov 27 17:52:01 2001 Subject: [ic] complicated perl code >hello - > > >is there an alternative to the [perl] tag that would allow for more >complicated perl code? > >i'm attempting to integrate a perl script into an interchange page that >uses a couple of standard perl modules. 'use' and 'require' are apparently >not allowed within [perl] tags. or is it a flag that can be set/unset? > >more specifically, i'm trying to use the Curl::easy module. > > What about a GlobalSub??? Do it right in the interchange.cfg file. Jason Korkin President Korksoft LLC -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (chad townsend) Date: Tue Nov 27 18:06:01 2001 Subject: [ic] help with ENV i actually just found that same one, i'll do a better job next time of searching. thanks, ./chad& Jonathan Clark wrote: > > > please don't flame me for this stupid question, but how do i > > access the ENV? i need to grab > > HTTP_HOST > > > > [perl] > > $Scratch->{my_test} = $ENV{HTTP_HOST}; > > [/perl] > > [scratch my_test] > > > > i tried that, but it didn't work. > > try searching the mailing list archive. That will work. > > Ed LaFrance wrote a cunning tag: > > http://lists.akopia.com/pipermail/interchange-users/2001-May/007684.html > > Jonathan > Webmaint. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Tue Nov 27 18:20:01 2001 Subject: [ic] Stupid Newbie Question I am new and have limited experience with perl. I was wondering what the safest way is to modify the Tools Templates to make them my own colors? Gary Henderson Custom Business Solutions http://www.Custom-Business-Solutions.com From: interchange-users at interchange.redhat.com (Dave) Date: Tue Nov 27 18:33:00 2001 Subject: [ic] Would like to include usernames in emails At 20:18 +0100 27/11/01, Stefan Hornburg (Racke wrote: >"Cawman" <cawman1@home.com> writes: > >> Sure thing, the source is below. I have put a couple of *** down further >> for what I've tried to use. What I have tried is in the exact place I've >> tried. > >The auto user is logged out automagically, so you need to fumble with >[scratch mv_autocreate], e.g. > >[calc] >$Scratch->{mv_autocreate} =~ /mv_username=(\w+)/; >$1; >[/calc] > >Ciao > Racke Aha, Yes, thats the cookie I was off in "Happy Interchange Land" where everything remains 'in state'. Time for another coffee methinks. Cawman, this should work. Dave -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dave Barr eCommerce Technical Manager CricInfo Ltd www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 27 18:38:00 2001 Subject: [ic] Making store popup without redirect How can I make my domain point right to the store. right now I have a index.html which redirects to the store. but the search engines don't like this. how can I make the store come right up with my domain. also where can I add meta tags on the foundation? just but them in the index.html page? or what. thanks in advance From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 27 18:43:00 2001 Subject: [ic] Stupid Newbie Question in the foundation directory you will see a file called theme.cfg edit that to your likings and apply changes via the admin panel ----- Original Message ----- From: "Gary Henderson" <ghenderson1@sc.rr.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 3:17 PM Subject: [ic] Stupid Newbie Question > I am new and have limited experience with perl. I was wondering what the > safest way is to modify the Tools Templates to make them my own colors? > > Gary Henderson > Custom Business Solutions > http://www.Custom-Business-Solutions.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 27 18:51:01 2001 Subject: [ic] Making store popup without redirect > How can I make my domain point right to the store. right now > I have a index.html which redirects to the store. but the > search engines don't like this. how can I make the store come > right up with my domain. also where can I add meta tags on > the foundation? just but them in the index.html page? or > what. thanks in advance FAQ. See Apache docs. HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Nov 27 19:15:00 2001 Subject: [ic] Making store popup without redirect On Tue, 27 Nov 2001 steve@moddepot.com wrote: >>How can I make my domain point right to the store. right now I have a >>index.html which redirects to the store. but the search engines don't like >>this. how can I make the store come right up with my domain. also where can >>I add meta tags on the foundation? just but them in the index.html page? or >>what. thanks in advance An interesting question.... I got around it by putting up a small index page directly at the domain name. At the top of that I put all of my meta tags for search engines to hit on and pick up. This page also has all of the criteria for the new Internet Explorer security stuff so that it all gets done and over right there. I have a meta tag that causes that page to go away after 10 seconds and bring on the main IC page through the cgi-bin directory. Thee is also a clickable link at the bottom of the page if someone is in a hurry. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, November 27, 2001 at 19:10 PM: URA Redneck if your dog can smoke a cigarette. ---------------------------------------------------------------- This Linux System has been up 52 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 27 19:25:01 2001 Subject: [ic] Making store popup without redirect On Tue, Nov 27, 2001 at 06:32:00PM -0800, steve@moddepot.com wrote: > How can I make my domain point right to the store. right now I have a > index.html which redirects to the store. but the search engines don't like > this. how can I make the store come right up with my domain. also where can > I add meta tags on the foundation? just but them in the index.html page? or > what. thanks in advance If you are concerned that search engines don't like the redirect, you will be more concerned that they don't like cgi. Of course, google and any worthwhile search engines don't care. But you are probably looking at microsoft bcentral report. How accurate is that, really? Bottom line, you don't know what the search engines take short of what you pull up and see for results. If you know how to run ic as a server side include you can have a dynamic catalog page as your top page and the search engines will not know or care. That is outside scope of this list, ask how on a list related to your webserver. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Dave) Date: Tue Nov 27 19:30:00 2001 Subject: [ic] complicated perl code At 17:49 -0500 27/11/01, Korksoft Support Services wrote: > >hello - >> >> >>is there an alternative to the [perl] tag that would allow for more >>complicated perl code? >> >>i'm attempting to integrate a perl script into an interchange page that >>uses a couple of standard perl modules. 'use' and 'require' are apparently >>not allowed within [perl] tags. or is it a flag that can be set/unset? >> >>more specifically, i'm trying to use the Curl::easy module. >> >> > >What about a GlobalSub??? Do it right in the interchange.cfg file. > Check out usertag, do a search. Allows non 'safe' perl coding. Dave -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dave Barr eCommerce Technical Manager CricInfo Ltd www.cricinfo.com dave.barr@cricinfo.com shop.cricinfo.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Nov 27 19:34:03 2001 Subject: [ic] Making store popup without redirect > On Tue, 27 Nov 2001 steve@moddepot.com wrote: > > >>How can I make my domain point right to the store. right > now I have a > >>index.html which redirects to the store. but the search > engines don't > >>like this. how can I make the store come right up with my > domain. also > >>where can I add meta tags on the foundation? just but them in the > >>index.html page? or what. thanks in advance > > An interesting question.... > > I got around it by putting up a small index page directly at > the domain name. At the top of that I put all of my meta tags > for search engines to hit on and pick up. This page also has > all of the criteria for the new Internet Explorer security > stuff so that it all gets done and over right there. > > I have a meta tag that causes that page to go away after 10 > seconds and bring on the main IC page through the cgi-bin > directory. Thee is also a clickable link at the bottom of the > page if someone is in a hurry. > > -= Jim =- I feel bad for being so terse with Steve, so here's the apache code to do a redirect (though a staticly-built index.html which links to the cgi-bin is faster). RewriteEngine On # matches on http://myhost.com RewriteRule ^$ /cgi-bin/e/index.html [PT,L] # matches on http://myhost.com/ RewriteRule ^/$ /cgi-bin/e/index.html [PT,L] # don't change URLs like /cgi-bin/* RewriteRule ^/cgi-bin/.* - [PT,L] HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Nov 27 19:39:01 2001 Subject: [ic] Making store popup without redirect damn I need it to go right to the store =[. any other ideas? ----- Original Message ----- From: "Jim Balcom" <jim@idk-enterprises.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 4:16 PM Subject: Re: [ic] Making store popup without redirect > On Tue, 27 Nov 2001 steve@moddepot.com wrote: > > >>How can I make my domain point right to the store. right now I have a > >>index.html which redirects to the store. but the search engines don't like > >>this. how can I make the store come right up with my domain. also where can > >>I add meta tags on the foundation? just but them in the index.html page? or > >>what. thanks in advance > > An interesting question.... > > I got around it by putting up a small index page directly at the domain > name. At the top of that I put all of my meta tags for search engines to hit > on and pick up. This page also has all of the criteria for the new Internet > Explorer security stuff so that it all gets done and over right there. > > I have a meta tag that causes that page to go away after 10 seconds and > bring on the main IC page through the cgi-bin directory. Thee is also a > clickable link at the bottom of the page if someone is in a hurry. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Tuesday, November 27, 2001 at 19:10 PM: > URA Redneck if your dog can smoke a cigarette. > > ---------------------------------------------------------------- > This Linux System has been up 52 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Tue Nov 27 20:03:00 2001 Subject: [ic] Stupid Newbie Question Where is the file? I have done a search on it and can't find it anywhere. Would there be another file to modify? (sorry for my ignorance and thanks for your help) Gary Henderson Custom Business Solutions ----- Original Message ----- From: <steve@moddepot.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, November 27, 2001 9:37 PM Subject: Re: [ic] Stupid Newbie Question > in the foundation directory you will see a file called theme.cfg edit that > to your likings and apply changes via the admin panel > > ----- Original Message ----- > From: "Gary Henderson" <ghenderson1@sc.rr.com> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, November 27, 2001 3:17 PM > Subject: [ic] Stupid Newbie Question > > > > I am new and have limited experience with perl. I was wondering what the > > safest way is to modify the Tools Templates to make them my own colors? > > > > Gary Henderson > > Custom Business Solutions > > http://www.Custom-Business-Solutions.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Tue Nov 27 20:22:00 2001 Subject: * Re: [ic] Inventory for options IC 4.8.2-1, RedHat 7.1 If I do the below code, I get the list correctly, however if I click on one of the subtype buy links, no item is added to the order. I get the following error logged: Attempt to order missing product code: 00004-Brisbane-25Dec2001 Main Item sku is 00004, followed by location and date for each subtype. In Order.pm, add_items(), mv_sku is used to replace $items[0], I believe this is the area the problem is in. Have been bashing my head a bit trying to fix this, any help is much appreciated. How does IC keep track of orders of subtypes? Or do I need to add that? Thanks, Jeff. -------------------------------------------------------------------- re: http://interchange.redhat.com/archive/interchange-users/2001/msg07428.html Sure, but it isn't in the standard flypage. Try this: [if-item-data options o_matrix] [query list=1 sql=" SELECT code FROM options WHERE sku = '[item-code]' AND o_matrix = 1 "] <tr> <td>[sql-data options description]</td> <td>-- [if-sql-data inventory quantity > 0] [page href=order form=" mv_order_item=[item-code] mv_sku=[sql-code] "]ORDER NOW</A> [else] OUT OF STOCK [/else] [/if-sql-data] </td> </tr> [/query] [/if-item-data] _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Steve Graham) Date: Tue Nov 27 21:49:00 2001 Subject: [ic] "error rotating logs" Hello, I keep receiving a server generated mail message on my IC 4.8 server. Interchange keeps warning there is an "error rotating logs" Did I miss a setup in the config file somewhere. Thanks, Steve _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Tue Nov 27 22:54:00 2001 Subject: * Re: [ic] Inventory for options I changed: mv_order_item=[item-code] mv_sku=[sql-code] to mv_order_item=[sql-code] mv_sku=[item-code] and got much better results. Now the matrix option code is displayed as the sku in the cart, and in the reciept print pages. However the parent sku is used in the email, checkout and order admin pages. Also there seems to be no decrementing of inventory. Originally I had none in the parent, it basically being a phantom. I added some to check if it was being lowered, it was not. Also the quantity does not get passed to the cart for the matrix options, but does for the parent. Jeff. >IC 4.8.2-1, RedHat 7.1 > >If I do the below code, I get the list correctly, however if I click on one >of the subtype buy links, no item is added to the order. I get the >following >error logged: > >Attempt to order missing product code: 00004-Brisbane-25Dec2001 > >Main Item sku is 00004, followed by location and date for each subtype. > >In Order.pm, add_items(), mv_sku is used to replace $items[0], I believe >this is the area the problem is in. Have been bashing my head a bit trying >to fix this, any help is much appreciated. > >How does IC keep track of orders of subtypes? Or do I need to add that? > >Thanks, Jeff. > >-------------------------------------------------------------------- > >re: >http://interchange.redhat.com/archive/interchange-users/2001/msg07428.html > >Sure, but it isn't in the standard flypage. Try this: > > [if-item-data options o_matrix] > [query > list=1 > sql=" > SELECT code FROM options > WHERE sku = '[item-code]' > AND o_matrix = 1 > "] > <tr> ><td>[sql-data options description]</td> ><td>-- [if-sql-data inventory quantity > 0] > [page > href=order > form=" > mv_order_item=[item-code] > mv_sku=[sql-code] > "]ORDER NOW</A> >[else] > OUT OF STOCK > [/else] > [/if-sql-data] > </td> ></tr> >[/query] > [/if-item-data] > > > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Tue Nov 27 23:51:01 2001 Subject: [ic] . Re: can't start up server On Tuesday, November 27, 2001, at 01:05 , <kbinx@kbinx.com> wrote: >> Quoting Chad Leigh: >>> OK, I went and started from scratch, reinstalling interchange and >>> redoing the catalog. I get the same problem: >>> >>> host# su -l interch -c "/usr/local/interchange/bin/interchange -r" >>> The Interchange server was not running >>> (/usr/local/interchange/etc/interchange.pid). >>> Low traffic settings. >>> Calling UI......UI is loaded... >>> Interchange V4.8.2 >>> Configuring catalog foundation...foundation config error: Please >>> specify >>> the MailOrderTo directive in the configuration file '' >>> >>> foundation: error in configuration. Skipping. >>> foundation: config error. Skipping. >>> Segmentation fault >>> host# > Hi Chad, Search the archives for freebsd and segmantation fault. There > is a small > problem with IC, freebsd and perl. You just have to comment out some > lines in > bin/interchange. Thanks to Mike Heins for the fix. Look for this > code ---- > Thanks. Looked it up and got it working. Also fixed the MailOrderTo thing in the archives. Now to grook this whole thing and get my store up. Thanks again! best Chad From: interchange-users at interchange.redhat.com (Kim L. Christensen) Date: Wed Nov 28 03:40:01 2001 Subject: [ic] Paypal integration I have seen some discusions regarding Paypal in the archive, but has someone actually done the integration between Interchange and Paypal? If yes, I would appreciate some more information on how to do that. Thanks and regards, Kim Christensen From: interchange-users at interchange.redhat.com (Kevin Flynn) Date: Wed Nov 28 04:55:01 2001 Subject: [ic] New Account Hi, Is there anyway that I can create a new account in one step rather than the current 2 step process. I have combined both steps, but on submitting the page, the initial step of creating and comparing the username is not being run. If I enter the same username as another user, it comes back as "not logged in", rather than "username already exists" Would appreciate any assistance or a pointer in the right direction. Thanks, Kevin From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 05:28:01 2001 Subject: [ic] How to import additional product items with the admin tool? Hello, I would like to add product items from a file into the product database with the admin tool. The admin offers the function to import xls.files, single tables and gnumeric data tex. I tried to import xls.file and got the error that the 'sheet 1' is not known. Does anybody know how to import xls. files? I also tried csv.files to import as single table an gnumeric data tex but it does notr really work. Has anybody experience with the import function and can explain what formats can be imported and how it is done properly. Thanks for your help. Greetings Christian -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at interchange.redhat.com (Twentys) Date: Wed Nov 28 06:13:01 2001 Subject: [ic] Banca Sella OTP - Help Anyone resolved the problem of otp of Banca Sella? If yes please call me...... Thanks to everyone!!! From: interchange-users at interchange.redhat.com (marco ghezzi) Date: Wed Nov 28 06:26:00 2001 Subject: [ic] Banca Sella OTP - Help you can find very usefull information here: http://web.tiscali.it/mciancio or making a search in the mailing list archive with 'sella'. m At 12:08 +0100 28-11-2001, Twentys wrote: >Anyone resolved the problem of otp of Banca Sella? >If yes please call me...... >Thanks to everyone!!! > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------- Metafora.it --------------------- Opensource is just a matter of time(tm) --------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 06:46:01 2001 Subject: [ic] How to import additional product items with the admin tool? > I would like to add product items from a file into the product database with > the admin tool. The admin offers the function to import xls.files, single > tables and gnumeric data tex. I tried to import xls.file and got the error > that the 'sheet 1' is not known. Does anybody know how to import xls. files? I > also tried csv.files to import as single table an gnumeric data tex but it > does notr really work. Try downloading the foundation products.xls template, perhaps with sample products intact. Modify the data and then test uploading using this file and the default foundation catalog. If this works then you will for sure whether xls upload is working. The next step will be customising the database structures on the server to match the data you wish to upload. Simon From: interchange-users at interchange.redhat.com (Stefano Malagoli) Date: Wed Nov 28 06:51:01 2001 Subject: [ic] DBI Error I have IC 4.6.5, MySQL. I have install perl 5.005 with DBI and DBD::mysql module When I try to use the 'item_featur/html' page I get an Internal Server Error, and the IC error.log report: **************** 192.168.1.12 uKURVdUj:192.168.1.12 - [28/November/2001:11:55:54 +0100] shop /cgi-bin/shop/admin/ item_feature Safe: Can't locate object method "TIEHASH" via package "DBI::st" at /usr/local/lib/perl 5/site_perl/5.005/i386-freebsd/DBI.pm line 703. > > > my $db = $Db{merchandising}; > my $date = $Tag->convert_date({ raw => 1 }); > my $code = $CGI->{item_id} or return; > return unless $db->record_exists($code); > return unless $db->field($code, 'timed_promotion'); > return if $date le $db->field($code, 'finish_date'); > $db->set_field($code, 'featured', 'expired'); > return; > > 192.168.1.12 uKURVdUj:192.168.1.12 - [28/November/2001:11:55:54 +0100] shop /cgi-bin/shop/admin/ item_feature Runtime error: Can't call method "open_table" on an undefined value at /usr/local/inter change/lib/Vend/Data.pm line 876. > **************** Can someone help me ? TIA. Stefano. ---------------------------------------- DATACODE s.r.l. Via S. Morse, 30 41100 Modena (Italy) tel. +39.059.212831 fax +39.059.4390212 E-mail: s.malagoli@datacode.it Web: www.datacode.it From: interchange-users at interchange.redhat.com (Jason Balicki) Date: Wed Nov 28 08:02:00 2001 Subject: [ic] Stupid Newbie Question Gary Henderson wrote: > > I am new and have limited experience with perl. I was wondering what the > safest way is to modify the Tools Templates to make them my own colors? Gary, see this message I previously wrote: http://interchange.redhat.com/archive/interchange-users/2001/msg10212.html --J(K) From: interchange-users at interchange.redhat.com (Chris G) Date: Wed Nov 28 08:35:00 2001 Subject: [ic] options price and inv Here is what I have so far: Products Sku 201 211 221 Area A Cat 1 Price 2 6.5 Weight .4 1.2 Options products 211 and 221 are options of 201. As a customer I go to Area A and Cat 1 and Product 201 shows up. If I select 201 then my options shows up with the correct desc and price and I can buy either one and everything is great (I changed my flypage), inv works, orders are correct etc. My problem is on the results page (I think) after I select area A/cat 1, if I click on "Buy Now" it uses sku 201, which really doesn't exist, there's no inv, no price. And since there is no inv for 201, it also shows 'N' and the price is 0. It's just a place holder so something shows up from the search. This has been the only way I can get the inv to be correct using options. Is there some way to correct the search or is this totally screwed up way of doing it? Thanks. Christopher _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 28 09:10: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 interchange.redhat.com (Mike Heins) Date: Wed Nov 28 09:49:00 2001 Subject: [ic] How to import additional product items with the admin tool? Quoting music@labyrinth.net.au (music@labyrinth.net.au): > > I would like to add product items from a file into the product database > with > > the admin tool. The admin offers the function to import xls.files, single > > tables and gnumeric data tex. I tried to import xls.file and got the error > > that the 'sheet 1' is not known. Does anybody know how to import xls. > files? I > > also tried csv.files to import as single table an gnumeric data tex but it > > does notr really work. > > Try downloading the foundation products.xls template, perhaps with sample > products intact. Modify the data and then test uploading using this file and > the default foundation catalog. If this works then you will for sure whether > xls upload is working. > This is a good suggestion. The reason "sheet 1" is not known is that it is not an Interchange table name. The XLS import needs the sheet to be named for the table -- there is no other way for Interchange to know where the data goes. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you think nobody cares if you're alive, try missing a couple of car payments. -- Earl Wilson From: interchange-users at interchange.redhat.com (Troy Davis) Date: Wed Nov 28 10:33:01 2001 Subject: [ic] Question about using Skipjack with IC 4.8.2 Hi there, When using Skipjack, is the person's credit card charged upon order placement, or when the order status is changed to shipped, or something else? Also, in Administration - Payment, every time I mark Discover and Amex to "Not Accepted" and hit the update button, the settings revert to default "Accepted" values. Is this just an interface glitch, or will IC actually try to accept those credit cards? I'm seeing lines in my error log that say the variable::Variable table is read-only. One more question while I'm at it: what does this error log entry mean: /cgi-bin/mycat/process.html PGP failed with status 131072: I thought my transactions were supposed to be going through Skipjack, not emailed via PGP. What could be the problem there? Is there a way to check what payment method is being used by the cart? Test transactions are not showing up in my Skipjack interface. Thank You, Troy Davis -- _______________________ Troy Davis ACD Interactive Slipstream.com 205 W. 4th St. #1130 Cincinnati, OH 45202 USA Tel - 513.241.4444 x119 Fax - 513.241.1107 From: interchange-users at interchange.redhat.com (Bill Carr) Date: Wed Nov 28 11:36:01 2001 Subject: [ic] Making store popup without redirect On Tue, 2001-11-27 at 21:32, steve@moddepot.com wrote: > How can I make my domain point right to the store. right now I have a > index.html which redirects to the store. but the search engines don't like > this. how can I make the store come right up with my domain. also where can > I add meta tags on the foundation? just but them in the index.html page? or > what. thanks in advance in httpd.conf DirectoryIndex /cgi-bin/store /cgi-bin/store is your CGI_URL. -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Bill Carr) Date: Wed Nov 28 11:49:00 2001 Subject: [ic] Shipping based on zip and price How do I offer free shipping based on the delivery zip and the total price of the order? I would like to use the free form method in my shipping.asc file. Here are the shipping modes I want to offer: STARSHIP available to everyone (this is working fine, UPS style lookup) MAN - Deliveries in Manahattan (delivers Mon - Fri) $75 minimum order BQ - Brooklyn & Queens (delivers Tues) $150 minimum order BW - Bronx & Westchester (delivers Thursday) $150 minimum order I want to display the delivery days on the checkout page where applicable. I would like to configure this entirely throught the shipping.asc, catalog.cfg and the like files because the checkout page is shared among many catalogs. EASIER MORE GENERAL QUESTION: How do I use the free form method to specify a geographic qualification in shipping.asc? -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Jim Webster) Date: Wed Nov 28 12:16:00 2001 Subject: [ic] browse.html I'd like to use this page. How can I create a 'More Information' link that will go to the flypage for each individual product? [area[loop-code]] does not work. [area[loop-item-code]] does not work. Same question for a 'Buy Now' link. The "stock" .html page does not seem to be functional. Thanks. Jim. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 12:33:00 2001 Subject: [ic] Need to post a question to a interchange developer or subscripter to a I am having difficulty using Interchange with Netscape. It seems that when I try to order products using Netscape it doesn't seem to load any products onto the shopping cart. I am using IC 4.8.1 and Linux 7.1 and Perl 5.6.1. I have tried to put a quantity of "1" in the results.html page but that doesn't appear to work either. More specifically here is the problem: A. I don't log in and try to check out a product. B. I order the project by selecting "Buy Now" C. I Check Out the product D. Shopping Cart remains empty If anyone can help with this or send an example that would be great From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 28 12:43:01 2001 Subject: [ic] Need to post a question to a interchange developer or subscripter to a newsgroup > I am having difficulty using Interchange with Netscape. It > seems that when I try to order products using Netscape it > doesn't seem to load any products onto the shopping cart. I > am using IC 4.8.1 and Linux 7.1 and Perl 5.6.1. I have tried > to put a quantity of "1" in the results.html page but that > doesn't appear to work either. More specifically here is the problem: > > A. I don't log in and try to check out a product. > B. I order the project by selecting "Buy Now" > C. I Check Out the product > D. Shopping Cart remains empty > > If anyone can help with this or send an example that would be great Can you replicate the problem on the demo site? Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (George Loch) Date: Wed Nov 28 13:12:00 2001 Subject: [ic] Handling inventory How do you handle inventory integration with your inventory control? In other words, I am not going to use the web site to maintain my inventory info so, I will use and system external to the web site. How do you exchange information between IC and external systems? Can it be automated? George Loch From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 28 13:30:01 2001 Subject: [ic] Handling inventory > How do you handle inventory integration with your inventory > control? In other words, I am not going to use the web site > to maintain my inventory info so, I will use and system > external to the web site. How do you exchange information > between IC and external systems? Can it be automated? > > George Loch I've seen several trends: 1. Mass market software: a. Quickbooks, (Interchange is ready to integrate with this, see 'extensions/') b. Peachtree, MAS 90, etc. (I've done MAS 90). 2. Horizontal ERP/CRM software a. $1 million solutions: Baan, CODA, D&B, IBM, Software 2000, SNI, SAP, PeopleSoft, Oracle, Marcam, J.D. Edwards. b. Open source solutions: Compiere (www.compiere.org). 3. Vertical software a. Specialized for your industry. For examples on how such integration is done, see the Quickbooks files. Other methods include controlled database syncronization (one- or two-way). Companies like Red Hat and Kavod Technologies specialize in integrating Interchange with that kind of software. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 28 13:39:00 2001 Subject: [ic] Handling inventory > How do you exchange information > between IC and external systems? Can it be automated? > > George Loch I don't know how I forgot to mention SOAP. http://ftp.interchange.redhat.com/interchange/alpha/soap.html Also remember that with Perl, Unix, and IC, there is almost no disparate system that cannot be reached, and almost no procedure that cannot be automated. Specically, you would probably customize etc/log_transaction, and add some Route directives to your config, to call some SOAP or a special Perl module, or whatever your need may be. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (scott d medlock - network engineer) Date: Wed Nov 28 13:48:01 2001 Subject: [ic] Affiliate handling with Foundation Have been working on adding in the affiliate handling (custom store entries, etc.) into a site that is based upon Foundation.... And have discovered that there seems to be no affiliate handling in Foundation at all? Am I missing something???? -- ========================================== Scott D. Medlock scottm@cosimo.net From: interchange-users at interchange.redhat.com (Jim Webster) Date: Wed Nov 28 14:03:01 2001 Subject: [ic] IMAGES I'd like my flypage to show the picture at 80x80 (which I can do). How can I make the image "clickable" to show a full size view of the photo. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 14:08:00 2001 Subject: [ic] Handling inventory On Wed, Nov 28, 2001 at 11:17:08AM -0700, George Loch wrote: > How do you handle inventory integration with your inventory control? In > other words, I am not going to use the web site to maintain my inventory > info so, I will use and system external to the web site. How do you exchange > information between IC and external systems? Can it be automated? > > George Loch It depends entirely on what you have already. It depends on your network architecture, how important it is to be exact, how time critical, etc.... For most online stores it is irrelevant, for some that deal in "one ofs" it is critical. What are the details? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 14:21:01 2001 Subject: [ic] IMAGES I use this [if-item-field image] <IMG SRC="items/[item-field image]" ALT="[item-filter entities][item-description][/item-filter]" title="[item-filter entities][item-description][/item-filter]" BORDER=0> [/if-item-field] let me know if that's what you wanted ----- Original Message ----- From: "Jim Webster" <jim@powergatenetworks.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, November 28, 2001 11:04 AM Subject: [ic] IMAGES > I'd like my flypage to show the picture at 80x80 (which I can do). How can > I make the image "clickable" to show a full size view of the photo. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Wed Nov 28 14:32:00 2001 Subject: [ic] Common or Good Encryptor Can anyone tell me a good encryptor? How do I configure it? I am doing manual credit card processing and need the CC#'s to be encrypted for emailing the information. Gary Henderson Custom Business Solutions From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Nov 28 14:37:00 2001 Subject: [ic] browse.html Jim Webster wrote: > > I'd like to use this page. > > How can I create a 'More Information' link that will go to the flypage for > each individual product? > > [area[loop-code]] does not work. > > [area[loop-item-code]] does not work. > > Same question for a 'Buy Now' link. The "stock" .html page does not seem to > be functional. Is the [loop-code] emtpy? Right writte area tag is [area [loop-code]] Try [area href="[loop-code]"] or [seti myflycode][loop-code][/seti] [area [scratch myflycode]] or [area href="[scratch myflycode]"] Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Bill Carr) Date: Wed Nov 28 14:57:01 2001 Subject: [ic] IMAGES On Wed, 2001-11-28 at 14:04, Jim Webster wrote: > I'd like my flypage to show the picture at 80x80 (which I can do). How can > I make the image "clickable" to show a full size view of the photo. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > Here is something I do that is similar. You can see it at http://creativetoyoutlet.com/10019. I have my small images in images/200 and my larger ones on image/450. I have the following on my flypage.html: [icimage sku='[item-field image]' imagesubdir=items/200] [seti large_image][icimage sku='[item-field image]' imagesubdir=items/450][/seti] [if scratch large_image] <div align=center> [page href=image form=|image=[item-field image]| ]View larger image[/page] </div> [/if] -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Nov 28 15:27:01 2001 Subject: [ic] browse.html > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Jim Webster > > I'd like to use this page. > > How can I create a 'More Information' link that will go to the flypage for > each individual product? > > [area[loop-code]] does not work. > > [area[loop-item-code]] does not work. It should be like this: [area [loop-code]] (space in between area and [) > > Same question for a 'Buy Now' link. The "stock" .html page does not seem > to > be functional. The stock pages in the foundation template should work. Visit http:://demo.ic.redhat.com to check if it works there. See ya! -Ron From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Nov 28 15:33:00 2001 Subject: [ic] Common or Good Encryptor > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Gary Henderson > > Can anyone tell me a good encryptor? How do I configure it? I am doing > manual credit card processing and need the CC#'s to be encrypted for > emailing the information. Checkout gpg, it should do just fine. In the docs for IC there are instructions on how to configure IC to work with PGP. You will need to read up on GPG to learn how to create a public/private key pair and then use the public key to encrypt the CC's. Take it easy, -Ron From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 28 16:13:01 2001 Subject: [ic] Common or Good Encryptor > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Gary Henderson > > > > Can anyone tell me a good encryptor? How do I configure it? I am > doing > > manual credit card processing and need the CC#'s to be > encrypted for > > emailing the information. > > Checkout gpg, it should do just fine. In the docs for IC > there are instructions on how to configure IC to work with > PGP. You will need to read up on GPG to learn how to create > a public/private key pair and then use the public key to > encrypt the CC's. > > Take it easy, > -Ron As far as reading up, appendix b of: http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/pdf/rhl-cg-en-72 .pdf Has some good info on GPG. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Wed Nov 28 16:23:01 2001 Subject: [ic] Interchange 4.8.3 now available Interchange 4.8.3 is now available! We recommend that those using Interchange 4.7 or higher upgrade to this version. This release includes many improvements. Some of the more important are: * Bank of America payment module added * New admin UI locales for Hebrew, Japanese, and Brazilian Portuguese * Fix crash of page servers in PreFork mode * Changes to limit exposure to cross-site JavaScript vulnerabilities * Fix frac_digits rounding problem when using no fractional digits * Workaround for FreeBSD's stock Perl $0 handling * Documentation improvements (ictags, ic_ecommerce, ic_howto_cvs) * New filter restrict_html and "filter" order check type You can view a full list of changes and download Interchange now at: http://interchange.redhat.com/cgi-bin/ic/download.html Jon From: interchange-users at interchange.redhat.com (George Loch) Date: Wed Nov 28 16:26:02 2001 Subject: [ic] Handling inventory The client is a motorcycle dealership who needs an online store. The trick with these guys is that a lot of the stuff must be ordered but, there are some things that they stock and will stock more based on demand. They use Lightspeed as their management suite. It's client/server running on windows. Is that enough info? George Loch ----- Original Message ----- > It depends entirely on what you have already. > > It depends on your network architecture, how important it is > to be exact, how time critical, etc.... For most online stores > it is irrelevant, for some that deal in "one ofs" it is critical. > > What are the details? > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content/site management, online commerce, internet integration, Debian linux > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Wed Nov 28 16:41:01 2001 Subject: [ic] Re: Modular options >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e01 >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e08 > >on various places on the site there are references to a few components which I cannot find. > modular_buy > modular_update > >I have downloaded 4.8.2 and do not see it anywhere. > >http://interchange.redhat.com/cgi-bin/cvsweb/interchange/dist/foundation/templates/components/ > >does not show them either.. so. where are they? I see 4.8.3 is out but I still do not see any of these 2 components anywhere in the download. I received only one response to my previous post and no response to the bug report so I'm assuming they are somewhere mysterious and I should RTFM. Ven From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Wed Nov 28 16:43:39 2001 Subject: [ic] Common or Good Encryptor check out gpg I believe www.gpg.org . I have not yet configuered it with IC so cannot help you there. I do use it however and it works fine. I use gpg on Mac OS X and pgp6 on Windows as clients and gpg on the server. Chad On Wednesday, November 28, 2001, at 02:31 , Gary Henderson wrote: > Can anyone tell me a good encryptor? How do I configure it? I am doing > manual credit card processing and need the CC#'s to be encrypted for > emailing the information. > > Gary Henderson > Custom Business Solutions > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Nov 28 16:45:56 2001 Subject: [ic] Handling inventory > The client is a motorcycle dealership who needs an online > store. The trick with these guys is that a lot of the stuff > must be ordered but, there are some things that they stock > and will stock more based on demand. > > They use Lightspeed as their management suite. It's > client/server running on windows. > > Is that enough info? > > George Loch Assuming you mean: http://www.bhpower.com/support/lspeed.htm They don't really have a lot of technical information on their website, so I assume one of the first steps is to get more information (directly from them perhaps) about how their systems allows integration with other software / data sources. For example, if they have a hourly CSV import setup, then you would customize IC to fit to that. If they prefer a direct ODBC (being Windows and all) insert, then you can customize IC to do that. Do you already know a lot about the system and how it integrates with other software? If so, then it only becomes a question of how to do you make IC do what they want. If not, then it means you get out the disassembler and start hacking. ;-) Dan Browning Kavod Technologies PS. It is preferred that you quote within the context that you are referring to, like I am now. > ----- Original Message ----- > > It depends entirely on what you have already. > > > > It depends on your network architecture, how important it is to be > > exact, how time critical, etc.... For most online stores it is > > irrelevant, for some that deal in "one ofs" it is critical. > > > > What are the details? > > > > -- > > > > Christopher F. Miller, Publisher > cfm@maine.com > > MaineStreet Communications, Inc 208 Portland > Road, Gray, ME > 04039 > > 1.207.657.5078 > http://www.maine.com/ > > Content/site management, online commerce, internet > integration, Debian > linux > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Wed Nov 28 17:03:01 2001 Subject: [ic] Skip Jack Payment Processing Hi, I was wondering if anyone is using SkipJack (Fleet Bank) Merchant Services with Interchange currently (Going through Verisign, Cybercash, etc. obviously). Thanks, Michael Stearne From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 17:06:01 2001 Subject: [ic] Handling inventory On Wed, Nov 28, 2001 at 02:30:49PM -0700, George Loch wrote: > The client is a motorcycle dealership who needs an online store. The trick > with these guys is that a lot of the stuff must be ordered but, there are > some things that they stock and will stock more based on demand. > > They use Lightspeed as their management suite. It's client/server running on > windows. > > Is that enough info? Getting there. How does one talk to lightspeed? You say client/server; is there an api with which you can talk directly to lightspeed? Or a database for perl DBD, etc... or is it using *.mdb - in which case you are close to but not quite dead (and will probably wish you were dead)? Timeliness and item count don't sound critical. Maybe you can do a file dump daily, parse it and load that into the store? Can it be automated? If not, it's not going to happen reliably. Is their network on the net? How can you get data back and forth to the store through the firewall? > > George Loch > > ----- Original Message ----- > > It depends entirely on what you have already. > > > > It depends on your network architecture, how important it is > > to be exact, how time critical, etc.... For most online stores > > it is irrelevant, for some that deal in "one ofs" it is critical. > > > > What are the details? > > > > -- > > > > Christopher F. Miller, Publisher > cfm@maine.com > > MaineStreet Communications, Inc 208 Portland Road, Gray, ME > 04039 > > 1.207.657.5078 > http://www.maine.com/ > > Content/site management, online commerce, internet integration, Debian > linux > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 28 17:27:00 2001 Subject: [ic] Shipping based on zip and price I am writing to tell you that you have an interesting question. I don't want you to feel ignored. Your question did reach the list. I think that your question is beyond the capabilities of the list and that you should consider hiring a consultant. On 28 Nov 2001, Bill Carr wrote: BC>>How do I offer free shipping based on the delivery zip and the total BC>>price of the order? I would like to use the free form method in my BC>>shipping.asc file. BC>> BC>>Here are the shipping modes I want to offer: BC>>STARSHIP available to everyone (this is working fine, UPS style lookup) BC>>MAN - Deliveries in Manahattan (delivers Mon - Fri) $75 minimum order BC>>BQ - Brooklyn & Queens (delivers Tues) $150 minimum order BC>>BW - Bronx & Westchester (delivers Thursday) $150 minimum order BC>> BC>>I want to display the delivery days on the checkout page where BC>>applicable. I would like to configure this entirely throught the BC>>shipping.asc, catalog.cfg and the like files because the checkout page BC>>is shared among many catalogs. BC>> BC>>EASIER MORE GENERAL QUESTION: How do I use the free form method to BC>>specify a geographic qualification in shipping.asc? BC>> BC>>-- BC>>Bill Carr BC>>Worldwide Impact BC>>bill@worldwideimpact.com BC>>413-253-6700 BC>> BC>>_______________________________________________ BC>>interchange-users mailing list BC>>interchange-users@interchange.redhat.com BC>>http://interchange.redhat.com/mailman/listinfo/interchange-users BC>> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 28, 2001 at 17:25 PM: My computer has a terminal illness ---------------------------------------------------------------- This Linux System has been up 74 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (radioman) Date: Wed Nov 28 17:59:00 2001 Subject: [ic] Damn We're sorry problem Hi Folks! I am sure that all of you guys has heard of my Interchange problem. It is the notorious: We're sorry, the Interchange server is unavaible...: Problem when I click on the link to enter the customers or admin interface (http://127.0.0.1/foundation). I have really read every topic about this prob but no lucky result. My both error.logs are completly ok (cat error.log in the cat dir and the error.log in the interchange dir). Interchange.cfg is also configured correctly. So the last thing that might be wrong is ther permission on the /cgi-bin/foundation and/or on the catalog directory. So, what are the permissions On this file and the cat dir? Foundation in cgi-bin is set to 4555 chmod and the cat dir to 2770 chmod. Pls help me out. Both chown to user interch... My Interchange daemon starts without any prob (su -c /usr/lib/interchange/bin/interchange -r" interch). Perhaps the test_foundation database should be changed (permissions and user)?? Currently set to: mysql daemon Or when I run makecat I have tried both letters vor a multi user cat config (M, G). But no difference... So guys I would be very glad if I could solve my prob because it is going on my nerves since 5 days. Thank you very much From: interchange-users at interchange.redhat.com (Axium Computer Services) Date: Wed Nov 28 18:05:01 2001 Subject: [ic] Displaying q5 field I'm trying to modify results.html to display the q5 field. Here is the diff of what I currently have: 105d104 < <td align="center"><b>Price 5+</b></td> 110c109 < <td colspan="7">&nbsp;</td> --- > <td colspan="6">&nbsp;</td> 118c117 < <td colspan="7">&nbsp;[either][value banner_text][or][item-field category][/either]</td> --- > <td colspan="6">&nbsp;[either][value banner_text][or][item-field category][/either]</td> 145d143 < <td align="center">[item-field q5]</td> I have also tried [item-q5] All that I get is some blank space where I would expect the price to be. I'm assuming that somewhere in the results.html file a query is specified and it is not being told to retrieve the q5 field from the DB, but then again I may be completely wrong. As you can tell, I am very new to this. Let me know what you think. Thanks Steven Potter From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Wed Nov 28 18:16:01 2001 Subject: [ic] Re: Modular options On Wed, 28 Nov 2001, Victor Nolton wrote: > >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e01 > >http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfoundation06%2e08 > > > >on various places on the site there are references to a few components > which I cannot find. > > modular_buy > > modular_update > > > >I have downloaded 4.8.2 and do not see it anywhere. > > > >http://interchange.redhat.com/cgi-bin/cvsweb/interchange/dist/foundation/templates/components/ > > > >does not show them either.. so. where are they? > > I see 4.8.3 is out but I still do not see any of these 2 components > anywhere in the download. I received only one response to my previous post > and no response to the bug report so I'm assuming they are somewhere > mysterious and I should RTFM. A quick look in CVS shows that Mike removed them before 4.8 was released because modular options hadn't matured enough to be in the stable branch. You can still get them out of the Attic in CVS (where deleted files stay): http://interchange.redhat.com/cgi-bin/cvsweb/interchange/dist/foundation/templates/components/Attic/ Jon From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Nov 28 18:22:01 2001 Subject: [ic] Re: Modular options > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Victor Nolton > > >http://interchange.redhat.com/cgi- > bin/ic/docfly.html?mv_arg=icfoundation06%2e01 > >http://interchange.redhat.com/cgi- > bin/ic/docfly.html?mv_arg=icfoundation06%2e08 > > > >on various places on the site there are references to a few components > which I cannot find. > > modular_buy > > modular_update > > > >I have downloaded 4.8.2 and do not see it anywhere. > > > >http://interchange.redhat.com/cgi- > bin/cvsweb/interchange/dist/foundation/templates/components/ > > > >does not show them either.. so. where are they? > > > I see 4.8.3 is out but I still do not see any of these 2 components > anywhere in the download. I received only one response to my previous post > and no response to the bug report so I'm assuming they are somewhere > mysterious and I should RTFM. > Victor, I believe that modular options are not functional in the 4.8.x track and may be planned for 5.x. I think Mike or Jon posted this to the list awhile ago. In the meantime you may need to build your own IC code to handle these needs; we are looking into that right now. Thanks, -Ron From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 28 18:29:00 2001 Subject: [ic] Displaying q5 field On Wed, 28 Nov 2001, Axium Computer Services wrote: ACS>>I'm trying to modify results.html to display the q5 field. Here is the ACS>>diff of what I currently have: Do you have a q5 column in pricing.txt? Is there data in that coumn for the SKU you are playing with? Is there a <tab> before that column? Is there a <tab> after that column? Do you have a q5 in the CommonAdjust line in catalog.cfg? I'm sorry. I don't understand all of the following gibberish. ACS>> ACS>>105d104 ACS>>< <td align="center"><b>Price 5+</b></td> ACS>>110c109 ACS>>< <td colspan="7">&nbsp;</td> ACS>>--- ACS>> > <td colspan="6">&nbsp;</td> ACS>>118c117 ACS>>< <td colspan="7">&nbsp;[either][value banner_text][or][item-field ACS>>category][/either]</td> ACS>>--- ACS>> > <td colspan="6">&nbsp;[either][value banner_text][or][item-field ACS>>category][/either]</td> ACS>>145d143 ACS>>< <td align="center">[item-field q5]</td> ACS>> ACS>>I have also tried [item-q5] ACS>> ACS>> ACS>>All that I get is some blank space where I would expect the price to be. ACS>> ACS>>I'm assuming that somewhere in the results.html file a query is ACS>>specified and it is not being told to retrieve the q5 field from the DB, ACS>>but then again I may be completely wrong. As you can tell, I am very ACS>>new to this. Let me know what you think. ACS>> ACS>>Thanks ACS>> ACS>>Steven Potter ACS>> ACS>> ACS>> ACS>>_______________________________________________ ACS>>interchange-users mailing list ACS>>interchange-users@interchange.redhat.com ACS>>http://interchange.redhat.com/mailman/listinfo/interchange-users ACS>> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 28, 2001 at 18:25 PM: SYSTEM ERROR: press F13 to continue... ---------------------------------------------------------------- This Linux System has been up 75 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Ing. Roberto Andrade Fonseca) Date: Wed Nov 28 19:24:00 2001 Subject: [ic] Problems with tutorial Hi: I can see on your mails archive: >> Every time I try to checkout after filling in all the >> forms in checkout.html, I always go to needfield.html. >> This says I forgot some important fields, but it >> doesn't say which as it should. >> Problem is I did fill in all the forms. >> >> I allready checked all the spelling of the checkout >> pages (even copy-paste from the tutorial), tried >> removing all the "required"'s in profiles.order, >> upgraded to the newest interchange 4.6.2,... but I >> never get it to receipt.html >> >> What could be my problem? My construct demo-catalog >> works fine. I'm using redhat 7. >> >> thank you very much >When something like this happens, make a page which has just >this in it: <XMP>[dump]</XMP> Then access that page. It should give the value of your session, and you will find >a top-level key in the session information called "errors". >Look at that and see if the information is there. Well, I have the same problem, but I can't figure out wath's the problem. The [dump] page says: Full client host name: Full client IP address: 127.0.0.1 Query string was: browser: Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-7 i586) Opera 5.0 [en] last_url: /queonda.html 0 items in main cart. ###### ENVIRONMENT ##### { 'QUERY_STRING' => '', 'SERVER_ADDR' => '127.0.0.1', 'HTTP_COOKIE2' => '$Version="1"', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'HTTP_CONNECTION' => 'Keep-Alive, TE', 'SERVER_SIGNATURE' => ' Apache/1.3.20 Server at ingrid.intranet.abl.com Port 80 ', 'PATH_TRANSLATED' => '/var/www/html/queonda.html', 'REMOTE_PORT' => '33026', 'HTTP_USER_AGENT' => 'Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-7 i586) Opera 5.0 [en]', 'HTTP_ACCEPT' => 'text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_HOST' => 'localhost', 'PATH_INFO' => '/queonda.html', 'SERVER_SOFTWARE' => 'Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01', 'SERVER_ADMIN' => 'root@localhost', 'REMOTE_ADDR' => '127.0.0.1', 'HTTP_TE' => 'deflate, gzip, chunked, identity, trailers', 'SCRIPT_NAME' => '/cgi-bin/tutorial', 'HTTP_ACCEPT_ENCODING' => 'deflate, gzip, x-gzip, identity, *;q=0', 'SERVER_NAME' => 'ingrid.intranet.abl.com', 'DOCUMENT_ROOT' => '/var/www/html', 'REQUEST_URI' => '/cgi-bin/tutorial/queonda.html', 'HTTP_COOKIE' => 'MV_SESSION_ID=5qtQUiRa:127.0.0.1', 'REQUEST_METHOD' => 'GET', 'SCRIPT_FILENAME' => '/var/www/cgi-bin/tutorial', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin', 'SERVER_PORT' => '80' } ###### END ENVIRONMENT ##### ###### CGI VALUES ##### { 'mv_nextpage' => 'queonda', 'mv_session_id' => '5qtQUiRa' } ###### END CGI VALUES ##### ###### SESSION ##### { 'path_alias' => {}, 'one_time_path_alias' => {}, 'superuser' => undef, 'last_url' => '/queonda.html', 'ohost' => '127.0.0.1', 'values' => { 'state' => 'TX', 'country' => 'USA', 'mv_credit_card_exp_month' => '1', 'address1' => 'Paseo de FFCC', 'address2' => 'Iztacala', 'submit' => 'Finalize!', 'mv_session_id' => '5qtQUiRa', 'city' => 'Tlane', 'lname' => 'Andrade', 'mv_cyber_mode' => 'minivend_test', 'fname' => 'Roberto', 'mv_shipmode' => 'default', 'zip' => '54090', 'mv_order_profile' => 'order_profile', 'mv_credit_card_exp_year' => '02' }, 'admin' => undef, 'extension' => '.html', 'browser' => 'Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-7 i586) Opera 5.0 [en]', 'host' => '127.0.0.1', 'carts' => { 'main' => [] }, 'scratch' => {}, 'user' => undef, 'arg' => undef, 'referer' => 'http://localhost/cgi-bin/tutorial/ord/basket?mv_session_id=mtCIR4kV&mv_pc=26&mv_action=refresh&mv_order_item=0198', 'time' => 1006993058, 'errors' => {}, 'username' => undef, 'id' => '5qtQUiRa', 'control' => [], 'pageCount' => 35 } ###### END SESSION ##### How can I fix that problem? TIA. Saludos, Roberto Andrade Fonseca randrade@abl.com.mx From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Wed Nov 28 20:16:01 2001 Subject: [ic] Downloadables If anybody has any tips, tricks, or advice on using interchange for dowloading mixed goods, "hard" and "soft", please let me know. I can get my soft goods to download, but if anbody has run into any problems or quirks with IC, I would like to know before hand. Also, we are gonna have A WHOLE LOT of soft goods. I have them stored in a directory under the CATALOG directory. Are there any size limits? I know I can have the actual soft goods in my WWW directory but I was thinking they would be a little harder for a hacker to get access outside my WWW directory and into the CATALOG directory. Or am I stupid? :) Thanks in advance. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 20:49:01 2001 Subject: [ic] Problems with tutorial On Wed, Nov 28, 2001 at 06:24:43PM -0600, Ing. Roberto Andrade Fonseca wrote: > Hi: > > I can see on your mails archive: > > >> Every time I try to checkout after filling in all the > >> forms in checkout.html, I always go to needfield.html. > >> This says I forgot some important fields, but it > >> doesn't say which as it should. > >> Problem is I did fill in all the forms. > >> > >> I allready checked all the spelling of the checkout > >> pages (even copy-paste from the tutorial), tried > >> removing all the "required"'s in profiles.order, > >> upgraded to the newest interchange 4.6.2,... but I > >> never get it to receipt.html > >> > >> What could be my problem? My construct demo-catalog > >> works fine. I'm using redhat 7. > >> > >> thank you very much > 'HTTP_COOKIE' => 'MV_SESSION_ID=5qtQUiRa:127.0.0.1', > 'mv_session_id' => '5qtQUiRa' > 'referer' => 'http://localhost/cgi-bin/tutorial/ord/basket?mv_session_id=mtCIR4kV&mv_pc=26&mv_action=refresh&mv_order_item=0198', > 'id' => '5qtQUiRa', > 'pageCount' => 35 Blow away all your sessions and start clean. If your session changes during checkout you lose everything. Your referer is the previous session's basket. Watch your session id and see where it changes. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Nov 28 20:55:00 2001 Subject: [ic] Downloadables On Wed, 28 Nov 2001, Paul Jordan wrote: PJ>>If anybody has any tips, tricks, or advice on using interchange for PJ>>dowloading mixed goods, "hard" and "soft", please let me know. I can get my PJ>>soft goods to download, but if anbody has run into any problems or quirks PJ>>with IC, I would like to know before hand. Also, we are gonna have A WHOLE PJ>>LOT of soft goods. I have them stored in a directory under the CATALOG PJ>>directory. Are there any size limits? I know I can have the actual soft PJ>>goods in my WWW directory but I was thinking they would be a little harder PJ>>for a hacker to get access outside my WWW directory and into the CATALOG PJ>>directory. Or am I stupid? :) A couple-three suggestions ---- Please ask SPECIFIC questions. Before asking a specific question, please read through the mailing list archives for your specific question(s). When you are asking a specific question, please tell us what Operating System you are using and what version of IC you are trying to be happy with. This question here gives me a headache with all of the complexities. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, November 28, 2001 at 20:50 PM: The world will end in 5 minutes. Please log out. ---------------------------------------------------------------- This Linux System has been up 77 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Nov 28 21:10:01 2001 Subject: [ic] Downloadables Quoting Paul Jordan (paul@gishnetwork.com): > If anybody has any tips, tricks, or advice on using interchange for > dowloading mixed goods, "hard" and "soft", please let me know. I can get my > soft goods to download, but if anbody has run into any problems or quirks > with IC, I would like to know before hand. Also, we are gonna have A WHOLE > LOT of soft goods. I have them stored in a directory under the CATALOG > directory. Are there any size limits? I know I can have the actual soft > goods in my WWW directory but I was thinking they would be a little harder > for a hacker to get access outside my WWW directory and into the CATALOG > directory. Or am I stupid? :) If you select the "reports" template during makecat, you will see a working downloadable softgoods implementation. The softgoods are stored in the catalog directory (or anywhere you can put a symlink to). There are no size limits, but bear in mind if you want IC to deliver the goods it requires an IC daemon to run for the duration of the download. If that goes more than 5 minutes you will run into timeouts in the default configuration; if it goes more than 15 you will run into web server timeouts. Also, IC takes quite a bit of memory so you will see some memory usage. If you don't expect to have dozens of sales per hour or more, it probably won't matter. But if you will have a lot of large downloads, it it best to do some sort of external symlinking of an FTP path or something; or you can use IC to set up a customer login via AuthDBI or some other method. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: interchange-users at interchange.redhat.com (Ing. Roberto Andrade Fonseca) Date: Wed Nov 28 21:19:01 2001 Subject: [ic] Problems with tutorial Hi Chistopher: On Wed, 28 Nov 2001 cfm@maine.com wrote: > On Wed, Nov 28, 2001 at 06:24:43PM -0600, Ing. Roberto Andrade Fonseca wrote: > > Hi: > > > > I can see on your mails archive: > > > > >> Every time I try to checkout after filling in all the > > >> forms in checkout.html, I always go to needfield.html. > > >> This says I forgot some important fields, but it > > >> doesn't say which as it should. > > >> Problem is I did fill in all the forms. > > >> > > >> I allready checked all the spelling of the checkout > > >> pages (even copy-paste from the tutorial), tried > > >> removing all the "required"'s in profiles.order, > > >> upgraded to the newest interchange 4.6.2,... but I > > >> never get it to receipt.html > > >> > > >> What could be my problem? My construct demo-catalog > > >> works fine. I'm using redhat 7. > > >> > > >> thank you very much > > > 'HTTP_COOKIE' => 'MV_SESSION_ID=5qtQUiRa:127.0.0.1', > > 'mv_session_id' => '5qtQUiRa' > > 'referer' => 'http://localhost/cgi-bin/tutorial/ord/basket?mv_session_id=mtCIR4kV&mv_pc=26&mv_action=refresh&mv_order_item=0198', > > 'id' => '5qtQUiRa', > > 'pageCount' => 35 > > Blow away all your sessions and start clean. If your session changes > during checkout you lose everything. Your referer is the previous > session's basket. Watch your session id and see where it changes. Thans for your response. How do I 'blow away my session'? Saludos, Roberto Andrade Fonseca randrade@abl.com.mx From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 22:15:01 2001 Subject: [ic] Problems with tutorial On Wed, Nov 28, 2001 at 08:19:43PM -0600, Ing. Roberto Andrade Fonseca wrote: > Hi Chistopher: > > On Wed, 28 Nov 2001 cfm@maine.com wrote: > > > On Wed, Nov 28, 2001 at 06:24:43PM -0600, Ing. Roberto Andrade Fonseca wrote: > > > Hi: > > > > > > I can see on your mails archive: > > > > > > >> Every time I try to checkout after filling in all the > > > >> forms in checkout.html, I always go to needfield.html. > > > >> This says I forgot some important fields, but it > > > >> doesn't say which as it should. > > > >> Problem is I did fill in all the forms. > > > >> > > > >> I allready checked all the spelling of the checkout > > > >> pages (even copy-paste from the tutorial), tried > > > >> removing all the "required"'s in profiles.order, > > > >> upgraded to the newest interchange 4.6.2,... but I > > > >> never get it to receipt.html > > > >> > > > >> What could be my problem? My construct demo-catalog > > > >> works fine. I'm using redhat 7. > > > >> > > > >> thank you very much > > > > > 'HTTP_COOKIE' => 'MV_SESSION_ID=5qtQUiRa:127.0.0.1', > > > 'mv_session_id' => '5qtQUiRa' > > > 'referer' => 'http://localhost/cgi-bin/tutorial/ord/basket?mv_session_id=mtCIR4kV&mv_pc=26&mv_action=refresh&mv_order_item=0198', > > > 'id' => '5qtQUiRa', > > > 'pageCount' => 35 > > > > Blow away all your sessions and start clean. If your session changes > > during checkout you lose everything. Your referer is the previous > > session's basket. Watch your session id and see where it changes. > > Thans for your response. > > How do I 'blow away my session'? In your catalog home directory, where you have a session and tmp directory, a shell script: #!/bin/sh #rm_sessions find session -type f -exec rm {} \; find tmp -type f -exec rm {} \; That assumes you are running session files. I'm not saying this is solution, just your dump looks suspect. > > Saludos, > > Roberto Andrade Fonseca > randrade@abl.com.mx > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Nov 28 22:51:00 2001 Subject: [ic] Logging out I'm testing the interchange cart and I have noticed when I try to log out of the shopping cart it says "you are logged out" but the log out button still shows on the menu bar. is there a way to configure so when you log out it changes the button to "Log In" ? From: interchange-users at interchange.redhat.com (Steve Graham) Date: Wed Nov 28 22:54:02 2001 Subject: [ic] Handling inventory Hello, I have a similar setup. I have set up interchange server to use mysql database. My company database software resides on a NT box. I can access my windows database with MS Active Server Pages (.asp) and also access the mysql server simultaneoulsy with the odbc connector set up on the Windows box (Mysql offers this odbc connector). I access my windows database via Windows activer server pages, and update the database on the mysql server on the fly. I am familiar with accessing databases via .asp and am sure there might be other ways to do this, but it works, and this way I can adjust stock 1, or 2 times a day. Of course, all my machines are setting next to each other behind the firewall, which makes communication easy. Good Luck, Steve >From: "Dan Browning" <danpb@mail.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: RE: [ic] Handling inventory >Date: Wed, 28 Nov 2001 13:39:41 -0800 > > > The client is a motorcycle dealership who needs an online > > store. The trick with these guys is that a lot of the stuff > > must be ordered but, there are some things that they stock > > and will stock more based on demand. > > > > They use Lightspeed as their management suite. It's > > client/server running on windows. > > > > Is that enough info? > > > > George Loch > >Assuming you mean: > http://www.bhpower.com/support/lspeed.htm > >They don't really have a lot of technical information on their website, >so I assume one of the first steps is to get more information (directly >from them perhaps) about how their systems allows integration with other >software / data sources. For example, if they have a hourly CSV import >setup, then you would customize IC to fit to that. If they prefer a >direct ODBC (being Windows and all) insert, then you can customize IC to >do that. > >Do you already know a lot about the system and how it integrates with >other software? If so, then it only becomes a question of how to do you >make IC do what they want. If not, then it means you get out the >disassembler and start hacking. ;-) > >Dan Browning >Kavod Technologies > >PS. It is preferred that you quote within the context that you are >referring to, like I am now. > > > > > ----- Original Message ----- > > > It depends entirely on what you have already. > > > > > > It depends on your network architecture, how important it is to be > > > exact, how time critical, etc.... For most online stores it is > > > irrelevant, for some that deal in "one ofs" it is critical. > > > > > > What are the details? > > > > > > -- > > > > > > Christopher F. Miller, Publisher > > cfm@maine.com > > > MaineStreet Communications, Inc 208 Portland > > Road, Gray, ME > > 04039 > > > 1.207.657.5078 > > http://www.maine.com/ > > > Content/site management, online commerce, internet > > integration, Debian > > linux > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Austin Morgan) Date: Wed Nov 28 23:34:00 2001 Subject: [ic] Damn We're sorry problem The first time I set up an database I had this problem. What I found I did wrong was I set the address that accessesthe web page wrong. This meant that it would bring up the redirection screen (the one with the options for the admin and customer interfaces) but I couldn't get to any of the other pages hosted on my server. Austin On Wed, Nov 28, 2001 at 11:58:52PM +0100, radioman wrote: > Hi Folks! > > I am sure that all of you guys has heard of my Interchange problem. > It is the notorious: We're sorry, the Interchange server is > unavaible...: > Problem when I click on the link to enter the customers or admin > interface > (http://127.0.0.1/foundation). > I have really read every topic about this prob but no lucky result. > My both error.logs are completly ok (cat error.log in the cat dir and > the error.log in the interchange dir). > Interchange.cfg is also configured correctly. > So the last thing that might be wrong is ther permission on the > /cgi-bin/foundation and/or on the catalog directory. So, what are the > permissions > On this file and the cat dir? > Foundation in cgi-bin is set to 4555 chmod and the cat dir to 2770 > chmod. > Pls help me out. Both chown to user interch... > My Interchange daemon starts without any prob (su -c > /usr/lib/interchange/bin/interchange -r" interch). > Perhaps the test_foundation database should be changed (permissions and > user)?? Currently set to: mysql daemon > Or when I run makecat I have tried both letters vor a multi user cat > config (M, G). But no difference... > So guys I would be very glad if I could solve my prob because it is > going on my nerves since 5 days. > > Thank you very much > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- __ __ ____ ____ | \/ |/ ___/ ___| Austin Morgan | |\/| | | \___ \ Morgan Computer Services | | | | |___ ___) | 501-857-1189 |_| |_|\____|____/ www.morgancomputers.net From: interchange-users at interchange.redhat.com (Patrick S. Stuckenberger) Date: Thu Nov 29 02:59:01 2001 Subject: [ic] howto change default language? sorry, I'm a new to ic, how can I change the default language to german? best regards, patrick From: interchange-users at interchange.redhat.com (webmaster) Date: Thu Nov 29 07:51:01 2001 Subject: [ic] Damn We're sorry problem -----Ursprüngliche Nachricht----- Von: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] Im Auftrag von Austin Morgan Gesendet: Donnerstag, 29. November 2001 05:33 An: interchange-users@interchange.redhat.com Betreff: Re: [ic] Damn We're sorry problem The first time I set up an database I had this problem. What I found I did wrong was I set the address that accessesthe web page wrong. This meant that it would bring up the redirection screen (the one with the options for the admin and customer interfaces) but I couldn't get to any of the other pages hosted on my server. Austin interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users Thanx for the response Austin. So could u say to me which file I have to change or where do I set the address that accesses the web page (admin and customers interface page). I think you mean the httpd.conf file where teh DocRoot is set, do you? My DocRoot is in /usr/local/httpd/htdocs My CGI-BIN is in /usr/local/httpd/cgi-bin So could you be pls more explicit and say which file you mean I have to change? Thank You From: interchange-users at interchange.redhat.com (Daniel Roulliere) Date: Thu Nov 29 08:04:00 2001 Subject: [ic] Error in UserTag with open Try this in interchange.cfg : AllowGlobal yourcatalog Daniel Tonio Polia wrote: >Hi, I wuold like to use a UserTag .. >but interchange server, when I start it, say this: > > >#####start of message ##### >Configuring catalog test1...Using MySQL, DSN=dbi:mysql:test_test1. >UserTag 'bs_prepare' subroutine failed safe check: open trapped by operation >mask at (eval 140) line 12, <CONFIG> line 46. > >In line 46 of the configuration file 'usertag/bsella': >UserTag bs-prepare Routine <<EOF > >UserTag 'bs_confirm' subroutine failed safe check: open trapped by operation >mask at (eval 142) line 20, <CONFIG> line 98. > >In line 98 of the configuration file 'usertag/bsella': >UserTag bs-confirm Routine <<EOF >####end of message ######### > >the UserTag say this: > >####start >UserTag bs-prepare Routine <<EOF >sub { > ..... some code ... declaration of some variable > open (FH, "+< $Vend::Cfg->{VendRoot}/$::Variable->{BS_OTP_RIC}") or die >"Can't open file: $!"; > flock(FH, 2) or die "Can't flock: $!"; # 2 = exclusive lock > while ( <FH> ) { $otp=$_; $addr = tell(FH) unless eof(FH); } > truncate(FH, $addr); > flock(FH, 8) or die "Can't unlock: $!"; # 8 = unlock > close(FH); > chomp $otp; > > some pieces of code, it is right > > open(FH, "$Vend::Cfg->{VendRoot}/$::Variable->{BS_OTP_RIC}") or die >"Can't open file: $!"; > while (sysread FH, $buffer, 4096) { > $lines += ($buffer =~ tr/\n//); > } > close(FH); > > another piece of code .... and at the end ... > > return ''; >} >EOF > >####end > >bis bald > Tonio > >----------------------------------------------------------------- >I Still See Her Face >As Beatiful As Day >It's Easy To Remember >Remember My Love That Way >All I Hear Is That Lonesome Sound >The Hounds Of Winter >They Follow Me Down > (Sting, "The Hounds Of Winter") >----------------------------------------------------------------- > >Tonio "RedFox" Polia >ICQ #: 47373366 >e-mail:redfox@dag.it > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Beachey, Kendric) Date: Thu Nov 29 09:30:00 2001 Subject: [ic] Selling physical or downloadable goods, plus unlock codes I am investigating Interchange as a way to get us off of MS Site Server. We currently have three main types of stuff that we sell on line: 1) physical goods--this is easy to understand how to do with Interchange, of course. (interfacing with our existing databases and systems is a question for another time) 2) downloadable goods--you select what you need, then you give us your credit card number, then we give you a link to the file you are to download. I searched the archives of this list and saw some people referring to the "simple" catalog that (at least used to) come with Interchange, because apparently it had some downloadable products set up. Has anyone managed to follow through and make good use of this method of selling with Interchange? If so, I'd like to ask you some questions. 3) magic ASCII strings--you buy one of our products at a store somewhere, and then you come to our e-commerce site. You select what you need, give us some serial number type stuff from the product you bought, give us your credit card number, and then we run some algorithm on the server to calculate an unlock code given what the user entered. We then display this on the next page so the user can copy it down. Has anyone done anything like this with Interchange? -- Kendric Beachey From: interchange-users at interchange.redhat.com (joachim.richter) Date: Thu Nov 29 10:14:00 2001 Subject: [ic] European Date Search - accomplished that is 99% Thanks for the help guys, after changing the date format to YYYY-MM-DD in the field "date" I get an correct list output. (YES!!) But somehow the output process is VERY slow, although we are using an MYSQL database ! Any ideas on how I can change the link to be faster ? After reading the manual - I even got more confused with the [query sql] tag.... Does anybody have a very simple sql link and a simple results page we can build upon ? By the way a couple of times I have seen that people were using "st=sql" instead of "st=db" does that make a difference ? <a href="[area href=scan search=| fi=products st=sql sp=new50 co=1 sf=date se=N op=ne nu=0 su=1 sf=date se=2001-09-01 op=> nu=0 su=1 sf=date se=2001-12-31 op=< nu=0 su=1 ml=50 tf=date to=r | ]">test</a> thanx JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Marty Tennison) Date: Thu Nov 29 10:21:01 2001 Subject: [ic] Damn We're sorry problem Have you tried building the catalog with INET mode instead of UNIX mode? INET mode works great for me and UNIX mode does not. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of radioman Sent: Wednesday, November 28, 2001 2:59 PM To: interchange-users@interchange.redhat.com Subject: [ic] Damn We're sorry problem Hi Folks! I am sure that all of you guys has heard of my Interchange problem. It is the notorious: We're sorry, the Interchange server is unavaible...: Problem when I click on the link to enter the customers or admin interface (http://127.0.0.1/foundation). I have really read every topic about this prob but no lucky result. My both error.logs are completly ok (cat error.log in the cat dir and the error.log in the interchange dir). Interchange.cfg is also configured correctly. So the last thing that might be wrong is ther permission on the /cgi-bin/foundation and/or on the catalog directory. So, what are the permissions On this file and the cat dir? Foundation in cgi-bin is set to 4555 chmod and the cat dir to 2770 chmod. Pls help me out. Both chown to user interch... My Interchange daemon starts without any prob (su -c /usr/lib/interchange/bin/interchange -r" interch). Perhaps the test_foundation database should be changed (permissions and user)?? Currently set to: mysql daemon Or when I run makecat I have tried both letters vor a multi user cat config (M, G). But no difference... So guys I would be very glad if I could solve my prob because it is going on my nerves since 5 days. Thank you very much _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (webmaster) Date: Thu Nov 29 10:57:00 2001 Subject: AW: [ic] Damn We're sorry problem No I only build the Cat in Unix mode. Perhaps it is worth a try. Thanx for your support -----Ursprüngliche Nachricht----- Have you tried building the catalog with INET mode instead of UNIX mode? INET mode works great for me and UNIX mode does not. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 29 11:05:00 2001 Subject: [ic] shipping idea I am trying to set the shipping cost based on the size of the items. I have read the following from the archieves for the shipping.asc: usps Mail [item-accessories size] 0 1 5 usps Mail [item-accessories size] 2 2 7 small = $5.00 medium = $7.00 I am wondering if there is a way to chain or loop this to go throught the whole cart? So if the customer buys two small he gets charged $10.00 not $7.00. I have read a hundred different ways to do this. Would like to know the correct way to get this output. Redhat 7.1 and interchange 4.8.3 (rpm) Thanks, rick From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 29 11:23:00 2001 Subject: [ic] not useing item option weight? I have made a cat. based on the foundation demo. My shipping is based on weight. Does the foundation demo not use weight of an option on an item. I have many sizes of each item. Each size has its own weight. It seams to work if i do not have a size option for the item. But when i make the size option and make the weight it is not useing that weight. Any ideas? redhat7.1 and interchange 4.8.3(rpm) Thanks Rick From: interchange-users at interchange.redhat.com (joachim.richter) Date: Thu Nov 29 11:34:00 2001 Subject: [ic] SQL Statements Hi list, i am in the process of changing some list to use sql statements: I like to ask the following question: I have seen both version of the following 2 lines, is there a difference ? The fields that are named in the first line are also the ones which are in the output list - select sku, description, price from products where price < '50.00' select * from products where price < '50.00' thanks JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 29 11:38:01 2001 Subject: [ic] not useing item option weight? >I have made a cat. based on the foundation demo. My shipping is based on >weight. Does the foundation demo not use weight of an option on an item. I >have many sizes of each item. Each size has its own weight. It seams to work >if i do not have a size option for the item. But when i make the size option >and make the weight it is not useing that weight. >Any ideas? >redhat7.1 and interchange 4.8.3(rpm) >Thanks Rick What about the use of a combination of: usps Mail [item-accessories size] 0 1 5 and "i" Reading some old minivend docs say: "i Specifies a chained shipping lookup which will be applied to each item in the shopping cart. " And of the gurus think this might work? Thanks, rick From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 29 11:41:00 2001 Subject: [ic] shipping idea At 10:16 AM 11/29/2001 -0600, you wrote: >I am trying to set the shipping cost based on the size of the items. > >I have read the following from the archieves for the shipping.asc: > >usps Mail [item-accessories size] 0 1 5 >usps Mail [item-accessories size] 2 2 7 > > >small = $5.00 >medium = $7.00 >I am wondering if there is a way to chain or loop this to go throught the >whole cart? > >So if the customer buys two small he gets charged $10.00 not $7.00. > >I have read a hundred different ways to do this. Would like to know the >correct way to get this output. > >Redhat 7.1 and interchange 4.8.3 (rpm) > >Thanks, >rick There are probably more than 100 :-) One way would be to use the free-form method for shipping.asc: usps: Mail criteria <<EOC [calc] my $total = 0; [item-list] $total += ([item-quantity] * 5) if q{[item-modifier size]} =~ /^s/i; $total += ([item-quantity] * 7) if q{[item-modifier size]} =~ /^m/i; [/item-list] return $total; [/calc] EOC min 0 max 999999 cost f @@TOTAL@@ - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Nov 29 11:48:01 2001 Subject: [ic] SQL Statements On Thu, Nov 29, 2001 at 05:33:27PM +0000, joachim.richter wrote: > I have seen both version of the following 2 lines, is there a difference ? > The fields that are named in the first line are also the ones which are > in the output list - > > select sku, description, price from products where price < '50.00' > select * from products where price < '50.00' > As long as the fields in the products database are sku, description, and price, in that order, then these are the same, the first form is preferred if there is the possibility that other fields may be added to the database, or that the order of fields may change, as it ensures that you are getting the fields you expect... -- Jason Kohles jkohles@redhat.com Senior System Architect (703)786-8036 (cellular) Red Hat Professional Consulting (703)456-2940 (office) From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Nov 29 11:51:01 2001 Subject: [ic] SQL Statements > I have seen both version of the following 2 lines, is there a difference ? > The fields that are named in the first line are also the ones which are > in the output list - > > select sku, description, price from products where price < '50.00' > select * from products where price < '50.00' SELECT * just means 'please return all fields' Jonathan Webmaint. From: interchange-users at interchange.redhat.com (joachim.richter) Date: Thu Nov 29 12:54:01 2001 Subject: [ic] ANOTHER SQL STATEMENT QUESTION Hi list, I am trying desperately to somehow change this query [query list=1 st=db ml=50 sql=| select * from trailer where trailer >= '1' | ] [sql-increment] [sql-code] [sql-field title]<br>[/query] into a link. Is the link below now working with the SQL database and being a correct SQL link or not ? <a href="[area scan fi=trailer st=db co=1 sf=trailer se=1 op=>= nu=1 ml=50 "] >Test</a> What do I have to change to achieve the same neckbreaking speed that the query above delivers ? Or does anybody have an example for a correct SQL - link ? We are using a MYSQL database and Interchange 4.81. Thanx JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 29 13:00:01 2001 Subject: [ic] howto change default language? > sorry, I'm a new to ic, > > how can I change the default language to german? > > best regards, > patrick Read catalog.cfg and the templates doc. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Thu Nov 29 13:32:01 2001 Subject: [ic] Common or Good Encryptor Quoting Gary Henderson: > Can anyone tell me a good encryptor? How do I configure it? If you are recieving your orders on a windows box, set up an email program on that box such as Outlook (ducking!) or many others, and install PGP (if Linux use GPG). Make a new key, then export the public key to a .asc file. Now with Interchange on a Linux box, install GPG and import the public key, making sure permissions are correct, etc. You will get much more info at www.gnupg.org, but this will get you going in the right direction (I spent days just figuring out these few steps, DOH!). Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Thu Nov 29 13:42:01 2001 Subject: [ic] Displaying q5 field > I'm trying to modify results.html to display the q5 field. Here is the > diff of what I currently have: > > ... > > < <td align="center">[item-field q5]</td> > > I have also tried [item-q5] > Ok, [item-q5] is invalid. [item-field q5] will lookup the q5 column in the products table, or tables listed in the ProductFiles directive. I assume that the q5 column you are referring to is in your pricing table, so try this: [item-data pricing q5] This will return the contents of the q5 column in the pricing table where the pricing.code column matches the current [item-code]. The value returned will not be formatted as a currency, so you will get something like "123.45" instead of "$123.45". To format the result as a currency value, you could try this: [currency][item-data pricing q5][/currency] You could also use [price code="[item-code]" quantity="5"] to look up the price of 5 the [item-code] products. This tag will format the result as a currency unless you specify the noformat="1" parameter. Have a go at that and see what happens. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Glenn Canady) Date: Thu Nov 29 15:25:01 2001 Subject: [ic] Re: Partnership with Gorilla Web Site Marketing I visited your website at demo.akopia.com and have included it in our Business Directory at http://www.gorillawebsitemarketing.com/links/themeindex.html Great site! Very Nice layout! After looking through your site I felt it fit very well in our E-business Tools category on this page: http://www.gorillawebsitemarketing.com/links/e-businesstools.html. I'd LOVE to trade links with you so we can BOTH get additional traffic in the future. The search engines are now giving tremendous weight to how many sites link to your site when they give it a ranking for a particular key word. They call it Link Popularity and I've personally seen the BIG difference it can make to a site. By linking to each other, we'll both increase our Link Popularity and traffic! If you will place a link to Gorilla Web Site Marketing on your site, then I will move your link to the top of the E-business Tools category AND list it again in the general listings. You'll get great placement plus TWO links instead of just one! Here's all you need to do: #1) Grab one of our banners at http://www.gorillawebsitemarketing.com/banners.html, place it on one of your pages, and link it to our web site at http://www.gorillawebsitemarketing.com Note there's also some Text Links on this page that you can just cut and paste into your page. #2) Email the URL where you placed the link to me at gcanady@gorillawebsitemarketing.com That's it! Once, I hear back from you, I'll upgrade your link to "Premium" status and it will be at the very top of your category. I wish you all the success with your web site during the next year! Sincerely, Glenn Canady Gorilla Web Site Marketing gcanady@gorillawebsitemarketing.com PS - If you'd like to include a banner with your listing, just include it in your email. Thanks! From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Thu Nov 29 15:54:01 2001 Subject: [ic] Re: Partnership with Gorilla Web Site Marketing Glenn, You have got to be kidding me. You may get your links alright, when people add you to their blackhole lists of sites to block. I have already blocked traffic from our local network to and from gorillawebsitemarketing. Think twice before sending your brilliant marketing schemes to large lists of people. It may not have the intended effect. Patrick ----- Original Message ----- From: "Glenn Canady" <gcanady@gorillawebsitemarketing.com> To: <interchange-users@chevelle.interchange.redhat.com> Sent: Thursday, November 29, 2001 12:23 PM Subject: [ic] Re: Partnership with Gorilla Web Site Marketing > > I visited your website at demo.akopia.com and have included it in our > Business Directory at > http://www.gorillawebsitemarketing.com/links/themeindex.html > > Great site! Very Nice layout! > > After looking through your site I felt it fit very well in our E-business Tools category on this page: > http://www.gorillawebsitemarketing.com/links/e-businesstools.html. > > I'd LOVE to trade links with you so we can BOTH get additional traffic in the future. The search engines are > now giving tremendous weight to how many sites link to your site when they give it a ranking for a particular > key word. They call it Link Popularity and I've personally seen the BIG difference it can make to a site. > > By linking to each other, we'll both increase our Link Popularity and traffic! > > If you will place a link to Gorilla Web Site Marketing on your site, then I will move your link to the top of the > E-business Tools category AND list it again in the general listings. You'll get great placement plus TWO links > instead of just one! > > Here's all you need to do: > > #1) Grab one of our banners at http://www.gorillawebsitemarketing.com/banners.html, place it on one of your pages, > and link it to our web site at http://www.gorillawebsitemarketing.com > > Note there's also some Text Links on this page that you can just cut and paste into your page. > > #2) Email the URL where you placed the link to me at gcanady@gorillawebsitemarketing.com > > That's it! Once, I hear back from you, I'll upgrade your link to "Premium" status and it will be at the very > top of your category. > > I wish you all the success with your web site during the next year! > > Sincerely, > > Glenn Canady > > Gorilla Web Site Marketing > gcanady@gorillawebsitemarketing.com > > PS - If you'd like to include a banner with your listing, just include it in your email. Thanks! > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Thu Nov 29 16:05:00 2001 Subject: [ic] Show 3 or more pricing if the product has it I am trying to display 3 or more pricing only if the product has it. Otherwise I don't want it to print anything besides the retail price Can anyone pick out what I am doing wrong in this code snippet? Thanks Nathan <table width="100%"> <tr> <td align="left"> Price: <b>[item-price]</b>&nbsp;&nbsp;&nbsp;&nbsp;[if-item-data pricing q3]3 or more: <font color="#FF0000"><b>[currency][item-data pricing q3][/currency]</b></font>[/item-data]</td> <td align="right"> -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Troy Davis) Date: Thu Nov 29 16:15:00 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #784 - 54 msgs Hi Michael, I've been _trying_ to use Skipjack with Interchange for about a week now. No luck so far. I haven't been able to track down the issue. I'll post to the list if I figure it out. Anyone out there using Skipjack successfully? Thanks, Troy >Message: 22 >Date: Wed, 28 Nov 2001 17:02:15 -0500 >From: Michael Stearne <mstearne@entermix.com> >To: interchange-users@interchange.redhat.com >Subject: [ic] Skip Jack Payment Processing >Reply-To: interchange-users@interchange.redhat.com > >Hi, >I was wondering if anyone is using SkipJack (Fleet Bank) Merchant >Services with Interchange currently (Going through Verisign, Cybercash, >etc. obviously). > >Thanks, >Michael Stearne -- _______ Better problem solvers don't necessarily have better hardware, they have better software. From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Thu Nov 29 16:18:01 2001 Subject: [ic] Re: Show 3 or more pricing if the product has it Sorry, I found the error! I had [/item-data] instead of [/if-item-data] Nathan -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 29 16:23:01 2001 Subject: [ic] Show 3 or more pricing if the product has it At 08:59 PM 11/29/2001 +0000, you wrote: >I am trying to display 3 or more pricing only if the product has it. >Otherwise I don't want it to print anything besides the retail price >Can anyone pick out what I am doing wrong in this code snippet? >Thanks >Nathan ><table width="100%"> > <tr> > <td align="left"> > Price: > <b>[item-price]</b>&nbsp;&nbsp;&nbsp;&nbsp;[if-item-data pricing q3]3 or > more: <font color="#FF0000"><b>[currency][item-data pricing q3] >[/currency]</b></font>[/item-data]</td> ^^^^^^^^^^^ [/if-item-data] - Ed L. > <td align="right"> >-- >NAMI Solutions >Nathan D. Olmscheid >Co-Owner >- >Phone: 612-237-9646 >e-mail: nathan@namisolutions.com >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (joachim.richter) Date: Thu Nov 29 16:33:00 2001 Subject: [ic] European Date Search - accomplished that is 100% Hi list sorry to bother you all but I do believe i have the solution : instead of : <a href="[area href=scan search=| fi=products st=sql sp=sql_test co=1 ........................ ml=50 tf=xeingdatum to=r | ]">test</a> all of the before I can use this (at neckbreaking speed) : [set test_sql]2001-10-01[/set] [scratch test_sql]<br><br> [query list=1 st=db ml=500 sql=| select * from products where xeingdatum > "[scratch test_sql]" and xeingdatum < '2001-12-31' | ] [sql-increment] [sql-code] [sql-field title] [sql-field category] <font color=FF0000>[sql-field xeingdatum]</font><br>[/query] thanx Guys JoE US Video Center Medien GmbH Heimsheimer Str 22 70499 Stuttgart Tel 0711 880252 0 Fax 0711 880252 22 Email joachim.richter@usvideocenter.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 29 17:16:01 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 Hi all, I would like to know what is the safest manner in which to upgrade from 4.8.2 to 4.8.3. without having to delete my current catalog and or change my SQL database, where data from version 4.8.2 resides? I don't have CVS installed. I tried to install CVS , but to no avail. If anyone can help on what steps to take in reference to the above said question I would gladly appreciate it. To an addition, I would also like to know how I can keep up-to date with new stable releases of interchange and some how have the newer version some how automatically implemented to a prior installed version ( something like an automated update command or process). Thanks, Juan From: interchange-users at interchange.redhat.com (Axium Computer Services) Date: Thu Nov 29 17:25:00 2001 Subject: [ic] Displaying q5 field Jim Balcom wrote: >On Wed, 28 Nov 2001, Axium Computer Services wrote: > >ACS>>I'm trying to modify results.html to display the q5 field. Here is the >ACS>>diff of what I currently have: > >Do you have a q5 column in pricing.txt? >Is there data in that coumn for the SKU you are playing with? >Is there a <tab> before that column? >Is there a <tab> after that column? > Yes, all of the above is set (I'm using the Foundation Catalog and it contains these entries) > >Do you have a q5 in the CommonAdjust line in catalog.cfg? > No, I do not have this. I tried to look up information on the CommonAdjust but it just says refer to Chained pricing, but there doesn't seem to be any chained pricing... What I am trying to accomplish is to get the Qty pricing working (as it doesn't seem to in the foundation catalog). Could someone please explain to me CommonAdjust and maybe even explain how to get the Qty pricing working... Thanks Steven Potter > > >I'm sorry. I don't understand all of the following gibberish. > >ACS>> >ACS>>105d104 >ACS>>< <td align="center"><b>Price 5+</b></td> >ACS>>110c109 >ACS>>< <td colspan="7">&nbsp;</td> >ACS>>--- >ACS>> > <td colspan="6">&nbsp;</td> >ACS>>118c117 >ACS>>< <td colspan="7">&nbsp;[either][value banner_text][or][item-field >ACS>>category][/either]</td> >ACS>>--- >ACS>> > <td colspan="6">&nbsp;[either][value banner_text][or][item-field >ACS>>category][/either]</td> >ACS>>145d143 >ACS>>< <td align="center">[item-field q5]</td> >ACS>> >ACS>>I have also tried [item-q5] >ACS>> >ACS>> >ACS>>All that I get is some blank space where I would expect the price to be. >ACS>> >ACS>>I'm assuming that somewhere in the results.html file a query is >ACS>>specified and it is not being told to retrieve the q5 field from the DB, >ACS>>but then again I may be completely wrong. As you can tell, I am very >ACS>>new to this. Let me know what you think. >ACS>> >ACS>>Thanks >ACS>> >ACS>>Steven Potter >ACS>> >ACS>> >ACS>> >ACS>>_______________________________________________ >ACS>>interchange-users mailing list >ACS>>interchange-users@interchange.redhat.com >ACS>>http://interchange.redhat.com/mailman/listinfo/interchange-users >ACS>> > > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Wednesday, November 28, 2001 at 18:25 PM: >SYSTEM ERROR: press F13 to continue... > >---------------------------------------------------------------- >This Linux System has been up 75 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Thu Nov 29 18:00:01 2001 Subject: [ic] shipping idea > At 10:16 AM 11/29/2001 -0600, you wrote: > >I am trying to set the shipping cost based on the size of the items. > > > >I have read the following from the archieves for the shipping.asc: > > > >usps Mail [item-accessories size] 0 1 5 > >usps Mail [item-accessories size] 2 2 7 > > > > > >small = $5.00 > >medium = $7.00 > >I am wondering if there is a way to chain or loop this to go throught the > >whole cart? > > > >So if the customer buys two small he gets charged $10.00 not $7.00. > > > >I have read a hundred different ways to do this. Would like to know the > >correct way to get this output. > > > >Redhat 7.1 and interchange 4.8.3 (rpm) > > > >Thanks, > >rick > > There are probably more than 100 :-) > > One way would be to use the free-form method for shipping.asc: > > usps: Mail > criteria <<EOC > [calc] > my $total = 0; > [item-list] > $total += ([item-quantity] * 5) if > q{[item-modifier size]} > =~ /^s/i; > $total += ([item-quantity] * 7) if > q{[item-modifier size]} > =~ /^m/i; > [/item-list] > return $total; > [/calc] > EOC > min 0 > max 999999 > cost f @@TOTAL@@ > > > > - Ed L. > First let me say thanks I think this will work. I have added and modified my shipping.asc file to the following: FLATD Standard criteria <<EOC [calc] my $total = 0; [item-list] $total += ([item-quantity] * 8.95) if q{[item-modifier size]} =~ /^S/i; $total += ([item-quantity] * 9.95) if q{[item-modifier size]} =~ /^M/i; $total += ([item-quantity] * 10.95) if q{[item-modifier size]} =~ /^L/i; $total += ([item-quantity] * 11.95) if q{[item-modifier size]} =~ /^XL/i; [/item-list] return $total; [/calc] EOC min 0 max 999999 cost f @@TOTAL@@ My options.txt is as follows: code o_master sku o_group o_enable o_label o_value o_widget price AP212 1 AP212 Size 1 Size m=Medium*,^Ml=Large select m==32.95,l==49.95 I have remove all the collumns that are not used. With the above two when i try to buy a "AP212" i get "Note: No match found for mode 'FLATD', quantity '', returning 0." error message. What can I do to trouble shoot? Or what have i done wrong?:) Thanks again for all the help, Rick Eicher II www.pbol.net From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 29 18:34:01 2001 Subject: [ic] Priority Mail How can I get priority mail working? I've tried everything and it just wont show as a option. I have the zone and price charts. Please help ASAP since I need to convert my business to usps cause FedEx has screwed me 3 times so far. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 29 18:37:59 2001 Subject: [ic] Displaying q5 field On Thu, 29 Nov 2001, Axium Computer Services wrote: ACS>>>Do you have a q5 in the CommonAdjust line in catalog.cfg? ACS>>> ACS>>No, I do not have this. I tried to look up information on the ACS>>CommonAdjust but it just says refer to Chained pricing, but there ACS>>doesn't seem to be any chained pricing... ACS>> ACS>>What I am trying to accomplish is to get the Qty pricing working (as it ACS>>doesn't seem to in the foundation catalog). ACS>> ACS>>Could someone please explain to me CommonAdjust and maybe even explain ACS>>how to get the Qty pricing working... Back in April, Mike posted a VERY detailed tutorial on CommonAdjust. I reckon that it's in the mail archives. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 29, 2001 at 18:35 PM: Why build a wall round a cemetery when no-one wants to get in? ---------------------------------------------------------------- This Linux System has been up 99 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Nov 29 18:42:01 2001 Subject: [ic] shipping idea At 05:11 PM 11/29/2001 -0600, you wrote: > > At 10:16 AM 11/29/2001 -0600, you wrote: > > >I am trying to set the shipping cost based on the size of the items. > > > > > >I have read the following from the archieves for the shipping.asc: > > > > > >usps Mail [item-accessories size] 0 1 5 > > >usps Mail [item-accessories size] 2 2 7 > > > > > > > > >small = $5.00 > > >medium = $7.00 > > >I am wondering if there is a way to chain or loop this to go throught the > > >whole cart? > > > > > >So if the customer buys two small he gets charged $10.00 not $7.00. > > > > > >I have read a hundred different ways to do this. Would like to know the > > >correct way to get this output. > > > > > >Redhat 7.1 and interchange 4.8.3 (rpm) > > > > > >Thanks, > > >rick > > > > There are probably more than 100 :-) > > > > One way would be to use the free-form method for shipping.asc: > > > > usps: Mail > > criteria <<EOC > > [calc] > > my $total = 0; > > [item-list] > > $total += ([item-quantity] * 5) if > > q{[item-modifier size]} > > =~ /^s/i; > > $total += ([item-quantity] * 7) if > > q{[item-modifier size]} > > =~ /^m/i; > > [/item-list] > > return $total; > > [/calc] > > EOC > > min 0 > > max 999999 > > cost f @@TOTAL@@ > > > > > > > > - Ed L. > > >First let me say thanks I think this will work. I have added and modified my >shipping.asc file to the following: > >FLATD Standard Formatting is important, the above should be FLATD: Standard (that's a space after':', not a TAB), and to be most correct there should only be one TAB before criteria, min, max and cost. Watching the various IC lists, I get the impression that modular options is still not ready for production and will not be until 4.9, so you used it (instead of plain old modifiers like size, color, etc) at you own risk, I think. Someone correct me if I am wrong. - Ed L. > criteria <<EOC > [calc] > my $total = 0; > [item-list] > $total += ([item-quantity] * 8.95) if >q{[item-modifier size]} =~ /^S/i; > $total += ([item-quantity] * 9.95) if >q{[item-modifier size]} =~ /^M/i; > $total += ([item-quantity] * 10.95) if >q{[item-modifier size]} =~ /^L/i; > $total += ([item-quantity] * 11.95) if >q{[item-modifier size]} =~ /^XL/i; > [/item-list] > return $total; > [/calc] >EOC > min 0 > max 999999 > cost f @@TOTAL@@ > >My options.txt is as follows: > >code o_master sku o_group o_enable o_label o_value o_widget >price >AP212 1 AP212 Size 1 Size m=Medium*,^Ml=Large select >m==32.95,l==49.95 > >I have remove all the collumns that are not used. > >With the above two when i try to buy a "AP212" i get "Note: No match found >for mode 'FLATD', quantity '', returning 0." error message. > >What can I do to trouble shoot? Or what have i done wrong?:) > >Thanks again for all the help, >Rick Eicher II >www.pbol.net > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 29 18:49:01 2001 Subject: [ic] Priority Mail I think my charts are wrong. Could somebody email them to me steve@moddepot.com . Also I read somewhere that I need to add the shipping options to catalog.cfg or something. Please help me. Thanks alot. ----- Original Message ----- From: <steve@moddepot.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 6:32 PM Subject: [ic] Priority Mail > How can I get priority mail working? I've tried everything and it just wont > show as a option. I have the zone and price charts. Please help ASAP since I > need to convert my business to usps cause FedEx has screwed me 3 times so > far. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 29 19:05:00 2001 Subject: [ic] Priority Mail On Thu, 29 Nov 2001 steve@moddepot.com wrote: >>How can I get priority mail working? I've tried everything and it just wont >>show as a option. I have the zone and price charts. Please help ASAP since I >>need to convert my business to usps cause FedEx has screwed me 3 times so >>far. Did it feel good? FedEx is very good at it. But, they are not as good at it as UPS. Here's the short course in using Priority Mail. shipping.asc has got have entries in it for Priority. Here is mine: uspspm Priority Mail weight 0 0 e Nothing to ship! uspspm Priority Mail weight 0 150 u PriorityMail [value name=zip filter=digits default=22306] {} uspspm Priority Mail weight 150 999999 e @@TOTAL@@ lbs too heavy for Priority Mail {} That is actually 3 lines, and the columns are tab delimited. My zone table 220.csv, has had a column added to it called 'Priority Mail' which matches the second column in shipping.asc. In 220.csv I added a column labeled 'Priority Mail' and populated it with the data in the first column for UPS Ground. It seems pretty close. My rate tables are in PriorityMail.csv. Someone on the list made them up and posted them. Pattern them after whatever tables you presently have. I think that you need a PriorityMail.csv.numeric. I've got no idea what it is, or why. Just make it. Pattern it after comparable ones in that directory. Go into dbconf/default_db (in my case). Copy something else to PriorityMail.dbm and edit it to suit the Priority Mail names. And, finally, go into country.txt and make sure that you have a line like this: US US fdxg fdxb fdxa uspspm United States ^tab^ ^tab^ ^tab^ The order that those shipping methods are in will determine the order that they appear in in the drop-down menu. I also recommend going into catalog.cfg and adjusting mv_shipmode to Priority Mail. Go in to the Admin interface and apply changes. And, then restart the server. Maybe some of these steps are superfluous and unneeded. I dunno. I just know that I've added a few shipping methods this way and it works. I hope that it works for you! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 29, 2001 at 18:45 PM: If you don't care where you are, then you ain't lost. ---------------------------------------------------------------- This Linux System has been up 99 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 29 19:11:01 2001 Subject: [ic] Blocking FedEx to PO Boxes I'm looking for a modification to checkout.html so that when the person puts in a PO Box for the ship to that they can only select Priority Mail and not UPS or FedEx. Does anyone have a way to do this? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 29, 2001 at 19:05 PM: Help! I've got a cat in my lap and I can't get up! ---------------------------------------------------------------- This Linux System has been up 100 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Thu Nov 29 19:20:00 2001 Subject: [ic] creating a new SQL table or adding field to products table Zack Johnson wrote a good TIPS file which someday should become part of a newbie document on how to create an entirely new SQL table. The techniques work fairly well for adding fields to the product table too. I've made some comments on it below with leading *** symbols. 1. Design your table. Avoid using a tool. Rather, write your table definition by hand. If you do use a tool (like phpmyadmin), dump the structure to a text file. You will need this later. For example: CREATE TABLE foo ( id INT(3) AUTO_INCREMENT PRIMARY KEY, name VARCHAR(64) NOT NULL, atomic_number TINYINT UNSIGNED NOT NULL ) ; Watch out for those commas. Of course, I've never wasted hours debugging table definitions that were simply missing commas, or had misplaced semi-colons instead. Goto http://www.mysql.com for more information. 2. Run your statement above using the mysql client, or phpmyadmin, to create the table if you haven't already. ** Not entirely necessary, but a good thing to do to make sure that the table definition doesn't have any stupid syntax errors. In general, I find that I like having <catroot>/dbconf/mysql/foo.txt correct and letting Interchange create the table. Easier for documentation if nothing else. 3. Create and open a file in <catroot>/dbconf/mysql/foo.txt 4. Type in the following information where appropriate: Database foo foo.txt __SQLDSN__ ifdef SQLUSER Database foo USER __SQLUSER__ endif ifdef SQLPASS Database foo PASS __SQLPASS__ endif 5. Next, add a line following the pattern below. Use the field definitions from step 1. Just add an equal sign (=) after the field name. 'foo' is the name of your table. The first and third columns are the same from table to table. No commas this time. Database foo COLUMN_DEF "id=INT(3) UNSIGNED AUTO_INCREMENT PRIMARY KEY" Database foo COLUMN_DEF "name=VARCHAR(64) NOT NULL" Database foo COLUMN_DEF "atomic_number=TINYINT UNSIGNED NOT NULL" Watch out for those quotes. Don't waste hours on missing quotes. Not that I've done that sort of thing. . . 6. Restart IC. Your table should now appear under Administration > Tables. ** From what I can tell, IC assumes that <catroot>/products/foo.txt exists, and looks there for initial data to import. ** BIG IMPORTANT NOTE ** If <catroot>/products/foo.txt exists, and <catroot>/products/foo.sql does not, Interchange will drop and create the table before doing the import. However, it will OMIT any and all fields that are not included in foo.txt -- at the very least, it needs to have each of the fields included in the first line separated by tabs. Note that this means that any INDEX statements on columns that are not created will fail! ** Doug Alcorn brought up this detail, and it's true, even in 4.8.3. Interchange seems to cross reference between the column definition file and the data file, and will only include "used" columns in the table it creates. 7. To add labels, goto Administration > Tables > mv_metadata (at the bottom in small type). 8. Select 'New Entry' 9. In the first field, labelled 'Table::Column', enter the table name by itself. e.g. 'foo' 10. Enter the label you would like for the table in 'Variable Name' 11. Click 'OK' 12. Apply Changes. You can now use mv_metadata to do all kinds of neat stuff. You might want to create mv_metadata entries for all of your fields in 'foo'. This would let you configure filters to remove malicious code, etc., among other things. ** mv_metadata is pretty nifty. If you are modifying the product table and adding columns, as per other posts here, after defining entries for each new column, go to Admin->Items then click on Item Editor (just above the search box). "Fields to edit" controls which fields are displayed in the admin editor for the items. ********************************************************************** Here is an example from my own (recent) experience. I am using foundation as the basis for a new catalog. I have tab delimited product data from another source which I want to use to replace the fake tools data in foundation. My tab delimited data includes fields which foundation doesn't include, so I need to add them. As per instructions elsewhere, I decided to leave the columns in foundation alone and add new columns even though many of the foundation columns are deprecated. I prefer to have Interchange create the table, so I skipped to step 3 above and edited <catroot>/dbconf/mysql/products.mysql and added the new columns to the end: Database products COLUMN_DEF "orderable=CHAR(3) DEFAULT 'NO' NOT NULL" Database products COLUMN_DEF "type=CHAR(4) DEFAULT 'PAGE' NOT NULL" Database products COLUMN_DEF "options=VARCHAR(255)" Database products COLUMN_DEF "contents=VARCHAR(255)" Database products COLUMN_DEF "source=VARCHAR(32)" Remember if using emacs to remove any ~ (autosave) files as there should be only one file in this directory that starts with "products." -- otherwise there might be issues with Interchange finding the wrong file. My tab delimited product file only included a few of the columns required by foundation. I opened up my editor and took the first line out of the current <catroot>/products/products.txt and placed it at the top of my tab delimited product file. This first line was then edited so that the columns that were included in my data file all appeared first. Here are the first couple of lines from my products.txt file: sku source description orderable price options type contents comment nontaxable title template_page thumb image wholesale prod_group category tax_category weight size color gift_cert related featured download dl_type dl_location inactive url sale_price image_large AT-INSPCT at-103 Inspected By #47 T-Shirt YES 14.49 "Size" "XL" "L" ITEM Marge is in charge! Marge is #47 at Acme Rubber Company and she takes her job seriously. Back shows <a href="/images/at-103-a.gif">six hilarious scenes</a> of Marge putting a sample through the approval process, front has logo over the right breast. 100% cotton. <B>Sizes:</b> X-Large, Large.<BR> <B>Unit size:</b> One T-shirt.<BR clear="all"><P> <I>The ranch hands been tryin' to git Marge to come on over to inspect fer us, but those rascals at Acme gave her stock options, dang blast it!</i> 0 The last field that I'm actually using is "nontaxable". Interchange doesn't require that each line be padded with tabs at the end, which is nice. One thing which did bite me in the butt is that price MUST be defined, otherwise Interchange will not import the line. Remove <catroot>/products/products.sql and restart IC. IC drops the existing products table, creates the new products table and imports the data, then creates <catroot>/products/products.sql once the import is successful so that future restarts do not do the same thing. Step 7-11 should be done for each of the new columns, then the columns can be added to the item editor. It's also pretty easy to delete the columns that aren't being used from the item editor at this point too. Complicated, yes, but it is easier to do than it sounds. -- Bob From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 29 19:24:00 2001 Subject: [ic] Blocking FedEx to PO Boxes > I'm looking for a modification to checkout.html so that when > the person puts in a PO Box for the ship to that they can > only select Priority Mail and not UPS or FedEx. > > Does anyone have a way to do this? > > > -= Jim =- The COD payment type doesn't allow PO Box deliver either, you might start with the code that you find under COD in etc/profiles.checkout and then modify it for your payment type and shipping values, etc. HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Korksoft Support Services) Date: Thu Nov 29 19:30:01 2001 Subject: [ic] Blocking FedEx to PO Boxes Jim, We did this quite a while ago for a customer... its pretty easy actually. We wrote a simple [perl] snippet that basically checked if the selected ship method was FedEx, and if it was, we just did a pattern match for PO or POB -- if it returned a match, then we threw an error. Jason. Jim Balcom wrote: > > I'm looking for a modification to checkout.html so that when the person puts > in a PO Box for the ship to that they can only select Priority Mail and not > UPS or FedEx. > > Does anyone have a way to do this? > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Thursday, November 29, 2001 at 19:05 PM: > Help! I've got a cat in my lap and I can't get up! > > ---------------------------------------------------------------- > This Linux System has been up 100 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Brendan Crosser-McGay) Date: Thu Nov 29 19:34:00 2001 Subject: [ic] Background cart modification.. I have been searching high and low, and I can't seem to find a single command that deletes the cart without having the user submit a form telling it to erase the cart. I know IC is dynamic and great, but is there way to erase the current cart? I tried [delete_cart MAIN] with no success. Do I need to modify some session variables in order to get rid of it? Thanks in advance! -Brendan From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 29 19:39:01 2001 Subject: [ic] Background cart modification.. > I have been searching high and low, and I can't seem to find > a single command that deletes the cart without having the > user submit a form telling it to erase the cart. > > I know IC is dynamic and great, but is there way to erase the > current cart? > > I tried > > [delete_cart MAIN] > > with no success. Do I need to modify some session variables > in order to get rid of it? Thanks in advance! -Brendan This one should get into the FAQ. <!-- emptying cart. [calc] @{$Carts->{$CGI->{mv_cartname} || 'main'}} = (); return; [/calc] --> Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Brendan Crosser-McGay) Date: Thu Nov 29 19:42:00 2001 Subject: [ic] Repeat Unanswered: Shopping Cart Component modification questions You want to modify the [comment] tag on a page right, not the comment field on a product in the shopping cart, right? I can modify anything on components.. maybe you need to clarify your question... ----------------------------------------- Brendan Crosser-McGay brendan@paymentonline.com ----------------------------------------- From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Nov 29 19:50:00 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 Quoting juan@moshpitt.com (juan@moshpitt.com): > Hi all, > > I would like to know what is the safest manner in which to upgrade from > 4.8.2 to 4.8.3. without having to delete my current catalog and or change my > SQL database, where data from version 4.8.2 resides? I don't have CVS > installed. I tried to install CVS , but to no avail. If anyone can help > on what steps to take in reference to the above said question I would gladly > appreciate it. To an addition, I would also like to know how I can keep > up-to date with new stable releases of interchange and some how have the > newer version some how automatically implemented to a prior installed > version ( something like an automated update command or process). Pretty simple. 1. Back up your current interchange software directory. 2. Get the .tar.gz file and install, using the same interchange root. 3. Restart. That should be it. The backup is theoretically not necessary if you haven't changed any of the distribution files, but I recommend it anyway. There is a regular procedure in the distribution file UPGRADE, which is supposed to answer this question. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 29 20:10:00 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > I would like to know what is the safest manner in which to upgrade from > 4.8.2 to 4.8.3. without having to delete my current catalog and or change my > SQL database, where data from version 4.8.2 resides? Read the UPGRADE file in the tarball. Very little to it. Basically make a back up of your current install dir /usr/local/interchange (or whatever) for safety purposes and then simply install. It won't touch your catalogs or mySQL data in any way (at least it didn't for us) You only need to be concerned if you have created custom usertags or perhaps modified the admin area in /usr/local/interchange/lib Note there is a typo in the UPGRADE file. For backup it suggest using: tar xzvf ~/ic_backup.tar.gz /usr/lib/interchange I think they meant: tar czvf ~/ic_backup.tar.gz /usr/lib/interchange Simon From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Thu Nov 29 20:25:00 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 If you do refer more business to me I will cut you in at a 5% rate. This is not much but it is something. So if I settle the contract for $1000 you will clear $50.00 I am just getting started. Trying to branch away from my in-house development job at a printing company and ad agency. Let me know if I can do anything of assistance. Gary Henderson Custom Business Solutions ----- Original Message ----- From: <music@labyrinth.net.au> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 8:06 PM Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > > I would like to know what is the safest manner in which to upgrade from > > 4.8.2 to 4.8.3. without having to delete my current catalog and or change > my > > SQL database, where data from version 4.8.2 resides? > > Read the UPGRADE file in the tarball. Very little to it. Basically make a > back up of your current install dir /usr/local/interchange (or whatever) for > safety purposes and then simply install. It won't touch your catalogs or > mySQL data in any way (at least it didn't for us) You only need to be > concerned if you have created custom usertags or perhaps modified the admin > area in /usr/local/interchange/lib > > Note there is a typo in the UPGRADE file. For backup it suggest using: > tar xzvf ~/ic_backup.tar.gz /usr/lib/interchange > > I think they meant: > tar czvf ~/ic_backup.tar.gz /usr/lib/interchange > > Simon > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Thu Nov 29 20:39:01 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 Sorry message was redirected to wrong address. Gary Henderson Custom Business Solutions ----- Original Message ----- From: "Gary Henderson" <ghenderson1@sc.rr.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 8:22 PM Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > If you do refer more business to me I will cut you in at a 5% rate. This is > not much but it is something. So if I settle the contract for $1000 you > will clear $50.00 I am just getting started. Trying to branch away from my > in-house development job at a printing company and ad agency. Let me know > if I can do anything of assistance. > > Gary Henderson > Custom Business Solutions > ----- Original Message ----- > From: <music@labyrinth.net.au> > To: <interchange-users@interchange.redhat.com> > Sent: Thursday, November 29, 2001 8:06 PM > Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > > > > > I would like to know what is the safest manner in which to upgrade from > > > 4.8.2 to 4.8.3. without having to delete my current catalog and or > change > > my > > > SQL database, where data from version 4.8.2 resides? > > > > Read the UPGRADE file in the tarball. Very little to it. Basically make a > > back up of your current install dir /usr/local/interchange (or whatever) > for > > safety purposes and then simply install. It won't touch your catalogs or > > mySQL data in any way (at least it didn't for us) You only need to be > > concerned if you have created custom usertags or perhaps modified the > admin > > area in /usr/local/interchange/lib > > > > Note there is a typo in the UPGRADE file. For backup it suggest using: > > tar xzvf ~/ic_backup.tar.gz /usr/lib/interchange > > > > I think they meant: > > tar czvf ~/ic_backup.tar.gz /usr/lib/interchange > > > > Simon > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 29 20:45:00 2001 Subject: [ic] Priority Mail I spoke with Jim privately and we tried a bunch of things and still no luck. can somebody please help me. I need this working tonight. www.moddepot.com/shipping I put the files there so you can tell me what's up. thanks in advance. I will personally paypal you some money if you help fix this problem. ----- Original Message ----- From: "Jim Balcom" <jim@idk-enterprises.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 4:07 PM Subject: Re: [ic] Priority Mail > On Thu, 29 Nov 2001 steve@moddepot.com wrote: > > >>How can I get priority mail working? I've tried everything and it just wont > >>show as a option. I have the zone and price charts. Please help ASAP since I > >>need to convert my business to usps cause FedEx has screwed me 3 times so > >>far. > > Did it feel good? FedEx is very good at it. But, they are not as good at it > as UPS. > > Here's the short course in using Priority Mail. > > shipping.asc has got have entries in it for Priority. Here is mine: > > uspspm Priority Mail weight 0 0 e Nothing to ship! > > uspspm Priority Mail weight 0 150 u PriorityMail [value > name=zip filter=digits default=22306] {} > > uspspm Priority Mail weight 150 999999 e @@TOTAL@@ lbs too > heavy for Priority Mail {} > > That is actually 3 lines, and the columns are tab delimited. > > My zone table 220.csv, has had a column added to it called 'Priority Mail' > which matches the second column in shipping.asc. In 220.csv I added a column > labeled 'Priority Mail' and populated it with the data in the first column > for UPS Ground. It seems pretty close. > > My rate tables are in PriorityMail.csv. Someone on the list made them up and > posted them. Pattern them after whatever tables you presently have. > > I think that you need a PriorityMail.csv.numeric. I've got no idea what it > is, or why. Just make it. Pattern it after comparable ones in that > directory. > > Go into dbconf/default_db (in my case). Copy something else to > PriorityMail.dbm and edit it to suit the Priority Mail names. > > And, finally, go into country.txt and make sure that you have a line like > this: > > US US fdxg fdxb fdxa uspspm United States > ^tab^ ^tab^ ^tab^ > > The order that those shipping methods are in will determine the order that > they appear in in the drop-down menu. > > I also recommend going into catalog.cfg and adjusting mv_shipmode to > Priority Mail. > > Go in to the Admin interface and apply changes. And, then restart the > server. > > Maybe some of these steps are superfluous and unneeded. I dunno. I just know > that I've added a few shipping methods this way and it works. > > I hope that it works for you! > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Thursday, November 29, 2001 at 18:45 PM: > If you don't care where you are, then you ain't lost. > > ---------------------------------------------------------------- > This Linux System has been up 99 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Nov 29 21:04:00 2001 Subject: [ic] Blocking FedEx to PO Boxes On Thu, 29 Nov 2001, Dan Browning wrote: DB>>The COD payment type doesn't allow PO Box deliver either, you might DB>>start with the code that you find under COD in etc/profiles.checkout and DB>>then modify it for your payment type and shipping values, etc. HTH, I'm still running 4.6.3 and that file doesn't exist. Thanks anyways. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, November 29, 2001 at 21:05 PM: I've been seduced by the chocolate side of the force. ---------------------------------------------------------------- This Linux System has been up 102 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Nov 29 21:18:01 2001 Subject: [ic] Blocking FedEx to PO Boxes > On Thu, 29 Nov 2001, Dan Browning wrote: > > DB>>The COD payment type doesn't allow PO Box deliver either, > you might > DB>>start with the code that you find under COD in > etc/profiles.checkout > DB>>and then modify it for your payment type and shipping > values, etc. > DB>>HTH, > > I'm still running 4.6.3 and that file doesn't exist. > > Thanks anyways. > > -= Jim =- You can get the 4.8.3 one here, FYI (I bet it's compatible, but don't quote me on it): http://interchange.redhat.com/cgi-bin/cvsweb/~checkout~/interchange/dist /foundation/etc/profiles.order?rev=2.0&content-type=text/plain&only_with _tag=STABLE_4_8-branch The relevant text is below. HTH (Hope That Helps), Dan Browning Kavod Technologies __NAME__ cod fname=required lname=required [if value address1 =~ /p\.o\.\s*box\b/i] not_po_box=mandatory No PO boxes allowed for COD. [/if] [if value address2 =~ /p\.o\.\s*box\b/i] not_po_box=mandatory No PO boxes allowed for COD. [/if] address1=required city=required country=required [if value country =~ /^(US|CA)$/i] state=state_province zip=postcode [/if] &or phone_night=phone, phone_day=phone Must have day or evening phone number &set = prof_mode_accepted [var COD_ACCEPTED] prof_mode_accepted=required This site doesn't accept COD orders. You should not have been offered that option; please contact us. &fatal = yes email=required email=email &set = mv_payment COD &calc = $Values->{mv_handling} .= "\0cod" unless $Values->{mv_handling} =~ /\bcod\b/; return 1; &final = yes &setcheck=mv_email [value email] __END__ From: interchange-users at interchange.redhat.com (Axium Computer Services) Date: Thu Nov 29 21:33:01 2001 Subject: [ic] Displaying q5 field Jim Balcom wrote: >On Thu, 29 Nov 2001, Axium Computer Services wrote: > >ACS>>>Do you have a q5 in the CommonAdjust line in catalog.cfg? >ACS>>> >ACS>>No, I do not have this. I tried to look up information on the >ACS>>CommonAdjust but it just says refer to Chained pricing, but there >ACS>>doesn't seem to be any chained pricing... >ACS>> >ACS>>What I am trying to accomplish is to get the Qty pricing working (as it >ACS>>doesn't seem to in the foundation catalog). >ACS>> >ACS>>Could someone please explain to me CommonAdjust and maybe even explain >ACS>>how to get the Qty pricing working... > >Back in April, Mike posted a VERY detailed tutorial on CommonAdjust. >I reckon that it's in the mail archives. > > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Thursday, November 29, 2001 at 18:35 PM: >Why build a wall round a cemetery when no-one wants to get in? > >---------------------------------------------------------------- >This Linux System has been up 99 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > Thanks to everyone who helped with this.... One problem down, many more to come... Thanks again Steven Potter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Nov 29 22:44:00 2001 Subject: [ic] Priority Mail nobody got priority mail to work? come on guys im dying here. ----- Original Message ----- From: <steve@moddepot.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 8:42 PM Subject: Re: [ic] Priority Mail > I spoke with Jim privately and we tried a bunch of things and still no luck. > can somebody please help me. I need this working tonight. > www.moddepot.com/shipping I put the files there so you can tell me what's > up. thanks in advance. I will personally paypal you some money if you help > fix this problem. > ----- Original Message ----- > From: "Jim Balcom" <jim@idk-enterprises.com> > To: <interchange-users@interchange.redhat.com> > Sent: Thursday, November 29, 2001 4:07 PM > Subject: Re: [ic] Priority Mail > > > > On Thu, 29 Nov 2001 steve@moddepot.com wrote: > > > > >>How can I get priority mail working? I've tried everything and it just > wont > > >>show as a option. I have the zone and price charts. Please help ASAP > since I > > >>need to convert my business to usps cause FedEx has screwed me 3 times > so > > >>far. > > > > Did it feel good? FedEx is very good at it. But, they are not as good at > it > > as UPS. > > > > Here's the short course in using Priority Mail. > > > > shipping.asc has got have entries in it for Priority. Here is mine: > > > > uspspm Priority Mail weight 0 0 e Nothing to ship! > > > > uspspm Priority Mail weight 0 150 u PriorityMail [value > > name=zip filter=digits default=22306] {} > > > > uspspm Priority Mail weight 150 999999 e @@TOTAL@@ lbs too > > heavy for Priority Mail {} > > > > That is actually 3 lines, and the columns are tab delimited. > > > > My zone table 220.csv, has had a column added to it called 'Priority Mail' > > which matches the second column in shipping.asc. In 220.csv I added a > column > > labeled 'Priority Mail' and populated it with the data in the first column > > for UPS Ground. It seems pretty close. > > > > My rate tables are in PriorityMail.csv. Someone on the list made them up > and > > posted them. Pattern them after whatever tables you presently have. > > > > I think that you need a PriorityMail.csv.numeric. I've got no idea what it > > is, or why. Just make it. Pattern it after comparable ones in that > > directory. > > > > Go into dbconf/default_db (in my case). Copy something else to > > PriorityMail.dbm and edit it to suit the Priority Mail names. > > > > And, finally, go into country.txt and make sure that you have a line like > > this: > > > > US US fdxg fdxb fdxa uspspm United States > > ^tab^ ^tab^ ^tab^ > > > > The order that those shipping methods are in will determine the order that > > they appear in in the drop-down menu. > > > > I also recommend going into catalog.cfg and adjusting mv_shipmode to > > Priority Mail. > > > > Go in to the Admin interface and apply changes. And, then restart the > > server. > > > > Maybe some of these steps are superfluous and unneeded. I dunno. I just > know > > that I've added a few shipping methods this way and it works. > > > > I hope that it works for you! > > > > > > -= Jim =- > > > > ---------------------------------------------------------------- > > Jim's Linux-Operated Underground Bomb Shelter > > > > Tagline for Thursday, November 29, 2001 at 18:45 PM: > > If you don't care where you are, then you ain't lost. > > > > ---------------------------------------------------------------- > > This Linux System has been up 99 hours > > > > My web page: http://www.idk-enterprises.com > > ---------------------------------------------------------------- > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Austin Morgan) Date: Thu Nov 29 22:51:00 2001 Subject: [ic] Damn We're sorry problem I had to start my catalog over from scratch to fix the problem. I am sure there is a better way, but I don't know it. When you run the makecat program to create your database it asks the second question. The first question is "Catalog name?" and the second question is "Server name" I entered the wrong server name and it took me almost 3 days to figure out what I did wrong. You have to be sure you enter everything that will appear before the catalog name. my example is "www.tester.morgancomputers.net" This is an internal machine I use for testing. What I put was "www.tester.morgancomputers.net/foundation" I did this because I miss read the question. The first example works great but the second will not let me past the option screen and into the database screens. Austin On Thu, Nov 29, 2001 at 01:50:57PM +0100, webmaster wrote: > > Gesendet: Donnerstag, 29. November 2001 05:33 > An: interchange-users@interchange.redhat.com > Betreff: Re: [ic] Damn We're sorry problem > > The first time I set up an database I had this problem. What I found I > did wrong was I set the address that accessesthe web page wrong. This > meant that > it would bring up the redirection screen (the one with the options for > the admin and customer interfaces) but I couldn't get to any of the > other pages hosted on my server. > > Austin > > Thanx for the response Austin. > So could u say to me which file I have to change or where do I set > the address that accesses the web page (admin and customers interface > page). > I think you mean the httpd.conf file where teh DocRoot is set, do you? > My DocRoot is in /usr/local/httpd/htdocs > My CGI-BIN is in /usr/local/httpd/cgi-bin > > So could you be pls more explicit and say which file you mean I have to > change? Thank You > | \/ |/ ___/ ___| Austin Morgan | |\/| | | \___ \ Morgan Computer Services | | | | |___ ___) | 501-857-1189 |_| |_|\____|____/ www.morgancomputers.net From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Thu Nov 29 23:19:01 2001 Subject: [ic] SQL Statements Big difference -- memory used in the sql call. Only call what you need - optimize your queries. For example, if in the future you added a custom column to your mysql products table for some text blob, like a description, the * query will pull all of that information into memory. Then you are only going to use a small poriton of it. By all means only pull what you need. "joachim.richter" wrote: > Hi list, > > i am in the process of changing some list to use sql statements: > > I like to ask the following question: > > I have seen both version of the following 2 lines, is there a difference ? > The fields that are named in the first line are also the ones which are > in the output list - > > select sku, description, price from products where price < '50.00' > select * from products where price < '50.00' > > thanks > > JoE > > US Video Center Medien GmbH > Heimsheimer Str 22 > 70499 Stuttgart > > Tel 0711 880252 0 > Fax 0711 880252 22 > Email joachim.richter@usvideocenter.de > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Thu Nov 29 23:26:00 2001 Subject: [ic] European Date Search - accomplished that is 100% I second your query choice. We've found that the interchange formatted query (the fi=foo, etc) hinders our catalogs. We are now working to strip those queries out of interchange and replace them with direct, specific sql queries and using table joins, etc wherever necessary. After we do that then we want to copy our work into the foundation template that comes with interchange so every catalog we make from here on out will automaticly have those explicit sql queries --- Does anyone want to give me the answer to which templates I need to replace in order to get the makecat script to copy them into any newly created catalog? :) I'm assuming its interchangeroot/foundation directory, but haven't taken the time to try it. A confirmation of this would be appreciated. :) Thanks. "joachim.richter" wrote: > Hi list sorry to bother you all but I do believe i have the solution : > > instead of : > > <a href="[area href=scan > search=| > > fi=products > st=sql > sp=sql_test > > co=1 > > ........................ > > ml=50 > tf=xeingdatum > to=r > | > ]">test</a> > > all of the before > > I can use this (at neckbreaking speed) : > > [set test_sql]2001-10-01[/set] > > [scratch test_sql]<br><br> > > [query list=1 st=db ml=500 sql=| > select * from products > where xeingdatum > "[scratch test_sql]" > and xeingdatum < '2001-12-31' > | > ] [sql-increment] [sql-code] [sql-field title] [sql-field category] <font color=FF0000>[sql-field xeingdatum]</font><br>[/query] > > thanx Guys > > JoE > > US Video Center Medien GmbH > Heimsheimer Str 22 > 70499 Stuttgart > > Tel 0711 880252 0 > Fax 0711 880252 22 > Email joachim.richter@usvideocenter.de > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Thu Nov 29 23:29:00 2001 Subject: [ic] European Date Search - accomplished that is 100% Actually, also on the note of sql queries: Why was it that explicit queries were not used in the first place? The general user base not having a high amount of sql knowledge? Some other reasons? Just curious. Michelle Wilant wrote: > I second your query choice. We've found that the interchange formatted query (the fi=foo, etc) hinders our catalogs. We are now working to > strip those queries out of interchange and replace them with direct, specific sql queries and using table joins, etc wherever necessary. > > After we do that then we want to copy our work into the foundation template that comes with interchange so every catalog we make from here > on out will automaticly have those explicit sql queries --- Does anyone want to give me the answer to which templates I need to replace in > order to get the makecat script to copy them into any newly created catalog? :) I'm assuming its interchangeroot/foundation directory, but > haven't taken the time to try it. A confirmation of this would be appreciated. :) Thanks. > > "joachim.richter" wrote: > > > Hi list sorry to bother you all but I do believe i have the solution : > > > > instead of : > > > > <a href="[area href=scan > > search=| > > > > fi=products > > st=sql > > sp=sql_test > > > > co=1 > > > > ........................ > > > > ml=50 > > tf=xeingdatum > > to=r > > | > > ]">test</a> > > > > all of the before > > > > I can use this (at neckbreaking speed) : > > > > [set test_sql]2001-10-01[/set] > > > > [scratch test_sql]<br><br> > > > > [query list=1 st=db ml=500 sql=| > > select * from products > > where xeingdatum > "[scratch test_sql]" > > and xeingdatum < '2001-12-31' > > | > > ] [sql-increment] [sql-code] [sql-field title] [sql-field category] <font color=FF0000>[sql-field xeingdatum]</font><br>[/query] > > > > thanx Guys > > > > JoE > > > > US Video Center Medien GmbH > > Heimsheimer Str 22 > > 70499 Stuttgart > > > > Tel 0711 880252 0 > > Fax 0711 880252 22 > > Email joachim.richter@usvideocenter.de > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Juan) Date: Thu Nov 29 23:31:28 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 Thank you for your assistance. Upgrading from 4.8.2 to 4.8.3 was smooth and successful. Thanks again for your help. Best Regards, Juan ----- Original Message ----- From: Mike Heins <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 7:49 PM Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > Quoting juan@moshpitt.com (juan@moshpitt.com): > > Hi all, > > > > I would like to know what is the safest manner in which to upgrade from > > 4.8.2 to 4.8.3. without having to delete my current catalog and or change my > > SQL database, where data from version 4.8.2 resides? I don't have CVS > > installed. I tried to install CVS , but to no avail. If anyone can help > > on what steps to take in reference to the above said question I would gladly > > appreciate it. To an addition, I would also like to know how I can keep > > up-to date with new stable releases of interchange and some how have the > > newer version some how automatically implemented to a prior installed > > version ( something like an automated update command or process). > > Pretty simple. > > 1. Back up your current interchange software directory. > > 2. Get the .tar.gz file and install, using the same > interchange root. > > 3. Restart. > > That should be it. The backup is theoretically not necessary > if you haven't changed any of the distribution files, but I > recommend it anyway. > > There is a regular procedure in the distribution file UPGRADE, > which is supposed to answer this question. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > People who want to share their religious views with you > almost never want you to share yours with them. -- Dave Barry > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Thu Nov 29 23:34:01 2001 Subject: [ic] SQL Statements Correct. Just want to note though that if we assume that the products database that comes with interchange is used then the * wouldn't be as fast. It will bring all the data in the products table into memory, creating unnecessary overhead. I'm all for encouraging everyone to learn sql -- mysql being my personal favorite. :) Never quit learning :) Michelle Jason Kohles wrote: > On Thu, Nov 29, 2001 at 05:33:27PM +0000, joachim.richter wrote: > > I have seen both version of the following 2 lines, is there a difference ? > > The fields that are named in the first line are also the ones which are > > in the output list - > > > > select sku, description, price from products where price < '50.00' > > select * from products where price < '50.00' > > > As long as the fields in the products database are sku, description, and > price, in that order, then these are the same, the first form is preferred > if there is the possibility that other fields may be added to the database, > or that the order of fields may change, as it ensures that you are getting > the fields you expect... > > -- > Jason Kohles jkohles@redhat.com > Senior System Architect (703)786-8036 (cellular) > Red Hat Professional Consulting (703)456-2940 (office) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jillian Carroll) Date: Thu Nov 29 23:38:01 2001 Subject: [ic] Looking for a list of hosts.... I have a client that needs to switch hosts ASAP. Is there a list anywhere of potential hosts he could check out? Thanks! From: interchange-users at interchange.redhat.com (Michelle Wilant) Date: Thu Nov 29 23:46:00 2001 Subject: [ic] Affiliate handling with Foundation What do you mean about there being no affilate handling in foundation? I'm assuming you have seen how to create an affilate with the admin tool provided with the foundation template. So are you referrring to once you create a new affilate -- what the catalog does with it? You have noticed the new tag in the buffer identifying your new affiliate, correct? Then, the magic is up to you. What do you want to happen for that affilate? There are a ton of answers to that question. A different template... Different pricing...different product selection... Please clarify. scott d medlock - network engineer wrote: > Have been working on adding in the affiliate handling (custom store > entries, etc.) into a site that is based upon > Foundation.... And have discovered that there seems to be no affiliate > handling in Foundation at all? > > Am I missing something???? > > -- > > ========================================== > > Scott D. Medlock scottm@cosimo.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Doug Finley) Date: Fri Nov 30 00:39:00 2001 Subject: [ic] Looking for a list of hosts.... ----- Original Message ----- From: Jillian Carroll <jillian@koskie.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, November 29, 2001 11:33 PM Subject: [ic] Looking for a list of hosts.... > > I have a client that needs to switch hosts ASAP. Is there a list anywhere > of potential hosts he could check out? > You could try Korsoft (www.korksoft.com) I have plugged them often, but they have proven to be a great provider for my needs, and they help contribute to this list as well. DF From: interchange-users at interchange.redhat.com (Jeff Fearn) Date: Fri Nov 30 01:21:00 2001 Subject: [ic] template_page item field Date: Fri, 30 Nov 2001 06:08:20 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Hi, IC 4.8.3, RedHat 7.1, PGSQL I was wondering what the template_page item field was for? The docs say : 31.22.4. template_page Not used in foundation catalog. No Description. Nothing useful in the archive, just some pages where it is being set, to null, in some import questions. I was hoping it allowed you to use an alternative flypage for a particular product. Thanks, Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jason D. Piercy) Date: Fri Nov 30 02:43:01 2001 Subject: [ic] template_page item field unsubscribe -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jeff Fearn Sent: Friday, November 30, 2001 1:08 AM To: interchange-users@interchange.redhat.com Subject: [ic] template_page item field Date: Fri, 30 Nov 2001 06:08:20 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Hi, IC 4.8.3, RedHat 7.1, PGSQL I was wondering what the template_page item field was for? The docs say : 31.22.4. template_page Not used in foundation catalog. No Description. Nothing useful in the archive, just some pages where it is being set, to null, in some import questions. I was hoping it allowed you to use an alternative flypage for a particular product. Thanks, Jeff. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (info) Date: Fri Nov 30 03:56:01 2001 Subject: [ic] Upgrade to 4.8.3 problem Hi, I upgraded to IC 4.8.3 on a system running Redhat 7.1 with no problems but now I installed 4.8.3 on a Powerbook g3 ( OSX 10.1) previously running 4.8.2 . The installations routine works only some warnings appears: Do you use CGIWRAP or SUEXEC? [n] creating cache ./config.cache checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for environ declaration in unistd.h... no checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating syscfg creating config.h In file included from tlink.c:39: /usr/include/arpa/inet.h:99: warning: `struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:99: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/include/arpa/inet.h:100: warning: `struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:100: warning: parameter has incomplete type /usr/include/arpa/inet.h:102: warning: parameter has incomplete type /usr/include/arpa/inet.h:104: warning: parameter has incomplete type When I tried to start the IC server I get the following output: [localhost:local/interchange/bin] gv% interchange -r The Interchange server was not running (/usr/local/interchange/etc/interchange.pid). Low traffic settings. Segmentation fault At the moment I have no starting point. I don't even know what Segmentation fault means ?!? Thanks for any hint. Goetz Verdieck From: interchange-users at interchange.redhat.com (Roulliere Idoménée) Date: Fri Nov 30 04:41:01 2001 Subject: [ic] HOSTING INTERCHANGE IN FRANCE Si vous souhaitez développer un site e-commerce avec Interchange en Français, avec payement sécurisé signé ATOS, sur un hébergement en France, alors contactez nous : infos@idomenee.com From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Nov 30 05:44:02 2001 Subject: [ic] Internationalization Which countries/languages are supported for internationalization of IC out of the box? I understand that for pricing that 'setlocale' is used which can handle many different currencies; however I'd like to know which languages are also supported in the admin interface as well as the foundation demo. Thank you, -Ron From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 30 08:15:01 2001 Subject: [ic] Upgrade to 4.8.3 problem On Fri, Nov 30, 2001 at 09:55:43AM +0100, info wrote: > Hi, > > I upgraded to IC 4.8.3 on a system running Redhat 7.1 > with no problems but > > now I installed 4.8.3 on a Powerbook g3 ( OSX 10.1) previously running 4.8.2 > . > The installations routine works only some warnings appears: > Do you use CGIWRAP or SUEXEC? [n] > creating cache ./config.cache > checking for gcc... no > checking for cc... cc > checking whether the C compiler (cc ) works... yes > checking whether the C compiler (cc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether cc accepts -g... yes > checking for socket in -lsocket... no > checking for gethostbyname in -lnsl... no > checking for environ declaration in unistd.h... no > checking return type of signal handlers... void > checking for select... yes > checking for socket... yes > checking for strerror... yes > updating cache ./config.cache > creating ./config.status > creating syscfg > creating config.h > In file included from tlink.c:39: > /usr/include/arpa/inet.h:99: warning: `struct in_addr' declared inside > parameter list > /usr/include/arpa/inet.h:99: warning: its scope is only this definition or > declaration, which is probably not what you want. > /usr/include/arpa/inet.h:100: warning: `struct in_addr' declared inside > parameter list > /usr/include/arpa/inet.h:100: warning: parameter has incomplete type > /usr/include/arpa/inet.h:102: warning: parameter has incomplete type > /usr/include/arpa/inet.h:104: warning: parameter has incomplete type > > > When I tried to start the IC server I get the following output: > > [localhost:local/interchange/bin] gv% interchange -r > The Interchange server was not running > (/usr/local/interchange/etc/interchange.pid). > Low traffic settings. > Segmentation fault Those may or may not be all related. You don't need tlink if you are running on same machine. Take it out of the makefile or use the perl version. > At the moment I have no starting point. I don't even know what > Segmentation fault means ?!? ppc/pmac/G* architectures are going to be harder, if only because there are fewer people using them. You should have a reasonable understanding of how to compile and debug code if you are going to use them. If you don't know what a segfault is, then don't try 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/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Rick Eicher II) Date: Fri Nov 30 09:26:01 2001 Subject: [ic] shipping idea > At 05:11 PM 11/29/2001 -0600, you wrote: > > > At 10:16 AM 11/29/2001 -0600, you wrote: > > > >I am trying to set the shipping cost based on the size of the items. > > > > > > > >I have read the following from the archieves for the shipping.asc: > > > > > > > >usps Mail [item-accessories size] 0 1 5 > > > >usps Mail [item-accessories size] 2 2 7 > > > > > > > > > > > >small = $5.00 > > > >medium = $7.00 > > > >I am wondering if there is a way to chain or loop this to go > throught the > > > >whole cart? > > > > > > > >So if the customer buys two small he gets charged $10.00 not $7.00. > > > > > > > >I have read a hundred different ways to do this. Would like > to know the > > > >correct way to get this output. > > > > > > > >Redhat 7.1 and interchange 4.8.3 (rpm) > > > > > > > >Thanks, > > > >rick > > > > > > > >First let me say thanks I think this will work. I have added and > modified my > >shipping.asc file to the following: > > > >FLATD Standard > > Formatting is important, the above should be FLATD: Standard (that's a > space after':', not a TAB), and to be most correct there should > only be one > TAB before criteria, min, max and cost. Ok I reformated and still have the same results "Note: No match found for mode 'FLATD', quantity '', returning 0." error message. I wonder if there is a way to debug this type of stuff? > Watching the various IC lists, I get the impression that modular > options is > still not ready for production and will not be until 4.9, so you used it > (instead of plain old modifiers like size, color, etc) at you own risk, I > think. Someone correct me if I am wrong. > > - Ed L. What i did was use the admin pages and go into items and clicked on the item. Then I clicked opions at the top. The asked me what type I wanted to set up. I then selected simple as the option. I am not sure if i have done this wrong or not. The big pictures is i need the price and shipping to change according to the size. I have the price changeing now. But still need the shipping to change on size changes. My new shipping.asc FLATD: Standard criteria <<EOC [calc] my $total = 0; [item-list] $total += ([item-quantity] * 8.95) if q{[item-modifier size]} =~ /^S/i; $total += ([item-quantity] * 9.95) if q{[item-modifier size]} =~ /^M/i; $total += ([item-quantity] * 10.95) if q{[item-modifier size]} =~ /^L/i; $total += ([item-quantity] * 11.95) if q{[item-modifier size]} =~ /^XL/i; [/item-list] return $total; [/calc] EOC min 0 max 999999 cost f @@TOTAL@@ > >My options.txt is as follows: > > >>code o_master sku o_group o_enable o_label o_value o_widget price >>AP212 1 AP212 Size 1 Size m=Medium*,^Ml=Large select m==32.95,l==49.95 > > > >I have remove all the collumns that are not used. > > From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Fri Nov 30 10:49:00 2001 Subject: [ic] ASP like Perl Hmmm Im a little baffled as to how I would call fields from a database Ok, So here is my current situation ------------------------------------------------------------------------------ I have this in the configuration Database table001 table001.txt TAB ------------------------------------------------------------------------------ And this later on in the configuration ProductFiles products ------------------------------------------------------------------------------ And this I have in the index.html @_LEFTRIGHT_TOP_@ $Tag->data( ( table => table001 field => 1009-00-0017 key => field2 ) ) @_LEFTRIGHT_BOTTOM_@ ------------------------------------------------------------------------------ And I have this in the table001.txt part_number field2 1009-00-0017 .040" ------------------------------------------------------------------------------ Thanks, Just looking for some guidance, =Korey From: interchange-users at interchange.redhat.com (Michael Stearne) Date: Fri Nov 30 11:15:01 2001 Subject: [ic] Upgrade to 4.8.3 problem cfm@maine.com wrote: > >ppc/pmac/G* architectures are going to be harder, if only because >there are fewer people using them. You should have >a reasonable understanding of how to compile and debug code >if you are going to use them. If you don't know what a segfault >is, then don't try it. > That's not exactly a fair answer. Chances are it's a problem with the Interchange code and the gcc compiler on 10.1. Look at the gcc versions on each machine (gcc -v) and see if they are similar. Regardless, you should send a bug report to the Interchange Buzilla (http://interchange.redhat.com/bugs/) explaing what happened and I'm sure they'll fix it easily because I know 4.8.2 compiled fine on 10.1. Michael From: interchange-users at interchange.redhat.com (Chad Leigh -- Shire.Net LLC) Date: Fri Nov 30 11:29:01 2001 Subject: [ic] Upgrade to 4.8.3 problem On Friday, November 30, 2001, at 11:14 AM, Michael Stearne wrote: > That's not exactly a fair answer. Chances are it's a problem with the > Interchange code and the gcc compiler on 10.1. Look at the gcc > versions on each machine (gcc -v) and see if they are similar. > Regardless, you should send a bug report to the Interchange Buzilla > (http://interchange.redhat.com/bugs/) explaing what happened and I'm > sure they'll fix it easily because I know 4.8.2 compiled fine on 10.1. > In another persona I am a Mac OS X developer (Cocoa and ObjC and WebObjects Java). But I have not been fooling around with straight C code or C++ so I don't know the magic incantation to make this work, but I have a guess on what it is. 10.1 and gcc introduced 2 level namespaces for shared libraries to make it much quicker to launch apps amongst other problems. There is a flag you can use to turn this off. Chad From: interchange-users at interchange.redhat.com (Dorothy Puma) Date: Fri Nov 30 12:06:00 2001 Subject: [ic] Looking for a list of hosts.... You can check us out: http://www.digilink.net. I work for DigiLink, but I've been developing my own sites for about a year, as well as developing sites for customers. Thanks, Dorothy Puma Jillian Carroll wrote: > I have a client that needs to switch hosts ASAP. Is there a list anywhere > of potential hosts he could check out? > > Thanks! > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 30 12:14:00 2001 Subject: [ic] Priority Mail At 10:41 PM 11/29/2001 -0800, you wrote: >nobody got priority mail to work? come on guys im dying here. I have done it (once) with a 4.6.5 store. Basically: I took a look at this document: http://pe.usps.gov/text/dmm/r700.htm#Xih82834 ..and made an educated guess as to which rate table would best apply. Then I downloaded the corresponding csv file here: http://www.usps.com/consumer/csv.htm ...and modified it to follow the format of the other rate tables (i.e.: Ground.csv). Finally, I manually added the ParcelPost field to ###.csv, (your zone table) which itself is a standard zone chart from UPS, which of course did not originally include ParcelPost. Zones, rarely change, if ever; rates tables are what my periodically need to be updated. Finally, I added ppost shipping mode entries to shipping.asc, following the model of the UPS entries, and added ppost as a valid mode to US in the country table. Good Luck! - Ed L. >----- Original Message ----- >From: <steve@moddepot.com> >To: <interchange-users@interchange.redhat.com> >Sent: Thursday, November 29, 2001 8:42 PM >Subject: Re: [ic] Priority Mail > > > > I spoke with Jim privately and we tried a bunch of things and still no >luck. > > can somebody please help me. I need this working tonight. > > www.moddepot.com/shipping I put the files there so you can tell me what's > > up. thanks in advance. I will personally paypal you some money if you help > > fix this problem. > > ----- Original Message ----- > > From: "Jim Balcom" <jim@idk-enterprises.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Thursday, November 29, 2001 4:07 PM > > Subject: Re: [ic] Priority Mail > > > > > > > On Thu, 29 Nov 2001 steve@moddepot.com wrote: > > > > > > >>How can I get priority mail working? I've tried everything and it just > > wont > > > >>show as a option. I have the zone and price charts. Please help ASAP > > since I > > > >>need to convert my business to usps cause FedEx has screwed me 3 times > > so > > > >>far. > > > > > > Did it feel good? FedEx is very good at it. But, they are not as good at > > it > > > as UPS. > > > > > > Here's the short course in using Priority Mail. > > > > > > shipping.asc has got have entries in it for Priority. Here is mine: > > > > > > uspspm Priority Mail weight 0 0 e Nothing to ship! > > > > > > uspspm Priority Mail weight 0 150 u PriorityMail [value > > > name=zip filter=digits default=22306] {} > > > > > > uspspm Priority Mail weight 150 999999 e @@TOTAL@@ lbs too > > > heavy for Priority Mail {} > > > > > > That is actually 3 lines, and the columns are tab delimited. > > > > > > My zone table 220.csv, has had a column added to it called 'Priority >Mail' > > > which matches the second column in shipping.asc. In 220.csv I added a > > column > > > labeled 'Priority Mail' and populated it with the data in the first >column > > > for UPS Ground. It seems pretty close. > > > > > > My rate tables are in PriorityMail.csv. Someone on the list made them up > > and > > > posted them. Pattern them after whatever tables you presently have. > > > > > > I think that you need a PriorityMail.csv.numeric. I've got no idea what >it > > > is, or why. Just make it. Pattern it after comparable ones in that > > > directory. > > > > > > Go into dbconf/default_db (in my case). Copy something else to > > > PriorityMail.dbm and edit it to suit the Priority Mail names. > > > > > > And, finally, go into country.txt and make sure that you have a line >like > > > this: > > > > > > US US fdxg fdxb fdxa uspspm United States > > > ^tab^ ^tab^ ^tab^ > > > > > > The order that those shipping methods are in will determine the order >that > > > they appear in in the drop-down menu. > > > > > > I also recommend going into catalog.cfg and adjusting mv_shipmode to > > > Priority Mail. > > > > > > Go in to the Admin interface and apply changes. And, then restart the > > > server. > > > > > > Maybe some of these steps are superfluous and unneeded. I dunno. I just > > know > > > that I've added a few shipping methods this way and it works. > > > > > > I hope that it works for you! > > > > > > > > > -= Jim =- > > > > > > ---------------------------------------------------------------- > > > Jim's Linux-Operated Underground Bomb Shelter > > > > > > Tagline for Thursday, November 29, 2001 at 18:45 PM: > > > If you don't care where you are, then you ain't lost. > > > > > > ---------------------------------------------------------------- > > > This Linux System has been up 99 hours > > > > > > My web page: http://www.idk-enterprises.com > > > ---------------------------------------------------------------- > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 30 12:17:00 2001 Subject: Fwd: Re: [ic] Priority Mail >Date: Fri, 30 Nov 2001 09:14:13 -0800 >To: interchange-users@interchange.redhat.com >From: Ed LaFrance <edl@newmediaems.com> >Subject: Re: [ic] Priority Mail > >At 10:41 PM 11/29/2001 -0800, you wrote: >>nobody got priority mail to work? come on guys im dying here. > >I have done it (once) with a 4.6.5 store. ...and though I neglected to mention here, in this case it was regular ParcelPost service, but I imagine adding Priority service would be quite similar. - Ed L. > Basically: > >I took a look at this document: >http://pe.usps.gov/text/dmm/r700.htm#Xih82834 > >..and made an educated guess as to which rate table would best apply. Then >I downloaded the corresponding csv file here: >http://www.usps.com/consumer/csv.htm > >...and modified it to follow the format of the other rate tables (i.e.: >Ground.csv). > >Finally, I manually added the ParcelPost field to ###.csv, (your zone >table) which itself is a standard zone chart from UPS, which of course did >not originally include ParcelPost. Zones, rarely change, if ever; rates >tables are what my periodically need to be updated. > >Finally, I added ppost shipping mode entries to shipping.asc, following >the model of the UPS entries, and added ppost as a valid mode to US in the >country table. > >Good Luck! > >- Ed L. > > > >>----- Original Message ----- >>From: <steve@moddepot.com> >>To: <interchange-users@interchange.redhat.com> >>Sent: Thursday, November 29, 2001 8:42 PM >>Subject: Re: [ic] Priority Mail >> >> >> > I spoke with Jim privately and we tried a bunch of things and still no >>luck. >> > can somebody please help me. I need this working tonight. >> > www.moddepot.com/shipping I put the files there so you can tell me what's >> > up. thanks in advance. I will personally paypal you some money if you help >> > fix this problem. >> > ----- Original Message ----- >> > From: "Jim Balcom" <jim@idk-enterprises.com> >> > To: <interchange-users@interchange.redhat.com> >> > Sent: Thursday, November 29, 2001 4:07 PM >> > Subject: Re: [ic] Priority Mail >> > >> > >> > > On Thu, 29 Nov 2001 steve@moddepot.com wrote: >> > > >> > > >>How can I get priority mail working? I've tried everything and it just >> > wont >> > > >>show as a option. I have the zone and price charts. Please help ASAP >> > since I >> > > >>need to convert my business to usps cause FedEx has screwed me 3 times >> > so >> > > >>far. >> > > >> > > Did it feel good? FedEx is very good at it. But, they are not as good at >> > it >> > > as UPS. >> > > >> > > Here's the short course in using Priority Mail. >> > > >> > > shipping.asc has got have entries in it for Priority. Here is mine: >> > > >> > > uspspm Priority Mail weight 0 0 e Nothing to ship! >> > > >> > > uspspm Priority Mail weight 0 150 u PriorityMail [value >> > > name=zip filter=digits default=22306] {} >> > > >> > > uspspm Priority Mail weight 150 999999 e @@TOTAL@@ lbs too >> > > heavy for Priority Mail {} >> > > >> > > That is actually 3 lines, and the columns are tab delimited. >> > > >> > > My zone table 220.csv, has had a column added to it called 'Priority >>Mail' >> > > which matches the second column in shipping.asc. In 220.csv I added a >> > column >> > > labeled 'Priority Mail' and populated it with the data in the first >>column >> > > for UPS Ground. It seems pretty close. >> > > >> > > My rate tables are in PriorityMail.csv. Someone on the list made them up >> > and >> > > posted them. Pattern them after whatever tables you presently have. >> > > >> > > I think that you need a PriorityMail.csv.numeric. I've got no idea what >>it >> > > is, or why. Just make it. Pattern it after comparable ones in that >> > > directory. >> > > >> > > Go into dbconf/default_db (in my case). Copy something else to >> > > PriorityMail.dbm and edit it to suit the Priority Mail names. >> > > >> > > And, finally, go into country.txt and make sure that you have a line >>like >> > > this: >> > > >> > > US US fdxg fdxb fdxa uspspm United States >> > > ^tab^ ^tab^ ^tab^ >> > > >> > > The order that those shipping methods are in will determine the order >>that >> > > they appear in in the drop-down menu. >> > > >> > > I also recommend going into catalog.cfg and adjusting mv_shipmode to >> > > Priority Mail. >> > > >> > > Go in to the Admin interface and apply changes. And, then restart the >> > > server. >> > > >> > > Maybe some of these steps are superfluous and unneeded. I dunno. I just >> > know >> > > that I've added a few shipping methods this way and it works. >> > > >> > > I hope that it works for you! >> > > >> > > >> > > -= Jim =- >> > > >> > > ---------------------------------------------------------------- >> > > Jim's Linux-Operated Underground Bomb Shelter >> > > >> > > Tagline for Thursday, November 29, 2001 at 18:45 PM: >> > > If you don't care where you are, then you ain't lost. >> > > >> > > ---------------------------------------------------------------- >> > > This Linux System has been up 99 hours >> > > >> > > My web page: http://www.idk-enterprises.com >> > > ---------------------------------------------------------------- >> > > >> > > _______________________________________________ >> > > interchange-users mailing list >> > > interchange-users@interchange.redhat.com >> > > http://interchange.redhat.com/mailman/listinfo/interchange-users >> > > >> > > >> > >> > _______________________________________________ >> > interchange-users mailing list >> > interchange-users@interchange.redhat.com >> > http://interchange.redhat.com/mailman/listinfo/interchange-users >> > >> > >> >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users > >=============================================================== >New Media E.M.S. Software Solutions for Business >463 Main St., Suite D eCommerce | Consulting | Hosting >Placerville, CA 95667 edl@newmediaems.com >(530) 622-9421 http://www.newmediaems.com >(866) 519-4680 Toll-Free (530) 622-9426 Fax >=============================================================== =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Fri Nov 30 12:20:01 2001 Subject: [ic] Looking for a list of hosts.... You can try rackhost.net I am working on setting up an affiliate program but they offer an interchange cart with 500mb of storage and 15gb bandwich for $9.99 a month. It also comes with unlimited subdomains and email addersses. Gary Henderson Custom Business Solutions ----- Original Message ----- From: "Dorothy Puma" <dorothy@digilink.net> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 30, 2001 12:05 PM Subject: Re: [ic] Looking for a list of hosts.... > You can check us out: http://www.digilink.net. I work for DigiLink, but I've > been developing my own sites for about a year, as well as developing sites > for customers. > > Thanks, > Dorothy Puma > > Jillian Carroll wrote: > > > I have a client that needs to switch hosts ASAP. Is there a list anywhere > > of potential hosts he could check out? > > > > Thanks! > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 12:35:00 2001 Subject: [ic] European Date Search - accomplished that is 100% > After we do that then we want to copy our work into the > foundation template that comes with interchange so every > catalog we make from here on out will automaticly have those > explicit sql queries --- Does anyone want to give me the > answer to which templates I need to replace in order to get > the makecat script to copy them into any newly created > catalog? :) I'm assuming its interchangeroot/foundation > directory, but haven't taken the time to try it. A > confirmation of this would be appreciated. :) Thanks. You should be able to find information about creating new templates to be used with makecat, I know it is documented (at least partially) somewhere. Go through the tarball directory structure and the answer will come out. :-) Here's one for ya (thought of this myself, of course): What is the official shopping center of Star Wars? .... Darth Maul! HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 12:48:01 2001 Subject: [ic] Internationalization > Which countries/languages are supported for > internationalization of IC out of the box? I understand that > for pricing that 'setlocale' is used which can handle many > different currencies; however I'd like to know which > languages are also supported in the admin interface as well > as the foundation demo. > > Thank you, > -Ron Doesn't anyone do their own homework anymore? 4.8.3 Admin interface has these translations out of the box: Dansk Deutsch English Hebrew Japanese Nederlands Português Svenska But there is not artificial limit on what you can translate (I think it rather more depends on perl, no?). (Heck, if Japanese is possible, *anything* is possible). HAND, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 30 12:56:01 2001 Subject: [ic] shipping idea At 08:37 AM 11/30/2001 -0600, you wrote: > > At 05:11 PM 11/29/2001 -0600, you wrote: > > > > At 10:16 AM 11/29/2001 -0600, you wrote: > > > > >I am trying to set the shipping cost based on the size of the items. > > > > > > > > > >I have read the following from the archieves for the shipping.asc: > > > > > > > > > >usps Mail [item-accessories size] 0 1 5 > > > > >usps Mail [item-accessories size] 2 2 7 > > > > > > > > > > > > > > >small = $5.00 > > > > >medium = $7.00 > > > > >I am wondering if there is a way to chain or loop this to go > > throught the > > > > >whole cart? > > > > > > > > > >So if the customer buys two small he gets charged $10.00 not $7.00. > > > > > > > > > >I have read a hundred different ways to do this. Would like > > to know the > > > > >correct way to get this output. > > > > > > > > > >Redhat 7.1 and interchange 4.8.3 (rpm) > > > > > > > > > >Thanks, > > > > >rick > > > > > > > > > > >First let me say thanks I think this will work. I have added and > > modified my > > >shipping.asc file to the following: > > > > > >FLATD Standard > > > > Formatting is important, the above should be FLATD: Standard (that's a > > space after':', not a TAB), and to be most correct there should > > only be one > > TAB before criteria, min, max and cost. > >Ok I reformated and still have the same results "Note: No match found for >mode 'FLATD', quantity '', returning 0." error message. > >I wonder if there is a way to debug this type of stuff? The error message suggests that criteria is not evaluating to anything, but I couldn't tell you why - to worked fine for me in similar context. You might want to put the [calc] block on a regular IC page (call it calc.html, for instance), put some sized items in the cart, then pull up calc.html and see what it is returning. - Ed L. > > Watching the various IC lists, I get the impression that modular > > options is > > still not ready for production and will not be until 4.9, so you used it > > (instead of plain old modifiers like size, color, etc) at you own risk, I > > think. Someone correct me if I am wrong. > > > > - Ed L. > >What i did was use the admin pages and go into items and clicked on the >item. Then I clicked opions at the top. The asked me what type I wanted to >set up. I then selected simple as the option. I am not sure if i have done >this wrong or not. > >The big pictures is i need the price and shipping to change according to the >size. I have the price changeing now. But still need the shipping to change >on size changes. > >My new shipping.asc >FLATD: Standard > criteria <<EOC > [calc] > my $total = 0; > [item-list] > $total += ([item-quantity] * 8.95) if >q{[item-modifier size]} =~ /^S/i; > $total += ([item-quantity] * 9.95) if >q{[item-modifier size]} =~ /^M/i; > $total += ([item-quantity] * 10.95) if >q{[item-modifier size]} =~ /^L/i; > $total += ([item-quantity] * 11.95) if >q{[item-modifier size]} =~ /^XL/i; > [/item-list] > return $total; > [/calc] >EOC > min 0 > max 999999 > cost f @@TOTAL@@ > > > >My options.txt is as follows: > > > > >>code o_master sku o_group o_enable o_label o_value o_widget >price > >>AP212 1 AP212 Size 1 Size m=Medium*,^Ml=Large select >m==32.95,l==49.95 > > > > > >I have remove all the collumns that are not used. > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 12:59:00 2001 Subject: [ic] Looking for a list of hosts.... > You can try rackhost.net I am working on setting up an > affiliate program but they offer an interchange cart with > 500mb of storage and 15gb bandwich for $9.99 a month. It > also comes with unlimited subdomains and email addersses. > > Gary Henderson > Custom Business Solutions What a find! However, it is so hard to believe that I must say there has to be a catch somewhere. Either these guys wont be around for long, or you don't really get what they advertise. It costs more than that for a 56k dialup connection, so it's hard to believe that you get 15 GB traffic for that much, let alone 500MB storage. I would be pleased to be informed of anyone who is actually *using* them (it sounded like you were still setting up Gary, is that right?), because I wonder what the utilization is on the servers, as well as usable bandwidth and other performance figures. Thanks, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Thomas Dan Otto) Date: Fri Nov 30 13:01:30 2001 Subject: [ic] Testing maximal connects I want to know, how much people can use the shop in the same time and then how the performance is. But I got a problem: When i.e. 15 people work on the shop, the basket is empty, when I want to pay - why? (To simulate the test, I write a perl script, that reads out the first page, sleep two seconds, and then reread the first page and that 15 scripts parallel) The first page has some DB connects, some pictures.... Who might help me? Thomas From: interchange-users at interchange.redhat.com (sysMatrix) Date: Fri Nov 30 13:22:01 2001 Subject: [ic] Greetings and one question Greetings to all and happy holidays, I am new to interchange and have not actually started setting it up. Don't worry I'm not going to ask "How do I set it up?" My question is this: I have already set up my own home page which I call the *Store Lobby*. I have only 10 departments (or categories if you will). I see that all products are placed in a *catalog* and that there ar no actual product html pages. The question is, "Can I link to a particular category and bring up the interchange store with only those products within the category (department) directly from my own home page? You know setting up <a href=xxxxx> from my department link. I don't need a lengthy explanation. Just whether or not it can be done and maybe a direction on where to look for the source on how to do it. By the way, Dan, I liked your pun, *What is the official shopping center of Star Wars?* Thanks in advance, Terry Cox From: interchange-users at interchange.redhat.com (Nathan Olmscheid) Date: Fri Nov 30 13:27:01 2001 Subject: [ic] Re: Looking for a list of hosts.... In most cases, you get what you pay for....would like to hear more about this place, ya never no! As a person who is in the Hosting industry myself, I just hope they don't pull what other competitors have done. Charge ridiculously low prices, get thousands of clients and then sell them off. We are not the cheapest, nor do we plan to be. We are priced for the quality of our service, which in my eyes, and our clients eyes, we have great prices for what we offer. We want quality customers instead of thousands and thousands of $9.99 customers. Those customers take a lot time usually. Nathan Dan Browning writes: >> You can try rackhost.net I am working on setting up an >> affiliate program but they offer an interchange cart with >> 500mb of storage and 15gb bandwich for $9.99 a month. It >> also comes with unlimited subdomains and email addersses. >> >> Gary Henderson >> Custom Business Solutions > > What a find! However, it is so hard to believe that I must say there > has to be a catch somewhere. Either these guys wont be around for long, > or you don't really get what they advertise. It costs more than that > for a 56k dialup connection, so it's hard to believe that you get 15 GB > traffic for that much, let alone 500MB storage. > > I would be pleased to be informed of anyone who is actually *using* them > (it sounded like you were still setting up Gary, is that right?), > because I wonder what the utilization is on the servers, as well as > usable bandwidth and other performance figures. > > Thanks, > > Dan Browning > Kavod Technologies > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- NAMI Solutions Nathan D. Olmscheid Co-Owner - Phone: 612-237-9646 e-mail: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Fri Nov 30 13:49:01 2001 Subject: [ic] Re: Looking for a list of hosts.... Rackhost.net is a version of InterServer Networks. www.interserver.net The hosting company is a very reputable one. InterServer Networks is more expensive, $19.95, but has a great affiliate and reseller program. You should really check both of them out. They have a demo of the control panel, you get full telnet and ftp access. Full access to your domain. You can check mine out. It is hosted on there. http://www.Custom-Business-Solutions.com Their support is ran through http://www.Trouble-Free.net Gary Henderson Custom Business Solutions > From: "Nathan Olmscheid" <nathan@namisolutions.com> > Reply-To: interchange-users@interchange.redhat.com > Date: Fri, 30 Nov 2001 18:21:52 GMT > To: interchange-users@interchange.redhat.com > Subject: [ic] Re: Looking for a list of hosts.... > > In most cases, you get what you pay for....would like to hear more about > this place, ya never no! > > As a person who is in the Hosting industry myself, I just hope they don't > pull what other competitors have done. Charge ridiculously low prices, get > thousands of clients and then sell them off. > > We are not the cheapest, nor do we plan to be. We are priced for the quality > of our service, which in my eyes, and our clients eyes, we have great prices > for what we offer. We want quality customers instead of thousands and > thousands of $9.99 customers. Those customers take a lot time usually. > > Nathan > > Dan Browning writes: > >>> You can try rackhost.net I am working on setting up an >>> affiliate program but they offer an interchange cart with >>> 500mb of storage and 15gb bandwich for $9.99 a month. It >>> also comes with unlimited subdomains and email addersses. >>> >>> Gary Henderson >>> Custom Business Solutions >> >> What a find! However, it is so hard to believe that I must say there >> has to be a catch somewhere. Either these guys wont be around for long, >> or you don't really get what they advertise. It costs more than that >> for a 56k dialup connection, so it's hard to believe that you get 15 GB >> traffic for that much, let alone 500MB storage. >> >> I would be pleased to be informed of anyone who is actually *using* them >> (it sounded like you were still setting up Gary, is that right?), >> because I wonder what the utilization is on the servers, as well as >> usable bandwidth and other performance figures. >> >> Thanks, >> >> Dan Browning >> Kavod Technologies >> >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > NAMI Solutions > Nathan D. Olmscheid > Co-Owner > - > Phone: 612-237-9646 > e-mail: nathan@namisolutions.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 13:56:01 2001 Subject: [ic] Greetings and one question > Greetings to all and happy holidays, > > I am new to interchange and have not actually started setting > it up. Don't worry I'm not going to ask "How do I set it up?" > My question is this: > > I have already set up my own home page which I call the > *Store Lobby*. I have only 10 departments (or categories if > you will). I see that all products are placed in a *catalog* > and that there ar no actual product html pages. The question > is, "Can I link to a particular category and bring up the > interchange store with only those products within the > category (department) directly from my own home page? You > know setting up <a href=xxxxx> from my department link. > > I don't need a lengthy explanation. Just whether or not it > can be done and maybe a direction on where to look for the > source on how to do it. > > By the way, Dan, I liked your pun, *What is the official > shopping center of Star Wars?* > > Thanks in advance, > Terry Cox (Thanks. I tend to be the list-clown for some reason.) I recommend something like: 1. Get a category page built just the way you want it in Interchange. 2. Include it in your other page with Apache directives, ala... <!--#include virtual="http://www.interchange_store.com/link_to_category_that_I_want"- -> However, I may have misunderstood your question. :^) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Guy Soudant) Date: Fri Nov 30 14:07:01 2001 Subject: [ic] Re: Looking for a list of hosts.... This is a multi-part message in MIME format. ------_=_NextPart_001_01C179D2.66001A10 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBhZ3JlZSB3aXRoIE5hdGhhbi4gWW91IGdldCB3aGF0IHlvdSBwYXkgZm9yLiBJJ3ZlIGJlZW4g dXNpbmcgc3VjaA0Kc2VydmljZXMgb2YgaG9zdGluZyBwcm92aWRlcnMgYW5kIGluIG1vc3QgY2Fz ZXMgKEkndmUgaGFkIGEgZmV3IHNvIGZhciksDQp0aGUgc3BlZWQgaXMgZHJhbWF0aWMgKGFsbCBj b3N0IGFib3V0IDEwIHRvIDE1IFVTIGRvbGxhcnMpLiBTb21ldGltZXMNCml0J3MgZXZlbiBub3Qg YWR2aXNhYmxlIHRvIGNvbm5lY3Qgd2l0aCBtb3JlIHRoYW4gMyBvciA0IHBlb3BsZQ0Kc2ltdWx0 YW5pb3VzbHkuIEFic29sdXRlbHkgbm90IGEgc2l0dWF0aW9uIHlvdSB3YW50Lg0KIA0KVGhlIG9u bHkgY29tcGFueSB0aGF0IGhhZCBnb29kIHBlcmZvcm1hbmNlIHNvIGZhciB3YXMgV2l6YXJkc2hv c3RpbmcuDQpUaGV5LCBob3dldmVyLCBkb24ndCBvZmZlciB5b3UgYWxsIHRoZSBmdW5jdGlvbmFs aXR5ICJvdXQtb2YtdGhlLWJveCINCnlvdSBuZWVkIGZvciBJbnRlcmNoYW5nZS4gWW91J2xsIGhh dmUgdG8gY29tbXVuaWNhdGUgd2l0aCB0aGVtIHF1aXRlDQpoZWF2aWx5IHRvIHNldCBldmVyeXRo aW5nIHVwLCBidXQgb25jZSBpdCdzIHVwIGFuZCBydW5uaW5nLCB0aGVuIGFsbCBpcw0Kd2VsbC4N CiANCkkndmUgbm93IG1hZGUgdGhlIGRlY2lzaW9uIHRvIHN0b3AgdXNpbmcgaG9zdGluZyBwcm92 aWRlcnMgYW5kIHVzZSBteQ0Kb3duIENhYmxlIG1vZGVtIGNvbm5lY3Rpb24gdG8gaG9zdCBhIGNv dXBsZSBvZiBzaXRlcy4gSWYgeW91IHdvdWxkDQpyZWFsbHkgd2FudCB0byB1c2UgYSBob3N0aW5n IHByb3ZpZGVyLCBwaWNrIHRoZSBvbmVzIHRoYXQgaGF2ZSBhIDMwIG9yDQoxNCBkYXkgbW9uZXkt YmFjay1nYXJhbnRlZSBhbmQgc2V0IHVwIHRoZSBkZW1vIHN0b3JlIGFuZCB0ZXN0IGxpa2UgYSBt YWQNCm1hbi4gVGhlbiB5b3Ugd2lsbCBzZWUgdGhlIGFjdHVhbCBwZXJmb3JtYW5jZS4NCiANCkdv b2QgbHVjaw0KIA0KR3V5IFNvdWRhbnQNCg0KCS0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tIA0K CUZyb206IE5hdGhhbiBPbG1zY2hlaWQgDQoJU2VudDogRnJpIDMwLzExLzIwMDEgMTk6MjEgDQoJ VG86IGludGVyY2hhbmdlLXVzZXJzQGludGVyY2hhbmdlLnJlZGhhdC5jb20gDQoJQ2M6IA0KCVN1 YmplY3Q6IFtpY10gUmU6IExvb2tpbmcgZm9yIGEgbGlzdCBvZiBob3N0cy4uLi4NCgkNCgkNCg0K CUluIG1vc3QgY2FzZXMsIHlvdSBnZXQgd2hhdCB5b3UgcGF5IGZvci4uLi53b3VsZCBsaWtlIHRv IGhlYXINCm1vcmUgYWJvdXQNCgl0aGlzIHBsYWNlLCB5YSBuZXZlciBubyENCgkNCglBcyBhIHBl cnNvbiB3aG8gaXMgaW4gdGhlIEhvc3RpbmcgaW5kdXN0cnkgbXlzZWxmLCBJIGp1c3QgaG9wZQ0K dGhleSBkb24ndA0KCXB1bGwgd2hhdCBvdGhlciBjb21wZXRpdG9ycyBoYXZlIGRvbmUuIENoYXJn ZSByaWRpY3Vsb3VzbHkgbG93DQpwcmljZXMsIGdldA0KCXRob3VzYW5kcyBvZiBjbGllbnRzIGFu ZCB0aGVuIHNlbGwgdGhlbSBvZmYuDQoJDQoJV2UgYXJlIG5vdCB0aGUgY2hlYXBlc3QsIG5vciBk byB3ZSBwbGFuIHRvIGJlLiBXZSBhcmUgcHJpY2VkIGZvcg0KdGhlIHF1YWxpdHkNCglvZiBvdXIg c2VydmljZSwgd2hpY2ggaW4gbXkgZXllcywgYW5kIG91ciBjbGllbnRzIGV5ZXMsIHdlIGhhdmUN CmdyZWF0IHByaWNlcw0KCWZvciB3aGF0IHdlIG9mZmVyLiBXZSB3YW50IHF1YWxpdHkgY3VzdG9t ZXJzIGluc3RlYWQgb2YNCnRob3VzYW5kcyBhbmQNCgl0aG91c2FuZHMgb2YgJDkuOTkgY3VzdG9t ZXJzLiBUaG9zZSBjdXN0b21lcnMgdGFrZSBhIGxvdCB0aW1lDQp1c3VhbGx5Lg0KCQ0KCU5hdGhh bg0KCQ0KCURhbiBCcm93bmluZyB3cml0ZXM6DQoJDQoJPj4gWW91IGNhbiB0cnkgcmFja2hvc3Qu bmV0ICBJIGFtIHdvcmtpbmcgb24gc2V0dGluZyB1cCBhbg0KCT4+IGFmZmlsaWF0ZSBwcm9ncmFt IGJ1dCB0aGV5IG9mZmVyIGFuIGludGVyY2hhbmdlIGNhcnQgd2l0aA0KCT4+IDUwMG1iIG9mIHN0 b3JhZ2UgYW5kIDE1Z2IgYmFuZHdpY2ggZm9yICQ5Ljk5IGEgbW9udGguICBJdA0KCT4+IGFsc28g Y29tZXMgd2l0aCB1bmxpbWl0ZWQgc3ViZG9tYWlucyBhbmQgZW1haWwgYWRkZXJzc2VzLg0KCT4+ DQoJPj4gR2FyeSBIZW5kZXJzb24NCgk+PiBDdXN0b20gQnVzaW5lc3MgU29sdXRpb25zDQoJPg0K CT4gV2hhdCBhIGZpbmQhICBIb3dldmVyLCBpdCBpcyBzbyBoYXJkIHRvIGJlbGlldmUgdGhhdCBJ IG11c3QNCnNheSB0aGVyZQ0KCT4gaGFzIHRvIGJlIGEgY2F0Y2ggc29tZXdoZXJlLiAgRWl0aGVy IHRoZXNlIGd1eXMgd29udCBiZSBhcm91bmQNCmZvciBsb25nLA0KCT4gb3IgeW91IGRvbid0IHJl YWxseSBnZXQgd2hhdCB0aGV5IGFkdmVydGlzZS4gIEl0IGNvc3RzIG1vcmUNCnRoYW4gdGhhdA0K CT4gZm9yIGEgNTZrIGRpYWx1cCBjb25uZWN0aW9uLCBzbyBpdCdzIGhhcmQgdG8gYmVsaWV2ZSB0 aGF0IHlvdQ0KZ2V0IDE1IEdCDQoJPiB0cmFmZmljIGZvciB0aGF0IG11Y2gsIGxldCBhbG9uZSA1 MDBNQiBzdG9yYWdlLg0KCT4NCgk+IEkgd291bGQgYmUgcGxlYXNlZCB0byBiZSBpbmZvcm1lZCBv ZiBhbnlvbmUgd2hvIGlzIGFjdHVhbGx5DQoqdXNpbmcqIHRoZW0NCgk+IChpdCBzb3VuZGVkIGxp a2UgeW91IHdlcmUgc3RpbGwgc2V0dGluZyB1cCBHYXJ5LCBpcyB0aGF0DQpyaWdodD8pLA0KCT4g YmVjYXVzZSBJIHdvbmRlciB3aGF0IHRoZSB1dGlsaXphdGlvbiBpcyBvbiB0aGUgc2VydmVycywg YXMNCndlbGwgYXMNCgk+IHVzYWJsZSBiYW5kd2lkdGggYW5kIG90aGVyIHBlcmZvcm1hbmNlIGZp Z3VyZXMuDQoJPg0KCT4gVGhhbmtzLA0KCT4NCgk+IERhbiBCcm93bmluZw0KCT4gS2F2b2QgVGVj aG5vbG9naWVzDQoJPg0KCT4NCgk+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fDQoJPiBpbnRlcmNoYW5nZS11c2VycyBtYWlsaW5nIGxpc3QNCgk+IGludGVy Y2hhbmdlLXVzZXJzQGludGVyY2hhbmdlLnJlZGhhdC5jb20NCgk+DQpodHRwOi8vaW50ZXJjaGFu Z2UucmVkaGF0LmNvbS9tYWlsbWFuL2xpc3RpbmZvL2ludGVyY2hhbmdlLXVzZXJzDQoJDQoJDQoJ DQoJIC0tDQoJTkFNSSBTb2x1dGlvbnMNCglOYXRoYW4gRC4gT2xtc2NoZWlkDQoJQ28tT3duZXIN CgkgLQ0KCVBob25lOiA2MTItMjM3LTk2NDYNCgllLW1haWw6IG5hdGhhbkBuYW1pc29sdXRpb25z LmNvbQ0KCV9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQoJ aW50ZXJjaGFuZ2UtdXNlcnMgbWFpbGluZyBsaXN0DQoJaW50ZXJjaGFuZ2UtdXNlcnNAaW50ZXJj aGFuZ2UucmVkaGF0LmNvbQ0KCWh0dHA6Ly9pbnRlcmNoYW5nZS5yZWRoYXQuY29tL21haWxtYW4v bGlzdGluZm8vaW50ZXJjaGFuZ2UtdXNlcnMNCgkNCgkNCgkNCg0K ------_=_NextPart_001_01C179D2.66001A10 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IiATAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAENgAQAAgAAAAIAAgABBYAD AA4AAADRBwsAHgAUAAgAHgAFAEABASCAAwAOAAAA0QcLAB4AFAAIAB4ABQBAAQEJgAEAIQAAADBC REI3MkZDOUFBODE3NERCODc3NkYzOEZGN0RERjc4AIwHAQOQBgCoGQAAOAAAAB8AGgABAAAAEgAA AEkAUABNAC4ATgBvAHQAZQAAAAAAAwA2AAAAAAAfADcAAQAAAFoAAABSAEUAOgAgAFsAaQBjAF0A IABSAGUAOgAgAEwAbwBvAGsAaQBuAGcAIABmAG8AcgAgAGEAIABsAGkAcwB0ACAAbwBmACAAaABv AHMAdABzAC4ALgAuAC4AAAAAAEAAOQAQGgBm0nnBAR8APQABAAAACgAAAFIARQA6ACAAAAAAAAIB RwABAAAALwAAAGM9dXM7YT0gO3A9c291ZGFudDtsPUNNMzUxMDItQS0wMTExMzAxOTA4MzBaLTEA AB8ASQABAAAAUgAAAFsAaQBjAF0AIABSAGUAOgAgAEwAbwBvAGsAaQBuAGcAIABmAG8AcgAgAGEA IABsAGkAcwB0ACAAbwBmACAAaABvAHMAdABzAC4ALgAuAC4AAAAAAEAATgAAIP/hy3nBAR8AWgAB AAAAIgAAAE4AYQB0AGgAYQBuACAATwBsAG0AcwBjAGgAZQBpAGQAAAAAAAIBWwABAAAARwAAAAAA AACBKx+kvqMQGZ1uAN0BD1QCAAAAAE5hdGhhbiBPbG1zY2hlaWQAU01UUABuYXRoYW5AbmFtaXNv bHV0aW9ucy5jb20AAAIBXAABAAAAHgAAAFNNVFA6TkFUSEFOQE5BTUlTT0xVVElPTlMuQ09NAAAA HwBdAAEAAAAiAAAATgBhAHQAaABhAG4AIABPAGwAbQBzAGMAaABlAGkAZAAAAAAAAgFeAAEAAABH AAAAAAAAAIErH6S+oxAZnW4A3QEPVAIAAAAATmF0aGFuIE9sbXNjaGVpZABTTVRQAG5hdGhhbkBu YW1pc29sdXRpb25zLmNvbQAAAgFfAAEAAAAeAAAAU01UUDpOQVRIQU5ATkFNSVNPTFVUSU9OUy5D T00AAAAfAGYAAQAAAAoAAABTAE0AVABQAAAAAAAfAGcAAQAAADIAAABuAGEAdABoAGEAbgBAAG4A YQBtAGkAcwBvAGwAdQB0AGkAbwBuAHMALgBjAG8AbQAAAAAAHwBoAAEAAAAKAAAAUwBNAFQAUAAA AAAAHwBpAAEAAAAyAAAAbgBhAHQAaABhAG4AQABuAGEAbQBpAHMAbwBsAHUAdABpAG8AbgBzAC4A YwBvAG0AAAAAAB8AcAABAAAAUgAAAFsAaQBjAF0AIABSAGUAOgAgAEwAbwBvAGsAaQBuAGcAIABm AG8AcgAgAGEAIABsAGkAcwB0ACAAbwBmACAAaABvAHMAdABzAC4ALgAuAC4AAAAAAAIBcQABAAAA GwAAAAHBec9G4LNkw6kXQkg2tdNlhV21YK8AAHkyjQAfAHQAAQAAAFIAAABpAG4AdABlAHIAYwBo AGEAbgBnAGUALQB1AHMAZQByAHMAQABpAG4AdABlAHIAYwBoAGEAbgBnAGUALgByAGUAZABoAGEA dAAuAGMAbwBtAAAAAAAfABoMAQAAABgAAABHAHUAeQAgAFMAbwB1AGQAYQBuAHQAAAAfAB0OAQAA AFIAAABbAGkAYwBdACAAUgBlADoAIABMAG8AbwBrAGkAbgBnACAAZgBvAHIAIABhACAAbABpAHMA dAAgAG8AZgAgAGgAbwBzAHQAcwAuAC4ALgAuAAAAAAACAQkQAQAAAIgQAACEEAAAyDcAAExaRnUt jivzAwAKAHJjcGcxMjWCMgNDaHRtbDEDMD8BAwH3CoACpAPjAgBjaMEKwHNldDAgBxMCgP8QAwBQ BFYIVQeyEdUOUQMB3RDXMgYABsMR1TMERhDZbxLrEeMI7wn3OxjPDjA1OxHSDGBjAFALCQFkMzaT EWALpTQgEAIqXA6yvQGQZxTwCqMR4x3oNBTwADwhRE9DVFlQAEUgSFRNTCBQAFVCTElDICItIC8v VzNDIYBEVCJEIJQzLjIhgEVOnCI+Hu0ejyPBMTgf8G8goiMPJB8mkDMdgCVwRXxBRCXNDvEm7ylv JPQ2QQ7wPE1FVEEHsEExLGA9IkcJ8ASQYXRFBbAiEtBPTlQi0FQTLPAF4UV4EPFuZ2U9BlJ2EzEv QQCQAiAgNoAuMC40NDE3MBAnIv4qzyUDNzcf8FRJmFRMRSXOMFAgWw3gAl0H8GU6IExvbzJrC4Bn IAIQBcBhIAZsBAAFQG9mIGhvWTZQcy43ASRuNR/wL/8zTzF/JkU0kThgKE8mnzw0AjURYDxCT0RZ INBkaXI9PFByO6A8E+cAIQMwPrFkbwDgPrEKsfxccRiwPrEQ8AMwPxURYEc7yxzxPM9nOTYf8EQ8 SVY+6QAAQSc76TY0W0RfQXJJNgAJwiAD8HSNQPBOLWAusS4gWQhgtiAu4AVAdxEABUB5SSFNCrB5 NcJI8EknL0AgsmIJ4SB1AJA1oXMbgP9A8DpMQpURMC8wDeAHkTaFfTWScANgTYAEgQQgAHBkmiAL gCAEYDZRY2ERML0EIChKsxEAT1A2EGYH0YxzbzXACsApLCBIYHcu8EwPTRNwCeBPUQQgZPctUADA TkBjUEAHQAMgBaDvNlEBoAhgBUAxEWAtcFWAvThAVQXwP9BUsBERKUjwXlMDcBFAB3NIUCcEIGXz L0ADoG5vBUBSL0LCUMB1TYBzAaBsLvBVwQWgbv0tMGNJcUhSBGAY0FHRA5HeMzZwBcAdgFOAbwtQ LvA5AJBtdTxRAwAIYHNsMnlI8EFiUVAKQHRlz12gWC9ZOFzRdHVUQS/R5UnidwBwdC476QHAPvfv CqI+9wpxJHwwKBEh4EQr/2MYQa9Cv0PPRN9F72m7O8vSOB2AJm5d8HACgD8I/CdhAUBp/2H/Yw9k H2UvP2xPZ09oX2uPan93fyBUr1HxAiBeYQWgbQqwbkpAd0ixBUBQsmc1YE9QU4ByPzXRA4FNoFFF YREEIFdpunoLEXNOFUjwerF5UcDXXt91sjawd1fhclHAP9D8bic2YlEQBcBJ4lSiUeJ8ZnV9IGCS B0BIUEpAIlVVUS02gC1R4S0G4Hj+Imyvbb9uykniLTBToX9/e3WyNdJJAjAEkC6kSPMn71SxEQBK 0VpjbV0AAwBP8IdeQEg0UeFtIHF1SFD9UJFliwADEHuhUWARMYgfm3WjgPJ5SGA1knVwUcB+YlVh AiB9MVeTkCBPI3L/guADAC7QUcMDoFSiU9GA4P9UsGFvcI9xn3Kvc790z3Xf/3bvd/95D5ffhS+G P28/lB//lS+WP5dPmF+Zb5p/m4+cn/9G7UrCXpAH4ADAAQBR0wWB/wQAL8KNsi1wkVBLVE4fTyP7 S1Au8G1KQIDQA6COL6eS/kNaEwRijLBala4FNrI2Af8FoJAgWjE2gWBBB5BKkTaQ+2DjCGBskZGN QFSwSkBhIn9VsrE/p5KwgjYQry5RwHD9DeBrUdMCIAeRe8VK0TYQ1jMRYAWxMR2AZEoxt283p5IE YC0weYRgANBrLf5nCsBhMUgRTzKN4pFBrXR/BGCuYluBTzK1UQVANjBr/7jSrSGtEUjherFgxLyv p5L/A/BUsREwrVQA0GBhAyB8qf+TT6Jvo3+kj6Wfpq+nv6jP/6nfqu/Kz57/oA+hH8cPyB//yS/K P8tPzF/Nb85/z4/cjP5HfGIKQLpQ1F/Vb9Z/14//2J/Zr9q/28/c393v5K/R///TD9Qf4O/h/+MP 5B/lL+Y/b+dP6F/pb968dUpAVvB1/7xgAjDuL+8/8E/xX/Jv838L9I8+EEwgMEtRVU83LfA+Zq5h eVowLjFBUoBHSU4tUklHIKD5NTAwcISQPuoKsRACQBX/QLNAcUEP/48fGxFgCWAAb9/1n/av978G h0CgaRzSJHxaNCVRRi3RXNF6AvAyrwrrHVEc8QaHLRJiTxdQ9mc1kMVRTVdgWgAu4BJjtw7NLBA+ AVI+6zWQZRtRrwaP68Y+EArrYgZpRrmg7G06Cawf4S8YKv55SIWgIE9sbXMuoGW50P/C7wgf7AIJ fhTvFf8XDxgffyKoLxC3ABoPGx8cJxnAaVW7wS8hEC8RkDA7IDH4OToyOyAgTyFfIm8jf/skj3pV byY/J08cJx3PHt+3H+Su4InXLbixTwBANTnqLkgAZHvRLotxKi8rP88sTy1fLm86VUNjMA8xHz8y LzhPOV86bzt/JQ51Yn5qWtE9nz6vP78zPx9dW6FUYF0gUmUD4EzfkP5rruKJcruwg2C0QbUBryL/ tXBN0UBPQV9Cb05PT19Qb/X8xjUBUS8P8kev7d/6z//73/zvVb8G/0oPCR8MpUdg/lAETw3JDT8O Tw9fEG8Rfd+JsLLRtEGL4LjAc5IgwrL7E5COAHd70sKyXQC8gIlx/03SthTBY7PyjUACkEkfXR// H+S98MCihHCQcFEfUi9TPO+PwbAgtMC+YGVncbuwutD7gQGs0SFtr26/Uz9yX3Nv/XR5QbAhfJJ9 YJJwaBC0AL+S0RLwxMNqj2ufH+RIrzV9EvBkuLAF8LyAsMC4wGziZpIgSSBqfPG5AcWAv8TCvICB U3Uvdj90THC2MPuK0GgTb8TRApCLccWAr1D/wIGwIHnPet8f5IrzfuGKUfpDuyByE5CRoLnQS6C2 MP3CwHONgYfwrQCvoEugZ1L/Z9F/P4BPb86IAZFxsCC1Af5jwWAmAbAkg/+FDx/kkkPffXGSsMTR N6C1AGZOD4pf73Q/kb+Sz5PaV7uRbSGs4Pe3EcThHWFhxYC0QHFArOC/ApB+4LbQu5Bw8a4jYobx /5eRje+O/x/kl8KIo9+wTKLtxNJxxUG1QHmUn5Wvk7z/tQHCwAKRsAC5wHEiaBBLoP5oeUKwwb4g Z1K/MqICmr+/m88f5I0mo5SZkbtjZ7Zx/7RQiKSe35/vk7xMomgTmZH/kVGwAJpjtuOeZaRvpX+m hv988YNANhF5QbRAtoCkEbUQP4xYvzGpH6ovi3+MiCQ5+C45OWcQsNbCQmbgmp93rz+wT8EAYcGD h/CYIWn7sRC/oHPFQYgwkY+z75Ov/7zvvf+/Chy0v8/A377vw18rxG/FeUQc8UIZ0Hdub3yCuC+5 Px/kdxLANVBzf0Zsxv/ID8Yfze/O/+ttZzp07Jk+0k/TX9RvIFmvZ6FnIHlhfSFycRBrTYK+LnGQ iUzsH+0ufcFhN6DdaVByTFN4sX1wdHxzyf/zyw8f5HVwjZHP79D/0g9f1a/Wv+Of5K/XWmGRYGm3 abA3UJ1Sb6hQ3KFibYD/foSs042ReUE1V2cRWBDd//ffD8wGg5Bo4N/h7+L/5p+v56/x3/Lv11o1 KZBtPLC/seGw4djQh2GNolTgZzyw/mKyse7QowFMora0TOBtAP0mEGi8vNpv23/sX+1vH+T+SYlP 8B/xL/TP9d8C3wPv/eg8bHiggyKjsKfA7uG8MLpuabBtzJGxwLxQYplg/G1hsWGNk5EgClCQ4P2P 8/6fnNVkZDYRZ0G8vwEv/wI/Bd8G7xEfEi8TPw6/D8+/Ff8UfxWPGZ8ar9elRwxQ/a4gSCYADeKG 0BaPF58Yr98cTx1fIl8jb9daQ7DTyVA/NfAhoQ4QCz8MTzTFU2/6bG2AaYbQqQ8gnyGvJU9/Jl8u jyyfLa8uvy/P13hX/4KSTODpILJwchz7b/x/fED/p9BxsX2wg5B5EghxhzGxwP+aE40xhpEozynf kAaCoX3Q/m1+ArJQriCC4jORMY8yn/8zrzS/Nc9eQcLwuyGaIkzR/WcgdKMBeKC8EGgQQHH6j/s4 z9usRe7hccF5gbf/Pb/5bHdndX1g3MGtkUayyXDvCVCdxLuwfJAsQK9Bv0LP/0PfRO/Xw5kxZ5J+ 44eAmKD/vIFnyH6TS89M3w1mcbGDgP99cEf/SQ/brWcBZuGnUG0D/8LiXrIAH1EfUi9TP1RP17Tj neK7kDU2a5lQ6VArYOvgkIMwbnGQYyuCfbBX3+9Y73vkCHGDkCenUDveP1PvVeJW8viQHqBCX19g b2F/32KPY5/Xw30Q6QJjndWCofc/wJiAfbBsVwFmz2ffDWXnT8H4MPdBTUL3xg5fbO//bf9vD3Af ea93v3jPed967//b6tzQh+CxwEaxmcCxoJCw/zwFoyGd4bwQscNzP3RPDWX+blXgdeFHoGlRspFm ULxj5CAqKEJnKpDzfI99n+9+r3+/gM/Xwyg7QQhwT0H/nbHpQLthVeKn0JfRP+ALEP8LL4VvaMfd leCBHrI7Ibshy1dCzIBnXHA/KVAPii//iz+MT41f17Q8UNhQKED4MH+CIh8iVyeQv5HP4BaQcWn+ eulgK5E7Yt1RnFKiQh9B/6PRCOE8YJCgRlCVX5Zvl39vmI+Zn9fDskFicvD41WR/CSH4UrvASyKc n52v/6Rw9x9Ag9KysGP4MOkgTkCQMP8OT6Kfo6+kv6XPr1+tb65/16+PsJ/XaVTC8Wug0LJP/7Nf tG+1f7aPux+5L7o/u0//vF/Xh8kiqP+qD/+kyWa97x++/8APwR/CL9fDS2F2ym/4cFRmQGhuK1Dp wP88gKGfx8/I38nvyv/QP85P/89f0G/Rf9WP05/Ur9hP1s/v6CzDz8Tf/6Rf4M/h3+Kqf9iv2b/a z9vf3O8IA+tJLf+bMaDA3j/fT2jVCvKTgjxw/z/g47/kz+Xf5u/n/+kP6hOqQPNZLpAwZFdBLgih f+2/7s/v3/Dv8f/d/1uyPI5B61RGIZAwZj0iXHBgdHA6Ly/0f/WDL3sK8qvRL+1yg7L92uoEIq/3 GeqQccA8YGTqkmaCcAEKYXR7SFlQRVLgTElOSyD9b/5//495AJ19fQIxgnCgwOsAXPBjZjFcgmD3 sPhHBB//BS8GP+mb+idcV9iADf/YfuQ5MvbQL0H3EPXf9u//9/8R/xMPFB8VLxY/F08YX88Zbxp/ W79czy0tGs8b3/Ec7E5BTT+g6n/rjyrvHyDvIf8jC59wXtJELiDqTwwAc0cwZagAJy8oP+Ec7ENv LU/GcKjAK1//LG8c7x3/Hw8gGC7fL+8w/HZQh3Aw8DokDyUfaNU2ADEyLTIzNy05+DY0NjTPNd8w /Onw7PJXOB85L2jGbiozQEFwbd+UUCam9Z88Tz1fIOKvRv//4u9DP0RPMTgM7z7vP//sj//tn0nf Su/zbwpv9Y9RD1If/zG//G8J/wsPDB8ArwG/As//A99bn1yvXb8IHwkvYa9iv/9jzw1vDn8PjxCf Ea9Wv1fPf28vcD9xT3Jfc290f3WFNcF2AS9GT05Udllr33/XwE3yejh3WE3jd19NVjcVbqJQbv4w WaEvQkwAT0NLUVVPVEV7eY99r2dsYU4Pgz9NgzXiOIBCT0RZbv1uoIS/hYdBN26xSFRNTHZQAn2J cB8ANRABAAAAegAAADwARQBBADEAMQBGADkANgBCADIAQQBCADcAMQAwADQANQBBAEIAOQA5ADkA RQAyAEMAMQAxADYANwBBAEQAOQBFADcAOQBBAEUAQABjAG0AMwA1ADEAMAAyAC0AYQAuAHMAbwB1 AGQAYQBuAHQALgBuAGUAdAA+AAAAAAAfAEcQAQAAAB4AAABtAGUAcwBzAGEAZwBlAC8AcgBmAGMA OAAyADIAAAAAAAsA8hABAAAAHwDzEAEAAABqAAAAUgBFACUAMwBBACAAWwBpAGMAXQAgAFIAZQAl ADMAQQAgAEwAbwBvAGsAaQBuAGcAIABmAG8AcgAgAGEAIABsAGkAcwB0ACAAbwBmACAAaABvAHMA dABzAC4ALgAuAC4ALgBFAE0ATAAAAAAACwD2EAAAAABAAAcwwAanK9F5wQFAAAgwEAAxZtJ5wQED AN4/6f0AAAMA8T8JCAAAHwD4PwEAAAAYAAAARwB1AHkAIABTAG8AdQBkAGEAbgB0AAAAAgH5PwEA AABaAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPVNPVURBTlQvT1U9RklSU1QgQURN SU5JU1RSQVRJVkUgR1JPVVAvQ049UkVDSVBJRU5UUy9DTj1HVVkAAAAfAPo/AQAAACoAAABTAHkA cwB0AGUAbQAgAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAAAAAAAIB+z8BAAAAHgAAAAAAAADc p0DIwEIQGrS5CAArL+GCAQAAAAAAAAAuAAAAAwD9P+QEAAADABlAAAAAAAMAGkAAAAAAAwAdQAAA AAADAB5AAAAAAB8AMEABAAAACAAAAEcAVQBZAAAAHwAxQAEAAAAIAAAARwBVAFkAAAAfADJAAQAA ADIAAABuAGEAdABoAGEAbgBAAG4AYQBtAGkAcwBvAGwAdQB0AGkAbwBuAHMALgBjAG8AbQAAAAAA HwAzQAEAAAAyAAAAbgBhAHQAaABhAG4AQABuAGEAbQBpAHMAbwBsAHUAdABpAG8AbgBzAC4AYwBv AG0AAAAAAB8AOEABAAAACAAAAEcAVQBZAAAAHwA5QAEAAAAEAAAALgAAAAsAKQAAAAAACwAjAAAA AAADAAYQoLT0xAMABxCuCQAAAwAQEAAAAAADABEQAAAAAB4ACBABAAAAZQAAAElBR1JFRVdJVEhO QVRIQU5ZT1VHRVRXSEFUWU9VUEFZRk9SSVZFQkVFTlVTSU5HU1VDSFNFUlZJQ0VTT0ZIT1NUSU5H UFJPVklERVJTQU5ESU5NT1NUQ0FTRVMoSVZFSEFEQUYAAAAAAgF/AAEAAAA9AAAAPEVBMTFGOTZC MkFCNzEwNDVBQjk5OUUyQzExNjdBRDlFNzlBRUBjbTM1MTAyLWEuc291ZGFudC5uZXQ+AAAAAC0o ------_=_NextPart_001_01C179D2.66001A10-- From: interchange-users at interchange.redhat.com (Gary Henderson) Date: Fri Nov 30 14:15:00 2001 Subject: [ic] Re: Looking for a list of hosts.... I agree about setting up with a money back guarantee. www.rackhost.net offers a 30 day money back guarantee with NO setup fee. It is packaged out of the box. Just go into the CP and click on cart and your ready to go. Gary Henderson Custom Business Solutions > From: "Guy Soudant" <guy@soudant.net> > Reply-To: interchange-users@interchange.redhat.com > Date: Fri, 30 Nov 2001 20:08:30 +0100 > To: <interchange-users@interchange.redhat.com> > Subject: RE: [ic] Re: Looking for a list of hosts.... > > I agree with Nathan. You get what you pay for. I've been using such > services of hosting providers and in most cases (I've had a few so far), > the speed is dramatic (all cost about 10 to 15 US dollars). Sometimes > it's even not advisable to connect with more than 3 or 4 people > simultaniously. Absolutely not a situation you want. > > The only company that had good performance so far was Wizardshosting. > They, however, don't offer you all the functionality "out-of-the-box" > you need for Interchange. You'll have to communicate with them quite > heavily to set everything up, but once it's up and running, then all is > well. > > I've now made the decision to stop using hosting providers and use my > own Cable modem connection to host a couple of sites. If you would > really want to use a hosting provider, pick the ones that have a 30 or > 14 day money-back-garantee and set up the demo store and test like a mad > man. Then you will see the actual performance. > > Good luck > > Guy Soudant > > -----Original Message----- > From: Nathan Olmscheid > Sent: Fri 30/11/2001 19:21 > To: interchange-users@interchange.redhat.com > Cc: > Subject: [ic] Re: Looking for a list of hosts.... > > > > In most cases, you get what you pay for....would like to hear > more about > this place, ya never no! > > As a person who is in the Hosting industry myself, I just hope > they don't > pull what other competitors have done. Charge ridiculously low > prices, get > thousands of clients and then sell them off. > > We are not the cheapest, nor do we plan to be. We are priced for > the quality > of our service, which in my eyes, and our clients eyes, we have > great prices > for what we offer. We want quality customers instead of > thousands and > thousands of $9.99 customers. Those customers take a lot time > usually. > > Nathan > > Dan Browning writes: > >>> You can try rackhost.net I am working on setting up an >>> affiliate program but they offer an interchange cart with >>> 500mb of storage and 15gb bandwich for $9.99 a month. It >>> also comes with unlimited subdomains and email addersses. >>> >>> Gary Henderson >>> Custom Business Solutions >> >> What a find! However, it is so hard to believe that I must > say there >> has to be a catch somewhere. Either these guys wont be around > for long, >> or you don't really get what they advertise. It costs more > than that >> for a 56k dialup connection, so it's hard to believe that you > get 15 GB >> traffic for that much, let alone 500MB storage. >> >> I would be pleased to be informed of anyone who is actually > *using* them >> (it sounded like you were still setting up Gary, is that > right?), >> because I wonder what the utilization is on the servers, as > well as >> usable bandwidth and other performance figures. >> >> Thanks, >> >> Dan Browning >> Kavod Technologies >> >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > -- > NAMI Solutions > Nathan D. Olmscheid > Co-Owner > - > Phone: 612-237-9646 > e-mail: nathan@namisolutions.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 30 14:35:01 2001 Subject: [ic] European Date Search - accomplished that is 100% Quoting Michelle Wilant (michelle@wilant.com): > Actually, also on the note of sql queries: Why was it that explicit > queries were not used in the first place? The general user base not > having a high amount of sql knowledge? Some other reasons? Just > curious. > Because Interchange predated freely-available SQL databases and DBI. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 30 14:44:00 2001 Subject: [ic] Re: Looking for a list of hosts.... This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C179AD.546B3620 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0012_01C179AD.546B3620" ------=_NextPart_001_0012_01C179AD.546B3620 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable [ic] Re: Looking for a list of hosts....A lot of web hosts use Cpanel as = a way for customers to control their sites. Cpanel automatically = includes Interchange as shopping cart. Many of them have no idea how = Interchange works and they have 200-400 sites on 1 server. Imagine what = would happen if all accounts on that server would setup a catalog and = start using it. Before we started hosting we also used several hosting companies that = feature Interchange as shopping cart. Like Korksoft, they do not offer = any support for Interchange and many of them charge extra for e.g. to = setup the Encryption for your e-mail orders. You need Root access to do = this. We do offer Interchange on the E-commerce plans and we keep them to a = max. of 10 per server.=20 So, shop around for a host that knows about Interchange. Ask them a few = questions (such as extra charges) about the program before signing up. = This will tell if they know about how Interchange works or not. Anton ******************** Web hosting & E-Commerce Development AddAction.net E-mail: info@addaction.net www.addaction.net=20 -----Original Message----- From: Guy Soudant = [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Guy = Soudant Sent: Friday, November 30, 2001 2:09 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Re: Looking for a list of hosts.... I agree with Nathan. You get what you pay for. I've been using such = services of hosting providers and in most cases (I've had a few so far), = the speed is dramatic (all cost about 10 to 15 US dollars). Sometimes = it's even not advisable to connect with more than 3 or 4 people = simultaniously. Absolutely not a situation you want. The only company that had good performance so far was Wizardshosting. = They, however, don't offer you all the functionality "out-of-the-box" = you need for Interchange. You'll have to communicate with them quite = heavily to set everything up, but once it's up and running, then all is = well. I've now made the decision to stop using hosting providers and use my = own Cable modem connection to host a couple of sites. If you would = really want to use a hosting provider, pick the ones that have a 30 or = 14 day money-back-garantee and set up the demo store and test like a mad = man. Then you will see the actual performance. Good luck Guy Soudant ------=_NextPart_001_0012_01C179AD.546B3620 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable =EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>[ic] Re: Looking for a list of hosts....</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD> <BODY dir=3Dltr> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN = class=3D206503319-30112001>A=20 lot of web hosts use Cpanel as a way for customers to control their = sites.=20 Cpanel automatically includes Interchange as shopping cart. Many of them = have no=20 idea how&nbsp;Interchange works and they have 200-400 sites on 1 server. = Imagine=20 what would happen if all accounts on&nbsp;that&nbsp;server would setup a = catalog=20 and start using it.</SPAN></FONT></DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001>Before we started hosting we also used = several hosting=20 companies that feature Interchange as shopping cart. Like Korksoft, they = do not=20 offer any support for Interchange and many of them charge extra for e.g. = to=20 setup the Encryption for your e-mail&nbsp;orders. You need Root access = to do=20 this.</SPAN></FONT></DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN = class=3D206503319-30112001>We=20 do offer Interchange on the E-commerce plans and we keep&nbsp;them to a = max. of=20 10 per server.&nbsp;</SPAN></FONT></DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN = class=3D206503319-30112001>So,=20 shop around for a host that knows about Interchange. Ask them a few=20 questions&nbsp;(such as extra charges) about the program before signing = up. This=20 will tell if they know about how Interchange works or = not.</SPAN></FONT></DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001>Anton</SPAN></FONT></DIV> <DIV><FONT face=3DVerdana color=3D#0000ff size=3D2><SPAN=20 class=3D206503319-30112001></SPAN></FONT>&nbsp;</DIV> <DIV><FONT><SPAN class=3D206503319-30112001> <P><FONT face=3DVerdana color=3D#0000ff = size=3D2>********************<BR></FONT></P> <P><SPAN class=3D206503319-30112001></SPAN><FONT face=3DVerdana = color=3D#0000ff=20 size=3D2>W<SPAN class=3D206503319-30112001>eb hosting &amp; E-Commerce=20 Development</SPAN><BR>AddAction.net<BR>E-mail:=20 info@addaction.net<BR>www.addaction.net </FONT></P></SPAN></FONT></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> Guy Soudant=20 [mailto:interchange-users-admin@interchange.redhat.com]<B>On Behalf Of = </B>Guy=20 Soudant<BR><B>Sent:</B> Friday, November 30, 2001 2:09 = PM<BR><B>To:</B>=20 interchange-users@interchange.redhat.com<BR><B>Subject:</B> RE: [ic] = Re:=20 Looking for a list of hosts....<BR><BR></FONT></DIV> <DIV>I agree with Nathan. You get what you pay for. I've been using = such=20 services of hosting providers and in most cases (I've had a few so = far), the=20 speed is dramatic (all cost about 10 to 15 US dollars). Sometimes it's = even=20 not advisable to connect with more than 3 or 4 people simultaniously.=20 Absolutely not a situation you want.</DIV> <DIV>&nbsp;</DIV> <DIV>The only company that had good performance so far was = Wizardshosting.=20 They, however, don't offer you all the functionality = "out-of-the-box"&nbsp;you=20 need for Interchange. You'll have to communicate with them quite = heavily to=20 set everything up, but once it's up and running, then all is = well.</DIV> <DIV>&nbsp;</DIV> <DIV>I've now made the decision to stop using hosting providers and = use my own=20 Cable modem connection to host a couple of sites. If you would really = want to=20 use a hosting provider, pick the ones that have a 30 or 14 day=20 money-back-garantee and set up the demo store and test like a mad man. = Then=20 you will see the actual performance.</DIV> <DIV>&nbsp;</DIV> <DIV>Good luck</DIV> <DIV>&nbsp;</DIV> <DIV>Guy Soudant</DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV><FONT = size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML> ------=_NextPart_001_0012_01C179AD.546B3620-- ------=_NextPart_000_0011_01C179AD.546B3620 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IgkTAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHCwAeAA4AKwAAAAUAPwEB A5AGAOQDAAAeAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAApAAAAW2ljXSBSZTogTG9va2luZyBmb3IgYSBsaXN0IG9mIGhvc3RzLi4uLgAA AAACAXEAAQAAACAAAAABwXnPRuCzZMOpF0JINrXTZYVdtWCvAAB5Mo0AATEKoAIBHQwBAAAAGwAA AFNNVFA6QVZEUExBU0BBRERBQ1RJT04uQ09NAAALAAEOAAAAAEAABg4A+ow313nBAQIBCg4BAAAA GAAAAAAAAACPbz6xr1EwRosoybepL7TEwoAAAB4AQhABAAAAPQAAADxFQTExRjk2QjJBQjcxMDQ1 QUI5OTlFMkMxMTY3QUQ5RTc5QUVAY20zNTEwMi1hLnNvdWRhbnQubmV0PgAAAAALAACACCAGAAAA AADAAAAAAAAARgAAAAADhQAAAAAAAAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAH gAggBgAAAAAAwAAAAAAAAEYAAAAAUoUAALZ0AQAeAAmACCAGAAAAAADAAAAAAAAARgAAAABUhQAA AQAAAAQAAAA5LjAACwANgAggBgAAAAAAwAAAAAAAAEYAAAAAgoUAAAEAAAAeAA6ACCAGAAAAAADA AAAAAAAARgAAAACDhQAAAQAAABMAAAAyMDY1MDMzMTktMzAxMTIwMDEAAAsAWIAIIAYAAAAAAMAA AAAAAABGAAAAAAaFAAAAAAAAAwBZgAggBgAAAAAAwAAAAAAAAEYAAAAAAYUAAAAAAAALAGKACCAG AAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMAY4AIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAAAAAA AwBlgAggBgAAAAAAwAAAAAAAAEYAAAAAGIUAAAAAAAACAfgPAQAAABAAAACPbz6xr1EwRosoybep L7TEAgH6DwEAAAAQAAAAj28+sa9RMEaLKMm3qS+0xAIB+w8BAAAAhwAAAAAAAAA4obsQBeUQGqG7 CAArKlbCAABQU1RQUlguRExMAAAAAAAAAABOSVRB+b+4AQCqADfZbgAAAEM6XERvY3VtZW50cyBh bmQgU2V0dGluZ3NcREVMTFxBcHBsaWNhdGlvbiBEYXRhXE1pY3Jvc29mdFxPdXRsb29rXG1haWxi b3gucHN0AAADAP4PBQAAAAMADTT9NwAAAgF/AAEAAAA1AAAAPERBRUdJTENJRUdOSUpISk9CTEpG RUVLUERFQUEuYXZkcGxhc0BhZGRhY3Rpb24uY29tPgAAAABUuA== ------=_NextPart_000_0011_01C179AD.546B3620-- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 30 15:07:01 2001 Subject: [ic] Hosts with Interchange A lot of web hosts use Cpanel as a way for customers to control their sites. Cpanel automatically includes Interchange as shopping cart. Many of them have no idea how Interchange works and they have 200-400 sites on 1 server. Imagine what would happen if all accounts on that server would setup a catalog and start using it. Before we started hosting we also used several hosting companies that feature Interchange as shopping cart. Like Korksoft, they do not offer any support for Interchange and many of them charge extra for e.g. to setup the Encryption for your e-mail orders. You need Root access to do this. We do offer Interchange on the E-commerce plans and we keep them to a max. of 10 per server. So, shop around for a host that knows about Interchange. Ask them a few questions (such as extra charges) about the program before signing up. This will tell if they know about how Interchange works or not. Anton ******************** Web hosting & E-Commerce Development AddAction.net E-mail: info@addaction.net www.addaction.net -----Original Message----- From: Guy Soudant [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Guy Soudant Sent: Friday, November 30, 2001 2:09 PM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Re: Looking for a list of hosts.... I agree with Nathan. You get what you pay for. I've been using such services of hosting providers and in most cases (I've had a few so far), the speed is dramatic (all cost about 10 to 15 US dollars). Sometimes it's even not advisable to connect with more than 3 or 4 people simultaniously. Absolutely not a situation you want. The only company that had good performance so far was Wizardshosting. They, however, don't offer you all the functionality "out-of-the-box" you need for Interchange. You'll have to communicate with them quite heavily to set everything up, but once it's up and running, then all is well. I've now made the decision to stop using hosting providers and use my own Cable modem connection to host a couple of sites. If you would really want to use a hosting provider, pick the ones that have a 30 or 14 day money-back-garantee and set up the demo store and test like a mad man. Then you will see the actual performance. Good luck Guy Soudant From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Fri Nov 30 15:13:01 2001 Subject: [ic] ASP like Perl Ok So I figured out how to pull fields from a table but now Im having a problem of a different sort, I want to pull all the fields that match the criteria but it only displays the last entry in tha table. any suggestions? My Query --------------------- [query sql="SELECT variable, value from table001 where variable = 'cont' " type=list more=1 ml=10] [on_match] Matched<br> <table border="1"> <tr> [/on_match] [no_match]Not Found<br>[/no_match] [list] <td>[sql-param value]</td> [/list] [on_match] </tr></table> [/on_match] [more_list] [more] [/more_list] [/query] ------------------ My Table ------------ variable value cont Panel Thickness cont .040" - .057" cont .040" - .110" cont Punched Hole cont .358" - .353" sq. cont .377" - .375" sq. ------------------ From: interchange-users at interchange.redhat.com (Kirill Sapelkin) Date: Fri Nov 30 15:24:00 2001 Subject: [ic] newbie mysql snag Hello ! Installing Interchange 4.8.3 on Linux Slackware, tripped up when trying to use mysql. It installs fine using if no SQL is selected. bin/makecat dialog that has to do with creation of mysql database test_foundation is below marked DIALOG makecat. bin/makecat creates the test_foundation database but does not create tables and does not populate them. Running bin/restart yields error messages included below marked DIALOG restart. I'll bet I didn't set permissions right somewhere. I tried installing as root and as interchange. Grateful for any help. Kirill DIALOG makecat: Since you selected the MySQL option, you need to create a database named "test_foundation". In a default MySQL configuration, any user may create and drop and modify test_* databases, but some administrators disable this. done. done. Copying share/ files to /var/www/htdocs..................... Error installing share/ files: Copy of ./interchange/sv_SE/A1.gif to /var/www/htdocs/interchange/sv_SE/A1.gif failed: Permission denied Moving HTML files to /var/www/htdocs/foundation.............done. Moving image files to /var/www/htdocs/foundation/images.....done. Found additional system commands to run. We need to make some directories to store sessions, logs, and such. You can install some sample data to start with in this catalog. This script will install the sample (tools) you selected. Deleting old configuration foundation. Done with installation. If my reading of your input is correct, you should be able to access the demo catalog with the following URL: http://kirill/foundation In any case, you should get direct access at: http://kirill/cgi-bin/foundation That is, after you START or RESTART the Interchange server. 8-) It is best done with: /usr/local/interchange/bin/interchange -r For session expiration, you might want to place a line like this in your crontab: 44 4 * * * /usr/local/interchange/bin/expireall -r It will prevent the session databases from getting too large. *********************************** DIALOG restart: Killing Interchange server 9425 with TERM. Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.3 Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation...table 'country' failed: DBD::mysql::st execute failed: Table 'test_foundation.country' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'gift_certs' failed: DBD::mysql::st execute failed: Table 'test_foundation.gift_certs' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'userdb' failed: DBD::mysql::st execute failed: Table 'test_foundation.userdb' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'options' failed: DBD::mysql::st execute failed: Table 'test_foundation.options' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'affiliate' failed: DBD::mysql::st execute failed: Table 'test_foundation.affiliate' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'cat' failed: DBD::mysql::st execute failed: Table 'test_foundation.cat' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'pricing' failed: DBD::mysql::st execute failed: Table 'test_foundation.pricing' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'state' failed: DBD::mysql::st execute failed: Table 'test_foundation.state' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'area' failed: DBD::mysql::st execute failed: Table 'test_foundation.area' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'merchandising' failed: DBD::mysql::st execute failed: Table 'test_foundation.merchandising' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'orderline' failed: DBD::mysql::st execute failed: Table 'test_foundation.orderline' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'inventory' failed: DBD::mysql::st execute failed: Table 'test_foundation.inventory' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'order_returns' failed: DBD::mysql::st execute failed: Table 'test_foundation.order_returns' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'transactions' failed: DBD::mysql::st execute failed: Table 'test_foundation.transactions' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. table 'products' failed: DBD::mysql::st execute failed: Table 'test_foundation.products' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1370. foundation config error: products not a database, cannot use as products file foundation: error in configuration. Skipping. foundation: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 9430) Kirill Sapelkin znanie@best.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 30 16:00:00 2001 Subject: [ic] newbie question (£) How do i change the price from $ to £? cheers From: interchange-users at interchange.redhat.com (Steve Graham) Date: Fri Nov 30 16:07:00 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 Regarding upgradefrom 4.8.2 to 4.8.3: Does this achieve the same result: rpm --upgrade interchange-4.8.3-1.noarch.rpm Thanks, Steve >From: Mike Heins <mheins@redhat.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 >Date: Thu, 29 Nov 2001 19:49:25 -0500 > >Quoting juan@moshpitt.com (juan@moshpitt.com): > > Hi all, > > > > I would like to know what is the safest manner in which to upgrade from > > 4.8.2 to 4.8.3. without having to delete my current catalog and or >change my > > SQL database, where data from version 4.8.2 resides? I don't have CVS > > installed. I tried to install CVS , but to no avail. If anyone can >help > > on what steps to take in reference to the above said question I would >gladly > > appreciate it. To an addition, I would also like to know how I can keep > > up-to date with new stable releases of interchange and some how have the > > newer version some how automatically implemented to a prior installed > > version ( something like an automated update command or process). > >Pretty simple. > > 1. Back up your current interchange software directory. > > 2. Get the .tar.gz file and install, using the same > interchange root. > > 3. Restart. > >That should be it. The backup is theoretically not necessary >if you haven't changed any of the distribution files, but I >recommend it anyway. > >There is a regular procedure in the distribution file UPGRADE, >which is supposed to answer this question. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >People who want to share their religious views with you >almost never want you to share yours with them. -- Dave Barry >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Nov 30 16:12:00 2001 Subject: [ic] Internationalization > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > > > Which countries/languages are supported for > > internationalization of IC out of the box? I understand that > > for pricing that 'setlocale' is used which can handle many > > different currencies; however I'd like to know which > > languages are also supported in the admin interface as well > > as the foundation demo. > > > > Thank you, > > -Ron > > Doesn't anyone do their own homework anymore? 4.8.3 Admin interface has > these translations out of the box: I searched the online docs, for things like locale, internationalization, german, etc... the following were returned Locale, LocaleDatabase, Euro Pricing, Internationlization, and Interchange Locale Settings, none of which showed a list of the included translations. The WHATSNEW file showed the newly added translations (Portuguese, Hebrew, Japanese), but did not contain a list of all of the translations. A search of the list had many questions about Locale and even a question if Portuguese existed, but a list of the included translations was not found. I *try* to find my answers before I post a question to the list and I apologize if this was easily found, I looked and could not find it. If you could provide where you found these answers I will add it to my search path next time I have a question. > Dansk > Deutsch > English > Hebrew > Japanese > Nederlands > Português > Svenska > > But there is not artificial limit on what you can translate (I think it > rather more depends on perl, no?). (Heck, if Japanese is possible, > *anything* is possible). That's good to hear. I did find that it uses 'setlocale' which I assume is a Perl library for handling different currencies. I'll look into this further to see if it will do as the client needs it to. > > HAND, > > Dan Browning > Kavod Technologies Take it easy Dan and thanks for the help, -Ron From: interchange-users at interchange.redhat.com (Dave Jenkins) Date: Fri Nov 30 16:45:01 2001 Subject: [ic] Internationalization Ron Phipps wrote: > That's good to hear. I did find that it uses 'setlocale' which I assume > is a Perl library for handling different currencies. I'll look into > this further to see if it will do as the client needs it to. > Take it easy Dan and thanks for the help, > -Ron > Ron, What are you looking for specifically? Help with multiple currencies? A specific language? There may be some things we know about here in the office that are not readily apparent in the docs or on the list... Dave -- ---------- Dave Jenkins Engagement Manager Professional Services djenkins@redhat.com 703.456.2944 ---------- From: interchange-users at interchange.redhat.com (Juan) Date: Fri Nov 30 16:48:26 2001 Subject: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 I really can't tell you since I pretty new to interchange and I installed my software as root manual. Regards, Juan ----- Original Message ----- From: Steve Graham <dtlgc@hotmail.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 30, 2001 8:55 PM Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > Regarding upgradefrom 4.8.2 to 4.8.3: > > Does this achieve the same result: > > rpm --upgrade interchange-4.8.3-1.noarch.rpm > > Thanks, > Steve > > >From: Mike Heins <mheins@redhat.com> > >Reply-To: interchange-users@interchange.redhat.com > >To: interchange-users@interchange.redhat.com > >Subject: Re: [ic] RE: How to upgrade from 4.8.2 to 4.8.3 > >Date: Thu, 29 Nov 2001 19:49:25 -0500 > > > >Quoting juan@moshpitt.com (juan@moshpitt.com): > > > Hi all, > > > > > > I would like to know what is the safest manner in which to upgrade from > > > 4.8.2 to 4.8.3. without having to delete my current catalog and or > >change my > > > SQL database, where data from version 4.8.2 resides? I don't have CVS > > > installed. I tried to install CVS , but to no avail. If anyone can > >help > > > on what steps to take in reference to the above said question I would > >gladly > > > appreciate it. To an addition, I would also like to know how I can keep > > > up-to date with new stable releases of interchange and some how have the > > > newer version some how automatically implemented to a prior installed > > > version ( something like an automated update command or process). > > > >Pretty simple. > > > > 1. Back up your current interchange software directory. > > > > 2. Get the .tar.gz file and install, using the same > > interchange root. > > > > 3. Restart. > > > >That should be it. The backup is theoretically not necessary > >if you haven't changed any of the distribution files, but I > >recommend it anyway. > > > >There is a regular procedure in the distribution file UPGRADE, > >which is supposed to answer this question. > > > >-- > >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > >phone +1.513.523.7621 <mheins@redhat.com> > > > >People who want to share their religious views with you > >almost never want you to share yours with them. -- Dave Barry > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 16:53:01 2001 Subject: [ic] =?iso-8859-1?Q?RE:_=5Bic=5D_newbie_question_=28=A3=29?= > How do i change the price from $ to £? > > cheers What is the meaning of life? Please keep the answers as simple as possible, it hurts when I think. And, no RTFM's, please. cheers PS. Also, this Hooked-on-Phonix thing is tough, will someone do my homework for me? Thanx. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 16:56:01 2001 Subject: [ic] Internationalization > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > > > > > Which countries/languages are supported for > internationalization of > > > IC out of the box? I understand that for pricing that > 'setlocale' > > > is used which can handle many different currencies; > however I'd like > > > to know which languages are also supported in the admin > interface as > > > well as the foundation demo. > > > > > > Thank you, > > > -Ron > > > > Doesn't anyone do their own homework anymore? 4.8.3 Admin interface > has > > these translations out of the box: > > I searched the online docs, for things like locale, > internationalization, german, etc... the following were > returned Locale, LocaleDatabase, Euro Pricing, > Internationlization, and Interchange Locale Settings, none of > which showed a list of the included translations. The > WHATSNEW file showed the newly added translations > (Portuguese, Hebrew, Japanese), but did not contain a list of > all of the translations. A search of the list had many > questions about Locale and even a question if Portuguese > existed, but a list of the included translations was not > found. I *try* to find my answers before I post a question > to the list and I apologize if this was easily found, I > looked and could not find it. If you could provide where you > found these answers I will add it to my search path next time > I have a question. :-) I guess I assumed that you had tried out 4.8.2 or 4.8.3, but not everybody has. They now come with a drop-down selection of which language you want at login (admin/login.html). All I did was copy the <OPTION> lines. HAND (Have a nice day), Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 16:59:01 2001 Subject: [ic] ASP like Perl > Ok So I figured out how to pull > fields from a table but now Im > having a problem of a different sort, > > I want to pull all the fields that match the criteria > but it only displays the last entry in tha table. > any suggestions? > > > My Query > --------------------- > [query sql="SELECT variable, value from table001 where > variable = 'cont' " > type=list This is just a shot in the dark, but maybe... list=1 HTH, Dan Browning Kavod Technologies > more=1 > ml=10] > > [on_match] > Matched<br> > <table border="1"> > <tr> > [/on_match] > > [no_match]Not Found<br>[/no_match] > [list] > <td>[sql-param value]</td> > [/list] > > > > [on_match] > </tr></table> > [/on_match] > [more_list] > [more] > [/more_list] > [/query] > ------------------ > > My Table > ------------ > variable value > cont Panel Thickness > cont .040" - .057" > cont .040" - .110" > cont Punched Hole > cont .358" - .353" sq. > cont .377" - .375" sq. > ------------------ > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 30 17:07:00 2001 Subject: [ic] RE: [ic] newbie question (£) sorry but i have spent the last hour trying to get an answer somewhere - the online manuals are, in a word, CRAP. and i really don't know where to change $ to £ - i've be trying trial and error but as you can expect the results are very unpredictable. ----- Original Message ----- From: "Dan Browning" <danpb@mail.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, November 30, 2001 9:53 PM Subject: [ic] RE: [ic] newbie question (£) > How do i change the price from $ to £? > > cheers What is the meaning of life? Please keep the answers as simple as possible, it hurts when I think. And, no RTFM's, please. cheers PS. Also, this Hooked-on-Phonix thing is tough, will someone do my homework for me? Thanx. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Fri Nov 30 17:16:01 2001 Subject: [ic] Looking for a list of hosts.... "Jillian Carroll" <jillian@koskie.com> writes: > Is there a list anywhere of potential hosts he could check out? There used to be such a list back in the minivend 3 days. That list is either gone or hopelessly out of date. I volunteered to maintain such a list again; however, I only had like 3 submissions. Anyway, since RedHat's in the hosting business themselves I doubt they would be open to sponsoring an "official" list anywhere on the Official Interchange site. This is one of those times when a recognized community run site would be handy. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 17:20:01 2001 Subject: [ic] =?iso-8859-1?Q?RE:_=5Bic=5D_RE:_=5Bic=5D_newbie_question_=28=A3=29?= > sorry > > but i have spent the last hour trying to get an answer > somewhere - the online manuals are, in a word, CRAP. > > > > and i really don't know where to change $ to £ - i've be > trying trial and error but as you can expect the results are > very unpredictable. <interchange-users guidelines> -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. </interchange-users guidelines> Well, I'm glad you are persistent enough to keep asking. Are you saying you've already read the following in its entirety? http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_41.html Note: Locale en_US currency_symbol $ Locale fr_FR currency_symbol £ HTH, Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Fri Nov 30 17:25:00 2001 Subject: [ic] calling specific sku I am a newbie so if this is really stupid, sorry. I have searched the pdf's and the IC website but haven't found the info I need. I am using IC 4.8.1 in what seems to be it's native state of dynamically creating pages. However, I do need some static pages that will sell items also. how would I use- [if-item-data inventory quantity < 1] to instead check a specific sku. I will have a few of these on the same page in slightly different forms. I tried [if-[im0003]-data inventory quantity < 1] and [if-im0003-data inventory quantity < 1] and others that are similar. I have been very successful in the dynamic portion of the website, but because of many issues I still need a few static pages. I tried the "button builder" in the IC_UI. I didn't understand what it's use is. I know what it does, but why does it use a different version of the shopping cart? Anyways, I don't want to use that because I will also be having a quantity "input". I spent all day on this and haven't gotten anywhere. Also, does anybody know if the "Documentation set" is different than the pdfs on the IC website? Thanks Paul Jordan From: interchange-users at interchange.redhat.com (Paul Jordan) Date: Fri Nov 30 17:29:01 2001 Subject: [ic] IC tutor in So Cal needed If someone lives near Pasadena in Southern California and wants to make some cash, I could use a few basic lessons Thanks!! go ahead and email me off list- Paul Jordan From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Nov 30 17:33:01 2001 Subject: [ic] Internationalization > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > <--- SNIP ---> > > > > I searched the online docs, for things like locale, > > internationalization, german, etc... the following were > > returned Locale, LocaleDatabase, Euro Pricing, > > Internationlization, and Interchange Locale Settings, none of > > which showed a list of the included translations. The > > WHATSNEW file showed the newly added translations > > (Portuguese, Hebrew, Japanese), but did not contain a list of > > all of the translations. A search of the list had many > > questions about Locale and even a question if Portuguese > > existed, but a list of the included translations was not > > found. I *try* to find my answers before I post a question > > to the list and I apologize if this was easily found, I > > looked and could not find it. If you could provide where you > > found these answers I will add it to my search path next time > > I have a question. > > :-) I guess I assumed that you had tried out 4.8.2 or 4.8.3, but not > everybody has. No problem, we actually had 4.8.1 setup for a client, but had to revert back to 4.6.3 in a pinch. My next step was to install 4.8.x again to see what was supported, thanks for the quicker answer ;) > They now come with a drop-down selection of which language you want at > login (admin/login.html). All I did was copy the <OPTION> lines. > > HAND (Have a nice day), > Dan Browning > Kavod Technologies Thanks Dan, take it easy. -ron From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Nov 30 17:35:35 2001 Subject: [ic] Internationalization > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > > Ron Phipps wrote: > > That's good to hear. I did find that it uses 'setlocale' which I assume > > is a Perl library for handling different currencies. I'll look into > > this further to see if it will do as the client needs it to. > > > Take it easy Dan and thanks for the help, > > -Ron > > > > Ron, > > What are you looking for specifically? Help with multiple currencies? > A specific language? There may be some things we know about here in the > office that are not readily apparent in the docs or on the list... > > Dave Hello Dave, I was originally looking for which translations are included 'out-of-the-box' for the error messages and UI. A client had asked if Turkish was available and I was looking for that information. Dan replied with a list of translations that come with IC 4.8.3 and it answered my question :) I think to start out with I need to look into setlocale to make sure it can handle Turkish currency (not sure what the currency is called) then go from there with investigating how to build a translation for Turkey. Thanks for your help, -Ron From: interchange-users at interchange.redhat.com (Anton Vandeplas) Date: Fri Nov 30 17:39:00 2001 Subject: [ic] Interchange Forum Hi, Doug I agree, "This is one of those times when a recognized community run site would be handy. We are prepared to sponsor a Forum for Interchange if there is enough interest. We use VBullitin. It would be easier to post and search for solutions to problems and it would be independent from Redhat. Anton ******************** AddAction.net PO Box 640962 Beverly Hills FL. 34465 United States of America Phone: +1-352-527-1134 Toll Free: 1-877-HOST-ME-2 Fax: +1-352-527-4489 E-mail: info@addaction.net www.addaction.net From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 17:44:01 2001 Subject: [ic] Internationalization > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > > > Ron Phipps wrote: > > > That's good to hear. I did find that it uses 'setlocale' which I > assume > > > is a Perl library for handling different currencies. > I'll look into > > > this further to see if it will do as the client needs it to. > > > > > Take it easy Dan and thanks for the help, > > > -Ron > > > > > > > Ron, > > > > What are you looking for specifically? Help with multiple > currencies? > > A specific language? There may be some things we know about here in > the > > office that are not readily apparent in the docs or on the list... > > > > Dave > > Hello Dave, > > I was originally looking for which translations are included > 'out-of-the-box' for the error messages and UI. A client had > asked if Turkish was available and I was looking for that > information. Dan replied with a list of translations that > come with IC 4.8.3 and it answered my question :) I think to > start out with I need to look into setlocale to make sure it > can handle Turkish currency (not sure what the currency is > called) then go from there with investigating how to build a > translation for Turkey. > > Thanks for your help, > -Ron Another good resource is the interchange-i18n list: http://interchange.redhat.com/mailman/listinfo/interchange-i18n Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 30 17:52:01 2001 Subject: [ic] Testing maximal connects On Fri, 30 Nov 2001, Thomas Dan Otto wrote: TDO>>I want to know, how much people can use the shop in the same time and TDO>>then how the performance is. An unlimited number of people (almost) can use the store at the same time. Performance is dependent on the speed of the computer(s) you are using and the bandwidth of your connection. TDO>>But I got a problem: TDO>>When i.e. 15 people work on the shop, the basket is empty, when I want TDO>>to pay - why? I don't see what this has to do with performance, but possibly you don't have cookies enabled. TDO>>(To simulate the test, I write a perl script, that reads out the first TDO>>page, sleep two seconds, and then reread the first page and that 15 TDO>>scripts parallel) That's not a fair test! The users are going to download a page. Sometimes they click on to the next page, but many times they are going to pause to read the page that they are on. And sometimes that page sits there while they go to get a beer, or get rid of a beer. It's also going to depend on the speed of their connection to your store. A dozen people connected via 56k modems will get served in a shared mode. Feed a little to user A until his stream is full, feed to user B until his stream is full, user C, user D, etc, and then go back to see who is ready for some more. This is also going to depend on the lag time across the internet between each user and your store. I monitor such things with MRTG to keep track of loading. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 30, 2001 at 17:40 PM: If God wanted us to do Hex we'd have 16 fingers ---------------------------------------------------------------- This Linux System has been up 122 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 30 17:55:01 2001 Subject: [ic] Greetings and one question On Fri, 30 Nov 2001, sysMatrix wrote: s>>I don't need a lengthy explanation. Just whether or not it can be done Yes, it can. (I hope that's not too lengthy (-: ) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 30, 2001 at 17:50 PM: Even in this corner of the galaxy, Captain, 2+2=4 ... Spock ---------------------------------------------------------------- This Linux System has been up 122 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 17:57:31 2001 Subject: [ic] Looking for a list of hosts.... > "Jillian Carroll" <jillian@koskie.com> writes: > > > Is there a list anywhere of potential hosts he could check out? > > There used to be such a list back in the minivend 3 days. > That list is either gone or hopelessly out of date. I > volunteered to maintain such a list again; however, I only > had like 3 submissions. > > Anyway, since RedHat's in the hosting business themselves I > doubt they would be open to sponsoring an "official" list > anywhere on the Official Interchange site. This is one of > those times when a recognized community run site would be handy. > -- > (__) Doug Alcorn (mailto:doug@lathi.net I disagree. I would be surprised if that really was the reason ic.redhat.com doesn't maintain an official list. If they did have a list of "competitors", it would be an opportunity to show why official Red Hat hosting (& partnered Rackspace.com hosting) is "head and shoulders" above the rest. That way people could clearly see "oh, the inexpensive ones are over here, but the good ones are over there". I mean, there are people here on the 9.95/mo and cable modem hosting, which is fine when it's a one-man-show type store. But for bigger businesses, Red Hat and other business (*ahem* *ahem*) use Enterprise-class hosting, which is Tier-1 co-located or dedicated boxen. We host our Intel boxen at Inflow, which some say is the Cadillac of hosting. For example, most AT&T network customers (e.g. @home users) have a 9 millisecond (!!!) latency to our servers (try pinging www.diabeticsupplies.com and compare it to google.com or others). Similarly, people who come from UUNET or Genuity backbones get low latency connections because the data center we're at has 3 (count 'em, 3) OC-48's connecting to each backbone, load-balanced BGP style. So AOL customers (AOL uses UUNET) come in through the fastest route, which is the OC-48 with UUNET. What I mean to say is that I don't think Red Hat would hurt from putting such a list up, because it is like comparing Apples to Oranges. There are different needs for different markets. On the other side of the same coin, I am not opposed to a community site, since I don't think it will hurt things at all (plus, it may allay some of the conspiracy theories). ;-) Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Nov 30 18:00:01 2001 Subject: [ic] Testing maximal connects > On Fri, 30 Nov 2001, Thomas Dan Otto wrote: > > TDO>>I want to know, how much people can use the shop in the > same time > TDO>>and then how the performance is. > > An unlimited number of people (almost) can use the store at > the same time. > > Performance is dependent on the speed of the computer(s) you > are using and the bandwidth of your connection. > > TDO>>But I got a problem: > TDO>>When i.e. 15 people work on the shop, the basket is > empty, when I > TDO>>want to pay - why? > > I don't see what this has to do with performance, but > possibly you don't have cookies enabled. > > TDO>>(To simulate the test, I write a perl script, that reads out the > TDO>>first page, sleep two seconds, and then reread the first > page and > TDO>>that 15 scripts parallel) > > That's not a fair test! > > The users are going to download a page. Sometimes they click > on to the next page, but many times they are going to pause > to read the page that they are on. And sometimes that page > sits there while they go to get a beer, or get rid of a beer. > > It's also going to depend on the speed of their connection to > your store. A dozen people connected via 56k modems will get > served in a shared mode. Feed a little to user A until his > stream is full, feed to user B until his stream is full, user > C, user D, etc, and then go back to see who is ready for some > more. This is also going to depend on the lag time across the > internet between each user and your store. > > I monitor such things with MRTG to keep track of loading. > > -= Jim =- Webalizer and Ntop are also good for network monitoring. OpenNMS is also quite wonderful I've heard as well. Dan Browning Kavod Technologies From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 30 18:02:33 2001 Subject: [ic] Re: Looking for a list of hosts.... On Fri, 30 Nov 2001, Nathan Olmscheid wrote: NO>>We are not the cheapest, nor do we plan to be. We are priced for the quality NO>>of our service, which in my eyes, and our clients eyes, we have great prices NO>>for what we offer. We want quality customers instead of thousands and NO>>thousands of $9.99 customers. Those customers take a lot time usually. In another life I worked for a guy that ran an answering service. He bragged that he had the cheapest prices around. After I had left and started my own, I attended his bankruptcy auction. I figured out what it cost us to keep the doors open and people answering the phones and set the rates accordingly. We did well until people decided that they liked VoiceMail. I closed the live answering service and made a living developing, writing, and building Voice Mail systems. Generally, honorable people are willing to pay a fair price to get the products/service that they want. Give the customer top notch customer service and they are willing to pay well for what you are doing. Undercut your competitor with better service and better products, NOT lower prices! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 30, 2001 at 17:55 PM: I didn't cheat, I just changed the Rules! ---------------------------------------------------------------- This Linux System has been up 123 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 30 18:06:01 2001 Subject: [ic] =?iso-8859-1?Q?Re:_[ic]_RE:_[ic]_newbie_question_(=A3)?= At 10:08 PM 11/30/2001 +0000, you wrote: >sorry > >but i have spent the last hour trying to get an answer somewhere - the >online manuals are, in a word, CRAP. Nice. Perhaps this "CRAP", which is from the online manuals, and the section of which it is part, gives you some idea?: http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_44.html Ed L. >and i really don't know where to change $ to £ - i've be trying trial and >error but as you can expect the results are very unpredictable. > >----- Original Message ----- >From: "Dan Browning" <danpb@mail.com> >To: <interchange-users@interchange.redhat.com> >Sent: Friday, November 30, 2001 9:53 PM >Subject: [ic] RE: [ic] newbie question (£) > > > > How do i change the price from $ to £? > > > > cheers > >What is the meaning of life? Please keep the answers as simple as >possible, it hurts when I think. And, no RTFM's, please. > >cheers > >PS. Also, this Hooked-on-Phonix thing is tough, will someone do my >homework for me? Thanx. > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (John Beima) Date: Fri Nov 30 18:11:01 2001 Subject: [ic] Interchange Forum G'Day Anton, We actually have one underway to let a bit of the cat out of the bag... As well as this MANY fixes and enhancements to Interchange are going to be released. I will post more information as the day draws closer.... (-: John Beima Quoting Anton Vandeplas <avdplas@bwp-mediagroup.com>: > Hi, > > Doug I agree, "This is one of those times when a > recognized community run site would be handy. > > We are prepared to sponsor a Forum for Interchange if there is enough > interest. > > We use VBullitin. It would be easier to post and search for solutions to > problems and it would be independent from Redhat. > > Anton > > ******************** > > AddAction.net > PO Box 640962 > Beverly Hills FL. 34465 > United States of America > > Phone: +1-352-527-1134 > Toll Free: 1-877-HOST-ME-2 > Fax: +1-352-527-4489 > E-mail: info@addaction.net > www.addaction.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at interchange.redhat.com (Terry Cox) Date: Fri Nov 30 18:34:00 2001 Subject: [ic] Dan you have some competition Dan I think Jim Balcom is giving you some competition in the humor line with his daily tags. Since I am a programmer I especially like this one: If God wanted us to do Hex we'd have 16 fingers. You had given me some information which is below for review. I don't believe that is what I need. I will try and formulate a better question but before I do I will check the on-line help. This was just a question I needed answered before I start using interchange. I have not decided yet if I will use it or not. This is one of the questions I need answered before spending a lot of time with it. I am still toying with the idea of programming my own since this will be a a very, very small store and I want it to look totally like a Ma/Pa type store. Nothing extremely fancy and very easy to get around in. Thanks again and to coin a sign off used by you know who.... HAND, Terry Cox ************************************************ > Greetings to all and happy holidays, > > I am new to interchange and have not actually started setting > it up. Don't worry I'm not going to ask "How do I set it up?" > My question is this: > > I have already set up my own home page which I call the > *Store Lobby*. I have only 10 departments (or categories if > you will). I see that all products are placed in a *catalog* > and that there ar no actual product html pages. The question > is, "Can I link to a particular category and bring up the > interchange store with only those products within the > category (department) directly from my own home page? You > know setting up <a href=xxxxx> from my department link. > > I don't need a lengthy explanation. Just whether or not it > can be done and maybe a direction on where to look for the > source on how to do it. > > By the way, Dan, I liked your pun, *What is the official > shopping center of Star Wars?* > > Thanks in advance, > Terry Cox (Thanks. I tend to be the list-clown for some reason.) I recommend something like: 1. Get a category page built just the way you want it in Interchange. 2. Include it in your other page with Apache directives, ala... <!--#include virtual="http://www.interchange_store.com/link_to_category_that_I_want"- -> However, I may have misunderstood your question. :^) Dan Browning Kavod Technologies _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Nov 30 18:54:01 2001 Subject: [ic] calling specific sku At 02:24 PM 11/30/2001 -0800, you wrote: >I am a newbie so if this is really stupid, sorry. I have searched the pdf's >and the IC website but haven't found the info I need. I am using IC 4.8.1 in >what seems to be it's native state of dynamically creating pages. However, I >do need some static pages that will sell items also. > >how would I use- >[if-item-data inventory quantity < 1] > >to instead check a specific sku. I will have a few of these on the same page >in slightly different forms. > >I tried > >[if-[im0003]-data inventory quantity < 1] >and >[if-im0003-data inventory quantity < 1] >and others that are similar. [snip] There are many ways to do this, here's a few: [if type=data term="inventory::quantity::im0003" op="<" compare="1"] ... [/if] -- or -- [loop arg="im0003"] [if-loop-data inventory quantity < 1] ... [/if-loop-data] [/loop] -- or -- [fly-list code="im0003"] [if-item-data inventory quantity < 1] ... [/if-item-data] [/fly-list] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Nov 30 19:03:00 2001 Subject: [ic] Dan you have some competition On Fri, Nov 30, 2001 at 05:35:58PM -0600, Terry Cox wrote: > Dan I think Jim Balcom is giving you some competition in the humor line with his daily tags. Since I am a programmer I especially like this one: > > If God wanted us to do Hex we'd have 16 fingers. You'd still have 10. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 30 19:44:00 2001 Subject: [ic] Dan you have some competition On Fri, 30 Nov 2001, Terry Cox wrote: TC>>You had given me some information which is below for review. I don't believe that is what I need. I will try and formulate a better question but before I do I will check the on-line help. This was just a question I needed answered before I start using interchange. I have not decided yet if I will use it or not. This is one of the questions I need answered before spending a lot of time with it. I am still toying with the idea of programming my own since this will be a a very, very small store and I want it to look totally like a Ma/Pa type store. Nothing extremely fancy and very easy to get around in. Interchange is NOT easy. It has a VERY steep learning curve. I spent nearly 6 months doing the basic groundwork just to get something basic up and running on July 4th. The learning curve is still steep, after nearly a year of playing and working with it. IC is a VERY powerful software package. It is VERY complete, and therefore complex. Prior to changing to IC, I was using commerce.cgi. This is an excellent program and much easier to set up and maintain. I left it because it has no decent shipping options, whereas IC has excellent shipping options. If commerce.cgi could have been easily modified to handle shipping by zones, I would still be there. In fact, one of the benefits of commerce.cgi that is not available in IC is to be able to add options to an item and increase the price. (A basic small T-Shirt is $5.00, select a large size and the price goes to $10, add embroidery to the large size and add another $10 for a total of $25). This is cumbersome in IC because you need to make each size a different SKU and the embroidery is yet another SKU and you have to check to make sure that they have a T-Shirt in their cart before they can buy it. Or, you can write your own routines in ITL that will do it - which many people find to be quite easy. To use IC, you've got to get, at least, a small amount of Perl under your belt, and quite a bit more of ITL. If you want something that you can open the box, input your inventory and have a grand opening, IC is not it. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 30, 2001 at 19:30 PM: The Hubbell works fine; all that stuff IS blurry! ---------------------------------------------------------------- This Linux System has been up 124 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Webster) Date: Fri Nov 30 19:52:00 2001 Subject: [ic] PAUL JORDAN I live in Southern CA. (Valencia/Santa Clarita), no more than 30 minutes from you. I own a consulting firm which has built several sites using IC. Email me, I would be glad to teach you some basics. Jim. jim@powergatenetworks.com From: interchange-users at interchange.redhat.com (System Admin) Date: Fri Nov 30 20:07:01 2001 Subject: [ic] HELPPPPPPPPPPPPPP The 'buy now' button on the flypage quit working! It simply refreshes the page. Here is my code and a link to the page... Is something missing? http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 ##################################### <body topmargin="0"> <p style="margin-top: 0; margin-bottom: 0"> [fly-list code="[data session arg]"] [set cross_category][item-field category][/set] [set upsell][item-data merchandising upsell_to][/set] [set cross_codes][item-data merchandising cross_sell][/set]</p> <FORM ACTION="[area order]" METHOD=POST> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> <input type=hidden name=mv_session_id value="[data session id]"> ##################################### <input type="image" src="add.jpg" border="0" value="Buy it Now!" name="I3"> ##################################### I'm thinking it is possibly something to do with the template? Please help - Tom. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Nov 30 21:09:01 2001 Subject: [ic] HELPPPPPPPPPPPPPP On Fri, 30 Nov 2001, System Admin wrote: SA>>The 'buy now' button on the flypage quit working! Under both Netscape and IE, or just one or the other? If IE, what error is it giving you? SA>> SA>>It simply refreshes the page. Here is my code and a link to the page... Is SA>>something missing? SA>> SA>>http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 SA>> SA>>##################################### SA>> SA>><body topmargin="0"> SA>> SA>><p style="margin-top: 0; margin-bottom: 0"> SA>> SA>>[fly-list code="[data session arg]"] SA>>[set cross_category][item-field category][/set] SA>>[set upsell][item-data merchandising upsell_to][/set] SA>>[set cross_codes][item-data merchandising cross_sell][/set]</p> SA>> SA>> <FORM ACTION="[area order]" METHOD=POST> SA>> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> SA>> <input type=hidden name=mv_session_id value="[data session id]"> SA>> SA>>##################################### SA>> SA>><input type="image" src="add.jpg" border="0" value="Buy it Now!" name="I3"> SA>> SA>>##################################### SA>> SA>>I'm thinking it is possibly something to do with the template? SA>> SA>>Please help - Tom. SA>> SA>>_______________________________________________ SA>>interchange-users mailing list SA>>interchange-users@interchange.redhat.com SA>>http://interchange.redhat.com/mailman/listinfo/interchange-users SA>> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 30, 2001 at 21:10 PM: One good turn gets most of the blanket. ---------------------------------------------------------------- This Linux System has been up 126 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Webster) Date: Fri Nov 30 21:27:01 2001 Subject: [ic] HELPPPPPPPPPPPPPP There is no error output, it just doesn't do anything. It seems to refresh the page rather than add the item to the cart and show ord/basket.html. here is an example link: http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 Jim. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Balcom Sent: Friday, November 30, 2001 6:11 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] HELPPPPPPPPPPPPPP On Fri, 30 Nov 2001, System Admin wrote: SA>>The 'buy now' button on the flypage quit working! Under both Netscape and IE, or just one or the other? If IE, what error is it giving you? SA>> SA>>It simply refreshes the page. Here is my code and a link to the page... Is SA>>something missing? SA>> SA>>http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 SA>> SA>>##################################### SA>> SA>><body topmargin="0"> SA>> SA>><p style="margin-top: 0; margin-bottom: 0"> SA>> SA>>[fly-list code="[data session arg]"] SA>>[set cross_category][item-field category][/set] SA>>[set upsell][item-data merchandising upsell_to][/set] SA>>[set cross_codes][item-data merchandising cross_sell][/set]</p> SA>> SA>> <FORM ACTION="[area order]" METHOD=POST> SA>> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> SA>> <input type=hidden name=mv_session_id value="[data session id]"> SA>> SA>>##################################### SA>> SA>><input type="image" src="add.jpg" border="0" value="Buy it Now!" name="I3"> SA>> SA>>##################################### SA>> SA>>I'm thinking it is possibly something to do with the template? SA>> SA>>Please help - Tom. SA>> SA>>_______________________________________________ SA>>interchange-users mailing list SA>>interchange-users@interchange.redhat.com SA>>http://interchange.redhat.com/mailman/listinfo/interchange-users SA>> -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, November 30, 2001 at 21:10 PM: One good turn gets most of the blanket. ---------------------------------------------------------------- This Linux System has been up 126 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Patrick J. Walsh) Date: Fri Nov 30 22:14:01 2001 Subject: [ic] HELPPPPPPPPPPPPPP > here is an example link: > > http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/base-art-9 It's odd... when I viewed the source of your web page, I noticed that you have two forms starting right next to each other that are nearly identical, but with different hidden items following. You should probably look into this and see if it's not causing the problem. The section taht I am referring to is below: <FORM ACTION="http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/order.htm l" METHOD=POST> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="base-art-9"> <input type=hidden name=mv_session_id value="xQyFUweC"> <FORM ACTION="http://saturdaycollectibles.com/~saturday/cgi-bin/cart.cgi/order.htm l" METHOD=POST> <input type=hidden name=mv_session_id value="base-art-9"> <INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0"> <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> ..Patrick From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Nov 30 22:33:01 2001 Subject: [ic] Looking for a list of hosts.... Quoting Dan Browning (danpb@mail.com): > > "Jillian Carroll" <jillian@koskie.com> writes: > > > > > Is there a list anywhere of potential hosts he could check out? > > > > There used to be such a list back in the minivend 3 days. > > That list is either gone or hopelessly out of date. I > > volunteered to maintain such a list again; however, I only > > had like 3 submissions. > > > > Anyway, since RedHat's in the hosting business themselves I > > doubt they would be open to sponsoring an "official" list > > anywhere on the Official Interchange site. This is one of > > those times when a recognized community run site would be handy. > > -- > > (__) Doug Alcorn (mailto:doug@lathi.net > > I disagree. I would be surprised if that really was the reason > ic.redhat.com doesn't maintain an official list. If they did have a > list of "competitors", it would be an opportunity to show why official > Red Hat hosting (& partnered Rackspace.com hosting) is "head and > shoulders" above the rest. That way people could clearly see "oh, the > inexpensive ones are over here, but the good ones are over there". > > I mean, there are people here on the 9.95/mo and cable modem hosting, > which is fine when it's a one-man-show type store. But for bigger > businesses, Red Hat and other business (*ahem* *ahem*) use > Enterprise-class hosting, which is Tier-1 co-located or dedicated boxen. > I was the one who maintained the old list, and I had an active hosting business at the same time I advertised my competitors. 8-) I made a decision early-on that I would not compete for the business where people were interested in the fewest dollars per month. My forte was not volume hosting, it was Minivend expertise. So I could (and had to) charge more, ofttimes for what seemed to be less. In actual practice, I guess my service was pretty good because I never lost a customer who actually used Minivend. (A couple faded away for other reasons.) So the list was partly to have a place to send people who wanted to try and negotiate price. I would refuse to, but say "try some of these people". I also had a policy that I would not list someone unless I saw at least the demo Minivend store installed (and staying active) in their netblocks. Many times I became the refuge of last resort when people got tired of getting what they paid for with free technical support. I charged through the nose, but was almost always able to solve the problem. 8-) [snip] > What I mean to say is that I don't think Red Hat would hurt from putting > such a list up, because it is like comparing Apples to Oranges. There > are different needs for different markets. On the other side of the > same coin, I am not opposed to a community site, since I don't think it > will hurt things at all (plus, it may allay some of the conspiracy > theories). > I suspect we would have no problem with such a list. The lack is in the time to produce and maintain it. But if someone wants to start a project in the new project home, that project being the hosting list, I am as sure as I can be that it would be OK. Of course if the person starting it was a hosting provider, they would have to be sure to no more prominently feature themselves than their competition. 8-) I always had the smallest icon for my own service, with no indication that it was the "official" one. I would recommend that it not be all comers, that there be some verification that an active Interchange catalog be available for inspection. -- 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