From: interchange-users at interchange.redhat.com (Jason Jensen) Date: Sat Sep 1 03:03:01 2001 Subject: [ic] What data I need to pub on the Wizard? This is a common problem. You have some permissions messed up. ----- Original Message ----- From: "wendel" <lightwave@runbox.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 31, 2001 8:20 PM Subject: [ic] What data I need to pub on the Wizard? > Hi list, > > Here is my situation: > I'm trying to configure a test catalog via Wizard to send > credit card to a order mail, but I get a error, is this: > ============================================ > Credit Card Info: > NEED ENCRYPTION ENABLED. > ============================================ > But I need some information to put on de fields in de Wizard on > Payment Preferences, I'm trying to put the public key of mail to > send the orders but I unknown what I need to put on > PGP/GPG key selection and PGP/GPG Public Key and in the > next box I have this error: Failed GPG key import. > > Anyone can send me a model of data to put on this field? > What I need to install on server to enable PGP send credit cards? > What necessary configuration I need to do to enable this? > ================================================ > I'm using Interchange 4.8 on Debian Linux; > i'm new in the list and newbie in interchange system, I'm > studying the ITL yet. > My PGP on Linux Server is: pgp-6.5.8; > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (bangel at sihu.hu) Date: Sat Sep 1 05:49:00 2001 Subject: [ic] Accept Credit Cards NOW!!! xcic8c We help business owners accept credit cards! Competitive Rates! Below Market Prices! Our approval process is quick and simple! We offer complete processing systems for your business: *Internet *Retail *Mail Order *Phone Order Free information request form: PLEASE VISIT http://www.freewebhostingcentral.com/merchantservices **************************************************************** Since you have received this message you have either responded to one of our offers in the past or your address has been registered with us. If you wish to be removed please reply to: mailto:morleads7@yahoo.com?subject=remove **************************************************************** mcvivc ******** From: interchange-users at interchange.redhat.com (wendel) Date: Sat Sep 1 15:06:00 2001 Subject: [ic] PGP Problem > This is a common problem. You have some permissions messed up. Ok, but this is the question, I need to correct this but I unknown what is wrong, I'm studyng the ITL and need to set up the Catalog to send credit cards for an client e-mail; You can send-me a model of data to put on Payment Preferences - PGP? The fields what I need is: PGP/GPG key selection and PGP/GPG Public Key; If right I need to put on Public Key, the text of public key of mail what I want to send the orders, but what I need to put on the field PGP/GPG key selection? Other question: I need to have a PGP program on the server? is the same of www.pgpl.org? I get the Download PGP 6.5.8 for Linux and installed it, but this not work right; Can anyone help-me? I Can pay for this, if necessary; Contact-me by mail or icq; Please, give-me a example; Thanks for you help Mr. Jason Jensen; ========================================================== Have in this list anyone from Brazil? If yes, please, send-me a e-mail to lightwave@runbox.com or contact-me via ICQ: 106165078, we need help with interchange and can pay for this; From: interchange-users at interchange.redhat.com (Jason Jensen) Date: Sat Sep 1 19:30:00 2001 Subject: [ic] PGP Problem No. The problem is actually file permissions and access rights on select files, folder, and programs. This causes IC to cascade into havoc and it does it silently -- no real error messages. I had this same problem and ended up paying RedHat $360 to correct it. Jason Jensen P.S. Check and see if your isp uses "CPANEL". ----- Original Message ----- From: "wendel" <lightwave@runbox.com> To: <interchange-users@interchange.redhat.com> Sent: Saturday, September 01, 2001 2:10 PM Subject: [ic] PGP Problem > > This is a common problem. You have some permissions messed up. > Ok, but this is the question, I need to correct this but I unknown what is > wrong, I'm studyng the ITL and need to set up the Catalog to send > credit cards for an client e-mail; > > You can send-me a model of data to put on Payment Preferences - PGP? > The fields what I need is: PGP/GPG key selection and PGP/GPG Public Key; > > If right I need to put on Public Key, the text of public key of mail what I > want > to send the orders, but what I need to put on the field PGP/GPG key selection? > Other question: I need to have a PGP program on the server? is the same of > www.pgpl.org? I get the Download PGP 6.5.8 for Linux and installed it, but this > not work right; > > Can anyone help-me? I Can pay for this, if necessary; Contact-me by mail or > icq; > > Please, give-me a example; > > Thanks for you help Mr. Jason Jensen; > > ========================================================== > Have in this list anyone from Brazil? If yes, please, send-me a e-mail to > lightwave@runbox.com or contact-me via ICQ: 106165078, we need help with > interchange and can pay for this; > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Sat Sep 1 21:30:01 2001 Subject: [ic] not able to start customer or admin interface I've seen this from interchange process dying almost immediately. Are you sure the process is running afterwards? I don't know if the interchange server actually forks but if it does then you should also see another copy when you try to connect. Run 'top' to try and cacth that. Also, I know you've checked the patsh but do make sure the paths are correct both in your catalog.cfg (variables.asc now?) and the interchange.cfg files. Good luck. "Patrick S. Stuckenberger" wrote: > > hi@all! > > maybe you can help me. > > os suse 7.1 kernel 2.2.18 > interchange v 4.8.1 > > run makecat, user mode, no suexec, interchange user is interch > gave the makecat the right pathes but after visiting myhost/shop I get only > the "We are sorry page.." > > I see that the process interchange runs (ps -aux) but no hope :-( > > tank you, > 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 (Chris Rapier) Date: Sat Sep 1 21:54:00 2001 Subject: [ic] What do you think? (RH you idiots) Steffen Dettmer wrote: > > * Erik wrote on Wed, Aug 29, 2001 at 12:29 -0700: > > Why is it, companies like RedHat can't build a friggen mailing > > list that only allows subscribers to post? > > Maybe they have an open policy. Many people think that it is > important to have unrestricted communication and they call it > freedom :) Freedom includes the freedom from annoyance. Its the balance tahst the tricky part. > > I'm so sick of these companies HELP SPAMMERS. You idiots. > > You can adjust you local spam filter. Try procmail. But be > careful, since you cannot be sure that you don't get > false-positives (that means, some mail from a friend gets > dropped). Here is a fun little gimmick to filter spam - This won't work with list mail but it will help personal mail a lot. Set up a series of filters that will catch all of your subscribed list mail. Then set up a filter whcih filters on your name. The last filter send off everything that slipped through to a 'trash' folder. The idea is that the majority of spam mail isn't actually addressed to the recipient so if your name isn't in the To: or CC: and its not from a mailing list its probably spam. This does catch most spam but will occasionally force you to miss mail from friends using the BCC: fun. I've included a sample procmail filter that does this.... (note, its been rewritten for maximum clarity) PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:/usr/psc/bin MAILDIR=$HOME/IMAP/ DEFAUT=$HOME/mbox LOGFILE=$HOME/.procmail/log LOCKFILE=$HOME/.procmail/.lockmail :0: * ^From(Internet-Drafts@ietf.org) Drafts :0: * ^TO(ietf) ietf :0: * ^From.*(infobeat.com) News :0: * ^TO(interchange-users) minivend :0: * ^Cc.(interchange-users) minivend :0: * ^TO(minivend-users) minivend :0: * ^Cc.(minivend-users) minivend :0: * ^TO(rapier) $HOME/mbox :0: * spam From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Sat Sep 1 22:00:00 2001 Subject: [ic] What do you think? (RH you idiots) > 1. I too would think that those "on-the-road" should be able to "use" > the email address they signed up under and don't think that very many > on this list would see this as a problem. (maybe I'm wrong, maybe we > could hear of a "good" reason to leave as-is?) Note: I don't know what mailing list software they are using for this list *but* to address this issue with my mailing lists I have an addendum file. If someone wnats to use an alternate email address they send a subscription request to mailinglist-addendum-request@foo.com. This is sent to process which adds the email address to an addendum file which is treated as a list of approved posters who do not recive mail. People can sub and unsub at this address but anything else is discarded. This way people who want to post from alternate location or accoutns only have to send one piece of mail before they have posting privledges from that account as well. I feel I'm not being entirely clear on this but it does work. Easy to setup as well. Chris Rapier From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Sat Sep 1 22:17:01 2001 Subject: [ic] Still Clueless "Frederick R. Matzen" wrote: > > I wasn't expecting you to fix it. I feel that what you have created is very > good. It's just that my setup wont currently allow me to use it. Had I done > some more research before signing on with Hostway.com I would have found > some of the sites that were Interchange friendly and used them instead. > > I've only given up for now (unless some genius figures it out) but I haven't > given up forever. > If I have to in the near future I will change servers. > > BTW Anyone using IC successfully on a hosting service? I'm using it on pair.com. Its a pretty good deal and if they get a couple more IC customers they'll be setting up a dedicated IC server. Right now its only me. :( Anyway, it can't be a big pain to set it up when you don't have full permissions. The first this I would do is send mail to your sysdamin and ask if they can install the Interchange bundle (Bundle::Interchange). If they do then you shouldn't have to worry about any local_install foo. If they won't then its still possible but requires some mucking about. Nothing deadly serious though. How do you stand on things now? From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Sep 2 06:41:00 2001 Subject: [ic] Stop whining about spam, you idiots Spam is not a problem on this list. The problem, is the bunch of whiners who seem to think that every piece of spam deserves its own thread with 500 follow-ups. If people just deleted the original spam, without moaning endlessly about it, there would be no problem at all. I happen to think that the spam ratio in this mail list is something that we should all be grateful for. Just consider yourself very lucky that you are not reading this on a Usenet newsgroup. Spam is a fact of life these days - get over it. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (crouzer) Date: Sun Sep 2 14:12:00 2001 Subject: [ic] Re: not able to start customer or admin interface While running v4.8.1 I noticed that the server would die unexpectedly at random times. Since then I have moved onto the 4_8_STABLE branch and have had no problems. __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Sun Sep 2 15:24:00 2001 Subject: [ic] passing "data session arg" between apges and dynamic content generation ciao everyone! trying to build a dynamic "subcategory" page based on a selection from the "main" categories list on the main page. The table "kategorie", which contains categories list looks like this: id, name, parent The code to generate a main categories list is: [loop prefix=box search=" fi=kategorie st=db sf=parent rf=id,name op=eq se=0 "] [page cat_2 [box-param id]]<font color=#ffffff>[box-param name]</font>[/page]<br> [/loop] As you can see it creates a list of links to cat_2.html (subcategory skeleton) - and takes field "id" as an argument . (created link looks like - /foundation/cat_2.html?mv_arg=xx?mv_pc=yy) Then in the "cat_2.html" I want to build a similar list of subcategories based on the selected main category (main cat is the one which has a parent=0). So I figured out it should be sth like this: [fly-list code="[data session arg]"] [loop prefix=box search=" fi=kategorie st=db sf=parent rf=id,name op=eq se="[data session arg]" "] [page cat_2 [box-param id]]<font color=#ffffff>[box-param name]</font>[/page]<br> [/loop] [/fly-list] However nothing is created, not even the standatrd <table> elements, and <!-- comments -->. Any ideas what is wrong? I also couldn't find explanation on what is the "mv_pc" parameter - what is it? Where can I find code for a famoun "bar_link" subroutine (standard in "foundation" categroy tree) - in my instalation of foundation (4.8.1) - I cannot find it in place specified by manuals. Best regards Lukasz Z From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Sun Sep 2 15:43:01 2001 Subject: [ic] PGP Problem wendel wrote: > > > This is a common problem. You have some permissions messed up. > Ok, but this is the question, I need to correct this but I unknown what is > wrong, I'm studyng the ITL and need to set up the Catalog to send > credit cards for an client e-mail; > > You can send-me a model of data to put on Payment Preferences - PGP? > The fields what I need is: PGP/GPG key selection and PGP/GPG Public Key; > > If right I need to put on Public Key, the text of public key of mail what I > want > to send the orders, but what I need to put on the field PGP/GPG key selection? > Other question: I need to have a PGP program on the server? is the same of > www.pgpl.org? I get the Download PGP 6.5.8 for Linux and installed it, but this > not work right; All you want to do is have the credit card information sent via email in the clear right? So you don't actually need PGP at all. I've a site that doesn't use it and as far as I can tell it is not a problem at all. Unless Interchange for some reason now requires PGP you shoudl be able to just leave the defines for it blank. It won't be used at all. The credicat card information should be stored in something like mv_credit_card_number. You then need take make sure this is in your mailed receipt. This should still work without any other problems. In the file mail_reciept in the catalog-name/etc directory add the line CC number = [value mv_credit_card_number] under the line that says Payment Method: [value mv_payment] In catalog.cfg you shoudl have something like Route main pgp_cc_key "" Route main pgp_key "" If this doesn't work you have bigger issues. As for the "Need Encrytion Enabled" flag there shoudl be some realtively painless way to turn this off. From: interchange-users at interchange.redhat.com (Joshua Sowin) Date: Sun Sep 2 15:58:01 2001 Subject: [ic] Interchange server unavailable? Hello, I seem to be stuck.. I installed the RPM version of 4.8.1, and had a heck of a time getting it to work on my Colbalt rack. After much sweat, I finally have the server running and starting the foundation demo... but I cannot see it on the web - it just gives me the stupid "Sorry, the interchange server is unavailable or overloaded.." message. I changed the /cgi-bin/foundation to /cgi-bin/foundation.cgi because it won't start without a cgi extention, but I do not think that is the problem. The cgi- bin is in the /home/sites/home/web/cgi-bin directory though, and that may cause some conflicts... can anyone please help me, I really need to change my shopping cart and just bought this dedicated server for interchange... Any help is appreciated in advance! In Christ, Joshua Sowin jpsowin@gracehost.com founder, gracehost.com webmaster, 5050petsupply.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Sep 2 17:37:01 2001 Subject: [ic] Interchange and debian "Rick Lord" <rick@desertlord.com> writes: > I am having a hard time setting up a catalog under interchange. > I am using Interchange 4.8.1 with Debian. I installed it with apt-get. > When I try to create one it gets to the point where it trys to make the > catalog directory I get the error "permission denied at > /usr/lib/interchange/bin/makecat line 1487 > Any good ideas? > Thanks. Hello, Rick ! I think I fixed these issues so far. I hope I can make an fresh upload tomorrow. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Sun Sep 2 17:46:01 2001 Subject: [ic] Interchange server unavailable? Joshua Sowin wrote: > > Hello, > > I seem to be stuck.. I installed the RPM version of 4.8.1, and had a heck > of a time getting it to work on my Colbalt rack. After much sweat, I > finally have the server running and starting the foundation demo... but I > cannot see it on the web - it just gives me the stupid "Sorry, the > interchange server is unavailable or overloaded.." message. I changed > the /cgi-bin/foundation to /cgi-bin/foundation.cgi because it won't start > without a cgi extention, but I do not think that is the problem. The cgi- > bin is in the /home/sites/home/web/cgi-bin directory though, and that may > cause some conflicts... can anyone please help me, I really need to change > my shopping cart and just bought this dedicated server for interchange... > Any help is appreciated in advance! Did you make sure to update the interchange.cfg file to reflect the name change you made the cgi-bin program? If not then your installation will fail. You'll also need to restart after you make those changes. From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Sun Sep 2 20:50:03 2001 Subject: [ic] Still Clueless Actually I did that and they did and I'm still getting the same error. I did the local install also before that. No success getting ./configure to run at all. Baffled. > -----Original Message----- > "Frederick R. Matzen" wrote: > > > > I wasn't expecting you to fix it. I feel that what you have > created is very > > good. It's just that my setup wont currently allow me to use > it. Had I done > > some more research before signing on with Hostway.com I would have found > > some of the sites that were Interchange friendly and used them instead. > > > > I've only given up for now (unless some genius figures it out) > but I haven't > > given up forever. > > If I have to in the near future I will change servers. > > > > BTW Anyone using IC successfully on a hosting service? > > I'm using it on pair.com. Its a pretty good deal and if they get a > couple more IC customers they'll be setting up a dedicated IC server. > Right now its only me. :( > > Anyway, it can't be a big pain to set it up when you don't have full > permissions. The first this I would do is send mail to your sysdamin and > ask if they can install the Interchange bundle (Bundle::Interchange). If > they do then you shouldn't have to worry about any local_install foo. If > they won't then its still possible but requires some mucking about. > Nothing deadly serious though. How do you stand on things now? > _______________________________________________ From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Sun Sep 2 20:54:01 2001 Subject: [ic] Interchange server unavailable? Also check your ic_dir/error.log and your catalog_dir/error.log for some info On Sun, 2 Sep 2001, Chris Rapier wrote: > > > Joshua Sowin wrote: > > > > Hello, > > > > I seem to be stuck.. I installed the RPM version of 4.8.1, and had a heck > > of a time getting it to work on my Colbalt rack. After much sweat, I > > finally have the server running and starting the foundation demo... but I > > cannot see it on the web - it just gives me the stupid "Sorry, the > > interchange server is unavailable or overloaded.." message. I changed > > the /cgi-bin/foundation to /cgi-bin/foundation.cgi because it won't start > > without a cgi extention, but I do not think that is the problem. The cgi- > > bin is in the /home/sites/home/web/cgi-bin directory though, and that may > > cause some conflicts... can anyone please help me, I really need to change > > my shopping cart and just bought this dedicated server for interchange... > > Any help is appreciated in advance! > > Did you make sure to update the interchange.cfg file to reflect the name > change you made the cgi-bin program? If not then your installation will > fail. You'll also need to restart after you make those changes. > _______________________________________________ > 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: Sun Sep 2 21:26:01 2001 Subject: [ic] passing "data session arg" between apges and dynamic content generation Quoting Lukasz Z (dugi@prion.pl): > [loop > prefix=box > search=" > fi=kategorie > st=db > sf=parent > rf=id,name > op=eq > se="[data session arg]" > "] > [page cat_2 [box-param id]]<font color=#ffffff>[box-param > name]</font>[/page]<br> > [/loop] > [/fly-list] Just a quoting problem. [loop prefix=box search=" fi=kategorie st=db sf=parent rf=id,name op=eq se=[data session arg] "] [page cat_2 [box-param id]]<font color=#ffffff>[box-param name]</font>[/page]<br> [/loop] [/fly-list] The double-quotes embedded within double-quotes doesn't work too well. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Sep 2 21:54:01 2001 Subject: [ic] Stop whining about spam, you idiots On Sun, 2 Sep 2001, Kevin Walsh wrote: KW>>Spam is a fact of life these days - get over it. Some parallels: AIDS is a fact of life these days - get over it. Abortion is a fact of life these days - get over it. Divorce is a fact of life these days - get over it. High school drop-outs are a fact of life these days - get over it. Death from cigarettes is a fact of life these days - get over it. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, September 02, 2001 at 21:50 PM: This is your brain. Postscript on brain your is This. ---------------------------------------------------------------- This Linux System has been up 538 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Cary LEUNG) Date: Sun Sep 2 23:42:01 2001 Subject: [ic] Server Start Error I had a problem to start the interchange server version 4.8 in RedHat 7.1. Every time I try to start the server, it told me that : config error: Please specify the MailOrderTo directive in the configuration file. I had try use in Sun Solaris 8 without problem. Please help me to solve it. Thank you Cary LEUNG CARYNET Communication Limited Hong Kong From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Sep 3 00:06:00 2001 Subject: [ic] Stop whining about spam, you idiots Quoting Jim Balcom (jim@idk-enterprises.com): > On Sun, 2 Sep 2001, Kevin Walsh wrote: > > KW>>Spam is a fact of life these days - get over it. > > Some parallels: > > AIDS is a fact of life these days - get over it. > Abortion is a fact of life these days - get over it. > Divorce is a fact of life these days - get over it. > High school drop-outs are a fact of life these days - get over it. > Death from cigarettes is a fact of life these days - get over it. > At this point I will ask everyone to go to news.admin.net-abuse.email if they wish to discuss it further. I too hate spam, but I ask that we all take it out on the spammers and the ISPs who tolerate them, not the victims. We will never get this list totally spam-free, but we can try to do our best. Note that since the message sparking this thread, not one has gotten through. -- 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 (J Wilson) Date: Mon Sep 3 02:09:00 2001 Subject: [ic] Calls I am wanting to call the speicals from a web page within my regualar site. How would I go about to call the vertical speicals on a sperate page that is on the same site as my Interchange? Jerry HuntSeek _____________________________________________________________ Get FREE email for you, and your family <BR>====Huntseek http://www.huntseek.net==== From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Sep 3 04:01:01 2001 Subject: [ic] Gift Certificates and Coupons In the foundation demo one of the items is a $1.00 gift certificate. I placed an order for one and received the normal email stating I had purchased a gift certificate. Is there code built into the foundation demo for using this gift certificate? If there is not, is there code in IC for handling the redeeming of the gift certificate? I'd also like to setup coupons in this new store. Should I look into making my own system for issuing and redeeming coupons or is this something that exists already? The only thing I found in the docs was the discount tag which can be applied to an item or cart as a whole to give a discount. I imagine I could build something that would contain a list of coupons, compare that against the coupon entered and validate the conditions of the coupon had been met before applying the discount. Thank you, -Ron From: interchange-users at interchange.redhat.com (David Kelly) Date: Mon Sep 3 05:31:02 2001 Subject: [ic] Packaged Interchange Documentation. Can someone tell me ... is there any difference between the official Red Hat packaged documentation and the documentation freely available on the Interchange Developers Site?? I am looking at purchasing the official packaged Red Hat documentation ... but by the time they ship it here it is gonna cost around $250 for all four guides ... so I would rather not if it is exactly the same documentation as what is available on the developers site. Cheers David Kelly _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Tommi Labermo) Date: Mon Sep 3 06:15:01 2001 Subject: [ic] Feature wish list. Hi all. Where's the feature wish list? When I click on the URL: http://ic.redhat.com/cgi-bin/ic/docfly?mv_session_id=DggHzvAo&mv_pc=1&mv_arg=wishlist0 I only get a empty page. Should I post my feature wishes in this list instead? From: interchange-users at interchange.redhat.com (Sergey Sheykin) Date: Mon Sep 3 09:03:01 2001 Subject: [ic] Search Engines Hi, How can I make my dynamic product pages (basing on FLYPAGE), for sample: www.site.com/cgi-bin/shop/product-id accessible for search engines, like Google? Sergey. From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Mon Sep 3 12:28:00 2001 Subject: [ic] Still Clueless "Frederick R. Matzen" wrote: > > Actually I did that and they did and I'm still getting the same error. I did > the local install also before that. No success getting ./configure to run at > all. Baffled. So you can't even get configure to run? How far does it get and what sort of error do you end up with? Does anything at all get installed? If you are getting module errors just ignore them for a moment and try running interchange anyway, let me know what errors (excatly) it reports when you try it. From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Mon Sep 3 12:32:00 2001 Subject: [ic] Stop whining about spam, you idiots Jim Balcom wrote: > > On Sun, 2 Sep 2001, Kevin Walsh wrote: > > KW>>Spam is a fact of life these days - get over it. > > Some parallels: > > AIDS is a fact of life these days - get over it. > Abortion is a fact of life these days - get over it. > Divorce is a fact of life these days - get over it. > High school drop-outs are a fact of life these days - get over it. > Death from cigarettes is a fact of life these days - get over it. Exactly! In all of these cases whining about it like a child that lost its lollipop isn't going to do a damn thing. So until we stop yelling and start taking some action not a damn thing will be accomplished. From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Mon Sep 3 12:53:01 2001 Subject: [ic] Still Clueless Thanks Chris. I've had a lot of great folks trying to help but no one managed to get past this error: lsh107:~/interchange-4.8.1$ ./configure 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. Stop. make: *** No rule to make target `test'. Stop. lsh107:~/interchange-4.8.1$ The INTERCHANGE::BUNDLE is installed but I don't have root user access. I get the same error no matter what I do. > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Chris Rapier > Sent: Monday, September 03, 2001 10:27 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > > > "Frederick R. Matzen" wrote: > > > > Actually I did that and they did and I'm still getting the same > error. I did > > the local install also before that. No success getting > ./configure to run at > > all. Baffled. > > So you can't even get configure to run? How far does it get and what > sort of error do you end up with? > Does anything at all get installed? If you are getting module errors > just ignore them for a moment and try running interchange anyway, let me > know what errors (excatly) it reports when you try 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 (Luis Filipe Silvestre Marques) Date: Mon Sep 3 13:12:01 2001 Subject: [ic] Several products tables Hi. I have 2 questions: 1 - I'm starting to work with InterChange, and I want to put several tables with products (or something similar). The table's sku are not used by the products, so I want to know if I can use an Integer index (a la mysql) in each table. This would make diferent products to have the same sku (but belonging to different tables). Is this possible, or must I use unique skus for every product?? 2 - Other thing is to build relations between the products in different tables. I will try to use an extra table with the relations (allowing multiple cases). Is this the best way of doing it in InterChange. -- Luís Filipe Silvestre Marques L8 Tecnologias de Informação, Lda Rua Alves Redol Nº11 - 1 Andar 1000-030 LISBOA Tel: +351 217800009 Fax: +351 217800012 www.l8ti.com From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Mon Sep 3 13:34:00 2001 Subject: [ic] ssl submission at button level (not form level)? I don't know if this is possible. Maybe someone here has some ideas. User is at a form in non-secure mode and hits a "complete transaction" button on a form which has a "action=[process-order secure=1]" tag. All is well (the user goes to an ssl page to continue). BUT if I want the user to hit a button labled "continue shopping" on the same form, the user should be directed back to the general order page (or wherever), but NOT via ssl. What I'm getting is the user goes to the shopping page (good) but with an "https://" based URL (bad). I could move the "continue shopping" button to a link outside the form, or another form. But is there a way to do this with just one form. That is something like (I know this syntax doesn't work, but...): [set complete transaction] mv_todo=return mv_nextpage=ord/payments mv_secure=Yes! Make this secure. Do it! [/set] [set continue shopping] mv_todo=return mv_nextpage=somewhere mv_secure=Nope! I don't want this to be secure, not at all, thanks! [/set] -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Cormac Robinson) Date: Mon Sep 3 13:41:01 2001 Subject: [ic] slocate problems. Afternoon. I'm currently renting space on a DSVR "English ISP" server. I believe they use Red Hat 6.0. The problem I have is that they do not support slocate.... This is the error I get when I try to run bin/makecat locate: error accessing DB Directory: /var/lib/slocate/ : Not a directory Enter path to httpd.conf file: [6]+ Stopped bin/makecat I have spoken to the guys hosting my virtual server... Regretfully, the functions of the slocate binary and directories are incompatible with our virtual servers, so you will be unable to use it. I hope this does not inconvenience you too much. Can anybody help me out on this one... Is there any other way of building the catalog without using slocate. There could be a pint of guinness for anybody who helps me out on this, and they are travelling to Ireland..... Thanks. __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Sep 3 14:03:00 2001 Subject: [ic] ssl submission at button level (not form level)? Quoting Richard Seymour (rseymour@anarchysoftware.com): > I don't know if this is possible. Maybe someone here has some ideas. > > User is at a form in non-secure mode and hits a "complete transaction" > button on a form which has a "action=[process-order secure=1]" tag. All > is well (the user goes to an ssl page to continue). BUT if I want the > user to hit a button labled "continue shopping" on the same form, the > user should be directed back to the general order page (or wherever), > but NOT via ssl. What I'm getting is the user goes to the shopping page > (good) but with an "https://" based URL (bad). > > I could move the "continue shopping" button to a link outside the form, > or another form. But is there a way to do this with just one form. That > is something like (I know this syntax doesn't work, but...): > > [set complete transaction] > mv_todo=return > mv_nextpage=ord/payments > mv_secure=Yes! Make this secure. Do it! > [/set] > > [set continue shopping] > mv_todo=return > mv_nextpage=somewhere > mv_secure=Nope! I don't want this to be secure, not at all, thanks! > [/set] Nope -- not possible. Remember that the URL the action is sent to is determined by the browser before it is posted, not Interchange after it is received at that URL. The only thing to be done is to use JavaScript to change the action of the form when the button is clicked. That is typically possible with <input type=submit> but not <input type=image>. -- 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: Mon Sep 3 14:06:00 2001 Subject: [ic] slocate problems. Quoting Cormac Robinson (cormac_robinson@yahoo.com): > Afternoon. > > I'm currently renting space on a DSVR "English ISP" > server. I believe they use Red Hat 6.0. The problem I > have is that they do not support slocate.... > > This is the error I get when I try to run bin/makecat > > locate: error accessing DB Directory: > /var/lib/slocate/ : Not a directory > Enter path to httpd.conf file: > > [6]+ Stopped bin/makecat Why did you stop it? It wouldn't have suspended on its own.... > > I have spoken to the guys hosting my virtual server... > > Regretfully, the functions of the slocate binary and > directories are > incompatible with our virtual servers, so you will be > unable to use it. Then request they remove the locate binary from the bin directory so people are not misled. But still in all, all you have to do is hit return at the prompt. You will then have to enter all the paths yourself, but it should work. -- 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 (Xiaowen Wu) Date: Mon Sep 3 15:30:00 2001 Subject: [ic] order same items several time Hi there, I have a simple question: when the user orders the same item several time, they are shown as difference order entries in the basket, are there anyway to combine them as one ? Also, I would like to put a quantity limit to some item, in case the user order more than the limit, it will reject the order, any easy way to implement this ? Thanks in advanced. Xiaowen Safetopia, From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Mon Sep 3 16:08:01 2001 Subject: [ic] passing "data session arg" between apges and dynamic content generation Hi again, I repaired and checked the code for displaying the category list - now it's OK, when given proper parameters. It just seems that [data session arg] doesnn't do anything - is there any other way to pass arguments between pages?? Regards, Luki Z > Quoting Lukasz Z (dugi@prion.pl): > > [loop > > prefix=box > > search=" > > fi=kategorie > > st=db > > sf=parent > > rf=id,name > > op=eq > > se="[data session arg]" > > "] > > [page cat_2 [box-param id]]<font color=#ffffff>[box-param > > name]</font>[/page]<br> > > [/loop] > > [/fly-list] > > Just a quoting problem. > > [loop > prefix=box > search=" > fi=kategorie > st=db > sf=parent > rf=id,name > op=eq > se=[data session arg] > "] > [page cat_2 [box-param id]]<font color=#ffffff>[box-param > name]</font>[/page]<br> > [/loop] > [/fly-list] > > The double-quotes embedded within double-quotes doesn't work too well. 8-) From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Sep 3 16:16:01 2001 Subject: [ic] ssl submission at button level (not form level)? > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Mike Heins > Quoting Richard Seymour (rseymour@anarchysoftware.com): > > I don't know if this is possible. Maybe someone here has some ideas. > > > > User is at a form in non-secure mode and hits a "complete transaction" > > button on a form which has a "action=[process-order secure=1]" tag. All > > is well (the user goes to an ssl page to continue). BUT if I want the > > user to hit a button labled "continue shopping" on the same form, the > > user should be directed back to the general order page (or wherever), > > but NOT via ssl. What I'm getting is the user goes to the shopping page > > (good) but with an "https://" based URL (bad). > > > > I could move the "continue shopping" button to a link outside the form, > > or another form. But is there a way to do this with just one form. That > > is something like (I know this syntax doesn't work, but...): > > > > [set complete transaction] > > mv_todo=return > > mv_nextpage=ord/payments > > mv_secure=Yes! Make this secure. Do it! > > [/set] > > > > [set continue shopping] > > mv_todo=return > > mv_nextpage=somewhere > > mv_secure=Nope! I don't want this to be secure, not at all, thanks! > > [/set] > > Nope -- not possible. Remember that the URL the action is sent > to is determined by the browser before it is posted, not Interchange > after it is received at that URL. I saw this same situation where non-ssl forms would be served in https mode from the basket page. So what we did was left the form submission to be non-ssl for the basket page then on the checkout page we put at the top: <script language="JavaScript"> <!-- if (document.location.protocol == "http:") { window.location="https://www.yourserver.com/cgi-bin/store/ord/checkout.h tml"; } --> </script> So if the checkout page was referenced in non-ssl mode we force the browser to redirect to the secure page. I'm not sure if this will work for everyone's setup, but it seemed to fix our issues with this situation. Maybe a fix in IC would be to check the AlwaysSecure tag and instead of bouncing to a page that says the page must be served in secure mode, it should bounce to the page requested, except in ssl mode? > The only thing to be done is to use JavaScript to change the > action of the form when the button is clicked. That is typically > possible with <input type=submit> but not <input type=image>. We found the same that it would not work in Netscape due to input type=image not being valid in the spec NS is based on. So we used images surrounded by links and used the onClick event of the link to set some form variables and submit the form. Good luck, -Ron From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Sep 3 16:33:00 2001 Subject: [ic] passing "data session arg" between apges and dynamic content generation > Hi again, > > I repaired and checked the code for displaying the category list > - now it's > OK, when given proper parameters. It just seems that [data session arg] > doesnn't do anything - is there any other way to pass arguments between > pages?? Have you tried a set a scratch variable? René From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Mon Sep 3 16:44:01 2001 Subject: [ic] Still Clueless "Frederick R. Matzen" wrote: > > Thanks Chris. I've had a lot of great folks trying to help but no one > managed to get past this error: > > lsh107:~/interchange-4.8.1$ ./configure > > 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. Stop. > make: *** No rule to make target `test'. Stop. > lsh107:~/interchange-4.8.1$ > > The INTERCHANGE::BUNDLE is installed but I don't have root user access. I > get the same error no matter what I do. Root permission is not required at all. If you need root permission then there is something wrong with the system you are on or the installer. However, the installer worked fine for me so I'm guessing its something about your system. Try something, try running perl ./Makefile.PL and see if that works. It *could* be a minor but known bug in the FindBin module. Completely ignore the ./configure command at this point. See what happens. From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Mon Sep 3 16:57:00 2001 Subject: [ic] Still Clueless Here is the result: lsh107:~/interchange-4.8.1$ perl ./Makefile.PL opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line 143 Can't write uid file: Permission denied lsh107:~/interchange-4.8.1$ Same error. Would it be that I need to get my site host to check and see why I cannot get a uid file written? Thanks > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Chris Rapier > Sent: Monday, September 03, 2001 2:44 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > > > "Frederick R. Matzen" wrote: > > > > Thanks Chris. I've had a lot of great folks trying to help but no one > > managed to get past this error: > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > 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. Stop. > > make: *** No rule to make target `test'. Stop. > > lsh107:~/interchange-4.8.1$ > > > > The INTERCHANGE::BUNDLE is installed but I don't have root user > access. I > > get the same error no matter what I do. > > Root permission is not required at all. If you need root permission then > there is something wrong with the system you are on or the installer. > However, the installer worked fine for me so I'm guessing its something > about your system. > > Try something, try running perl ./Makefile.PL and see if that works. It > *could* be a minor but known bug in the FindBin module. Completely > ignore the ./configure command at this point. See what happens. > _______________________________________________ > 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 Rapier) Date: Mon Sep 3 17:01:01 2001 Subject: [ic] ssl submission at button level (not form level)? Okay, its not possible this way *but* if continue shopping is *always* going to send them back to the same place you can simply hardcode the url to the button. You might need to append the session ID to it but thats not all that complicated. Mike Heins wrote: > > Quoting Richard Seymour (rseymour@anarchysoftware.com): > > I don't know if this is possible. Maybe someone here has some ideas. > > > > User is at a form in non-secure mode and hits a "complete transaction" > > button on a form which has a "action=[process-order secure=1]" tag. All > > is well (the user goes to an ssl page to continue). BUT if I want the > > user to hit a button labled "continue shopping" on the same form, the > > user should be directed back to the general order page (or wherever), > > but NOT via ssl. What I'm getting is the user goes to the shopping page > > (good) but with an "https://" based URL (bad). > > > > I could move the "continue shopping" button to a link outside the form, > > or another form. But is there a way to do this with just one form. That > > is something like (I know this syntax doesn't work, but...): > > > > [set complete transaction] > > mv_todo=return > > mv_nextpage=ord/payments > > mv_secure=Yes! Make this secure. Do it! > > [/set] > > > > [set continue shopping] > > mv_todo=return > > mv_nextpage=somewhere > > mv_secure=Nope! I don't want this to be secure, not at all, thanks! > > [/set] > > Nope -- not possible. Remember that the URL the action is sent > to is determined by the browser before it is posted, not Interchange > after it is received at that URL. > > The only thing to be done is to use JavaScript to change the > action of the form when the button is clicked. That is typically > possible with <input type=submit> but not <input type=image>. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > If you think nobody cares if you're alive, try missing a couple of > car payments. -- Earl Wilson > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Mon Sep 3 17:14:01 2001 Subject: [ic] order same items several time Xiaowen Wu wrote: > > Hi there, I have a simple question: when the user orders the same item > several time, they are shown as difference order entries in the basket, > are there anyway to combine them as one ? I'd like to know this as well. I am guessing that there is a relatively straight forward way to do this in perl... If you can dump the contents of the cart into a hash keyed on some thing like the SKU of the product (where the value is the qauntity of the item) and *then* dump that hash back into the shopping cart it should work. I'm guessing a usertag would be the right way to do this. > Also, I would like to put a quantity limit to some item, in case the user > order more than the limit, it will reject the order, any easy way to > implement this ? Depends on what the critera is but you should be able to just compare the quantity of Item X to some predetermined limit. If its above that limit it sets a awarning flag (to tell the customer) and automatically decreases the quantity to the maximum limit. You should also be able to set a limit for each item with another column in your products table. I'm out of practice with writing the IML foo but here is a semi pseudo code rendition of the above [list items] # go through each item in the shopping cart [if table=products key=sku column=limit] #only go through this if a limit is set [if item quanity > limit] [seti over_limit_warning] Over limit![/seti] # let the user know [data table=cart key=code column=quantity value=limit] # set to the maximum limit [/if] [/if] [/list] Again, this is just really really not even close to the right syntax but this is one way to go about doing that. If you are going to do this you need to decide where the right places to do this are. Just at the item selection screen isn't enough as they can just re-enter a different qauntity on the shopping cart page. So, I'd put it on the shopping cart page and/or checkout. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Sep 3 17:25:00 2001 Subject: [ic] order same items several time > > > > Hi there, I have a simple question: when the user orders the same item > > several time, they are shown as difference order entries in the basket, > > are there anyway to combine them as one ? > > I'd like to know this as well. I am guessing that there is a relatively > straight forward way to do this in perl... > If you can dump the contents of the cart into a hash keyed on some thing > like the SKU of the product (where the value is the qauntity of the > item) and *then* dump that hash back into the shopping cart it should > work. > See the SeparateItems directive (set in catalog.cfg) http://ic.redhat.com/cgi-bin/ic/dev-4.8/icconfig_139.html > I'm guessing a usertag would be the right way to do this. > > > Also, I would like to put a quantity limit to some item, in > case the user > > order more than the limit, it will reject the order, any easy way to > > implement this ? > Depends on what the critera is but you should be able to just compare > the quantity of Item X to some predetermined limit. If its above that > limit it sets a awarning flag (to tell the customer) and automatically > decreases the quantity to the maximum limit. You should also be able to > set a limit for each item with another column in your products table. have a search of the mail archive. This was discussed within the last couple of months.. as was the first item come to think of it... Its always a good place to look, as are the docs. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 3 17:41:01 2001 Subject: [ic] Still Clueless On Mon, Sep 03, 2001 at 03:07:12PM -0600, Frederick R. Matzen wrote: > Here is the result: > > lsh107:~/interchange-4.8.1$ perl ./Makefile.PL > opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line > 143 > Can't write uid file: Permission denied > lsh107:~/interchange-4.8.1$ > > Same error. Would it be that I need to get my site host to check and see why > I cannot get a uid file written? You might just as easily hire them to install ic. Diagnosis might require that anyway. This is not an IC problem or even perl, but you do need sysadmin help. BTW, just what **is** ../..? Is it a directory, a link? Is it even on the same machine, NFS? What is 'pwd'? What are permissions on ~ and ~/inter...? Check for consistency perl -V, try make -d and see if anything sticks out. > > > opendir(./../..): Permission denied at > > /usr/lib/perl5/5.6.0/FindBin.pm line > > > 143 > > > Can't write uid file: Permission denied > > > make: *** No targets. Stop. > > > make: *** No rule to make target `test'. Stop. > > > lsh107:~/interchange-4.8.1$ > > > -- 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 Sep 3 18:23:01 2001 Subject: [ic] slocate problems. On Mon, 3 Sep 2001, Cormac Robinson wrote: CR>>I'm currently renting space on a DSVR "English ISP" CR>>server. I believe they use Red Hat 6.0. The problem I CR>>have is that they do not support slocate.... CR>> CR>>This is the error I get when I try to run bin/makecat CR>> CR>>locate: error accessing DB Directory: CR>>/var/lib/slocate/ : Not a directory CR>>Enter path to httpd.conf file: CR>> CR>>[6]+ Stopped bin/makecat I have installed IC on 2 different servers, both running Slackware. Neither has slocate, either as a directory or as a directory of some sort, or as an executable. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 03, 2001 at 18:20 PM: If it jams, force it. If it breaks, it needed replacing ---------------------------------------------------------------- This Linux System has been up 559 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 3 18:30:00 2001 Subject: [ic] order same items several time On Mon, 3 Sep 2001, Xiaowen Wu wrote: XW>>Hi there, I have a simple question: when the user orders the same item XW>>several time, they are shown as difference order entries in the basket, XW>>are there anyway to combine them as one ? In catalog.cfg there is an option for 'SeparateItems' HOWEVER!!!! I have an item in my store that is available in white, red and blue, as well as small, medium, and large - all at the same price. A customer wanted a blue one in large, and a red one in medium. He couldn't do it because it was combining the items. His only option was to place 2 separate orders. I have since turned that option off. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 03, 2001 at 18:30 PM: $$$ not found -- (A)bort (R)efinance (B)ankrupt ---------------------------------------------------------------- This Linux System has been up 559 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Mon Sep 3 18:33:01 2001 Subject: [ic] UnixWare 7.1.1 and IC 4.8.1 NEED ENCRYPTION ENABLED. In IC 4.6.5 I used ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r gerberb@zenez.com 2>encrypt.error Payment and I would get the order with the credit card number encrypted. But I get this instead. What am I missing. I have secure enabled and I have set ENCRYPTOR like I did in 4.6.5! Credit Card Info: NEED ENCRYPTION ENABLED. Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 11/01 Also A bug I would like to report. If I go into the Admin interface. Click on Administration and then on preferences, company and then click on the items I want to edit and then click on the bar edit clicked records in sequence I get page not found. But I can click on the code what_I_want_to_change and it works. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Mon Sep 3 23:12:01 2001 Subject: [ic] Still Clueless "Frederick R. Matzen" wrote: > > Here is the result: > > lsh107:~/interchange-4.8.1$ perl ./Makefile.PL > opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line > 143 > Can't write uid file: Permission denied > lsh107:~/interchange-4.8.1$ > > Same error. Would it be that I need to get my site host to check and see why > I cannot get a uid file written? Okay, I was wondering if it was a bug in FindBin. At this point I'm guessing there is just something weird as hell going.Give me until tomorrow, I'm going to take a look at some stuff and see what I can find out. In the meantime run this perl -e 'use Cwd; $dir = cwd(); print "my dir is $dir\n";' And let me know what you get. Also, run which perl and tell me what that says and lastly take the results of which perl and use ls -l to see if its a symbolic link or something. I don't know if I can figure out whats goign on but hey, work is slow right now. Also, what OS are you doing this on? From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Mon Sep 3 23:29:01 2001 Subject: [ic] Still Clueless the results are: lsh107:~$ perl -e 'use Cwd; $dir = cwd(); print "my dir is $dir\n";' my dir is /home/shop4thingys lsh107:~$ which perl /usr/bin/perl lsh107:~$ ls -l /usr/bin/perl lrwxrwxrwx 1 root root 18 Aug 16 14:51 /usr/bin/perl -> /usr/bin/perl5.6.0* lsh107:~$ The OS is Redhat Linux, at least v.6 but they might have upgraded. I don't know how to check except ask the site host. I tried this install on Free BSD Linux also and had the same exact error on another site host. It's probably me :-) > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Chris Rapier > Sent: Monday, September 03, 2001 9:11 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > > > "Frederick R. Matzen" wrote: > > > > Here is the result: > > > > lsh107:~/interchange-4.8.1$ perl ./Makefile.PL > > opendir(./../..): Permission denied at > /usr/lib/perl5/5.6.0/FindBin.pm line > > 143 > > Can't write uid file: Permission denied > > lsh107:~/interchange-4.8.1$ > > > > Same error. Would it be that I need to get my site host to > check and see why > > I cannot get a uid file written? > > Okay, I was wondering if it was a bug in FindBin. At this point I'm > guessing there is just something weird as hell going.Give me until > tomorrow, I'm going to take a look at some stuff and see what I can find > out. > In the meantime run this > perl -e 'use Cwd; $dir = cwd(); print "my dir is $dir\n";' > > And let me know what you get. Also, run > which perl and tell me what that says and lastly > take the results of which perl and use ls -l > to see if its a symbolic link or something. > > I don't know if I can figure out whats goign on but hey, work is slow > right now. > > Also, what OS are you doing this on? > _______________________________________________ > 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 Sep 3 23:35:01 2001 Subject: [ic] Foundation: Undefined Subroutine &Vend I thought I installed Foundation properly, created new products and it looks pretty good until I try to Checkout. Checkout fails and I get an error (in the errorlog): "Foundation /cgi-bin/foundation/ process.html Runtime error: Undefined Subroutine &Vend:: Interpolate::getUPS called at (eval 111) line 18." I'm running the latest Linux and IC on 'localhost' -- ie. not connected to the web. Can anyone point me in the right direction? From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Tue Sep 4 01:51:00 2001 Subject: [ic] order same items several time At 03:34 PM 9/3/01, you wrote: >On Mon, 3 Sep 2001, Xiaowen Wu wrote: > >XW>>Hi there, I have a simple question: when the user orders the same item >XW>>several time, they are shown as difference order entries in the basket, >XW>>are there anyway to combine them as one ? > >In catalog.cfg there is an option for 'SeparateItems' > >HOWEVER!!!! > >I have an item in my store that is available in white, red and blue, as >well as small, medium, and large - all at the same price. > >A customer wanted a blue one in large, and a red one in medium. He >couldn't do it because it was combining the items. His only option was >to place 2 separate orders. > >I have since turned that option off. > > >-= Jim =- Maybe someone can use something like the following which will combine only if the attributes match, use it with SeperateItems yes and put the [recombine] tag on top of the basket page. (Note was written for old MV3.xx, but should still work in IC.) Kyle UserTag recombine Routine <<EOR sub { my $cart = $Vend::Items; # Combine all similar products if attributes match for (my $x=0;$x < @$cart;$x++) { REMAIN: for (my $y=$x+1;$y < @$cart;$y++) { next REMAIN unless ($$cart[$x]{code} eq $$cart[$y]{code}); foreach (keys %{ $$cart[$y] }) { next REMAIN unless ($_ =~ /quantity|mv_price/i || $$cart[$x]{$_} eq $$cart[$y]{$_}); } # we have checked all attributes, so combine items $$cart[$x]{quantity} += $$cart[$y]{quantity}; splice(@$cart, $y, 1); } } return ''; } EOR From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Tue Sep 4 07:56:01 2001 Subject: [ic] passing "data session arg" between apges and dynamic content Hi Lukas, yes there is RENE> Have you tried a set a scratch variable? but a nice feature i am currently using is a cgi-variable, which you can pass throug a link like this: <a href="http://__SERVER_NAME____CGI_URL__/index.html?my_cgi_var=[box-code]" class="barlinkmain">[box-param name]</a> and acess at the next page via th cgi tag! [cgi my_cgi_var] _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Tue Sep 4 08:46:00 2001 Subject: [ic] item-modifier killed by recalculate RH 7, Interchange 4.8.1, GDBM I have several item-modifiers set on my checkout page that work fine until I recalculate the page. I have tried logged in or not logged in and with several products. All other aspects of the order is fine. Is anyone else having this problem? Any suggestions on how to correct this. Thanks Lewey From: interchange-users at interchange.redhat.com (Thomas Clark) Date: Tue Sep 4 09:40:01 2001 Subject: [ic] Installation HELP! I have a RaQ3 server with perl 5.005_03. I've read numerous notes from otherusers with success installing Interchange on thier Raq3's but when I issue thecommand: perl -MCPAN -e 'install Bundle::Interchange' All I get are lots of errors and failures. http://www.tomswoodshop.com/interchange-install.txt Any ideas on how I can get these libraries installed? I've manually installed most of the libraries from ftp.interchange.redhat.com/pub/interchange/perl And I got all of them installed exept perl-Crypt-SSLeay-0.27-1.i386.rpm I get: # rpm -hUv perl-Crypt-SSLeay-0.27-1.i386.rpm error: failed dependencies: libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 Any help is greatly appreciated. Thanks Thomas Clark System Administrator Digitalhill Multimedia From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Sep 4 10:07:00 2001 Subject: [ic] Installation HELP! Quoting Thomas Clark (thomas@lightwaveworld.com): > And I got all of them installed exept perl-Crypt-SSLeay-0.27-1.i386.rpm > > I get: > # rpm -hUv perl-Crypt-SSLeay-0.27-1.i386.rpm > error: failed dependencies: > libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > You don't need that module unless you plan on using AuthorizeNet, iTransact, or Skipjack as payment processors. Certainly you should be able to install Interchange now. On a RAQ, though, you have to be careful of the link type and link mode. Try INET mode, or make sure you select the "use CGIWRAP or SUEXEC" option when you build the catalog. If you do eventually need Crypt::SSLeay, then you can install one of the OpenSSL modules to satisfy the dependencies. But that is not really an Interchange problem. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> When the only tool you have is a hammer, all your problems tend to look like nails. -- Abraham Maslow From: interchange-users at interchange.redhat.com (Tito Abreu) Date: Tue Sep 4 11:47:01 2001 Subject: [ic] Catalogs Hi Friends, Please, i really need some help! I sent several e-mails and none of them has been answered. That's my question: I need to change the product catalog of my IC store. That is currently the Demo site, the one that came together with version 4.8.1. I need to raise the number of products and modify them as well. How can I do this? Thanks, From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Tue Sep 4 11:51:01 2001 Subject: [ic] Catalogs Tito Abreu wrote: > > Hi Friends, > > Please, i really need some help! > I sent several e-mails and none of them has been answered. > > That's my question: > I need to change the product catalog of my IC store. That is currently the > Demo site, the one that came together with version 4.8.1. > I need to raise the number of products and modify them as well. > How can I do this? Have you tried the admin interface as of yet? From: interchange-users at interchange.redhat.com (Doug Finley) Date: Tue Sep 4 12:09:00 2001 Subject: [ic] Catalogs Tito, I have always found that the interchange docs are a great resource for getting up and running. http://interchange.redhat.com/cgi-bin/ic/dev-4.8/index.html --Doug ----- Original Message ----- From: Tito Abreu <tito@connection.com.br> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 04, 2001 11:48 AM Subject: [ic] Catalogs > Hi Friends, > > Please, i really need some help! > I sent several e-mails and none of them has been answered. > > > That's my question: > I need to change the product catalog of my IC store. That is currently the > Demo site, the one that came together with version 4.8.1. > I need to raise the number of products and modify them as well. > How can I do this? > > 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 (Thomas Clark) Date: Tue Sep 4 12:22:01 2001 Subject: [ic] Interchange Help! I'm re-installing Interchange to try to see if I can get rid of an error that I'mrecieving. I have a Raq3 Server with Perl 5.005_03. http://ns1.digitalhill.net/cgi-scripts/foundation But When I run ./configure in the interchange-4.8.1 directory I get the following error in part of the installation: /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 - MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dump cp scripts/expireall blib/script/expireall /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 - MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/expireall cp scripts/makecat blib/script/makecat /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 - MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/makecat cp scripts/interchange blib/script/interchange /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 - MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/interchange Manifying blib/man1/configdump.1 Manifying blib/man3/iccattut.8 /usr/bin/pod2man: bad option in paragraph 50 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 52 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 54 of pod/iccattut.pod: ``-c'' should be [CB]<-c> /usr/bin/pod2man: bad option in paragraph 54 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 56 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 89 of pod/iccattut.pod: ``-l'' should be [CB]<-l> /usr/bin/pod2man: bad option in paragraph 98 of pod/iccattut.pod: ``-F'' should be [CB]<-F> Manifying blib/man3/icdatabase.8 /usr/bin/pod2man: bad option in paragraph 303 of pod/icdatabase.pod: ``-d'' should be [CB]<-d> /usr/bin/pod2man: bad option in paragraph 308 of pod/icdatabase.pod: ``-n'' should be [CB]<-n> /usr/bin/pod2man: bad option in paragraph 343 of pod/icdatabase.pod: ``-n'' should be [CB]<-n> /usr/bin/pod2man: bad option in paragraph 479 of pod/icdatabase.pod: ``-H'' should be [CB]<-H> /usr/bin/pod2man: bad option in paragraph 718 of pod/icdatabase.pod: ``-n'' should be [CB]<-n> /usr/bin/pod2man: bad option in paragraph 1220 of pod/icdatabase.pod: ``-l'' should be [CB]<-l> /usr/bin/pod2man: bad option in paragraph 1222 of pod/icdatabase.pod: ``-l'' should be [CB]<-l> /usr/bin/pod2man: bad option in paragraph 1324 of pod/icdatabase.pod: ``-i'' should be [CB]<-i> Manifying blib/man1/config_prog.1 Manifying blib/man1/expire.1 Manifying blib/man3/icadvanced.8 /usr/bin/pod2man: bad option in paragraph 31 of pod/icadvanced.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 42 of pod/icadvanced.pod: ``-i'' should be [CB]<-i> /usr/bin/pod2man: bad option in paragraph 42 of pod/icadvanced.pod: ``-u'' should be [CB]<-u> /usr/bin/pod2man: bad option in paragraph 53 of pod/icadvanced.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 68 of pod/icadvanced.pod: ``-r'' should be [CB]<-r> Manifying blib/man3/icconfig.8 /usr/bin/pod2man: bad option in paragraph 160 of pod/icconfig.pod: ``-i'' should be [CB]<-i> /usr/bin/pod2man: bad option in paragraph 176 of pod/icconfig.pod: ``-e'' should be [CB]<-e> /usr/bin/pod2man: bad option in paragraph 290 of pod/icconfig.pod: ``-u'' should be [CB]<-u> /usr/bin/pod2man: bad option in paragraph 490 of pod/icconfig.pod: ``-C'' should be [CB]<-C> /usr/bin/pod2man: bad option in paragraph 490 of pod/icconfig.pod: ``-J'' should be [CB]<-J> Manifying blib/man3/icfoundation.8 Manifying blib/man1/localize.1 Manifying blib/man1/makecat.1 Manifying blib/man1/dump.1 Manifying blib/man1/compile_link.1 Manifying blib/man3/icupgrade.8 /usr/bin/pod2man: bad option in paragraph 163 of pod/icupgrade.pod: ``-a'' should be [CB]<-a> /usr/bin/pod2man: bad option in paragraph 266 of pod/icupgrade.pod: ``-l'' should be [CB]<-l> /usr/bin/pod2man: bad option in paragraph 352 of pod/icupgrade.pod: ``scalar (@{$Vend::Cfg->{'Ran Any Ideas? Thomas Clark Digitalhill Multimedia From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Tue Sep 4 12:33:01 2001 Subject: [ic] Search Engines > Hi, How can I make my dynamic product pages (basing on FLYPAGE), > for sample: > www.site.com/cgi-bin/shop/product-id > accessible for search engines, like Google? > You may find the mod_interchange (Apache module) interesting. This would give you a URI like www.site.com/shop/productid.html, removing the nasty-looking cgi-bin from the path. The module also helps reduce the load on busy systems, which is always a bonus. You should find the Akopia version in the dist/src/mod_interchange directory in the Interchange distribution tar file. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Sergey Sheykin) Date: Tue Sep 4 12:37:01 2001 Subject: [ic] Mail Receipt Hello, how can i manually create mail message with order details and send it to our customer-service and client ? (non-standart method) Sergey. From: interchange-users at interchange.redhat.com (Barry D. Hassler) Date: Tue Sep 4 12:38:00 2001 Subject: [ic] Interchange Hosting and Development Hi, HCST*Net has been hosting a number of Interchange (and minivend)-based sites for a number of years. As we grow and focus our business on our core areas of expertise, we are in the process of discontinuing web development, and concentrating on the hosting (and other areas key to our business). We have opportunities for updates and further development on existing sites we host. I am looking for qualified people or organizations who are interested in establishing a mutually beneficial, non-exclusive arrangement for HCST*Net to host interchange sites, and development and maintenance to be handled by third-parties. We would provide whatever support necessary from a hosting perspective to ensure smooth operation of the interchange-based sites. If you're interested in talking further, please contact me directly. Under a non-disclosure agreement, I'll share one upgrade opportunity we currently have, and discuss other capabilities as well. ----- Barry D. Hassler mailto:barry.hassler@corp.hcst.com Executive Vice President HCST http://www.hcst.net 2332 Grange Hall Road VOICE: +1 937-427-9000 Beavercreek, Ohio 45431-2345 FAX: +1 937-427-8706 HCST*Net Support Issues: Please email support@hcst.net Billing Issues: Please email billing@hcst.net From: interchange-users at interchange.redhat.com (Thomas Clark) Date: Tue Sep 4 13:07:01 2001 Subject: [ic] Interchange Help! When I RESTART the Interchange server I get this: [root@ns1 interchange-4.8.1]# i /Bundle::Interchange/ sh: i: command not found [root@ns1 interchange-4.8.1]# su -c "/usr/local/interchange/bin/interchange -r" interch Killing Interchange server 6908 with TERM. Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange line 2716 Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog foundation...foundation config error: Could not create '/home/sites/home/users/interch/catalogs/foundation/products/new_vari able.gdbm': Disk quota exceeded at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 63, <IN> chunk 1. foundation: error in configuration. Skipping. foundation: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 19806) Any Ideas? I think I might be getting closer to getting this install to work! Thomas Clark Digitalhill Multimedia From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 4 13:29:00 2001 Subject: [ic] Interchange Help! On Tue, Sep 04, 2001 at 12:04:17PM -0500, Thomas Clark wrote: > When I RESTART the Interchange server I get this: > > [root@ns1 interchange-4.8.1]# i /Bundle::Interchange/ > sh: i: command not found > [root@ns1 interchange-4.8.1]# su -c > "/usr/local/interchange/bin/interchange -r" interch > Killing Interchange server 6908 with TERM. > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS > at /usr/local/interchange/bin/interchange line 2716 > Calling UI......UI is loaded... > Interchange V4.8.1 > Configuring catalog foundation...foundation config error: Could not > create '/home/sites/home/users/interch/catalogs/foundation/products/new_vari > able.gdbm': Disk quota exceeded > at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 63, <IN> chunk 1. > > > > foundation: error in configuration. Skipping. > foundation: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 19806) > able.gdbm': Disk quota exceeded ^^^^^^^^^^^^^^^^^^^ > > Any Ideas? I think I might be getting closer to getting this install to > work! > Thomas Clark > Digitalhill Multimedia > > > _______________________________________________ > 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: Tue Sep 4 14:09:01 2001 Subject: [ic] Search Engines "Kevin Walsh" <kevin@cursor.uk.com> writes: > > Hi, How can I make my dynamic product pages (basing on FLYPAGE), > > for sample: > > www.site.com/cgi-bin/shop/product-id > > accessible for search engines, like Google? > > > You may find the mod_interchange (Apache module) interesting. > This would give you a URI like www.site.com/shop/productid.html, > removing the nasty-looking cgi-bin from the path. ScriptAlias /shop/ /usr/lib/cgi-bin/vlink would do the same. 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 (Cormac Robinson) Date: Tue Sep 4 14:29:00 2001 Subject: [ic] (no subject) Afternoon. I've installed with a bit of trouble interchange. Everything seems to be working fine, and when I create a new catalog I seem to be given the all clear. I hvae started the interchange daemon and I get a problem in locating the table_editor. I've also noticed that although the database name "test_shopper" has been created, there are no tables in it. As anybody experienced a similiar problem and if so have they any advice. I've enclosed my telnet message below. I'm running the server through a host company in England. I believe they are running Red Hat 6. Thanks for your help. Cormac. [admin@crobinson interchange]$ bin/interchange -restart Killing Interchange server 7934 with TERM. Low traffic settings. Calling UI...Interchange V4.8.1 Configuring catalog shopper...Required UserTag table_editor not present. Abortin g catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button shopper config error: Required UserTag table_editor not present. Aborting catalo g. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button shopper: error in configuration. Skipping. shopper: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 8001) [admin@crobinson interchange]$ __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Cormac Robinson) Date: Tue Sep 4 14:30:01 2001 Subject: [ic] missing table_editor Afternoon. I've installed with a bit of trouble interchange. Everything seems to be working fine, and when I create a new catalog I seem to be given the all clear. I hvae started the interchange daemon and I get a problem in locating the table_editor. I've also noticed that although the database name "test_shopper" has been created, there are no tables in it. As anybody experienced a similiar problem and if so have they any advice. I've enclosed my telnet message below. I'm running the server through a host company in England. I believe they are running Red Hat 6. Thanks for your help. Cormac. [admin@crobinson interchange]$ bin/interchange -restart Killing Interchange server 7934 with TERM. Low traffic settings. Calling UI...Interchange V4.8.1 Configuring catalog shopper...Required UserTag table_editor not present. Abortin g catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button shopper config error: Required UserTag table_editor not present. Aborting catalo g. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button shopper: error in configuration. Skipping. shopper: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 8001) [admin@crobinson interchange]$ __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 4 14:31:01 2001 Subject: [ic] Mail Receipt "Sergey Sheykin" <sheich@mosinfo.ru> writes: > Hello, > > how can i manually create mail message with order details > and send it to our customer-service and client ? > (non-standart method) Straightforward (on receipt page): [email subject="" to=""] ... details ... [/email] Clean: Set up routes for this (look at the documentation and the foundation demo 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 (Tito Abreu) Date: Tue Sep 4 15:12:01 2001 Subject: [ic] Catalogs Thanks to whom they had answered to my previous email. I read the documentation of interchange... But I would like to know as to change my catalogue through in admin interface. It is possible? Thanks again! ___________________________________ Tito Abreu WebDesigner e-Business Solutions Connection Network Systems Ltda. Rua do Rosario, 103/10 andar - Centro -RJ CEP: 20041-004 http://www.connection.com.br ----- Original Message ----- From: "Chris Rapier" <rapier@psc.edu> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 04, 2001 12:51 PM Subject: Re: [ic] Catalogs > > > Tito Abreu wrote: > > > > Hi Friends, > > > > Please, i really need some help! > > I sent several e-mails and none of them has been answered. > > > > That's my question: > > I need to change the product catalog of my IC store. That is currently the > > Demo site, the one that came together with version 4.8.1. > > I need to raise the number of products and modify them as well. > > How can I do this? > > Have you tried the admin interface as of yet? > _______________________________________________ > 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 Rapier) Date: Tue Sep 4 15:29:00 2001 Subject: [ic] Interchange Help! > create '/home/sites/home/users/interch/catalogs/foundation/products/new_vari > able.gdbm': Disk quota exceeded > at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 63, <IN> chunk 1. First thing you need to do is fix this. You are out of disk space and need to have some available for the databases to be created. From: interchange-users at interchange.redhat.com (interch) Date: Tue Sep 4 15:30:00 2001 Subject: [ic] code in sessions, why? Why does interchange store code, such as the tag language in etc/log_transaction, in the session data? Every time I need to change the code in that file I have to delete all the sessions. Chris From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Sep 4 15:58:01 2001 Subject: [ic] code in sessions, why? Quoting interch (interch@web3.valley-internet.com): > > Why does interchange store code, such as the tag language in > etc/log_transaction, in the session data? Every time I need to change the > code in that file I have to delete all the sessions. The fact is that some things in log_transaction are placed in Scratch variables, usually for testing a result or modifying some output. Removing the session has no effect on this unless you have done something to log_transaction where you read things from scratch instead of storing them in scratch. For the most part, you can eliminate this from the session by changing any [seti ....] [/seti] things to [tmp ...] [/tmp]. I will do that as appropriate in the next release, but again, it should have no effect on execution. -- 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 (Thomas Clark) Date: Tue Sep 4 16:02:00 2001 Subject: [ic] Interchange Help! I agree on the need more space for the "Disk quota exceeded". But! This is what my machine has as far as free space goes: [root@ns1 /]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda1 743466 568907 174559 77% / /dev/hda3 198601 60468 138133 30% /var /dev/hda4 6901425 3158625 3742800 46% /home And the user "interch" that I'm using has 4 gigs allocated to it. I know its notusing that much. This is a user on the root domain too. So what do I have todo to satisfy the error? Thomas Clark Digitalhill Multimedia From: interchange-users at interchange.redhat.com (David Totten) Date: Tue Sep 4 16:22:00 2001 Subject: [ic] Interchange Help! On Tue, 2001-09-04 at 15:59, Thomas Clark wrote: > I agree on the need more space for the "Disk quota exceeded". But! > This is just a guess, but it sure sounds like you have user quota's set up on that system, and the quota set up for your interch user (or whatever user that interchange runs as) is not allowed to use anymore disk space. I would check into that quota by doing 'edquota interch' and see if indeed there is a quota on that user. > And the user "interch" that I'm using has 4 gigs allocated to it. I know > its notusing that much. This is a user on the root domain too. So what do I > have todo to satisfy the error? I don't know what you mean that the user interch has 4 gigs allocated to it. I mean if the user's quota is set up to be 4 gigs, or if there is just 4 gigs of free space on the partition that interchange is setup on. Like I said before, this sure looks like user quota's 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 (Brant Katkansky) Date: Tue Sep 4 16:25:00 2001 Subject: [ic] Interchange Help! On Tue, Sep 04, 2001 at 02:59:08PM -0500, Thomas Clark wrote: > I agree on the need more space for the "Disk quota exceeded". But! > > This is what my machine has as far as free space goes: > > [root@ns1 /]# df > Filesystem 1k-blocks Used Available Use% Mounted on > /dev/hda1 743466 568907 174559 77% / > /dev/hda3 198601 60468 138133 30% /var > /dev/hda4 6901425 3158625 3742800 46% /home > > And the user "interch" that I'm using has 4 gigs allocated to it. I know > its notusing that much. This is a user on the root domain too. So what do I > have todo to satisfy the error? "Disk quota exceeded" is an operating system error. Your OS does not appear to agree with what you believe the "interch" user's quota is set for. The problem is in your OS and/or your quota configuration - but it may be possible to work around the problem if more is known. When logged in as "interch" what does "quota -v" tell you? I would check the settings not just on the filesystem Interchange is being installed on, but on / and /var also. It's possible that Interchange is trying to write a temporary file in /tmp or /var/tmp that exceeds the quota for those filesystems. From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Tue Sep 4 16:32:00 2001 Subject: [ic] passing "data session arg" between apges and dynamic content generation Dear Tobias Thanks alot - your sugestion worked out. Thanx to all who were kind to advice me on this subject. I am so much pro Open Source !!! more and more Luk > Hi Lukas, > > yes there is > RENE> Have you tried a set a scratch variable? > but a nice feature i am currently using is a cgi-variable, which you can > pass throug a link like this: > <a > href="http://__SERVER_NAME____CGI_URL__/index.html?my_cgi_var=[box-code]" > class="barlinkmain">[box-param name]</a> > > and acess at the next page via th cgi tag! [cgi my_cgi_var] > > > > > _cu_ (mit freundliche Grüßen) > > -Tobias Henle > _ _ _ > __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ > \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ > \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| > -- > ________E-Mail________________________URL____________________________ > mailto:t.henle@thiesen.com http://www.thiesen.com > _____________________________________________________________________ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Thomas Clark) Date: Tue Sep 4 16:49:00 2001 Subject: [ic] Interchange Help! Well, it looks like I'm spending way too much time spinning my wheels trying toget this to work. If anyone out there is confident enough to work on a RaQ3 and get this baby running for a resonable price please email me. thomas@digitalhill.com Thomas Clark Digitalhill Multimedia From: interchange-users at interchange.redhat.com (Xavier de GELIS) Date: Tue Sep 4 16:54:00 2001 Subject: [ic] Mail Receipt - How to hide the return result Hello, When using the [email] tag in the receipt.html page, the return result [1] is displayed. How can it be hidden ? Best regards, Xavier. At 08:30 PM 9/4/01 +0200, you wrote: >"Sergey Sheykin" <sheich@mosinfo.ru> writes: > > > Hello, > > > > how can i manually create mail message with order details > > and send it to our customer-service and client ? > > (non-standart method) > >Straightforward (on receipt page): >[email subject="" to=""] >... details ... >[/email] > >Clean: >Set up routes for this (look at the documentation and >the foundation demo catalog). > >Ciao > Racke > >-- >Racke happily hacks Interchange and maintains Debian packages like Courier. > >For projects and other business stuff please refer to COBOLT NetServices >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -------------------------------------------------------------------------------------------------------------- Xavier de GELIS | MIS director - Omnidata Systems 10727 Tower Oaks Blvd - Houston, Tx. 77070, USA Tel: 281-469-4365 #114 | Fax: 281-469-5841 Email: xgelis@omnidatasys.com | Web: http://www.omnidatasys.com -------------------------------------------------------------------------------------------------------------- From: interchange-users at interchange.redhat.com (JT Justman) Date: Tue Sep 4 17:08:01 2001 Subject: [ic] [or] tag problems Okay, I tried to search this on the mailing list archive, but "or" is not indexed, and nothing relivant was found under all the related phrases I could think of. There is nearly no info on [or] in the docs. I'm doing a simple check: [if value s_cat_1051] [or value s_cat_1052] Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR> [/if] If the box for s_cat_1052 is checked on the previous page, the text is displayed correctly. If the box for s_cat_1051 is checked, nothing is displayed. These params are set on the previous page as such: <input type="checkbox" name="s_cat_1051"> Long Sleeved Dress Shirts <BR> <input type="checkbox" name="s_cat_1052"> Short Sleeved Dress Shirts <BR> Also, for testing porposes I put the following right above the if / or part: 1051 [value s_cat_1051]<BR> 1052 [value s_cat_1052]<BR> Both values return "on". Removing the [or] tag causes the [if] to work fine. Is there something I'm missing? Running 4.8.1. JT From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Tue Sep 4 17:18:01 2001 Subject: [ic] Mail Receipt - How to hide the return result > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Xavier de GELIS > Hello, > > When using the [email] tag in the receipt.html page, the return result [1] > is displayed. How can it be hidden ? > Best regards, Xavier. [seti tmp_email][email .........][/seti] > At 08:30 PM 9/4/01 +0200, you wrote: > >"Sergey Sheykin" <sheich@mosinfo.ru> writes: > > > > > Hello, > > > > > > how can i manually create mail message with order details > > > and send it to our customer-service and client ? > > > (non-standart method) > > > >Straightforward (on receipt page): > >[email subject="" to=""] > >... details ... > >[/email] > > > >Clean: > >Set up routes for this (look at the documentation and > >the foundation demo catalog). > > > >Ciao > > Racke > > > >-- > >Racke happily hacks Interchange and maintains Debian packages like > Courier. > > > >For projects and other business stuff please refer to COBOLT NetServices > >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1- > 3884400) > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > ------------------------------------------------------------------------ -- > ------------------------------------ > Xavier de GELIS | MIS director - Omnidata Systems > 10727 Tower Oaks Blvd - Houston, Tx. 77070, USA > Tel: 281-469-4365 #114 | Fax: 281-469-5841 > Email: xgelis@omnidatasys.com | Web: http://www.omnidatasys.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: Tue Sep 4 17:21:00 2001 Subject: [ic] Mail Receipt - How to hide the return result Xavier de GELIS <xgelis@omnidatasys.com> writes: > Hello, > > When using the [email] tag in the receipt.html page, the return result [1] > is displayed. How can it be hidden ? > Best regards, Xavier. [tmp dummy][email ...] ... [/email][/tmp] 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: Tue Sep 4 17:44:01 2001 Subject: [ic] [or] tag problems Quoting JT Justman (jt@signless.com): > Okay, I tried to search this on the mailing list archive, but "or" is not > indexed, and nothing relivant was found under all the related phrases I > could think of. There is nearly no info on [or] in the docs. > > I'm doing a simple check: > > [if value s_cat_1051] > [or value s_cat_1052] > Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR> > [/if] > > If the box for s_cat_1052 is checked on the previous page, the text is > displayed correctly. If the box for s_cat_1051 is checked, nothing is > displayed. > > These params are set on the previous page as such: > > <input type="checkbox" name="s_cat_1051"> Long Sleeved Dress Shirts <BR> > <input type="checkbox" name="s_cat_1052"> Short Sleeved Dress Shirts <BR> > > Also, for testing porposes I put the following right above the if / or part: > > 1051 [value s_cat_1051]<BR> > 1052 [value s_cat_1052]<BR> > > Both values return "on". > > Removing the [or] tag causes the [if] to work fine. > > Is there something I'm missing? Running 4.8.1. Yes -- you aren't thinking about HTML behavior. If a checkbox is off, the browser doesn't submit anything for it, i.e. you don't get /cgi-bin/yourcat?s_cat_1051=&s_cat_1052=on, you get only /cgi-bin/yourcat?s_cat_1052=on. So, Interchange has no idea you want to reset the persistent value s_cat_1051. Probably what you want is: [if cgi s_cat_1051] [or cgi s_cat_1052] Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR> [/if] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "All you need in this life is ignorance and confidence, and then success is sure." -- Mark Twain From: interchange-users at interchange.redhat.com (JT Justman) Date: Tue Sep 4 18:44:00 2001 Subject: [ic] [or] tag problems ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 04, 2001 2:43 PM Subject: Re: [ic] [or] tag problems > Yes -- you aren't thinking about HTML behavior. > > If a checkbox is off, the browser doesn't submit anything for it, i.e. > you don't get /cgi-bin/yourcat?s_cat_1051=&s_cat_1052=on, you get > only /cgi-bin/yourcat?s_cat_1052=on. > > So, Interchange has no idea you want to reset the persistent value > s_cat_1051. > > Probably what you want is: > > [if cgi s_cat_1051] > [or cgi s_cat_1052] > Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR> > [/if] > Maybe I wasn't clear... I am checking the box, and the value is being passed as true. It's simply not evaluating as I expect. Also, all of the variables are explicitly reset on the previous page. I tried changing 'value' to 'cgi', but there was no change. Still stumped, JT From: interchange-users at interchange.redhat.com (Chris Rapier) Date: Tue Sep 4 18:58:01 2001 Subject: [ic] Mail Receipt - How to hide the return result "Stefan Hornburg (Racke)" wrote: > > Xavier de GELIS <xgelis@omnidatasys.com> writes: > > > Hello, > > > > When using the [email] tag in the receipt.html page, the return result [1] > > is displayed. How can it be hidden ? > > Best regards, Xavier. > > [tmp dummy][email ...] > ... > [/email][/tmp] You can also just dump the whole thing inside of html comment tags. <!-- [minivend stuff] --> I actually prefer doing that as the extra couple bytes aren't going to kill anyone and I have another indicator of success or failure (if I look at the resulting html source). From: interchange-users at interchange.redhat.com (Jud Harris) Date: Tue Sep 4 19:19:00 2001 Subject: [ic] read-only table error Hey folks, I just clean installed 4.8.1, and I'm unable to modify certain variables via the interface. For example, if I go to the Adminstration section of the admin ui, to Tax, I am unable to delete, add, or modify any of the entries. BUT! If I go to Preferences, or Tables, and edit the variables that way, it works. The report in the error.log when I attempt it the first way is the following: Attempt to set variable::Variable::TAXAREA in read-only table I've checked my directories' permissions and all are user/group writeable by interch. I don't get it. Anyone have any ideas? Thanks! -Jud From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Tue Sep 4 19:37:00 2001 Subject: [ic] Problem with Admin interface. 4.8.1 If I go into the Admin interface. Click on Administration and then on preferences, company and then click on the items I want to edit and then click on the bar "edit clicked records in sequence" I get page not found. But I can click on the code what_I_want_to_change and it works. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Bryce Kuhlman) Date: Tue Sep 4 19:48:01 2001 Subject: [ic] item-options in email I'm trying to get print some useful message in mail_receipt and report concerning selected options, but without the HTML widgets that [item-options ...] spits out. I did find something Mike posted in the archives that suggested using: [item-options report=1] I tried this and still get the HTML hidden mv_item_option tag. I've tried every combination of options I can think of (type=report, etc.). Maybe there's a filter I could apply to [item-options report=1] that would strip out the <input type=hidden...> tag? I'm using simple options (not modular) and working with IC4.8. Any help would be appreciated... Bryce From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Sep 4 19:50:00 2001 Subject: [ic] [or] tag problems Quoting JT Justman (ic@signless.com): > ----- Original Message ----- > From: "Mike Heins" <mheins@redhat.com> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, September 04, 2001 2:43 PM > Subject: Re: [ic] [or] tag problems > > > Yes -- you aren't thinking about HTML behavior. > > > > If a checkbox is off, the browser doesn't submit anything for it, i.e. > > you don't get /cgi-bin/yourcat?s_cat_1051=&s_cat_1052=on, you get > > only /cgi-bin/yourcat?s_cat_1052=on. > > > > So, Interchange has no idea you want to reset the persistent value > > s_cat_1051. > > > > Probably what you want is: > > > > [if cgi s_cat_1051] > > [or cgi s_cat_1052] > > Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR> > > [/if] > > > > Maybe I wasn't clear... I am checking the box, and the value is being passed > as true. It's simply not evaluating as I expect. Also, all of the variables > are explicitly reset on the previous page. > > I tried changing 'value' to 'cgi', but there was no change. > > Still stumped, In that case, I am too. I tested this (and it is tested for in our regression tests) with this page: [if cgi val1] [or cgi val2] One of them is set. [else] Neither is set. [/else] [/if] <P> [if cgi val1] [and cgi val2] Both of them are set. [/if] <p> [page href=@@MV_PAGE@@ form=" val1=0 val2=0 "] Neither [/page] <p> [page href=@@MV_PAGE@@ form=" val1=1 val2=0 "] Val 1 [/page] <p> [page href=@@MV_PAGE@@ form=" val1=0 val2=1 "] Val 2 [/page] <p> [page href=@@MV_PAGE@@ form=" val1=1 val2=1 "] Both [/page] -- 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 (Jim Balcom) Date: Tue Sep 4 20:49:01 2001 Subject: [ic] Catalogs On Tue, 4 Sep 2001, Tito Abreu wrote: TA>>Please, i really need some help! TA>>I sent several e-mails and none of them has been answered. Probably because your questions are too general. TA>>That's my question: TA>>I need to change the product catalog of my IC store. That is currently the TA>>Demo site, the one that came together with version 4.8.1. "I bought a house and a car came with it. How do I change the car." TA>>I need to raise the number of products and modify them as well. TA>>How can I do this? "I want to add more cars to the house, and change their colors. How can I do this?" Far out examples? Perhaps. "The Lord helps them that helps themselves!" >From your questions, you have obviously gotten IC up and running, or someone has done it for you. IC is NOT simple. It has a VERY steep learning curve. The documentation is difficult to deal with, but with a lot of time and a lot of work your store can become just what you want it to be. Maybe some other e-commerce packages would also meet your needs and not be so difficult to del with? Otherwise, you need to do a lot of experimentation. Try things out and see what happens when you change something. Keep lots of back ups. Go through the mailing list archives and see what's gone on before. If you really need to have someone hold your hand and walk you through this, then contact the folks at akopia.com and set up a Tech Support arrangement with them. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 04, 2001 at 20:40 PM: Help beautify our dumps. Throw away something pretty. ---------------------------------------------------------------- This Linux System has been up 585 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 4 20:53:01 2001 Subject: [ic] Interchange Hosting and Development On Tue, 4 Sep 2001, Barry D. Hassler wrote: BDH>>HCST*Net has been hosting a number of Interchange (and minivend)-based BDH>>sites for a number of years. As we grow and focus our business on our BDH>>core areas of expertise, we are in the process of discontinuing web BDH>>development, and concentrating on the hosting (and other areas key to BDH>>our business). BDH>> BDH>>We have opportunities for updates and further development on existing BDH>>sites we host. BDH>> BDH>>I am looking for qualified people or organizations who are interested in BDH>>establishing a mutually beneficial, non-exclusive arrangement for BDH>>HCST*Net to host interchange sites, and development and maintenance to BDH>>be handled by third-parties. We would provide whatever support necessary BDH>>from a hosting perspective to ensure smooth operation of the BDH>>interchange-based sites. BDH>> BDH>>If you're interested in talking further, please contact me directly. BDH>>Under a non-disclosure agreement, I'll share one upgrade opportunity we BDH>>currently have, and discuss other capabilities as well. Barry, It's been a long day and I'm tired, and maybe that's the reason. But, I've got no idea of what you said, or what you are talking about. Do you have a 'plain English' version? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 04, 2001 at 20:55 PM: Peanuts: The Drinking Man's Filter. ---------------------------------------------------------------- This Linux System has been up 585 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 4 20:56:00 2001 Subject: [ic] Mail Receipt On Tue, 4 Sep 2001, Sergey Sheykin wrote: SS>>how can i manually create mail message with order details SS>>and send it to our customer-service and client ? SS>>(non-standart method) In my experience, this is already happening in my 'construct' version just as it comes out of the box. If you want to modify what is distributed, it's in the ../etc/ directory. It is easily modified. Pehaps I didn't understand your question? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 04, 2001 at 20:55 PM: Peanuts: The Drinking Man's Filter. ---------------------------------------------------------------- This Linux System has been up 585 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 4 21:04:00 2001 Subject: [ic] Interchange Help! On Tue, 4 Sep 2001, Thomas Clark wrote: TC>>I agree on the need more space for the "Disk quota exceeded". But! TC>> TC>>This is what my machine has as far as free space goes: TC>> TC>>[root@ns1 /]# df TC>>Filesystem 1k-blocks Used Available Use% Mounted on TC>>/dev/hda1 743466 568907 174559 77% / TC>>/dev/hda3 198601 60468 138133 30% /var TC>>/dev/hda4 6901425 3158625 3742800 46% /home TC>> TC>>And the user "interch" that I'm using has 4 gigs allocated to it. I know TC>>its notusing that much. This is a user on the root domain too. So what do I TC>>have todo to satisfy the error? The amount of free space has nothing to do with quotas. The sysadmin can allocate an amount of space to each user. For most of my web page customers I allocate 15 megs on an 80 gig hard drive. I can set soft and hard limits. I can have 79 gigs of free space on the drive and that customer still won't get over his alloted 15 megs. Check out 'man quota' -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 04, 2001 at 21:00 PM: If Murphy's Law can go wrong, it will. ---------------------------------------------------------------- This Linux System has been up 585 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (joachim.richter) Date: Wed Sep 5 00:39:00 2001 Subject: [ic] GENERATE STATIC Hi All - I've been trying to generate static item pages but with no success. Variable TRAFFIC in my interchange.cfg file in the /usr directory is set to HIGH. CATALOG_STATIC in my variable table is set to 'Yes'. On the admin section, in Design, Generate Static - I'm not quite sure what to do..I appear to have the default values. Do I need to change the entry page?How can i change the list of the 'Force build of:' and 'Never Build:'? I have hand built static category pages, but need static item pages for all my products. Any/all help would really be appreciated. Thanks very much. 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: Wed Sep 5 01:18:01 2001 Subject: [ic] GENERATE STATIC If you need pages to display single items you have to create them. From the admin web interface select content then add new page. From: interchange-users at interchange.redhat.com (Kat Turner) Date: Wed Sep 5 09:17:01 2001 Subject: [ic] Shipping Problem: 1DA Missing: consigneecountry Hi, I have IC 4.8 installed and running. Everything in the demo is working fine except shipping calculations. I have checked and rechecked my configuration. I have compared my settings with the redhat demo and they all seem to be the same. On the checkout page I still can't get the shipping costs displayed. I get "NOTE: 1DA: Missing consigneecountry" What is the consigneecounty and where is it defined in IC 4.8? Could someone please help? Thanks in advance! Kat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Richard White) Date: Wed Sep 5 10:26:00 2001 Subject: [ic] Problems with Chekout Joachim, I'm not sure where I should put the line "TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR>" My etc/profiles.order looks like ############## Begin ################### __NAME__ order_profile fname=required lname=required &fatal=no &final=yes __END__ ####################### End ################### Any thoughts? Richard --- Joachim Leidinger <jojo@blackpoint.de> wrote: > Richard White wrote: > > > > I had a problem with the checkout. I kept getting a message that > > something was missing but it never indicated the value. I hacked on > it > > for about a week with no luck. > > You have a wrong subject in your email. Please! Correct it! > > Regarding you problem with the checkout, add a line like > > TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR> > > an see what you get. > > Check the etc/profiles.order too! > > 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 __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Sep 5 10:39:01 2001 Subject: [ic] Problems with Chekout Richard, you have a problem with the checkout. It seems to me, you are not able to finish the order with the checkout page. Therefore, add a line like TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR> anywhere in your checkout page to see any other error, which is not provided by such kind of codes like [error name=fname std_label="First Name" required=1] regarding your profiles.order, this is not the same like the files in fondation/etc/profiles.order. Something is wrong in checkout or profiles.order Did you look into the error.log files? ciao Joachim PS: Please, ask the list! Richard White wrote: > > Joachim, > > I'm not sure where I should put the line > > "TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR>" > > My etc/profiles.order looks like > > ############## Begin ################### > > __NAME__ order_profile > > fname=required > lname=required > > &fatal=no > &final=yes > __END__ > > ####################### End ################### > > Any thoughts? > > Richard > > --- Joachim Leidinger <jojo@blackpoint.de> wrote: > > Richard White wrote: > > > > > > I had a problem with the checkout. I kept getting a message that > > > something was missing but it never indicated the value. I hacked on > > it > > > for about a week with no luck. > > > > You have a wrong subject in your email. Please! Correct it! > > > > Regarding you problem with the checkout, add a line like > > > > TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR> > > > > an see what you get. > > > > Check the etc/profiles.order too! > > > > 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 > > __________________________________________________ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger > http://im.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- 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 (Tobias Henle) Date: Wed Sep 5 10:46:01 2001 Subject: [ic] Problems with Chekout Hi, i have an idea about a possible mistake (which i have made too ;( ) have you insered <INPUT TYPE=hidden NAME=mv_order_profile VALUE=order_profile> in the checkout page? Richard White wrote: > > Joachim, > > I'm not sure where I should put the line > > "TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR>" > > My etc/profiles.order looks like > > ############## Begin ################### > > __NAME__ order_profile > > fname=required > lname=required > > &fatal=no > &final=yes > __END__ > > ####################### End ################### > > Any thoughts? > > Richard > > --- Joachim Leidinger <jojo@blackpoint.de> wrote: > > Richard White wrote: > > > > > > I had a problem with the checkout. I kept getting a message that > > > something was missing but it never indicated the value. I hacked on > > it > > > for about a week with no luck. > > > > You have a wrong subject in your email. Please! Correct it! > > > > Regarding you problem with the checkout, add a line like > > > > TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR> > > > > an see what you get. > > > > Check the etc/profiles.order too! > > > > 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 > > __________________________________________________ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger > http://im.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Sep 5 11:12:01 2001 Subject: [ic] Shipping Problem: 1DA Missing: consigneecountry Quoting Kat Turner (ronzokat@hotmail.com): > Hi, I have IC 4.8 installed and running. Everything in the demo is working > fine except shipping calculations. I have checked and rechecked my > configuration. I have compared my settings with the redhat demo and they all > seem to be the same. On the checkout page I still can't get the shipping > costs displayed. I get "NOTE: 1DA: Missing consigneecountry" What is the > consigneecounty and where is it defined in IC 4.8? Could someone please > help? Thanks in advance! UPS apparently changed their interface a bit, now requring (instead of shunning) US as a target country. You can fix this by removing this line from ups_query.tag: $country = undef if $country eq 'US'; I have fixed it in CVS as well. -- 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 (Nathan D. Olmscheid) Date: Wed Sep 5 11:51:01 2001 Subject: [ic] Creating Sub Categories Hello Guys- I am very new to Interchange, and I have been doing alright so far. I will probably have several question, but I am taking things one step at a time. Can someone please describe how I go about creating subcategories. Here is my scenerio: Mail Carts (not linke, area) Cart Accessories (The rest of these are linked. categories) Cart Frames (Design your own) File and Tote Carts Hampers and Movers Office Cart Package Carts and Trucks Solid Mail Carts Specialty Carts Wire Mail Carts Here is what I need. Under my category Solid Mail Carts, I have several different types of mail carts. Super-Capacity Long Medium Compact These categories will hold true for most of the mail carts, but will obviously bring different results depending on what main category they choose. Ex. There are Medium sized Wire Mail Carts, as well as Medium sized Solid Mail Carts. Please drop me a line if you can help. Either to the list or to me personally. Thanks a lot for any help! Nathan nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Barbara Picci) Date: Wed Sep 5 11:58:00 2001 Subject: [ic] Question about Cookies Hi, I have a question about Interchange and the cookies. I can mantain the session if I close the window of the browser but not if I quit the same browser. Is there the possibility to mantain the session for a number of hours, even if I quit the browser? I saw the explanation of cookies in the manual but there is no answer. Thank you From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Wed Sep 5 12:05:01 2001 Subject: [ic] Question about Autoload What's defined when the Autoload stuff is done? I want to do some Autoloading on the userdb. Has the record been read in from the database when the autoload is executed? How can I easily access the various fields? Do I have to use the [data userdb ...] tag? Wouldn't that cause some sort of recursion? I want to do something like this. Userdb .... Autload <<EOR [if data userdb pricefield] [perl] $Config->{PriceField} = $Values->{pricefield} [/perl] [/if] EOR I got the perl snippet from http://lists.akopia.com/pipermail/interchange-users/2001-February/004944.html. But what I don't know is how the $Values reference gets updated? Does it hold the values of the currently read-in record with keys to all the fields? -- (__) 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 (interch) Date: Wed Sep 5 12:48:01 2001 Subject: [ic] Tag interpolation strangeness IC 4.8.1. This is the code snippet. What is happening is that first the item-field tag is being interpolated correctly inside the seti tag, but then later on the value of item-field reverts to the literal string item-field inside a calc tag that is inside a seti tag. The line that returns the error has the arrow next to it. I also included the error message from error.log. Chris [set commission]0[/set] [item-list interpolate=1] [seti price][item-price noformat][/seti] [if scratch comm_level == 1] [seti percent][item-field comm_lvl1_p][/seti] [seti flat][item-field comm_lvl1][/seti] [/if] [if scratch comm_level == 2] [seti percent][item-field comm_lvl2_p][/seti] [seti flat][item-field comm_lvl2][/seti] [/if] [if scratch comm_level == 3] [seti percent][item-field comm_lvl3_p][/seti] [seti flat][item-field comm_lvl3][/seti] [/if] [if scratch comm_level == 4] [seti percent][item-field comm_lvl4_p][/seti] [seti flat][item-field comm_lvl4][/seti] [/if] [if scratch comm_type =~ /percent/] [seti item_commission][calc][scratch percent] * [scratch price][/calc][/seti] [seti commission][calc][scratch commission] + [scratch item_commission][/calc][/seti] [else] [seti commission][calc][scratch commission] + [scratch flat][/calc][/seti] <----commission gets set to the literal "+ [item-field comm_lvl1]" [/else] [/if] [/item-list] 63.228.109.101 RWakS43s:63.228.109.101 - [04/September/2001:18:00:00 +0000] enlow /cgi-bin/enlow/process.html Safe: Can't locate obj ect method "field" via package "comm_lvl1" at (eval 261) line 1. > > + [item-field comm_lvl1] From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Sep 5 13:25:01 2001 Subject: [ic] Question about Autoload Quoting Doug Alcorn (lathi@seapine.com): > > What's defined when the Autoload stuff is done? I want to do some > Autoloading on the userdb. Has the record been read in from the > database when the autoload is executed? How can I easily access the > various fields? Do I have to use the [data userdb ...] tag? Wouldn't > that cause some sort of recursion? I want to do something like this. No, you don't want to use the [data ...] tag unless you think you have done something to $Values. The session is already retrieved at Autoload time. > > Userdb .... > > Autload <<EOR > [if data userdb pricefield] > [perl] $Config->{PriceField} = $Values->{pricefield} [/perl] > [/if] > EOR This won't be good code, as you will find out. Better would be: Autoload <<EOR [perl] return unless $Values->{pricefield}; $Config->{PriceField} = $Values->{pricefield}; return; [/perl] EOR > > I got the perl snippet from > http://lists.akopia.com/pipermail/interchange-users/2001-February/004944.html. > But what I don't know is how the $Values reference gets updated? Does > it hold the values of the currently read-in record with keys to all > the fields? It holds whatever it held from the last page. When a user logs in, the database is read and $Values and $Scratch are updated. This is persistent. By the way, if you think people might fiddle with the pricefield value (remember, a user can set a $Values simply by accessing a URL) then it would be good to define pricefield as a Scratch setting and not for Values. -- 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 (Mark R. Misko) Date: Wed Sep 5 13:34:01 2001 Subject: [ic] Upgrade from 4.6 to 4.8 Hello, I currently inherited an e-commerce site running an Interchange 4.6 system. I want to upgrade to version 4.8 as it seems to have more functionality, especially with the shipping methods. A couple questions for you who may know: 1. Are the shipping methods and formulas consistent with the practices used by the actual companies? From what I have gathered, they are. 2. Will upgrading to version 4.8 also import the newer version of the shipping tables that are located in the "demo" 4.8 version. Will other tables be affected? 3. Will any problems arise from upgrading, as far as new variable or table names that may cause our existing catalog not to work? Thanks for your help. Just trying to figure this whole mess in front of me out. -Mark From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 5 13:39:00 2001 Subject: [ic] 4.8.1 checkout.html problem interchange seems to crash when i try to checkout this is what's in the error log: [05/September/2001:19:24:09 +0200] demo /cgi-bin/demo.cgi/ord/checkout.html Runtime error: Can't use string ("mv_click") as a HASH ref while "strict refs" in use at (eval 89) line 54. From: interchange-users at interchange.redhat.com (David Totten) Date: Wed Sep 5 13:44:00 2001 Subject: [ic] Upgrade from 4.6 to 4.8 On Wed, 2001-09-05 at 13:33, Mark R. Misko wrote: > 3. Will any problems arise from upgrading, as far as new variable or table > names that may cause our existing catalog not to work? > Upgrading from 4.6x to 4.8x is probably going to be a bit of a struggle. What I would do (depending on circumstances) is create a new 4.8x foundation catalog, and convert it's functionality to reproduce what the old store did. You may be thinking that this sounds like it's a bunch of wasted time, but the new foundation demo and admin has new functionality that if you want it to work in your store, you might as well start with it as the base, already working, then try to implement all of the new code into your old construct something store. This is of course just my opinion, 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 (Eduardo Dominguez) Date: Wed Sep 5 13:51:00 2001 Subject: [ic] Creating Sub Categories Correct me if I am wrong, but I think this can be done with the new [tree] tag, right ? I did this once, but it was more nothing more than a hack. If this can be done with the above mentioned tag i will give it another try the Right Way(tm). On 05 Sep 2001 10:49:39 -0500, Nathan D. Olmscheid wrote: > Hello Guys- > > I am very new to Interchange, and I have been doing alright so far. I > will probably have several question, but I am taking things one step at > a time. > > Can someone please describe how I go about creating subcategories. > > Here is my scenerio: > > Mail Carts (not linke, area) > Cart Accessories (The rest of these are > linked. categories) > Cart Frames (Design your own) > File and Tote Carts > Hampers and Movers > Office Cart > Package Carts and Trucks > Solid Mail Carts > Specialty Carts > Wire Mail Carts > > Here is what I need. Under my category Solid Mail Carts, I have several > different types of mail carts. > > Super-Capacity > Long > Medium > Compact > > These categories will hold true for most of the mail carts, but will > obviously bring different results depending on what main category they > choose. > > Ex. There are Medium sized Wire Mail Carts, as well as Medium sized > Solid Mail Carts. > > Please drop me a line if you can help. Either to the list or to me > personally. > > Thanks a lot for any help! > Nathan > nathan@namisolutions.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Wed Sep 5 14:26:01 2001 Subject: [ic] Creating Sub Categories Thanks for the info. I am unaware of the new [tree] tag. I will see what I can find on it. Any other idea out there? Nathan Eduardo Dominguez wrote: > Correct me if I am wrong, but I think this can be done > with the new [tree] tag, right ? > > I did this once, but it was more nothing more than a hack. > If this can be done with the above mentioned tag i will > give it another try the Right Way(tm). > > On 05 Sep 2001 10:49:39 -0500, Nathan D. Olmscheid wrote: > > Hello Guys- > > > > I am very new to Interchange, and I have been doing alright so far. I > > will probably have several question, but I am taking things one step at > > a time. > > > > Can someone please describe how I go about creating subcategories. > > > > Here is my scenerio: > > > > Mail Carts (not linke, area) > > Cart Accessories (The rest of these are > > linked. categories) > > Cart Frames (Design your own) > > File and Tote Carts > > Hampers and Movers > > Office Cart > > Package Carts and Trucks > > Solid Mail Carts > > Specialty Carts > > Wire Mail Carts > > > > Here is what I need. Under my category Solid Mail Carts, I have several > > different types of mail carts. > > > > Super-Capacity > > Long > > Medium > > Compact > > > > These categories will hold true for most of the mail carts, but will > > obviously bring different results depending on what main category they > > choose. > > > > Ex. There are Medium sized Wire Mail Carts, as well as Medium sized > > Solid Mail Carts. > > > > Please drop me a line if you can help. Either to the list or to me > > personally. > > > > Thanks a lot for any help! > > Nathan > > nathan@namisolutions.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Wed Sep 5 14:47:01 2001 Subject: [ic] Access fields in table This is probably a simple question, but I am having no luck in finding help in the tutorial or mailing lists. Maybe this is so simple it is not covered there?? I want to access other fields in a database table. For example you can access a product's description, price, etc by tags like [item-description] or [item-price]. What if I want to access say the wholesale field? I tried [item-wholesale] but that is taken literal so it doesn't work. I tried [field code="sku" name="wholesale"] but that doesn't seem to work either. Am I close on this? Can someone help me? I am just trying to get a feel for the tags used in Interchange. I am studying the Tag Reference, but it is still a little over my head. Any help is greatly appreciated. Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Sep 5 15:10:01 2001 Subject: [ic] Access fields in table > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > This is probably a simple question, but I am having no luck in finding > help > in the tutorial or mailing lists. Maybe this is so simple it is not > covered > there?? I want to access other fields in a database table. For example you > can access a product's description, price, etc by tags like > [item-description] or [item-price]. What if I want to access say the > wholesale field? I tried [item-wholesale] but that is taken literal so it > doesn't work. I tried [field code="sku" name="wholesale"] but that doesn't > seem to work either. Am I close on this? Can someone help me? I am just > trying to get a feel for the tags used in Interchange. I am studying the > Tag > Reference, but it is still a little over my head. Try [item-field wholesale] and you should be in business! -Ron From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Sep 5 15:20:01 2001 Subject: [ic] read-only table error At 06:15 PM 9/4/2001 -0500, you wrote: >Hey folks, > >I just clean installed 4.8.1, and I'm unable to modify certain variables via >the interface. > >For example, if I go to the Adminstration section of the admin ui, to Tax, I >am unable to delete, add, or modify any of the entries. > >BUT! > >If I go to Preferences, or Tables, and edit the variables that way, it >works. > >The report in the error.log when I attempt it the first way is the >following: > >Attempt to set variable::Variable::TAXAREA in read-only table > >I've checked my directories' permissions and all are user/group writeable by >interch. > >I don't get it. Anyone have any ideas? > >Thanks! >-Jud Try the latest CVS (STABLE_4_8-branch). I seem to recall this being fixed already. HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Sep 5 15:34:00 2001 Subject: [ic] Server Start Error At 11:37 AM 9/3/2001 +0800, you wrote: >I had a problem to start the interchange server version 4.8 in RedHat 7.1. >Every time I try to start the server, it told me that : > >config error: Please specify the MailOrderTo directive in the configuration >file. > >I had try use in Sun Solaris 8 without problem. > >Please help me to solve it. > >Thank you > >Cary LEUNG >CARYNET Communication Limited >Hong Kong Maybe this recent thread will be of some help: ----- Original Message ----- From: "cedric Boudin" <cedric.boudin@iconmedialab.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 2:29 PM Subject: Re: [ic] Undefined Catalog: /cgi-bin/foundation > Tomas Lindhoff writes: > > Thanks Cedric, but I'm somewhat confused... > > Let's say I configure "foundation" as a catalog. > > It's then placed in /usr/lib/interchange/foundation/ > > > > Based on the above, should I put something like this in the httpd.conf file: > > > > ScriptAlias /cgi-bin/foundation "/usr/lib/interchange/foundation" > > ScriptAlias /foundation "/usr/lib/interchange/foundation" > > ???? > yes > > you should have after the instalation a pgm called the catalog_name in > your cgi directory > this program makes the connection to the interch server and the server > looks in the catalog subdir for the pages to deliver. > the catalog subdir is not necessary in the cgi dir > you configure this from interchage.ini or conf somewhre in etc ehh..........sorry all ! Well, the problem with "Undefined Catalog: /cgi-bin/foundation" was due to permission problems. When running makecat I specified server running as "interch", store owned by user "tomas" and group was "interch". When I added "interch" as primary group for user "tomas" instead off supplementary, things went better. No more complaints about missing MailOrderTo directive However, when running /usr/sbin/interchange --serve as user "interch" it complained about Perl modules "Safe::Hole" "SQL:Statement" "LWP::Simple" was missing. After digging around the mail archive I found a nifty command which checked and updated ALOT of Perl stuff: # perl -MCPAN -e 'install Bundle::Interchange' This installed all needed modules (among others) and I could login to the admin area. Wicked...... Thanks for all your efforts trying to help (probably more to come along the way) cheers - Tomas ------------------------ HTH & HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Wed Sep 5 15:36:00 2001 Subject: [ic] Access fields in table That worked great. Thanks a bunch Ron! Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Ron > Phipps > Sent: Wednesday, September 05, 2001 2:08 PM > To: interchange-users@interchange.redhat.COM > Subject: RE: [ic] Access fields in table > > > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > > This is probably a simple question, but I am having no luck in finding > > help > > in the tutorial or mailing lists. Maybe this is so simple it is not > > covered > > there?? I want to access other fields in a database table. For example > you > > can access a product's description, price, etc by tags like > > [item-description] or [item-price]. What if I want to access say the > > wholesale field? I tried [item-wholesale] but that is taken literal so > it > > doesn't work. I tried [field code="sku" name="wholesale"] but that > doesn't > > seem to work either. Am I close on this? Can someone help me? I am > just > > trying to get a feel for the tags used in Interchange. I am studying > the > > Tag > > Reference, but it is still a little over my head. > > Try [item-field wholesale] and you should be in business! > > -Ron > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kat Turner) Date: Wed Sep 5 16:02:01 2001 Subject: [ic] Shipping Problem: 1DA Missing: consigneecountry Thanks, I am new to IC. Could you give me a pointer on where to find the tag how edit it? Can I edit it inside the IC admin interface or do I do it through FTP? Thanks for helping a newbie! >From: Mike Heins <mheins@redhat.com> >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Shipping Problem: 1DA Missing: consigneecountry >Date: Wed, 5 Sep 2001 11:11:48 -0400 > >Quoting Kat Turner (ronzokat@hotmail.com): > > Hi, I have IC 4.8 installed and running. Everything in the demo is >working > > fine except shipping calculations. I have checked and rechecked my > > configuration. I have compared my settings with the redhat demo and they >all > > seem to be the same. On the checkout page I still can't get the shipping > > costs displayed. I get "NOTE: 1DA: Missing consigneecountry" What is the > > consigneecounty and where is it defined in IC 4.8? Could someone please > > help? Thanks in advance! > >UPS apparently changed their interface a bit, now requring (instead of >shunning) US as a target country. You can fix this by removing this line >from ups_query.tag: > > $country = undef if $country eq 'US'; > >I have fixed it in CVS as well. > >-- >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 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (JT Justman) Date: Wed Sep 5 16:32:00 2001 Subject: [ic] Access fields in table If you are talking about for the flypage, try [item-field fieldname], as in [item-field wholesale]. JT ----- Original Message ----- From: "Chad Wittrock" <Chad.Wittrock@uni.edu> To: "Interchange-users" <interchange-users@anthrax.interchange.redhat.COM> Sent: Wednesday, September 05, 2001 11:45 AM Subject: [ic] Access fields in table > This is probably a simple question, but I am having no luck in finding help > in the tutorial or mailing lists. Maybe this is so simple it is not covered > there?? I want to access other fields in a database table. For example you > can access a product's description, price, etc by tags like > [item-description] or [item-price]. What if I want to access say the > wholesale field? I tried [item-wholesale] but that is taken literal so it > doesn't work. I tried [field code="sku" name="wholesale"] but that doesn't > seem to work either. Am I close on this? Can someone help me? I am just > trying to get a feel for the tags used in Interchange. I am studying the Tag > Reference, but it is still a little over my head. > > Any help is greatly appreciated. > Chad > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ____ > | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) > \__/ | \| _||_ University of Northern Iowa > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Sep 5 16:53:01 2001 Subject: [ic] Tag interpolation strangeness interch <interch@web3.valley-internet.com> writes: > IC 4.8.1. This is the code snippet. What is happening is that first the > item-field tag is being interpolated correctly inside the seti tag, but > then later on the value of item-field reverts to the literal string > item-field inside a calc tag that is inside a seti tag. The line that > returns the error has the arrow next to it. I also included the error > message from error.log. Independent of the problem, this code deserves to get rewritten in embedded Perl. Bye 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 (Peter Yoo) Date: Wed Sep 5 17:42:01 2001 Subject: [ic] Verisign as payment gateway Hello All, This doc is very good but I wasn't quite sure which file I need to put : $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; I've tried to put it in globalsub/signio but it didn't like it and gave me a syntax error. Can someone please tell me which file I need to put this line? Thanks. Peter. On Fri, Aug 10, 2001 at 10:32:56AM -0400, David Totten wrote: > On 10 Aug 2001 09:09:03 -0500, STEVE LANGE wrote: > > Hello all, > > > > I was wondering if anyone has pointers for setting up Verisign as a payment gateway, as opposed to Cybercash. Any info you have would be great. > > > > Thanks in advance, > > > > Steve > > Attached is a set of instructions that I wrote for setting up Verisign > as your payment gateway in interchange 4.6.5. The file was written in > vim, so if you are using a windows based machine it might look funny. > Also, the extension can easily be re-labled .txt. > > Dave Totten > How to configure interchange 4.6.5 to use VeriSign/Signio's Payflow Pro version > 3.0 as your default payment gateway. > > Introduction: > The aim of this document is to explain what was necessary for me > to get VeriSign/Signo set up as my payment gateway. At the time > of this writing, I was using interchange 4.6.5 and the Payflow > Pro SDK version 3.00 > > Getting / Installing Payflo Pro SDK > After getting your Payflo Pro account set up, log in to your account > at https://manager.verisign.com. Click the link towards the top of your > screen that says download. > Under the section labeled Payflow Pro Software Development Kit (SDK), > will be a link for your operating system. I used the Linux version. > Once you have downloaded the software, uncompress it. I uncompressed > the file in my interchange users directory /home/interch/. You should > now have a new subdirectory named verisign. > I changed directory to /home/interch/verisign/payflowpro/linux/lib. > The file libpfpro.so needs to be copied into one of your system > library paths, or you need to modify your LD_LIBRARY_CONF environment > variable to include the directory that you want to store this file. > I chose to copy libpfpro.so into /usr/lib/. In order to do this though > I had to become root. If you do not have root access to the machine, you > will need to use the LD_LIBRARY_CONF method of making this library visible > to the system. > Once you have moved that file you will need to run ldconfig to make > sure the system can see the new library. A good way to test that this is > all properly set up is to change your present directory to > /home/interch/verisign/payflowpro/linux/bin/ and run ./pfpro > If you get an error that says something like it couldn't load a .so > file, then you need to make sure that the payflow library is visible. > Another good thing to do is edit the test.sh file located in the same > bin directory so that it contains your information for the USER,PARTNER, > PWD, and VENDOR variables. Once you have done that, run the program. The > output should resemble this: > > interch@localhost:~/verisign/payflowpro/linux/bin$ ./test.sh > ---------------------------------------------------- > ***> Performing 'pfpro' binary test transaction..... > RESULT=0&PNREF=V28A02586876&RESPMSG=Approved&AUTHCODE=874PNI&AVSADDR=X&AVSZIP=X > Done with 'pfpro' binary test transaction... > --------------------------------------------------- > > Making the Payflow Pro SDK work with Interchange > In order to facilitate my instructions a little bit, I am going to > define a few variables that I will use in this section of instructions. > > $VENDROOT is a variable that defines where the makecat and interchange > binaries are located. In my installation (from the tarball) it is located > at /home/interch/interchange. > > $SRCROOT is the directory where I uncompress the interchange tarball. In > my situation it is ~/home/interch/src/interchange-4.6.5. > > $CATROOT is the directory where my catalog is stored. In my installation, > it is ~/home/interch/catalogs/ic_465/ > > Now that these definitions have been made, let's continue. The first > thing that we want to do is copy the pfpro binary file to $VENDROOT/lib. > The reason being is that this is where the signio global sub will be > looking for it. > Next we need to make a directory in $VENDROOT called globalsubs, and > then copy $SRCROOT/eg/globalsubs/signio to $VENDROOT/globalsubs/signio. > This is where we are going to tell interchange too look for our globalsub. > In $VENDROOT, there is a file called interchange.cfg. We must edit this > file, and add the line: > > #include globalsub/signio > > I added this line towards the bottom with the with the usertag include. > > Now that interchange knows about the globalsub, we need to tell our > catalog that we want to use signio as payment gateway. This is done > by editing our $CATROOT/catalog.cfg and adding the following lines of > information: > > #begin signio stuff > Variable MV_PAYMENT_ID userid&VENDOR=userid&PARTNER=VeriSign > Variable MV_PAYMENT_SECRET password > Variable MV_PAYMENT_SERVER test-payflow.verisign.com > Variable MV_PAYMENT_MODE custom signio > #end signio stuff > > You will of course need to modify this data so that it reflects the data > that Verisign/Signio has provided you. I inserted this information above > the section that says CreditCardAuto Yes. You must make sure that the > CreditCardAuto Yes line is either commented out (putting a # in front > of it) or is set to No. Also, make sure you are not using any other > payment gateway at the same time. > While trying to get this integration set up on my own machine, I > discovered that VeriSign/Signio now require more information than they > used to. Above I modified MV_PAYMENT_ID from what the old instructions > said to what VeriSign/Signio recommends now. In doing this, some of the > old code caused some problems, and so I had to edit it. In the file > $VENDROOT/globalsub/signio I had to comment out lines 136 - 139. These > lines look like this: > > my $len = length($val); > if($val =~ /[&=]/) { > $key .= "[$len]"; > } > > Just put a # in front of each one of these lines in the signio file. > > Also, the pfpro executable needs to know where it can find their secure > certificate which is found in /home/interch/verisign/payflowpro/linux/certs > on my machine. In order to do this, I added the following line: > > $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; > > This will set an environment variable telling pfpro where to find > verisigns' secure certificate. > Once you have finished making these changes, save the file. Now we can > restart interchange and we should have a new payment gateway up and > running. From: interchange-users at interchange.redhat.com (Jud Harris) Date: Wed Sep 5 17:46:00 2001 Subject: [ic] read-only table error Well... I just installed 4.8.2 from the CVS stable branch, and it's giving me the same error. Attempt to set variable::Variable::TAXAREA in read-only table Any other ideas? This is royally annoying. -Jud ----- Original Message ----- From: "Dan Browning" <db@cyclonehq.dnsalias.net> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 05, 2001 2:17 PM Subject: Re: [ic] read-only table error > At 06:15 PM 9/4/2001 -0500, you wrote: > >Hey folks, > > > >I just clean installed 4.8.1, and I'm unable to modify certain variables via > >the interface. > > > >For example, if I go to the Adminstration section of the admin ui, to Tax, I > >am unable to delete, add, or modify any of the entries. > > > >BUT! > > > >If I go to Preferences, or Tables, and edit the variables that way, it > >works. > > > >The report in the error.log when I attempt it the first way is the > >following: > > > >Attempt to set variable::Variable::TAXAREA in read-only table > > > >I've checked my directories' permissions and all are user/group writeable by > >interch. > > > >I don't get it. Anyone have any ideas? > > > >Thanks! > >-Jud > > Try the latest CVS (STABLE_4_8-branch). I seem to recall this being fixed > already. HAND, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Sep 5 18:05:00 2001 Subject: [ic] Verisign as payment gateway > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Peter Yoo > > Hello All, > > This doc is very good but I wasn't quite sure which file I need to put : > > $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; Hello Peter, this is an environment variable and should be placed in the shell preferences file for the user that runs IC. For bash this would be .bashrc in the home directory. See ya, -Ron > > I've tried to put it in globalsub/signio but it didn't like it and gave me > a syntax error. > > Can someone please tell me which file I need to put this line? > > Thanks. > > Peter. > > On Fri, Aug 10, 2001 at 10:32:56AM -0400, David Totten wrote: > > On 10 Aug 2001 09:09:03 -0500, STEVE LANGE wrote: > > > Hello all, > > > > > > I was wondering if anyone has pointers for setting up Verisign as a > payment gateway, as opposed to Cybercash. Any info you have would be > great. > > > > > > Thanks in advance, > > > > > > Steve > > > > Attached is a set of instructions that I wrote for setting up Verisign > > as your payment gateway in interchange 4.6.5. The file was written in > > vim, so if you are using a windows based machine it might look funny. > > Also, the extension can easily be re-labled .txt. > > > > Dave Totten > > > How to configure interchange 4.6.5 to use VeriSign/Signio's Payflow Pro > version > > 3.0 as your default payment gateway. > > > > Introduction: > > The aim of this document is to explain what was necessary for me > > to get VeriSign/Signo set up as my payment gateway. At the time > > of this writing, I was using interchange 4.6.5 and the Payflow > > Pro SDK version 3.00 > > > > Getting / Installing Payflo Pro SDK > > After getting your Payflo Pro account set up, log in to your > account > > at https://manager.verisign.com. Click the link towards the top of > your > > screen that says download. > > Under the section labeled Payflow Pro Software Development Kit > (SDK), > > will be a link for your operating system. I used the Linux version. > > Once you have downloaded the software, uncompress it. I > uncompressed > > the file in my interchange users directory /home/interch/. You > should > > now have a new subdirectory named verisign. > > I changed directory to > /home/interch/verisign/payflowpro/linux/lib. > > The file libpfpro.so needs to be copied into one of your system > > library paths, or you need to modify your LD_LIBRARY_CONF environment > > variable to include the directory that you want to store this file. > > I chose to copy libpfpro.so into /usr/lib/. In order to do this > though > > I had to become root. If you do not have root access to the machine, > you > > will need to use the LD_LIBRARY_CONF method of making this library > visible > > to the system. > > Once you have moved that file you will need to run ldconfig to > make > > sure the system can see the new library. A good way to test that this > is > > all properly set up is to change your present directory to > > /home/interch/verisign/payflowpro/linux/bin/ and run ./pfpro > > If you get an error that says something like it couldn't load a .so > > file, then you need to make sure that the payflow library is visible. > > Another good thing to do is edit the test.sh file located in the > same > > bin directory so that it contains your information for the > USER,PARTNER, > > PWD, and VENDOR variables. Once you have done that, run the program. > The > > output should resemble this: > > > > interch@localhost:~/verisign/payflowpro/linux/bin$ ./test.sh > > ---------------------------------------------------- > > ***> Performing 'pfpro' binary test transaction..... > > > RESULT=0&PNREF=V28A02586876&RESPMSG=Approved&AUTHCODE=874PNI&AVSADDR=X&A VS > ZIP=X > > Done with 'pfpro' binary test transaction... > > --------------------------------------------------- > > > > Making the Payflow Pro SDK work with Interchange > > In order to facilitate my instructions a little bit, I am going to > > define a few variables that I will use in this section of > instructions. > > > > $VENDROOT is a variable that defines where the makecat and > interchange > > binaries are located. In my installation (from the tarball) it is > located > > at /home/interch/interchange. > > > > $SRCROOT is the directory where I uncompress the interchange tarball. > In > > my situation it is ~/home/interch/src/interchange-4.6.5. > > > > $CATROOT is the directory where my catalog is stored. In my > installation, > > it is ~/home/interch/catalogs/ic_465/ > > > > Now that these definitions have been made, let's continue. The > first > > thing that we want to do is copy the pfpro binary file to > $VENDROOT/lib. > > The reason being is that this is where the signio global sub will be > > looking for it. > > Next we need to make a directory in $VENDROOT called globalsubs, > and > > then copy $SRCROOT/eg/globalsubs/signio to > $VENDROOT/globalsubs/signio. > > This is where we are going to tell interchange too look for our > globalsub. > > In $VENDROOT, there is a file called interchange.cfg. We must edit > this > > file, and add the line: > > > > #include globalsub/signio > > > > I added this line towards the bottom with the with the usertag > include. > > > > Now that interchange knows about the globalsub, we need to tell > our > > catalog that we want to use signio as payment gateway. This is done > > by editing our $CATROOT/catalog.cfg and adding the following lines of > > information: > > > > #begin signio stuff > > Variable MV_PAYMENT_ID userid&VENDOR=userid&PARTNER=VeriSign > > Variable MV_PAYMENT_SECRET password > > Variable MV_PAYMENT_SERVER test-payflow.verisign.com > > Variable MV_PAYMENT_MODE custom signio > > #end signio stuff > > > > You will of course need to modify this data so that it reflects the > data > > that Verisign/Signio has provided you. I inserted this information > above > > the section that says CreditCardAuto Yes. You must make sure that > the > > CreditCardAuto Yes line is either commented out (putting a # in > front > > of it) or is set to No. Also, make sure you are not using any other > > payment gateway at the same time. > > While trying to get this integration set up on my own machine, I > > discovered that VeriSign/Signio now require more information than > they > > used to. Above I modified MV_PAYMENT_ID from what the old > instructions > > said to what VeriSign/Signio recommends now. In doing this, some of > the > > old code caused some problems, and so I had to edit it. In the file > > $VENDROOT/globalsub/signio I had to comment out lines 136 - 139. > These > > lines look like this: > > > > my $len = length($val); > > if($val =~ /[&=]/) { > > $key .= "[$len]"; > > } > > > > Just put a # in front of each one of these lines in the signio file. > > > > Also, the pfpro executable needs to know where it can find their > secure > > certificate which is found in > /home/interch/verisign/payflowpro/linux/certs > > on my machine. In order to do this, I added the following line: > > > > $ENV{PFPRO_CERT_PATH} = > '/home/interch/verisign/payflowpro/linux/certs'; > > > > This will set an environment variable telling pfpro where to find > > verisigns' secure certificate. > > Once you have finished making these changes, save the file. Now we > can > > restart interchange and we should have a new payment gateway up and > > running. > > _______________________________________________ > 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 Totten) Date: Wed Sep 5 22:42:00 2001 Subject: [ic] Verisign as payment gateway On Wed, 2001-09-05 at 17:42, Peter Yoo wrote: > Hello All, > > This doc is very good but I wasn't quite sure which file I need to put : > > $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; > > I've tried to put it in globalsub/signio but it didn't like it and gave me > a syntax error. > > Can someone please tell me which file I need to put this line? What was the error when you put that in your globalsub/signio file? That is where I placed it when I wrote this document. Also, what version of Interchange are you trying to get this to work in? I wrote this for 4.6.5. There may be new issues that I didn't run into when working on this. 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 (Peter Yoo) Date: Thu Sep 6 00:06:00 2001 Subject: [ic] Verisign as payment gateway Hello, I should have mentioned this before.... it was my mistake, sorry. I'm running Interchange4.8.1 on Sparc Solaris8 with Perl5.6.1 and mysql 3.23.39 I've put PFPRO_CERT_PATH variable in .profile of interch account(ksh) and the /etc/init.d/interchange start/stop script and now when I try to checkout from interchange I get this error message: (custom signio): Charge failed, reason: User authentication failed Credit Card Information: Signio error: 1 User authentication failed. Please call in your order or try again. when I run the tesh.sh from SDK. I do get RESULT=0 Here is what I did to configure VeriSign on my interchange: ------------------------------------------------------------- libpfpro.sh in /usr/lib pfpro in /usr/local/interchange/lib signio in /usr/local/interchange/globalsub at the bottom of interchange.cfg file, I've added include globalsub/signio <---- I think I did this corrently without # in catalog.cfg file in line 283 to 290, I've added ##begin signio stuff Variable MV_PAYMENT_ID <VeriSign Login ID> Variable MV_VENDOR <VeriSign Login ID> Variable MV_PARTNER VeriSign Variable MV_PAYMENT_SECRET <VeriSign Password> Variable MV_PAYMENT_SERVER test-payflow.verisign.com Variable MV_PAYMENT_MODE custom signio ##end signio stuff in globalsub/signio in line 137 to 140, I've commented out #my $len = length($val); #if($val =~ /[&=]/) { #$key .= "[$len]"; #} ------------------------------------------------------------- Can someone please tell me what I did wrong? or what I missed? Thank you. Peter. On Wed, Sep 05, 2001 at 10:41:32PM -0400, David Totten wrote: > On Wed, 2001-09-05 at 17:42, Peter Yoo wrote: > > Hello All, > > > > This doc is very good but I wasn't quite sure which file I need to put : > > > > $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; > > > > I've tried to put it in globalsub/signio but it didn't like it and gave me > > a syntax error. > > > > Can someone please tell me which file I need to put this line? > > What was the error when you put that in your globalsub/signio file? That > is where I placed it when I wrote this document. Also, what version of > Interchange are you trying to get this to work in? I wrote this for > 4.6.5. There may be new issues that I didn't run into when working on > this. > > Dave Totten > > -- > ___________________________________________________________________ > GnuPG uid: 0x887B864C > Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C > For more information about GnuPG, visit http://www.gnupg.org > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Peter Yoo) Date: Thu Sep 6 00:09:00 2001 Subject: [ic] Verisign as payment gateway Hello Dave, I should have answered your question in my previous e-mail. Running Interchange4.8.1 on Sparc Solaris8 with Perl5.6.1 and mysql3.23.39 when I put the $ENV line at the beginning of globalsub/signio, I get this error message : Low traffic settings. Calling UI......UI is loaded... Syntax error In line 4 of the configuration file 'globalsub/signio': $ENV{PFPRO_CERT_PATH} = '/usr/local/verisign/payflowpro/solaris/certs'; Thanks. Peter. On Wed, Sep 05, 2001 at 10:41:32PM -0400, David Totten wrote: > On Wed, 2001-09-05 at 17:42, Peter Yoo wrote: > > Hello All, > > > > This doc is very good but I wasn't quite sure which file I need to put : > > > > $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; > > > > I've tried to put it in globalsub/signio but it didn't like it and gave me > > a syntax error. > > > > Can someone please tell me which file I need to put this line? > > What was the error when you put that in your globalsub/signio file? That > is where I placed it when I wrote this document. Also, what version of > Interchange are you trying to get this to work in? I wrote this for > 4.6.5. There may be new issues that I didn't run into when working on > this. > > Dave Totten > > -- > ___________________________________________________________________ > GnuPG uid: 0x887B864C > Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C > For more information about GnuPG, visit http://www.gnupg.org > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefano Nota) Date: Thu Sep 6 02:55:00 2001 Subject: [ic] Question about Cookies I think it's not possible. This is what report the doc: SessionExpire A customer can exit the browser or leave the catalog pages at any time, and no indication is given to the web server aside from the lack of further requests that have the same session ID. Old session information needs to be periodically expired. The SessionExpire specifies the minimum time to keep track of session information. Defaults to one day. Format is an integer number, followed by s(econds), m(inutes), h(ours), d(ays), or w(eeks). SessionExpire 20 minutes If CookieLogin is in use, this can be a small value. If the customer's browser has the Interchange session cookie stored, he/she will be automatically logged back in with the next request. NB.>>Note, however, that the customer's cart and session values will be reset. ciao stefano ----- Original Message ----- From: "Barbara Picci" <barbara.picci@sardi.it> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Wednesday, September 05, 2001 6:01 PM Subject: [ic] Question about Cookies > Hi, > I have a question about Interchange and the cookies. > I can mantain the session if I close the window of the browser but not > if I quit the same browser. > Is there the possibility to mantain the session for a number of > hours, even if I quit the browser? > I saw the explanation of cookies in the manual but there is no answer. > > Thank you > > _______________________________________________ > 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 Osborne) Date: Thu Sep 6 03:30:01 2001 Subject: [ic] Question concerning error loading Vend::Payment::Authorize.net Hello, I recently upgraded my RedHat 7.0 installation with the latest packages such as: OpenSSL, Apache, mod_perl, mod_ssl, MySQL, and PHP After all packages were successfully installed and up to date I ended up fighting with MySQL permissions (RedHat, get it right for christ's sake). And then I tried starting interchange and got the following error: Required Perl module Vend::Payment::AuthorizeNet not present. Aborting catalog. In line 4 of the configuration file 'interchange.cfg': Require module Vend::Payment::AuthorizeNet This was working fine before the upgrade. Does this mean I need to install new Perl modules to work with the newly installed OpenSSL? or did something mess up my Perl paths? Uncommenting the following caused Interchange to startup without problem. <snip from interchange.cfg> # Include individual usertags. include usertag/*.tag ### Including payment gateway globalsub Require module Vend::Payment::AuthorizeNet ## I uncommented this in interchange.cfg. ### include globalsub/authorizenet # Include if you want non-English error messages. Not complete. # include locale.error </snip> What's going on here? Also, I have had problems loading/starting up apache with the latest rpm of mod_ssl. Am I doing something wrong or did RedHat use another beta version :). Guess it just goes to show that if you want it to work the best way is to compile everything and stop doing stuff the easy way........Ya know, like Microsoft "preaches". Thanks, Jason Osborne From: interchange-users at interchange.redhat.com (Jason Osborne) Date: Thu Sep 6 03:30:25 2001 Subject: [ic] Question concerning error loading Vend::Payment::Authorize.net Hello, I recently upgraded my RedHat 7.0 installation with the latest packages such as: OpenSSL, Apache, mod_perl, mod_ssl, MySQL, and PHP After all packages were successfully installed and up to date I ended up fighting with MySQL permissions (RedHat, get it right for christ's sake). And then I tried starting interchange and got the following error: Required Perl module Vend::Payment::AuthorizeNet not present. Aborting catalog. In line 4 of the configuration file 'interchange.cfg': Require module Vend::Payment::AuthorizeNet This was working fine before the upgrade. Does this mean I need to install new Perl modules to work with the newly installed OpenSSL? or did something mess up my Perl paths? Uncommenting the following caused Interchange to startup without problem. <snip from interchange.cfg> # Include individual usertags. include usertag/*.tag ### Including payment gateway globalsub Require module Vend::Payment::AuthorizeNet ## I uncommented this in interchange.cfg. ### include globalsub/authorizenet # Include if you want non-English error messages. Not complete. # include locale.error </snip> What's going on here? Also, I have had problems loading/starting up apache with the latest rpm of mod_ssl. Am I doing something wrong or did RedHat use another beta version :). Guess it just goes to show that if you want it to work the best way is to compile everything and stop doing stuff the easy way........Ya know, like Microsoft "preaches". Thanks, Jason Osborne From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 6 04:30:00 2001 Subject: [ic] PGP Issue, Upgrade from IC 4.6.5 to 4.8.x I had encountered an upgrade issue when going from a working IC 4.6.5 catalog to a 4.8.x server. The issue was that I was using my existing setup (catalog.cfg, route, scripts, etc) to interface with PGP and I was receiving "NEED ENCYRPTION" in the mail attachment where before I would receive the CC encrypted. I grep'ed for "NEED" in the IC directory and found that it was returned in Order.pm. When I looked at the surrounding code I saw that "NEED ENCRYPTION" is returned if the route does not have a value for encrypt or credit_card. Since I did not want the entire order encrypted I tried out the credit_card setting. Sure enough this fixed my problem and I was back in business. Long story short, if you are upgrading a catalog and find that the CC is no longer encrypting set the following: Route main credit_card 1 And it will return to the behavior as it existed in 4.6.5. Thanks! -Ron From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 6 04:53:00 2001 Subject: [ic] Shipping Problem: 1DA Missing: consigneecountry --=-=-= "Kat Turner" <ronzokat@hotmail.com> writes: > Thanks, I am new to IC. Could you give me a pointer on where to find the tag > how edit it? Can I edit it inside the IC admin interface or do I do it > through FTP? Thanks for helping a newbie! I think you need to use FTP. The file in question is located in the directory usertag in your Interchange installation. I attached the fixed file (it is really small). 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) --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=ups_query.tag UserTag ups-query Order mode origin zip weight country UserTag ups-query Routine <<EOR sub { my( $mode, $origin, $zip, $weight, $country) = @_; BEGIN { eval { require Business::UPS; import Business::UPS; }; }; $origin = $::Variable->{UPS_ORIGIN} if ! $origin; $country = $::Values->{$::Variable->{UPS_COUNTRY_FIELD}} if ! $country; $zip = $::Values->{$::Variable->{UPS_POSTCODE_FIELD}} if ! $zip; $country = uc $country; #::logGlobal("calling with: " . join("|", $mode, $origin, $zip, $weight, $country)); my ($shipping, $zone, $error) = getUPS( $mode, $origin, $zip, $weight, $country); #::logGlobal("received back: " . join("|", $shipping, $zone, $error)); if($error) { $Vend::Session->{ship_message} .= " $mode: $error"; return 0; } return $shipping; } EOR --=-=-=-- From: interchange-users at interchange.redhat.com (Tony Ajoje) Date: Thu Sep 6 08:13:00 2001 Subject: [ic] Interchange features Hi, I would like to know if there is a page that list all the features of interchange Below are some of the features which I'm particularly after; 1. Wishlist 2. Payment System. Ability to add new ones ( worldpay) 3. Order tracking 4. Order history for user 5. Adding shipping address 6. Editing customer details 7. Out Of Stock - In Stock Notification Thanks in advance for all your responses. Cheers Tony _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (IC-Admin) Date: Thu Sep 6 09:10:01 2001 Subject: [ic] Interchange features On Thu, 6 Sep 2001, Tony Ajoje wrote: > Hi, > > I would like to know if there is a page that list all the features of > interchange > > Below are some of the features which I'm particularly after; > > 1. Wishlist > 2. Payment System. Ability to add new ones ( worldpay) > 3. Order tracking > 4. Order history for user > 5. Adding shipping address > 6. Editing customer details > 7. Out Of Stock - In Stock Notification > > > Thanks in advance for all your responses. > > Cheers > > Tony > > There is a home page for the RedHat Interchange package, it lists links called "hosts of features" and a lot of "supporting information". I sometimes can't quite understand how people find this list, but miss the homepage of RedHat Interchange. In case you really can't find the IC homepage, here it is: <A HREF="http://interchange.redhat.com/cgi-bin/ic/index"> Happy Reading </A>. Cheers BF From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Sep 6 09:55:00 2001 Subject: [ic] Totally items in cart I have added a 'shipping' field to the standard demo products table. I am attempting to total the shipping values of all the items in the cart when a person views their shopping cart. This is my code: <snip> [perl arg="carts"] $ship_total = 0; # Loop over all items in the main cart foreach my $item ( @{$Safe{'carts'}->{'main'}} ) { # Total up all the shipping costs $ship_total = $ship_total + $item->{'shipping'}; } return ("Shipping: $ship_total"); [/perl] </snip> This returns 'Shipping: 0'. Am I doing something wrong with my calculation? Any help is greatly appreciated. Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (David Totten) Date: Thu Sep 6 10:41:00 2001 Subject: [ic] Verisign as payment gateway On Thu, 2001-09-06 at 00:08, Peter Yoo wrote: > Hello Dave, > > I should have answered your question in my previous e-mail. > > Running Interchange4.8.1 on Sparc Solaris8 with Perl5.6.1 and mysql3.23.39 > > when I put the $ENV line at the beginning of globalsub/signio, I get this > error message : did you put this line as the very first line of that file, or did you put it inside of the subroutine definition? 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 (Jeffrey Carnahan) Date: Thu Sep 6 10:52:00 2001 Subject: [ic] Totally items in cart (sum shipping cost) } [perl arg="carts"] } $ship_total = 0; } } # Loop over all items in the main cart } foreach my $item } @{$Safe{'carts'}->{'main'}} ) } { } # Total up all the shipping costs } $ship_total = $ship_total + } $item->{'shipping'}; } } } return ("Shipping: $ship_total"); } [/perl] If you have a field called 'shipping' for each product in the products database, and you've defined this in the products database definition, and you've restarted your catalog, you should be able to use the following: [perl tables="products"] my $` = 0; foreach $item ($Carts->{'main'}) { $ship_total += $Tag->data('products', 'shipping', $item->{'code'}); } return "Shipping Total: $ship_total"; [/perl] Note that I'm assuming the name of your products database is "products". You need to use the [data ... ] tag here because arbitrary fields associated with products (such as the "shipping" field you've defined) aren't kept with the shopping cart information. Only quantity, code, options, and DB source information are kept in the cart. The above code is untested, but should give you a starting point. -- Jeff Carnahan - jcarnahan@networq.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 6 11:10:00 2001 Subject: [ic] Totally items in cart (sum shipping cost) "Jeffrey Carnahan" <jcarnahan@NETWORQ.COM> writes: > } [perl arg="carts"] > } $ship_total = 0; > } > } # Loop over all items in the main cart > } foreach my $item > > } @{$Safe{'carts'}->{'main'}} ) > } { > } # Total up all the shipping costs > } $ship_total = $ship_total + > } $item->{'shipping'}; > } } > } return ("Shipping: $ship_total"); > } [/perl] > > If you have a field called 'shipping' for each product in the products > database, and you've defined this in the products database definition, and > you've restarted your catalog, you should be able to use the following: > > [perl tables="products"] > my $` = 0; > > foreach $item ($Carts->{'main'}) { > $ship_total += $Tag->data('products', 'shipping', $item->{'code'}); > } > > return "Shipping Total: $ship_total"; > [/perl] > > Note that I'm assuming the name of your products database is "products". You > need to use the [data ... ] tag here because arbitrary fields associated > with products (such as the "shipping" field you've defined) aren't kept with > the shopping cart information. Only quantity, code, options, and DB source > information are kept in the cart. If its the products database, you may abbreviate like this: $ship_total += $Tag->field('shipping', $item->{'code'}); 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 (Peter Yoo) Date: Thu Sep 6 11:28:00 2001 Subject: [ic] Verisign as payment gateway Hello Dave, I've tried to put the $ENV{PFPRO_CERT_PATH} line very beginning of signio file then I had syntax error. I've tried to put it right after 'sub signio' line, then I did not get syntax error and now I get different type of error when I try to check out : (custom signio): Charge failed, reason: User authentication failed It's basically same type of error but I guess I should leave $ENV line in signio file after 'sub signio' line, unless you think that I should put it somewhere else????? Also error.log in my catalog directory, I'm getting this message: /cgi-bin/bebe/process.html bad custom payment GlobalSub: signio I've looked at signio sub routine and I didn't see any line refers to MV_VENDOR or MV_PARTNER and I know that when I try to run test.sh, I had to specify all of the variables(ID, Vendor, Partner, Password, Server and Amount) Does signio sub routine gets the MV_VENDOR and MV_PARTNER magically? Or am I still doing something wrong? Thanks. Peter. On Thu, Sep 06, 2001 at 10:39:59AM -0400, David Totten wrote: > On Thu, 2001-09-06 at 00:08, Peter Yoo wrote: > > Hello Dave, > > > > I should have answered your question in my previous e-mail. > > > > Running Interchange4.8.1 on Sparc Solaris8 with Perl5.6.1 and mysql3.23.39 > > > > when I put the $ENV line at the beginning of globalsub/signio, I get this > > error message : > > did you put this line as the very first line of that file, or did you > put it inside of the subroutine definition? > > Dave Totten > > -- > ___________________________________________________________________ > GnuPG uid: 0x887B864C > Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C > For more information about GnuPG, visit http://www.gnupg.org > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Thu Sep 6 11:48:01 2001 Subject: [ic] Question about Autoload Mike Heins <mheins@redhat.com> writes: > Autoload <<EOR > [perl] > return unless $Values->{pricefield}; > $Config->{PriceField} = $Values->{pricefield}; > return; > [/perl] > EOR > > It holds whatever it held from the last page. When a user logs in, > the database is read and $Values and $Scratch are updated. This is persistent. > By the way, if you think people might fiddle with the pricefield value > (remember, a user can set a $Values simply by accessing a URL) then > it would be good to define pricefield as a Scratch setting and > not for Values. This is a good point about using a Scratch variable and not a form Value. I guess I'm being a little obtuse (btw, I can't use that word without thinking about "Shawshank Redemption"); but, I'm still not sure how to apply this. How/when/where do I set the scratch variable? Would the best place be in a mv_click block on the login page? -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 6 12:00:01 2001 Subject: [ic] Totally items in cart At 08:54 AM 09/06/2001 -0500, you wrote: >I have added a 'shipping' field to the standard demo products table. I am >attempting to total the shipping values of all the items in the cart when a >person views their shopping cart. This is my code: > ><snip> > [perl arg="carts"] > $ship_total = 0; > > # Loop over all items in the main cart > foreach my $item ( @{$Safe{'carts'}->{'main'}} ) >{ > # Total up all the shipping costs > $ship_total = $ship_total + >$item->{'shipping'}; > } > return ("Shipping: $ship_total"); > [/perl] ></snip> > >This returns 'Shipping: 0'. Am I doing something wrong with my calculation? > >Any help is greatly appreciated. >Chad The shipping value wouldn't be stored in the cart unless you had setup your catalog to treat it as a modifier and modified order functions to insert it. To do what you want you could try something like: [set total_shipping]0[/set] [item-list] [seti total_shipping][calc] [scratch total_shipping] + ([item-field shipping] * [item-quantity]) [/calc][/seti] [/item-list] ... Shipping: [currency][scratch total_shipping][/currency] - 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 (Chad Wittrock) Date: Thu Sep 6 12:23:00 2001 Subject: [ic] Totally items in cart THANK YOU ED!!! Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Ed > LaFrance > Sent: Thursday, September 06, 2001 11:00 AM > To: interchange-users@interchange.redhat.COM > Subject: Re: [ic] Totally items in cart > > > At 08:54 AM 09/06/2001 -0500, you wrote: > >I have added a 'shipping' field to the standard demo products table. I am > >attempting to total the shipping values of all the items in the > cart when a > >person views their shopping cart. This is my code: > > > ><snip> > > [perl arg="carts"] > > $ship_total = 0; > > > > # Loop over all items in the main cart > > foreach my $item ( > @{$Safe{'carts'}->{'main'}} ) > >{ > > # Total up all the shipping costs > > $ship_total = $ship_total + > >$item->{'shipping'}; > > } > > return ("Shipping: $ship_total"); > > [/perl] > ></snip> > > > >This returns 'Shipping: 0'. Am I doing something wrong with my > calculation? > > > >Any help is greatly appreciated. > >Chad > > The shipping value wouldn't be stored in the cart unless you had > setup your > catalog to treat it as a modifier and modified order functions to insert > it. To do what you want you could try something like: > > [set total_shipping]0[/set] > [item-list] > [seti total_shipping][calc] > [scratch total_shipping] + ([item-field shipping] * > [item-quantity]) > [/calc][/seti] > [/item-list] > ... > Shipping: [currency][scratch total_shipping][/currency] > > - 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 (Jonathan Clark) Date: Thu Sep 6 12:51:01 2001 Subject: [ic] Question about Autoload > > It holds whatever it held from the last page. When a user logs in, > > the database is read and $Values and $Scratch are updated. This > is persistent. > > By the way, if you think people might fiddle with the pricefield value > > (remember, a user can set a $Values simply by accessing a URL) then > > it would be good to define pricefield as a Scratch setting and > > not for Values. > > This is a good point about using a Scratch variable and not a form > Value. I guess I'm being a little obtuse (btw, I can't use that word > without thinking about "Shawshank Redemption"); but, I'm still not > sure how to apply this. How/when/where do I set the scratch variable? > Would the best place be in a mv_click block on the login page? Hi Doug, You can use the 'Userdb default' directive in catalog.cfg to load a field from the userdb table on login: UserDB default scratch "field1 field2" this would load scratch variables field1, field2 with the values from the corresponding fields from the user record. If your data isn't in the userdb, I guess the mv_click routine would be the best way. BTW. It would be nice to have a point to break in here.. say a sub which is called upon login automatically and can be defined in the catalog.cfg. Also, the same thing on the establishment of a new session... this is comething which MS IIS allows in the setting up of a 'web application'. This would be an improvement on the autoload routine which is run on each page delivery, particularly where the routine is big, IMHO. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Sep 6 12:53:01 2001 Subject: [ic] Totally items in cart Quoting Chad Wittrock (Chad.Wittrock@uni.edu): > I have added a 'shipping' field to the standard demo products table. I am > attempting to total the shipping values of all the items in the cart when a > person views their shopping cart. This is my code: > > <snip> > [perl arg="carts"] > $ship_total = 0; > > # Loop over all items in the main cart > foreach my $item ( @{$Safe{'carts'}->{'main'}} ) > { > # Total up all the shipping costs > $ship_total = $ship_total + > $item->{'shipping'}; > } > return ("Shipping: $ship_total"); > [/perl] > </snip> > > This returns 'Shipping: 0'. Am I doing something wrong with my calculation? Why would you think $item->{shipping} contains anything? It might if you put AutoModifier shipping in your catalog.cfg, but wouldn't otherwise. -- 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 (Dan Browning) Date: Thu Sep 6 13:23:00 2001 Subject: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat Training, and E-Commerce This may be of interest to some. > ----------------------------------------- > RED HAT INTERCHANGE: The Developer's View > ----------------------------------------- > Join us to learn more about the world's most popular open source > e-commerce platform. The creators of Red Hat Interchange will be > discussing development tools, providing tips, and answering questions. > Register today to join the discussion. > > > Date: Thursday, September 27 > Time: 2 PM to 3 PM Eastern > Speakers: Mike Heins, Red Hat Interchange Software Architect > David Adams, Red Hat Senior Director > of Engineering > Register Now: > > http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0EV -----Original Message----- From: Red Hat [mailto:RedHat@redhat.rgc2.net] Sent: Tuesday, September 04, 2001 8:47 AM To: danb@cyclonecomputers.com Subject: Upcoming Webcasts: Migration to Linux, Red Hat Training, and E-Commerce September Webcast Schedule Red Hat will be hosting three webcasts during the month of September and we wanted to give you the opportunity to claim your space before we open up registration to the general public. This month's webcast schedule features the first ever presentation of our new migration webcast "Solaris to Red Hat Linux Migrations: The Red Hat Linux Advantage". Mark your calendars and sign up below! --------------------------------------------- BUILD YOUR LINUX SKILLS WITH RED HAT TRAINING --------------------------------------------- Have you ever though you needed some Linux training but weren't sure where to start? We have the answers! Pete Childers, Red Hat's VP of Global Learning Services, will explain how you can profit from taking one or a combination of Red Hat training courses. Learn how to: -- Leverage your UNIX skills to become Linux savvy -- Join the elite community of Red Hat Linux experts as an RHCE -- Find one of our 54 training facilities in your area -- Take Red Hat training courses online You'll also discover the wide variety of courses available, from Red Hat Linux to embedded technology to kernel development to e-business solutions. Date: Thursday, September 13 Time: 1 PM to 2 PM EST Speakers: Peter Childers, Red Hat VP of Global Learning Services Register Now: http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0ET ------------------------------------------------------------- SOLARIS TO RED HAT LINUX MIGRATIONS: The Red Hat Linux Advantage ------------------------------------------------------------- Find out how you can implement a sound migration strategy from Solaris to Red Hat Linux for your IT infrastructure. Webcast attendees also receive a copy of Red Hat's newly published white paper "Solaris to Linux Migration: An Introduction." Date: Wednesday, September 26 Time: 2:00 to 3:00 EST Speakers: Nathan Thomas, Red Hat Senior Engineer and author of "Solaris to Linux Migration: An Introduction" whitepaper Michael Tiemann, Red Hat Chief Technology Officer Register Now: http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0EU ----------------------------------------- RED HAT INTERCHANGE: The Developer's View ----------------------------------------- Join us to learn more about the world's most popular open source e-commerce platform. The creators of Red Hat Interchange will be discussing development tools, providing tips, and answering questions. Register today to join the discussion. Date: Thursday, September 27 Time: 2 PM to 3 PM Eastern Speakers: Mike Heins, Red Hat Interchange Software Architect David Adams, Red Hat Senior Director of Engineering Register Now: http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0EV -------------- The above email is intended for people who have registered for a webcast or downloaded a whitepaper from Red Hat. If you think that you have received this email in error, please accept our apologies. Simply click on the link in the section below and we'll make sure that you do not receive this kind of email from Red Hat again. ______________________________________________________________________ This message was sent by Red Hat, Inc. using Responsys Interact (TM). If you prefer not to receive future e-mail from Red Hat, Inc.: http://rsp.rgc2.net/servlet/optout?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0 To view our permission marketing policy: http://www.rsvp0.net From: interchange-users at interchange.redhat.com (Bob Puff at NLE) Date: Thu Sep 6 13:58:01 2001 Subject: [ic] UI Admin Page not showing reports correctly Hello, I just searched the archives, and didn't see anything pop out. Here's the scoop: On an interchange server I set up this spring (version 4.6.3): When I go to the admin area, Reporting, Orders, then click on "Overall by month", it lists april, may, june, and july... nothing for august or september. If I use the "View stats for any period of time", it only seems to display 4 months worth, even if the beginning and ending times span more than 4 months. Is there a patch for this? Bob From: interchange-users at interchange.redhat.com (David Totten) Date: Thu Sep 6 14:10:01 2001 Subject: [ic] Verisign as payment gateway On Thu, 2001-09-06 at 11:27, Peter Yoo wrote: > Hello Dave, > > I've tried to put the $ENV{PFPRO_CERT_PATH} line very beginning of signio file > then I had syntax error. I've tried to put it right after 'sub signio' line, > then I did not get syntax error and now I get different type of error when I > try to check out : > > (custom signio): Charge failed, reason: User authentication failed Good.. that fixed that last problem. Now on to your next one. > I've looked at signio sub routine and I didn't see any line refers to > MV_VENDOR or MV_PARTNER and I know that when I try to run test.sh, I had to > specify all of the variables(ID, Vendor, Partner, Password, Server and Amount) > > Does signio sub routine gets the MV_VENDOR and MV_PARTNER magically? No it does not set these magically. In my instructions, I said to set MV_PAYMENT_ID to be userid&VENDER=userid&PARTNER=partner What I meant by this is that you are going to use the MV_PAYMENT_ID line to set the userid, the vender, and the partner variables. 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 (Ron Phipps) Date: Thu Sep 6 14:12:00 2001 Subject: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat Training, and E-Commerce Dan, is there a page that lists all of the webcasts at Redhat? After searching I'm unable to find a link to the webcast you pointed out which does not contain your session information. Thanks! -Ron > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > Sent: Thursday, September 06, 2001 10:21 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat Training, > and E-Commerce > > This may be of interest to some. > > > ----------------------------------------- > > RED HAT INTERCHANGE: The Developer's View > > ----------------------------------------- > > Join us to learn more about the world's most popular open source > > e-commerce platform. The creators of Red Hat Interchange will be > > discussing development tools, providing tips, and answering questions. > > Register today to join the discussion. > > > > > > Date: Thursday, September 27 > > Time: 2 PM to 3 PM Eastern > > Speakers: Mike Heins, Red Hat Interchange Software Architect > > David Adams, Red Hat Senior Director > > of Engineering > > Register Now: > > > > http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0EV > > -----Original Message----- > From: Red Hat [mailto:RedHat@redhat.rgc2.net] > Sent: Tuesday, September 04, 2001 8:47 AM > To: danb@cyclonecomputers.com > Subject: Upcoming Webcasts: Migration to Linux, Red Hat Training, and > E-Commerce > > > September Webcast Schedule > > Red Hat will be hosting three webcasts during the month of September > and we wanted to give you the opportunity to claim your space before > we open up registration to the general public. This month's webcast > schedule features the first ever presentation of our new migration > webcast "Solaris to Red Hat Linux Migrations: The Red Hat Linux > Advantage". Mark your calendars and sign up below! > > --------------------------------------------- > BUILD YOUR LINUX SKILLS WITH RED HAT TRAINING > --------------------------------------------- > > Have you ever though you needed some Linux training but weren't sure > where to start? We have the answers! Pete Childers, Red Hat's VP of > Global Learning Services, will explain how you can profit from taking > one or a combination of Red Hat training courses. Learn how to: > -- Leverage your UNIX skills to become Linux savvy > -- Join the elite community of Red Hat Linux experts as an RHCE > -- Find one of our 54 training facilities in your area > -- Take Red Hat training courses online > > You'll also discover the wide variety of courses available, from Red Hat > Linux to embedded technology to kernel development to e-business > solutions. > > Date: Thursday, September 13 > Time: 1 PM to 2 PM EST > Speakers: Peter Childers, Red Hat VP of Global Learning Services > > Register Now: > > http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0ET > > ------------------------------------------------------------- > SOLARIS TO RED HAT LINUX MIGRATIONS: The Red Hat Linux Advantage > ------------------------------------------------------------- > Find out how you can implement a sound migration strategy from Solaris > to Red Hat Linux for your IT infrastructure. Webcast attendees also > receive a copy of Red Hat's newly published white paper "Solaris to > Linux Migration: An Introduction." > > Date: Wednesday, September 26 > Time: 2:00 to 3:00 EST > Speakers: Nathan Thomas, Red Hat Senior Engineer and author of > "Solaris to Linux Migration: An Introduction" whitepaper > Michael Tiemann, Red Hat Chief Technology Officer > > Register Now: > > http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0EU > > ----------------------------------------- > RED HAT INTERCHANGE: The Developer's View > ----------------------------------------- > Join us to learn more about the world's most popular open source > e-commerce platform. The creators of Red Hat Interchange will be > discussing development tools, providing tips, and answering questions. > Register today to join the discussion. > > > Date: Thursday, September 27 > Time: 2 PM to 3 PM Eastern > Speakers: Mike Heins, Red Hat Interchange Software Architect > David Adams, Red Hat Senior Director of Engineering > Register Now: > > http://rsp.rgc2.net/servlet/cc?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0EV > > -------------- > The above email is intended for people who have registered > for a webcast or downloaded a whitepaper from Red Hat. > If you think that you have received this email in error, please > accept our apologies. Simply click on the link in the section > below and we'll make sure that you do not receive this kind > of email from Red Hat again. > > ______________________________________________________________________ > This message was sent by Red Hat, Inc. using Responsys Interact (TM). > > If you prefer not to receive future e-mail from Red Hat, Inc.: > http://rsp.rgc2.net/servlet/optout?koDYWBEKHgIFJRJshgLJhtiNmLklDJhtE0 > > To view our permission marketing policy: > http://www.rsvp0.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 (Massimiliano Ciancio) Date: Thu Sep 6 14:45:01 2001 Subject: [ic] UI documentation Hi all, does exists documentation for the UI suite? How can I understand how does works if-mm, table-editor, display, etc. tags? Obviously source code, but are there docs? Thanks in advance Massimiliano ----------------------------------------------------------------------- Massimiliano Ciancio Consulting mciancio@tiscalinet.it Custom Programming /// chip! http://web.tiscalinet.it/mciancio Internet and eCommerce (°.°) ------------------------------------------------------------^-^-------- From: interchange-users at interchange.redhat.com (Peter Yoo) Date: Thu Sep 6 15:05:00 2001 Subject: [ic] Verisign as payment gateway Hello Dave, After I changed MV_PAYMENT_ID line and remove the # in front of include global/signio line, it worked fine!!!! Thank you. I can see the transactions showing up in VeriSign Manager(https://manager.verisign.com) but when I try to look at the detail report of the transactions, I only get Transaction ID, Result, Street Address, Zip code and Total Amount. I do not get the rest of the info showing up in the VeriSign Manager Report. And also when I click on the Transaction ID to get detail info of the ID, I get some of the info then I get Error message saying to contact Customer Support. I am going to call VeriSign and see what's wrong with my transactions but.... Do you know why I'm not getting all the info from VeriSign Manager? Or is that all we get from interchange? Thanks. Peter. On Thu, Sep 06, 2001 at 02:09:55PM -0400, David Totten wrote: > On Thu, 2001-09-06 at 11:27, Peter Yoo wrote: > > Hello Dave, > > > > I've tried to put the $ENV{PFPRO_CERT_PATH} line very beginning of signio file > > then I had syntax error. I've tried to put it right after 'sub signio' line, > > then I did not get syntax error and now I get different type of error when I > > try to check out : > > > > (custom signio): Charge failed, reason: User authentication failed > > Good.. that fixed that last problem. Now on to your next one. > > > I've looked at signio sub routine and I didn't see any line refers to > > MV_VENDOR or MV_PARTNER and I know that when I try to run test.sh, I had to > > specify all of the variables(ID, Vendor, Partner, Password, Server and Amount) > > > > Does signio sub routine gets the MV_VENDOR and MV_PARTNER magically? > > No it does not set these magically. In my instructions, I said to set > MV_PAYMENT_ID to be userid&VENDER=userid&PARTNER=partner > > What I meant by this is that you are going to use the MV_PAYMENT_ID line > to set the userid, the vender, and the partner variables. > > Dave Totten > > -- > ___________________________________________________________________ > GnuPG uid: 0x887B864C > Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C > For more information about GnuPG, visit http://www.gnupg.org > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Donal H.) Date: Thu Sep 6 15:11:00 2001 Subject: [ic] Postgres? Hi, Is there any documentation specific to using Postgres with Interchange - or might anyone recall any relevant threads? Are there any major known issues? Thanks, -Donal From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 6 15:18:01 2001 Subject: [ic] IC in a Hosting Service My client has asked me to setup IC in a hosting environment in order to host several IC catalogs. They want to have a single in-house administrator take care of setting up the initial catalog for individual company's products in the IC Admin interface (subsequently their customers will be able to change pricing, inventory, etc.). Therefore, they want a utility or template or form in Excel or even a HTML-based form which the end users can enter their product data something like this: Item Name | Item Description | Part number | List Price | Inventory Count | gif pic And, then the customer could email the form to the administrator for 'rapid' implementation. I have searched the archives for any kind of utilities written to support IC. I have searched for "easy customer template/form/utility to add items to catalog" and come up empty. Does anyone remember seeing a posting like this before? Has anyone created this kind of form? Does anyone know of a list of utilities written to support IC? Is this just a crazy, hair-brained idea? From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Sep 6 15:23:00 2001 Subject: [ic] Adding variables I am attempting to add two variable on my checkout page and don't seem to be getting it right. I found a thread that had some relevance to this at: http://developer2.akopia.com/archive/interchange-users/1998-old/1040.html There is some code there that adds two variables [set name="ReceiptTotal" interpolate=1][[calc][scratch DeliveryCharge]+[total-cost][/calc]][/set] I did something very similiar to this: <snip> <TD ALIGN=RIGHT><font face="sans-serif"> [set total_shipping]0[/set] [item-list] [seti total_shipping][calc] [scratch total_shipping] + ([item-field shipping] * [item-quantity]) [/calc][/seti] [/item-list] [currency][scratch total_shipping][/currency] </TD> </TR> <TR> <TD ALIGN=RIGHT width="350"><font face="sans-serif">TOTAL: </font></TD> [set cart_total][calc][scratch total_shipping]+[subtotal][/calc][/set] <TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch cart_total][/currency]</TD> When I do the calc on cart_total I end up with zero. I followed the example exactly, I thought. Does someone see something I don't or am I going about this wrong? Any help would be appreciated. Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Sep 6 15:29:00 2001 Subject: [ic] Postgres? At 08:02 PM 9/6/2001 +0100, you wrote: >Hi, > >Is there any documentation specific to using Postgres with Interchange - or >might anyone recall any relevant threads? >Are there any major known issues? > >Thanks, >-Donal Works great. Don't forget to get your DBD::Pg & DBImodules installed. Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Sep 6 15:37:00 2001 Subject: [ic] Component woes Hello all again, I'm attempting to write a custom component for the right hand side of a top/left/right template. I've all ready written two of them, with no problems, but for some reason, the one I'm working on now, is not displaying on the page. It appears on the UI->CONTENET->page-edit section, and you can select it, it just won't display on the actual page. There are no errors being reported in the error logs. Here's my component code (which is based/modified on the best component): [comment] ui_component: affiliate_links ui_component_type: vertical ui_component_group: vertical ui_component_label: Affiliate Links banner: widget: text width: 40 [/comment] <!-- BEGIN COMPONENT [control component affiliate_links] --> <table width="95%" align=center> <tr> <td class="categorybar"> [control banner Affiliate Sites] </td> <td>testing !!!!!!!</td> </tr> </table> <!-- END COMPONENT [control component affiliate_links] --> Any one have ideas? The permissions match the rest of the components, and the other "original" components for the right side work fine. IC version 4.8.2 (CVS today) perl 5.6.1, RH7.1 Thanks in advance! Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Sep 6 15:43:01 2001 Subject: [ic] IC in a Hosting Service IC can import Excel Docs (at least IC Ver 4.8.x can. If you have the perl modules Spreadsheet-ParseExcel and Spreadsheet-Write Excel installed) the easiest way to do this is perl -MCPAN -e'install Spreadsheet::ParseExcel' perl -MCPAN -e'install Spreadsheet::WriteExcel' You can take the first line from the default products.txt and use it for a template in excel. I have a few clients using this feature, it works fairly well YMMV though. The best way, is to use access, and export to a tab delimiated txt file, and import that. At 12:17 PM 9/6/01 -0700, you wrote: >My client has asked me to setup IC in a hosting environment in order to host >several IC >catalogs. They want to have a single in-house administrator take care of >setting up the initial >catalog for individual company's products in the IC Admin interface >(subsequently their >customers will be able to change pricing, inventory, etc.). > >Therefore, they want a utility or template or form in Excel or even a >HTML-based form which >the end users can enter their product data something like this: > > Item Name | Item Description | Part number | List Price | Inventory >Count | gif pic > >And, then the customer could email the form to the administrator for 'rapid' >implementation. > >I have searched the archives for any kind of utilities written to support >IC. I have searched for >"easy customer template/form/utility to add items to catalog" and come up >empty. Does anyone >remember seeing a posting like this before? > >Has anyone created this kind of form? > >Does anyone know of a list of utilities written to support IC? > >Is this just a crazy, hair-brained idea? > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Thu Sep 6 15:50:01 2001 Subject: [ic] Great Bridge LLC goes out of business Hi! I found the following on www.greatbridge.com . I was not sure wheter to post is or not. ........... Great Bridge ceases operations Open source pioneer closes after failing to identify a qualified investor or acquirer NORFOLK, Va., September 6, 2001 — Great Bridge LLC, the company that pioneered commercial distribution and support of the PostgreSQL open source database, announced today that it has ceased business operations. Great Bridge, founded in May 2000 by Norfolk, Virginia-based media conglomerate Landmark Communications, Inc., initiated a search for additional investors or an acquirer in July of this year. This search did not generate a qualified investor or acquirer, and Great Bridge’s board decided to close the business. During its 16 months of operations, Great Bridge recorded an impressive list of accomplishments, including assembling the industry’s deepest talent pool of PostgreSQL expertise; releasing the first-ever commercially distributed version of PostgreSQL; recording more than 19,000 downloads of its Great Bridge PostgreSQL software and 40,000 downloads of its Great Bridge PostgreSQL documentation; launching www.greatbridge.org, a development community which hosted more the 100 PostgreSQL-related projects; and being named to FORTUNE magazine’s “25 Coolest Global Companies.” The company was not able, however, to turn this momentum into revenues that met its business plan milestones. “We remain convinced that open source solutions, and in particular the PostgreSQL database, present compelling and viable alternatives for business computing,” said Frank Batten Jr., chairman of Landmark Communications and founder of Great Bridge. “The board was not convinced that, given the current economic climate, the company could generate revenues at a level to meet the required expenses of the business within the company’s funding horizon.” Great Bridge will retain a limited number of employees to manage its closure. From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Sep 6 15:53:00 2001 Subject: [ic] Postgres? At 08:02 PM 9/6/01 +0100, you wrote: >Hi, > >Is there any documentation specific to using Postgres with Interchange - or >might anyone recall any relevant threads? >Are there any major known issues? > >Thanks, >-Donal > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Been using Postgres 7.1.2 for a site, with little to no problems. The ones that I found have been fixed by the developers (Thanks Mike!) It really is very easy especially, if you use makecat and a default catalog, it gives you the option to use PGSQL right there. The only thing that you'll have to do beforehand, is create a user with appropriate permissions in PGSQL and a blank database. The makecat program will ask you for the username/password, and the dbname. The first time IC runs, it will automagically create the tables and import the default data from the products/*.txt & *.asc files) Walla, IC running on PGSQL. Very nice, very fast, very stable. For PGSQL administration, I recommend something like phpPgAdmin, especially, if you're not familiar with postgres or databases in general. As for specific docs, I dunno, I don't recall ever seeing them in the manuals. Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 6 15:54:50 2001 Subject: [ic] Postgres? Donal, We have Interchange running against Postgres here and there were some issues. The first was that you need to create the Postgres database first, be running the Postgres database on the Interchange server, and then create a user in Postgres (using psql template1) that matches the user-name of the user you will be doing the perl -MCPAN as (i.e. if you do that as 'root' you need a Postgres user 'root') and that user must have 'createdb' privilage. This has to be done _before_ you do the 'perl -MCPAN install DBD::Pg' or the 'make test' will fail. After it's done, you can drop that user. Or you can assume that it's all going to work and force it with 'make install'. I prefer to have an install that goes completely cleanly all the way through. Second thing we ran into is that if you want to run Postgres on another box, you need to use a different syntax for the DBI connnect string in the 'makecat' command. Where it asks for the connect string, you can use this syntax. dbi:Pg:dbname=<database>;host='<your-db-server>' e.g. dbi:Pg:dbname=foundation;host='dbserver1' This may be totally obvious to all those DBI gurus out there, but I figured I should mention it. Then you put in the username and password within that database for a user you have created (usually interch) that has createdb privilages in Postgres. When you start interchange for the first time, it discovers that the tables it needs aren't in the Postgres database so it goes ahead and creates and populates them. At that point you are up and running. Good luck Patrick Bennett http://www.ccgenesis.com -----Original Message----- From: Donal H. [mailto:donalh@online.ie] Sent: Thursday, September 06, 2001 1:03 PM To: interchange-users@interchange.redhat.com Subject: [ic] Postgres? Hi, Is there any documentation specific to using Postgres with Interchange - or might anyone recall any relevant threads? Are there any major known issues? 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 (Mathew Jones) Date: Thu Sep 6 15:56:37 2001 Subject: [ic] web-based makecat Has anyone out there created a web-based makecat script. I would love to know if this has been done before, and if there are any plans to build it into interchange? thanks __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Sep 6 16:00:01 2001 Subject: [ic] Adding variables At 02:22 PM 9/6/01 -0500, you wrote: >I am attempting to add two variable on my checkout page and don't seem to be >getting it right. > >I found a thread that had some relevance to this at: >http://developer2.akopia.com/archive/interchange-users/1998-old/1040.html > >There is some code there that adds two variables > [set name="ReceiptTotal" interpolate=1][[calc][scratch > DeliveryCharge]+[total-cost][/calc]][/set] > >I did something very similiar to this: > ><snip> > <TD ALIGN=RIGHT><font face="sans-serif"> > [set total_shipping]0[/set] > [item-list] > [seti total_shipping][calc] > [scratch total_shipping] + ([item-field > shipping] * >[item-quantity]) > [/calc][/seti] > [/item-list] > > [currency][scratch total_shipping][/currency] > </TD> ></TR> ><TR> > <TD ALIGN=RIGHT width="350"><font face="sans-serif">TOTAL: > </font></TD> > > [set cart_total][calc][scratch > total_shipping]+[subtotal][/calc][/set] > > <TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch >cart_total][/currency]</TD> > >When I do the calc on cart_total I end up with zero. I followed the example >exactly, I thought. Does someone see something I don't or am I going about >this wrong? > >Any help would be appreciated. >Chad > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ____ > | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) > \__/ | \| _||_ University of Northern Iowa > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users I ran into something similar about a month ago, I believe that it was caused by IC formatting certain fields with [currency] Here's a bit of my code that I used to get around it. [seti tmpdiscountsubtotal][subtotal noformat=1][/seti] [perl arg=scratch] $_ = $Safe{'scratch'}{'tmpsubtotal'} - $Safe{'scratch'}{'tmpdiscountsubtotal'}; $Safe{'scratch'}{'subtotaldiscount'} = $_; return ''; [/perl] [currency][scratch subtotaldiscount][/currency] note the "noformat" attribute to strip the currency format off the numbers. And I also tried all sorts of variations with using the IC tags, but found that in the end, the only way I was able to get it working right (IE The way I wanted) was by using the perl style syntax in the page. Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Sep 6 16:03:01 2001 Subject: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat At 11:08 AM 9/6/2001 -0700, you wrote: >Dan, is there a page that lists all of the webcasts at Redhat? After >searching I'm unable to find a link to the webcast you pointed out which >does not contain your session information. > >Thanks! >-Ron Doh. That should teach me to never forward a message without first following the links therein. I had the same problem as you did of not being able to find a link to sign up for the Webcast. I wonder if that is because of my status as one of the Great Dons of the Elite Red Hat Illuminati (one free super decoder ring in every box of sugar-puffs). Puny mortals: bask in the light of my greatness. |^> Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 6 16:10:01 2001 Subject: [ic] IC in a Hosting Service At 12:17 PM 09/06/2001 -0700, you wrote: >My client has asked me to setup IC in a hosting environment in order to host >several IC >catalogs. They want to have a single in-house administrator take care of >setting up the initial >catalog for individual company's products in the IC Admin interface >(subsequently their >customers will be able to change pricing, inventory, etc.). > >Therefore, they want a utility or template or form in Excel or even a >HTML-based form which >the end users can enter their product data something like this: > > Item Name | Item Description | Part number | List Price | Inventory >Count | gif pic > >And, then the customer could email the form to the administrator for 'rapid' >implementation. > >I have searched the archives for any kind of utilities written to support >IC. I have searched for >"easy customer template/form/utility to add items to catalog" and come up >empty. Does anyone >remember seeing a posting like this before? > >Has anyone created this kind of form? > >Does anyone know of a list of utilities written to support IC? > >Is this just a crazy, hair-brained idea? Possibly... ;-) Why wouldn't the customer just use the UI to add their items directly to their catalog? If they are going to have to key them in, take the shortest path. If they have some kind of existing database, it is going to need to be derived and reformatted for interchange by someone familiar with the beast, so they would just fire off an exported copy. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Sep 6 16:12:01 2001 Subject: [ic] Postgres? At 01:51 PM 9/6/01 -0600, you wrote: <snip> >Second thing we ran into is that if you want to run Postgres on another >box, you need to use a different syntax for the DBI connnect string >in the 'makecat' command. Where it asks for the connect string, you >can use this syntax. > >dbi:Pg:dbname=<database>;host='<your-db-server>' > e.g. >dbi:Pg:dbname=foundation;host='dbserver1' <snip> Another way is if PGSQL is running on a remote machine you can also use username = username@pgsql.hostname.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 6 16:14:01 2001 Subject: [ic] Adding variables At 02:22 PM 09/06/2001 -0500, you wrote: >I am attempting to add two variable on my checkout page and don't seem to be >getting it right. > >I found a thread that had some relevance to this at: >http://developer2.akopia.com/archive/interchange-users/1998-old/1040.html > >There is some code there that adds two variables > [set name="ReceiptTotal" interpolate=1][[calc][scratch > DeliveryCharge]+[total-cost][/calc]][/set] This is non-functional dreck: too many []'s. >I did something very similiar to this: > ><snip> > <TD ALIGN=RIGHT><font face="sans-serif"> > [set total_shipping]0[/set] > [item-list] > [seti total_shipping][calc] > [scratch total_shipping] + ([item-field > shipping] * >[item-quantity]) > [/calc][/seti] > [/item-list] > > [currency][scratch total_shipping][/currency] > </TD> ></TR> ><TR> > <TD ALIGN=RIGHT width="350"><font face="sans-serif">TOTAL: > </font></TD> > > [set cart_total][calc][scratch > total_shipping]+[subtotal][/calc][/set] [seti cart_total][calc][scratch total_shipping]+[subtotal noformat=1][/calc][/seti] When you need to set a scratch variable with the results of the interpolation of container tags, you must use [seti...] instead of [set...]. Also, currency formatting in [subtotal] will break the calculation, thus the 'noformat=1' parameter. - Ed L. > <TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch >cart_total][/currency]</TD> > >When I do the calc on cart_total I end up with zero. I followed the example >exactly, I thought. Does someone see something I don't or am I going about >this wrong? > >Any help would be appreciated. >Chad > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ____ > | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) > \__/ | \| _||_ University of Northern Iowa > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== 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 (Chad Wittrock) Date: Thu Sep 6 16:17:00 2001 Subject: [ic] Adding variables Thanks a bunch Brian! Here is my final code that is working properly! [seti tmpsubtotal][subtotal noformat=1][/seti] [perl arg=scratch] $_ = $Safe{'scratch'}{'tmpsubtotal'} + $Safe{'scratch'}{'total_shipping'}; $Safe{'scratch'}{'cart_total'} = $_; return ''; [/perl] <TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch cart_total][/currency]</TD> Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > Brian Kosick > Sent: Thursday, September 06, 2001 2:55 PM > To: interchange-users@interchange.redhat.COM > Subject: Re: [ic] Adding variables > > > At 02:22 PM 9/6/01 -0500, you wrote: > >I am attempting to add two variable on my checkout page and > don't seem to be > >getting it right. > > > >I found a thread that had some relevance to this at: > >http://developer2.akopia.com/archive/interchange-users/1998-old/1040.html > > > >There is some code there that adds two variables > > [set name="ReceiptTotal" interpolate=1][[calc][scratch > > DeliveryCharge]+[total-cost][/calc]][/set] > > > >I did something very similiar to this: > > > ><snip> > > <TD ALIGN=RIGHT><font face="sans-serif"> > > [set total_shipping]0[/set] > > [item-list] > > [seti total_shipping][calc] > > [scratch total_shipping] + ([item-field > > shipping] * > >[item-quantity]) > > [/calc][/seti] > > [/item-list] > > > > [currency][scratch total_shipping][/currency] > > </TD> > ></TR> > ><TR> > > <TD ALIGN=RIGHT width="350"><font face="sans-serif">TOTAL: > > </font></TD> > > > > [set cart_total][calc][scratch > > total_shipping]+[subtotal][/calc][/set] > > > > <TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch > >cart_total][/currency]</TD> > > > >When I do the calc on cart_total I end up with zero. I followed > the example > >exactly, I thought. Does someone see something I don't or am I > going about > >this wrong? > > > >Any help would be appreciated. > >Chad > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ____ > > | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) > > \__/ | \| _||_ University of Northern Iowa > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > I ran into something similar about a month ago, I believe that it was > caused by IC formatting certain fields with [currency] Here's a > bit of my > code that I used to get around it. > > [seti tmpdiscountsubtotal][subtotal noformat=1][/seti] > [perl arg=scratch] > $_ = $Safe{'scratch'}{'tmpsubtotal'} - > $Safe{'scratch'}{'tmpdiscountsubtotal'}; > $Safe{'scratch'}{'subtotaldiscount'} = $_; > return ''; > [/perl] > [currency][scratch subtotaldiscount][/currency] > > note the "noformat" attribute to strip the currency format off the > numbers. And I also tried all sorts of variations with using the > IC tags, > but found that in the end, the only way I was able to get it > working right > (IE The way I wanted) was by using the perl style syntax in the page. > > > > Brian Kosick > Web Programmer > New Age Consulting Service, Inc. > 216-619-2000 > briank@nacs.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jason Timm) Date: Thu Sep 6 16:22:01 2001 Subject: [ic] One works, the other doesn't Hello, I have IC 4.8 running on RH 7.1. The IC install went very well - everything installed great. The foundation catalog works great as well. I ran makecat and created a new catalog called 'sample' using most of the makecat defaults. When I try to access the new catalog via: http://www.myserver.com/cgi-bin/sample it gives me the dreaded 'Undefined Catalog' error. I have restarted IC several times, and both 'foundation' and 'sample' load fine. I was thinking it was a permissions thing, but I can't find a problem... Here is what I have checked so far: ----- interchange.cfg: Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation /foundation Catalog sample /var/lib/interchange/sample /cgi-bin/sample /sample ----- from the error log: - - [06/September/2001:13:04:30 -0700] - /cgi-bin/sample CGI mapping error: Undefined catalog: /cgi-bin/sample at /usr/lib/interchange/lib/Vend/Server.pm line 182. ----- ls -l of cgi-bin: -rwsr-xr-x 1 interch interch 7704 Aug 13 22:09 foundation -rwsr-xr-x 1 interch interch 7164 Sep 6 12:04 sample ----- ls -l of /var/lib/interchange drwxr-xr-x 11 interch interch 4096 Aug 30 15:37 foundation drwxr-xr-x 15 interch interch 4096 Sep 6 12:04 sample ----- dir of /var/lib/interchange/foundation drwxrwx--- 2 interch interch 4096 Aug 30 15:37 backup -rw------- 1 interch interch 11147 Aug 30 15:37 catalog.cfg drwxrwx--- 2 interch interch 4096 Aug 30 15:37 config drwxrwx--- 6 interch interch 4096 Aug 30 15:37 dbconf lrwxrwxrwx 1 interch interch 41 Aug 30 15:37 error.log -> /var/log/interchange/foundation/error.log drwxrwx--- 2 interch interch 4096 Aug 30 15:38 etc lrwxrwxrwx 1 interch interch 31 Aug 30 15:37 images -> /var/www/html/foundation/images lrwxrwxrwx 1 interch interch 36 Aug 30 15:37 logs -> /var/log/interchange/foundation/logs lrwxrwxrwx 1 interch interch 38 Aug 30 15:37 orders -> /var/log/interchange/foundation/orders drwxrwx--- 6 interch interch 4096 Aug 30 15:37 pages drwxrwx--- 2 interch interch 4096 Sep 6 12:25 products lrwxrwxrwx 1 interch interch 41 Aug 30 15:37 session -> /var/cache/interchange/foundation/session drwxrwx--- 2 interch interch 4096 Aug 30 15:37 special_pages drwxrwx--- 5 interch interch 4096 Aug 30 15:37 templates lrwxrwxrwx 1 interch interch 37 Aug 30 15:37 tmp -> /var/cache/interchange/foundation/tmp drwxrwx--- 2 interch interch 4096 Aug 30 15:37 upload ----- dir of /var/lib/interchange/sample drwxrwx--- 2 interch interch 4096 Sep 6 12:04 backup -rw-rw---- 1 interch interch 11147 Sep 6 12:04 catalog.cfg drwxrwx--- 2 interch interch 4096 Sep 6 12:04 config drwxrwx--- 6 interch interch 4096 Sep 6 12:04 dbconf -rw-rw---- 1 interch interch 0 Sep 6 12:04 error.log drwxrwx--- 2 interch interch 4096 Sep 6 12:04 etc lrwxrwxrwx 1 interch interch 27 Sep 6 12:04 images -> /var/www/html/sample/images drwxrwx--- 2 interch interch 4096 Sep 6 12:04 logs drwxrwx--- 2 interch interch 4096 Sep 6 12:04 orders drwxrwx--- 6 interch interch 4096 Sep 6 12:04 pages drwxrwx--- 2 interch interch 4096 Sep 6 12:04 products drwxrwx--- 2 interch interch 4096 Sep 6 12:04 session drwxrwx--- 2 interch interch 4096 Sep 6 12:04 special_pages drwxrwx--- 5 interch interch 4096 Sep 6 12:04 templates drwxrwx--- 2 interch interch 4096 Sep 6 12:04 tmp drwxrwx--- 2 interch interch 4096 Sep 6 12:04 upload ----- Any ideas? Thanks, Jason From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Sep 6 16:24:00 2001 Subject: [ic] Adding variables Shorter than my last solution. I like that! Thanks Ed and Brian. Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Ed > LaFrance > Sent: Thursday, September 06, 2001 3:15 PM > To: interchange-users@interchange.redhat.COM > Subject: Re: [ic] Adding variables > > > At 02:22 PM 09/06/2001 -0500, you wrote: > >I am attempting to add two variable on my checkout page and > don't seem to be > >getting it right. > > > >I found a thread that had some relevance to this at: > >http://developer2.akopia.com/archive/interchange-users/1998-old/1040.html > > > >There is some code there that adds two variables > > [set name="ReceiptTotal" interpolate=1][[calc][scratch > > DeliveryCharge]+[total-cost][/calc]][/set] > > This is non-functional dreck: too many []'s. > > > >I did something very similiar to this: > > > ><snip> > > <TD ALIGN=RIGHT><font face="sans-serif"> > > [set total_shipping]0[/set] > > [item-list] > > [seti total_shipping][calc] > > [scratch total_shipping] + ([item-field > > shipping] * > >[item-quantity]) > > [/calc][/seti] > > [/item-list] > > > > [currency][scratch total_shipping][/currency] > > </TD> > ></TR> > ><TR> > > <TD ALIGN=RIGHT width="350"><font face="sans-serif">TOTAL: > > </font></TD> > > > > [set cart_total][calc][scratch > > total_shipping]+[subtotal][/calc][/set] > > [seti cart_total][calc][scratch total_shipping]+[subtotal > noformat=1][/calc][/seti] > > When you need to set a scratch variable with the results of the > interpolation of container tags, you must use [seti...] instead of > [set...]. Also, currency formatting in [subtotal] will break the > calculation, thus the 'noformat=1' parameter. > > - Ed L. > > > > <TD ALIGN=RIGHT><font face="sans-serif">[currency][scratch > >cart_total][/currency]</TD> > > > >When I do the calc on cart_total I end up with zero. I followed > the example > >exactly, I thought. Does someone see something I don't or am I > going about > >this wrong? > > > >Any help would be appreciated. > >Chad > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ____ > > | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) > > \__/ | \| _||_ University of Northern Iowa > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > =============================================================== > 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 (Jud Harris) Date: Thu Sep 6 16:28:01 2001 Subject: [ic] read-only table error Hello again, folks.. I just installed 4.9.0 on our non-production machine and the same problem occurs. 65.68.239.1 HnCnhEGu:65.68.239.1 - [06/September/2001:15:21:40 -0500] test1 test.copernica.com/cgi-bin/store/admin/tax_simple.html Attempt to set variable::Variable::TAXAREA in read-only table This is immediately after running the bin/makecat. All the permission appear to be fine, as all the files in the catalog dir are owned and writeable by interch. Was this broken in the 4.8 release? Did I miss something obvious? Mike? Thanks again! -Jud ----- Original Message ----- From: "Jud Harris" <jud-lists@copernica.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 05, 2001 4:42 PM Subject: Re: [ic] read-only table error > Well... I just installed 4.8.2 from the CVS stable branch, and it's giving > me the same error. > > Attempt to set variable::Variable::TAXAREA in read-only table > > Any other ideas? This is royally annoying. > > -Jud > > > ----- Original Message ----- > From: "Dan Browning" <db@cyclonehq.dnsalias.net> > To: <interchange-users@interchange.redhat.com> > Sent: Wednesday, September 05, 2001 2:17 PM > Subject: Re: [ic] read-only table error > > > > At 06:15 PM 9/4/2001 -0500, you wrote: > > >Hey folks, > > > > > >I just clean installed 4.8.1, and I'm unable to modify certain variables > via > > >the interface. > > > > > >For example, if I go to the Adminstration section of the admin ui, to > Tax, I > > >am unable to delete, add, or modify any of the entries. > > > > > >BUT! > > > > > >If I go to Preferences, or Tables, and edit the variables that way, it > > >works. > > > > > >The report in the error.log when I attempt it the first way is the > > >following: > > > > > >Attempt to set variable::Variable::TAXAREA in read-only table > > > > > >I've checked my directories' permissions and all are user/group writeable > by > > >interch. > > > > > >I don't get it. Anyone have any ideas? > > > > > >Thanks! > > >-Jud > > > > Try the latest CVS (STABLE_4_8-branch). I seem to recall this being fixed > > already. HAND, > > > > Dan Browning <danpb@mail.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 (Ron Phipps) Date: Thu Sep 6 16:32:01 2001 Subject: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat Training, and E-Commerce > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > Sent: Thursday, September 06, 2001 1:01 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat > Training, and E-Commerce > > At 11:08 AM 9/6/2001 -0700, you wrote: > >Dan, is there a page that lists all of the webcasts at Redhat? After > >searching I'm unable to find a link to the webcast you pointed out which > >does not contain your session information. > > > >Thanks! > >-Ron > > Doh. That should teach me to never forward a message without first > following the links therein. I had the same problem as you did of not > being able to find a link to sign up for the Webcast. Perhaps one of the IC folks could throw us the link if they are aware of how to sign up for it. > I wonder if that is because of my status as one of the Great Dons of the > Elite Red Hat Illuminati (one free super decoder ring in every box of > sugar-puffs). Puny mortals: bask in the light of my greatness. |^> > And all this time I thought I would get the super decoder ring in a box of cracker jacks. Oh well maybe next time :) -Ron From: interchange-users at interchange.redhat.com (David Totten) Date: Thu Sep 6 17:08:01 2001 Subject: [ic] Verisign as payment gateway On Thu, 2001-09-06 at 15:05, Peter Yoo wrote: > Hello Dave, > > After I changed MV_PAYMENT_ID line and remove the # in front of > include global/signio line, it worked fine!!!! Good, I am glad it worked for you. > > Thank you. > > I can see the transactions showing up in VeriSign > Manager(https://manager.verisign.com) but when I try to look at the detail > report of the transactions, I only get Transaction ID, Result, Street Address, > Zip code and Total Amount. I do not get the rest of the info showing up in > the VeriSign Manager Report. And also when I click on the Transaction ID to > get detail info of the ID, I get some of the info then I get Error message > saying to contact Customer Support. I am going to call VeriSign and see what's > wrong with my transactions but.... > > Do you know why I'm not getting all the info from VeriSign Manager? > > Or is that all we get from interchange? I don't know. I haven't run into this problem. Perhaps it is something that VeriSign can help with. I do not have a real account with VeriSign. I was just able to get a testing one for the purpose of writing that information, and testing as I went. Hopefully VeriSign can give you some more information. Perhaps it's just that they would like to see some more information in the transaction or something. If that is the case, please let me know, and I will make an amendment to my instructions. Thanks, 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 (wendel) Date: Thu Sep 6 17:24:01 2001 Subject: [ic] off (Have a Verisign/Signio) testing SDK? Hi all, I can download a VeriSign/Signio for testing? I need to pay to download the SDK? Other question: Signio have support to international currencies? Like Brazilian (Real R$)? If I'm out of EUA I can Use Signio to do transactions? Yes I now this question I can do for them but maybe Anywhere here may be used Signio yet to operate with International costumers, maybe. ===================================================== I'm using authorize.net on Interchange 4.8.1 on Debian Linux in i686 Platform. ===================================================== dotPIX http://www.dotpix.net | CTO From: interchange-users at interchange.redhat.com (Kat Turner) Date: Thu Sep 6 17:27:00 2001 Subject: [ic] Shipping Problem: 1DA Missing: consigneecountry Thanks for the help!! UPS shipping now works correctly. >From: racke@linuxia.de (Stefan Hornburg (Racke)) >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] Shipping Problem: 1DA Missing: consigneecountry >Date: 06 Sep 2001 10:52:01 +0200 > >"Kat Turner" <ronzokat@hotmail.com> writes: > > > Thanks, I am new to IC. Could you give me a pointer on where to find the >tag > > how edit it? Can I edit it inside the IC admin interface or do I do it > > through FTP? Thanks for helping a newbie! > >I think you need to use FTP. The file in question is located in the >directory usertag in your Interchange installation. > >I attached the fixed file (it is really small). > >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) ><< ups_query.tag >> _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Sep 6 18:27:01 2001 Subject: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat Training, and E-Commerce Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > > Sent: Thursday, September 06, 2001 1:01 PM > > To: interchange-users@interchange.redhat.com > > Subject: RE: [ic] FW: Upcoming Webcasts: Migration to Linux, Red Hat > > Training, and E-Commerce > > > > At 11:08 AM 9/6/2001 -0700, you wrote: > > >Dan, is there a page that lists all of the webcasts at Redhat? After > > >searching I'm unable to find a link to the webcast you pointed out > which > > >does not contain your session information. > > > > > >Thanks! > > >-Ron > > > > Doh. That should teach me to never forward a message without first > > following the links therein. I had the same problem as you did of not > > being able to find a link to sign up for the Webcast. > > Perhaps one of the IC folks could throw us the link if they are aware of > how to sign up for it. I am sure Jim Evans will post that to the list (or send me a copy so I can). I think Dan probably got that as a part of an Under The Brim mailing... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Sep 6 18:30:01 2001 Subject: [ic] One works, the other doesn't Quoting Jason Timm (jason@itchoices.com): > Hello, > > I have IC 4.8 running on RH 7.1. The IC install went very well - everything > installed great. The foundation catalog works great as well. > > I ran makecat and created a new catalog called 'sample' using most of the > makecat defaults. When I try to access the new catalog via: > http://www.myserver.com/cgi-bin/sample it gives me the dreaded 'Undefined > Catalog' error. I have restarted IC several times, and both 'foundation' > and 'sample' load fine. I was thinking it was a permissions thing, but I > can't find a problem... Here is what I have checked so far: > > ----- > > interchange.cfg: > > Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation > /foundation > Catalog sample /var/lib/interchange/sample /cgi-bin/sample /sample > > ----- > > from the error log: > > - - [06/September/2001:13:04:30 -0700] - /cgi-bin/sample CGI mapping error: > Undefined catalog: /cgi-bin/sample at > /usr/lib/interchange/lib/Vend/Server.pm line 182. > I am betting you have two IC daemons running, one installed via RPM and the other that you are running with /usr/lib/interchange/bin/interchange. Kill both (killall interchange) and then restart the standard one with /usr/sbin/interchange. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Thu Sep 6 18:39:00 2001 Subject: [ic] Encryptor Variable Question Hi everyone, Just an easy question, but I couldn't find a specific answer in the docs. It's late and I'm working on my usual 2 hours sleep so I apologize if this is redundant. When I upgraded from IC4.6.5 to 4.8.1, I was able to get all my catalogs working but one. Now the only remaining issue is the credit card number that used to be on the e-mail that was sent to the store owner is now missing. I am not using encryption or PGP because everything is on the local machine but I cannot find the card number anywhere. Can someone tell me how to get the CC# back on the email sent to the owner and where it is stored so I can get the CC numbers for orders already placed since upgrading. Thanks, Robert From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Sep 6 18:41:00 2001 Subject: [ic] read-only table error Quoting Jud Harris (jud-lists@copernica.com): > Hello again, folks.. > > I just installed 4.9.0 on our non-production machine and the same problem > occurs. > > 65.68.239.1 HnCnhEGu:65.68.239.1 - [06/September/2001:15:21:40 -0500] test1 > test.copernica.com/cgi-bin/store/admin/tax_simple.html Attempt to set > variable::Variable::TAXAREA in read-only table > > This is immediately after running the bin/makecat. All the permission > appear to be fine, as all the files in the catalog dir are owned and > writeable by interch. > > Was this broken in the 4.8 release? Did I miss something obvious? Mike? I bet you have "Pragma dynamic_variables" in your templates/*/theme.cfg, and you are using GDBM along with a custom UI_STD_HEAD. Try setting below that: Pragma dynamic_variables_file_only and see if it solves the problem. If it doesn't, comment out the "Pragma dynamic_variables" or go to high-traffic mode in interchange.cfg. -- 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 (Jud Harris) Date: Thu Sep 6 18:57:00 2001 Subject: [ic] read-only table error Mike - BINGO. You da man.. -Jud ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 06, 2001 5:37 PM Subject: Re: [ic] read-only table error > Quoting Jud Harris (jud-lists@copernica.com): > > Hello again, folks.. > > > > I just installed 4.9.0 on our non-production machine and the same problem > > occurs. > > > > 65.68.239.1 HnCnhEGu:65.68.239.1 - [06/September/2001:15:21:40 -0500] test1 > > test.copernica.com/cgi-bin/store/admin/tax_simple.html Attempt to set > > variable::Variable::TAXAREA in read-only table > > > > This is immediately after running the bin/makecat. All the permission > > appear to be fine, as all the files in the catalog dir are owned and > > writeable by interch. > > > > Was this broken in the 4.8 release? Did I miss something obvious? Mike? > > I bet you have "Pragma dynamic_variables" in your templates/*/theme.cfg, > and you are using GDBM along with a custom UI_STD_HEAD. Try setting below that: > > Pragma dynamic_variables_file_only > > and see if it solves the problem. If it doesn't, comment out the > "Pragma dynamic_variables" or go to high-traffic mode in interchange.cfg. > > -- > 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 > _______________________________________________ > 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 Sep 6 20:25:01 2001 Subject: [ic] One works, the other doesn't On Thu, 6 Sep 2001, Mike Heins wrote: MH>>I am betting you have two IC daemons running, one installed via MH>>RPM and the other that you are running with /usr/lib/interchange/bin/interchange. MH>> MH>>Kill both (killall interchange) and then restart the standard one MH>>with /usr/sbin/interchange. If I was to bring up 4.8.1 on the same machine as my 4.6 in order to get it set up, working and trying to migrate 4.6 to 4.8, wouldn't I have 2 daemons running? How do I handle this? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 06, 2001 at 20:25 PM: The worst day fishing is better than the best day working. ---------------------------------------------------------------- This Linux System has been up 633 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Sep 6 21:02:00 2001 Subject: [ic] One works, the other doesn't Quoting Jim Balcom (jim@idk-enterprises.com): > On Thu, 6 Sep 2001, Mike Heins wrote: > > MH>>I am betting you have two IC daemons running, one installed via > MH>>RPM and the other that you are running with /usr/lib/interchange/bin/interchange. > MH>> > MH>>Kill both (killall interchange) and then restart the standard one > MH>>with /usr/sbin/interchange. > > If I was to bring up 4.8.1 on the same machine as my 4.6 in order to > get it set up, working and trying to migrate 4.6 to 4.8, wouldn't I > have 2 daemons running? How do I handle this? That isn't a problem -- the key is to run the makecat for, and have the link program pointed to, the same version as you restart. You can have as many Interchange daemons running on a system as you want -- my personal record is on the old minivend.com, which had 9 Minivends and 2 Interchanges on the main app server when it was shut down and moved to the new servers at Red Hat. -- 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 (peter) Date: Thu Sep 6 23:35:01 2001 Subject: [ic] interchange and debian unstable - startup problem Hello list, I have just done a clean install of debian unstable and interchange. When I try and start interchange using the script in init.d, I am asked for a password. The interchange user has a shell of /bin/false, so when I change this to /bin/bash and assign a password to user interchange, I can then provide a password when prompted, but this seems like strange behaviour for an init script. Any ideas? -Peter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 7 03:20:01 2001 Subject: [ic] Code convert of Form input data 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. Thanks. Murahashi From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Fri Sep 7 04:12:00 2001 Subject: [ic] tree tag Hi, I played around with the tree tag. So far so good: <table> [tree table=categories master=parentCatID subordinate=catID continue=true start=0 memo=1 spacing=4 full=1 increment=1] <tr> <td> [if-item-param mv_level] [item-calc] return '&nbsp' x [item-param mv_spacing]; [/item-calc] [/if-item-param] <A HREF="[area process/index]">[item-param catName]</A> </td> <td> mv_level=[item-param mv_level], mv_increment=[item-param mv_increment], mv_children=[item-param mv_children]<BR> </td> </tr> [/tree] </table> I get the basic tag function to run ( helped from the list archiv), but how can i use explode, toggle, collapse, memo ?? Any idea or help would be appreciated. Thanks. Goetz ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 7 04:46:00 2001 Subject: [ic] interchange and debian unstable - startup problem peter <petong@jah.net> writes: > Hello list, > > I have just done a clean install of debian unstable and interchange. When I > try and start interchange using the script in init.d, I am asked for a > password. The interchange user has a shell of /bin/false, so when I change > this to /bin/bash and assign a password to user interchange, I can then > provide a password when prompted, but this seems like strange behaviour for > an init script. Any ideas? You should execute the script in init.d as superuser. Use /bin/false as shell is correct. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (David Bordas) Date: Fri Sep 7 09:21:01 2001 Subject: [ic] Adding field in admin UI ( 4.8.1 ) Hi list, i've a small question. I've ass some new fields to the products table via dbconf/mysql/product.mysql. But in the Admin UI i don't see this fields. So i'll looking for where the admin display of this is store to modify it. Thanks From: interchange-users at interchange.redhat.com (Raymond Kirby) Date: Fri Sep 7 09:53:00 2001 Subject: [ic] web-based makecat There is a module for Webmin at http://www.webmin.com/webmin/ That supports Interchange but it hasn't been updated since June so don't know if will work with 4.8.1 Mathew Jones wrote: > Has anyone out there created a web-based makecat > script. > I would love to know if this has been done before, and > if there are any plans to build it into interchange? > > thanks > > __________________________________________________ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger > http://im.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 (Brian Kosick) Date: Fri Sep 7 10:18:00 2001 Subject: [ic] Adding field in admin UI ( 4.8.1 ) Check out the "item editor" function when you first click on UI->Items. From there you can select what fields to display. At 03:22 PM 9/7/01 +0200, you wrote: >Hi list, > >i've a small question. >I've ass some new fields to the products table via >dbconf/mysql/product.mysql. >But in the Admin UI i don't see this fields. >So i'll looking for where the admin display of this is store to modify it. > >Thanks > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (David Bordas) Date: Fri Sep 7 10:40:01 2001 Subject: [ic] Adding field in admin UI ( 4.8.1 ) Ok thanks it works great. ----- Original Message ----- From: "Brian Kosick" <briank@nacs.net> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 07, 2001 4:12 PM Subject: Re: [ic] Adding field in admin UI ( 4.8.1 ) > Check out the "item editor" function when you first click on > UI->Items. From there you can select what fields to display. > > At 03:22 PM 9/7/01 +0200, you wrote: > > >Hi list, > > > >i've a small question. > >I've ass some new fields to the products table via > >dbconf/mysql/product.mysql. > >But in the Admin UI i don't see this fields. > >So i'll looking for where the admin display of this is store to modify it. > > > >Thanks > > > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > Brian Kosick > Web Programmer > New Age Consulting Service, Inc. > 216-619-2000 > briank@nacs.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Bordas) Date: Fri Sep 7 10:45:00 2001 Subject: [ic] Template read error reading ''. template: ; t_file=templates/ on UI 4.8.1 content editor In Admin UI, Contents When i try to edit some page lire result_either.html i have this : << EDIT PAGE Template read error reading ''. template: ; t_file=templates/ [preview] [save] [cancel] >> The admin works for other pages. I haven't modify this page before. I'm running interchange 4.8.1 on linux server with mysql. I set locale to Fr but i don't think it come to there. I restart interchange but nothing. This page is a fondation's one. Did i miss someting or do something wrong ? From: interchange-users at interchange.redhat.com (petong) Date: Fri Sep 7 10:49:01 2001 Subject: [ic] interchange and debian unstable - startup problem On Friday 07 September 2001 01:45, you wrote: > peter <petong@jah.net> writes: > > Hello list, > > > > I have just done a clean install of debian unstable and interchange. When > > I try and start interchange using the script in init.d, I am asked for a > > password. The interchange user has a shell of /bin/false, so when I > > change this to /bin/bash and assign a password to user interchange, I can > > then provide a password when prompted, but this seems like strange > > behaviour for an init script. Any ideas? > > You should execute the script in init.d as superuser. > Use /bin/false as shell is correct. > > Ciao > Racke I am running the script as super user. It prompts me for a password on startup, and apt-get install interchange-ui fails becuase it cannot stop and start interchange. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 7 11:07:00 2001 Subject: [ic] interchange and debian unstable - startup problem petong <petong@jah.net> writes: > On Friday 07 September 2001 01:45, you wrote: > > peter <petong@jah.net> writes: > > > Hello list, > > > > > > I have just done a clean install of debian unstable and interchange. When > > > I try and start interchange using the script in init.d, I am asked for a > > > password. The interchange user has a shell of /bin/false, so when I > > > change this to /bin/bash and assign a password to user interchange, I can > > > then provide a password when prompted, but this seems like strange > > > behaviour for an init script. Any ideas? > > > > You should execute the script in init.d as superuser. > > Use /bin/false as shell is correct. > > > > Ciao > > Racke > > I am running the script as super user. It prompts me for a password on > startup, and apt-get install interchange-ui fails becuase it cannot stop and > start interchange. Oops, that is very curious. What version of "login" do you have installed ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 7 11:09:01 2001 Subject: [ic] Interchange Debian Packages 4.8.1-2 released Updated Debian/stable packages for Interchange 4.8.1 are available. You can fetch them from: http://ftp.interchange.redhat.com/interchange/debian/4.8.1/ ftp://ftp.interchange.redhat.com/pub/interchange/debian/4.8.1/ or point your apt-get to: deb http://ftp.interchange.redhat.com/interchange/debian interchange main deb-src http://ftp.interchange.redhat.com/interchange/debian interchange main Packages for Debian/unstable are part of the Debian distribution. Changes between release 4.8.1-1 and 4.8.1-2 are: * upstream fixes and enhancements from CVS * install README.debian into /usr/share/doc * useful descriptions for interchange-ui and interchange-cat-foundation added (Closes: #109228, #109565) * foundation catalog was disabled if not reinstalled in postinst * change owner/group of the base directory for static HTML files to the Interchange owner/group * let makecat write into /etc/interchange/catalogs.cfg Please send your comments and bug reports to Stefan Hornburg (Racke) <racke@linuxia.de>. He is a member of the Interchange core team, but not employed by Red Hat, so don't blame them if you encounter problems with the Interchange Debian packages. -- 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: Fri Sep 7 11:55:00 2001 Subject: [ic] tree tag Quoting G?tz Verdieck (goetz.verdieck@com4office.de): > Hi, > > I played around with the tree tag. > > So far so good: > <table> > [tree > table=categories > master=parentCatID > subordinate=catID > continue=true > start=0 > memo=1 > spacing=4 > full=1 > increment=1] > <tr> > <td> > > [if-item-param mv_level] > [item-calc] > return '&nbsp' x [item-param mv_spacing]; > [/item-calc] > [/if-item-param] > <A HREF="[area process/index]">[item-param catName]</A> > </td> > > <td> > mv_level=[item-param mv_level], mv_increment=[item-param > mv_increment], > mv_children=[item-param mv_children]<BR> > > </td> > </tr> > [/tree] > > </table> > > I get the basic tag function to run ( helped from the list archiv), but how > can i use explode, toggle, collapse, memo ?? I *think* that should be explained in the docs. The basic idea is that you don't use full=1. At that point, only the first level of the tree is listed. You put a link for expanding a leaf of the tree: [page href=@@MV_PAGE@@ form=" memo=tree_memo toggle=[item-code] "][item-param catName][/page] If you want to display + and - signs, and do other things, you use autodetect=1, which gives the number of mv_children. I am planning on working up an example that turns Yahoo-style categories, i.e. Hand Tools:Brushes:Camel Hair into a collapsing and expanding tree. I have done this many times before, but not with the tree tag. -- 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 (interchange-users at interchange.redhat.com) Date: Fri Sep 7 11:57:10 2001 Subject: [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 From: interchange-users at interchange.redhat.com (petong) Date: Fri Sep 7 12:18:01 2001 Subject: [ic] interchange and debian unstable - startup problem On Friday 07 September 2001 08:06, you wrote: > petong <petong@jah.net> writes: > > On Friday 07 September 2001 01:45, you wrote: > > > peter <petong@jah.net> writes: > > > > Hello list, > > > > > > > > I have just done a clean install of debian unstable and interchange. > > > > When I try and start interchange using the script in init.d, I am > > > > asked for a password. The interchange user has a shell of /bin/false, > > > > so when I change this to /bin/bash and assign a password to user > > > > interchange, I can then provide a password when prompted, but this > > > > seems like strange behaviour for an init script. Any ideas? > > > > > > You should execute the script in init.d as superuser. > > > Use /bin/false as shell is correct. > > > > > > Ciao > > > Racke > > > > I am running the script as super user. It prompts me for a password on > > startup, and apt-get install interchange-ui fails becuase it cannot stop > > and start interchange. > > Oops, that is very curious. What version of "login" do you have installed ? > > Ciao > Racke login is version 20000902-7 From: interchange-users at interchange.redhat.com (Kenny Shi) Date: Fri Sep 7 12:27:01 2001 Subject: [ic] paypal and 4.8.1 Hello All, I am running 4.8.1 and was told that it has support for PayPal integration. I didn't see it in Administration->Payment. Can somebody walk me through how to enable it? Thanks so much!! Kenny __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Mark R. Misko) Date: Fri Sep 7 13:35:01 2001 Subject: [ic] Interchange shipping UPS/Fed EX methods I have a couple questions regarding UPS/Fed Ex shipping methods in Interchange. 1. Are the formulas/methods that come pre-defined in Interchange accurate? 2. Does the UPS/WWW Lookup feature display accurate UPS/FedEx when used? Meaning that if I use a default, predefined shipping algorithm (i.e.; UPS Next Day Air - 1DA) and use the UPS/FedEx Lookup as the Charge Type, with an entered origin zip code, will it automatically calculate proper shipping cost (equal to that of UPS)? Or is it better to use to use the Internal UPS Lookup with downloaded rate and zone charts form UPS? I am deciding whether to use Interchange 4.8 and much of it depends on proper shipping cost determination. I have only used the Administration section of the demo to view the shipping methods, but have not been able to see if the shipping indeed calculated correctly. Any experiences or suggestions on this would be very much appreciated in aiding my decision in using Interchange. Thanks a bunch, -Mark From: interchange-users at interchange.redhat.com (John Cherbini) Date: Fri Sep 7 14:20:00 2001 Subject: [ic] CC validation Hello all, Very basic question. Where can I find docs on how to set up IC 4.8.1 with CyberCash 3.3.1 ???? I've found many older docs, using IC 4.6.x or MiniVend. I just can't find a good howto on the new version. I have the MCK installed, and all the paths are configured correctly. However, if I do a Require Vend::Payment::Cybercash IC won't fire up. It can't find the module. I thought it may be a perl module, but it's nowhere to be found on CPAN. Thanks for any help! JC From: interchange-users at interchange.redhat.com (Jeremy Peel) Date: Fri Sep 7 14:22:01 2001 Subject: [ic] Me Being Lazy I wish someone would bookmark each message to its corresponding number at the top of the list. I am lazy when it comes to scrolling through a bunch of text. When I know which of the messages I would like to read by the table of contents. PLEASE Jeremy Peel LightSpeed Software On the web at www.lswwm.com Or Call 813-679-3547 Now expanding. Come join us! From: interchange-users at interchange.redhat.com (Nick Robertshaw) Date: Fri Sep 7 14:33:00 2001 Subject: [ic] UI Images path confusion Can someone please help me with my confusion: The UI images are not arriving at the browser (image is displayed as torn icon in netscape, x icon in IE 5). 4.8.1 running on RH 6.2 UI_IMG_DIR = admin/interchange (what is this relative to? DOCROOT? IMAGE_DIR?) CGI_URL = /cgi-bin/catalogname DOCROOT = /home/httpd/html/user IMAGE_DIR = /catalogname/images Server log shows http response code 200 for the image requests! requests are for /cgi-bin/catalogname/admin/admin/interchange/en_US/image So where should the UI image directory be? -- Nick From: interchange-users at interchange.redhat.com (Leon Harris) Date: Fri Sep 7 14:37:00 2001 Subject: [ic] Possibly helpful debugging tool Hi All. I have been quite frustrated in getting interchange to work for me - I needed a range of customisations to make it work under Australian conditions, and I found the learning curve steep, despite excellent help, particularly from people like Jim Balcom. I also found the documentation difficult to navigate, and sometimes unclear. I believe that this is mostly due to the complexity of interchange, rather than any great failing of the interchange documentation writers, who have made it *possible* to pick up interchange, and learn it. One hassle I have is that I miss good debugging tools. I intend to write a FAQ at some stage to help this (mostly for my partner, who will also be working on ic once I learn it well enough to be able to earn a crust from it). I particularly miss UNIX greats such as strace, the sysadmins mate ( no source, no programmer, just-what-the-hell-is-going-on-in-at-3-am-when-your-system-has-decided-that-not- only-is-it-going-to-be-a-hung-system,-it-is-going-to-be-an-extremely-well-hung- system,-and-you-are-screwed-type tool). So I decided to do something about it. I have written a tool called strace_listener which listens to a fifo (/tmp/strcfifo) and starts, and stops a strace on a process. I have two tags, stracestart and stracestop which start a strace on the process of interchange parsing the page that the tag is on. Output is into /tmp/stracelog$pid. Advice is given to start, stop a strace, also to retrieve status and to quit the listener. Start and stop work well, status sends its output to the file rather than any tag. When I write the ic status tag, I will fix the listener. This works for me. I now have to do some billable hours to catch up on this last week, or I wont get to eat. You can get the tool from ftp://quoll.com/pub/strace_listener run pod2text|less on it for detailed instructions. Above all, enjoy. I hope this is of help. goodnight. Cheers, leon (it is 3am now, better leave while I can) From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Fri Sep 7 14:42:00 2001 Subject: [ic] Redefine variable Is there a way I can redefine a variable within IC? I would like to redefine [shipping] from its default to : [set total_shipping]0[/set] [item-list] [seti total_shipping][calc] [scratch total_shipping] + ([item-field shipping] * [item-quantity]) [/calc][/seti] [/item-list] [set shipping][scratch total_shipping][/set] Where do I find where [shipping] is defined or is this not possible? Any help is appreciated Chad From: interchange-users at interchange.redhat.com (Douglas Manning) Date: Fri Sep 7 14:51:01 2001 Subject: [ic] paypal and 4.8.1 At 09:26 AM 9/7/2001 -0700, you wrote: >Hello All, > >I am running 4.8.1 and was told that it has support >for PayPal integration. I didn't see it in >Administration->Payment. Can somebody walk me through >how to enable it? Thanks so much!! > >Kenny > >__________________________________________________ >Do You Yahoo!? >Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger >http://im.yahoo.com >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users If I remember right while browsing through some older post I saw someone had a snippet of code for accepting paypal. Take a look through the archive and there are quite a few messages. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 7 14:55:00 2001 Subject: [ic] CC validation John Cherbini <johnc@toolhub.com> writes: > Hello all, > > Very basic question. Where can I find docs on how to set up IC 4.8.1 with > CyberCash 3.3.1 ???? > > I've found many older docs, using IC 4.6.x or MiniVend. I just can't find a > good howto on the new version. > > I have the MCK installed, and all the paths are configured correctly. > However, if I do a Require Vend::Payment::Cybercash IC won't fire up. It > can't find the module. I thought it may be a perl module, but it's nowhere > to be found on CPAN. Use "Require Vend::Payment::CyberCash" instead. 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: Fri Sep 7 15:00:00 2001 Subject: [ic] Me Being Lazy Quoting Jeremy Peel (jeremy@lswwm.com): > I wish someone would bookmark each message to its corresponding number at > the top of the list. > I am lazy when it comes to scrolling through a bunch of text. > When I know which of the messages I would like to read by the table of > contents. > > PLEASE If you can tell us what "bookmarking a message" is, then perhaps everyone will do that. I have been on the Internet since 1987, and had never heard the term until today. 8-) If you are talking about providing the proper reference header, I wouldn't be holding your breath; I have been asking people not to use the lazy and inconsiderate top-quoting method on the list for over two years and over half of people still do it. There are lots of people who use very lousy mailers and editors and it shows. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 7 15:02:01 2001 Subject: [ic] UI Images path confusion Quoting Nick Robertshaw (bignick@paraglyph.com): > Can someone please help me with my confusion: > > The UI images are not arriving at the browser (image is displayed as torn > icon in netscape, x icon in IE 5). > > 4.8.1 running on RH 6.2 > > UI_IMG_DIR = admin/interchange That would be wrong. Normally it should be blank in variable.txt, because the default of /interchange/en_US works if you installed your catalog via makecat. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Sep 7 15:17:00 2001 Subject: [ic] Redefine variable At 01:40 PM 09/07/2001 -0500, you wrote: >Is there a way I can redefine a variable within IC? I would like to redefine >[shipping] from its default to : > [set total_shipping]0[/set] > [item-list] > [seti total_shipping][calc] > [scratch total_shipping] + ([item-field shipping] * >[item-quantity]) > [/calc][/seti] > [/item-list] > [set shipping][scratch total_shipping][/set] > >Where do I find where [shipping] is defined or is this not possible? > >Any help is appreciated >Chad In the 4.7 / 4.8 branches there is an [assign] tag which allows you to do something like this, check it out: http://ic.redhat.com/cgi-bin/ic/dev/ictags_8.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Sep 7 15:18:26 2001 Subject: [ic] paypal and 4.8.1 At 02:52 PM 09/06/2000 -0400, you wrote: >At 09:26 AM 9/7/2001 -0700, you wrote: >>Hello All, >> >>I am running 4.8.1 and was told that it has support >>for PayPal integration. I didn't see it in >>Administration->Payment. Can somebody walk me through >>how to enable it? Thanks so much!! >> >>Kenny >> >>__________________________________________________ >>Do You Yahoo!? >>Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger >>http://im.yahoo.com >>_______________________________________________ >>interchange-users mailing list >>interchange-users@interchange.redhat.com >>http://interchange.redhat.com/mailman/listinfo/interchange-users > >If I remember right while browsing through some older post I saw someone >had a snippet of code for accepting paypal. Take a look through the >archive and there are quite a few messages. I've been handed this torch. I will hopefully be releasing something useful to the list within the next week or two. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (John Cherbini) Date: Fri Sep 7 15:19:34 2001 Subject: [ic] CC validation Racke, Thanks for the tip. Here's the output of /usr/lib/interchange/error.log - - - [07/September/2001:12:01:20 -0700] - - Required Vend::Payment::CyberCash not present. Aborting catalog. > In line 45 of the configuration file '/etc/interchange.cfg': > Require Vend::Payment::CyberCash Here's an ls -la of the installed libs. [root@localhost root]# ls -la /usr/lib/interchange/lib total 716 drwxr-xr-x 9 root root 4096 Sep 7 10:49 . drwxr-xr-x 13 root root 4096 Sep 6 16:47 .. drwxr-xr-x 3 root root 4096 Sep 6 09:24 auto drwxr-xr-x 2 root root 4096 Sep 6 09:24 Business -rw-r--r-- 1 root root 21185 Sep 7 10:49 CCMckDirectLib3_2.pm -rw-r--r-- 1 root root 9106 Sep 6 15:31 CCMckErrno3_2.pm -rw-r--r-- 1 root root 25615 Sep 7 10:49 CCMckLib3_2.pm -r-xr-xr-x 1 root root 10604 Sep 6 15:31 computeMD5hash drwxr-xr-x 2 root root 4096 Sep 6 09:24 File -r--r--r-- 1 root root 706 Jul 17 19:20 hints.pl drwxrwxr-x 2 root root 4096 Sep 6 09:24 HTML -rw-r--r-- 1 root root 14536 Aug 13 22:09 IniConf.pm -r-xr-xr-x 1 root root 248788 Sep 6 15:31 MCKdecrypt -r-xr-xr-x 1 root root 336564 Sep 6 15:31 MCKencrypt drwxr-xr-x 2 root root 4096 Sep 6 09:24 Tie drwxr-xr-x 7 root root 4096 Sep 6 09:24 UI drwxr-xr-x 5 root root 4096 Sep 6 09:24 Vend [root@localhost root]# I'm restarting the IC server with /etc/rc.d/init.d/interchange restart I know the paths in the CC*.pm are all correct. Are there any paths that need to be set so that it finds these libs? Thanks!!! JC On Friday 07 September 2001 11:54, Stefan Hornburg (Racke wrote: > John Cherbini <johnc@toolhub.com> writes: > > Hello all, > > > > Very basic question. Where can I find docs on how to set up IC 4.8.1 > > with CyberCash 3.3.1 ???? > > > > I've found many older docs, using IC 4.6.x or MiniVend. I just can't > > find a good howto on the new version. > > > > I have the MCK installed, and all the paths are configured correctly. > > However, if I do a Require Vend::Payment::Cybercash IC won't fire up. > > It can't find the module. I thought it may be a perl module, but it's > > nowhere to be found on CPAN. > > Use "Require Vend::Payment::CyberCash" instead. > > Ciao > Racke From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Sep 7 15:21:01 2001 Subject: [ic] Redefine variable > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > > Is there a way I can redefine a variable within IC? I would like to > redefine > [shipping] from its default to : > [set total_shipping]0[/set] > [item-list] > [seti total_shipping][calc] > [scratch total_shipping] + ([item-field shipping] * > [item-quantity]) > [/calc][/seti] > [/item-list] > [set shipping][scratch total_shipping][/set] > > Where do I find where [shipping] is defined or is this not possible? You may want to look into using the standard shipping routines instead of redefining what shipping does. It seems like you could setup a formula in the shipping.asc to use the shipping field for each product to determine the shipping amount. Take a look at the shipping documentation for how to setup formulas. -Ron From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Fri Sep 7 15:44:01 2001 Subject: [ic] paypal and 4.8.1 Will be looking forward to it! > > I've been handed this torch. I will hopefully be releasing something > useful to the list within the next week or two. > > - 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 (interchange-users at interchange.redhat.com) Date: Fri Sep 7 16:13:00 2001 Subject: [ic] Redefine variable Quoting Ron Phipps (rphipps@reliant-solutions.com): > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > > > > Is there a way I can redefine a variable within IC? I would like to > > redefine > > [shipping] from its default to : > > [set total_shipping]0[/set] > > [item-list] > > [seti total_shipping][calc] > > [scratch total_shipping] + ([item-field > shipping] * > > [item-quantity]) > > [/calc][/seti] > > [/item-list] > > [set shipping][scratch total_shipping][/set] > > > > Where do I find where [shipping] is defined or is this not possible? > > You may want to look into using the standard shipping routines instead > of redefining what shipping does. It seems like you could setup a > formula in the shipping.asc to use the shipping field for each product > to determine the shipping amount. Take a look at the shipping > documentation for how to setup formulas. That particular one is quite easy, unless I am missing something: STD Standard Shipping shipping 0 0 e Nothing to ship! STD Standard Shipping shipping 0 99999 f @@TOTAL@@ That is all it takes if you want to put a specific shipping cost in each products field. Then the regular [shipping] tag does everything else. -- 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 (Korey) Date: Fri Sep 7 16:29:01 2001 Subject: [ic] Me Being Lazy Hey Mike. What would be the prefered way of responding to the question posted on the list? as well as what the Subject line needs to say for the htdig to reference it properly? Archive are a massive help when searching for answers but I only wish there were better ways of doing boolean searches, with "and", "or" and "not" for keywords. and Do I really need to register with RedHat dot com to get the "most" out of the minivend.com, I assume that Im not missing much by refusing to sell my self out to another database on the internet. Tell me what you think Thanks -Korey mheins@redhat.com wrote: > Quoting Jeremy Peel (jeremy@lswwm.com): > > I wish someone would bookmark each message to its corresponding number at > > the top of the list. > > I am lazy when it comes to scrolling through a bunch of text. > > When I know which of the messages I would like to read by the table of > > contents. > > > > PLEASE > > If you can tell us what "bookmarking a message" is, then perhaps > everyone will do that. I have been on the Internet since 1987, and > had never heard the term until today. 8-) > > If you are talking about providing the proper reference header, I > wouldn't be holding your breath; I have been asking people not to use > the lazy and inconsiderate top-quoting method on the list for over two > years and over half of people still do it. There are lots of people who > use very lousy mailers and editors and it shows. > > -- > 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 From: interchange-users at interchange.redhat.com (Mark R. Misko) Date: Fri Sep 7 16:33:00 2001 Subject: [ic] Algorithms Can anyone tell me which file the shipping algorithms are located? I have edited my shipping.asc file, but need to import some new algorithms for the shipping methods. Thanks, -Mark From: interchange-users at interchange.redhat.com (Garry) Date: Fri Sep 7 16:38:00 2001 Subject: [ic] paypal and 4.8.1 I have had paypal running on IC I just set up an account with them, went to their single payment system, made a form, transferred it onto the checkout page, modified it slightly so that the total-cost was submitted to paypal - worked fine: <form action="https://www.paypal.com/cgi-bin/webscr" methd="post"> <input type="hidden" name="amount" value="[total-cost noformat=1]"> <input type="image"src="http://images.paypal.com/images/x-click-but6.gif" border="0" name="submit"> </form> > > > You need to use [total-cost noformat=1], paypal doesnt like the commas and > dollar signs. ----- Original Message ----- From: "Nathan D. Olmscheid" <nathan@namisolutions.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 07, 2001 8:43 PM Subject: Re: [ic] paypal and 4.8.1 > Will be looking forward to it! > > > > > I've been handed this torch. I will hopefully be releasing something > > useful to the list within the next week or two. > > > > - 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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Sep 7 17:14:01 2001 Subject: [ic] Algorithms At 03:32 PM 09/07/2001 -0500, you wrote: >Can anyone tell me which file the shipping algorithms are located? I have >edited my shipping.asc file, but need to import some new algorithms for the >shipping methods. > >Thanks, > >-Mark Huh??? Do you mean shipping rate and zone tables? They are in your products directory. If you want to add more ups shipping methods (for example), get the rate.csv table(s) from the ups website, edit them to remove the extraneous data at the top and put them in your products directory (take a look at Ground.csv for an example). Then add the shipping mode rows in shipping.asc for the new method, and the shipping method in the appropriate records in your country table. - 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 (Douglas Manning) Date: Fri Sep 7 17:28:00 2001 Subject: [ic] One Item in Multiple Categories Is there a way in Interchange 4.8.1 to get one item to exist in Multiple categories? For example in computer cables you have PS/2 Cables which for an end user you might want listed under both mouse extensions, and keyboard extensions. I was also wondering if anyone has yet solved the issue of uploading images to the server and having the computer store the file as the full path of the original source. For example if I upload an image from my C:\Documents and Settings\Doug\My Documents\My Pictures\project-a\pict1.jpg the file is stored on my Linux server as C:\Documents and Settings\Doug\My Documents\My Pictures\project-a\pict1.jpg in the proper directory but with the DOS-type path from the source as the name. To make it work I can edit the record changing the name of the image to just pict1.jpg, then log onto my server and delete the 0 byte pict1.jpg then rename C:\Documents and Settings\Doug\My Documents\My Pictures\project-a\pict1.jpg to pict1.jpg and I have a picture but this is just a pain. There has to be something that I, and others are missing in a configuration file somewhere. Thanks Doug dougjunk@discountcomputersinc.com From: interchange-users at interchange.redhat.com (Mark R. Misko) Date: Fri Sep 7 17:37:00 2001 Subject: [ic] Algorithms Thanks for the advice, I have already done that and the shipping is calculating correctly. I am running version 4.6...at the present time, we cannot upgrade to 4.8.1, but soon. I swapped the in the new shipping.asc file from 4.8 and have updated shipping methods. There seems to be predefined algorithms as well. When you edit a shipping method, there is a pull down menu titled, "Calculate based on this algorithm". I would like to add in the algorithms for FedEx as well. I need to update whatever file stores those algorithms as that would be easier than entering in all new formulas. Make sense at all? Maybe I am way off on this one. I basically need the updated file from version 4.8.1 that stores those algorithms...I have the build, I just need to know the name of the file. -Mark > ---------- > From: Ed LaFrance[SMTP:edl@newmediaems.com] > Reply To: interchange-users@interchange.redhat.com > Sent: Friday, September 07, 2001 04:14 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Algorithms > > At 03:32 PM 09/07/2001 -0500, you wrote: > >Can anyone tell me which file the shipping algorithms are located? I > have > >edited my shipping.asc file, but need to import some new algorithms for > the > >shipping methods. > > > >Thanks, > > > >-Mark > > Huh??? Do you mean shipping rate and zone tables? They are in your > products directory. If you want to add more ups shipping methods (for > example), get the rate.csv table(s) from the ups website, edit them to > remove the extraneous data at the top and put them in your products > directory (take a look at Ground.csv for an example). Then add the > shipping mode rows in shipping.asc for the new method, and the shipping > method in the appropriate records in your country table. > > - 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 (John Cherbini) Date: Fri Sep 7 18:05:00 2001 Subject: [ic] CC validation Ok, I went through the wizard, and it seems to have helped a bit. I also went back to the MCK test page, and it works well. Now, when I place an order, I can see MCKencrypt start up, and take up all remaining CPU until the process is killed 300 seconds later. I then get a 500 Internal server error. Does this ring a bell to anyone?? Thanks!! JC On Friday 07 September 2001 11:54, you wrote: > John Cherbini <johnc@toolhub.com> writes: > > Hello all, > > > > Very basic question. Where can I find docs on how to set up IC 4.8.1 > > with CyberCash 3.3.1 ???? > > > > I've found many older docs, using IC 4.6.x or MiniVend. I just can't > > find a good howto on the new version. > > > > I have the MCK installed, and all the paths are configured correctly. > > However, if I do a Require Vend::Payment::Cybercash IC won't fire up. > > It can't find the module. I thought it may be a perl module, but it's > > nowhere to be found on CPAN. > > Use "Require Vend::Payment::CyberCash" instead. > > Ciao > Racke From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 7 19:06:00 2001 Subject: [ic] Providing an Insecure Checkout I am finding that a LOT of the implementations of Internet Explorer have either NO security built-in, or it is pee-poor! As a result (since I have my SSL set at 128 bit) I keep getting phone calls (and, emails) that my web page is broken. After I express my appreciation of Bill Gates to them, they upgrade their browser and the order comes in. However, I have a big announcement on the front page of the store about this, as well as a blurb in 'basket.html' to 'click here' if the check out page isn't working, which explains it. This is all pretty much ignored, and I get stupid questions. I know of at least one repeat customer that I have lost because he is not interested in upgrading his browser so he can be assured of better security. (I did the upgrade once, it took all of 5 minutes, and at no charge!) Today, in playing around I found this interesting piece of code, which I have put in 'basket'html'. They are fully warned that this is totally insecure and they are accepting a risk by clicking on it. If you want to provide your customers with an insecure checkout here is the code to do it: <FORM METHOD="post" ACTION="http://www.mydomain.com/cgi-bin/storename/process.html"> <input type=hidden NAME=mv_todo VALUE=return> <input type=hidden NAME=mv_nextpage VALUE="ord/checkout"> <input type=submit NAME=mv_click VALUE="Go to non-secure checkout"> </form> (NOTE 1: This is from 4.6.1. Version 4.8 may be different. NOTE 2: I asked about how to do this a while ago in here and got no response. I am posting this in case someone else was wondering.) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 07, 2001 at 18:55 PM: Useless Invention: Waterproof teabags. ---------------------------------------------------------------- This Linux System has been up 655 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Fri Sep 7 19:12:00 2001 Subject: [ic] One Item in Multiple Categories Douglas, can you change your date in your email client?? You have that its 2000 so all the messages go to the top of my list.... Douglas Manning wrote: > Is there a way in Interchange 4.8.1 to get one item to exist in > Multiple categories? For example in computer cables you have PS/2 > Cables which for an end user you might want listed under both mouse > extensions, and keyboard extensions. > > I was also wondering if anyone has yet solved the issue of uploading > images to the server and having the computer store the file as the > full path of the original source. For example if I upload an image > from my > C:\Documents and Settings\Doug\My Documents\My > Pictures\project-a\pict1.jpg the file is stored on my Linux server as > C:\Documents and Settings\Doug\My Documents\My > Pictures\project-a\pict1.jpg in the proper directory but with the > DOS-type path from the source as the name. > > To make it work I can edit the record changing the name of the image > to just pict1.jpg, then log onto my server and delete the 0 byte > pict1.jpg then rename C:\Documents and Settings\Doug\My Documents\My > Pictures\project-a\pict1.jpg to pict1.jpg and I have a picture but > this is just a pain. There has to be something that I, and others are > missing in a configuration file somewhere. > > Thanks > Doug > dougjunk@discountcomputersinc.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- Nami Solutions Nathan D. Olmscheid - Co-Owner 1912 Mockingbird Ave Shakopee, MN 55379 Phone: 612-237-9646 email: nathan@namisolutions.com From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Fri Sep 7 19:23:00 2001 Subject: [ic] tree tag I would love to see that example, please do it :) On 07 Sep 2001 07:38:27 -0400, mheins@redhat.com wrote: > > I am planning on working up an example that turns Yahoo-style > categories, i.e. Hand Tools:Brushes:Camel Hair into a collapsing > and expanding tree. I have done this many times before, but not with > the tree tag. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 7 19:36:00 2001 Subject: [ic] Interchange shipping UPS/Fed EX methods On Fri, 7 Sep 2001, Mark R. Misko wrote: MRM>>I have a couple questions regarding UPS/Fed Ex shipping methods in MRM>>Interchange. MRM>> MRM>>1. Are the formulas/methods that come pre-defined in Interchange accurate? MRM>> MRM>>2. Does the UPS/WWW Lookup feature display accurate UPS/FedEx when used? MRM>>Meaning that if I use a default, predefined shipping algorithm (i.e.; UPS MRM>>Next Day Air - 1DA) and use the UPS/FedEx Lookup as the Charge Type, with an MRM>>entered origin zip code, will it automatically calculate proper shipping MRM>>cost (equal to that of UPS)? Or is it better to use to use the Internal UPS MRM>>Lookup with downloaded rate and zone charts form UPS? MRM>> MRM>>I am deciding whether to use Interchange 4.8 and much of it depends on MRM>>proper shipping cost determination. I have only used the Administration MRM>>section of the demo to view the shipping methods, but have not been able to MRM>>see if the shipping indeed calculated correctly. My experience has been that the UPS charts, which can be downloaded from their page, are very similar to FedEx's charts. CLose enough that I don't worry about it. I prefer to do an 'on-site' look-up using the tables that I have downloaded. I perceive faster performance. Their rates change only once a year, except for cutting in a fuel surcharge, etc. Since both companies tend to find ways to charge more than you were quoted, I tack on a bit extra. As an example, I have to pay a weekly pick-up fee. So, that needs to get added in. Both companies have, on the ground side, a 'boondock' fee - the place is out in the sticks and they don't want to deliver there, so there is another surcharge. If the customer tells you that they live at 1234 Main Street, Apt 104, but they are actually in Apt 401, UPS charges you an address correction fee of $5.00. (No shit!) For a while UPS was assessing me an oversize penalty of $60 a week because their data entry people were inputting the package dimensions wrong. It was only after I got drunk and made some nasty phone calls did I get those charges reversed! Get the picture? Somebody's got to pay those expenses. And, then there are boxes and other packaging materials: tape, labels, plastic bags, peanuts, etc. My boxes from Uline are averaging a buck apiece. The tape that I use from them is 30 cents a yard. (It's GOOD stuff!) IC is GREAT for all of this! I determine the 'normal' cost from the UPS look-up charts and use that for both UPS and FedEx. I add on 25% to deal with the vagaries in their wide-ranging cost structure. I also add on a flat $2.00 to cover boxes, tape, plastic bags, peanuts, etc. I changed the label on the check out page to be 'Shipping and Handling'. The bookeeper tells me that this formula is pretty much a 'break-even' formula. I'm not losing money in the shipping department and the profit is only a few cents here and there. I do still lose money on some shipments, like when it's a big box going Next Day Air. I make it back on others. (My policy is that if the computer tells you that the shipping will be $10.95, then that's what it will be, even though I am losing $50 on it. I stand behind the quote!) I switched to IC for the 'zone-based shipping' - something I couldn't find anywhere else, even in software that I had to buy (and, I bought quite a bit of inferior software.) My philosophy is that it is not important that the shipping costs be down to the penny accurate. I think that they need to be equitable. It costs more to ship 20 pounds across the continent, than to ship it next door. I want that fairly represented. IC does that very nicely. I think that the S&H needs to accurately reflect what it costs me to run my shipping department, and IC is tremendous for that! (WARNING: IC has a VERY steep learning curve! Be prepared to invest some time learning it! It's worth it!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 07, 2001 at 19:10 PM: Only those who do nothing make no mistakes. ---------------------------------------------------------------- This Linux System has been up 655 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 7 19:48:00 2001 Subject: [ic] Me Being Lazy On Fri, 7 Sep 2001, Jeremy Peel wrote: JP>>I wish someone would bookmark each message to its corresponding number at JP>>the top of the list. I've got NO idea what you are chatting about. At this moment, this is message number 75 here. After I purge this message base, this will be message 34. Which message number would you like me to bookmark? Which list are we discussing? This is my in-box list. Is that the one that you are referring to? JP>>I am lazy when it comes to scrolling through a bunch of text. So, because you are lazy, you want the rest of us to do your work for you? JP>>When I know which of the messages I would like to read by the table of JP>>contents. You've got a table of contents?? Aren't you lucky! Oh! Wait! I get it now! You are one of these people that genuflects to Bill Gates on bended knee at dawn, at high noon, and at sunset. Because of your devotion to Lord Gates you get all of these extra niceties that us mortals are denied. Which color prayer rug are you up to now? But, in that denial, it is -=I=- that controls my computer, not Bill Gates (although anyone controlling a computer is like anyone controlling a cat!) JP>>PLEASE Oh! Yes! Please remove Bill Gates from computerdom! JP>>LightSpeed Software JP>>On the web at www.lswwm.com JP>>Or Call 813-679-3547 JP>> JP>>Now expanding. Come join us! Are you expanding coherently and properly? www.slackware.com www.redhat.com www.debian.com (For the true meaning of life!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 07, 2001 at 19:40 PM: God heals and the doctor takes the fee. ---------------------------------------------------------------- This Linux System has been up 656 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 7 19:51:00 2001 Subject: [ic] Apology I apologize for that rude outburst. To quote Flip Wilson, "The Devil made me do it!" -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 07, 2001 at 19:50 PM: Useless Invention: Anklet wristwatches for contortionists. ---------------------------------------------------------------- This Linux System has been up 656 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 7 19:56:01 2001 Subject: [ic] Algorithms On Fri, 7 Sep 2001, Mark R. Misko wrote: MRM>>Can anyone tell me which file the shipping algorithms are located? I have MRM>>edited my shipping.asc file, but need to import some new algorithms for the MRM>>shipping methods. I think that it was around the end of June that I wrote some detailed instructions about how I added Priority Mail to the shipping instructions. Take a look through the archives and find that message. There are several steps required, but once you do all of the steps it goes quite well. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 07, 2001 at 19:55 PM: A Bugless Program is an Abstract Theoretical Concept. ---------------------------------------------------------------- This Linux System has been up 656 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 7 20:38:01 2001 Subject: [ic] Code convert of Form input data Thank you Mike! You understand what I want to do! I tried to add a filter before search form like below with an error. I defined Globalsub euc and it works well using [euc]something[/euc]. Could you tell me more suggestion? [input-filter name=mv_searchspec] my $val = $CGI->{mv_searchspec}; $val = $Tag->euc($val); return $val; [/input-filter] [snip] /cgibin/outdoor-w.cgi/search.html Safe: syntax error at (eval 327) line 4, near "$val:" > > > my $val = $CGI->{mv_searchspec}; > $val = $Tag->euc($val); > return $val: > Murahashi ----- 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 (Steve Bourg) Date: Fri Sep 7 23:49:14 2001 Subject: [ic] discount & salestax Hey All, for some reason the sales tax on orders is not adjusting when I use the discount tag (it does accurately reflect the non-discounted subtotal and my tax rate). The discount is reflected on the subtotal of the checkout page and the receipt. I'm using Interchange 4.6.5. Here's the syntax I'm using in the [perl] tag to discount my order: $Tag->discount('ENTIRE_ORDER', '$s - 10'); Manual adjustment of the sales tax does not seem to take effect either: $Tag->assign({salestax => 2.99, }); Any suggestions? Steve Bourg From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Sat Sep 8 01:16:01 2001 Subject: [ic] CC validation I know when I installed IC w/CyberCash, I used this as a guide http://developer.akopia.com/minivend4/docindex/14.08.Using_CyberCash.html Actually, looking at that, its totally different than when I used it. Here is the original message Mike sent out. ---------- Forwarded message ---------- Date: Mon, 9 Apr 2001 01:33:27 -0400 From: Mike Heins <mheins@redhat.com> Reply-To: interchange-users@lists.akopia.com To: interchange-users@lists.akopia.com Subject: Re: [ic] CyberCash Quoting Chip Adair (chip@workingapps.com): > The first time I setup an interchange catalog, I looked into using CyberCash > as a payment processing system. > I found an article either in the documentation or the mailing list that gave > a simple explanation on how to > setup cybercash with interchange. > Now that I am trying to set this up for a client, I can't find the > article/documentation anywhere. > Can someone help me out? Inexplicably, this was deleted from the current online docs, and wasn't updated. Though payment is changing pretty dramatically for the next version, complete backward compatiblity is maintained and this will still work: 1. Obtain the CyberCash modules, prefereably version 3.2.0.4 though 3.2.0.5 and above should work if you add "DebugFile /dev/null" in interchange.cfg. Ask around on the list if you need older versions. 2. Install the modules, then find the directory where they are and copy them to /path_to_interchange/lib. Include the following files: CCMckDirectLib3_2.pm CCMckLib3_2.pm MCKencrypt CCMckErrno3_2.pm MCKdecrypt computeMD5hash Make sure the program files (non-.pm) are executable. 3. Edit CC*.pm to adjust the paths for MCKencrypt, MCKdecrypt, and computeMD5hash. CCMckDirectLib3_2.pm:$MCKencrypt = "/path_to_interchange/lib/MCKencrypt"; CCMckDirectLib3_2.pm:$MCKdecrypt = "/path_to_interchange/lib/MCKdecrypt"; CCMckLib3_2.pm:$computehash = "/path_to_interchange/lib/computeMD5hash"; 4. Restart Interchange and make sure you get the message: CyberCash module found (Version 3.x) 5. Locate your merchant_conf file, and make sure you have the right values for CYBERCASH_ID and MERCHANT_KEY (get from your control panel at amps.cybercash.com). 6. Set the following in catalog.cfg: CyberCash No Variable MV_PAYMENT_MODE mauthonly Variable CYBER_CONFIGFILE /path/to/merchant_conf There are some other things to set if you are outside the US, you might check some of this very outdated documentation (use this, not that, as the authority): http://developer.akopia.com/minivend4/docindex/14.08.Using_CyberCash.html 7. Reconfig the catalog (or restart Interchange). 8. Make sure you have this at the top of your checkout page: [if session cybercash_error] <BLOCKQUOTE> CyberCash: [data session cybercash_error] </BLOCKQUOTE> [/if] 9. Test by keeping your account in test mode and looking for a successful transaction. Put [dump] in a page and examine the returned cybercash_result, or use this code: [calc] $Tag->uneval( { ref => $Session->{cybercash_result } ); [/calc] Then test by going live and using the fake card 4111 1111 1111 1111; you should get back "Declined: bad card". Finally test by ordering a cheap item with your real credit card (you can always do a return later). 10. Really go live. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Sat Sep 8 02:17:01 2001 Subject: [ic] Me Being Lazy On Fri, Sep 07, 2001 at 02:59:31PM -0400, mheins@redhat.com wrote: > Quoting Jeremy Peel (jeremy@lswwm.com): > > I wish someone would bookmark each message to its corresponding number at > > the top of the list. > > I am lazy when it comes to scrolling through a bunch of text. > > When I know which of the messages I would like to read by the table of > > contents. > > If you can tell us what "bookmarking a message" is, then perhaps > everyone will do that. I have been on the Internet since 1987, and > had never heard the term until today. 8-) > I suspect he would like the digest to be in html, with links from the index to the individual messages, it's a common request on some frequently-digested lists that I'm on, and the common answer is "we aren't going to convert the list to html just because your mail client doesn't understand digests, if you don't like it, get a better client." Not that I would start a fight by giving such a flippant answer though.... =) -- Red Hat Professional Consulting Jason Kohles (703)786-8036 (cellular) jkohles@redhat.com From: interchange-users at interchange.redhat.com (Clint Tevlin) Date: Sat Sep 8 03:57:01 2001 Subject: [ic] Error msg Would appreciate some assistance with installation. startup/error messages follow: Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange line 2716 Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog foundation...Required Perl module DBI not present. Aborting catalog. In line 1 of the configuration file 'dbconf/mysql/mysql.cfg': Require module DBI foundation config error: Required Perl module DBI not present. Aborting catalog. In line 1 of the configuration file 'dbconf/mysql/mysql.cfg': Require module DBI This weird because DBI is present (?), any ideas re line 2? Clint From: interchange-users at interchange.redhat.com (David Totten) Date: Sat Sep 8 07:06:01 2001 Subject: [ic] Error msg On Sat, 2001-09-08 at 03:55, Clint Tevlin wrote: > Would appreciate some assistance with installation. > startup/error messages follow: > > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS at > /usr/local/interchange/bin/interchange line 2716 > Calling UI......UI is loaded... > Interchange V4.8.1 > Configuring catalog foundation...Required Perl module DBI > not present. Aborting catalog. > In line 1 of the configuration file > 'dbconf/mysql/mysql.cfg': > Require module DBI > > foundation config error: Required Perl module DBI not > present. Aborting catalog. > In line 1 of the configuration file > 'dbconf/mysql/mysql.cfg': > Require module DBI > > > This weird because DBI is present (?), any ideas re line 2? And you are sure that you have DBD::mysql installed? Just to make sure, as the user that runs interchange, do this on the commandline perl -e "use DBI;" Then try the following: perl -e "use DBD::mysql;" Perhaps this will raise some answers or leads to answers for you. 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 (Frederic Steinfels) Date: Sat Sep 8 13:57:01 2001 Subject: [ic] Common Adjust Question Hi I tried solving my problem by reading other posts first but it did not help... My problem is the following: I want to do two completely different set of prices (including quantity prices). I have defined the two options as simple options in the options database. What commonadjust line do I have to enter. My current one looks like that. Profile dealer1 <<EOR { CommonAdjust => <<EOF, pricing:price_group,w2,w5,w10,w25,w50,w100,w200:, ;:wholesale, ;:wholesale:mv_sku, ;$, ==:options EOF NonTaxableField => 'nontaxable', } EOR -- From: interchange-users at interchange.redhat.com (Korey) Date: Sat Sep 8 14:57:00 2001 Subject: [ic] Me Being Lazy Jim Balcom wrote: > something... You are mean and deserving of censure. From: interchange-users at interchange.redhat.com (Craig Carman) Date: Sat Sep 8 18:30:00 2001 Subject: [ic] mv_raw_searchspec remains undefined Dear IC Acquaintances, Where and how do I learn the use of mv_raw_searchspec (SE) since it seems to be undocumented? The archives told me nothing useful and the docs literally skip any definition or example. A sentence fragment in the archives leads me to suspect mv_raw_searchspec would contain all search terms . . . but . . . Must I define it myself? How do I access the content segments? Is there some formula used to parse out the search spec variable? Is this subject an intentional gap in the docs or have I missed the thought process completely? All comments are appreciated. This makes the Nth time the IC learning curve has made me feel stupid! Thanks, Craig Carman (seeshopgo) Craig A. Carman, President SeeShopGo, L.L.C. http://www.seeshopgo.com 1030 Canal Street New Orleans, Louisiana 70112 Toll Free 1-866-DIA-SHOP(342-7467) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Sep 8 21:40:01 2001 Subject: [ic] Me Being Lazy On Sat, 8 Sep 2001, Korey wrote: K>>Jim Balcom wrote: K>> K>>> something... K>> K>>You are mean and deserving of censure. Ooohhh! I -=LOVE=- censure! Whip me, beat me, make me write bad checks! (your place or mine?) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, September 08, 2001 at 21:35 PM: When you come to a fork in the road, take it! ---------------------------------------------------------------- This Linux System has been up 2 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Malcolm Webb) Date: Sat Sep 8 22:00:01 2001 Subject: [ic] Do matrix options work in 4.8.1? Hi- I just finished looking through the mail archives after I was unable to get matrix options working in the latest release. I can set up options and enable their display in the catalog, but the correct prices do not show up in the shopping cart. The products in the foundation demo that have options are not showing up correctly either. Basically, I want to be able to have: "Master" Movie Title/Release (with product image, description, etc) -VHS Option (with price 14.99, separate shippable item) -DVD Option (with price 24.99, separate shippable item) It seems to me that this is a pretty common scenario. If someone chooses VHS, I want to charge them 14.99. If they choose DVD, I want to charge them 24.99. I am currently using an earlier version of IC in production, and I have separate items for DVD and VHS editions, had been hoping to leverage the options functionality in the new release... A lot of people posted questions about this on the mailing list, and I saw one post from Mike Heins saying that modular options aren't working. Does anyone know if matrix options are working? (and if so, what am I missing?) Any input appreciated. Thanks. -Malcolm __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (David Bordas) Date: Mon Sep 10 03:50:01 2001 Subject: [ic] IC 4.8.1 and ML Hi, I work on fondation demo with IC 4.8.1. On checkout page i see this : Mail lists (if any) ... I'm looking for more information on this. Where's store the ML ... Should i use an externe product to send e-mail ? Thanks From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Sep 10 04:05:00 2001 Subject: [ic] Possibly helpful debugging tool LEON> ... wrote something ... Hi Leon, hi List found some things to say about your programm 1. it would be good to tell the user to use: "SafeUntrap open close" in their interchange.cfg 2. and i have a problem with your prog! it only says : # tail --follow /tmp/strcfifo close 31449 in the fifo (not so nice?) thats all, any ideas cu (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 10 04:14:00 2001 Subject: [ic] Possibly helpful debugging tool Tobias Henle <t.henle@thiesen.com> writes: > LEON> ... wrote something ... > > Hi Leon, hi List > found some things to say about your programm > > 1. it would be good to tell the user to use: > "SafeUntrap open close" > in their interchange.cfg No, I think not. Mike Heins had something in his mind to do these things which enhance security. 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: Mon Sep 10 04:42:00 2001 Subject: [ic] Admin link on the bottom of each page Hi, I've installed IC 4.8.1 with fondation demo and sample. On the bottom of each page we can see "Admin" with a link to UI. ( just below the power by logo ). I would remove it but don't know how to do that. I take a look to CATROOT/templates/regions/* but don't see anything that can help me. Have someone got an idea ? Thanks From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Sep 10 05:19:01 2001 Subject: [ic] Import shippin.asc in the database Hi List, i know that this is not my first posting about this problem but i still have not found any solution after importing the shipping table in the database (it looks like the products/shipping.asc, except of the id row!) nothing seems to work anymore the table looks like this: inwashopdb=# select * from shipping; select * from shipping; id | code | mode | description | criteria | minimum | maximum | cost -------+-------+-------+-------------+----------+---------+-----------+-------------------- 00001 | 00001 | FLATD | FLATD-TEST | price | 1 | 999999999 | 19 00002 | 00002 | FLATD | FLATD-TEST | price | 0 | 0 | e NOTHING TO SHIP! (2 rows) any idea what mistake i have made? _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Sep 10 06:09:01 2001 Subject: [ic] Payment through PBS (Denmark) In Denmark there is a central bank processing service called PBS, which handles almost all credit card (or rather debit card) transactions. I don't suppose anybody else has done this, so I have to implement it. Any pointers to documentation about CC validation? The system works like this: The CC number can be keyed in on a non-secure page, but the form action of this page has to be directed to a payment server through SSL. The payment server then tries to authenticate the card and amount, and returns with a OK / Failed page. Normally this is made with a dedicated page for the CC number, which is a different system from Interchange's checkout page. Does anyone have an idea how to do this? Ideally I'd like to keep the checkout page as is, and only direct it to the payment server if payment is with credit card. This seems impossible - but maybe there is a method I can't see right now. Does any of the other payment methods work in the same way, so I can have a place to start from? Thanks in advance for any help. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 10 06:18:00 2001 Subject: [ic] Do matrix options work in 4.8.1? Hi, We handle this by using an items table and a prices table. The items table has an itemid, title, description, producer, etc. Prices has priceid, itemid, size, pack, container type, price. We are doing this for beverage industry products where it is common to have items like Coca-Cola that have different prices for various container types, sizes and packs while the characteristics of the item remain constant. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 Malcolm Webb <mawebb@rocketmail.com> Sent by: interchange-users-admin@interchange.redhat.com 09/08/2001 09:59 PM Please respond to interchange-users To: interchange-users@interchange.redhat.com cc: Subject: [ic] Do matrix options work in 4.8.1? Hi- I just finished looking through the mail archives after I was unable to get matrix options working in the latest release. I can set up options and enable their display in the catalog, but the correct prices do not show up in the shopping cart. The products in the foundation demo that have options are not showing up correctly either. Basically, I want to be able to have: "Master" Movie Title/Release (with product image, description, etc) -VHS Option (with price 14.99, separate shippable item) -DVD Option (with price 24.99, separate shippable item) It seems to me that this is a pretty common scenario. If someone chooses VHS, I want to charge them 14.99. If they choose DVD, I want to charge them 24.99. I am currently using an earlier version of IC in production, and I have separate items for DVD and VHS editions, had been hoping to leverage the options functionality in the new release... A lot of people posted questions about this on the mailing list, and I saw one post from Mike Heins saying that modular options aren't working. Does anyone know if matrix options are working? (and if so, what am I missing?) Any input appreciated. Thanks. -Malcolm __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.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 (Tim Constable) Date: Mon Sep 10 06:49:02 2001 Subject: [ic] Email Processors Wanted!!! 9/10/2001 EMAIL PROCESSING COMPANY LOOKING FOR EMAIL PROCESSORS IMMEDIATELY, TO SUSTAIN EXPLOSIVE GROWTH. EARN $2,000-$6,000 (PART-TIME) AND $5,000-$10,000 (FULL TIME) MONTHLY. FREE START-UP, NOT MLM, NO EXPERIENCE NECESSARY. SEND AN EMAIL TO da_man_21@lycos.com WITH SUBJECT: "SHOW ME".WE WANT SERIOUS INQUIRIES FROM PEOPLE WHO WANT TO MAKE SERIOUS MONEY! Tim C. - Web Direct From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Sep 10 06:58:00 2001 Subject: [ic] Payment through PBS (Denmark) Hi, have u tried something like this: <FORM ACTION=" [if term='[scratch my_ssl_switch]' op=eq compare='CREDITCARD????'] [then]@_SECURE_SERVER_@@_CGI_URL_@/process.html[/then] [else]http://@_SERVER_NAME_@@_CGI_URL_@/process.html[/else] [/if] " METHOD=POST name="checkout"> and use the variable were u save the order info intstead of [scratch my_ssl_switch] _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (David Totten) Date: Mon Sep 10 07:09:01 2001 Subject: [ic] IC 4.8.1 and ML On Mon, Sep 10, 2001 at 09:50:51AM +0200, David Bordas wrote: > Hi, > > I work on fondation demo with IC 4.8.1. > On checkout page i see this : Mail lists (if any) ... > > I'm looking for more information on this. > Where's store the ML ... > Should i use an externe product to send e-mail ? > > Thanks Yes, the Mail List software that it is referencing is a third party product. Interchange just makes it so that customer can be marked to get emails from the mail list, but cannot actually perform the mail list functionality. Of course I am sure it could be built as an addon or something if you really wanted to, but software like mailman makes that a waste of time. Dave Totten -- Start random buzzword text: It is further assumed that market driven quality requires considerable systems analysis and trade-off studies to arrive at the postulated use of dialog management technology. From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Sep 10 07:19:01 2001 Subject: [ic] Payment through PBS (Denmark) > have u tried something like this: > <FORM ACTION=" > [if term='[scratch my_ssl_switch]' op=eq compare='CREDITCARD????'] > [then]@_SECURE_SERVER_@@_CGI_URL_@/process.html[/then] > [else]http://@_SERVER_NAME_@@_CGI_URL_@/process.html[/else] > [/if] > " METHOD=POST name="checkout"> Will this not be processed on the server _after_ the credit card has been entered, so it will be transmitted over unencrypted http? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Sep 10 07:35:01 2001 Subject: [ic] Payment through PBS (Denmark) On 2001.09.10 13:18:07 +0200 Kaare Rasmussen wrote: > > > have u tried something like this: > > <FORM ACTION=" > > [if term='[scratch my_ssl_switch]' op=eq compare='CREDITCARD????'] > > [then]@_SECURE_SERVER_@@_CGI_URL_@/process.html[/then] > > [else]http://@_SERVER_NAME_@@_CGI_URL_@/process.html[/else] > > [/if] > > " METHOD=POST name="checkout"> > > Will this not be processed on the server _after_ the credit card has been > entered, so it will be transmitted over unencrypted http? Yes but if you force the form to reload if the user selects creditcart payment it would work _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Sep 10 07:39:01 2001 Subject: [ic] Payment through PBS (Denmark) Oops. Another thing: > <FORM ACTION=" > [if term='[scratch my_ssl_switch]' op=eq compare='CREDITCARD????'] > [then]@_SECURE_SERVER_@@_CGI_URL_@/process.html[/then] > [else]http://@_SERVER_NAME_@@_CGI_URL_@/process.html[/else] > [/if] > " METHOD=POST name="checkout"> The payment gateway is not on the same server. It can be an SSL server in another company. So there has to be a way to go to this server and come back with the same information. And for some people, cookies are bad! -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 10 07:51:01 2001 Subject: [ic] Payment through PBS (Denmark) Tobias Henle <t.henle@thiesen.com> writes: > On 2001.09.10 13:18:07 +0200 Kaare Rasmussen wrote: > > > > > have u tried something like this: > > > <FORM ACTION=" > > > [if term='[scratch my_ssl_switch]' op=eq compare='CREDITCARD????'] > > > [then]@_SECURE_SERVER_@@_CGI_URL_@/process.html[/then] > > > [else]http://@_SERVER_NAME_@@_CGI_URL_@/process.html[/else] > > > [/if] > > > " METHOD=POST name="checkout"> > > > > Will this not be processed on the server _after_ the credit card has been > > entered, so it will be transmitted over unencrypted http? > Yes but if you force the form to reload if the user selects creditcart > payment it would work But that's quite ugly IMHO. We should come up with a better solution ... Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Michael Zwiener) Date: Mon Sep 10 07:58:00 2001 Subject: [ic] Doku available in German? (nt) From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Sep 10 08:06:00 2001 Subject: [ic] Payment through PBS (Denmark) > Yes but if you force the form to reload if the user selects creditcart > payment it would work Oh, now I see. Smart :-) But one problem is that it requires SSL on the same server. That may be a little clumsy. Also, either you need an expensive certificate or you will scare your customer with a "Do you trust this site" box. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Sep 10 08:29:00 2001 Subject: [ic] Payment through PBS (Denmark) Hi, RACKE>But that's quite ugly IMHO. We should come up with a better solution ... i dont think so, i use this code to switch between SSL-ON and OFF (yes a tag written in perl would be nice but i use it only one time!) KAARE>expensive certificate i don't know much about ssl certificates but isn't there a possible way to "cross certificate?" (bad english sorry) have a look at http://www.thawte.com/getinfo/products/server/contents.html _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (David Bordas) Date: Mon Sep 10 08:46:01 2001 Subject: [ic] Small usertag problem Hi, I have a little usertag define in catalog.cfg like this : ###### ## Conversion EURO #### UserTag franc HasEndTag UserTag franc Interpolate UserTag franc Routine <<EOR sub { my($dm_betrag)=@_; my $euro_betrag = $dm_betrag * 6.55957; $euro_betrag = sprintf("%.2f", $euro_betrag); $euro_betrag =~ s/\./,/g; return $euro_betrag; } EOR i'm using it to convert Euro to FF. But sometimes IC make mistakes like 12 Euro = 72 FF in fact : 12 Euro = 78,71484 or 78,71 FF Seem to work after a reboot of IC and a reload of the web page. I reboot now again but always have the problem. I use the usertag like this : <TD ALIGN=RIGHT>[item-subtotal] [franc][calc][item-subtotal noformat=1][/calc][/franc] FF</TD> for exemple. I have perl 5.6.1 and IC 4.8.1. I upgrade perl this morning from 5.00 to 5.6.1 and re-install all modules. But don't think it come to perl because the problem already occurs with perl 5.0. I hope you can understand me. Thanks From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 10 08:58:01 2001 Subject: [ic] Payment through PBS (Denmark) Tobias Henle <t.henle@thiesen.com> writes: > Hi, > > RACKE>But that's quite ugly IMHO. We should come up with a better solution > ... > i dont think so, i use this code to switch between SSL-ON and OFF (yes a > tag written in perl would be nice but i use it only one time!) But it breaks if the user has no cookies enabled. [process secure=1] resp. [process] is shorter and better. Generate links always with IC tags unless it is impossible. 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 (Stefano Nota) Date: Mon Sep 10 09:01:00 2001 Subject: [ic] Small usertag problem You don't need to do that. Set price divide in the locale settings will make easy to convert euro to franc Look at the doc Hi stefano ----- Original Message ----- From: "David Bordas" <bordas@jeuxvideo.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 2:47 PM Subject: [ic] Small usertag problem > Hi, > > I have a little usertag define in catalog.cfg like this : > > ###### > ## Conversion EURO > #### > UserTag franc HasEndTag > UserTag franc Interpolate > UserTag franc Routine <<EOR > > sub { > my($dm_betrag)=@_; > my $euro_betrag = $dm_betrag * 6.55957; > $euro_betrag = sprintf("%.2f", $euro_betrag); > $euro_betrag =~ s/\./,/g; > return $euro_betrag; > } > EOR > > i'm using it to convert Euro to FF. > But sometimes IC make mistakes like > 12 Euro = 72 FF > in fact : > 12 Euro = 78,71484 or 78,71 FF > > Seem to work after a reboot of IC and a reload of the web page. > > I reboot now again but always have the problem. > > I use the usertag like this : > <TD ALIGN=RIGHT>[item-subtotal] [franc][calc][item-subtotal > noformat=1][/calc][/franc] FF</TD> > > for exemple. > > I have perl 5.6.1 and IC 4.8.1. > I upgrade perl this morning from 5.00 to 5.6.1 and re-install all modules. > But don't think it come to perl because the problem already occurs with perl > 5.0. > > I hope you can understand me. > > 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 (David Bordas) Date: Mon Sep 10 09:17:01 2001 Subject: [ic] Small usertag problem I'm quite newbie with IC and don't know well the locale settings but i'll try the doc. One question : i would use 2 currency but don't want to make all my pages and images in double. One more thing IC doc for loc isn't very usefull : http://ic.redhat.com/cgi-bin/ic/dev/ictags_117.html I think i've missed something. ----- Original Message ----- From: "Stefano Nota" <stefano.nota@register.it> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 3:00 PM Subject: Re: [ic] Small usertag problem > You don't need to do that. > > Set price divide in the locale settings will make easy to convert euro to > franc > > Look at the doc > > Hi stefano > ----- Original Message ----- > From: "David Bordas" <bordas@jeuxvideo.com> > To: <interchange-users@interchange.redhat.com> > Sent: Monday, September 10, 2001 2:47 PM > Subject: [ic] Small usertag problem > > > > Hi, > > > > I have a little usertag define in catalog.cfg like this : > > > > ###### > > ## Conversion EURO > > #### > > UserTag franc HasEndTag > > UserTag franc Interpolate > > UserTag franc Routine <<EOR > > > > sub { > > my($dm_betrag)=@_; > > my $euro_betrag = $dm_betrag * 6.55957; > > $euro_betrag = sprintf("%.2f", $euro_betrag); > > $euro_betrag =~ s/\./,/g; > > return $euro_betrag; > > } > > EOR > > > > i'm using it to convert Euro to FF. > > But sometimes IC make mistakes like > > 12 Euro = 72 FF > > in fact : > > 12 Euro = 78,71484 or 78,71 FF > > > > Seem to work after a reboot of IC and a reload of the web page. > > > > I reboot now again but always have the problem. > > > > I use the usertag like this : > > <TD ALIGN=RIGHT>[item-subtotal] [franc][calc][item-subtotal > > noformat=1][/calc][/franc] FF</TD> > > > > for exemple. > > > > I have perl 5.6.1 and IC 4.8.1. > > I upgrade perl this morning from 5.00 to 5.6.1 and re-install all modules. > > But don't think it come to perl because the problem already occurs with > perl > > 5.0. > > > > I hope you can understand me. > > > > 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 (Tobias Henle) Date: Mon Sep 10 09:18:09 2001 Subject: [ic] Payment through PBS (Denmark) > [process secure=1] resp. [process] is shorter and better. ok you are right!!! cu (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Kat Turner) Date: Mon Sep 10 09:25:00 2001 Subject: [ic] Customizing IC Hi, I am new to IC 4.8 and want to make it look and feel unique. I have a little experience in html, c++ and visual basic programming so I should be capable of making any changes that are needed. My only problem is that I feel like a blind man in a new house when dealing with IC 4.8. I know everything is there but I can't find the right rooms to go to make the changes. Is there a web site that has information on the correct way to change colors menu bars etc. I have almost lived at the Redhat site for the last week and the way the information is arranged there does not make any sense to me. Seems they only give bits and pieces of information. and the IC help file is very lacking in my opinion. Any help would be appreciated. Kat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 10 09:32:01 2001 Subject: [ic] Small usertag problem "David Bordas" <bordas@jeuxvideo.com> writes: > I'm quite newbie with IC and don't know well the locale settings but i'll > try the doc. > > One question : > i would use 2 currency but don't want to make all my pages and images in > double. [currency][item-subtotal][/currency] [setlocale locale="fr_FR" currency=1] [currency][item-subtotal][/currency] [setlocale locale="eur_EUR" currency=1] Should work fine assumed your default locale is eur_EUR. 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 (Kat Turner) Date: Mon Sep 10 10:20:00 2001 Subject: [ic] Admin link on the bottom of each page Hi, I just finished doing what you need. Here is what I did. Open IC Administration. Click the Content button. Click Template Edit in the sub-menu. A box will show three templates. You must edit each one. The admin link code you are looking for is near the bottom of the page in the Bottom Components section. Hope this helps! Kat >From: "David Bordas" <bordas@jeuxvideo.com> >Reply-To: interchange-users@interchange.redhat.com >To: <interchange-users@interchange.redhat.com> >Subject: [ic] Admin link on the bottom of each page >Date: Mon, 10 Sep 2001 10:42:04 +0200 > >Hi, > >I've installed IC 4.8.1 with fondation demo and sample. >On the bottom of each page we can see "Admin" with a link to UI. ( just >below the power by logo ). >I would remove it but don't know how to do that. >I take a look to CATROOT/templates/regions/* >but don't see anything that can help me. > >Have someone got an idea ? > >Thanks > > > >_______________________________________________ >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 (Korey G.) Date: Mon Sep 10 10:22:00 2001 Subject: [ic] Me Being Lazy Mine! From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 10 10:32:00 2001 Subject: [ic] Customizing IC On Mon, 10 Sep 2001, Kat Turner wrote: > I have almost lived at the Redhat site for the last week and the way > the information is arranged there does not make any sense to me. Do you mean the RedHat Interchange documentation set is not arranged logically or what do you mean ? If you are not familiar with Unix and Perl/shell scripting, one week of studying the documentation set of altogether 517 pages (when printed out as html files) is not much. You might want to start with the tutorial and read through the foundation store documentation. May be it might help to buy the Administration Tool Guide too. BF From: interchange-users at interchange.redhat.com (Cormac Robinson) Date: Mon Sep 10 10:46:01 2001 Subject: [ic] UserTag table_editor Hi, When I start the interchange daemon I get a problem in accessing the table_editor. I've noticed a similar query posted to the board http://lists.akopia.com/pipermail/interchange-users/2001-May/008022.html but I can't find the reply to this if there was one. This is my second time posting this query ... has anybody come across this or have they any possible solutions they'd like to share. My error message is below. Any help would be accepted, Cormac. [admin@crobinson interchange]$ bin/interchange -restart Killing Interchange server 7934 with TERM. Low traffic settings. Calling UI...Interchange V4.8.1 Configuring catalog shopper...Required UserTag table_editor not present. Abortin g catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button shopper config error: Required UserTag table_editor not present. Aborting catalo g. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button shopper: error in configuration. Skipping. shopper: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 8001) [admin@crobinson interchange]$ __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Sep 10 10:52:00 2001 Subject: [ic] Redefine variable > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > mheins@redhat.COM > Sent: Friday, September 07, 2001 3:12 PM > To: interchange-users@interchange.redhat.COM > Subject: Re: [ic] Redefine variable > > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange- > > > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > > > > > > Is there a way I can redefine a variable within IC? I would like to > > > redefine > > > [shipping] from its default to : > > > [set total_shipping]0[/set] > > > [item-list] > > > [seti total_shipping][calc] > > > [scratch total_shipping] + ([item-field > > shipping] * > > > [item-quantity]) > > > [/calc][/seti] > > > [/item-list] > > > [set shipping][scratch total_shipping][/set] > > > > > > Where do I find where [shipping] is defined or is this not possible? > > > > You may want to look into using the standard shipping routines instead > > of redefining what shipping does. It seems like you could setup a > > formula in the shipping.asc to use the shipping field for each product > > to determine the shipping amount. Take a look at the shipping > > documentation for how to setup formulas. > > That particular one is quite easy, unless I am missing something: > > STD Standard Shipping shipping 0 0 e > Nothing to ship! > STD Standard Shipping shipping 0 99999 f @@TOTAL@@ > I added these lines (tab seperated fields per line) to shipping.asc and restarted interchange. When I visit my cart, I get a value of $0.00 for shipping instead of the correct amount. I am displaying [shipping] at my cart. This is correct right? Have I missed something? I am new to editing shipping.asc. I read over the minivend shipping documents and I think I did this correctly. Can you give me some more assistance? Thanks Chad > That is all it takes if you want to put a specific shipping cost in each > products field. Then the regular [shipping] tag does everything else. > > -- > 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 (David Bordas) Date: Mon Sep 10 11:19:00 2001 Subject: [ic] Small usertag problem Sorry but don't work for me. Perhaps i've done something wrong. In catalog.cfg i have this : # Last locale specified is the default. Locale fr_FR LocaleDatabase locale and for exemple i would put a price in Eur ( french currency in my locale.txt ) and in DM [currency][item-subtotal][/currency] [setlocale locale="de_DE" currency=1] [currency][item-subtotal][/currency] [setlocale locale="fr_FR" currency=1] and i have this : Our Price: 18,00 ? 18,00 ? Did you see what's wrong ? Thanks again. ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 3:31 PM Subject: Re: [ic] Small usertag problem > "David Bordas" <bordas@jeuxvideo.com> writes: > > > I'm quite newbie with IC and don't know well the locale settings but i'll > > try the doc. > > > > One question : > > i would use 2 currency but don't want to make all my pages and images in > > double. > > [currency][item-subtotal][/currency] > [setlocale locale="fr_FR" currency=1] > [currency][item-subtotal][/currency] > [setlocale locale="eur_EUR" currency=1] > > Should work fine assumed your default locale is eur_EUR. > > 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 (David Bordas) Date: Mon Sep 10 11:21:01 2001 Subject: [ic] Admin link on the bottom of each page Thanks But Damien Curtain ( thanks to him ) have been faster and say me an other way to do the same thing, here is it : >>in $catalogroot/products/variable.txt >>set MV_DEMO_MODE 1 General >>to MV_DEMO_MODE 0 General >>which might work And it works great. ----- Original Message ----- From: "Kat Turner" <ronzokat@hotmail.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 4:08 PM Subject: Re: [ic] Admin link on the bottom of each page > Hi, I just finished doing what you need. Here is what I did. Open IC > Administration. Click the Content button. Click Template Edit in the > sub-menu. A box will show three templates. You must edit each one. The admin > link code you are looking for is near the bottom of the page in the Bottom > Components section. Hope this helps! > Kat > > >From: "David Bordas" <bordas@jeuxvideo.com> > >Reply-To: interchange-users@interchange.redhat.com > >To: <interchange-users@interchange.redhat.com> > >Subject: [ic] Admin link on the bottom of each page > >Date: Mon, 10 Sep 2001 10:42:04 +0200 > > > >Hi, > > > >I've installed IC 4.8.1 with fondation demo and sample. > >On the bottom of each page we can see "Admin" with a link to UI. ( just > >below the power by logo ). > >I would remove it but don't know how to do that. > >I take a look to CATROOT/templates/regions/* > >but don't see anything that can help me. > > > >Have someone got an idea ? > > > >Thanks > > > > > > > >_______________________________________________ > >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 (David Bordas) Date: Mon Sep 10 11:49:00 2001 Subject: [ic] IC 4.8.1 and ML Ok thanks. But where IC store the information that a customer lambda choose to recieve ML ? If i know this i can make some script to send the mailing. For unsubscribe customers can log in to IC and modify their profile. ----- Original Message ----- From: "David Totten" <akopia@davetotten.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 1:03 PM Subject: Re: [ic] IC 4.8.1 and ML > On Mon, Sep 10, 2001 at 09:50:51AM +0200, David Bordas wrote: > > Hi, > > > > I work on fondation demo with IC 4.8.1. > > On checkout page i see this : Mail lists (if any) ... > > > > I'm looking for more information on this. > > Where's store the ML ... > > Should i use an externe product to send e-mail ? > > > > Thanks > > Yes, the Mail List software that it is referencing is a third party product. > Interchange just makes it so that customer can be marked to get emails from > the mail list, but cannot actually perform the mail list functionality. Of > course I am sure it could be built as an addon or something if you really > wanted to, but software like mailman makes that a waste of time. > > Dave Totten > > -- > Start random buzzword text: > It is further assumed that market driven quality requires considerable systems analysis and trade-off studies to arrive at the postulated use of dialog management technology. > _______________________________________________ > 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: Mon Sep 10 12:08:00 2001 Subject: [ic] Possibly helpful debugging tool Hi Tobias. You should also see a series of files with names like stracelog11948 ( ie stracelog$pid) in the /tmp directory. Those contain the strace of the process that encountered the [stracestart] tag. It is very simple. You can send the commands START STOP STATUS and QUIT to the fifo. START and STOP require a process id to follow them. STATUS and QUIT do not. STATUS is buggy because it sends the status to the last strace log file - this will be fixed next time I get to play with it. BTW, you need to mkfifo /tmp/strcfifo before you run the program. That also will be fixed (automated) next time I play with it. Finally, I wrote this to run in debug mode. Don't run it when the system is live ! Strace does show some of the arguments passed to library calls - this could include passwords for you database etc. These are stored in that bastion of security, the /tmp directory, with the loosest system-supplied (umask) permissions. It really is insecure. It also is useful. Cheers, HTH Leon Tobias Henle wrote: > LEON> ... wrote something ... > > Hi Leon, hi List > found some things to say about your programm > > 1. it would be good to tell the user to use: > "SafeUntrap open close" > in their interchange.cfg > > 2. and i have a problem with your prog! it only says : > > # tail --follow /tmp/strcfifo > close 31449 > > in the fifo (not so nice?) thats all, any ideas > > cu (mit freundliche Grüßen) > > -Tobias Henle > _ _ _ > __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ > \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ > \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| > -- > ________E-Mail________________________URL____________________________ > mailto:t.henle@thiesen.com http://www.thiesen.com > _____________________________________________________________________ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Mon Sep 10 12:09:34 2001 Subject: [ic] Customizing IC "Kat Turner" <ronzokat@hotmail.com> writes: > Hi, I am new to IC 4.8 and want to make it look and feel unique. I > have a little experience in html, c++ and visual basic programming so > I should be capable of making any changes that are needed. If I remember correctly, IC is designed so that you should really only need HTML experience. It has it's own tag language for extending/customizing it. I think the documenation that exists is pretty good now for getting you started. However, if you really want to get into the guts of it, perl is what you need to know; not c++ or VB. Unix experience doesn't hurt either. -- (__) 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 (David Bordas) Date: Mon Sep 10 12:11:01 2001 Subject: [ic] Small usertag problem I found it :) I modify catalog.cfg from Locale fr_FR to Locale fr_FR LC_CTYPE fr_FR And now the usertag for converting works great. I'm sure the method : > [currency][item-subtotal][/currency] > [setlocale locale="de_DE" currency=1] > [currency][item-subtotal][/currency] > [setlocale locale="fr_FR" currency=1] is much better but should take some times to modify all pages and templates. Great thanks to all. ----- Original Message ----- From: "David Bordas" <bordas@jeuxvideo.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 5:19 PM Subject: Re: [ic] Small usertag problem > Sorry but don't work for me. > Perhaps i've done something wrong. > > In catalog.cfg i have this : > # Last locale specified is the default. > Locale fr_FR > LocaleDatabase locale > > and for exemple i would put a price in Eur ( french currency in my > locale.txt ) and in DM > > [currency][item-subtotal][/currency] > [setlocale locale="de_DE" currency=1] > [currency][item-subtotal][/currency] > [setlocale locale="fr_FR" currency=1] > > and i have this : > Our Price: 18,00 ? 18,00 ? > > Did you see what's wrong ? > Thanks again. > ----- Original Message ----- > From: "Stefan Hornburg (Racke)" <racke@linuxia.de> > To: <interchange-users@interchange.redhat.com> > Sent: Monday, September 10, 2001 3:31 PM > Subject: Re: [ic] Small usertag problem > > > > "David Bordas" <bordas@jeuxvideo.com> writes: > > > > > I'm quite newbie with IC and don't know well the locale settings but > i'll > > > try the doc. > > > > > > One question : > > > i would use 2 currency but don't want to make all my pages and images in > > > double. > > > > [currency][item-subtotal][/currency] > > [setlocale locale="fr_FR" currency=1] > > [currency][item-subtotal][/currency] > > [setlocale locale="eur_EUR" currency=1] > > > > Should work fine assumed your default locale is eur_EUR. > > > > Ciao > > Racke > > > > -- > > Racke happily hacks Interchange and maintains Debian packages like > Courier. > > > > For projects and other business stuff please refer to COBOLT NetServices > > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: > 0041-1-3884400) > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Sep 10 12:21:01 2001 Subject: [ic] Redefine variable At 09:51 AM 09/10/2001 -0500, you wrote: > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.COM > > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > > mheins@redhat.COM > > Sent: Friday, September 07, 2001 3:12 PM > > To: interchange-users@interchange.redhat.COM > > Subject: Re: [ic] Redefine variable > > > > > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange- > > > > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > > > > > > > > Is there a way I can redefine a variable within IC? I would like to > > > > redefine > > > > [shipping] from its default to : > > > > [set total_shipping]0[/set] > > > > [item-list] > > > > [seti total_shipping][calc] > > > > [scratch total_shipping] + ([item-field > > > shipping] * > > > > [item-quantity]) > > > > [/calc][/seti] > > > > [/item-list] > > > > [set shipping][scratch total_shipping][/set] > > > > > > > > Where do I find where [shipping] is defined or is this not possible? > > > > > > You may want to look into using the standard shipping routines instead > > > of redefining what shipping does. It seems like you could setup a > > > formula in the shipping.asc to use the shipping field for each product > > > to determine the shipping amount. Take a look at the shipping > > > documentation for how to setup formulas. > > > > That particular one is quite easy, unless I am missing something: > > > > STD Standard Shipping shipping 0 0 e > > Nothing to ship! > > STD Standard Shipping shipping 0 99999 f @@TOTAL@@ > > > >I added these lines (tab seperated fields per line) to shipping.asc and >restarted interchange. When I visit my cart, I get a value of $0.00 for >shipping instead of the correct amount. I am displaying [shipping] at my >cart. This is correct right? Have I missed something? I am new to editing >shipping.asc. I read over the minivend shipping documents and I think I did >this correctly. > >Can you give me some more assistance? > You need to determine why shipping is evaluating to zero. Do you have a column named shipping in your products table, and did you load it with values for each item? Did you add the mode 'STD' to the appropriate column in your country table? Did you make it the default shipmode in your catalog.cfg (http://ic.redhat.com/cgi-bin/ic/dev-4.8/icconfig_83.html)? Put [data session ship_message] on your pages/ord/checkout.html page - what does it say? On the first line of the new entries for shipping.asc add a message after 'e', like 'got zero shipping line', and see if that message shows up on the checkout page as [data session ship_message]; that would tell you that the shipping routine is not getting the accumulated value of shipping for some reason. Also the space between 'f' and '@@TOTAL@@' is a space character, not a tab (likewise for 'e' and your error message). If you downloaded shipping.asc and edited it on a Bill Gates wonderbox, it may contain carriage returns; strip them out thusly on the *nix command line, from within the products directory: perl -i.bak -p -e 's/\r//g' shipping.asc That's all I can think for now. - 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 (Donal H.) Date: Mon Sep 10 12:24:01 2001 Subject: [ic] Pricing by Qty and Category Hi, I'm looking to apply special pricing to certain items by quantity, but only within a given category/grouping i.e. so a number of different items in the "CD Specials" category sell at 3 for £20 (or whatever). Does IC provide any mechanism for doing this or, if not, can anyone suggest a good approach? Thanks, -Donal From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Sep 10 14:37:01 2001 Subject: [ic] Redefine variable > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Ed > LaFrance > Sent: Monday, September 10, 2001 11:21 AM > To: interchange-users@interchange.redhat.COM > Subject: RE: [ic] Redefine variable > > > At 09:51 AM 09/10/2001 -0500, you wrote: > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.COM > > > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > > > mheins@redhat.COM > > > Sent: Friday, September 07, 2001 3:12 PM > > > To: interchange-users@interchange.redhat.COM > > > Subject: Re: [ic] Redefine variable > > > > > > > > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange- > > > > > users-admin@interchange.redhat.com] On Behalf Of Chad Wittrock > > > > > > > > > > Is there a way I can redefine a variable within IC? I > would like to > > > > > redefine > > > > > [shipping] from its default to : > > > > > [set total_shipping]0[/set] > > > > > [item-list] > > > > > [seti total_shipping][calc] > > > > > [scratch total_shipping] + ([item-field > > > > shipping] * > > > > > [item-quantity]) > > > > > [/calc][/seti] > > > > > [/item-list] > > > > > [set shipping][scratch total_shipping][/set] > > > > > > > > > > Where do I find where [shipping] is defined or is this > not possible? > > > > > > > > You may want to look into using the standard shipping > routines instead > > > > of redefining what shipping does. It seems like you could setup a > > > > formula in the shipping.asc to use the shipping field for > each product > > > > to determine the shipping amount. Take a look at the shipping > > > > documentation for how to setup formulas. > > > > > > That particular one is quite easy, unless I am missing something: > > > > > > STD Standard Shipping shipping 0 0 e > > > Nothing to ship! > > > STD Standard Shipping shipping 0 99999 > f @@TOTAL@@ > > > > > > >I added these lines (tab seperated fields per line) to shipping.asc and > >restarted interchange. When I visit my cart, I get a value of $0.00 for > >shipping instead of the correct amount. I am displaying [shipping] at my > >cart. This is correct right? Have I missed something? I am new to editing > >shipping.asc. I read over the minivend shipping documents and I > think I did > >this correctly. > > > >Can you give me some more assistance? > > > > You need to determine why shipping is evaluating to zero. Do you have a > column named shipping in your products table, and did you load it with > values for each item? Yes. >Did you add the mode 'STD' to the appropriate column in your country table? No. >Did you make it the default shipmode in your catalog.cfg > (http://ic.redhat.com/cgi-bin/ic/dev-4.8/icconfig_83.html)? Again, no. > Put [data session ship_message] on your pages/ord/checkout.html page - what does it > say? On the first line of the new entries for shipping.asc add a message > after 'e', like 'got zero shipping line', and see if that message > shows up > on the checkout page as [data session ship_message]; that would tell you > that the shipping routine is not getting the accumulated value of > shipping > for some reason. > > Also the space between 'f' and '@@TOTAL@@' is a space character, > not a tab (likewise for 'e' and your error message). I did have that. :) > If you downloaded shipping.asc and edited it on a Bill Gates wonderbox, it may contain carriage returns; strip them out thusly on the *nix command line, from within the products directory: No editing was done with M$ products. > > perl -i.bak -p -e 's/\r//g' shipping.asc > > That's all I can think for now. > > - Ed L. Thanks for all your helpful comments Ed. I did have the shipping field in the products table and did have values in them. I removed the entries for US in the country table and replaced them with STD. I also editted catalog.cfg to make STD my standard shipping mode. Restart IC and it appears to work now. Thank you very much for your help! Chad > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Sep 10 14:41:01 2001 Subject: [ic] ESR: How To Ask Questions The Smart Way I enjoyed Eric's most recent FAQ, "How To Ask Questions The Smart Way". It would be extremely beneficial if every poster on the Internet (including interchange-users) were to read this and put it into practice. Yet, I somehow think that those who need it most will be most unlikely to read it; and those that do read will be most likely to already know it. Without further delay, From: http://www.tuxedo.org/~esr/faqs/smart-questions.html How To Ask Questions The Smart Way Copyright © 2001 by Eric S. Raymond -------------------------------------------------------------------------------- Table of Contents Introduction Before You Ask When You Ask How To Interpret Answers On Not Reacting Like A Loser Questions Not To Ask Good and Bad Questions If You Can't Get An Answer -------------------------------------------------------------------------------- Introduction In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way that is likely to get you a satisfactory answer. The first thing to understand is that hackers actually like hard problems and good, thought-provoking questions about them. If we didn't, we wouldn't be here. If you give us an interesting question to chew on we'll be grateful to you; good questions are a stimulus and a gift. Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Among hackers, "Good question!" is a strong and sincere compliment. Despite this, hackers have a reputation for meeting simple questions with what looks like hostility or arrogance. It sometimes looks like we're hostile to newbies and the ignorant. But this isn't really true. What we are, unapologetically, is hostile to people who seem to be unwilling to to think or do their own homework before asking questions. People like that are time sinks -- they take without giving back, they waste time we could have spent on another question more interesting and another person more worthy of an answer. We call people like this "losers" (and for historical reasons we sometimes spell it "lusers"). We're (largely) volunteers. We take time out of busy lives to answer questions, and at times we're overwhelmed with them. So we filter ruthlessly. In particular, we throw away questions from people who appear to be losers in order to spend our question-answering time more efficiently, on winners. You don't want to be one of the losers. You don't want to seem like one, either. The best way to get a rapid and responsive answer is to ask it like a winner — to ask it like a person with smarts, confidence, and clues who just happens to need help on one particular problem. (Improvements to this guide are welcome. You can mail suggestions to esr@thyrsus.com.) -------------------------------------------------------------------------------- Before You Ask Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following: Try to find an answer by reading the manual. Try to find an answer by reading a FAQ. Try to find an answer by searching the Web. Try to find an answer by asking a skilled friend. When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting peoples' time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers. Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. The more you do to demonstrate that you have put thought and effort into solving your problem before asking for help, the more likely you are to actually get help. Beware of asking the wrong question. If you ask one that is based on faulty assumptions, J. Random Hacker is quite likely to reply with a uselessly literal answer while thinking "Stupid question...", and hoping that the experience of getting what you asked for rather than what you needed will teach you a lesson. Never assume you are entitled to an answer. You are not. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking — one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others. On the other hand, making it clear that you are able and willing to help in the process of developing the solution is a very good start. "Can someone provide a pointer?", "What is my example missing?" and "Is there a site I should have checked?" are more likely to get answered than "Please post the exact procedure I should use." because you're making it clear that you're truly willing to complete the process if someone can simply point you in the right direction. -------------------------------------------------------------------------------- When You Ask Choose your forum carefully Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you: post your question to a forum where it is off topic post a very elementary question to a forum where advanced technical questions are expected, or vice-versa cross-post to too many different newsgroups Hackers blow off questions that are inappropriately targeted in order to try to protect their communications channels from being drowned in irrelevance. You don't want this to happen to you. -------------------------------------------------------------------------------- Write in clear, grammatical, correctly-spelled language We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy thinkers (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere. So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal — in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention. Spell correctly. Don't confuse "its" with "it's" or "loose" with "lose". Don't TYPE IN ALL CAPS, this is read as shouting and considered rude. If you write like a semi-literate boob, you will probably be ignored. Writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return. If you are asking questions in a forum that does not use your native language, you will get a limited amount of slack for spelling and grammar errors — but no extra slack at all for sloppy thinking (and yes, we can usually spot that difference). Also, unless you know what your respondent's languages are, write in English. Busy hackers tend to simply flush questions in languages they don't understand, and English is the working language of the net. By writing in English you minimize your chances that your question will be discarded unread. -------------------------------------------------------------------------------- Send questions in formats that are easy to understand If you make your question artificially hard to read, it is more likely to be passed over in favor of one that isn't. So: Send plain text mail, not HTML. Don't send mail in which entire paragraphs are single multiply-wrapped lines. (This makes it too difficult to reply to just part of the message.) Don't send MIME Quoted-Printable encoding either; all those =20 glyphs scattered through the text are ugly and distracting. Never, ever expect hackers to be able to read closed proprietary document formats like Microsoft Word. Most hackers react to these about as well as you would to having a pile of steaming pig manure dumped on your doorstep. If you're sending mail from a Windows machine, turn off Microsoft's stupid "Smart Quotes" feature. This is so you avoid sprinkling garbage characters through your mail. -------------------------------------------------------------------------------- Use meaningful, specific subject headers On mailing lists or newsgroups, the subject header is your golden opportunity to attract qualified experts' attention in around 50 characters or fewer. Don't waste it on babble like "Please help me" (let alone "PLEASE HELP ME!!!!"). Don't try to impress us with the depth of your anguish; use the space for a super-concise problem description instead. Stupid: HELP! Video doesn't work properly on my laptop! Smart: XFree86 4.1 misshapen mouse cursor, Fooware MV1005 vid. chipset -------------------------------------------------------------------------------- Be precise and informative about your problem Describe the symptoms of your problem or bug carefully and clearly. Describe the environment in which it occurs (machine, OS, application, whatever). Describe the research you did to try and understand the problem before you asked the question. Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question. Describe any recent changes in your computer or software configuration that might be relevant. Do the best you can to anticipate the questions a hacker will ask, and to answer them in advance in your request for help. Simon Tatham has written an excellent essay entitled How to Report Bugs Effectively. I strongly recommend that you read it. -------------------------------------------------------------------------------- Describe the problem's symptoms, not your guesses It's not useful to tell hackers what you think is causing your problem. (If your diagnostic theories were such hot stuff, would you be consulting others for help?) So, make sure you're telling them the raw symptoms of what goes wrong, rather than your interpretations and theories. Let them do the interpretation and diagnosis. Stupid: I'm getting back-to-back SIG11 errors on kernel compiles, and suspect a hairline crack on one of the motherboard traces. What's the best way to check for those? Smart: My home-built K6/233 on an FIC-PA2007 motherboard (VIA Apollo VP2 chipset) with 256MB Corsair PC133 SDRAM starts getting frequent SIG11 errors about 20 minutes after power-on during the course of kernel compiles, but never in the first 20 minutes. Rebooting doesn't restart the clock, but powering down overnight does. Swapping out all RAM didn't help. The relevant part of a typical compile session log follows. -------------------------------------------------------------------------------- Describe your problem's symptoms in chronological order The most useful clues in figuring out something that went wrong often lie in the events immediately prior. So, your account should describe precisely what you did, and what the machine did, leading up to the blowup. In the case of command-line processes, having a session log (e.g., using the script utility) and quoting the relevant twenty or so lines is very useful. If the program that blew up on you has diagnostic options (such as -v for verbose), try to think carefully about selecting options that will add useful debugging information to the transcript. If your account ends up being long (more than about four paragraphs), it might be useful to succinctly state the problem up top, then follow with the chronological tale. That way, hackers will know what to watch for in reading your account. -------------------------------------------------------------------------------- Don't ask people to reply by private email Hackers believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers. When you ask for a private reply, you are disrupting both the process and the reward. Don't do this. It's the respondent's choice whether to reply privately — and if he does, it's usually because he thinks the question is too obvious or ill-formed to be interesting to others. There is one limited exception to to this rule. If you think the question is such that you are likely to get a lot of answers that are all pretty similar, then the magic words are "email me and I'll summarize the answers for the group". It is courteous to try and save the mailing list or newsgroup a flood of substantially identical postings — but you have to keep the promise to summarize. -------------------------------------------------------------------------------- Prune pointless queries Resist the temptation to close your request for help with semantically-null questions like "Can anyone help me?" or "Is there an answer?" First: if you've written your problem description halfway competently, such tacked-on questions are at best superfluous. Second: because they are superfluous, hackers find them annoying — and are likely to return logically impeccable but dismissive answers like "Yes, you can be helped" and "No, there is no help for you." -------------------------------------------------------------------------------- Courtesy never hurts, and sometimes helps Be courteous. Use "Please" and "Thanks in advance". Make it clear that you appreciate the time people spend helping you for free. To be honest, this isn't as important as (and cannot substitute for) being grammatical, clear, precise and descriptive, avoiding proprietary formats etc.; hackers in general would rather get somewhat brusque but technically sharp bug reports than polite vagueness. (If this puzzles you, remember that we value a question by what it teaches us.) However, if you've got your technical ducks in a row, politeness does increase you chances of getting a useful answer. -------------------------------------------------------------------------------- Follow up with a brief note on the solution Send a note after the problem has been solved to all who helped you; let them know how it came out and thank them again for their help. If the problem attracted general interest in a mailing list or newsgroup, it's appropriate to post the followup there. Your followup doesn't have to be long and involved; a simple "Howdy - it was a failed network cable! Thanks, everyone. - Bill" would be better than nothing. In fact, a short and sweet summary is better than a long dissertation unless the solution has real technical depth. Besides being courteous and informative, this sort of followup helps everybody who assisted feel a satisfying sense of closure about the problem. If you are not a techie or hacker yourself, trust us that this feeling is very important to the gurus and experts you tapped for help. Problem narratives that trail off into unresolved nothingness are frustrating things; hackers itch to see them resolved. The good karma that scratching that itch earns you will be very, very helpful to you next time you need to pose a question. -------------------------------------------------------------------------------- How To Interpret Answers RTFM and STFW: How To Tell You've Seriously Screwed Up There is an ancient and hallowed tradition: if you get a reply that reads "RTFM", the person who sent it thinks you should have Read The Fucking Manual. He is almost certainly right. Go read it. RTFM has a younger relative. If you get a reply that reads "STFW", the person who sent it thinks you should have Searched The Fucking Web. He is almost certainly right. Go search it. Often, the person sending either of these replies has the manual or the web page with the information you need open, and is looking at it as he types. These replies mean that he thinks (a) the information you read is easy to find, and (b) you will learn more if you seek out the information than if you have it spoon-fed to you. You shouldn't be offended by this; by hacker standards, he is showing you a rough kind of respect simply by not ignoring you. You should instead thank him for his grandmotherly kindness. -------------------------------------------------------------------------------- If you don't understand... If you don't understand the answer, do not immediately bounce back a demand for clarification. Use the same tools that you used to try and answer your original question (manuals, FAQs, the Web, skilled friends) to understand the answer. If you need to ask for clarification, exhibit what you have learned. For example, suppose I tell you: "It sounds like you've got a stuck zentry; you'll need to clear it." Then: Here's a bad followup question: "What's a zentry?" Here's a good followup question: "OK, I read the man page and zentries are only mentioned under the -z and -p switches. Neither of them says anything about clearing zentries. Is it one of these or am I missing something here?" -------------------------------------------------------------------------------- On Not Reacting Like A Loser Odds are, you'll screw up a few times, on hacker community forums -- in ways detailed in this article, or similar. And you'll be told exactly how you screwed up, possibly with colourful asides. In public. When this happens, the worst thing you can do is whine about the experience, claim to have been verbally assaulted, demand apologies, scream, hold your breath, threaten lawsuits, complain to people's employers, leave the toilet seat up, etc. Instead, here's what you do: Get over it. It's normal. In fact, it's healthy and appropriate. Community standards do not maintain themselves: They're maintained by people actively applying them, visibly, in public. Don't whine that all criticism should have been conveyed via private mail: That's not how it works. Nor is it useful to insist you've been personally insulted when someone comments that one of your claims was wrong, or that his views differ. Those are loser attitudes. There have been hacker forums where, out of some misguided sense of hyper-courtesy, participants are banned from posting any fault-finding with another's posts, and told "Don't say anything if you're unwilling to help the user." The resulting departure of clueful participants to elsewhere causes them to descend into meaningless babble and become useless as technical forums. Exaggeratedly "friendly" (in that fashion) or useful: Pick one. Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life. If you can't manage to be grateful, at least have a little dignity, don't whine, and don't expect to be treated like a fragile doll just because you're a newcomer with a theatrically hypersensitive soul and delusions of entitlement. -------------------------------------------------------------------------------- Questions Not To Ask Here are some classic stupid questions, and what hackers are thinking when they don't answer them. Q: Where can I find program X? Q: I'm having problems with my Windows machine. Can you help? Q: I'm having problems installing Linux or X. Can you help? Q: How can I crack root/steal channel-ops privileges/read someone's email? Q: Where can I find program X? A: The same place I'd find it, fool -- at the other end of a web search. Ghod, doesn't everybody know how to use Google yet? Q: I'm having problems with my Windows machine. Can you help? A: Yes. Throw out that Microsoft trash and install Linux. Q: I'm having problems installing Linux or X. Can you help? A: No. I'd need hands-on access to your machine to troubleshoot this. Go ask your local Linux user group for hands-on help. Q: How can I crack root/steal channel-ops privileges/read someone's email? A: You're a lowlife for wanting to do such things and a moron for asking a hacker to help you. -------------------------------------------------------------------------------- Good and Bad Questions Finally, I'm going to illustrate how to ask questions in a smart way by example; pairs of questions about the same problem, one asked in a stupid way and one in a smart way. Stupid: Where can I find out stuff about the Foonly Flurbamatic? This question just begs for "STFW" as a reply. Smart: I used Google to try to find "Foonly Flurbamatic 2600" on the Web, but I got no useful hits. Does anyone know where I can find programming information on this device? This one has already SFTWed, and sounds like he might have a real problem. Stupid: I can't get the code from project foo to compile. Why is it broken? He assumes that somebody else screwed up. Arrogant of him. Smart: The code from project foo doesn't compile under Nulix version 6.2. I've read the FAQ, but it doesn't have anything in it about Nulix-related problems. Here's a transcript of my compilation attempt; is it something I did? He's specified the environment, he's read the FAQ, he's showing the error, and and he's not assuming his problems are someone else's fault. This guy might be worth some attention. Stupid: I'm having problems with my motherboard. Can anybody help? J. Random Hacker's response to this is likely to be "Right. Do you need burping and diapering, too?" followed by a punch of the delete key. Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren't what one might expect. What are the usual causes of grommicking on MP motherboards? Anybody got ideas for more tests I can run to pin down the problem? This person, on the other hand, seems worthy of an answer. He has exhibited problem-solving intelligence rather than waiting for an answer to drop from on high. In the last question, notice the subtle but important difference between demanding "Give me an answer" and "Please help me figure out what additional diagnostics I can run to achieve enlightenment." In fact, the form of that last question is closely based on a real incident that happened in August 2001 on the linux-kernel mailing list. I (Eric) was the one asking the question that time. I was seeing mysterious lockups on a Tyan S2464 motherboard. The listmembers supplied the critical information I needed to solve them. By asking the question in the way I did, I gave people something to chew on; I made it easy and attractive for them to get involved. I demonstrated respect for my peers' ability and invited them to consult with me as a peer. I also demonstrated respect for the value of their time by telling them the blind alleys I had already run down. Afterwards, when I thanked everyone and remarked how well the process had worked, an lkml member observed that he thought it had worked not because I'm a "name" on that list, but because I asked the question in the proper form. We hackers are in some ways a very ruthless meritocracy; I'm certain he was right, and that if I had behaved like a sponge I would have been flamed or ignored no matter who I was. His suggestion that I write up the whole incident as an instruction to others led directly to the composition of this guide. -------------------------------------------------------------------------------- If You Can't Get An Answer We realize that there are many people who just want to use the software we write, and have no interest in learning technical details. For most people, a computer is merely a tool, a means to an end. We acknowledge that, and don't expect everyone to take an interest in technical matters. Nevertheless, our style of answering questions is tuned for people who do take such an interest. Thus, if you can't get an answer, please don't take it personally that we don't feel we can help you. There are other sources of help you can go to, often sources better adapted to a novice's needs. There are many online and local user groups who are enthusiasts about the software, even though they may never have written any software themselves. These groups often form so that people can help each other and help new users. There are also plenty of commercial companies you can contract with for help, both large and small. Don't be dismayed at the idea of having to pay for a bit of help! After all, if your car engine blows a head gasket, chances are, you will take it to a repair shop and pay to get it fixed. Even if the software didn't cost you anything, you can't expect that support will always come for free. For popular software like Linux, there are are at least 10000 users per developer. It's just not possible for one person to handle the support calls from over 10000 users. Remember that even if you have to pay for support, you are still paying much less than if you had to buy the software as well (and support for closed-source software is usually more expensive and less competent than support for open-source software). Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Sep 10 15:03:00 2001 Subject: [ic] IC 4.8.1 and ML > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of David Bordas > Sent: Monday, September 10, 2001 8:49 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] IC 4.8.1 and ML > > Ok thanks. > But where IC store the information that a customer lambda choose to > recieve > ML ? > If i know this i can make some script to send the mailing. > > For unsubscribe customers can log in to IC and modify their profile. The field it is stored in is mail_list in the userdb table. -Ron From: interchange-users at interchange.redhat.com (Jud Harris) Date: Mon Sep 10 15:35:01 2001 Subject: [ic] IC -> MOM export module help Hey folks - I'm currently working on an IC -> Mail Order Manager (MOM) export module for Interchange (via an order route). It's going to append orders to a daily text file in csv format, according to MOM's import specs. MOM handles up to five unique items per line - in other words, for each line it imports there are PRODUCT1, QUANTITY1, PRODUCT2, QUANTITY2, etc.. on up to 5. If an order has more than 5 different items, it puts a 'Y' in the CONTINUED field and the next line's PRODUCT1, QUANTITY1 fields contain the 6th item's information. Due to my unfamiliarity with all the IC tags, I'm not too sure how to approach this. I know I need to loop through all the items/qty in the final order and split them out to the MOM fields, but I'm not sure where to start. I was also thinking that if there was some way to access the items in an array via perl, I could do it that way. Unfortunately I'm not too sure what to ask -- but if anyone can offer any advice, I'll appreciate it. Thanks! -Jud From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Sep 10 15:57:01 2001 Subject: [ic] cgi var in page tag Hi, is it possible to pass a cgi-var with the [page] tag so that it can be accessed with the [cgi] tag. eg. the link looks like 'http://hal9k/cgi-bin/ws/ord/checkout.html?blabla=foo' without building it by hand like: http://@_SERVER_NAME_@@_CGI_URL_@/ord/checkout.html?blabla=foo i need it to see wich link the user has selected! _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 10 16:03:01 2001 Subject: [ic] cgi var in page tag Try <a href=[area href=ord/checkout form=|blabla=foo| ]>LINK</a> Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 Tobias Henle <t.henle@thiesen.com> Sent by: interchange-users-admin@interchange.redhat.com 09/10/2001 01:03 PM Please respond to interchange-users To: interchange-users@interchange.redhat.com cc: Subject: [ic] cgi var in page tag Hi, is it possible to pass a cgi-var with the [page] tag so that it can be accessed with the [cgi] tag. eg. the link looks like 'http://hal9k/cgi-bin/ws/ord/checkout.html?blabla=foo' without building it by hand like: http://@_SERVER_NAME_@@_CGI_URL_@/ord/checkout.html?blabla=foo i need it to see wich link the user has selected! _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (veronica lopez) Date: Mon Sep 10 16:33:00 2001 Subject: [ic] select a specified number of records from a postgres table hi. i hope this is an easy question for someone. i am trying to do the equivalence of an Oracle ROWNUM or a SQLServer TOP command with postgres and cannot figure it out. thank you, helpless From: interchange-users at interchange.redhat.com (Jim Webster) Date: Mon Sep 10 16:35:01 2001 Subject: [ic] 1DA Missing consigneecountry Hi, Im fairly new to interchange but learning quickly. I have the fix to my problem by reading the forum posts however, I can't FIND where the fix is to be performed. In order for shipping to work properly, I have to remove this line: $country = undef if $country eq 'US'; In: ups_query.tag Can someone help? Jim. Sites that have this problem: www.saturdaycollectibles.com www.things2dust.com www.backyarddreams.net From: interchange-users at interchange.redhat.com (George Loch) Date: Mon Sep 10 16:47:00 2001 Subject: [ic] IC on Windows Is is even possible to run IC on a win2k server? Thanks George Loch From: interchange-users at interchange.redhat.com (mareks66) Date: Mon Sep 10 16:49:00 2001 Subject: [ic] Very, Very slow check out - possible PGP problem Hi all! I installed a new - out of the box - Linux Mandrake 8.0, installed Interchange 4.8.1 and ..... all works lightning fast (serching, browsing) but when I hit "check out", I have to wait for 60 s for a reply. No errors, but it realy last so long. What I have observed, is: 1. linux command top shows, that process "interchange" is very heavy for a server while waiting for check out page to be displayed top sais: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND ---------------------------------- 2265 interch 14 0 1092 1092 852 R 0,7 0,4 0:00 top 2262 interch 15 0 23028 22M 14204 S 0,5 9,0 0:01 interchange 1 root 8 0 528 528 460 S 0,0 0,2 0:06 init 2 root 9 0 0 0 0 SW 0,0 0,0 0:00 keventd 3 root 9 0 0 0 0 SW 0,0 0,0 12:06 kapm-idled 4 root 9 0 0 0 0 SW 0,0 0,0 0:00 kswapd 5 root 9 0 0 0 0 SW 0,0 0,0 0:00 kreclaimd 6 root 9 0 0 0 0 SW 0,0 0,0 0:00 bdflush etc............ 2. The was no difference whather it was postgres or txt database backend it seems to me lik IC is computing sth like PGP key. p. help. -- Mmm czesc to ja. Chcesz mnie ... rozebrac? OK, zagraj ze mna w ruletke [ http://miss.onet.pl/start.html ] From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Sep 10 17:05:00 2001 Subject: [ic] select a specified number of records from a postgres table > hi. i hope this is an easy question for someone. i am trying to do the > equivalence of an Oracle ROWNUM or > a SQLServer TOP command with postgres and cannot figure it out. In MySQL its LIMIT: SELECT * FROM products LIMIT 5 to return 5 rows. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Sep 10 17:08:01 2001 Subject: [ic] 1DA Missing consigneecountry > > In order for shipping to work properly, I have to remove this line: > > $country = undef if $country eq 'US'; > > In: > > ups_query.tag > try using locate at a command prompt: [root@ws-ecom-3 home]# locate ups_query /usr/lib/interchange/usertag/ups_query Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Andreas, Scott) Date: Mon Sep 10 17:09:01 2001 Subject: [ic] IC on Windows it sure is but why would you. If you use RH gnutools/cygwin application for migration. However most would find it easier to configure IC on a *nix machine than a WinDoze machine -----Original Message----- From: George Loch [mailto:george@halescreative.com] Sent: Monday, September 10, 2001 1:50 PM To: interchange-users@interchange.redhat.com Subject: [ic] IC on Windows Is is even possible to run IC on a win2k server? Thanks George Loch _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mark R. Misko) Date: Mon Sep 10 17:15:00 2001 Subject: [ic] Adding rate tables How can I add more rate tables for shipping? I am using version 4.6. I have replaced the default rate and zone tables with the updated files downloaded from the net...all works very well. I am having problems viewing additional rate tables though for other shipping methods. I have been able to add in another zone table simply by placing the .csv in the proper directory. When I use the Internal UPS lookup, I see the listing with all the zones. I did notice that to see the zone table in the drop down menu (on the Edit Methods page), the file had to begin with a number which was different than the other zone charts. I also uploaded rate charts similar to the "Ground.csv" to use with my new rates. Unfortunately, the rates do not appear in the drop down menu like the zone charts do even though they are located in the same directory as the others. Do I need to create a new table through a command prompt first and then import the data? I am missing something else perhaps? Thanks a lot, -Mark From: interchange-users at interchange.redhat.com (George Loch) Date: Mon Sep 10 17:32:01 2001 Subject: [ic] IC on Windows The server I am setting the store up for is running under win2k but, I think I will just go for a sub-domain(store.website.com) and do the store section on my redhat box. Thanks George Loch > it sure is but why would you. > > If you use RH gnutools/cygwin application for migration. However most would > find it easier to configure IC on a *nix machine than a WinDoze machine > > -----Original Message----- > From: George Loch [mailto:george@halescreative.com] > Sent: Monday, September 10, 2001 1:50 PM > To: interchange-users@interchange.redhat.com > Subject: [ic] IC on Windows > > > Is is even possible to run IC on a win2k server? > > Thanks > > George Loch > > > _______________________________________________ > 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 Sep 10 18:01:01 2001 Subject: [ic] Very, Very slow check out - possible PGP problem Quoting mareks66 (mareks66@poczta.onet.pl): > Hi all! > > I installed a new - out of the box - Linux Mandrake 8.0, installed > Interchange 4.8.1 and ..... > > all works lightning fast (serching, browsing) but when I hit "check out", I > have to wait for 60 s for a reply. No errors, but it realy last so long. Probably you are using the default UPS shipping modes and have no Internet connection or a very slow Internet connection. Try changing the ship modes for your country to something else and see what happens.... -- 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 (interchange-users at interchange.redhat.com) Date: Mon Sep 10 18:06:00 2001 Subject: [ic] How does one customize the admin interface for a single admin sit Ok. I would like to create a copy of the admin interface that comes with the foundation catalog for each site I do. The code for the admin interface seems to be under interchange/lib. How do I take all that code and put it somewhere that I can muck with it for all the sites? And keep the source under a souce code control system. For example I want my users to come into that admin interface to modify products and also modify news article contents. Should be possible to add a button to the admin interface for "Articles" and use the same methodology that the product editor uses to update the Postgres tables for articles. Thanks in advance. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (interch) Date: Mon Sep 10 18:12:00 2001 Subject: [ic] Multiple sql databases with same table names How would I go about setting up IC to be able to access multiple databases that all have the same table names from within a single catalog? Chris From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Sep 10 18:22:01 2001 Subject: [ic] How does one customize the admin interface for a single admin sit e > Ok. I would like to create a copy of the admin interface that comes with > the foundation catalog for each site I do. The code for the > admin interface > seems to be under interchange/lib. How do I take all that code and put it > somewhere that I can muck with it for all the sites? And keep the source > under a souce code control system. make a copy in <catroot>/pages/admin/ for each catalog. this location will override the default admin pages you have found on a per-catalog basis. So you only need to copy the pages you intend to modify. Great eh? Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Interchange server) Date: Mon Sep 10 18:24:00 2001 Subject: [ic] Very, Very slow check out - possible PGP problem On Mon, Sep 10, 2001 at 06:00:26PM -0400, mheins@redhat.com wrote: > Quoting mareks66 (mareks66@poczta.onet.pl): > > Hi all! > > > > I installed a new - out of the box - Linux Mandrake 8.0, installed > > Interchange 4.8.1 and ..... > > > > all works lightning fast (serching, browsing) but when I hit "check out", I > > have to wait for 60 s for a reply. No errors, but it realy last so long. > > Probably you are using the default UPS shipping modes and have no Internet > connection or a very slow Internet connection. ...or broken DNS. I ran into this a while back. From: interchange-users at interchange.redhat.com (Moe Pitman) Date: Mon Sep 10 18:28:00 2001 Subject: [ic] Internal Server Errors I have installed Interchange 4.8.1 (the rpm) on a Redhat box, and I am trying to configure a shopping cart. My biggest problem is that I get Internal Server Error pages constantly while using the admin interface, and sometimes while just browsing through the shop. Restarting the Interchange server seems to solve this temporarily, but it happens a LOT. /var/log/interchange/error.log seems to log almost nothing but server stops and starts, regardless of logging level. My own cart has never logged anything at all, so I am getting a bit frustrated. The problem seems especially prevalent when I am working with the page or template editor. Any suggestions? --Moe Pitman From: interchange-users at interchange.redhat.com (Johnny Maldonado) Date: Mon Sep 10 18:48:00 2001 Subject: [ic] Admin directory missing Hello I succesfully installed interchange 4.8.1 using the demo version. at this point I can see the customer interface files however when I try to connect to the Admin interface their are no files theres in fact theres not even a directory name admin that should be located in /var/www/cgi-bin/admin can somone tell me what went wrong? Thanks a million... Johnny M _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Sep 10 18:55:00 2001 Subject: [ic] How does one customize the admin interface for a single admin At 11:21 PM 09/10/2001 +0100, you wrote: > > Ok. I would like to create a copy of the admin interface that comes with > > the foundation catalog for each site I do. The code for the > > admin interface > > seems to be under interchange/lib. How do I take all that code and put it > > somewhere that I can muck with it for all the sites? And keep the source > > under a souce code control system. > >make a copy in <catroot>/pages/admin/ for each catalog. > >this location will override the default admin pages you have found on a >per-catalog basis. So you only need to copy the pages you intend to modify. > >Great eh? > >Jonathan >Webmaint. You should also be able to override UI_BASE on a per-catalog basis, to point to an alternate directory in VENDROOT/lib/UI/pages/. This would give you custom UI page dir for a given catalog while keeping the actual pages out of the client's catalog directory. - 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 Sep 10 19:03:00 2001 Subject: [ic] How does one customize the admin interface for a single Does this have the advantage that Jonathan mentioned of only overriding the ones you need to override, or should I copy all of UI/pages to the new location? Also, what is the advantage of keeping them out of the catalog directory? Security (I assume)? It would make it easier to put them in a single scs project if it were in the catalog directory. Patrick >make a copy in <catroot>/pages/admin/ for each catalog. > >this location will override the default admin pages you have found on a >per-catalog basis. So you only need to copy the pages you intend to modify. > >Great eh? > >Jonathan >Webmaint. You should also be able to override UI_BASE on a per-catalog basis, to point to an alternate directory in VENDROOT/lib/UI/pages/. This would give you custom UI page dir for a given catalog while keeping the actual pages out of the client's catalog directory. - Ed L. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 10 19:05:01 2001 Subject: [ic] Admin directory missing My recent e-mails were in exactly that vein. You look in your interchange install dir under lib/UI/pages/admin. Not sure how it does that particular magic with the path, but those are defintely the files you want to look at. Patrick -----Original Message----- From: Johnny Maldonado [mailto:johnnymaldonado@hotmail.com] Sent: Monday, September 10, 2001 4:36 PM To: interchange-users@interchange.redhat.com Subject: [ic] Admin directory missing Hello I succesfully installed interchange 4.8.1 using the demo version. at this point I can see the customer interface files however when I try to connect to the Admin interface their are no files theres in fact theres not even a directory name admin that should be located in /var/www/cgi-bin/admin can somone tell me what went wrong? Thanks a million... Johnny M From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 10 19:07:00 2001 Subject: [ic] Multiple sql databases with same table names Quoting interch (interch@web3.valley-internet.com): > > > How would I go about setting up IC to be able to access multiple databases > that all have the same table names from within a single catalog? Starting in 4.8, that became possible. Database vendor1_products vendor1_products.txt dbi:mysql:vendor1 Database vendor1_products REAL_NAME products Database vendor2_products vendor2_products.txt dbi:mysql:vendor2 Database vendor2_products REAL_NAME products -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> When the only tool you have is a hammer, all your problems tend to look like nails. -- Abraham Maslow From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Sep 10 19:32:00 2001 Subject: [ic] How does one customize the admin interface for a single At 05:03 PM 09/10/2001 -0600, you wrote: >Does this have the advantage that Jonathan mentioned of only overriding the >ones you need to override, or should I copy all of UI/pages to the new >location? You would need to copy the contents of the entire admin dir (including all subdir's), I think. >Also, what is the advantage of keeping them out of the catalog directory? >Security (I assume)? It would make it easier to put them in a single scs >project if it were in the catalog directory. True. You mentioned something about keeping control of the code in your original post and I assumed you meant keeping the catalog user's hands of the admin page files. If that is not a concern, then overriding piecemeal in the catalog directory is definitely a more flexible way. - Ed L. >Patrick > > >make a copy in <catroot>/pages/admin/ for each catalog. > > > >this location will override the default admin pages you have found on a > >per-catalog basis. So you only need to copy the pages you intend to modify. > > > >Great eh? > > > >Jonathan > >Webmaint. > >You should also be able to override UI_BASE on a per-catalog basis, to >point to an alternate directory in VENDROOT/lib/UI/pages/. This would give >you custom UI page dir for a given catalog while keeping the actual pages >out of the client's catalog directory. > >- Ed L. >_______________________________________________ >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 (Jim Balcom) Date: Mon Sep 10 20:10:01 2001 Subject: [ic] ESR: How To Ask Questions The Smart Way On Mon, 10 Sep 2001, Dan Browning wrote: DB>>I enjoyed Eric's most recent FAQ, "How To Ask Questions The Smart Way". It DB>>would be extremely beneficial if every poster on the Internet (including DB>>interchange-users) were to read this and put it into practice. Yet, I DB>>somehow think that those who need it most will be most unlikely to read it; DB>>and those that do read will be most likely to already know it. That is absolutely tremendous! Now I know that many of the things that irritate me privately are generally irritating! (I was taking them personally!) I wish that he would have defined 'hacker'. In my book, he is using it exactly correctly. But, the term has gotten ripped off and made into something evil - which isn't fair. And, finally, I wish that he would have included a portion on quoting, but that may well be outside of the scope of that particular FAQ. I would like to see this, as well as a Quoting FAQ published on this list on a weekly basis. (These messages that say nothing more than "Me too" (or something similar) are meaningless and irritating - at least to me!) Thanks for posting it! Let's do it again sometime! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 10, 2001 at 20:00 PM: I couldn't care less about apathy. ---------------------------------------------------------------- This Linux System has been up 1 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 10 20:13:00 2001 Subject: [ic] IC on Windows On Mon, 10 Sep 2001, George Loch wrote: GL>>Is is even possible to run IC on a win2k server? Why would you want to put IC in a wheelchair? There are easier ways to get a handicapped parking sticker! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 10, 2001 at 20:10 PM: Why is "abbreviation" such a long word? ---------------------------------------------------------------- This Linux System has been up 2 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 10 20:18:00 2001 Subject: [ic] Very, Very slow check out - possible PGP problem On Mon, 10 Sep 2001, mareks66 wrote: m>>I installed a new - out of the box - Linux Mandrake 8.0, installed I am glad that you were able to get Mandrake to install. I've got 8.0 and it refused to install. I paid over $60 for mine, it wouldn't install, and support was ridiculous. But, that's neither here nor there for your problem. m>>all works lightning fast (serching, browsing) but when I hit "check out", I m>>have to wait for 60 s for a reply. No errors, but it realy last so long. m>>What I have observed, is: You need to have a REALLY fast server. I have mine on a 1.2Ghz CPU with 512 megs of RAM and there are still some delays, even over a LAN. So much of IC is being done on the client side, rather than on the server. If the client side is on a slow machine with limited RAM, then constructing the pages will take a while. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 10, 2001 at 20:10 PM: Why is "abbreviation" such a long word? ---------------------------------------------------------------- This Linux System has been up 2 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 10 20:23:01 2001 Subject: [ic] Adding rate tables On Mon, 10 Sep 2001, Mark R. Misko wrote: MRM>>How can I add more rate tables for shipping? I am using version 4.6. Around the end of June I added Priority Mail to my shipping set up, and I wrote up all of the details on this list. Look through the archives for the messages around that time frame from myself and others about this. Play with what's there. Once you get hung, ask me specific questions and I'll be glad to help you. There are a lot of steps, but it's not overy difficult. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 10, 2001 at 20:20 PM: Progress is made on alternate Fridays. ---------------------------------------------------------------- This Linux System has been up 2 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Sep 10 20:34:01 2001 Subject: [ic] IC on Windows > GL>>Is is even possible to run IC on a win2k server? > > Why would you want to put IC in a wheelchair? That was a great one! :) Rene From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 10 20:58:01 2001 Subject: [ic] Very, Very slow check out - possible PGP problem On Mon, Sep 10, 2001 at 08:18:31PM -0400, Jim Balcom wrote: > On Mon, 10 Sep 2001, mareks66 wrote: > > m>>I installed a new - out of the box - Linux Mandrake 8.0, installed > > I am glad that you were able to get Mandrake to install. I've got 8.0 and it > refused to install. I paid over $60 for mine, it wouldn't install, and > support was ridiculous. But, that's neither here nor there for your problem. > > m>>all works lightning fast (serching, browsing) but when I hit "check out", I > m>>have to wait for 60 s for a reply. No errors, but it realy last so long. > m>>What I have observed, is: > > You need to have a REALLY fast server. I have mine on a 1.2Ghz CPU with 512 > megs of RAM and there are still some delays, even over a LAN. That's very misleading. Sure more RAM is better. It's my experience that performance is almost entirely architectural - the architecture of your site, NOT the hardware; eg we get about the same performance on a P75 as we do on a PIII whatever. How you index the data, what are the joins, what are the caches, how do you index it, how do you build tables or do you build tables at all, caches again, how do you massage your data, any one of those dwarfs (dwarves? nahhhh) any performance issues in mv/ic itself. And yes, once all of that works nicely, if you send a few layers of nested tables, then it's all wasted without a fast client machine. > > So much of IC is being done on the client side, rather than on the server. > If the client side is on a slow machine with limited RAM, then constructing > the pages will take a while. Hmmmmm????? I guess I am out of date. > > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Monday, September 10, 2001 at 20:10 PM: > Why is "abbreviation" such a long word? > > ---------------------------------------------------------------- > This Linux System has been up 2 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 (interchange-users at interchange.redhat.com) Date: Mon Sep 10 21:07:00 2001 Subject: [ic] How does one customize the admin interface for a single admin sit e Quoting Ed LaFrance (edl@newmediaems.com): > At 05:03 PM 09/10/2001 -0600, you wrote: > >Does this have the advantage that Jonathan mentioned of only overriding the > >ones you need to override, or should I copy all of UI/pages to the new > >location? > > You would need to copy the contents of the entire admin dir (including all > subdir's), I think. > > > >Also, what is the advantage of keeping them out of the catalog directory? > >Security (I assume)? It would make it easier to put them in a single scs > >project if it were in the catalog directory. > > True. You mentioned something about keeping control of the code in your > original post and I assumed you meant keeping the catalog user's hands of > the admin page files. If that is not a concern, then overriding piecemeal > in the catalog directory is definitely a more flexible way. You can also add a new template directory if you want to -- the directory which is used for the UI pages is simply set by: TemplateDir lib/UI/pages You can add one in your catalog.cfg as well, which will be searched before the system-specified one. -- 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 (Jerry Hall) Date: Mon Sep 10 21:19:00 2001 Subject: [ic] Installing Interchange on Cobalt RAQ4 - WhoooWeeeee - Any help? Hey there, We're trying to install the latest version of Interchange on my Cobalt Raq4. Do you have, or know anyone who might have, successful results in this task? We're hoping to find someone to bounce some important questions off of regarding this. Thanks much! Jerry Hall eWebLab.com Business and Community Web Sites How can we help you make the world a better place? 858-274-2121 jerry@eWebLab.com From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Mon Sep 10 21:48:00 2001 Subject: [ic] Installing Interchange on Cobalt RAQ4 - WhoooWeeeee - Any help? Jerry, I have also attempted to try and install IC 4.8.1 on a raq4. I have had no luck, I found the main problem was the linking between the cgi program and the catalog (was using cgi wrapper config option), I couldn't get it to find the catalog at all. And there were a few compile problems that were perl related, but IC should have run independent of these apparently. I have had no problems with the tarball on a slackware system, as well as a redhat 6 system, just cobalt linux seems so finnicky. If you have any luck please post the process you went through to get IC up and running, am very curious. Regards, Ross Cousens -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jerry Hall Sent: Tuesday, 11 September 2001 11:20 AM To: interchange-users@interchange.redhat.com Subject: [ic] Installing Interchange on Cobalt RAQ4 - WhoooWeeeee - Any help? Hey there, We're trying to install the latest version of Interchange on my Cobalt Raq4. Do you have, or know anyone who might have, successful results in this task? We're hoping to find someone to bounce some important questions off of regarding this. Thanks much! Jerry Hall eWebLab.com Business and Community Web Sites How can we help you make the world a better place? 858-274-2121 jerry@eWebLab.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 (Jason Korkin) Date: Mon Sep 10 21:59:00 2001 Subject: [ic] Installing Interchange on Cobalt RAQ4 - WhoooWeeeee - Any help? Folks -- Getting IC to work on a RaQ (insert version here) system is really quite easy... Here is a message I posted in 1999 about running MiniVend on a Raq system: http://developer2.akopia.com/archive/interchange-users/1999/msg04775.html Basically, add the following line to your httpd.conf file on the RaQ: AddHandler cgi-script .ic Then restart Apache on the machine; once it restarts, then do a makecat. When it prompts for the name of the CGI executable, make sure that it ends in .ic - this will by-pass the CGI-Wrap and run a standard CGI-SCRIPT handler on the file, allowing it to work properly on the RaQ. Best, Jason Korkin President Korksoft LLC http://www.korksoft.com --------------------------------------------------------------- **** 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 (Jake Thompson) Date: Mon Sep 10 23:29:01 2001 Subject: [ic] Very, Very slow check out - possible PGP problem I found that the wizard PGP setup caused the ordering to take a really long time, probably the pgp program asking to allow an insecure key to be used, and the program timing out in what it was doing. I manually added the correct pgp entries in the variable.txt and it seemed to solve the problem. Later, Jake T. -----Original Message----- From: mareks66 [mailto:mareks66@poczta.onet.pl] Sent: Monday, September 10, 2001 4:55 PM To: interchange-users@interchange.redhat.com Subject: [ic] Very, Very slow check out - possible PGP problem Hi all! I installed a new - out of the box - Linux Mandrake 8.0, installed Interchange 4.8.1 and ..... all works lightning fast (serching, browsing) but when I hit "check out", I have to wait for 60 s for a reply. No errors, but it realy last so long. What I have observed, is: 1. linux command top shows, that process "interchange" is very heavy for a server while waiting for check out page to be displayed top sais: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND ---------------------------------- 2265 interch 14 0 1092 1092 852 R 0,7 0,4 0:00 top 2262 interch 15 0 23028 22M 14204 S 0,5 9,0 0:01 interchange 1 root 8 0 528 528 460 S 0,0 0,2 0:06 init 2 root 9 0 0 0 0 SW 0,0 0,0 0:00 keventd 3 root 9 0 0 0 0 SW 0,0 0,0 12:06 kapm-idled 4 root 9 0 0 0 0 SW 0,0 0,0 0:00 kswapd 5 root 9 0 0 0 0 SW 0,0 0,0 0:00 kreclaimd 6 root 9 0 0 0 0 SW 0,0 0,0 0:00 bdflush etc............ 2. The was no difference whather it was postgres or txt database backend it seems to me lik IC is computing sth like PGP key. p. help. -- Mmm czesc to ja. Chcesz mnie ... rozebrac? OK, zagraj ze mna w ruletke [ http://miss.onet.pl/start.html ] _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Mon Sep 10 23:50:00 2001 Subject: [ic] Perl modules for IC t/hostname..........ok t/require...........FAILED tests 8-9 Failed 2/11 tests, 81.82% okay Failed Test Status Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- ---- t/require.t 11 2 18.18% 8-9 3 tests skipped. Failed 1/5 test scripts, 80.00% okay. 2/12 subtests failed, 83.33% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Bundle summary: The following items in bundle Bundle::libnet had installation problems: Net::Cmd When installing _ANY_ of the perl modules now, I alweays get failures in require, and it spacs itself. Being ignorant of perl I have no damn idea on how to remedy this at all, any suggestions? How would I find out at least more information about the problem? [root sites]# perl -v This is perl, v5.6.1 built for i586-linux Regards, Ross From: interchange-users at interchange.redhat.com (George Loch) Date: Tue Sep 11 00:02:01 2001 Subject: [ic] IC on Windows Obviously, this is the WRONG group to mention the windogs platform ;) Thanks for the *help* George ----- Original Message ----- From: "Rene Hertell" <rene@hertell.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 10, 2001 6:33 PM Subject: RE: [ic] IC on Windows > > GL>>Is is even possible to run IC on a win2k server? > > > > Why would you want to put IC in a wheelchair? > > That was a great one! :) > > Rene > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Tue Sep 11 00:35:01 2001 Subject: [ic] IC on Windows > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of George Loch > > Obviously, this is the WRONG group to mention the windogs platform ;) > > Thanks for the *help* > > George George, Last that I read was that it's possible to run IC on Windows with ActivePerl (I think that's what it is called) installed. Don't let some of these guys scare you off ;) -Ron > ----- Original Message ----- > From: "Rene Hertell" <rene@hertell.com> > To: <interchange-users@interchange.redhat.com> > Sent: Monday, September 10, 2001 6:33 PM > Subject: RE: [ic] IC on Windows > > > > > GL>>Is is even possible to run IC on a win2k server? > > > > > > Why would you want to put IC in a wheelchair? > > > > That was a great one! :) > > > > Rene > > _______________________________________________ > > 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 (Ross Cousens) Date: Tue Sep 11 01:46:01 2001 Subject: [ic] Perl modules for IC Ok I've spent the last 3 hours doing nothing but working on getting Interchange up on the RaQ4. Finally done!!! http://www.watchshop-online.com/foundation/index.html or /foundation.ic (with default tools catalogue). Steps were, -Update perl to 5.6.1 from tarball distribution -Made symlinks from old Cobalt .pm's that aren't a CPAN package to the new @INC directory -Admin server went down, stock distribution doesn't have a lot of the modules that Cobalt admin server uses -Constantly refreshed page while checking /etc/httpd/logs/adm_error, installed modules it complained about, when no errors came back admin server worked correctly again -Installed Bundle::Interchange -Installed interchange as a user with admin privileges to the site that I was getting interchange up on, install dir /home/sites/<sitedir>/users/interch/interchange -Edited /etc/httpd/conf/access.conf to have Options ExecCGI on the directory /home/sites/<sitedir>/web -Edited /etc/httpd/conf/httpd.conf to have AddHandler cgi-script .ic to the virtual site configuration part for <sitedir> -Restarted interchange, httpd Site up!@#! Regards, Ross Cousens (If that doesn't make sense I apologise, I'm all worn out.) -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ross Cousens Sent: Tuesday, 11 September 2001 1:50 PM To: interchange-users@interchange.redhat.com Subject: [ic] Perl modules for IC t/hostname..........ok t/require...........FAILED tests 8-9 Failed 2/11 tests, 81.82% okay Failed Test Status Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- ---- t/require.t 11 2 18.18% 8-9 3 tests skipped. Failed 1/5 test scripts, 80.00% okay. 2/12 subtests failed, 83.33% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Bundle summary: The following items in bundle Bundle::libnet had installation problems: Net::Cmd When installing _ANY_ of the perl modules now, I alweays get failures in require, and it spacs itself. Being ignorant of perl I have no damn idea on how to remedy this at all, any suggestions? How would I find out at least more information about the problem? [root sites]# perl -v This is perl, v5.6.1 built for i586-linux Regards, Ross _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Howard William Office National) Date: Tue Sep 11 01:49:01 2001 Subject: [ic] search parameters se=I% and op=like not working after upgrade Hi, I don't post to this group much as I normally work it out, but after a recent attack we decided to do a clean update to Redhat 7.1 / Interchange 4.8.1 / Perl 5.6.1 I've rebuilt the site (almost) and think I'm missing a perl module that was on the system from the Minivend days. The function relates to the search parameters se=I% and op=like as in "begining with" I One of the offending pages is http://www.hwon.com.au/cgi-bin/products/scan/fi=products_index%2etxt/co=yes/ se=I%25/op=LIKE/sf=title/tf=title/to=f/sp=results_index/ml=999.html Any help would be appreciated. Greg Heath IT & T Consultant Howard William Office National P.S. why not visit our web site hwon.com.au for your office needs. From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Tue Sep 11 03:55:01 2001 Subject: [ic] Upload Excel File Hi, I tried to upload the construct.xls template and get the following error message DBD::mysql::db do failed: You have an error in your SQL syntax near 'where sku = 'os28070'' at line 1 at /Users/gv/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' Any idea or help would be appreciated. Thanks. Goetz ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Michael Zwiener) Date: Tue Sep 11 04:14:01 2001 Subject: [ic] Dphimentation available in German??? Hi, is there anywere a documentation available in German? I didn't found it jet... Greets Michael Howard William Office National wrote: > > Hi, > I don't post to this group much as I normally work it out, but after a > recent attack we decided to do a clean update to Redhat 7.1 / Interchange > 4.8.1 / Perl 5.6.1 > I've rebuilt the site (almost) and think I'm missing a perl module that was > on the system from the Minivend days. The function relates to the search > parameters se=I% and op=like as in "begining with" I > > One of the offending pages is > http://www.hwon.com.au/cgi-bin/products/scan/fi=products_index%2etxt/co=yes/ > se=I%25/op=LIKE/sf=title/tf=title/to=f/sp=results_index/ml=999.html > > Any help would be appreciated. > > Greg Heath > IT & T Consultant > Howard William Office National > P.S. why not visit our web site hwon.com.au for your office needs. > > _______________________________________________ > 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: Tue Sep 11 05:49:00 2001 Subject: [ic] Adding new field in checkout.htm and order process Hi list, just a question that seem not to be very easy to me, i've had a new field in checkout.html name shop. Is customer select shipping method = shop then i ask for fill the shop field. But how can i store this field in the order process ? I'd like to print it in admin in the order information. Should i create a scratch and if yes how can i store it ? Thanks to the list. From: interchange-users at interchange.redhat.com (Marek Szczepaniak) Date: Tue Sep 11 05:52:00 2001 Subject: [ic] Very, Very slow check out - possible PGP problem - SOLUTION mheins@redhat.com WAS RIGHT, the problem was solved by cutting all of ups methods of shipping. What was wondering me, was the fact I hade a second copy of IC installed in my home - of line. It worked just fine - as you see it was caused by a slow connection to ups links (from far far away...... from Poland). Quoting mareks66 (mareks66@poczta.onet.pl): > Hi all! > > I installed a new - out of the box - Linux Mandrake 8.0, installed > Interchange 4.8.1 and ..... > > all works lightning fast (serching, browsing) but when I hit "check out", I > have to wait for 60 s for a reply. No errors, but it realy last so long. Probably you are using the default UPS shipping modes and have no Internet connection or a very slow Internet connection. Try changing the ship modes for your country to something else and see what happens.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Pozdrawiam, Marek Szczepaniak |--------------------------------------------------------------| | TECHNOLOGIE JUTRA DZISIAJ |--------------------------------------------------------------| | P.W. Structum Sp. z o.o. | ul. Niepodleg³oœci 30/59 | 20-246 LUBLIN | POLAND | tel./fax +48 81 7470014 | http://www.structum.com.pl | e-mail: info@structum.com.pl |--------------------------------------------------------------| | PROFESJONALNE ROZWI¥ZANIA WWW |--------------------------------------------------------------| From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 11 08:23:00 2001 Subject: [ic] mv_raw_searchspec remains undefined Quoting Craig Carman (webmaster@seeshopgo.com): > Dear IC Acquaintances, > > Where and how do I learn the use of mv_raw_searchspec (SE) since > it seems to be undocumented? > It shouldn't be a part of the code or docs anymore. It is meaningless. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 11 08:29:01 2001 Subject: [ic] discount & salestax Quoting Steve Bourg (ml_interchange@integrity.bourg.net): > Hey All, for some reason the sales tax on orders is not adjusting when I > use the discount tag (it does accurately reflect the non-discounted > subtotal and my tax rate). The discount is reflected on the subtotal of > the checkout page and the receipt. I'm using Interchange 4.6.5. > > Here's the syntax I'm using in the [perl] tag to discount my > order: $Tag->discount('ENTIRE_ORDER', '$s - 10'); > > Manual adjustment of the sales tax does not seem to take effect > either: $Tag->assign({salestax => 2.99, }); > > Any suggestions? There is a bug. A fix will be forthcoming.... -- 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 (IC-Admin) Date: Tue Sep 11 08:42:01 2001 Subject: [ic] Dphimentation available in German??? On Tue, 11 Sep 2001, Michael Zwiener wrote: > Hi, > > is there anywere a documentation available in German? I didn't found it > jet... > > Greets > Michael No, apparently not (yet). But honestly do you think it would help you to understand IC better if you had documentation available in German ? I guess if wordings or expressions in the documentation don't make sense to you in the English version, there might be three possible reasons for that. 1. you lack some prerequisite knowledge to understand the meaning of a certain expressions or technical terms 2. the documentation don't build up your discovery through the package in a logical order, starting from the bottom up, or let's say following the order a newbie would approach the package. 3. the wording of the documentation is not clear enough in English itself. A translation of the documentation wouldn't help much with point 1, wouldn't help much with point 2 and wouldn't help to produce a clear enough German translation when dealing with point 3. It is no easy task to do point 2. properly, because people with too diverse backgrounds want to use IC for two diverse purposes. You can't write something which fits everybody's needs (and for sure not on a completely volunteer basis) and there have been (in the course of the events of the last two years I would say) more urgent tasks to be accomplished first by the developer team. To recognize what might be missing in your prerequisite knowledge is more or less up to you. I have found that people who try to give advice in that regard, mostly are not believed by the people who need the advice most. (You know that saying that "an advice is something you knew all along but never wanted to know anyway", right ?) Point 3 can be resolved by a good editor. So, I think you just need to be a bit more patient. People will start to translate, when they feel they are ready for it. So far everybody seemed to be busy to keep up with the changes and understand what a terrific package IC has become and fill in the holes of their own knowledge to make good use of IC. Regards, Birgitt From: interchange-users at interchange.redhat.com (joachim.richter) Date: Tue Sep 11 08:51:01 2001 Subject: [ic] <select></select> picture Hi everybody, actually somebody asked this before, but I just cannot find it in the list. We have an article which has lets say 25 different color schemes, what we would like to is, as soon as the customer selects a certain color in the <select> field the color (pic) should be shown next to it the guy who answered this last time has a shop with fishing supply, hey are you ot there ! thanx 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 Sep 11 08:53:00 2001 Subject: [ic] SQl Database Setup Hi list, what is the easiest way to change from the standard interchange database to mysql ? Mysql was set up o.k. and a catalog is running under it already. There is only one catalog which needs to be changed to Mysql. There is something over 20.000 articles in the products.txt. which should qualify the catalog for Mysql. I suppose its not just changing the catalog.cfg, or ist it ? Lets pretend it is that easy, do we have to change interchange tags, can we still use the regular search and list functions ... (got used to use !) or do we have to use all new sql commands (oh no!) ? Vielen Dank 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 (Lewey Taylor) Date: Tue Sep 11 08:59:00 2001 Subject: [ic] Pricing by Qty and Category > > Hi, > > I'm looking to apply special pricing to certain items by > quantity, but only > within a given category/grouping i.e. so a number of > different items in the > "CD Specials" category sell at 3 for £20 (or whatever). Does > IC provide any > mechanism for doing this or, if not, can anyone suggest a > good approach? Use CommonAdjust http://ic.redhat.com/cgi-bin/ic/dev/ictags_57.html From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Tue Sep 11 09:01:00 2001 Subject: [ic] Internal Server Errors Hi Moe, Several people, including myself, have had this problem now. There seems to be no solution to this bug. (nor even acknowledgement that it exists.) I can't help you, but I can tell you you're not alone. Ian Riddler ----- Original Message ----- From: "Moe Pitman" <mpitman@lnstar.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 11, 2001 10:31 AM Subject: [ic] Internal Server Errors > I have installed Interchange 4.8.1 (the rpm) on a Redhat box, and I am > trying to configure a shopping cart. > > My biggest problem is that I get Internal Server Error pages constantly > while using the admin interface, and sometimes while just browsing > through the shop. Restarting the Interchange server seems to solve this > temporarily, but it happens a LOT. > > /var/log/interchange/error.log seems to log almost nothing but server > stops and starts, regardless of logging level. My own cart has never > logged anything at all, so I am getting a bit frustrated. > > The problem seems especially prevalent when I am working with the page > or template editor. > > Any suggestions? > > --Moe Pitman > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Clint Tevlin) Date: Tue Sep 11 09:10:01 2001 Subject: [ic] Error Message (2) I've checked DBI, DBD::mysql etc and... su -c "/usr/local/interchange/bin/interchange -r" interch results in... Killing Interchange server 3498 with TERM. Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange line 2716 Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog foundation...foundation config error: Could not create '/home/clint/catalogs/foundation/products/new_variable.gdbm' : Permission denied at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 63, <IN> chunk 1. foundation: error in configuration. Skipping. foundation: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 3527) Does anyone have any ideas? interch is owner of all below /usr/local/interchange, are there any other permissions to be careful with? Cheers, Clint From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 11 09:12:01 2001 Subject: [ic] Unrecognized character Hi all, I've just installed IC and built up the demo foundation catalog with MySQL as DB. Everthink works fine no problems during installation. But now: I point my browser to the startpage and I get the page where I can choose between Customer Entrance or Admin interface. If I choose one of these options I always get an 500 Internal server error message. The IC logfiles did not show up problems, in the apache error.log I found: ...[error] PerlRun: ....foundation: Unrecognized character \x7F at /usr/local/httpd/cgi-bin/foundation line 1. This entry is wrote to the error.log every time I choose one of the options. Any tip whats going wrong? Regards, Kim From: interchange-users at interchange.redhat.com (Donal H.) Date: Tue Sep 11 09:17:00 2001 Subject: [ic] Error Message (2) > Configuring catalog foundation...foundation config error: > Could not create > '/home/clint/catalogs/foundation/products/new_variable.gdbm' > : Permission denied at Presumably 'interch' doesn't own this directory. -Donal From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 11 09:23:01 2001 Subject: [ic] interchange 4.8.1 charset problems em i read that language problems were fixed in this version but i'm still having them :) http://demo.igraca.com as you can see interchange has a problem with 1 letter...unfortuanately it is the one letter used in almost every word in slovenian and croatian language. I can survive with the fact that interchange doesn't know how to export files back to me and have the products written in the correct charset the problem is that it will not show this letter no matter how i import it or even if i correct it through the web administration.it messes it up. From: interchange-users at interchange.redhat.com (IC-Admin) Date: Tue Sep 11 09:42:01 2001 Subject: [ic] <select></select> picture On Tue, 11 Sep 2001, joachim.richter wrote: > > the guy who answered this last time has a shop with fishing supply, > His name was Ryan Hertz, at least I guess that's the one you are looking for. May be you find his reply now. BF From: interchange-users at interchange.redhat.com (IC-Admin) Date: Tue Sep 11 10:06:01 2001 Subject: [ic] Emergency - Just in case Due to the current terrorist attack on N.Y. World Trade Center and the Pentagon, I want to know, if the RH office in VA is working fine and use this channel as possible way to let each other know of forthcoming current events if other channels break down. Birgitt From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 11 10:31:00 2001 Subject: [ic] Unrecognized character kim.laue@think4you.com writes: > Hi all, > > I've just installed IC and built up the demo foundation catalog with MySQL > as DB. Everthink works fine no problems during installation. > > But now: > > I point my browser to the startpage and I get the page where I can choose > between Customer Entrance or Admin interface. If I choose one of these > options I always get an 500 Internal server error message. > > The IC logfiles did not show up problems, in the apache error.log I found: > > ...[error] PerlRun: ....foundation: Unrecognized character \x7F at > /usr/local/httpd/cgi-bin/foundation line 1. > > This entry is wrote to the error.log every time I choose one of the > options. > > Any tip whats going wrong? Your Apache configuration seems to be wrong. Presumably /usr/local/httpd/cgi-bin/foundation isn't a Perl script. 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 (Rene Hertell) Date: Tue Sep 11 11:08:01 2001 Subject: [ic] Emergency - Just in case > Due to the current terrorist attack on N.Y. World Trade Center > and the Pentagon, I want to know, if the RH office in VA > is working fine and use this channel as possible way > to let each other know of forthcoming current events if > other channels break down. > Birgitt C'mon, lets not make any panic now! It would be ridiculous to use this list as a communication-channel other than for IC cases. I guess CNN and other broadcasting companies will handle this matter better than this list! Rene From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Tue Sep 11 11:17:01 2001 Subject: [ic] cgi var in page tag Hi, thanx but secure won't work! <a class="barlink" href="[area href='ord/checkout' form='switch=off' secure=1"]> BlaBla </a> any idea? On 2001.09.10 22:01:43 +0200 bill@worldwideimpact.com wrote: > Try > <a href=[area > href=ord/checkout > form=|blabla=foo| > ]>LINK</a> > > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 > > > > > Tobias Henle <t.henle@thiesen.com> > Sent by: interchange-users-admin@interchange.redhat.com > 09/10/2001 01:03 PM > Please respond to interchange-users > > > To: interchange-users@interchange.redhat.com > cc: > Subject: [ic] cgi var in page tag > > > Hi, > > is it possible to pass a cgi-var with the [page] tag so that it can be > accessed with the [cgi] tag. > eg. the link looks like > 'http://hal9k/cgi-bin/ws/ord/checkout.html?blabla=foo' > without building it by hand like: > http://@_SERVER_NAME_@@_CGI_URL_@/ord/checkout.html?blabla=foo > > i need it to see wich link the user has selected! > > _cu_ (mit freundliche Grüßen) > > -Tobias Henle > _ _ _ > __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ > \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ > \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| > -- > ________E-Mail________________________URL____________________________ > mailto:t.henle@thiesen.com http://www.thiesen.com > _____________________________________________________________________ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- mit freundliche Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 11 11:36:01 2001 Subject: [ic] cgi var in page tag Tobias Henle <t.henle@thiesen.com> writes: > Hi, > thanx but secure won't work! > > <a class="barlink" href="[area > href='ord/checkout' > form='switch=off' > secure=1"]> secure=1"]"> would work, 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 (Stefano Nota) Date: Tue Sep 11 11:46:00 2001 Subject: [ic] cgi var in page tag Try this: <a href="[area href=index arg=2]">LINK</a> arg is the param ----- Original Message ----- From: "Tobias Henle" <t.henle@thiesen.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 11, 2001 5:23 PM Subject: Re: [ic] cgi var in page tag > Hi, > thanx but secure won't work! > > <a class="barlink" href="[area > href='ord/checkout' > form='switch=off' > secure=1"]> > BlaBla > </a> > > any idea? > > On 2001.09.10 22:01:43 +0200 bill@worldwideimpact.com wrote: > > Try > > <a href=[area > > href=ord/checkout > > form=|blabla=foo| > > ]>LINK</a> > > > > Bill Carr > > Worldwide Impact > > bill@worldwideimpact.com > > 413.253.6700 > > > > > > > > > > Tobias Henle <t.henle@thiesen.com> > > Sent by: interchange-users-admin@interchange.redhat.com > > 09/10/2001 01:03 PM > > Please respond to interchange-users > > > > > > To: interchange-users@interchange.redhat.com > > cc: > > Subject: [ic] cgi var in page tag > > > > > > Hi, > > > > is it possible to pass a cgi-var with the [page] tag so that it can be > > accessed with the [cgi] tag. > > eg. the link looks like > > 'http://hal9k/cgi-bin/ws/ord/checkout.html?blabla=foo' > > without building it by hand like: > > http://@_SERVER_NAME_@@_CGI_URL_@/ord/checkout.html?blabla=foo > > > > i need it to see wich link the user has selected! > > > > _cu_ (mit freundliche Grüßen) > > > > -Tobias Henle > > _ _ _ > > __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ > > \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ > > \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| > > -- > > ________E-Mail________________________URL____________________________ > > mailto:t.henle@thiesen.com http://www.thiesen.com > > _____________________________________________________________________ > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > -- > mit freundliche Grüßen > > -Tobias Henle > _ _ _ > __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ > \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ > \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| > -- > ________E-Mail________________________URL____________________________ > mailto:t.henle@thiesen.com http://www.thiesen.com > _____________________________________________________________________ > _______________________________________________ > 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 Sep 11 11:48:00 2001 Subject: [ic] IC on Windows At 09:32 PM 09/10/2001 -0700, you wrote: > > From: interchange-users-admin@interchange.redhat.com >[mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of George Loch > > > > Obviously, this is the WRONG group to mention the windogs platform ;) > > > > Thanks for the *help* > > > > George > >George, > >Last that I read was that it's possible to run IC on Windows with >ActivePerl (I think that's what it is called) installed. Theoretically. There are "quirks" (ActiveState's terminology, not mine) in the Windows version of ActivePerl which no doubt make modifications to the IC source necessary, but it should be doable if you are really determined. A Windows-ready version of IC has not been available since the last release of Minivend 3. I installed that beast on Win98 with MS Personal webserver, on a midrange PII (around 500Mz, I think). Totally unsuitable for production use, barely adequate for messin' around. - Ed L. > Don't let some >of these guys scare you off ;) > >-Ron > > > ----- Original Message ----- > > From: "Rene Hertell" <rene@hertell.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Monday, September 10, 2001 6:33 PM > > Subject: RE: [ic] IC on Windows > > > > > > > > GL>>Is is even possible to run IC on a win2k server? > > > > > > > > Why would you want to put IC in a wheelchair? > > > > > > That was a great one! :) > > > > > > Rene > > > _______________________________________________ > > > 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: Tue Sep 11 11:51:01 2001 Subject: [ic] search parameters se=I% and op=like not working after upgrade At 03:46 PM 09/11/2001 +1000, you wrote: >Hi, >I don't post to this group much as I normally work it out, but after a >recent attack we decided to do a clean update to Redhat 7.1 / Interchange >4.8.1 / Perl 5.6.1 >I've rebuilt the site (almost) and think I'm missing a perl module that was >on the system from the Minivend days. The function relates to the search >parameters se=I% and op=like as in "begining with" I > >One of the offending pages is >http://www.hwon.com.au/cgi-bin/products/scan/fi=products_index%2etxt/co=yes/ >se=I%25/op=LIKE/sf=title/tf=title/to=f/sp=results_index/ml=999.html > >Any help would be appreciated. Post the relevant segment(s) of you error.log, otherwise no one has any idea what the nature of the problem is. - Ed L. >Greg Heath >IT & T Consultant >Howard William Office National >P.S. why not visit our web site hwon.com.au for your office needs. > >_______________________________________________ >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 Sep 11 12:25:01 2001 Subject: [ic] SQl Database Setup At 02:50 PM 09/11/2001 +0100, you wrote: >Hi list, > >what is the easiest way to change from the standard interchange database >to mysql ? >Mysql was set up o.k. and a catalog is running under it already. >There is only one catalog which needs to be changed to Mysql. >There is something over 20.000 articles in the products.txt. which should >qualify the catalog for Mysql. > >I suppose its not just changing the catalog.cfg, or ist it ? Basically. Depending upon what IC version you are running, I think all you need to do is edit /CATROOT/dbconf/mysql/mysql.cfg to provide the database name, username and password, then set the catalog variables SOMESQL and MYSQL to '1'. When you restart it will try to build the tables. - Ed L. >Lets pretend it is that easy, do we have to change interchange tags, can >we still use the regular search and >list functions ... (got used to use !) or do we have to use all new sql >commands (oh no!) ? > > >Vielen Dank > > >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 (IC-Admin) Date: Tue Sep 11 12:56:01 2001 Subject: agreed RE: [ic] Emergency - Just in case On Tue, 11 Sep 2001, Rene Hertell wrote: > > C'mon, lets not make any panic now! It would be ridiculous to use this list > as a communication-channel other than for IC cases. I guess CNN and other > broadcasting companies will handle this matter better than this list! > > Rene > Sorry for this. BF From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Tue Sep 11 13:20:01 2001 Subject: [ic] <select></select> picture At 02:39 PM 9/11/01 +0100, joachim.richter wrote: >Hi everybody, > >actually somebody asked this before, but I just cannot find it in the list. > >We have an article which has lets say 25 different color schemes, > >what we would like to is, >as soon as the customer selects a certain color in the <select> field >the color (pic) should be shown next to it > >the guy who answered this last time has a shop with fishing supply, You caught me. (Thanks a lot Birgitt) :-P Near the top of my flypage: <SCRIPT LANGUAGE="Javascript"> <!-- function rollcolor () { document.pick.src = '/order/images/chart/' + document.att.mv_order_color.options[document.att.mv_order_color.selectedInde x].value + '.jpg'; } // --> </SCRIPT> This Javascript function changes the image source of the <IMG> tag named "pick" to the selection in the form "att" select region named "mv_order_color". The named form: <FORM ACTION="[process-target]" METHOD=POST NAME=att> The select area: <SELECT NAME="mv_order_color" onChange="rollcolor();"><small> [loop arg=[item-field color]] <OPTION VALUE="[loop-code]"[perl interpolate=1]if ('[scratch lastcolor]' =~ '[loop-code]') {return " SELECTED";} return '';[/perl]>[loop-code] - [loop-field description] [/loop]</small> </SELECT> The perl in the option will select a particular color automatically if the customer had already picked that color before. (I'll let you figure out that one..) :-D Can't give away ALL my secrets. You can safely remove that code. The other [loop-code] and [loop-field description] will probably be different for you -- in my implementation the data in the color field correspond to items in my products.asc. (Probably not pretty, but it's how I make a cross-reference between colors and items) The image that rotates: <IMG SRC="/0.gif" NAME="pick" WIDTH=40 HEIGHT=46 BORDER=0 ALT="Your color choice"> Finally, near the very bottom of the page: <SCRIPT> <!-- rollcolor(); //--> </SCRIPT> This will populate the image with the first or default ([scratch lastcolor]) image. I suppose this COULD go into the <body> as a OnLoad... I think I skipped this part because it wouldn't be easy because of how I [include] my header. Live examples: (A product with color options) http://yamamoto.baits.com/cgi-bin/order/9-10 (A color with product options -- clicking on one of the products from this page will make that color appear as the default selection in the product flypage) http://yamamoto.baits.com/cgi-bin/order/294 Hope this helps, -Ryan ...evacuated from his offices in Chicago. From: interchange-users at interchange.redhat.com (Raymond Kirby) Date: Tue Sep 11 13:35:00 2001 Subject: [ic] Variable.txt Wheres the docs Could someone please point me to docs for the variable.txt file Thanks in advanced Ray From: interchange-users at interchange.redhat.com (Mark R. Misko) Date: Tue Sep 11 13:45:00 2001 Subject: [ic] Adding rate tables I read through the message archives, but am still encountering difficulties. I have already modified the shipping.asc file to create the methods. I have uploaded the correct zone chart, which is appearing in the "edit methods" section as a choice in the pulldown menu. I have created and uploaded an accurate rate table that corresponds to my shipping needs. The rate table is still NOT appearing in the "edit methods" section as the other's are (Ground, 2ndDayAir, NextDayAir). I simply created the rate table and uploaded it to the same directory as the others. The algorithm is set as "Internal UPS" and I can select my zone chart, but the rate table does not appear as an option. Do I need to do additional database setup for this to appear? Do I need to create a new table in the MySQL admin first and then upload? Thanks for your time and help, -Mark > ---------- > From: Jim Balcom[SMTP:jim@idk-enterprises.com] > Reply To: interchange-users@interchange.redhat.com > Sent: Monday, September 10, 2001 07:23 PM > To: 'interchange-users@interchange.redhat.com' > Subject: Re: [ic] Adding rate tables > > On Mon, 10 Sep 2001, Mark R. Misko wrote: > > MRM>>How can I add more rate tables for shipping? I am using version 4.6. > > Around the end of June I added Priority Mail to my shipping set up, and I > wrote up all of the details on this list. > > Look through the archives for the messages around that time frame from > myself > and others about this. Play with what's there. Once you get hung, ask me > specific questions and I'll be glad to help you. > > There are a lot of steps, but it's not overy difficult. > > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Monday, September 10, 2001 at 20:20 PM: > Progress is made on alternate Fridays. > > ---------------------------------------------------------------- > This Linux System has been up 2 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: Tue Sep 11 13:56:00 2001 Subject: [ic] Upload Excel File Götz Verdieck <goetz.verdieck@com4office.de> writes: > Hi, > > I tried to upload the construct.xls template > and get the following error message > > DBD::mysql::db do failed: You have an error in your SQL syntax > near 'where sku = 'os28070'' at line 1 at > /Users/gv/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' > > > > Any idea or help would be appreciated. Which Interchange version do you using ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 11 15:44:00 2001 Subject: [ic] IC on Windows Quoting Ed LaFrance (edl@newmediaems.com): > At 09:32 PM 09/10/2001 -0700, you wrote: > > > From: interchange-users-admin@interchange.redhat.com > >[mailto:interchange- > > > users-admin@interchange.redhat.com] On Behalf Of George Loch > > > > > > Obviously, this is the WRONG group to mention the windogs platform ;) > > > > > > Thanks for the *help* > > > > > > George > > > >George, > > > >Last that I read was that it's possible to run IC on Windows with > >ActivePerl (I think that's what it is called) installed. > > Theoretically. There are "quirks" (ActiveState's terminology, not mine) in > the Windows version of ActivePerl which no doubt make modifications to > the IC source necessary, but it should be doable if you are really > determined. A Windows-ready version of IC has not been available since the > last release of Minivend 3. I installed that beast on Win98 with MS > Personal webserver, on a midrange PII (around 500Mz, I think). Totally > unsuitable for production use, barely adequate for messin' around. Actually, at this point Interchange doesn't run well on ActivePerl. It will run quite nicely on Windows if you have the Cygwin toolkit and its Perl, though. If you get enough modules from Bundle::Interchange installed, it is nearly transparent. -- 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 (John Larsen) Date: Tue Sep 11 16:08:01 2001 Subject: [ic] Help with authNet and 4.6.3 Help! My host provider offers Interchange but only version 4.6.3 because there were problems installing 4.8.1. So with 4.6.3 I cannot seem to figure out where to input the information for authorizeNet gateway in the administrators section. Nothing seems obvious and I cant find any information regarding the matter. Hosting company says they installed the authorizeNet Module. But where do I enter the infor for the gateway? Thank you! John Larsen Designer/animator ___________________________________________________________ Website hosting for you...speed, stability and service at www.displaybiz.net From: interchange-users at interchange.redhat.com (Digital Visions International) Date: Tue Sep 11 16:16:01 2001 Subject: [ic] Help with authNet and 4.6.3 that is entered into your catalog.cfg file. You will need access to your catalog.cfg file. This is not something that can be done through the UI on versions earlier than 4.8.1. You may need to get the help of your hosting company. Do a search for your authorizenet on the archives. Dan Garwood General Manager Digital Visions International, Inc, Toll Free 1-866-655-5900 Check out our other great www.collectible-lighters.com www.software-buyer.com ----- Original Message ----- From: "John Larsen" <kipper@displaybiz.net> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 11, 2001 4:06 PM Subject: [ic] Help with authNet and 4.6.3 > Help! > > My host provider offers Interchange but only version 4.6.3 because there > were problems installing 4.8.1. > > So with 4.6.3 I cannot seem to figure out where to input the information for > authorizeNet gateway in the administrators section. Nothing seems obvious > and I cant find any information regarding the matter. > > Hosting company says they installed the authorizeNet Module. But where do I > enter the infor for the gateway? > > Thank you! > > John Larsen > Designer/animator > > ___________________________________________________________ > Website hosting for you...speed, stability and service at www.displaybiz.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 (Götz Verdieck) Date: Wed Sep 12 02:07:01 2001 Subject: [ic] Upload Excel File > Götz Verdieck <goetz.verdieck@com4office.de> writes: > >> Hi, >> >> I tried to upload the construct.xls template >> and get the following error message >> >> DBD::mysql::db do failed: You have an error in your SQL syntax >> near 'where sku = 'os28070'' at line 1 at >> /Users/gv/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' >> >> >> >> Any idea or help would be appreciated. > > Which Interchange version do you using ? > > Ciao > Racke I use 4.8.1 on a Powerbook G3 OS X 10.0.4 this error appears when I select: Insert Product Data YES in the Admin Wizard menu. But also when I tried to upload the products table in the Admin table overview. The *.xls was not opened or edited on the mac. I used the original file from your site. Best regards Goetz ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Simon B) Date: Wed Sep 12 02:47:00 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive Have tried both an rpm and manual install on a Redhat 7.0 box and cannot create a catalogue because of the following error: Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog teststore...teststore config error: Please specify the MailOrderTo directive in the configuration file '' cjweb: error in configuration. Skipping. cjweb: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 1080) Continuing in UNIX MODE ONLY For what it is worth, variables.txt includes: ORDER_ROUTES log main copy_user Order ORDERS_TO orders@ourdomain.net Order catalog.cfg includes: MailOrderTo __ORDERS_TO__ The cat error.log is blank and the interchange error.og suggests: - - - [12/September/2001:16:33:47 +1000] - - Low traffic settings. - - - [12/September/2001:16:33:47 +1000] - - ...UI is loaded... - - - [12/September/2001:16:33:48 +1000] - - Interchange V4.8.1 - - - [12/September/2001:16:33:48 +1000] - - Config 'teststore' at server startup - - - [12/September/2001:16:33:48 +1000] - - teststore config error: Please specify the MailOrderTo directive in the configuration file '' - - - [12/September/2001:16:33:48 +1000] - - teststore: config error. Skipping. - - - [12/September/2001:16:33:48 +1000] - - START server (1075) (INET and UNIX) - - - [12/September/2001:16:33:48 +1000] - - Accepting connections from localhost|127\.0\.0\.1 - - - [12/September/2001:16:33:48 +1000] - - INET mode server failed to start on port 7786: bind: Address already in use at /usr/local/interchange/lib/Vend/Server.pm line 1351. > - - - [12/September/2001:16:33:48 +1000] - - Continuing in UNIX MODE ONLY - - - [12/September/2001:16:33:48 +1000] - - START server (1080) (UNIX) I have searched the docs and archives for over 3 hours and, although I have seen the same problem reported have been unable to find a solution. The Foundation-demo did not have this problem. 'Please specify the MailOrderTo directive in the configuration file' What is the system asking me to do? Simon From: interchange-users at interchange.redhat.com (Daniel Prados) Date: Wed Sep 12 03:16:01 2001 Subject: [ic] search in results page. Hi how I can perform a search into the results of a previous search. Thanks. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 12 04:15:00 2001 Subject: [ic] Unrecognized character Thank's for the hint. It wasn't the apache config, it was the catalog config. Why ever the CGI path was not ok. After I corrected this everythink works fine. Kim racke@linuxia.de (Stefan Hornburg (Racke)) To: interchange-users@interchange.redhat.com Sent by: cc: interchange-users-admin@interchange. Subject: Re: [ic] Unrecognized character redhat.com 11.09.2001 16:30 Please respond to interchange-users kim.laue@think4you.com writes: > Hi all, > > I've just installed IC and built up the demo foundation catalog with MySQL > as DB. Everthink works fine no problems during installation. > > But now: > > I point my browser to the startpage and I get the page where I can choose > between Customer Entrance or Admin interface. If I choose one of these > options I always get an 500 Internal server error message. > > The IC logfiles did not show up problems, in the apache error.log I found: > > ...[error] PerlRun: ....foundation: Unrecognized character \x7F at > /usr/local/httpd/cgi-bin/foundation line 1. > > This entry is wrote to the error.log every time I choose one of the > options. > > Any tip whats going wrong? Your Apache configuration seems to be wrong. Presumably /usr/local/httpd/cgi-bin/foundation isn't a Perl script. 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 (Stefan Hornburg Racke) Date: Wed Sep 12 07:44:00 2001 Subject: [ic] search in results page. Daniel Prados <dani@fotoportal.net> writes: > Hi how I can perform a search into the results of a previous search. I don't know of a way to do this, but it may be prove useful. Any idea, Mike ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Wed Sep 12 07:49:01 2001 Subject: [ic] cgi var in page tag Hi, I have done everything like u wrote but it won't work if I use "@_SECURE_SERVER_@" it expands to "https://***" in the html file but "[process secure=1]" expands "to http://***/***/process.html" and "[area href='ord/checkout' secure=1 form='ssl_switch=on']" to "http://***/***/ord/checkout?mv_session_id=6oed87hG&mv_pc=147&ssl_switch=on" ??? On 2001.09.11 17:45:36 +0200 Stefano Nota wrote: > Try this: > > <a href="[area href=index arg=2]">LINK</a> > > arg is the param > ----- Original Message ----- > From: "Tobias Henle" <t.henle@thiesen.com> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, September 11, 2001 5:23 PM > Subject: Re: [ic] cgi var in page tag > > > > Hi, > > thanx but secure won't work! > > > > <a class="barlink" href="[area > > href='ord/checkout' > > form='switch=off' > > secure=1"]> > > BlaBla > > </a> > > > > any idea? > > From: interchange-users at interchange.redhat.com (Stefano Nota) Date: Wed Sep 12 08:01:01 2001 Subject: [ic] Tax help Hi, I wonder if there is a way to define a percentage tax for all countries. I read in the doc but i can't find anything for this. Any Help? Thanks Stefano From: interchange-users at interchange.redhat.com (inter change) Date: Wed Sep 12 08:54:01 2001 Subject: [ic] Unable to log into ADMIN interface Hi, Can anyone tell me how to log into the ADMIN interface. I used demo/demo as user and password, but stll it threw ans invalid pwd error. Do i need to reset some files...pls help. ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 12 08:57:50 2001 Subject: [ic] Very, Very slow check out - possible PGP problem On Mon, 10 Sep 2001 cfm@maine.com wrote: >>> You need to have a REALLY fast server. I have mine on a 1.2Ghz CPU with 512 >>> megs of RAM and there are still some delays, even over a LAN. >> >>That's very misleading. Sure more RAM is better. >> >>It's my experience that performance is almost entirely architectural - the >>architecture of your site, NOT the hardware; eg we get about the same >>performance on a P75 as we do on a PIII whatever. How you index the >>data, what are the joins, what are the caches, how do you index it, >>how do you build tables or do you build tables at all, caches again, >>how do you massage your data, any one of those dwarfs (dwarves? nahhhh) >>any performance issues in mv/ic itself. I started out on a Pentium at 250. While it served the pages, I could take a coffee break while each one came up. I moved it to a 400 mHz machine and the speed improved, considerably. Giving it a 1.2GHz CPU and lots of RAM made a dramatic improvement. This was all done with a pretty much stock Construct demo. >>> So much of IC is being done on the client side, rather than on the server. >>> If the client side is on a slow machine with limited RAM, then constructing >>> the pages will take a while. >> >>Hmmmmm????? I guess I am out of date. The client is receiving HTML code which it then has to process and interpret and then display. The more complex the code, the lengthier the code, the longer it will take to interpret and display. The speed of the client will have a significant effect on this process. With limited RAM, the client has to do a lot of swapping to the hard drive, in and out, while it is getting the page ready to display. This also slows down how fast the page will load on the client. However, if the user is used to a very slow machine then this won't be a significant factor. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 12, 2001 at 08:45 AM: Test-tube babies shouldn't throw stones. ---------------------------------------------------------------- This Linux System has been up 38 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 12 09:01:00 2001 Subject: [ic] Emergency - Just in case On Tue, 11 Sep 2001, IC-Admin wrote: I>>Due to the current terrorist attack on N.Y. World Trade Center I>>and the Pentagon, I want to know, if the RH office in VA I>>is working fine and use this channel as possible way I>>to let each other know of forthcoming current events if I>>other channels break down. While they may have shut down as a safety precaution they, like I, are far enough away from any possible terrorist attacks to be quite safe. I could see the billowing smoke from the Pentagon from my office - about 10 miles away. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 12, 2001 at 08:55 AM: But what if I'm a figment of my OWN imagination? ---------------------------------------------------------------- This Linux System has been up 38 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Wed Sep 12 09:07:01 2001 Subject: [ic] Unable to log into ADMIN interface interchange/pass > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > inter change > Sent: Wednesday, September 12, 2001 7:53 AM > To: interchange-users@interchange.redhat.COM > Subject: [ic] Unable to log into ADMIN interface > > > Hi, > > Can anyone tell me how to log into the ADMIN > interface. I used demo/demo as user and password, but > stll it threw ans invalid pwd error. Do i need to > reset some files...pls help. > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Gift Bound Gifts) Date: Wed Sep 12 09:22:01 2001 Subject: [ic] Emergency - Just in case Read the Prophecies of Nostradomeus! He said this: one Ecerpt once the King of the Mongols Tomb is found there will be great terror on mankind a month later Tomb was found Aug 17th 2001. heres the link http://www.geocities.com/tchase_2000/Nostradamus.html ----- Original Message ----- From: "Jim Balcom" <jim@idk-enterprises.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 12, 2001 9:00 AM Subject: Re: [ic] Emergency - Just in case > On Tue, 11 Sep 2001, IC-Admin wrote: > > I>>Due to the current terrorist attack on N.Y. World Trade Center > I>>and the Pentagon, I want to know, if the RH office in VA > I>>is working fine and use this channel as possible way > I>>to let each other know of forthcoming current events if > I>>other channels break down. > > While they may have shut down as a safety precaution they, like I, are far > enough away from any possible terrorist attacks to be quite safe. > > I could see the billowing smoke from the Pentagon from my office - about 10 > miles away. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Wednesday, September 12, 2001 at 08:55 AM: > But what if I'm a figment of my OWN imagination? > > ---------------------------------------------------------------- > This Linux System has been up 38 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 (interchange-users at interchange.redhat.com) Date: Wed Sep 12 09:32:01 2001 Subject: [ic] search in results page. Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > Daniel Prados <dani@fotoportal.net> writes: > > > Hi how I can perform a search into the results of a previous search. > > I don't know of a way to do this, but it may be prove useful. Well, I am not sure what everyone is talking about here, as there is not much specific information. 8-) For the moment, I will presume the object is something like "refine this search". > Any idea, Mike ? It is a question of saving the search condition somewhere and redoing the search with additional qualifications. Probably not practical with a many coordinated searches, as we clobber the mv_search_field stuff anytime you specify a wildcard. You can get the search object with $Search->{$label} (label being blank in most non-loop searches), examine the criteria, and make a new form out of it. But that would not give you much you could use with the example search form in "foundation". If we saved the source of the search criteria in the search object, it would be easier. It might be possible to search the "more" array, i.e. something similar to the more_alpha stuff you did, Stefan. For instance, if we had a "mv_more_search" variable coming in, along with the cache key and a results list carrying the information to search on, we could bypass the initial search selection (the $limit_sub portion of a search) and pass those results directly to the $f = $prospect portion of the search. That would be a generalized search of an arbitrary array, given the column names of the results. Bottom line is, at this point it would be possible, but not be easy, to do with embedded Perl. It could be made easier with just a few hooks in the Interchange search code. -- 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 (interchange-users at interchange.redhat.com) Date: Wed Sep 12 09:36:00 2001 Subject: [ic] language problems in 4.8.1 This message is in MIME format. ---MOQ10003016033842b1f831836d70e0c8187dd27ebced Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit I'm having problems with the following letters : èÈ the rest seem to work fine they are used in iso-8859-2 or western europe encoding under windows the problem is this: although other characters : ¹©¾® are not saved in the mysql database as themselves but as some weird ASCII characters,they are later displayed correctly on the web page.(when you export them from interchange you get them also in ASCII characters...but as long as the web page works we don't care). This doesn't seem to be the case with ÈèÆæ.They are shown incorrectly.I exported the products table from mysql using DBTOOLS and noticed that the letters that are shown on the web page correctly are written in funny ascii code.But the ones that are not shown correctly are in the database written correctly.So it seems that interchange still has problems with non Us letters when it comes to writing and reading them from the database http://demo.igraca.com any help would be greatly apriciated. We don't care how the letters work when they are exported or imported we can fix this with macros.We just want them to appear correctly on the web page ------------------- http://www.email.si ---MOQ10003016033842b1f831836d70e0c8187dd27ebced Content-Type: text/plain; name="products.txt"; name="products.txt"; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="products.txt" 4341;Oprema: Ronda jedilnica; ; ;Oprema: Ronda jedilnica;4341_s.gif;4341.jpg;49.00;44.10;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; gift_cert;Gift Certificate; ; ;Gift Certificate;gift_certificate.gif;gift_certificate_large.gif;49.00;44.10;Gift Certificate;Gift Certificate; ;0; ; ; ; ; ; ; ; ; ; ; ; 1464;Pecorela pastirèek z ovèkami; ; ;Pecorela pastirèek z ovèkami;1464_s.gif;1464.jpg;35.00;31.50;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 2120;Medvedja ura; ; ;Medvedja ura;2120_s.gif;2120.jpg;75.00;67.50;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 4340;Oprema: Ronda kuhinja; ; ;Oprema: Ronda kuhinja;4340_s.gif;4340.jpg;69.00;62.10;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 2064;Slikovna knji¾ica - medv. dan; ; ;Slikovna knji¾ica - medv. dan;2064_s.gif;2064.jpg;69.00;62.10;slikovni svetovi;slikovni svet; ;0; ; ; ; ; ; ; ; ; ; ; ; 3523;Slikovni bingo; ; ;Slikovni bingo;3523_s.gif;3523.jpg;69.00;62.10;dru¾abne igre;dru¾abne igre; ;49; ; ; ; ; ; ; ; ; ; ; ; 3530;Spomin-¾ivali; ; ;Spomin-¾ivali;4330_s.gif;3530.jpg;69.00;62.10;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 1430;Ro¾ica raèka na obroèku; ; ;Ro¾ica raèka na obroèku;1430_s.gif;1430.jpg;150.00;135.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1448;Girali stojeèi obroèek; ; ;Girali stojeèi obroèek;1448_s.gif;1448.jpg;40.00;36.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 3576;Mavrica; ; ;Mavrica;3576_s.gif;3576.jpg;50.00;45.00;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 2177;Drago-zmaj; ; ;Drago-zmaj;2177_s.gif;2177.jpg;60.00;54.00;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 4247;Hi¹a: Rustika; ; ;Hi¹a: Rustika;4247_s.gif;4247.jpg;70.00;63.00;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 4330;Oprema: vrtna oprema; ; ;Oprema: vrtna oprema;4330_s.gif;4330.jpg;80.00;72.00;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1410;Pipo; ; ;Pipo;1410_s.gif;1410.jpg;90.00;81.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1414;Girali èrvièek; ; ;Girali èrvièek;1414_s.gif;1414.jpg;110.00;99.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 4342;Oprema: Ronda dnevna soba; ; ;Oprema: Ronda dnevna soba;4342_s.gif;4342.jpg;140.00;126.00;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1432;Girali obroèki; ; ;Girali obroèki ;1432_s.gif;1432.jpg;150.00;135.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 2056;Slikovna knji¾ica - vozila; ; ;Slikovna knji¾ica - vozila;2056_s.gif;2056.jpg;160.00;144.00;slikovni svetovi;slikovni svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1487;Ptiè; ; ;Ptiè;1487_s.gif;1487.jpg;200.00;180.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 4245;Hi¹a Modula: Dodatna eta¾a; ; ;Hi¹¹a Modula: Dodatna eta¾a;4245_s.gif;4245.jpg;220.00;198.00;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1420;Zapestnica z raèko; ; ;Zapestnica z raèko;1420_s.gif;1420.jpg;230.00;207.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1413;Girali roler s kraguljèkom; ; ;Girali roler s kraguljèkom ;1413_s.gif;1413.jpg;39.00;35.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1491;Baby-clip Priponke; ; ;Baby-clip Priponke;1491_cl_s.gif;1491.jpg;71.00;63.90;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1494;Baby-clip Priponke; ; ;Baby-clip Priponke;1494_s.gif;1494.jpg;99.00;89.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 3567;Zgrabi ga!; ; ;Zgrabi ga!;3567_s.gif;3567.jpg;137.00;123.30;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 1416;Rolina; ; ;Rolina ;1416_s.gif;1416.jpg;256.00;230.40;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 4249;Hi¹a: Grande; ; ;Hi¹a: Grande;4249_s.gif;4249.jpg;384.00;345.60;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 2062;Slikovna knji¾ica - ¾ivali; ; ;Slikovna knji¾ica - ¾ivali;2062_s.gif;2062.jpg;29.00;26.10;slikovni svetovi;slikovni svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 2211;Obe¹alnik za obleke; ; ;nov test èèææ¹¹;2214_s.gif;2214.jpg;59.00;53.10;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 2088;Slikovna knji¾ica Pode¾elje; ; ;Slikovna Knji¾ica - Pode¾elje;1488_s.gif;2088.jpg;39.00;35.10;slikovni svetovi;slikovni svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 4240;Dru¾ina: Karini dru¾ina (pop); ; ;Dru¾ina: Karini dru¾ina (pop);4240_s.gif;4240.jpg;59.00;53.10;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1493;Musina stojalo; ; ;Musina stojalo;1493_s.gif;1493.jpg;99.00;89.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1634;Trotto jahaè na palici; ; ;Trotto jahaè na palici;1634_s.gif;1634.jpg;99.00;89.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 3539;©tevilke; ; ;©tevilke;3539_s.gif;3539.jpg;179.00;161.10;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 3536;Z roko v roki; ; ;Z roko v roki;3536_s.gif;3536.jpg;69.00;62.10;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 3603;Stolp iz Pise; ; ;Stolp iz Pise;3603_s.gif;3603.jpg;150.00;135.00;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 1488;®aba; ; ;¾aba;1488_s.gif;1488.jpg;131.00;117.90;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1486;Èebelica; ; ;Èebelica;1486_s.gif;1486.jpg;140.00;126.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 3044;Nitna gosenica; ; ;Nitna gosenica;3044_s.gif;3044.jpg;160.00;144.00;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 3013;Vrtalke-tops; ; ;Vrtalke-tops;3013_s.gif;3013.jpg;170.00;153.00;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 4344;Oprema: Ronda otro¹ka soba; ; ;Oprema: Ronda otro¹ka soba;4344_s.gif;4344.jpg;280.00;252.00;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 4246;Hi¹a: Modula; ; ;Hi¹a: Modula;4245_4246_s.gif;4245_4246.jpg;470.00;423.00;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 3534;Razliène hi¹ke; ; ;Razliène hi¹ke;3534_s.gif;3534.jpg;240.00;216.00;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 2107;Mini mobili; ; ;Mini mobili;2107_s.gif;2107.jpg;310.00;279.00;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 2214;Obe¹alnik za obleke; ; ;Obe¹alnik za obleke;2214_s.gif;2214.jpg;320.00;288.00;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 1484;Pikapoplonica; ; ;Pikapoplonica;1484_s.gif;1484.jpg;540.00;486.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 1412;Girali abakus; ; ;Girali abakus;1412_s.gif;1412.jpg;740.00;666.00;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 2058;Najljub¹e ¾ivali; ; ;Najljub¹e ¾ivali;2058_s.gif;2058.jpg;180.00;162.00;slikovni svetovi;slikovni svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1419;Raèka v obroèku; ; ;Raèka v obroèku;1419_s.gif;1419.jpg;49.00;44.10;lesene igraèe;najmlaj¹i; ;1; ; ; ; ; ; ; ; ; ; ; ; 4345;Oprema: Ronda kopalnica; ; ;Oprema: Ronda kopalnica;4345_s.gif;4345.jpg;69.00;62.10;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 1485;Ovèka; ; ;Ovèka;1485_s.gif;1485.jpg;119.00;107.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 4343;Oprema: Ronda spalnica; ; ;Oprema: Ronda spalnica;4343_s.gif;4343.jpg;119.00;107.10;otro¹ki svetovi;otro¹ki svetovi; ;0; ; ; ; ; ; ; ; ; ; ; ; 3582;Spomin; ; ;Spomin;3582_s.gif;3582.jpg;159.00;143.10;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ; ; ; 1401;Girali okvirèek; ; ;Girali okvirèek;1401_s.gif;1401.jpg;219.00;197.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ; ; ; 2077;Cirkusantek; ; ;Cirkusantek;2077_s.gif;2077.jpg;199.00;179.10;okrasne igraèe;okrasne igraèe; ;0; ; ; ; ; ; ; ; ; ; ; ; 2028;Kmetija; ; ;Kmetija;2028_s.gif;2028.jpg;29.95;26.95;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ;http://www.mitsumi.com/products/3_floppy.html; ; 3035;Ravnote¾je; ; ;Ravnote¾je;3035_s.gif;3035.jpg;99.00;89.10;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ;http://www.iomega.com/zip/products/insider.html; ; 1439;Slikovna veriga; ; ;Slikovna veriga;1439_s.gif;1439.jpg;79.00;71.10;dru¾abne igre;dru¾abne igre; ;0; ; ; ; ; ; ; ; ; ;http://www.iomega.com/zip/products/insider.html; ; 1631;Roler na palici; ; ;Roler na palici;1631_s.gif;1631.jpg;199.00;179.10;lesene igraèe;najmlaj¹i; ;0; ; ; ; ; ; ; ; ; ;http://www.hp.com/tape/colorado/5-8gbfeatures.html; ; 2482;Bivalski otroci; ; ;Bivalski otroci;2482_s.gif;2482.jpg;249.00;224.10;slikovni svetovi;slikovni svetovi; ;0; ; ; ; ; ; ; ; ; ;http://www.hp.com/tape/colorado/5-8gbfeatures.html; ; ---MOQ10003016033842b1f831836d70e0c8187dd27ebced-- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 12 10:39:00 2001 Subject: [ic] language problems...wrong display of letters HELPPPPPPPPPPPPP I'm having problems with the following letters : èÈ the rest seem to work fine they are used in iso-8859-2 or western europe encoding under windows the problem is this: although other characters : ¹©¾® are not saved in the mysql database as themselves but as some weird ASCII characters,they are later displayed correctly on the web page.(when you export them from interchange you get them also in ASCII characters...but as long as the web page works we don't care). This doesn't seem to be the case with ÈèÆæ.They are shown incorrectly.I exported the products table from mysql using DBTOOLS and noticed that the letters that are shown on the web page correctly are written in funny ascii code.But the ones that are not shown correctly are in the database written correctly.So it seems that interchange still has problems with non Us letters when it comes to writing and reading them from the database http://demo.igraca.com any help would be greatly apriciated. We don't care how the letters work when they are exported or imported we can fix this with macros.We just want them to appear correctly on the web page ------------------- http://www.email.si From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Wed Sep 12 10:48:01 2001 Subject: [ic] *.mysql files Hi, I use IC with a mysql database. I want to insert new fields in the pricing table for example a field for the minimum order quantity. I changed the database with PHPAdmin. My question is do I also have to update the pricing.mysql file ? I looked in the documentation but could not find out for what I need the *.mysql files. Ok I found out when I delete the *.sql file and start the IC-server again that the tables will be created again. But I think that not the whole story. Any idea or help would be appreciated. Thanks Goetz ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Sep 12 12:07:01 2001 Subject: [ic] Unable to log into ADMIN interface > Can anyone tell me how to log into the ADMIN > interface. I used demo/demo as user and password, but > stll it threw ans invalid pwd error. Do i need to > reset some files...pls help. This question is asked at least once per week. I would suggest that this SHOULD be added to the FAQ, or then it should be "underlined" in the install-docs. The answer for your question is interch/pass René From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Sep 12 12:45:03 2001 Subject: [ic] There is something wrong with the Mail-list archive... I just tested to find messages containing something about the default admin-UI username/password, but the search did not find anything (I used as keywords: default admin ui user password, and then I tried with:admin ui password). I have before tried to use the mail list search-engine, but I came to the conclusion that either I can't use it, or the search engine is useless. Usually I used Google in finding an answer to my questions, but now the Google search-cache does not contain anything about these messages. To my surprise I noticed that the message-archive is located behind several urls: developer2.akopia.com/archive/interchange-users/, ic.redhat.com/archive/interchange-users/, lists.akopia.com/pipermail/interchange-users/ and maybe somewhere else. The later archive seems to be updated more often than the first two, so I would suggest to get rid of the first two archives and concentrate the searches to the "lists.akopia.com" server. I would also suggest that Google would be used as an optional search-engine (it's free, but they will maybe show some ads...) my 0.02 cents :) René From: interchange-users at interchange.redhat.com (Bob Puff at NLE) Date: Wed Sep 12 14:43:01 2001 Subject: [ic] UI Admin Page not showing reports correctly Hello, On an interchange server I set up this spring (version 4.6.3): When I go to the admin area, Reporting, Orders, then click on "Overall by month", it lists april, may, june, and july... nothing for august or september. If I use the "View stats for any period of time", it only seems to display 4 months worth, even if the beginning and ending times span more than 4 months. Is there a patch for this? Ideas? Bob From: interchange-users at interchange.redhat.com (Jody Hixson) Date: Wed Sep 12 14:56:01 2001 Subject: [ic] IP Address Question If I build a catalog with a local IP, when it is put online with the domain name is there a way to change the addresses in the catalog, (wizard?) or will all the html links have to be changed by hand? Interchange 4.81. Thank you. Jody Hixson From: interchange-users at interchange.redhat.com (Support) Date: Wed Sep 12 15:06:00 2001 Subject: [ic] IP Address Question Change the server name directive. Jason. Jody Hixson wrote: > > If I build a catalog with a local IP, when it is put online with the domain > name > is there a way to change the addresses in the catalog, (wizard?) or will all > the html > links have to be changed by hand? Interchange 4.81. Thank you. > > Jody Hixson > > _______________________________________________ > 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 (Jonathan Clark) Date: Wed Sep 12 15:20:01 2001 Subject: [ic] *.mysql files > I use IC with a mysql database. > I want to insert new fields in the pricing table for example a > field for the > minimum order quantity. > I changed the database with PHPAdmin. > My question is do I also have to update the pricing.mysql file ? the pricing.mysql file gives ic details of the field types for creation of fields on the import of the pricing.txt file when creating the MySQL table (say after deleting your .sql file and restarting). Having said this, ic will still create a table using a default field type (varchar(128)?) for any fields it finds in the .txt file but not specified in the .mysql file. So, the answer in your case is no. But I always add them to the .mysql anyway, so I control the table recreation (field types / indexes) on a table recreation. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Sep 12 17:10:00 2001 Subject: [ic] Unable to log into ADMIN interface try login : interchange password : pass ----- Original Message ----- From: "inter change" <ic_india@yahoo.co.uk> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 12, 2001 2:53 PM Subject: [ic] Unable to log into ADMIN interface > Hi, > > Can anyone tell me how to log into the ADMIN > interface. I used demo/demo as user and password, but > stll it threw ans invalid pwd error. Do i need to > reset some files...pls help. > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kat Turner) Date: Wed Sep 12 17:13:59 2001 Subject: [ic] BUY LIST Button Could someone explain what the "BUY LIST" button is supposed to do. I can't tell that it does anything when I test IC. Thanks, _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Kat Turner) Date: Wed Sep 12 17:20:00 2001 Subject: [ic] Inaccurate Wizard results Hi, I have tried to use the Setup Wizard in the IC 4.8 admin section to setup the program. It never seems to save the entries I make correctly. I always have to go to Preferences and Tables to get it setup correctly. The index page setup in the Wizard doesn't seem to reflect any changes I make. I'm I using it incorrectly or does eveyone have this problem? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Randy Clapp) Date: Wed Sep 12 18:10:01 2001 Subject: [ic] BUY LIST Button Kat, In 4.6.x, the buy list button allowed you to enter quantities for multiple items, and add them all to your cart with a single button click. I would assume that this is the way it still functions in 4.8. -- Randy -----Original Message----- From: Kat Turner [mailto:ronzokat@hotmail.com] Sent: Wednesday, September 12, 2001 3:10 PM To: interchange-users@interchange.redhat.com Subject: [ic] BUY LIST Button Could someone explain what the "BUY LIST" button is supposed to do. I can't tell that it does anything when I test IC. Thanks, _________________________________________________________________ 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 (Jim Balcom) Date: Wed Sep 12 18:34:00 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive On Wed, 12 Sep 2001, Simon B wrote: SB>>For what it is worth, SB>> SB>>variables.txt includes: SB>>ORDER_ROUTES log main copy_user Order SB>>ORDERS_TO orders@ourdomain.net Order FWIW, do you have tabs in there? Or, spaces? (Which may not have anything to do with it.) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 12, 2001 at 18:30 PM: Walls impede my progress ---------------------------------------------------------------- This Linux System has been up 48 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Marc Horsfield) Date: Wed Sep 12 18:36:01 2001 Subject: [ic] Getting started. Hi all. These may be a horribly newby type questions, and please tell me if I'm in the wrong place. But I have 2 questions regarding the install of Interchange. I have finally got the thing to install (after doing it a couple'a times and getting the paths all messed up :). And now I go to http://<myweb>/foundation/ and it brings up the default html page. On the top of this page, there are 2 links, 1 to http://<myweb>/cgi-bin/foundation/index.html and the next to http://<myweb>/cgi-bin/foundation/admin/index.html Now, firstly, in my cgi-bin directory, there is only 1 file called 'foundation', which I assume is a cgi app which interprets that URL. But when I click on those links, I get a 'page not found' error. The server is definitely started, and I get this error in my error.log :: [12/September/2001:15:30:16 -0700] - /cgi-bin/foundation/index.html CGI mapping error: Undefined catalog: /cgi-bin/foundation at /home/<myweb>/interchange/lib/Vend/Server.pm line 182. I'm assuming that I've still got some path wrong, which one? Which leads me to my second question, how do I change my path structure once I've installed everything? Or, alternatively, could someone point me in the direction of a manual which tells me all this? I've searched through the documentation and can't find any reference to these things at all. Thanks Marc -- Marc Horsfield Side Effects Software LA Tech Support -- Domo Arigato, Mr Roboto -- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 12 18:44:01 2001 Subject: [ic] Unable to log into ADMIN interface On Wed, 12 Sep 2001, Rene Hertell wrote: RH>>This question is asked at least once per week. I would suggest that this RH>>SHOULD be added to the FAQ, or then it should be "underlined" in the RH>>install-docs. RH>> RH>>The answer for your question is interch/pass I would suggest that it somehow be auto-generated as a message into the mailing list on a weekly basis. However, I strongly suspect that newbies are installing the package and desperate for instant gratification and feeling frustration at the failure are immediately joining the list and asking the question, without listening first, without looking through the archives. As I recall when I installed 4.6 I was asked to supply a user name and password, or accept the default, and as I recall I was warned to write it down. But, then, I suffer from CRS. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 12, 2001 at 18:35 PM: In an unjust society, the only place for a just man is in prison ---------------------------------------------------------------- This Linux System has been up 48 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 12 18:51:00 2001 Subject: [ic] BUY LIST Button On Wed, 12 Sep 2001, Kat Turner wrote: KT>>Could someone explain what the "BUY LIST" button is supposed to do. I can't KT>>tell that it does anything when I test IC. One function that I have found (the only one so far) is if you use the search function in the upper left corner of the 'Construct' format and you type in, say 'red', and do a search. It's going to return a list of items that are red. You can go into each item and alter the quantities of the various red items that you want to buy, leaving blank those items that you don't want to buy. Then click on 'buy list' and they will all be put in your shopping cart. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 12, 2001 at 18:45 PM: Go shopping. Buy Stuff. Sweat in it. Return it the next day. ---------------------------------------------------------------- This Linux System has been up 48 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Sep 12 19:17:00 2001 Subject: [ic] Tax help At 02:00 PM 09/12/2001 +0200, you wrote: >Hi, > > >I wonder if there is a way to define a percentage tax for all countries. >I read in the doc but i can't find anything for this. > >Any Help? > Have you tried changing the values of TAXAREA, TAXFIELD and TAXRATE in Administration->Preferences (in the UI)? You could also use SalesTaxFunction to lookup rates dynamically (in the country table, for instance): http://ic.redhat.com/cgi-bin/ic/dev-4.8/icconfig_132.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Simon B) Date: Wed Sep 12 20:25:01 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive > SB>>For what it is worth, > SB>> > SB>>variables.txt includes: > SB>>ORDER_ROUTES log main copy_user Order > SB>>ORDERS_TO orders@ourdomain.net Order > > FWIW, do you have tabs in there? Or, spaces? > (Which may not have anything to do with it.) This file is created by makecat; I haven't touched it. The process has been: Remove previous version of IC 4.6 Install 4.8.1 using rpm on redhat 7.0 server. Run makecat and fill in the details in the similar way I have done using minivend 3.x, 4.6 etc Restart Interchange Each catalogue then fails:' Please specify the MailOrderTo directive in the configuration file.' So I uninstalled the rpm Installed via tarball Installation looked very happy, no errors: So I did this again: Run makecat Create a store in the similar way I have done using minivend 3.x, 4.6 etc Restart Interchange Again, each catalogue fails: 'Please specify the MailOrderTo directive in the configuration file.' I have seen the same problem report on the mail list several times but no solution. Could this be a bug? I will try adding all CPAN modules though I was under the impression that ./configure would prompt if any where required? All development is at a stand still until I can work out what the heck this error is referring too. Thanks for your interest in my plight Simon The cat error.log is blank and the interchange error.log suggests: - - - [12/September/2001:16:33:47 +1000] - - Low traffic settings. - - - [12/September/2001:16:33:47 +1000] - - ...UI is loaded... - - - [12/September/2001:16:33:48 +1000] - - Interchange V4.8.1 - - - [12/September/2001:16:33:48 +1000] - - Config 'teststore' at server startup - - - [12/September/2001:16:33:48 +1000] - - teststore config error: Please specify the MailOrderTo directive in the configuration file '' - - - [12/September/2001:16:33:48 +1000] - - teststore: config error. Skipping. - - - [12/September/2001:16:33:48 +1000] - - START server (1075) (INET and UNIX) - - - [12/September/2001:16:33:48 +1000] - - Accepting connections from localhost|127\.0\.0\.1 - - - [12/September/2001:16:33:48 +1000] - - INET mode server failed to start on port 7786: bind: Address already in use at /usr/local/interchange/lib/Vend/Server.pm line 1351. > - - - [12/September/2001:16:33:48 +1000] - - Continuing in UNIX MODE ONLY - - - [12/September/2001:16:33:48 +1000] - - START server (1080) (UNIX) From: interchange-users at interchange.redhat.com (Simon B) Date: Thu Sep 13 01:34:01 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive Doh; permissions problem chgrp -R interch /home/username/catalogs/catalogname fixed the problem. From: interchange-users at interchange.redhat.com (NetLink Connect) Date: Thu Sep 13 02:22:01 2001 Subject: [ic] item-subtotal Hi, I tried [item-subtotal noformat=1] to get rid of the '$' sign. However, it didn't work for me (minivend 3). If this is not possible in version 3, what other method I can do to get it work? Thanks Kathy ------------------------------------- N e t L i n k C o n n e c t Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Sep 13 05:49:01 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive On Thu, 13 Sep 2001, Simon B wrote: SB>>> SB>>For what it is worth, SB>>> SB>> SB>>> SB>>variables.txt includes: SB>>> SB>>ORDER_ROUTES log main copy_user Order SB>>> SB>>ORDERS_TO orders@ourdomain.net Order SB>>> SB>>> FWIW, do you have tabs in there? Or, spaces? SB>>> (Which may not have anything to do with it.) SB>> SB>>This file is created by makecat; I haven't touched it. SB>> SB>>The process has been: SB>> SB>>Remove previous version of IC 4.6 SB>>Install 4.8.1 using rpm on redhat 7.0 server. SB>>Run makecat and fill in the details in the similar way I have done using SB>>minivend 3.x, 4.6 etc SB>>Restart Interchange SB>>Each catalogue then fails:' Please specify the MailOrderTo directive in the SB>>configuration file.' But, you are looking in 'variables.txt', aren't you? If I am not mistaken, that does not get read until the store is started, not the server. I've not played with 4.8, so I may be way off base. But isn't the server at start up looking for 'catalog.cfg' in the docroot directory? Or, has 4.8 changed in this respect? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 13, 2001 at 05:40 AM: I do a lot of thinking in the john. Says a lot for my thoughts. ---------------------------------------------------------------- This Linux System has been up 59 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Simon B) Date: Thu Sep 13 05:53:01 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive Error - Please specify the MailOrderTo directive > > Doh; permissions problem > > chgrp -R interch /home/username/catalogs/catalogname > > fixed the problem. but screws up the correct permissions...damn. From: interchange-users at interchange.redhat.com (josephine eskaline joyce) Date: Thu Sep 13 06:39:00 2001 Subject: [ic] unable to log into admin interface hi, i tried logging into admin interface using interch/pass and interchange/pass. both doesnt seem to work. can any of u help in this regard. ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From: interchange-users at interchange.redhat.com (Simon B) Date: Thu Sep 13 07:09:01 2001 Subject: [ic] IC 4.8.1 - Please specify the MailOrderTo directive For the record: A manual install or rpm all works fine with Red Hat 7.0 including with mySQL and virtual domains All I needed to do was issue chgrp -R interch /home/username/catalogs/catalogname before restarting interchange The 'Please specify the MailOrderTo directive ...' message disappears. > > But, you are looking in 'variables.txt', aren't you? > If I am not mistaken, that does not get read until the store is started, not > the server. > > I've not played with 4.8, so I may be way off base. But isn't the server at > start up looking for 'catalog.cfg' in the docroot directory? > > Or, has 4.8 changed in this respect? > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Thursday, September 13, 2001 at 05:40 AM: > I do a lot of thinking in the john. Says a lot for my thoughts. > > ---------------------------------------------------------------- > This Linux System has been up 59 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 (Dave Barr) Date: Thu Sep 13 07:16:01 2001 Subject: [ic] Using NetBanx as a payment gateway (IC 4.6.5, Debian 2.2-17, MySQL 3.22, Perl 5.005-03) Hi, I'm hoping someone can point me in the right direction to emulate the in-built functionality within Interchange for CyberCash et al. We have established a relationship with a UK firm NetBanx (NetInvest) and they seem fairly flexible as to how we can approach the integration. We will host the pages for Credit Card details entry also the Valid, and Invalid response pages. When the user has entered all their (CC) details we shall send by form POST submission all relevant data to a script held on a NetBanx server. So far, so good, however what I would like to achieve is to have the valid response trigger the events similar to ../etc/receipt.html with the transaction and orderline (MySQL) db tables getting updated, and order routing sending eMails to all relevant parties. This will all naturally be done over SSL 8-) Is there a quick and easy way to do this? I've read *all* the dox and so am familiar with how Interchange works but I'd rather (at this point) not put a hook into the software if anyone can suggest an easier approach. Many regards Dave Barr From: interchange-users at interchange.redhat.com (Dave Barr) Date: Thu Sep 13 08:23:01 2001 Subject: [ic] Using NetBanx as a payment gateway (pls ignore) >I'm hoping someone can point me in the right direction to emulate >the in-built functionality within Interchange for CyberCash et al. >We have established a relationship with a UK firm NetBanx >(NetInvest) and they seem fairly flexible as to how we can approach >the integration. Please ignore this post... I was missing the icbackoffice pdf file but have since read it. Many apologies. Dave From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Thu Sep 13 08:55:00 2001 Subject: [ic] -X -e in SafeUntrap Hi List I need the -e -X File-Test-Operators in a little script but adding them to SafeUntrap only results in following error: Unknown operator prefix "-e" at /usr/lib/perl5/5.6.0/i586-linux/Safe.pm line 130, <GLOBAL> line 26. Compilation failed in require at (eval 30) line 1, <GLOBAL> line 26. BEGIN failed--compilation aborted at (eval 30) line 1, <GLOBAL> line 26. _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Clint Tevlin) Date: Thu Sep 13 08:59:01 2001 Subject: [ic] Use in Australia? Has anyone set up ic-4.8.1 in Australia? I'd like to know who you use for transaction processing. Kind Regards, Clint Sydney, Australia From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 13 09:20:01 2001 Subject: [ic] -X -e in SafeUntrap Tobias Henle <t.henle@thiesen.com> writes: > Hi List > I need the -e -X File-Test-Operators in a little script but adding them to > SafeUntrap only results in following error: > > Unknown operator prefix "-e" at /usr/lib/perl5/5.6.0/i586-linux/Safe.pm > line 130, <GLOBAL> line 26. > Compilation failed in require at (eval 30) line 1, <GLOBAL> line 26. > BEGIN failed--compilation aborted at (eval 30) line 1, <GLOBAL> line 26. man opcode daraus folgt: perl -MOpcode=opdump -e opdump und: SafeUntrap rand ftrexec ftis 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 (Juan Gonzalo Lopez) Date: Thu Sep 13 09:26:00 2001 Subject: [ic] Authorize.net Gateway Hi, I've been trying to set up IC with Authorize.net, but was imposible (I a real newbie), Is there a documentation or guide to follow. TKS Juan From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 13 12:06:22 2001 Subject: [ic] item-subtotal At 04:21 PM 09/13/2001 +1000, you wrote: >Hi, >I tried [item-subtotal noformat=1] to get rid of the '$' sign. >However, it didn't work for me (minivend 3). >If this is not possible in version 3, what other method I can do to get it >work? >Thanks >Kathy > You have a few choices: 1. Accumulate your own line item subtotal (within the [item-list][/item-list] pair): [set name=item_subtotal interpolate=1][calc] [item-price noformat=1] * [item-quantity] [/calc][/set] ... [scratch item_subtotal] will return the subtotal for each line; 2. Strip the currency formatting off of [item-subtotal]: [calc] my $subtotal = q{[item-subtotal]}; my $decpoint = '.'; # change this for the decimal separator for your locale $subtotal =~ s/[^\d$decpoint]//g; return $subtotal; [/calc] You could even write a usertag with your own custom subtotal sans formatting. Probably the best solution is to upgrade your catalog to a recent vintage of IC - there are wealth of improvements which make it worthwhile. - 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: Thu Sep 13 14:22:00 2001 Subject: [ic] language problems...wrong display of letters HELPPPPPPPPPPPPP Quoting Klosar18@email.si (Klosar18@email.si): > I'm having problems with the following letters : > èÈ > the rest seem to work fine > they are used in iso-8859-2 or western europe encoding under windows > the problem is this: > although other characters : ¹©¾® are not saved in the mysql database as > themselves but as some weird ASCII characters,they are later displayed > correctly on the web page.(when you export them from interchange you get them > also in ASCII characters...but as long as the web page works we don't care). > This doesn't seem to be the case with ÈèÆæ.They are shown incorrectly.I > exported the products table from mysql using DBTOOLS and noticed that the > letters that are shown on the web page correctly are written in funny ascii > code.But the ones that are not shown correctly are in the database written > correctly.So it seems that interchange still has problems with non Us letters > when it comes to writing and reading them from the database > http://demo.igraca.com > any help would be greatly apriciated. > We don't care how the letters work when they are exported or imported we can > fix this with macros.We just want them to appear correctly on the web page We have done some things with this in CVS -- you might try checking out a copy from the *devel* repository and seeing if that helps. -- 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 (interchange-users at interchange.redhat.com) Date: Thu Sep 13 14:24:00 2001 Subject: [ic] Upload Excel File Quoting G?tz Verdieck (goetz.verdieck@com4office.de): > According to Racke: > > Götz Verdieck <goetz.verdieck@com4office.de> writes: > >> I tried to upload the construct.xls template > >> and get the following error message > >> > >> DBD::mysql::db do failed: You have an error in your SQL syntax > >> near 'where sku = 'os28070'' at line 1 at > >> /Users/gv/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' > >> > >> > >> > >> Any idea or help would be appreciated. > > > > Which Interchange version do you using ? > > > > I use 4.8.1 on a Powerbook G3 OS X 10.0.4 > > this error appears when I select: > > Insert Product Data YES > in the Admin Wizard menu. > > But also when I tried to upload the products table in the Admin table > overview. > The *.xls was not opened or edited on the mac. > I used the original file from your site. > I am guessing that some inadvertent ASCII translation happened. -- 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 (Jud Harris) Date: Thu Sep 13 14:27:01 2001 Subject: [ic] Authorize.net Gateway Juan, There might be better info since this post, but I'm biased. :) http://developer2.akopia.com/archive/interchange-users/2001/msg02480.html Good luck. -Jud ----- Original Message ----- From: "Juan Gonzalo Lopez" <gonzalo@webkds.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 13, 2001 8:27 AM Subject: [ic] Authorize.net Gateway > Hi, I've been trying to set up IC with Authorize.net, but was imposible > (I a real newbie), Is there a documentation or guide to follow. > > TKS > Juan > > > _______________________________________________ > 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 Trunkhill) Date: Thu Sep 13 15:10:00 2001 Subject: [ic] shipping error? I am having problems trying to get a custom shipping setup to work. I have a catalog where items in one category have a fixed shipping price and everything else is charged for shipping based on the total price of the remaining items. I have written usertags to calculate the number of items that should be charged per item and have been able to get that charged correctly added for shipping as long as the person also orders an item which is charged by price. If the person only orders an item charged by price I get the following error. No match found for mode 'formula', quantity '', returning 0. Even though I know that the usertag tag is return the correct amount of 0.00. Any idea why the quantity would be NULL? Here is what I have in my shipping.asc. formula TestFormula [myshipping noformat=1] 0 0 0.00 {'adder' => "(\$Scratch->{thehandling} * 50)"} formula TestFormula [myshipping noformat=1] 0 100 3.33 {'adder' => "(\$Scratch->{thehandling} * 50)"} formula TestFormula [myshipping noformat=1] 100 9999999 9.99 {'adder' => "(\$Scratch->{thehandling} * 50)"} -- Scott Trunkhill 725 Broad St Product Research Specialist Augusta, GA 30901 Morris Communications (706) 823-3203 trunk@morris.com http://morris.com From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Sep 13 15:36:01 2001 Subject: [ic] Custom Checkout I need my shopping cart to go to a different page when a customer goes to checkout other than IC's ord/checkout.html. The customer must go to this other page to enter shipping info and credit card info and submit the order. I am wondering what variables/tags need to be passed back and forth so that interchange knows that the order was completed from this other page. What I would like to do is send the customer to my checkout then send them back to interchange's reciept page. All the while interchange treats this as though they checked out using the interchange checkout. The order tracking and reporting would all work just as it would normally. Is this possible? Is there documentation someone can point me to? I have been searching the archives, but not found anything yet. Can someone assist me with this if there is no documentation? Thanks in advance Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Sep 13 15:38:01 2001 Subject: [ic] Custom Checkout I forgot to mention, I am running IC 4.6.5 on RedHat 7.0 with the default db. Thanks Chad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ____ | | |\ | || Chad M. Wittrock (Chad.Wittrock@uni.edu) \__/ | \| _||_ University of Northern Iowa From: interchange-users at interchange.redhat.com (Mark R. Misko) Date: Thu Sep 13 16:37:00 2001 Subject: [ic] Database Access Issues - Shipping Rates Hello, I have posted a couple times recently about some shipping problems I have been having. Thank you to all who have responded. With your help, things are working out better. I am still encountering some problems when attempting to access uploaded shipping rate tables. The tables are in ASCI, comma separated files and are accurate by all my accounts (similar to the pre-installed ones). The problem lies in accessing the tables. I have setup some new shipping methods and have chosen Internal UPS as the lookup methods. I can select the proper ZONE chart from the pulldown menu, but cannot see the uploaded rate tables in its pulldown menu. I can only see the three preinstalled ones (Ground, NextDayAir, 2ndDayAir). However, I do see the uploaded ZONE charts. Any ideas? I have been trying to fix this problem for the past week and have tried many suggestions located in the message archives. Is it possible to add additional rate tables other than one that come preinstalled? Do I need to append the tables already there? I have already tried importing tables, but I need to create a new would I would imagine. I guess the basic question is, how can I add new shipping rate tables in addition to the ones that are preinstalled? Thank you, -Mark From: interchange-users at interchange.redhat.com (John Larsen) Date: Thu Sep 13 17:01:00 2001 Subject: [ic] Administrators section manual Ah man, Im running around in circles! I stumbled across the akopia interchange administrators manual for 4.6.? the other day, but now i cant find it! It was online and I thought I bookmarked it. If someone can forward me the link I would really appreciate it. I think it was something like http://help.akopia.com/admin/ or something but i keep getting the redhat site now. Thank you! John Larsen Designer/animator ___________________________________________________________ Website hosting for you...speed, stability and service at www.displaybiz.net From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Sep 13 17:12:01 2001 Subject: [ic] Administrators section manual > Im running around in circles! I stumbled across the akopia interchange > administrators manual for 4.6.? the other day, but now i cant find it! It > was online and I thought I bookmarked it. If someone can forward > me the link > I would really appreciate it. I think it was something like > http://help.akopia.com/admin/ or something but i keep getting the redhat > site now. nearly there.. http://help.akopia.com/4.6.5/ actually, you get this from the help button at the top-right of the ui pages. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Johnny Maldonado) Date: Thu Sep 13 17:55:01 2001 Subject: [ic] SQL DB SETUP Hello I was wondering if someone out there might know how to config IC to use Mysql and can IC 4.8.1 Demo use the Mysql DBMS Thanks Johnny _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Jud Harris) Date: Thu Sep 13 18:07:00 2001 Subject: [ic] SQL DB SETUP Johnny, When you're creating a new catalog with the 'makecat' program (in your interchange/bin directory), it will ask you if you want to use Mysql. Tell it you do, and it will. That's all there is to it. -Jud ----- Original Message ----- From: "Johnny Maldonado" <johnnymaldonado@hotmail.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 13, 2001 9:43 PM Subject: [ic] SQL DB SETUP > Hello > > I was wondering if someone out there might know how to config IC to use > Mysql and can IC 4.8.1 Demo use the Mysql DBMS > > Thanks > Johnny > > _________________________________________________________________ > 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 (Jim Balcom) Date: Thu Sep 13 18:17:01 2001 Subject: [ic] Determining Client Side Security I'm looking for a script or HTML to put on my main page to test the users browser to see what level of security they have enabled. I am using 128-bit SSL, and it seems that no matter how I try to tell them, I still get phone calls and e-mails telling me that my check out page is broken. I want to determine this early in the session while they are still in non-secure mode. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 13, 2001 at 18:10 PM: Only cosmetologists give make-up exams. ---------------------------------------------------------------- This Linux System has been up 1 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Thu Sep 13 18:36:00 2001 Subject: [ic] Design issue: best way to use [tree] tag ? I just upgraded to 4.8.1 from an early 4.6. One of the features I have planned for my store was to use n-level subcategories, just the functionality [tree] provides (correct me if i am wrong). Basically, I just want to be able to do is to use a structure like the following (which tree tag already supports) Home Section1 Subsection1-1 Subsection1-2 Section2 Subsection2-1 To be able to do put a location bar: Home >> Section1 >> Subsection 1-1 and to display in the left menu just the items of the current section (or subsection). For example, assuming i am under Section1, left side menu will only display: Subsection1-1 Subsection1-2 and location bar: Home >> Section1 Now the questions, has anyone done this before ? Anyone have any suggestions or knows that this is not feasible ? What DB is best to specify the [tree] parent son relationships ? (currently using products) Does the tree tag support the Layout Editor ? seems to me it can only support one level of subcats. thanks in advance _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (David Bronson) Date: Thu Sep 13 19:18:00 2001 Subject: [ic] store url change Hi All, I've been away from minivend/interchange for a while. It is nice to be back... I set up a demo store that graduated to being good enough to use as the real deal. Is there an easy way to change the base url? I originally set it up at www.domain.tld/~store and I would like to change it to www.storedomain.tld. I think that if I set apache up to point the new domain to the old one, the old one will show up in the browser address (which I would like not to happen). Thanks in advance, David Bronson From: interchange-users at interchange.redhat.com (Simon B) Date: Thu Sep 13 19:27:01 2001 Subject: [ic] SQL DB SETUP > I was wondering if someone out there might know how to config IC to use > Mysql and can IC 4.8.1 Demo use the Mysql DBMS If makecat appears to have a problem creating the db, create the database in mysql with permissions to the new cat user first. Then run makecat and it should work. From: interchange-users at interchange.redhat.com (Tim Constable) Date: Thu Sep 13 21:15:00 2001 Subject: [ic] Get CASH deposited to Your PayPAl Account! Works Fast!!! *Removal Instructions at bottom MAKE $20,000 in $5 Bills in weeks Using Paypal The e-mail Letter using PAypal not slow postage I want to offer this program to everyone I have had contact with or have sponsored into a program. You may or may not be interested. Just thought I'd pass it along as a quick way to make some extra cash and it has been proven to be completely LEGAL. You are providing a service and hundreds of people will be sending you $5 each. PLEASE READ THIS ******************************************************* This is something that I wouldn't normally even look at, except I read An ARTICLE IN THE WALL STREET JOURNAL on 6/16/2001 about PayPal and x.com. The e-mails just keep coming in for this program so that meant somebody's making money with it. I finally decided to read it and I am very glad I did. Please take a moment to read on! There have been other articles written about these companies in other well recognized journals. Because I'm a member of PayPal, I use it everyday in my business so I knew that this was real and would work. THIS IS THE FASTEST, EASIEST PROGRAM YOU WILL EVER DO!!! Complete it in one hour and you will never forget the day you first received it!!! Everything is done on the Internet by E-Mail. NEED PROOF? Here is a testimonial from individual who decided to invest nothing more than a little of their time. Testimonial from: ********************************************** Mary Gathers, Columbia, SC Hey ! This is Mary. I sent 20 e-mails out like you said and went on vacation. When I got back, my account was up to over $12,000! I owe you! ********************************************* GETTING STARTED If you don't already have a PayPal account, the first thing you need to do is go to PayPal and sign up. It takes two minutes and PayPal will deposit $5.00 for opening your account. It may take some time before Paypal deposits the $5 but they will, once your account is established. That makes this program FREE! Don't delay. Send $5 as soon as you open your account and get it back later. Here's the link to join Paypal https://www.paypal.com/refer/pal=andyo%40prodigy.net BE SURE TO SIGN UP FOR A PREMIER ACCOUNT! OR YOU'LL BE LIMITED TO $100 DOLLARS ONLY!!! YOU WILL MAKE MUCH MORE THAN THIS!!! Then...... E-Mail $5.00 from your PayPal account to the FIRST name on the list (#1) along with a little note like: "PLEASE ADD ME TO YOUR MAILING LIST." BE PREPARED TO GET EXCITED.... YOU WON'T BE DISAPPOINTED!!! Read the following and you will agree this is a very exciting opportunity. ARE YOU IN NEED OF MONEY RIGHT NOW? HOW DOES $20,000 IN TWO WEEKS SOUND? Don't laugh! Try this for a change while you wait for the others to start working. One hour of work to get started and no mailing lists! This service is 100% legal. (refer to US Postal and Lottery Laws, Title 18, Section 1302 and 1341, or Title 18, Section 3005 in the US code, also in the code of Federal Regulations, Volume 16, Sections 255 and 436, which state a product or service must be exchanged for money received). Here's How It Works Unlike many other programs, this THREE LEVEL PROGRAM is more REALISTIC and so much FASTER. Because it is so easy, the response rate for this program is VERY HIGH, VERY FAST -- Internet E-Mail FAST -- and you will see results in two weeks or less compared to a similar mail order program that takes weeks and months. JUST IN TIME FOR NEXT MONTHS BILLS! You only mail out 20 copies (not 200 or more as in other programs). You should also send them to people who send their programs, because they know these programs work and they are already believers in the system! This program is MUCH, MUCH FASTER and has a HIGHER RESPONSE RATE! Even if you are already in a program, stay with it, but do yourself a favour and DO THIS ONE as well. START RIGHT NOW! It's simple and takes NO INVESTMENT! It will pay off long before other programs even begin to trickle in! Just give ONE person a $5.00 gift (REMEMBER THOUGH, this $5.00 is $5.00 YOU WILL GET FREE FROM Paypal) That's all! If you already have a PayPal account and do not receive their $5.00 gift, feel free out of the goodness of your HEART to donate a $5.00 GIFT to the person in the number 1 spot to have your name added to their advertisement list. So anyone's MAXIMUM INVESTMENT IS only $5.00. The LORD will Bless you for it! Follow the simple instructions and in a few weeks you will have $20,000 in your bank account! Because of the ZERO INVESTMENT, SPEED, and HIGH PROFIT POTENTIAL, this program has a VERY HIGH RESPONSE RATE! FROM just ONE $5.00 bill. WHY PAYPAL? They will send your payment to anyone with an e-mail address anywhere in the world. They will notify the person by e-mail that you have sent $5 to that e-mail and the owner will arrange to collect the money from Paypal. Paypal will deduct a small fee. YAHOO PAY DIRECT can also send payment to anyone with an e-mail address, so if you have any problems trying to send money through Paypal, try Yahoo Pay Direct. Go to http://www.yahoo.com and click on Yahoo Pay Direct. It's FREE. Follow These Simple Instructions: 1. E-Mail the $5.00 from your PayPal account to the FIRST name on the list (#1) along with a note saying "Add me to your mailing list". Only the first person on the list gets your name and five dollar gift. Edit only the list, removing the FIRST (#1) NAME FROM THE LIST. Move the other two names UP and ADD YOUR NAME to the list in the THIRD (#3) position. Don't try to add your name in the first place in order to earn money fast! If you do that, you will ONLY reach people you sent e-mail to and then your name will be immediately removed from the first place and you can't reach more people! But if you add your name on the 3rd place, there will be tons of people receiving E-Mails with your name first later!!! If you choose to, you can replace the PayPal referring URL in the body of the letter with your own PayPal url. Lets Begin Send out 20 copies or more of this letter. More is better. ALSO NOTE: By sending this letter and the payment via E-MAIL, the response time is much faster... ELECTRONIC TRANSFER - INTERNET FAST! CONSIDER THIS, MILLIONS of people surf the Internet everyday all over the world! Here are the 3 e-mail addresses to start with. Send $5.00 to the first person!!! Here are 3 e-Mail Addresses ******************************************************* 1. tim_constable@hotmail.com 2. a5004@yahoo.com 3. andyo@prodigy.net ******************************************************* Fifty thousand new people get on the Internet every month! An excellent source of names is the people who send you other programs and the names listed on the letter they send you. Your contact source is UNLIMITED! Send your $5 payment TODAY! It's so easy. One hour of your time, THAT'S IT! General Instructions To send this message by e-mail, copy this ENTIRE PAGE and paste it in the message of your E-Mail. Now you can edit the addresses with ease. Delete the top name, adding your name and address to the bottom of the list, then simply changing the numbers. Remember, YOUR NAME goes on the BOTTOM and move the other 2 names up. But DO NOT forget to send $5.00 by PayPal (along with your note) to the TOP E-MAIL address before deleting it! NOTE: Be sure to replace the PayPal referring URL in this e-mail of the letter with your own PayPal referring URL. THERE'S NOTHING MORE TO DO. When your name reaches the first position in a few days, it will be your turn to collect your MONEY! The money will be sent to you by 2,000 to 4,000 people like yourself, who are willing to invest one hour to receive $20,000 in cash! That's all! There will be a total of $20,000 in $5.00 bills in your PayPal account in two weeks. $20,000 for one hour's work! This is real money that you can spend on anything you wish! Just deposit it to your own bank account or spend it directly from your PayPal account!!! It's just that easy!!! I think it's WORTH IT, don't you? GO AHEAD--- TRY IT!!! EVEN IF YOU MAKE JUST 3 OR 4 THOUSAND, WOULDN'T THAT BE NICE? IF YOU TRY IT, IT WILL PAY! CAN YOU DO IT AGAIN? OF COURSE YOU CAN--- this plan is structured for everyone to send only 20 letters each. However, you are certainly not limited to 20. Mail out as many as you want. Every 20 letters you send has a return of $20,000 or more. If you can E-MAIL forty, sixty, eighty, or whatever, GO FOR IT! THE MORE YOU PUT INTO IT THE MORE YOU GET OUT OF IT! Each time you run this program, just follow steps 1 through 3 and everyone on your gift list benefits! Simple enough? You bet it is! Besides, there are no mailing lists to buy (and wait for), and trips to the printer or copier, and you can do it again and again with your regular groups or gift givers, or start up a new group. Be SURE and PAY the first person on the list. This is proof that you paid to get put on the list which is the service rendered to make all this legal!!! Why not? It beats working! Step by Step e-Mail Instruction After you pay the first person on the list, remove the person's name, and move #2 person to the vacant #1 position, move #3 person to #2 position and put yourself in the new #3 position and then e-mail out this letter. Send out a couple e-mails of this letter and your name will climb to the number one position at dizzying rates. Follow the simple instructions, and above all, PLEASE PLAY FAIR. That's the key to this program's success. Your name must run the full gamut on the list to produce the end results. Sneaking your name higher up on the list WILL NOT produce the results you think, and it only cheats the other people who have worked hard and have earned the right to be there. So please, play by the rules and the $$$ will come to you! TRUST each OTHER, be FAIR and everyone that actively participates will make money $$$ E-MAIL YOUR LETTERS OUT TODAY! Together we will prosper! GOOD LUCK $$$ You are probably skeptical of this, especially with all the different programs out there on the web, but if you don't try this you will never know. That's the way I felt. I've been watching this type of program for years and this is about as easy and fast as you can get it and it can even be free so try now with PayPal, no stamps, no envelopes, no copies to be made - just a little effort and FAITH!!! This program has really "Kept It Short and Simple"! Let's all SUPPORT each OTHER and make serious money $$$$$ CLICK HERE TO BEGIN: https://www.paypal.com/refer/pal=andyo%40prodigy.net Please just play by the rules, this doesn't cost anything but your time and if everyone plays fair everyone WINS. GOOD LUCK.!!!!! THANKS FOR YOUR SUPPORT!!! *************************** _________________________________________________ Disclaimer: The above letter is not a guarantee of your income. Your income will depend on your efforts. Your earnings and results are highly dependent on your activities and advertising. This letter is not intended to constitute any guarantees, stated nor implied. In the event that it is interpreted that this letter constitutes a guarantee of any kind, that guarantee is now void. Any testimonials or amounts of earnings listed in this letter may be factual or non-verifiable. ********************** HAVE A GREAT DAY! REMOVAL INSTRUCTIONS: To Be removed from future mailings, simply send email to: cooltim_1@netzero.net with "Remove" in subject line. ------------------------------------------------------------------------------- ------------ This ad is being sent in compliance with Senate bill 1618, Title 3, section 301. Here is a more detailed version of the legal notice above: This message is sent in compliance of the new e-mail bill: SECTION 301. Per Section 301, Paragraph (a)(2)(C) of S. 1618, Further transmissions to you by the sender of this email may be stopped at no cost to you by sending a reply to this email address with the word "remove" in the subject line. ------------------------------------------------------------------------------- ------------ From: interchange-users at interchange.redhat.com (Jay Houghton) Date: Thu Sep 13 22:41:01 2001 Subject: [ic] (no subject) Hello all, I'm having some database problems that seem to be similar to these threads: Subject: [ic] editing index.html file Subject: [ic] UI page_edit error. error message I'm getting is: bin/cs1/admin/page_edit Safe: Can't call method "open_table" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 899. and: search error: your search file a valid database reference, was 'backup'. What I'm trying to do is edit *any* page in the admin->content>page editor, I have track this down to the absence of database tables in administration->info and administration->Tables I used to get all the tables in the database, now I get none. I've successfully configured postgres and have another system working the same way. I can't seem to figure this out? IC 7.8.1 Perl Version: Perl 5.6.0 (called with: /usr/bin/perl) postgresql-7.0.3-8 Jay Houghton Advanced Software Concepts jay@advsw.com office: 978-594-5065 mobile: 617-270-5660 From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Sep 14 07:36:01 2001 Subject: [ic] script before receipt.html Hi list, where can i put a perl script which is executed before displaying the receipt.html to the user? i know it is something aboute the order route but what, is there a attribute to execute a file wich is interpreted by interchange so i can use the ITL like in the `Route * receipt etc/receipt.html'? i need it to do some database stuff for our order routines _cu_ (mit freundliche Grüßen) -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 14 07:55:00 2001 Subject: [ic] script before receipt.html Tobias Henle <t.henle@thiesen.com> writes: > Hi list, > where can i put a perl script which is executed before displaying the > receipt.html to the user? > i know it is something aboute the order route but what, is there a attribute to > execute a file wich is interpreted by interchange so i can use the ITL like in > the `Route * receipt etc/receipt.html'? > i need it to do some database stuff for our order routines Look at etc/log_transaction (triggered by Route log) in the demo 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 (Gaby) Date: Fri Sep 14 08:45:00 2001 Subject: [ic] Interchnage 4.8 eror help plz Hi All. I have some problem when running interchange with apache module I got next errors in debug.log Died in server spawn: options not a database, cannot use as products file Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/Vend/Data.pm line 674. And in browser "Internal Server Error" So I can't run Interchnage . Also I can admit that it can appear suddenly ,but when I reload page 5 or 6 times it sometimes keep running with no problem . Thanks for any sugestion Gabi From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 14 08:59:01 2001 Subject: [ic] script before receipt.html On Fri, Sep 14, 2001 at 01:54:14PM +0200, Stefan Hornburg (Racke) wrote: > Tobias Henle <t.henle@thiesen.com> writes: > > > Hi list, > > where can i put a perl script which is executed before displaying the > > receipt.html to the user? > > i know it is something aboute the order route but what, is there a attribute to > > execute a file wich is interpreted by interchange so i can use the ITL like in > > the `Route * receipt etc/receipt.html'? > > i need it to do some database stuff for our order routines > > Look at etc/log_transaction (triggered by Route log) in the demo > catalog. We put all ours in the report page. They redirect to receipt or failure page accordingly. Route might work; I don't know anything about it - it's too "new". :-) 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 (Kaare Rasmussen) Date: Fri Sep 14 09:24:00 2001 Subject: [ic] Button usertag Seems to me that the button usertag doesn't translate __THEME__. This bit of code from the cart component acts diffent for the recalculate_button.gif and the checkout_button.gif: <INPUT type="image" src="__THEME__/recalculate_button.gif" BORDER=0> </td> <td align="center" valign="center"> [button text="Check Out" src="__THEME__/checkout_button.gif" hidetext=1 form=basket ] mv_todo=return mv_nextpage=ord/checkout [/button] Anything to do about 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@webline.dk From: interchange-users at interchange.redhat.com (Randy Moore) Date: Fri Sep 14 10:37:00 2001 Subject: [ic] Database Access Issues - Shipping Rates At 03:36 PM 9/13/01 -0500, you wrote: >Hello, > >I have posted a couple times recently about some shipping problems I have >been having. Thank you to all who have responded. With your help, things >are working out better. > >I am still encountering some problems when attempting to access uploaded >shipping rate tables. The tables are in ASCI, comma separated files and are >accurate by all my accounts (similar to the pre-installed ones). > >The problem lies in accessing the tables. I have setup some new shipping >methods and have chosen Internal UPS as the lookup methods. I can select >the proper ZONE chart from the pulldown menu, but cannot see the uploaded >rate tables in its pulldown menu. I can only see the three preinstalled >ones (Ground, NextDayAir, 2ndDayAir). However, I do see the uploaded ZONE >charts. > >Any ideas? I have been trying to fix this problem for the past week and >have tried many suggestions located in the message archives. > >Is it possible to add additional rate tables other than one that come >preinstalled? > >Do I need to append the tables already there? I have already tried >importing tables, but I need to create a new would I would imagine. > >I guess the basic question is, how can I add new shipping rate tables in >addition to the ones that are preinstalled? Hello, It sounds like Interchange has not been told that the new tables exist or how to access them. Simply putting your new tables into the products directory is not enough. You also have to let Interchange know about the new tables. This can be done several different ways. You should read the docs on "Databases" for the complete picture. If you are using the Foundation template, the quick way is to add a new 'dbm' file in the "dbconf/default_db" directory (if you are using internal tables) or in the appropriate subdirectory for your SQL server. Hope this helps. Randy Moore Axion Information Technologies, Inc. email ramoore@axion-it.net phone 301-408-1200 fax 301-445-3947 From: interchange-users at interchange.redhat.com (Moe Pitman) Date: Fri Sep 14 11:37:00 2001 Subject: [ic] Can't restore saved carts I'm stumped. We are implementing a store based on Foundation. We are able to log in and save carts and recurring orders. They appear in the userdb databse as they should. But when we go to the saved_carts page and select a saved cart, the basket page displays an empty cart. This happens even when we take out our modified cart code and replace it with the original code from the foundation cart. Is there any documentation at all that explains how foundation restores thise carts? I can't seem to find any. Any help is greatly appreciated. --Moe Pitman From: interchange-users at interchange.redhat.com (Jay Houghton) Date: Fri Sep 14 11:57:00 2001 Subject: [ic] RE: I've figured at least a solution to this, it may have been an overlook on my part, not sure. I was able to solve the "open_table" error, and database connection problems encountered in the admin site by logging in with the 'interch' user. Coincidentally in my catalog config, interch is the interchangeuser, catuser, postgres user and the admin user. When I had logged into the admin as 'jay' (another admin superuser account i created with the interch admin login) I lost all database connectivity. Now, postgres has a user called 'jay' that has permission, buy I fear that the configured database user 'interch' needs to match the login you're under in the admin. problem solved, reason unknown.. Jay -----Original Message----- From: Jay Houghton [mailto:jay@advancedsoftwarecorp.com] Sent: Thursday, September 13, 2001 10:40 PM To: interchange-users@interchange.redhat.com Cc: Jay Houghton Subject: Hello all, I'm having some database problems that seem to be similar to these threads: Subject: [ic] editing index.html file Subject: [ic] UI page_edit error. error message I'm getting is: bin/cs1/admin/page_edit Safe: Can't call method "open_table" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 899. and: search error: your search file a valid database reference, was 'backup'. What I'm trying to do is edit *any* page in the admin->content>page editor, I have track this down to the absence of database tables in administration->info and administration->Tables I used to get all the tables in the database, now I get none. I've successfully configured postgres and have another system working the same way. I can't seem to figure this out? IC 7.8.1 Perl Version: Perl 5.6.0 (called with: /usr/bin/perl) postgresql-7.0.3-8 Jay Houghton Advanced Software Concepts jay@advsw.com office: 978-594-5065 mobile: 617-270-5660 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 14 12:58:00 2001 Subject: [ic] Why does __IMAGE_DIR__ mean different things? When I am editing a template - like "leftonly" - I can use the variable __IMAGE_DIR__ and it comes out to CATROOT/<site>/images, but when I try to use it in the Page Edit area, when I put it in, the admin interface changes it when I save to /interchange/en_US/__IMAGE_DIR__. Does this mean I need to have my images in two different places? Or is there another variable I should be using? Also, I've noticed that the behavior of Page Edit is very different in terms of the Save and Preview buttons. In Page Edit when you save, it takes you back to the list of pages and you have to re-select the page you were editing, but it stays in edit mode in Template Edit. And if you Preview in Page Edit mode, the page is previewed in a different window, whereas in Template Edit its in the same window. Are these differences intentional? They are kind of confusing and a pain. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Sep 14 13:29:00 2001 Subject: [ic] Interchnage 4.8 eror help plz At 03:35 PM 09/14/2001 +0300, you wrote: >Hi All. > >I have some problem when running interchange with apache module >I got next errors in debug.log > >Died in server spawn: options not a database, cannot use as products file > >Died in server spawn: Can't call method "new" on an undefined value at >/usr/lib/interchange/Vend/Data.pm line 674. > > >And in browser "Internal Server Error" >So I can't run Interchnage . >Also I can admit that it can appear suddenly ,but when I reload page 5 or 6 >times it sometimes keep running with no problem . Are you using Mysql? There were errors in the options sql table definition (yourcat/dbconf/mysql/options.mysql) in some versions of the 4.7.x branch, which became known as 4.8 at an arbitrary point. The header of the file may look like this: Database options options.txt SQL Database options DSN __SQLDSN__ Database options DEFAULT_TYPE text ... But should look like this in order to work: Database options options.txt __SQLDSN__ #ifdef SQLUSER Database options USER __SQLUSER__ #endif #ifdef SQLPASS Database options PASS __SQLPASS__ #endif Database options DEFAULT_TYPE text ... - 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: Fri Sep 14 13:35:00 2001 Subject: [ic] Can't restore saved carts At 10:41 AM 09/14/2001 -0500, you wrote: >I'm stumped. > >We are implementing a store based on Foundation. We are able to log in >and save carts and recurring orders. They appear in the userdb databse >as they should. But when we go to the saved_carts page and select a >saved cart, the basket page displays an empty cart. > >This happens even when we take out our modified cart code and replace it >with the original code from the foundation cart. > >Is there any documentation at all that explains how foundation restores >thise carts? I can't seem to find any. > >Any help is greatly appreciated. > That doc is here: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_48.html I used the [userdb set_cart] and [userdb get_cart] features constantly with Minivend 3.x, but I just have not had the need with any IC catalogs I have worked on. [userdb get_cart] takes a target parameter (i.e. [userdb function=get_cart target=cartname] to load a saved cart into an 'active' cart, main should be the default), and though it is not documented, set_cart takes a source parameter: [userdb function=set_cart source=cartname] (again, main should be the default). Hope this helps. - 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 (chaim klar) Date: Fri Sep 14 13:38:00 2001 Subject: [ic] Handling Charge We are trying to add a handling charge to our orders. If we understand the documetation correctly the way to do it is to add: <input type="hidden" name="mv_handling" value="hazmat"> to the form that adds to the shopping cart(i.e. flypage), where hazmat would match a valid shipping mode from shipping.asc. So far we just havn't been able to get it to work. Can anyone tell us were we are going wrong? Your help would be greatly appreciated. Chaim Klar _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Support) Date: Fri Sep 14 13:46:01 2001 Subject: [ic] How to Uninstall Interchange? Since I am having so much trouble getting the Interchange program to work, How do I UNINSTALL the program so that I can reinstall it? John D. Gorena From: interchange-users at interchange.redhat.com (Support) Date: Fri Sep 14 14:08:01 2001 Subject: [ic] Interchange and the Cobalt RAQ I can't seem to get past an error when using makecat. Does anybody have an Idea how to install Interchange easily on a Raq4i? Maybe I installed it wrong and I need to start over . . How do you uinstall this program? It is not in the Uninstall Directory. -- John D. Gorena From: interchange-users at interchange.redhat.com (Sheamus Nulty) Date: Fri Sep 14 14:19:00 2001 Subject: [ic] Button problem Hi Folks, I'm having a very strange problem when using the button tag. A catalog I'm building for the last few weeks seems to be displaying any button tag now as a text box and not an image. If for example I use the following code [button text="Checkout" src="__THEME__/checkout_button.gif" hidetext=1 form=basket getsize=1 ] mv_todo=return mv_nextpage=ord/checkout [/button] a text Checkout button is created. Now from what I can remember this problem occured when I upgraded from 4.7 to 4.8 . However, if I create a new catalog from scratch and use the same code for a button then it properly displays the image. Both catalogs are running off the same code base so I don't understand why one works and the other doesn't. If someone could please shed some light on this I will be eternally grateful as its driving around the twist. Thanks Sheamus From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Sep 14 14:27:00 2001 Subject: [ic] forcing files to be parsed by IC Hi all, I am running IC 4.6.5. I have added onto the products database, and linked a second table to it (similar to the way the pricing tables etc are linked). The information that is entered into that table though is not parsed by interchange. eg, __VARIABLE__ does not get parsed, nor do IC tags. How would I force data from the table (or certain columns within the table) to be parsed by IC? thanks, corey From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Fri Sep 14 14:38:01 2001 Subject: [ic] Button problem > I'm having a very strange problem when using the button tag. A catalog I'm > building for the last few weeks seems to be displaying any button > tag now as > a text box and not an image. If for example I use the following code > > [button > text="Checkout" > src="__THEME__/checkout_button.gif" > hidetext=1 > form=basket > getsize=1 > ] > mv_todo=return > mv_nextpage=ord/checkout > [/button] > > a text Checkout button is created. Now from what I can remember > this problem > occured when I upgraded from 4.7 to 4.8 . Can you show us what the html is that is created? (for each one) imho the __THEME__ is a simple substitution which occurs very early in the interpolation and is not likely to be the cause of the problem. More likely the file is not where the generated html is pointing.. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Kat Turner) Date: Fri Sep 14 15:28:00 2001 Subject: [ic] Mailing lists Hi, I'm new to IC and want to change the list of mailing lists on the checkout.html page. I know I can edit the checkout.html page but I was wondering if there is a better way to do it within the IC admin. interface. Also is there a connection between selecting mailing lists on the the checkout.html page and acually sending the mail out to the lists? Any help would be appreciated. Kat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Sep 14 15:40:01 2001 Subject: [ic] How to Uninstall Interchange? On Fri, 14 Sep 2001, Support wrote: > Since I am having so much trouble getting the Interchange program to work, How do > I UNINSTALL the program so that I can reinstall it? It depends on how you installed it. From rpm, you can use a rpm gui, or from the command line rpm -e <package name> Or if you installed from source, rm -rf /path/to/ic Do the same to the catalog directory if you haven't made any changes you carea bout. I am not sure about the debian packages (Racke?) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 14 15:51:01 2001 Subject: [ic] Button problem Quoting Sheamus Nulty (snulty@celticlinks.com): > Hi Folks, > > I'm having a very strange problem when using the button tag. A catalog I'm > building for the last few weeks seems to be displaying any button tag now as > a text box and not an image. If for example I use the following code > > [button > text="Checkout" > src="__THEME__/checkout_button.gif" > hidetext=1 > form=basket > getsize=1 > ] > mv_todo=return > mv_nextpage=ord/checkout > [/button] > > a text Checkout button is created. Now from what I can remember this problem > occured when I upgraded from 4.7 to 4.8 . > > However, if I create a new catalog from scratch and use the same code for a > button then it properly displays the image. > Both catalogs are running off the same code base so I don't understand why > one works and the other doesn't. This should be the clue. The question is -- how does the button tag know when to display an image and when to display text? It is simple. It tests to see if the file for the image exists; if it does, then it uses the image. If it doesn't find the image, it shows the text version instead of what it things will be a broken image. The way it knows where it should look is from a concatenation of the Variable value DOCROOT, the catalog.cfg directive ImageDir, and the image name itself. It puts those together, stripping off any /~user/ component in front of the ImageDir, and sees if that file exists. If it does, it shows the image. If it doesn't then it uses the text version. My guess is that DOCROOT doesn't correspond to where your HTML/image files are. -- 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 (Kaare Rasmussen) Date: Fri Sep 14 16:46:00 2001 Subject: [ic] Button problem > This should be the clue. The question is -- how does the button tag know > when to display an image and when to display text? This is exactly the same problem I reported in my message with the subject "Button usertag". What I found strange is that it finds the recalculate_button.gif but not the checkout_button.gif, even though they have the same prefix (__THEME__). -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 14 17:21:01 2001 Subject: [ic] Handling Charge On Fri, 14 Sep 2001, chaim klar wrote: ck>>We are trying to add a handling charge to our orders. If we understand the ck>>documetation correctly the way to do it is to add: ck>><input type="hidden" name="mv_handling" value="hazmat"> to the form that ck>>adds to the shopping cart(i.e. flypage), where hazmat would match a valid ck>>shipping mode from shipping.asc. ck>>So far we just havn't been able to get it to work. Can anyone tell us were ck>>we are going wrong? ck>>Your help would be greatly appreciated. I simply (and quietly) added mine in to shipping.asc. This is just one line, and it all goes on one line. fdxg Ground weight 0 0 (1 tab) e Nothing to ship! {'ui_ship_type' => "weight", (just a space) 'zone' => "220",'table' => "Ground",'ups' => "1", (just a space) 'adder' => "(\@\@TOTAL\@\@ * .25 ) + 2.00",'at_least' => "5.50", (a space) 'geo' => "zip",} I use this for FedEx Ground shipping. It uses the UPS lookup table for zones and rates. In the line that starts with "'adder'" that takes the total from the table (based on weight) and adds in 25% of that total. It also adds on $2.00, flat out. And, it says that the shipping has to be at least $5.50. This is working out pretty accurately for me. It covers the cost of boxes, of tape, of plastic bags. It also covers the cost of the weekly pick-up fee, and it takes care of the added charges that UPS and FedEx seem to mysteriously fabricate when it comes time for me to get billed. Therefore, once the customer gets to the check out page, and they put in their zip code, the shipping and handling is quietly calculated. The line on the page that once said 'Shipping" now says "Shipping and Handling". They are told that there is a handling charge, but not how much, since it is all included. In over 2 months of operation this way, I've gotten no complaints or questions. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 14, 2001 at 17:05 PM: Oxymoron: Definite possibility ---------------------------------------------------------------- This Linux System has been up 24 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Fri Sep 14 17:54:01 2001 Subject: [ic] (no subject) Hi everybody I can use a javascript menu that cascades out several levels on standard pages on my site, but when I try to call out that script in a shoppingcart page (some code in <head></head>, and then calling a .js file in the <body>) it doesn't work. Ive tried a couple of different kinds of menus and on one it says that the "access was denied" or "an object was expected" and so neither one shows at all. Any suggestions?? Please? Thanks a lot, Sincerely, Aaron Hazelton Vice President FixtureFactor.com From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Fri Sep 14 18:12:00 2001 Subject: [ic] How to Uninstall Interchange? > Since I am having so much trouble getting the Interchange program > to work, How do > I UNINSTALL the program so that I can reinstall it? It depends how you installed it... rpm = rpm -e interchange else delete /path/to/interchange (could be /usr/local/interchange or whatever place you installed it into...) and if you want to delete the catalog-files, the locate the place where your catalog is installed (could be $home/catalog) Rene From: interchange-users at interchange.redhat.com (Greg Heath) Date: Fri Sep 14 20:28:00 2001 Subject: [ic] Re: search parameters se=I% and op=like not working after upgrade Hmmm, If there was an error in the logs I would have worked it out! The code has worked for several years under MV and when I upgraded the sites to IC4.7 it still worked The code I use is here Subject: [ic] FYI: Product Search by Alphabet Date: Mon, 12 Mar 2001 11:41:57 +1000 http://developer2.akopia.com/archive/interchange-users/2001/msg02382.html Hit the page http://www.hwon.com.au/cgi-bin/products/results_index and try the links yourself. I'm still hunting... Greg Heath Web Development Pacific Technologies International P/L www.pacifictech.com.au greg@pacifictech.com.au From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Fri Sep 14 21:06:00 2001 Subject: [ic] javascript menu will not work Hi everybody I can use a javascript menu that cascades out several levels on standard pages on my site, but when I try to call out that script in a shoppingcart page (some code in <head></head>, and then calling a .js file in the <body>) it doesn't work. Ive tried a couple of different kinds of menus and on one it says that the "access was denied" or "an object was expected" and so neither one shows at all. Any suggestions?? Please? Thanks a lot, Sincerely, Aaron Hazelton Vice President FixtureFactor.com From: interchange-users at interchange.redhat.com (Level 1 System Administrator) Date: Sat Sep 15 01:22:00 2001 Subject: [ic] Problems/bugs with admin interface 4.8.1 Hi everyone, We've been working on Interchange to provide it as part of an ecommerce package for our customers. We've run into some little problems with the admin interface. Here's a test installation: http://216.65.43.10/interchange_sample/ The demo works just fine. No problems there. However, there are some minor URL problems on the admin interface. If you click on "admin interface", you are taken to: http://www.thisisatestfrompeter.com/cgi-bin/ic/admin/login?mv_session_id=skRrRg2w&mv_pc=7&destination=admin%2findex, http://www.thisisatestfrompeter.com/cgi-bin/ic/admin/login.html If you check the URL, you'll see a blank space before the final URL. On IE, that's no problem, as IE replaces it with a %25 code. On other browsers, like Netscape, it will go to the URL with the blank space, which will cause a server error. Eliminating the blank space solves the problem. If you go the right URL, you can obviously see a problem with the images. They point to /interchange/en_US/, which, well, don't exist. It wasn't set up (variable.txt points to /ic/images, not /interchange/en_US/). If you try to log in, with user "thisis03" and pass "pass", you get the following error: Sorry, the page (admin/index,http://www.thisisatestfrompeter.com/cgi-bin/ic/admin/login.html) was not found The requested page (admin/index,http://www.thisisatestfrompeter.com/cgi-bin/ic/admin/login.html) was not found. You can return to browsing our catalog, if you wish. http://www.thisisatestfrompeter.com/cgi-bin/ic/admin/login.html does exist. Here's some details on how I installed Interchange and this specific "store": - using source code: ./configure - then, to create a initial store so that interchange can run, I used makecat with default info. - started interchange su -f -c "/usr/sbin/interchange/bin/interchange -r -u" interch - then dir another makecat: ./makecat thisis03 --servername=www.thisisatestfrompeter.com --demotype=foundation --permtype=M --catuser=thisis03 --interchangeuser=interch --mailorderto=orders@thisisatestfrompeter.com --catroot=/home/ct/catalogs/thisisatestfrompeter_com_125092 --cgidir=/home/users/t/thisisatestfrompeter.com-28513/public_html/cgi-bin --cgiurl=/cgi-bin/ic --documentroot=/home/users/t/thisisatestfrompeter.com-28513/public_html --samplehtml=/home/users/t/thisisatestfrompeter.com-28513/public_html/ic --imagedir=/home/users/t/thisisatestfrompeter.com-28513/public_html/ic/images --imageurl=/ic/images --linkmode=unix INET or UNIX mode? unix Do you use CGIWRAP or SUEXEC? n Your company name: ...............................My Store Sample data type?: ...............................reports Set to 1 if you want to use MySQL, PostgreSQL, Oracle, or DB2: .. Account name that will control this catalog: .....thisis03 Administrative password: .........................pass Set to 1 to display demo helper features in your store: ..1 run "sh /home/ct/catalogs/thisisatestfrompeter_com_125092/config/makedirs"? y run "sh /home/ct/catalogs/thisisatestfrompeter_com_125092/config/installsample"? y Add catalog to interchange.cfg? y Add catalog to server running on PID 18149? y And that's it... I've included catalog.cfg at the bottom. A but? Or perhaps something that I just haven't yet discovered...? Any help will be greatly appreciated... if a developer helps, I'll make sure something ends up in your tip jar. :) Peter p.s.: thisisatestfrompeter.com is not real... it's IP is 216.65.43.10 catalog.cfg: #==========================================================================# # catalog.cfg # See the 'icconfig' document for details. #==========================================================================# # Read in initial variables from a database. VariableDatabase variable #==========================================================================# # Allow a template to drop in some beginning config. include etc/before.cfg #==========================================================================# # Warn if any important modules or usertags are missing. Require module Digest::MD5 "Need %s %s for better cache keys." Require module Safe::Hole Require module SQL::Statement Require module LWP::Simple Require UserTag email email_raw var loc table_editor button #==========================================================================# # Can send various files outside the catalog directory, for disk partition # reasons, for example. ParseVariables Yes ifdef LOGDIR ErrorFile __LOGDIR__/error.log AsciiTrack __LOGDIR__/tracking.asc TrackFile __LOGDIR__/usertrack endif ifndef LOGDIR AsciiTrack logs/tracking.asc TrackFile logs/usertrack endif ifdef CACHEDIR SessionDatabase __CACHEDIR__/session ScratchDir __CACHEDIR__/tmp endif ifndef CACHEDIR SessionDatabase session ScratchDir tmp endif #==========================================================================# # Database setup ParseVariables Yes ifndef SQLDSN Variable SQLDSN endif ifdef MYSQL include dbconf/mysql/mysql.cfg endif ifdef PGSQL include dbconf/pgsql/pgsql.cfg endif ifdef ORACLE include dbconf/oracle/oracle.cfg endif # Default DBM if nothing else defined ifndef SOME_DATABASE include dbconf/default_db/default_db.cfg endif ProductFiles products #==========================================================================# # The URLs which are written to refer back to our catalog. ParseVariables Yes VendURL http://__SERVER_NAME____CGI_URL__ SecureURL __SECURE_SERVER____CGI_URL__ ifndef SECURE_ENABLE SecureURL http://__SERVER_NAME____CGI_URL__ endif # Set the image path for relative images ImageDir __IMAGE_DIR__/ ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/ #==========================================================================# # Here we set up the catalog theme. ParseVariables Yes ifndef STYLE Variable STYLE default endif include templates/__STYLE__/theme.cfg #==========================================================================# # Last locale specified is the default. Locale en_US LC_CTYPE C LocaleDatabase locale #==========================================================================# # Various catalog settings. ScratchDefault mv_add_dot_html 1 ScratchDefault mv_no_session_id 1 ScratchDefault mv_no_count 1 SpecialPage catalog index SpecialPage report ../etc/report SpecialPage receipt ../etc/receipt # Allow others in our group to read/write files by default ReadPermission group WritePermission group # If a specific user session accesses our catalog more than this many times # in a 30-second time period. If the limit is exceeded, the LockoutCommand # (if set) is executed. Set this to 0 if you're getting links to 127.0.0.1 # during your testing. RobotLimit 100 # Sets Interchange to not parse <BODY MV="body 1"> and other tags within # HTML tags. Use [pragma no_html_parse 0] to enable on an individual page. Pragma no_html_parse # Strip whitespace from top of pages so you don't have to scroll down # before the HTML starts when doing 'view source' in a browser. Pragma strip_white #==========================================================================# # 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 price_level 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 this to No if you don't want auto-login capability for users CookieLogin Yes #==========================================================================# # Cart, order, and route settings. ParseVariables Yes ValuesDefault country __SHIP_DEFAULT_COUNTRY__ ValuesDefault mv_shipmode __SHIP_DEFAULT_MODE__ DefaultShipping __SHIP_DEFAULT_MODE__ MailOrderTo __ORDERS_TO__ AlwaysSecure ord/checkout login change_password ## Set this if you have a different secure server #AlwaysSecure order ord/checkout ord/basket login change_password process PriceField 0 CommonAdjust :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 FormIgnore mv_handling # # # Along these lines further, for better integrity and less chance of a # user screwing up your order routes: # Note that __ORDER_ROUTES__ is empty by default, default Route "default" # is used with cascades FormIgnore mv_order_route ## This route places the order entry in the database. If you don't ## have an inventory table (or a userdb table for that matter) make ## sure you remove it from the list of "transactions" tables. Route log <<EOF empty 1 encrypt 0 increment 0 report etc/log_transaction supplant 0 track logs/log EOF ## This route places the order entry in the database when you are ## entering an order from the admin. See above. Route log_entry <<EOF empty 1 encrypt 0 report etc/log_entry supplant 0 track logs/log EOF ifdef TRANSACTION_TABLES Route log transactions '__TRANSACTION_TABLES__' Route log_entry transactions '__TRANSACTION_TABLES__' endif ## This route copies the user if they requested that. We don't ## care (much) if it fails, so error_ok is set and failure will ## not cause the order to fail Route copy_user <<EOF empty 1 error_ok 1 encrypt 0 increment 0 report etc/mail_receipt supplant 0 track logs/log EOF ParseVariables Yes ## This route emails the order to you unless email is set to "", ## and failsafe-logs the order report a couple of places Route main <<EOF attach 0 credit_card 1 default 1 email '__ORDERS_TO__' encrypt 0 errors_to '__ORDERS_TO__' pgp_cc_key "__PGP_KEY__" pgp_key "__PGP_KEY__" receipt etc/receipt.html report etc/report supplant 1 individual_track orders track logs/tracking.asc EOF # Order routes can be maintained in a database # CHANGES TO THIS WILL OVERRIDE THE ROUTES ABOVE. RouteDatabase route # Default route is run if no routes set, this should be last Route # always Route default master 1 Route default cascade "log main copy_user" Route default empty 1 Route default supplant 1 Route default email '__ORDERS_TO__' ## Uncomment this if you want Routes read dynamically from DB #Route default dynamic_routes 1 ## Uncomment this if you want ITL allowed in routes #Route default expandable 1 ## These routes are not order routes, but payment routes Route authorizenet id "__AUTHNET_ID__" Route authorizenet secret "__AUTHNET_SECRET__" Route authorizenet host "__AUTHNET_HOST__" Route authorizenet referer "__AUTHNET_REFERER__" Route cybercash configfile "__CYBER_CONFIGFILE__" Route itransact id "__ITRANSACT_ID__" Route signio id "__SIGNIO_ID__" Route signio secret "__SIGNIO_SECRET__" Route signio partner "__SIGNIO_PARTNER__" Route signio vendor "__SIGNIO_VENDOR__" Route signio host "__SIGNIO_SERVER__" Route skipjack id "__SKIPJACK_ID__" Route skipjack partner "__SKIPJACK_PARTNER__" SalesTax __TAXFIELD__ TaxShipping __TAXSHIPPING__ SeparateItems Yes OrderCounter etc/order.number OrderLineLimit 200 OrderProfile etc/profiles.order etc/profiles.login etc/profiles.misc #==========================================================================# # Static page build settings. NoCache <<EOF admin login account logout config multi ord/basket ord/checkout query reconfig special EOF Static __CATALOG_STATIC__ StaticLogged __LOGGED_STATIC__ StaticAll Yes StaticDBM static StaticDepth 2 StaticDir __SAMPLEHTML__/pages StaticFly Yes StaticPath __SAMPLEURL__/pages #==========================================================================# ifdef UI_TRAFFIC_STATS TrackFile __UI_TRAFFIC_STATS__ endif # Deal with customer click history. For example, after adding an item to # the cart, the user can return to a specific search results page. History 10 UserTag history-scan Order find exclude default UserTag history-scan addAttr UserTag history-scan Routine <<EOR my %var_exclude = ( qw/ mv_credit_card_number 1 mv_pc 1 mv_session_id 1 /); sub { my ($find, $exclude, $default) = @_; my $ref = $Vend::Session->{History} or return $Tag->area($default || $Config->{SpecialPage}{catalog}); my ($hist, $href, $cgi); $exclude = qr/$exclude/ if $exclude; for(my $i = $#$ref; $i >= 0; $i--) { #Log("checking $ref->[$i][0] for $exclude"); next if $ref->[$i][0] eq 'expired'; if ($exclude and $ref->[$i][0] =~ $exclude) { next; } if($find) { next unless $ref->[$i][0] =~ /$find/; } ($href, $cgi) = @{$ref->[$i]}; last; } return $Tag->area($default || $Config->{SpecialPage}{catalog}) if ! $href; my $form = ''; for(grep !$var_exclude{$_}, keys %$cgi) { $form .= "\n$_="; $form .= join("\n$_=", split /\0/, $cgi->{$_}); } return $Tag->area( { href => $href, form => $form} ); } EOR # Allow delivery of soft goods (downloadable files). ActionMap deliver <<EOR sub { my $deliverable = shift; $Scratch->{deliverable} = $CGI->{mv_arg}; $CGI->{mv_nextpage} = 'deliver'; if(! $Session->{username} and $CGI->{mv_username}) { $Tag->userdb('login'); } return 1; } EOR # Allow customers to have their passwords emailed to them. ActionMap get_password <<EOR sub { $Config->{NoSearch} = ''; $CGI->{mv_nextpage} = $CGI->{mv_search_page} = 'action/get_password'; $CGI->{mv_todo} = 'search'; $Tag->update('process'); return 1; } EOR #==========================================================================# # Allow a template to drop in some ending config. include etc/after.cfg #==========================================================================# From: interchange-users at interchange.redhat.com (Jim Webster) Date: Sat Sep 15 01:31:00 2001 Subject: [ic] Authorize.net Hi all. Thx in advance for any help you can provide. ------------ My store is complete and I'm ready to enter my Authorize.net information to begin processing. I enter info into the wizard (nothing happens), not surprising as the wizard really never has worked for me. Im running IC 4.8. Can someone please describe in specifc detail, exactly what and where I need to input/modify IC in order to activate my authorize.net account? Pardon me if this a repost or redundant question. I have searched the forum and see many authorize.net queries but am uncertain whether or not they pertain to 4.8 as some of the things listed "to do" don't make sense in comparison to 4.8. Jim. www.saturdaycollectibles.com jim@powergatenetworks.com From: interchange-users at interchange.redhat.com (Doug Finley) Date: Sat Sep 15 05:41:00 2001 Subject: [ic] Shipping Calculation problem Hello All, I am having a tough time adding an additional calculation to a shipping lookup. Running 4.8.1 RH 7.1 PERL 5.6.0 My shipping.asc file looks like this: uspspm Priority Mail weight 0 0 e Nothing to Ship! uspspm Priority Mail weight 0 70 u PM [default zip 194] {'ui_ship_type' => "weight", 'zone' => "194", 'table' => "PM",'ups' => "1", 'adder' => "([subtotal] * .01 ) * 1.00", 'at_least' => "3.95", 'geo' => "zip",} uspspm Priority Mail weight 70 999999 e Over 70 lbs. Postage Pending. The lookup works great, but interchange is ignoring the adder. I based it on the samples in the interchange docs, and it does not seem that different from what others have posted to this list either, but alas, when I reach the checkout all I get is the shipping charge. I know that I have done something wrong I just can't find it. Any help is appreciated. Thanks, Doug Finley From: interchange-users at interchange.redhat.com (Ben Myles) Date: Sat Sep 15 06:32:00 2001 Subject: [ic] Basic question - multiple searches on one page Hi, This question I'm sure is very basic, however I'm tearing my hair out trying to come up with a solution. I need to perform two searches on one page. The structure of the searches I'm using to utilise the in-page search feature is as follows: [search-region ... ] [search-list] ... [/search-list] [more-list][more][/more-list] [no-match] Sorry, no matches for [value mv_searchspec]. [/no-match] [/search-region] I have two of these [search-region][/search-region] searches on my page - one at the top, one at the bottom. However although they are both using different categories in the search specs (se=Poran Gatoon and se=Silver & Gold) the resulting page seems to just use the first search processed on the page for both searches, regardless of the different specs. Any help is greatly appreciated. Cheers, Ben Myles From: interchange-users at interchange.redhat.com (Lars Oltmanns) Date: Sat Sep 15 07:02:01 2001 Subject: [ic] Perl Bundle Install Problems Hi, I am new to this mailing-list (and new to Linux). Tried to install the perl-bundle: perl -MCPAN -e 'install Bundle::Interchange' The following message ist displayed: --- Bundle Summary: The following items in bundle Bundle::Interchange had installation problems: MD5 --- Does anyone know how to solve this problem? Thanks for your help. Best regards, Lars From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sat Sep 15 08:07:00 2001 Subject: [ic] Payment through PBS (Denmark) Thanks to Tobias Henle I now have a construct like this: >FORM ACTION="[if value payment_method eq credit] https://paymentgateway [else][process secure=1][/else][/if]" METHOD="POST" name=checkout> This will go to the Payment Gateway if credit card is selected. It's fine except that <SELECT NAME="payment_method" onChange="this.form.submit()"> of course gives a problem now. Any workaround? I like this direct call because it saves me from using ssl unnecessarily on checkout. Question two: The payment gateway returns to either an OK page or an Error page. What will I write to get back to the local Interchange? <INPUT TYPE=HIDDEN NAME="OKpage" VALUE="http://okpage?x=y"> <INPUT TYPE=HIDDEN NAME="Errorpage" VALUE="http://errpage?x=y"> What will be okpage, errpage, x and y here? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sat Sep 15 08:26:00 2001 Subject: [ic] Payment through PBS (Denmark) > of course gives a problem now. Any workaround? OK, I'm currently doing this now: function submit_same(form) { form.action = "[process secure=1]" form.submit() } Hope someone knows about this: > Question two: The payment gateway returns to either an OK page or an Error > page. What will I write to get back to the local Interchange? > > <INPUT TYPE=HIDDEN NAME="OKpage" VALUE="http://okpage?x=y"> > <INPUT TYPE=HIDDEN NAME="Errorpage" VALUE="http://errpage?x=y"> > > What will be okpage, errpage, x and y here? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Sep 15 09:30:00 2001 Subject: [ic] Shipping Calculation problem On Sat, 15 Sep 2001, Doug Finley wrote: DF>>My shipping.asc file looks like this: DF>> DF>>uspspm Priority Mail weight 0 0 e Nothing to Ship! DF>>uspspm Priority Mail weight 0 70 u PM [default zip 194] {'ui_ship_type' => DF>>"weight", 'zone' => "194", 'table' => "PM",'ups' => "1", 'adder' => DF>>"([subtotal] * .01 ) * 1.00", 'at_least' => "3.95", 'geo' => "zip",} DF>>uspspm Priority Mail weight 70 999999 e Over 70 lbs. Postage Pending. I am using this as my adder: 'adder' => "(\@\@TOTAL\@\@ * .25 ) + 2.00",'at_least' => "5.50", 'geo' => "zip",} It's using the calculated shipping cost from a lookup table, adding on another 25% of that amount, and adding another $2.00. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, September 15, 2001 at 09:25 AM: Aren't cats just widdle furry balls of love? ---------------------------------------------------------------- This Linux System has been up 40 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Murat Yilmaz) Date: Sat Sep 15 10:26:00 2001 Subject: [ic] When stable? When is the interchange 4.8.x released as stable? Still it isn't officially released. Recently Redhat released a E-commerce package. What version of IC is used on that package? __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sat Sep 15 11:02:00 2001 Subject: [ic] Payment through PBS (Denmark) Kaare Rasmussen <kar@webline.dk> writes: > Thanks to Tobias Henle I now have a construct like this: > > >FORM ACTION="[if value payment_method eq credit] https://paymentgateway > [else][process secure=1][/else][/if]" METHOD="POST" name=checkout> > > This will go to the Payment Gateway if credit card is selected. It's fine > except that > <SELECT NAME="payment_method" onChange="this.form.submit()"> > of course gives a problem now. Any workaround? > > I like this direct call because it saves me from using ssl unnecessarily on > checkout. Just a reload of the page instead of a submit is better after changing the payment method. This JS hack may help you: onChange="this.form.mv_todo.value='go';this.form.mv_nextpage.value='@@MV_PAGE@@';this.form.submit()"> 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 (Jim Webster) Date: Sat Sep 15 14:31:01 2001 Subject: [ic] Site Launch How do I officially "launch" my site so I don't get TESTxxxx as my order #'s, etc. I launch in the wizard and it does nothing. What settings do I need to manually adjust? Jim. From: interchange-users at interchange.redhat.com (Guy Soudant) Date: Sat Sep 15 17:00:00 2001 Subject: [ic] Site Launch This is a multi-part message in MIME format. ------_=_NextPart_001_01C13E29.66F3EB10 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgSmltLA0KIA0KVGhlcmUgaXMgYSBmaWxlIGNhbGxlZCBvcmRlci5udW1iZXIgaW4gdGhlIGV0 YyBkaXJlY3Rvcnkgb2YgeW91ciBJQw0KaW5zdGFsbC4gSWYgeW91IGNoYW5nZSB0aGUgbnVtYmVy IHRoZXJlLCB0aGVuIHlvdSB3aWxsIGdldCBjdXN0b20gb3JkZXINCm51bWJlcnMuIEkgaGF2ZSBu b3RpY2VkLCBob3dldmVyLCB0aGF0IHlvdSBjYW5ub3QgaGF2ZSBhIG1peHR1cmUgb2YNCmNoYXJh Y3RlcnMgbGlrZSB0aGUgZm9sbG93aW5nIEYxU08wMDAxIChub3RpY2UgdGhlIG51bWJlciBhZnRl ciB0aGUgRikuDQpUaGlzIGRvZXMgbm90IHdvcmsuIFlvdSBtdXN0IGhhdmUgc29tZXRoaW5nIGxp a2UgRk9TTzAwMDEgKGNvbWJpbmF0aW9uDQpvZiBhbHBoYSBudW1lcmljIGFuZCB0aGUgbnVtZXJp YyBvciBudW1lcmljIG9ubHk7IG5vdCBhbHBoYW51bWVyaWMgLQ0KbnVtZXJpYyAtIGFscGhhIG51 bWVyaWMgLSBudW1lcmljKS4gVGhpcyBtYXkgYmUgYSBidWcsIGFuZCBtYXkgYmUgc29sdmVkDQpp biB0aGUgbGFzdCByZWxlYXNlLg0KIA0KSG9wZSB0aGlzIGhlbHBzDQogDQpSZWdhcmRzDQpHdXkg U291ZGFudA0KIA0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0gDQpGcm9tOiBKaW0gV2Vic3Rl ciANClNlbnQ6IFNhdCAxNS8wOS8yMDAxIDIwOjMxIA0KVG86IGludGVyY2hhbmdlLXVzZXJzQGlu dGVyY2hhbmdlLnJlZGhhdC5jb20gDQpDYzogDQpTdWJqZWN0OiBbaWNdIFNpdGUgTGF1bmNoDQoN Cg0KDQoJSG93IGRvIEkgb2ZmaWNpYWxseSAibGF1bmNoIiBteSBzaXRlIHNvIEkgZG9uJ3QgZ2V0 IFRFU1R4eHh4IGFzDQpteSBvcmRlcg0KCSMncywgZXRjLg0KCQ0KCUkgbGF1bmNoIGluIHRoZSB3 aXphcmQgYW5kIGl0IGRvZXMgbm90aGluZy4gIFdoYXQgc2V0dGluZ3MgZG8gSQ0KbmVlZCB0bw0K CW1hbnVhbGx5IGFkanVzdD8NCgkNCglKaW0uDQoJDQoJX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18NCglpbnRlcmNoYW5nZS11c2VycyBtYWlsaW5nIGxpc3QN CglpbnRlcmNoYW5nZS11c2Vyc0BpbnRlcmNoYW5nZS5yZWRoYXQuY29tDQoJaHR0cDovL2ludGVy Y2hhbmdlLnJlZGhhdC5jb20vbWFpbG1hbi9saXN0aW5mby9pbnRlcmNoYW5nZS11c2Vycw0KCQ0K CQ0KCQ0KDQo= ------_=_NextPart_001_01C13E29.66F3EB10 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IgoVAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAENgAQAAgAAAAIAAgABBYAD AA4AAADRBwkADwAXAAAACAAGABUBASCAAwAOAAAA0QcJAA8AFwAAAAgABgAVAQEJgAEAIQAAADJB QTZFNTUzQzhDNkFBNEE4RURGRkNBNTM0NEFEREZCAKkHAQOQBgDMDwAAOAAAAB8AGgABAAAAEgAA AEkAUABNAC4ATgBvAHQAZQAAAAAAAwA2AAAAAAAfADcAAQAAACoAAABSAEUAOgAgAFsAaQBjAF0A IABTAGkAdABlACAATABhAHUAbgBjAGgAAAAAAEAAOQAQ6/NmKT7BAR8APQABAAAACgAAAFIARQA6 ACAAAAAAAAIBRwABAAAALwAAAGM9dXM7YT0gO3A9c291ZGFudDtsPUNNMzUxMDItQS0wMTA5MTUy MTAwMDhaLTMAAB8ASQABAAAAIgAAAFsAaQBjAF0AIABTAGkAdABlACAATABhAHUAbgBjAGgAAAAA AEAATgCA+Wa0FD7BAR8AWgABAAAAGAAAAEoAaQBtACAAVwBlAGIAcwB0AGUAcgAAAAIBWwABAAAA QwAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAEppbSBXZWJzdGVyAFNNVFAAamltQHBvd2VyZ2F0 ZW5ldHdvcmtzLmNvbQAAAgFcAAEAAAAfAAAAU01UUDpKSU1AUE9XRVJHQVRFTkVUV09SS1MuQ09N AAAfAF0AAQAAABgAAABKAGkAbQAgAFcAZQBiAHMAdABlAHIAAAACAV4AAQAAAEMAAAAAAAAAgSsf pL6jEBmdbgDdAQ9UAgAAAABKaW0gV2Vic3RlcgBTTVRQAGppbUBwb3dlcmdhdGVuZXR3b3Jrcy5j b20AAAIBXwABAAAAHwAAAFNNVFA6SklNQFBPV0VSR0FURU5FVFdPUktTLkNPTQAAHwBmAAEAAAAK AAAAUwBNAFQAUAAAAAAAHwBnAAEAAAA0AAAAagBpAG0AQABwAG8AdwBlAHIAZwBhAHQAZQBuAGUA dAB3AG8AcgBrAHMALgBjAG8AbQAAAB8AaAABAAAACgAAAFMATQBUAFAAAAAAAB8AaQABAAAANAAA AGoAaQBtAEAAcABvAHcAZQByAGcAYQB0AGUAbgBlAHQAdwBvAHIAawBzAC4AYwBvAG0AAAAfAHAA AQAAACIAAABbAGkAYwBdACAAUwBpAHQAZQAgAEwAYQB1AG4AYwBoAAAAAAACAXEAAQAAABsAAAAB wT4Wr3nrWP3lJNlH8ZA6zFtwTE16AASHy8cAHwB0AAEAAABSAAAAaQBuAHQAZQByAGMAaABhAG4A ZwBlAC0AdQBzAGUAcgBzAEAAaQBuAHQAZQByAGMAaABhAG4AZwBlAC4AcgBlAGQAaABhAHQALgBj AG8AbQAAAAAAHwAaDAEAAAAYAAAARwB1AHkAIABTAG8AdQBkAGEAbgB0AAAAHwAdDgEAAAAiAAAA WwBpAGMAXQAgAFMAaQB0AGUAIABMAGEAdQBuAGMAaAAAAAAAAgEJEAEAAAC+BwAAugcAANUZAABM WkZ1U7RtQgMACgByY3BnMTI1gjIDQ2h0bWwxAzA/AQMB9wqAAqQD4wIAY2jBCsBzZXQwIAcTAoD/ EAMAUARWCFUHshHVDlEDAd0Q1zIGAAbDEdUzBEYQ2W8S6xHjCO8J9zsYzw4wNTsR0gxgYwBQCwkB ZDM2kxFgC6U0IBACKlwOsr0BkGcU8AqjEeMd6DQU8AA8IURPQ1RZUABFIEhUTUwgUABVQkxJQyAi LSAvL1czQyGARFQiRCCUMy4yIYBFTpwiPh7tHo8jwTE4H/BvIKIjDyQfJpAzHYAlcEV8QUQlzQ7x Ju8pbyT0NkEO8DxNRVRBB7BBMSxgPSJHCfAEkGF0RQWwIhLQT05UItBUEyzwBeFFeBDxbmdlPQZS dhMxL0EAkAIgIDaALjAuNDQxNzAQJyL+Ks8lAzc3H/BUSZhUTEUlzjBQIFsN4BJdBgBpdC7wTGF1 1m4Q8CRuNR/wLzNPMX+/JkU0kTbgKE8mnzq0NRFgADxCT0RZIGRp9HI9OtByOiA6kwAhAzA5PTFk bwDgPTEKsVxx/xiwPTEQ8AMwPZURYDpLHPERO09nOTYf8ERJVs89aQAAP6c6aTY0Qt8/8tBIaSBK B3AsOmkBwN89dwqiPXcKcSR8MCgRIeD/QqtIWEAvQT9CT0NfRG9O+wU6SzgdgCZuYnNw8wKAPYgn YQFATz9HP0hP/0lfSm9Rj0yPTZ9Qz0+/XL84IFRoBJAu8AQAIGFsIGYDEC7wYwdAYMBkxiAFsASB Lm51BtATMakLgCB0YAAgEUBjPOJbBZAtcXlhUD3weQhhIG8hMTjMWsULgHMBkGEQLv9j8GOTYOAu tGJiYcViYRjQvixiUgOgZkID8GEQIC7geQVAY3VloANwYVRnJXPnZfBkP1rySSARAC9AZyAcb3QN 4AmAZ/Bob3f+ZS9BZ/ItYGY0AHBsUWv04WCAbWl4dAhwLvBjgQ8Q8gDQNTARICBsaWt/ZtRqn1ry AhBhEGzwC4BnwCBGMVNPMHMADvB2KGxUZuphAYBndHKwKb9l8F/wYFE+UAeRbjJ3BbDqa2XwWWZR bWlBcM9a431sA3MDcBFAdXBykXBDRv5PcuYFoAbQC4AtYC/CY4H9B0BwEQBnIgZxYsAAcGFAP2b1 e+MFsXc/WvJ8t25s3Hk7dfN7U3u2LXungKD/e1yAp3U2AMBjYGHwfV9a4/FggGJ1Z2fwfDKDVXjQ /mwvQGFAYjULYHcBGNBgwPmHIGUuVM9V31bvV/9ZD/9aH1svXD9dT15fjH9Sb1N//1SPiL+Jz4rf i++M/44Pjx/nkC+RP0V8b3Bm0mBRYAD9e2Bzlf+XD5gfmS+aP5tP/5xfnW+ef5+Ppq+Tn5Svlb// ou+j/6UPph+nL6g/qU+qX+Orb7hrUmVnCxGiD7Ev/7I/s0+0X7Vvtn+3j7ifua+pwEhHdWNgUwhg ZABw/nS7z7zfve++/8APwR/CL//DP8RPxV/MP63Prt+v78h//8mPyp/Lr8y/zc/O38/v0P970g8k uDQlUXnALeB4wGlwemU9Mt1rC+I/iS215HJPBRBneqEDIE0HkHpzOvBl5HPg3SwQPIFS+z1rC4Bl CoHgX9NWPJDda2piP4lGA2E63Cwf4S/H6jraKUZiIFdl0/B0ov+Dz9vv5v/oD+kf6i/zOAZgPwIw 7B/tL+43BhAFQDE1cC8wOS8B0HMhAdA6/jMO8PDf8e/y//QP9R9flf5v9s/33+43749lRG/xLqTW LWlAL5FABJkuGNFtgf4uemH6v/vP/N/97/7/CbX8Q2MAnwGvAr8Hrwi/Cc/jCt/1nnViamMRDP8O D//uNzTDA0/wkjUZD68QvxHP/xr/HA8dGRcv1Y/Wn9ev2L/3IP8zveHRL+ICOi3br9y2AEJMT0NL UVVPZy3wPOZ4wHR5YMAuMUEAUkdJTi1SSUeASFQ6IDBweDCh/9RIKbEosj6VPzM+8T+PKR/fM9vu kTit33AWwFDdbyB0eXBAMzbgz+Hf4u+gqHfPdaFj8GNxYKBjaWXBxxD2IocQGoIibtDHEDeQGjHn eNA6ET5Qbid/sGjyK5D4U1R4PTEYvzGv05IzAT+HIDtyaaMdzx7fHOwjJ/ZzZ/BioS5Av0HPHO9E f79Fj0aZa+A7BGImaKB6u4H/fCMaIHWkPY8+nz+kbFF5Ir9EPNOv1L7u8G2Ch7B0bHD/cpB1kjoR RmBhMWMwR09IX39GbINQYcA6o0x/TY8/pWT6amlBP1QPVR9Gb1q/W8//XNnuwUQ/Xo9cn2DvYf9j Cv5fZs9n32iqY89k32LsBJ/vV49Ynz+Vg1BpYsF5Uu8w/2m/as9r3wTPBd8G4XEfci9bYu8S3EFu tO6gaAZwZoMskFDwdHA6Ly91P20Gwy9wUlcBL3DShqBmXm97+nTELco4oWmHcGQdMhJmgKCGoO8w e0hZ0FBFUkws8Es64Huf53yvfb9+zH19OKGAoHUAgTKAXGNmMVx1L+r/gj+DT4RfdFsl7yCfeT8W hf5BKJ13b3h/Y7+Q75H/kw/3lB+VLyS3NZbRKEWNX40p/yNuLf2YTyJWFsE0QSRvFtG/KyeaX55/ MW+jzzI3NSgS8EJPRFkonRawpY8yoaY3FsEtUE1MlyB9qkAAAB8ANRABAAAAegAAADwARQBBADEA MQBGADkANgBCADIAQQBCADcAMQAwADQANQBBAEIAOQA5ADkARQAyAEMAMQAxADYANwBBAEQAOQBF ADcAOQA0AEEAQABjAG0AMwA1ADEAMAAyAC0AYQAuAHMAbwB1AGQAYQBuAHQALgBuAGUAdAA+AAAA AAAfAEcQAQAAAB4AAABtAGUAcwBzAGEAZwBlAC8AcgBmAGMAOAAyADIAAAAAAAsA8hABAAAAHwDz EAEAAAA2AAAAUgBFACUAMwBBACAAWwBpAGMAXQAgAFMAaQB0AGUAIABMAGEAdQBuAGMAaAAuAEUA TQBMAAAAAAALAPYQAAAAAEAABzDQhqXOKD7BAUAACDDAqwFnKT7BAQMA3j/p/QAAAwDxPwkIAAAf APg/AQAAABgAAABHAHUAeQAgAFMAbwB1AGQAYQBuAHQAAAACAfk/AQAAAFoAAAAAAAAA3KdAyMBC EBq0uQgAKy/hggEAAAAAAAAAL089U09VREFOVC9PVT1GSVJTVCBBRE1JTklTVFJBVElWRSBHUk9V UC9DTj1SRUNJUElFTlRTL0NOPUdVWQAAAB8A+j8BAAAAKgAAAFMAeQBzAHQAZQBtACAAQQBkAG0A aQBuAGkAcwB0AHIAYQB0AG8AcgAAAAAAAgH7PwEAAAAeAAAAAAAAANynQMjAQhAatLkIACsv4YIB AAAAAAAAAC4AAAADAP0/5AQAAAMAGUAAAAAAAwAaQAAAAAADAB1AAAAAAAMAHkAAAAAAHwAwQAEA AAAIAAAARwBVAFkAAAAfADFAAQAAAAgAAABHAFUAWQAAAB8AMkABAAAANAAAAGoAaQBtAEAAcABv AHcAZQByAGcAYQB0AGUAbgBlAHQAdwBvAHIAawBzAC4AYwBvAG0AAAAfADNAAQAAADQAAABqAGkA bQBAAHAAbwB3AGUAcgBnAGEAdABlAG4AZQB0AHcAbwByAGsAcwAuAGMAbwBtAAAAHwA4QAEAAAAI AAAARwBVAFkAAAAfADlAAQAAAAQAAAAuAAAACwApAAAAAAALACMAAAAAAAMABhC8EalwAwAHEEsD AAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAASElKSU0sVEhFUkVJU0FGSUxFQ0FMTEVET1JE RVJOVU1CRVJJTlRIRUVUQ0RJUkVDVE9SWU9GWU9VUklDSU5TVEFMTElGWU9VQ0hBTkdFVEhFTlVN QkVSVEhFUkUsVEhFTllPVQAAAAACAX8AAQAAAD0AAAA8RUExMUY5NkIyQUI3MTA0NUFCOTk5RTJD MTE2N0FEOUU3OTRBQGNtMzUxMDItYS5zb3VkYW50Lm5ldD4AAAAAyq4= ------_=_NextPart_001_01C13E29.66F3EB10-- From: interchange-users at interchange.redhat.com (Miss Cleo) Date: Sat Sep 15 20:14:00 2001 Subject: [ic] Interchange an urgent message about your future This is a multi-part message in MIME format. ------Message_Boundary Date: Sat, 15 Sep 2001 17:13:50 -0700 Content-Type: multipart/alternative; boundary="----Alt_Boundary_1" ------Alt_Boundary_1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Date: September 15, 2001 Interchange, you must have friends in high places=2E=20 I've been authorized to issue you a Special Tarot Reading=21=20 You can learn about important events concerning your future=2E=20 It is vital that you call immediately=21=20 Call toll-free 1-800-701-7395 Talk with a psychic specialist and find out what is=20 likely to happen in the next three weeks=2E Interchange,=20 we know more about you then you may think=2E This offer=20 is for a limited time only- I can only hold it=20 for just a little while=21 Immediately call 1-800-701-7395 Interchange, our elite team of psychic predictors and=20 Tarot readers can be extremely accurate and should not=20 be underestimated=2E Interchange PLEASE CALL 1-800-701-7395 WHILE THIS=20 READING IS STILL APPROVED=2E P=2ES=2E Interchange, Please do not give or use this number=20 for anyone other than yourself=2E It's a special number=20 that's meant only for you=21 It is essential, however,=20 that you call in the next few days=2E Call 1-800-701-7395 With love & hope, Miss CLEO For a special free reading offer dial 1-800-817-8906=2E Must be 18+=2E For entertainment purposes only=2E ______________________________________________________________________ This message was sent by Access Resources using Responsys Interact (TM)=2E If you prefer not to receive future e-mail from Access Resources: http://rsp=2Ergc2=2Enet/servlet/optout?mmtDYCAYEbu0=2E26y9a7u=2E3d=2E26= -1z=2E26yzFbu0=2E26y9a7u=2E3d=2E26Dy=2E26=2E2ea70D9vfEf To view our permission marketing policy: http://www=2Ersvp0=2Enet ------Alt_Boundary_1 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <title>Urgent Message=21</title> <meta http-equiv=3D=22Content-Type=22 content=3D=22text/html; charset=3Diso= -8859-1=22> </head> <body bgcolor=3D=22=23FFFFFF=22> <table cellspacing=3D=220=22 cellpadding=3D=220=22 border=3D=220=22> <tr> <td width=3D=22484=22 height=3D=2214=22 colspan=3D=224=22 valign=3D=22t= op=22 bgcolor=3D=22=23006666=22>&nbsp;</td> </tr> <tr> <td width=3D=221=22 height=3D=22141=22 valign=3D=22top=22></td> <td width=3D=22347=22 height=3D=22447=22 rowspan=3D=223=22 valign=3D=22= top=22>=20 <p><br> Interchange, you must have friends in high places=2E I've been auth= orized=20 to issue you a<b> <font color=3D=22=23FF0000=22>Special Tarot Readi= ng=21</font></b>=20 You can learn about important events concerning=20 your future=2E It is vital that you call immediately=21<b><font col= or=3D=22=23FF0000=22>=20 Call toll-free 1-800-701-7395</font></b></p> <p> Talk with a psychic specialist and find out what is likely to hap= pen=20 in the next three weeks=2E Interchange, we know more about you then= you=20 may think=2E This offer is for a limited time only- I can only hold= =20 it for just a little while=21<b> Immediately call <font color=3D=22= =23FF0000=22>1-800-701-7395</font></b>=20 </p> <p>Interchange, our elite team of psychic predictors and Tarot reader= s can=20 be extremely accurate and should not be underestimated=2E</p> <p> Interchange PLEASE CALL<font color=3D=22=23FF0000=22> <i><b>1-800= -701-7395</b></i></font>=20 WHILE THIS READING IS STILL APPROVED=2E</p> <hr> <p> P=2ES=2E Interchange, Please do not give or use this number for a= nyone other=20 than yourself=2E It's a special number that's meant only for you=21= It is=20 essential, however, that you call in the next few days=2E<br> Call <b><font color=3D=22=23FF0000=22>1-800-701-7395</font></b></p> <p> <font color=3D=22=23FF0000=22>With love & hope,</font></p> <p><font color=3D=22=23FF0000=22> Miss CLEO</font></p> <p><font color=3D=22=23FF0000=22> For a special free reading offer di= al 1-800-817-8906=2E=20 </font></p> <p>&nbsp;</p> <p><font size=3D=22-1=22 color=3D=22=23FF0000=22>Must be 18+=2E For e= ntertainment purposes=20 only=2E </font></p> </td> <td width=3D=22116=22 height=3D=22141=22 valign=3D=22top=22 bgcolor=3D= =22=23FFFFFF=22><p><img src=3D=22http://ig=2Ergc2=2Enet/responsysimages/ttm= /1ES10914-010/daily1/IMC=2Egif=22 width=3D=22115=22 height=3D=22115=22></p> <p align=3D=22center=22><font color=3D=22=23FF3333=22 size=3D=22+1=22= >Date: September 15, 2001</font></p> </td> <td width=3D=2220=22 height=3D=22447=22 rowspan=3D=223=22 valign=3D=22t= op=22 bgcolor=3D=22=23006666=22>&nbsp; </td> </tr> <tr> <td width=3D=221=22 height=3D=22239=22 valign=3D=22top=22></td> <td width=3D=22116=22 height=3D=22239=22 valign=3D=22top=22 bgcolor=3D= =22=23006666=22>&nbsp;</td> </tr> <tr> <td width=3D=221=22 height=3D=2267=22 valign=3D=22top=22></td> <td width=3D=22116=22 height=3D=2267=22 valign=3D=22top=22 bgcolor=3D= =22=23FFFFFF=22><img src=3D=22http://ig=2Ergc2=2Enet/responsysimages/ttm/1E= S10914-010/daily1/CLEOsig=2Egif=22 width=3D=22112=22 height=3D=2265=22 bord= er=3D=222=22></td> </tr> <tr> <td width=3D=221=22 height=3D=221=22 valign=3D=22top=22><img width=3D= =221=22 height=3D=221=22 src=3D=22http://ig=2Ergc2=2Enet/responsysimages/tt= m/1ES10914-010/daily1/transparent=2Egif=22></td> <td width=3D=22347=22 height=3D=221=22 valign=3D=22top=22><img width=3D= =22347=22 height=3D=221=22 src=3D=22http://ig=2Ergc2=2Enet/responsysimages/= ttm/1ES10914-010/daily1/transparent=2Egif=22></td> <td width=3D=22116=22 height=3D=221=22 valign=3D=22top=22><img width=3D= =22116=22 height=3D=221=22 src=3D=22http://ig=2Ergc2=2Enet/responsysimages/= ttm/1ES10914-010/daily1/transparent=2Egif=22></td> <td width=3D=2220=22 height=3D=221=22 valign=3D=22top=22><img width=3D= =2220=22 height=3D=221=22 src=3D=22http://ig=2Ergc2=2Enet/responsysimages/t= tm/1ES10914-010/daily1/transparent=2Egif=22></td> </tr> </table><br>&nbsp;<br> <table border=3D=220=22 cellspacing=3D=220=22 cellpadding=3D=222=22 width= =3D=22100%=22> <tr><td height=3D=223=22 colspan=3D=222=22> <hr noshade=3D size=3D=221=22 color=3D=22=23FF0000=22> </td></tr> <tr> <td align=3D=22left=22 valign=3D=22top=22><A HREF=3D=22http://www=2Erespons= ys=2Ecom/rsvp=2Easp=22><img border=3D=220=22 src=3D=22http://images=2Ersvp0= =2Enet/responsysimages/responsys_powered_25=2Egif=22 width=3D=22135=22 heig= ht=3D=2225=22></A></td> <td align=3D=22right=22 valign=3D=22top=22><font face=3D=22Arial, Helvetica= , sans-serif=22 size=3D=221=22> This message was sent by Access Resources using <a href=3D=22http://www=2Er= esponsys=2Ecom/rsvp=2Easp=22>Responsys</a> Interact (TM)=2E<br> <a href=3D=22http://rsp=2Ergc2=2Enet/servlet/optout?mmtDYCAYEbu0=2E26y9a7u= =2E3d=2E26-1z=2E26yzFbu0=2E26y9a7u=2E3d=2E26Dy=2E26=2E2ea70D9vfEf=22 target= =3D=22_blank=22>Click here</a> if you prefer not to receive future e-mail f= rom Access Resources=2E<br> <a href=3D=22http://www=2Ersvp0=2Enet=22 target=3D=22_blank=22>Click here</= a> to view our permission marketing policy=2E </font></td> </tr> </table> </body> </html> ------Alt_Boundary_1-- ------Message_Boundary-- From: interchange-users at interchange.redhat.com (John Foster) Date: Sat Sep 15 21:58:00 2001 Subject: [ic] Interchange an urgent message about your future Urgent Message!Iguess this pretty well screws her veracity ratio! :-) From: interchange-users at interchange.redhat.com (Rick Lord) Date: Sat Sep 15 22:15:00 2001 Subject: [ic] Shipping Options Problem I am having a little trouble setting up the shipping options on the checkout page. I am using 4.8.1. In the admin interface there are over 20 options in the shipping configurations screen (after weeding out a few). However, on the checkout page the only options are UPS Next Day, Ups 2nd Day, and UPS Ground Commercial. On my old setup I only had UPS Next Day, Ups 2nd Day, and UPS Ground. I would rather have only a UPS Ground option since I don't trust the residential customers to pick residential. If I have to have Commercial or Residential I want it to be Residential. My question is, how do I set it up so these options are displayed? It would also be nice to have a usps option, but I didn't see that. Thanks in advance. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com From: interchange-users at interchange.redhat.com (Tim Watts) Date: Sun Sep 16 02:51:01 2001 Subject: [ic] Still Clueless - install without root I found information from several sources in the list, docs, etc. and came up with the following which works to install without root access: after decompressing the interchange-X.X.X.tar.gz file upload a file named 'installopts' into the interchange-X.X.X directory 'installopts' is a plain text file which looks similar to this: PREFIX=/home/user/interchange \ INSTALLPRIVLIB=/home/user/interchange/lib \ INSTALLSCRIPT=/home/user/interchange/bin \ INSTALLSITELIB=/home/user/interchange/lib \ INSTALLBIN=/home/user/interchange/bin \ INSTALLMAN1DIR=/home/user/interchange/lib \ INSTALLMAN3DIR=/home/user/interchange/lib NOTE: /home/user/interchange is the final directory for the IC software rather than using ./config SEND THE FOLLOWING COMMAND(S) cd interchange-X.X.X perl Makefile.PL `cat installopts` THE FOLLOWING MESSAGE IS DISPLAYED Where is your Interchange to be installed? [/home/user] SEND THE FOLLOWING COMMAND(S) /home/user/interchange #<--PREFIX from 'installopts' make make test make install THE FOLLOWING MESSAGE IS DISPLAYED Your Interchange main software installation appears to have been successful. You do not appear to have all the required modules installed. You are missing: Digest::MD5 #<--THESE WILL VARY DEPENDING ON SERVER SQL::Statement Safe::Hole Storable Trying to install now. Get Bundle::Interchange? [yes] SEND THE FOLLOWING COMMAND(S) no #<--'Bundle::Interchange' never seemed to work for me. NOTE: The message above did not appear when I installed IC 4.8.1 After finishing the install and creating a catlog, you can log into admin to find out what modules you need. SEND THE FOLLOWING COMMAND(S) cd /home/user/interchange #<--PREFIX from 'installopts' bin/makecat FOLLOW THE QUESTIONS TO INSTALL A CATALOG GO TO CPAN.ORG and get all the modules you need, upload to server and decompress When installing modules, place the same 'installopts' file in each module install directory and use the same commands for each install: cd module_directory perl Makefile.PL `cat installopts` make make test make install and the modules will be installed within your interchange install. I've done this successfully for three sites. Regards, Tim From: interchange-users at interchange.redhat.com (Peter Yoo) Date: Sun Sep 16 05:28:01 2001 Subject: [ic] Verisign as payment gateway Hello Dave, You are right, I've talked to VeriSign and they have fixed the error on the report page and now it's working just fine. Thank you for helping me get VeriSign working on my site!!! Peter. P.S. one last thing I have to work on before I 'launch' my site is to get USPS Global Express/Global Priority shipping work for International(KR) and I've been looking for any thread in the mailing archive..... Thanks again. On Thu, Sep 06, 2001 at 05:07:28PM -0400, David Totten wrote: > On Thu, 2001-09-06 at 15:05, Peter Yoo wrote: > > Hello Dave, > > > > After I changed MV_PAYMENT_ID line and remove the # in front of > > include global/signio line, it worked fine!!!! > > Good, I am glad it worked for you. > > > > > Thank you. > > > > I can see the transactions showing up in VeriSign > > Manager(https://manager.verisign.com) but when I try to look at the detail > > report of the transactions, I only get Transaction ID, Result, Street Address, > > Zip code and Total Amount. I do not get the rest of the info showing up in > > the VeriSign Manager Report. And also when I click on the Transaction ID to > > get detail info of the ID, I get some of the info then I get Error message > > saying to contact Customer Support. I am going to call VeriSign and see what's > > wrong with my transactions but.... > > > > Do you know why I'm not getting all the info from VeriSign Manager? > > > > Or is that all we get from interchange? > > I don't know. I haven't run into this problem. Perhaps it is something > that VeriSign can help with. I do not have a real account with VeriSign. > I was just able to get a testing one for the purpose of writing that > information, and testing as I went. > > Hopefully VeriSign can give you some more information. Perhaps it's just > that they would like to see some more information in the transaction or > something. If that is the case, please let me know, and I will make an > amendment to my instructions. > > Thanks, > Dave Totten > > > -- > ___________________________________________________________________ > GnuPG uid: 0x887B864C > Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C > For more information about GnuPG, visit http://www.gnupg.org > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sun Sep 16 06:57:00 2001 Subject: [ic] Payment through PBS (Denmark) > Just a reload of the page instead of a submit is better after changing > the payment method. This JS hack may help you: Yes, I'm doing something like that. But can you help me with my OKpage and Errorpage questions? The errorpage could maybe look something like <INPUT TYPE=HIDDEN NAME="Errorpage" VALUE="[process]"> So it will return to the checkout page if there is a validation error at the payment gateway. But then, how will it tell what problem arose? I'm more in doubt about the OKpage. Will I point it to specialpages/receipt.html? Will this see to it, that the report is mailed and the database is updated? Or will I point it at [process], this time with a special mode attached? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Sep 16 07:52:01 2001 Subject: [ic] Site Launch Quoting Guy Soudant (guy@soudant.net): > Hi Jim, > > There is a file called order.number in the etc directory of your IC > install. If you change the number there, then you will get custom order > numbers. I have noticed, however, that you cannot have a mixture of > characters like the following F1SO0001 (notice the number after the F). > This does not work. You must have something like FOSO0001 (combination > of alpha numeric and the numeric or numeric only; not alphanumeric - > numeric - alpha numeric - numeric). This may be a bug, and may be solved > in the last release. Not a bug -- it is the limitation of Perl's magical string increment. Look in "perldoc perlop" under "Auto-increment and Auto-decrement". -- 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 (interchange-users at interchange.redhat.com) Date: Sun Sep 16 07:53:01 2001 Subject: [ic] Perl Bundle Install Problems Quoting Lars Oltmanns (larsoltmanns@web.de): > Hi, > > I am new to this mailing-list (and new to Linux). > > Tried to install the perl-bundle: > > perl -MCPAN -e 'install Bundle::Interchange' > > The following message ist displayed: > > --- > Bundle Summary: The following items in bundle Bundle::Interchange had > installation problems: > > MD5 > --- > > Does anyone know how to solve this problem? > It isn't really a problem. This started occurring a couple of months ago with a new release of Digest::MD5, and can be safely ignored. If you want, you can do: perl -MCPAN -e 'install MD5' but it should not be necessary. -- 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: Sun Sep 16 07:54:00 2001 Subject: [ic] Basic question - multiple searches on one page Quoting Ben Myles (ben@blmfreelancing.com): > Hi, > > This question I'm sure is very basic, however I'm tearing my hair out trying > to come up with a solution. > > I need to perform two searches on one page. The structure of the searches > I'm using to utilise the in-page search feature is as follows: > > [search-region > ... > ] > > [search-list] > ... > [/search-list] > > [more-list][more][/more-list] > > [no-match] > Sorry, no matches for [value mv_searchspec]. > [/no-match] > > [/search-region] > > I have two of these [search-region][/search-region] searches on my page - > one at the top, one at the bottom. However although they are both using > different categories in the search specs (se=Poran Gatoon and se=Silver & > Gold) the resulting page seems to just use the first search processed on the > page for both searches, regardless of the different specs. You can't pass in two searches by URL. You would need to do an in-page search with parameters you pass in and handle yourself. -- 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 (Kevin Manderson) Date: Sun Sep 16 09:40:01 2001 Subject: [ic] Installing Spreadsheet::ParseExcel Discovered 4.8.1 needs tihs module along with Spreadsheet::WriteExcel. Installed WriteExcel ok, however, the parse oine errors. It needs Parse::RecDescent, which in turn needs OLE::Storage_Lite. Storage_Lite errors with a functrion called IO Scaler that isn't on CPAN and errors in the install. Any ideas? Regards kevin From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Sun Sep 16 10:16:01 2001 Subject: [ic] When stable? > When is the interchange 4.8.x released as stable? > Still it isn't officially released. > Recently Redhat released a E-commerce package. What > version of IC is used on that package? > 4.8.x is a stable Interchange series, following the convention that odd releases (4.7) are development and evens are stable (4.6, 4.8). The 4.8 series has been officially released. Take a look at http://developer.akopia.com/cgi-bin/ic for more info. As far as I know, the Red Hat E-Commerce suite includes the latest Interchange 4.8. See http://www.redhat.com/software/ecommerce/suite/. I hope this helps. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Sun Sep 16 10:34:01 2001 Subject: [ic] Installing Spreadsheet::ParseExcel On Sun, Sep 16, 2001 at 23:39, Kevin Manderson wrote: > Discovered 4.8.1 needs tihs module along with Spreadsheet::WriteExcel. > > Installed WriteExcel ok, however, the parse oine errors. It needs > Parse::RecDescent, which in turn needs OLE::Storage_Lite. Storage_Lite errors > with a functrion called IO Scaler that isn't on CPAN and errors in the > install. Any ideas? IO-stringy-1.220.tar.gz I'm not sure where I found this tarball, but it includes IO-stringy-1.220/lib/IO/Scalar.pm and it was part of my battle to get Spreadsheet::ParseExcel up and running (which was eventually successful, BTW). 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 (Stefan Hornburg Racke) Date: Sun Sep 16 13:14:00 2001 Subject: [ic] How to Uninstall Interchange? Corey Gilmore <cfg@dln.uvm.edu> writes: > On Fri, 14 Sep 2001, Support wrote: > > > Since I am having so much trouble getting the Interchange program to work, How do > > I UNINSTALL the program so that I can reinstall it? > > It depends on how you installed it. From rpm, you can use a rpm gui, or > from the command line > rpm -e <package name> > > Or if you installed from source, > rm -rf /path/to/ic > Do the same to the catalog directory if you haven't made any changes you > carea bout. > > I am not sure about the debian packages (Racke?) dpkg -r <package name> or to get rid of the configuration files too dpkg --purge <package name> 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 (Sydney Urshan) Date: Sun Sep 16 14:20:00 2001 Subject: [ic] Quantity of 1 Item Only How do I display the quantity of only 1 item in the cart? This is an example of what I need if it worked: [value item-quantity 2002] (2002 is sku/code #.) (I'm using IC 4.6.5) Thanks, Sydney Urshan p.s. Please cc answer to urshan@nethollywood.net. -- From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Sun Sep 16 14:24:00 2001 Subject: [ic] Installing Spreadsheet::ParseExcel You can find Scaler on CPAN if you do a search. That is how I found it. -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Rick Lord) Date: Sun Sep 16 18:22:00 2001 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 Desert Lord Enterprises http://www.desertlord.com From: interchange-users at interchange.redhat.com (Jason Osborne) Date: Sun Sep 16 18:53:02 2001 Subject: [ic] UPS XML and Interchange As I am sure that many of you are aware, UPS has XML tools that can be used to request package information, cancel a shipping order, or place one. I was wondering if anyone had ever messed with or successfully integrate part of all of their online tools. I am wondering what the best way would be to go about integrating this (XML or HTML?). In advance, thanks for the help. Sincerely, Jason Osborne Data and Telecom Network Solutions From: interchange-users at interchange.redhat.com (Daryl Erwin) Date: Sun Sep 16 20:22:00 2001 Subject: [ic] /foundation doesnt work Must be a simple setup problem..but what is it? /foundation doesnt work /foundation/ does! and of course /cgi-bin/foundation works too! Whats wrong? alias or something in httpd.conf?? -- Daryl Erwin, <daryl_erwin@hotmail.com> Heidelberg, ON _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (JT Justman) Date: Mon Sep 17 01:20:01 2001 Subject: [ic] Interchange an urgent message about your future Urgent Message!I can't resist. (comic value only) <<Interchange, we know more about you then you may think.>> Hey! A psychic Interchange development team... they show up at the first meeting with a finished site that suits your needs perfectly. <<This offer is for a limited time only- I can only hold it for just a little while!>> Thank you for defining "limited time only". I was always a little unsure of that. <<Immediately call 1-800-701-7395>> Wait, if you're psychic, why don't you call -me-? <<Must be 18+. For entertainment purposes only.>> Sorry, Cleo, IC isn't old enough yet. JT From: interchange-users at interchange.redhat.com (Kat Turner) Date: Mon Sep 17 06:37:01 2001 Subject: [ic] Frustrated with IC 4.8 How is it that IC 4.8 can have so many great features and be so ill behaved in implamenting them? What I mean by this is IC 4.8 seems to have everything you could think of to put on a wish list for an online store and then some. But when it comes to using the Administration interface to setup the store it is contrary as hell. The changes that I make either give unexpected results or have no effect at all. The help file included seems to be an after thought that only makes one want a real help file. I find it next to useless. The documentation on the Redhat web site is not much better. The wizard that was intended to be used for quick setup seems to have a mind of it's own. If I am the only one that is having problems with grasping how to use IC then it won't hurt my feelings at all for you to tell me how stupid I am and for you to point out what I am doing wrong. I would really like to get IC to perform the way a program if this caliber should. I am use to stable programs that work as intended. If this is the type of program that stems from the open source code theory of designing software then it seems to be a step backwards. Just my $.02 worth. KAT _________________________________________________________________ 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: Mon Sep 17 06:49:00 2001 Subject: [ic] Using MS SQL as backend Hi all, I want to use Microsoft SQL as my backend. I already have DBI and DBD::Sybase installed, what needs to be done next? I'm still new to Interchange and learning a lot from the tutorial. Is there a way for me to try the SQL calls from the tutorial session? --- francis vidal [bitstop network services] streaming media + web services v(02)330-2871,(02)330-2872 From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Mon Sep 17 07:00:00 2001 Subject: [ic] /foundation doesnt work > Must be a simple setup problem..but what is it? > > /foundation doesnt work > /foundation/ does! > and of course > /cgi-bin/foundation works too! > > Whats wrong? > alias or something in httpd.conf?? > Yep, httpd.conf You need to have the server name set properly: ServerName www.mydomain.com server is issuing a redirect to /foundation/ but with the wrong domain. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Sep 17 07:41:01 2001 Subject: [ic] Frustrated with IC 4.8 > But when it comes to using the Administration interface to setup the > store it is contrary as hell. The changes that I make either give > unexpected results or have no effect at all. The help file included seems You are right about the admin interface. It is not production quality yet. If someone on this list is working on the admin interface, I'd be glad to report the trouble I've had setting up a web shop. It ranges from above mentioned not-working update pages over 'merican Wizards to non-existing themes.cfg interface. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 07:58:00 2001 Subject: [ic] Frustrated with IC 4.8 "Kaare Rasmussen" <kar@webline.dk> writes: > > But when it comes to using the Administration interface to setup the > > store it is contrary as hell. The changes that I make either give > > unexpected results or have no effect at all. The help file included seems > > You are right about the admin interface. It is not production quality yet. > > If someone on this list is working on the admin interface, I'd be glad to > report the trouble I've had setting up a web shop. It ranges from above > mentioned not-working update pages over 'merican Wizards to non-existing > themes.cfg interface. Please file _proper_ reports to Bugzilla. This is IMHO the best way to get them fixed. 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 (Kaare Rasmussen) Date: Mon Sep 17 08:06:01 2001 Subject: [ic] Frustrated with IC 4.8 > Please file _proper_ reports to Bugzilla. This is IMHO the best way to > get them fixed. OK. Will do. Though I'm not sure that correction of the missing interface for theme.cfg in foundation is a feature request or a bug. A programmer could consider it the former, a user would thinkt it's the latter :-) -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Nick Robertshaw) Date: Mon Sep 17 08:12:00 2001 Subject: [ic] Frustrated with IC 4.8 IC 4.8 is 'a stable program that works as intended' It is representative of open source software generally in that: * Documentation is terse, sometimes incomplete, and sometimes oriented to the programmer or technically savvy reader * Code and features are highly evolved * Installation can be a bitch * The user's investment is not in cash, but in the time taken to understand how to install and configure the system (and initially in discovering how to understand how to understand). * Support comes from people who are not obliged to give it You are, indeed, not the only one experiencing frustration. But there are also many, many people who have succeeded at what you seem to be failing at. The difference might be hardware or software but is more likely to be expertise or persistence. Some, no doubt, are more suited to shrink-wrapped packages from the Black Prince of Redmond. So, rather than venting and causing everyone to become pissed off or just ignore you, try and deal with each of your problems by searching the documentation, and the archives of this forum. Then perhaps, pose a succinctly cast and specific question with sufficient details of your configuration and environment and you might get a useful answer. -- Nick Robertshaw As the hectic pace of life rushes you along, Remember to set aside a few minutes each day. At the end of the year, You'll have a couple of days saved up! ---------- >From: "Kat Turner" <ronzokat@hotmail.com> >To: interchange-users@interchange.redhat.com >Subject: [ic] Frustrated with IC 4.8 >Date: Mon, Sep 17, 2001, 6:24 AM > > How is it that IC 4.8 can have so many great features and be so ill behaved > in implamenting them? What I mean by this is IC 4.8 seems to have everything > you could think of to put on a wish list for an online store and then some. > But when it comes to using the Administration interface to setup the store > it is contrary as hell. The changes that I make either give unexpected > results or have no effect at all. The help file included seems to be an > after thought that only makes one want a real help file. I find it next to > useless. The documentation on the Redhat web site is not much better. The > wizard that was intended to be used for quick setup seems to have a mind of > it's own. > > If I am the only one that is having problems with grasping how to use IC > then it won't hurt my feelings at all for you to tell me how stupid I am and > for you to point out what I am doing wrong. I would really like to get IC to > perform the way a program if this caliber should. I am use to stable > programs that work as intended. If this is the type of program that stems > from the open source code theory of designing software then it seems to be a > step backwards. > Just my $.02 worth. > KAT > > _________________________________________________________________ > 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 (Stefan Hornburg Racke) Date: Mon Sep 17 08:13:00 2001 Subject: [ic] Frustrated with IC 4.8 "Kaare Rasmussen" <kar@webline.dk> writes: > > Please file _proper_ reports to Bugzilla. This is IMHO the best way to > > get them fixed. > > OK. Will do. Though I'm not sure that correction of the missing interface > for theme.cfg in foundation is a feature request or a bug. A programmer > could consider it the former, a user would thinkt it's the latter :-) I think it doesn't hurt to put into bugzilla when it is appropriately flagged as such. 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 (Leon Harris) Date: Mon Sep 17 08:38:00 2001 Subject: [ic] Frustrated with IC 4.8 You're not stupid, IC is hard. The learning curve is steep. I have been learning it since april, and I still haven't got a fully workable site up. I have made progress though, and I will get there. With respect to the documentation: yes it is rough. It also lags behind the current vesion of interchange. This is not unusual in documentation in Open Source projects. Think of it this way - how much written and clear documentation is there on MS service packs - next to none. IC is still a work in progress. I would say the state of IC documentation is the same as that of Perl when the Camel book came out - it is possible for an experienced IC developer to work well with it. It is bloody difficult for someone to pick it up. Personally, I have nearly quit it on at least 2 occasions. If I were with a larger company, and not spending my own cash (which is always short, as distinct from time which can be found from other projects) on developing this, I would probably advise them to spend money on getting a proprietary product with a shorter learning curve and better support, if one existed. Fortunately, we can do a lot to fix this. Yes us, the IC community of users. If you have a problem, and find a fix, add it to the online documentation annotation. Use the IRC - they can be a lot of help. Contribute your ideas back. Someday, someone versed with IC will write a cookbook, and it will sell a bundle. Something like the perl cookbook would be nice. Something that takes a problems-focussed approach to using interchange and then discusses how to solve them in ITL or perl, using IC objects. Something that discusses debugging strategies, performance profiling, flow of customers through your site and good site design with IC .... [/dream] Anyway, chin up. I think it gets easier after a while. Especially if you have a teddy to thump ! :( just my $0.02 Cheers, leon Kat Turner wrote: > How is it that IC 4.8 can have so many great features and be so ill behaved > in implamenting them? What I mean by this is IC 4.8 seems to have everything > you could think of to put on a wish list for an online store and then some. > But when it comes to using the Administration interface to setup the store > it is contrary as hell. The changes that I make either give unexpected > results or have no effect at all. The help file included seems to be an > after thought that only makes one want a real help file. I find it next to > useless. The documentation on the Redhat web site is not much better. The > wizard that was intended to be used for quick setup seems to have a mind of > it's own. > > If I am the only one that is having problems with grasping how to use IC > then it won't hurt my feelings at all for you to tell me how stupid I am and > for you to point out what I am doing wrong. I would really like to get IC to > perform the way a program if this caliber should. I am use to stable > programs that work as intended. If this is the type of program that stems > from the open source code theory of designing software then it seems to be a > step backwards. > Just my $.02 worth. > KAT > > _________________________________________________________________ > 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 (Stefan Hornburg Racke) Date: Mon Sep 17 08:42:01 2001 Subject: [ic] Require in Global UserTag Has anyone an idea why this didn't work: UserTag chart Routine <<EOF sub { eval { require GIFgraph::bars; }; if ($@) { ::logError("Cannot generate chart, GIFgraph module not installed: $@"); return; } } EOF snowflake.linuxia.de EX9E4JYr:linuxia.de - [17/September/2001:14:38:32 +0200] roll /cgi-bin/ic/roll/entrance/stats Cannot generate chart, GIFgraph module not installed: require trapped by operation mask at /usr/lib/perl5/GIFgraph/bars.pm line 14. > This is a global usertag, so it resembles the get_url UserTag. I suppose that I _should_ work, sigh. 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 (Jim Balcom) Date: Mon Sep 17 08:50:01 2001 Subject: [ic] Frustrated with IC 4.8 On 17 Sep 2001, Stefan Hornburg (Racke) wrote: SHR>>Please file _proper_ reports to Bugzilla. This is IMHO the best way to SHR>>get them fixed. And, how does one do that? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 17, 2001 at 08:45 AM: I inherited curiosity from my cat. Why do you ask? ---------------------------------------------------------------- This Linux System has been up 34 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 09:07:00 2001 Subject: [ic] Frustrated with IC 4.8 Jim Balcom <jim@idk-enterprises.com> writes: > On 17 Sep 2001, Stefan Hornburg (Racke) wrote: > > SHR>>Please file _proper_ reports to Bugzilla. This is IMHO the best way to > SHR>>get them fixed. > > And, how does one do that? Goto http://ic.redhat.com/bugs/, follow the link "Open a new Bugzilla account", and after acquiring the access information, use "Enter a new bug report". Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 09:30:01 2001 Subject: [ic] Frustrated with IC 4.8 Leon Harris <leon@quoll.com> writes: > You're not stupid, IC is hard. The learning curve is steep. I have been > learning it since april, and I still haven't got a fully workable site up. I > have made progress though, and I will get there. > > With respect to the documentation: yes it is rough. At some places it is quite broken. Just take a look at: http://ic.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icupgrade05%2e11 I'm really disposed to apply improvements to the IC documentation, at least describe some new features I added to IC, but I refuse to do this as long as the license of the documentation is not a truly Open Source one (e.g. complies with the DFSG). Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 09:35:01 2001 Subject: [ic] Require in Global UserTag Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > Has anyone an idea why this didn't work: > > UserTag chart Routine <<EOF > sub { > eval { > require GIFgraph::bars; > }; > if ($@) { > ::logError("Cannot generate chart, GIFgraph module not installed: $@"); > return; > } > } > EOF > > snowflake.linuxia.de EX9E4JYr:linuxia.de - [17/September/2001:14:38:32 +0200] roll /cgi-bin/ic/roll/entrance/stats Cannot generate chart, GIFgraph module not installed: require trapped by operation mask at /usr/lib/perl5/GIFgraph/bars.pm line 14. > > > > This is a global usertag, so it resembles the get_url UserTag. > I suppose that I _should_ work, sigh. No doubt you are calling it with [perl] $Tag->chart(@parms); [/perl] Safe will not allow a runtime require, no matter what you do. You would need to do: UserTag chart Routine <<EOF eval { require GIFgraph::bars; }; if($@) { return sub { ::logError("Cannot generate chart, GIFgraph module not installed: $@"); }; } sub { # Do some stuff with GIFgraph::bars; } EOF -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Prove you aren't stupid. Say NO to Passport. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 09:41:01 2001 Subject: [ic] Require in Global UserTag On Mon, Sep 17, 2001 at 02:41:22PM +0200, Stefan Hornburg (Racke) wrote: > > Has anyone an idea why this didn't work: > > UserTag chart Routine <<EOF > sub { > eval { > require GIFgraph::bars; > }; > if ($@) { > ::logError("Cannot generate chart, GIFgraph module not installed: $@"); > return; > } > } > EOF > > snowflake.linuxia.de EX9E4JYr:linuxia.de - [17/September/2001:14:38:32 +0200] roll /cgi-bin/ic/roll/entrance/stats Cannot generate chart, GIFgraph module not installed: require trapped by operation mask at /usr/lib/perl5/GIFgraph/bars.pm line 14. > > > The hardcoded error is not the real error. That's really misleading to say "not installed: $@". Presumably there really is a GIFgraph::bars.pm at /usr/lib/perl5/GIFgraph/bars.pm and you have "roll" set for global tags. What's on line 14 of GIFgraph::bars.pm? use something.pm? > This is a global usertag, so it resembles the get_url UserTag. > I suppose that I _should_ work, sigh. > > 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 -- 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 Sep 17 10:13:01 2001 Subject: [ic] Frustrated with IC 4.8 Quoting Kat Turner (ronzokat@hotmail.com): > How is it that IC 4.8 can have so many great features and be so ill behaved > in implamenting them? I will weigh in a bit on this since it seems to have excited some interest. We only have a limited amount of resource with which to develop Interchange. Interchange a development system to produce online shops and custom content management. The UI is an attempt to bring some of that power to users who are not Perl and web experts. We have been successful in that in some ways, and not in others. If everyone who was on the mail list was spending money with Red Hat, using our support services, instead of downloading the program for free and then using the mail list, we would, I guarantee, devote more resources to improving the program. We don't expect that, of course, but the fact remains that There Ain't No Such Thing As A Free Lunch. Perhaps we should devote more of our time to polishing the UI instead of improving feature content, and to some extent we are doing so, but we are limited in resources. The only way we will get more resources is for people to spend money with us. There are some ways to do this. You can purchase the E-commerce suite and get a year's worth of support with people to answer your questions as they come up. Or, you can retain us for a few hours of technical support so we can answer your questions and provide guidance. The predecessor to Interchange, Minivend, was largely supported by the clients who engaged me to do work for them based on Minivend. Most of them have never inhabited the mail list, so you wouldn't know them. But they had as much, no more, to do with the longevity of Interchange than anyone. If I hadn't been able to eat, then I would have done something else. Can Interchange get better? Yes, it consistently has. But it doesn't happen overnight and it happens in direct proportion to the amount of support that its users give it. That support can come in the form of efforts like those of Racke, who has more to do with developing Interchange than most of you know. It can come in the form of *well-documented, well-reasoned* bug reports to Bugzilla. It can come in the form of helping other users on the mail list when you can. It can come in the form of small self-contained contributions to the documentation or utilities -- the work of various people on payment systems is an example. Or it can come in the form of money. All help. I have devoted six years to this project. I have discovered that no matter what I do will never satisfy everyone. So I just do the best I can and trust that is enough. 8-) Mike -- 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 (Jonathan Clark) Date: Mon Sep 17 10:49:01 2001 Subject: [ic] Frustrated with IC 4.8 > From: interchange-users-admin@interchange.redhat.com > On Behalf Of mheins@redhat.com > We only have a limited amount of resource with which to develop > Interchange. Interchange a development system to produce online shops > and custom content management. The UI is an attempt to bring some of > that power to users who are not Perl and web experts. We have been > successful in that in some ways, and not in others. [snip] > I have devoted six years to this project. I have discovered that no > matter what I do will never satisfy everyone. So I just do the best I > can and trust that is enough. 8-) Well said Mike, I think that once in a while it is worth mentioning the roots of Interchange and the amount of time and effort that you, and others, have put into the product for the benefit of all. Maybe add to the auto email? It does not go unnoticed that you take the time amongst the *real* work to read messages on the list and even sweep up unanswered queries on _Sundays_. I am sure I speak for the majority in saying thankyou for this and your extreme level-headedness (restraint?) with your replies that I have seen over the last three years. I wish people would appreciate this a little more. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Bob Lorenzini) Date: Mon Sep 17 10:57:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 mheins@redhat.com wrote: > > Perhaps we should devote more of our time to polishing the UI instead > of improving feature content, and to some extent we are doing so, but > we are limited in resources. The only way we will get more resources is > for people to spend money with us. There are some ways to do this. You can > purchase the E-commerce suite and get a year's worth of support with > people to answer your questions as they come up. Or, you can retain us > for a few hours of technical support so we can answer your questions > and provide guidance. Mike I have seen a number of posts over time from persons looking to pay for help. I commend your reluctance to resist commercialising on this list but perhaps we would all be better off if Interchange/RH better communicate that they *commercially support* Interchange. Bob From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Mon Sep 17 11:06:01 2001 Subject: [ic] Frustrated with IC 4.8 I have been using interchange since minivend days, and i have nothing but good things to say about the product. what can you bitch about - price? lack of support?... seems like most frustrations are caused by either laziness or lack of programming skills. moo Vlad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Jonathan Clark > Sent: Monday, September 17, 2001 9:48 am > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Frustrated with IC 4.8 > > > > > > > From: interchange-users-admin@interchange.redhat.com > > On Behalf Of mheins@redhat.com > > > We only have a limited amount of resource with which to develop > > Interchange. Interchange a development system to produce > online shops > > and custom content management. The UI is an attempt to bring some of > > that power to users who are not Perl and web experts. We have been > > successful in that in some ways, and not in others. > > [snip] > > > I have devoted six years to this project. I have discovered that no > > matter what I do will never satisfy everyone. So I just do > the best I > > can and trust that is enough. 8-) > > Well said Mike, > > I think that once in a while it is worth mentioning the roots > of Interchange > and the amount of time and effort that you, and others, have > put into the > product for the benefit of all. Maybe add to the auto email? > > It does not go unnoticed that you take the time amongst the > *real* work to > read messages on the list and even sweep up unanswered > queries on _Sundays_. > > I am sure I speak for the majority in saying thankyou for > this and your > extreme level-headedness (restraint?) with your replies that > I have seen > over the last three years. I wish people would appreciate > this a little > more. > > 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 (Tom C) Date: Mon Sep 17 11:07:01 2001 Subject: [ic] -loop search "ra=yes"- doesn't return all Hello. I'm running Interchange 4.8.1-1 on Redhat Linux 7.0. I have the following lines in the html file: [loop search="fi=oils/tf=description/ra=yes"] [loop-field description]<br> [/loop] This lists the first 48 items and stops. There are 345 items listed in the database. Does any one know why it doesn't list all of the items, even though it says to "return all"? Thanks for your help! Thomas Campbell From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 11:21:01 2001 Subject: [ic] Frustrated with IC 4.8 "Vlad Sedov" <vlad@humbleguys.net> writes: > I have been using interchange since minivend days, and i have nothing but good things to say about the product. > > what can you bitch about - price? lack of support?... > seems like most frustrations are caused by either laziness or lack of programming skills. > It is a fact that there _are_ shortcomings and probably a number of bugs in the overall great product Interchange. But I'm quite sure that you'll notice these shortcomings and bugs in closed source eCommerce suites too. I learned a lot about Interchange just by reading the source code, although this is sometimes quite difficult. I squeezed several bugs in IC with this method too. This isn't possible with closed source products. Everyone _can_ help improving Interchange. 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 (Jonathan Clark) Date: Mon Sep 17 11:26:01 2001 Subject: [ic] -loop search "ra=yes"- doesn't return all > I have the following lines in the html file: > > [loop search="fi=oils/tf=description/ra=yes"] > [loop-field description]<br> > [/loop] > > This lists the first 48 items and stops. There are 345 items > listed in the probably 50 returned - the default matchlimit. Try: [loop search="fi=oils/tf=description/ra=yes/ml=1000"] incidentally, ra is on the one-click page: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_29.html but not on the reference page: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_33.html is this not a valid param any more? Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Tim Watts) Date: Mon Sep 17 12:00:01 2001 Subject: [ic] errors at checkout with no bold red type Hi All, I'm using IC 4.6.5 and having an itermittent problem and cannot seem to locate the problem. Occasionally I receive comments from customers about the checkout similar to: > There was a message that said the problem with the > order was in the color red, however nothing was red. Seems to be related to credit card orders. They always say the entered correct info several times, and cannot get past the error. Nothing in the error.log Anyone else having this problem or a solution? Tim From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Mon Sep 17 12:10:00 2001 Subject: [ic] Javascript (was:(no subject)) At 05:56 PM 9/14/01 -0400, you wrote: >Hi everybody >I can use a javascript menu that cascades out several levels on standard >pages on my site, but when I try to call out that script in a shoppingcart >page (some code in <head></head>, and then calling a .js file in the <body>) >it doesn't work. Ive tried a couple of different kinds of menus and on one >it says that the "access was denied" or "an object was expected" and so >neither one shows at all. Any suggestions?? Please? >Thanks a lot, > >Sincerely, >Aaron Hazelton > Vice President > FixtureFactor.com > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Mon Sep 17 12:19:01 2001 Subject: [ic] javascript menu will not work At 09:08 PM 9/14/01 -0400, FixtureFactor.com wrote: >Hi everybody >I can use a javascript menu that cascades out several levels on standard >pages on my site, but when I try to call out that script in a shoppingcart >page (some code in <head></head>, and then calling a .js file in the <body>) >it doesn't work. Ive tried a couple of different kinds of menus and on one >it says that the "access was denied" or "an object was expected" and so >neither one shows at all. Any suggestions?? Please? >Thanks a lot, > >Sincerely, >Aaron Hazelton > Vice President > FixtureFactor.com Sounds like a path issue -- why don't you provide some relevant code? Remember that the IC pages are in the Interchange directory and called via URLs within your cgi-bin. That's not the same space as your static pages. So, either use absolute paths when you call the .js from IC, or move a copy to a place where IC can get to it. "an object was expected" is a Javascript error, usually because the script is broken or if a portion of .js doesn't load correctly. You will probably have better luck getting details from a javascript list, or studying javascript on the web. From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Mon Sep 17 12:31:00 2001 Subject: [ic] Frustrated with IC 4.8 On 17 Sep 2001, Stefan Hornburg (Racke) wrote: > I'm really disposed to apply improvements to the IC documentation, at > least describe some new features I added to IC, but I refuse to do > this as long as the license of the documentation is not a truly Open > Source one (e.g. complies with the DFSG). As a Red Hat employee, with my supervisor's blessing, I affirm that the electronic version of the documentation available on the website and with Interchange itself is released under the same terms as Interchange itself, i.e. under the GNU GPL. This was always implied during the Minivend and Akopia period, but never clearly stated since the Red Hat acquisition. Any books or training materials you get from Red Hat or elsewhere may be under a different license, so you'll have to check their copyright notices. Jon From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Sep 17 12:31:40 2001 Subject: [ic] errors at checkout with no bold red type > From: Tim Watts > > Hi All, > > I'm using IC 4.6.5 and having an itermittent problem and cannot seem to > locate the problem. > > Occasionally I receive comments from customers about the checkout similar > to: > > > There was a message that said the problem with the > > order was in the color red, however nothing was red. > > Seems to be related to credit card orders. They always say the entered > correct info several times, and cannot get past the error. Hi Tim, Which payment gateway are you using? If you'd like to see the CC errors on your page, place this where the error should be displayed: [data session cybercash_error] > > Nothing in the error.log That's correct, this is some sort of processing error that can probably be fixed by the user if they entered the wrong expiration, cc, etc.. > Anyone else having this problem or a solution? Yes, I've seen it many times before. When you go to IC 4.8+ (I think it's after 4.7) you should use: [data session payment_error] Thanks! -Ron From: interchange-users at interchange.redhat.com (Tim Watts) Date: Mon Sep 17 13:01:02 2001 Subject: [ic] Frustrated with IC 4.8 on 9/17/01 10:47 AM, Jonathan Clark at jonc@webmaint.com wrote: > It does not go unnoticed that you take the time amongst the *real* work to > read messages on the list and even sweep up unanswered queries on _Sundays_. > > I am sure I speak for the majority in saying thankyou for this and your > extreme level-headedness (restraint?) with your replies that I have seen > over the last three years. I wish people would appreciate this a little > more. My sentiments exactly! Earlier this year, my brother came to me to help build an online store. We investigated every package we could find, with prices ranging from a few hundred dollars to well over $5,000. Custom built stores with all the features he wanted were in the $10-20,000+ range. We chose Interchange with the astronomical price of... $0! One reason for the choice was that I am no perl expert. I hunt, peck, copy and paste, cry, pray, and jump for joy when I finally get it right! With IC, I was able to logically build the store with the IC tags and very little actual perl programming. I even scrapped our original product review software and used IC because of the easy of programming. I was able to customize the admin UI to add some features specific to his store. I never could have done this with any other package! I'm not saying it was easy. It took about 3-4 months of late nights, all nights and weekends (this isn't my full time job, but sure felt like it) to get it up and running, but was well worth the effort. My brother is well please. His customers rave over their new shopping interface (he was using Free Merchant), and I'm in the process of building several new stores. My 15 year old son is even working with IC now for a school project! Thanks for a great product, Mike! Keep up the good work! Thanks for the help from this list and the archives! The IC community is one of co-operation and helpfullness, and I for one am grateful! Thanks and God bless, Tim From: interchange-users at interchange.redhat.com (Tim Watts) Date: Mon Sep 17 13:06:00 2001 Subject: [ic] errors at checkout with no bold red type on 9/17/01 12:28 PM, Ron Phipps at rphipps@reliant-solutions.com wrote: > Which payment gateway are you using? If you'd like to see the CC errors > on your page, place this where the error should be displayed: > > > [data session cybercash_error] Not using any gateway, CC are processed off-line. Tim From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 13:09:01 2001 Subject: [ic] Require in Global UserTag mheins@redhat.com writes: [...] > > > > > > > This is a global usertag, so it resembles the get_url UserTag. > > I suppose that I _should_ work, sigh. > > No doubt you are calling it with > > [perl] > $Tag->chart(@parms); > [/perl] > Accurate guess. > Safe will not allow a runtime require, no matter what you do. You > would need to do: > > UserTag chart Routine <<EOF > eval { > require GIFgraph::bars; > }; > if($@) { > return sub { > ::logError("Cannot generate chart, GIFgraph module not installed: $@"); > }; > } > sub { > # Do some stuff with GIFgraph::bars; > } > EOF Thanks, Mike, this was really a time-saver. But I suggest to change the distributed tags accordingly. There is IMHO no advantage for this check within the sub. 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 (Thore Karlsen) Date: Mon Sep 17 13:26:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 10:24:36 +0000, you wrote: >How is it that IC 4.8 can have so many great features and be so ill behaved >in implamenting them? What I mean by this is IC 4.8 seems to have everything >you could think of to put on a wish list for an online store and then some. >But when it comes to using the Administration interface to setup the store >it is contrary as hell. The changes that I make either give unexpected >results or have no effect at all. The help file included seems to be an >after thought that only makes one want a real help file. I find it next to >useless. The documentation on the Redhat web site is not much better. The >wizard that was intended to be used for quick setup seems to have a mind of >it's own. > >If I am the only one that is having problems with grasping how to use IC >then it won't hurt my feelings at all for you to tell me how stupid I am and >for you to point out what I am doing wrong. I would really like to get IC to >perform the way a program if this caliber should. I am use to stable >programs that work as intended. If this is the type of program that stems >from the open source code theory of designing software then it seems to be a >step backwards. >Just my $.02 worth. You are not the only one, I'm having the same problems. The documentation is worthless, that's the only way to describe it. Open source may be free initially, but I'm starting to wonder if we shouldn't have gone with a well documented commercial solution instead. _Time_ certainly isn't free, and you need a lot of time to experiment to get things to work in Interchange. -- Be seeing you. From: interchange-users at interchange.redhat.com (Tom C) Date: Mon Sep 17 13:27:01 2001 Subject: [ic] -loop search "ra=yes"- doesn't return all It looks like that did it. Thanks!!! -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jonathan Clark Sent: Monday, September 17, 2001 9:25 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] -loop search "ra=yes"- doesn't return all > I have the following lines in the html file: > > [loop search="fi=oils/tf=description/ra=yes"] > [loop-field description]<br> > [/loop] > > This lists the first 48 items and stops. There are 345 items > listed in the probably 50 returned - the default matchlimit. Try: [loop search="fi=oils/tf=description/ra=yes/ml=1000"] incidentally, ra is on the one-click page: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_29.html but not on the reference page: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_33.html is this not a valid param any more? 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 (Nathan D. Olmscheid) Date: Mon Sep 17 13:52:01 2001 Subject: [ic] Frustrated with IC 4.8 Just read the manuals and pay for help if you need it! Thore Karlsen wrote: > On Mon, 17 Sep 2001 10:24:36 +0000, you wrote: > > >How is it that IC 4.8 can have so many great features and be so ill behaved > >in implamenting them? What I mean by this is IC 4.8 seems to have everything > >you could think of to put on a wish list for an online store and then some. > >But when it comes to using the Administration interface to setup the store > >it is contrary as hell. The changes that I make either give unexpected > >results or have no effect at all. The help file included seems to be an > >after thought that only makes one want a real help file. I find it next to > >useless. The documentation on the Redhat web site is not much better. The > >wizard that was intended to be used for quick setup seems to have a mind of > >it's own. > > > >If I am the only one that is having problems with grasping how to use IC > >then it won't hurt my feelings at all for you to tell me how stupid I am and > >for you to point out what I am doing wrong. I would really like to get IC to > >perform the way a program if this caliber should. I am use to stable > >programs that work as intended. If this is the type of program that stems > >from the open source code theory of designing software then it seems to be a > >step backwards. > >Just my $.02 worth. > > You are not the only one, I'm having the same problems. The documentation is > worthless, that's the only way to describe it. Open source may be free > initially, but I'm starting to wonder if we shouldn't have gone with a well > documented commercial solution instead. _Time_ certainly isn't free, and you > need a lot of time to experiment to get things to work in Interchange. > > -- > Be seeing you. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 13:56:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 mheins@redhat.com wrote: [snip] > > If everyone who was on the mail list was spending money with Red Hat, using > our support services, instead of downloading the program for free > and then using the mail list, we would, I guarantee, devote more resources > to improving the program. We don't expect that, of course, but the fact > remains that There Ain't No Such Thing As A Free Lunch. > > The only way we will get more resources is for people to spend money > with us. There are some ways to do this. You can purchase the E-commerce > suite and get a year's worth of support with people to answer your > questions as they come up. Or, you can retain us for a few hours of > technical support so we can answer your questions and provide guidance. > > The predecessor to Interchange, Minivend, was largely supported by > the clients who engaged me to do work for them based on Minivend. > Most of them have never inhabited the mail list, so you wouldn't > know them. But they had as much, no more, to do with the longevity > of Interchange than anyone. If I hadn't been able to eat, then > I would have done something else. > > It can come in the form of small self-contained contributions > to the documentation or utilities -- the work of various people on > payment systems is an example. Or it can come in the form of > money. All help. > Dear Mike and all other contributing IC developers, as someone who discovered in a long process of questioning myself, that the only way, I could help, would be with money, I like to add something with regards to monetary donations. There might be enough people among us, who really have no current need to develop a site for themselves or are not that experienced to do such work for others, but who know enough about the history of Interchange and understand, that, may be in the future, they might use IC as paying customer of Red Hat, but currently don't and can't. Nevertheless those among us still follow up on IC and read regularly this list and save the "goodies" for future use. I often felt that the technical help given on this (as well as other technical support mailing lists of OSS applications) is the most valuable thing given away for free, aside from the open source code itself. Therefore I really think, that this list should get a "price", which reflects the support IC users should give to say thanks for a free software package and to affirm, that we are willing to acknowledge the volunteer service on this list by the ones, who are IC knowledgable. I made once a general suggestion like that on a familiar and often used forum of the Open/Free Source community in this regard and got (at least to me) a devastating answer. Noone wanted to consider this option of supporting an OSS project. I wondered why the response was so negative. But, that shouldn't deter me from trying it here again. I know that asking for some registration fees for this mailing lists might only make a relative small amount of money compared to hiring you folks for a project or buying the commercial package. But on the other hand there might just be enough "very small" businesses or "poor individuals", who would be willing to pay a registration fee to this list, to make a small difference. I propose a monthly registration fee to this mailing list to collect money for development and documentation support. I like to know, who would support this idea and what you consider a price, which would reflect the value of help you are getting here. Birgitt Funk > Mike > From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Mon Sep 17 13:58:00 2001 Subject: [ic] errors at checkout with no bold red type I had this happen too and tracked it down to the daytime phone number being required but if they left it blank there would be an error but the daytime phone number text never changed to red. You might want to check the fields that you are requiring and make sure they all turn red if you leave them blank. You may have to check them one at a time. > > From: Tim Watts >> >> Hi All, >> >> I'm using IC 4.6.5 and having an itermittent problem and cannot seem >to >> locate the problem. >> >> Occasionally I receive comments from customers about the checkout >similar >> to: >> >> > There was a message that said the problem with the >> > order was in the color red, however nothing was red. >> >> Seems to be related to credit card orders. They always say the entered >> correct info several times, and cannot get past the error. > >Hi Tim, > >Which payment gateway are you using? If you'd like to see the CC errors >on your page, place this where the error should be displayed: > > >[data session cybercash_error] > >> >> Nothing in the error.log > >That's correct, this is some sort of processing error that can probably >be fixed by the user if they entered the wrong expiration, cc, etc.. > >> Anyone else having this problem or a solution? > >Yes, I've seen it many times before. When you go to IC 4.8+ (I think >it's after 4.7) you should use: > >[data session payment_error] > >Thanks! >-Ron > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- Scott Trunkhill 725 Broad St Product Research Specialist Augusta, GA 30901 Morris Communications (706) 823-3203 trunk@morris.com http://morris.com From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Mon Sep 17 14:15:01 2001 Subject: [ic] Frustrated with IC 4.8 I would definately support paying a fee for this list. I am unsure of a number. Enough that it makes it worth while, but not too much that a lot of startups or college students, etc can not afford it. Yeck, I am going to join a Cocker Spaniel email list that charges, its minimal, but its something.....I think Interchange should charge for this support list. Also for everyone complaining about bugs and such. DO SOMETHING ABOUT IT!! This is free open source software, if you see a bug, fix it and send it in! Enuf said! If you need help, post your question and I am sure many are glad to help. Are you totally clueless?? Maybe pay someone at RedHat to get you started and to the point where you can utilize this group. Also, READ the TAG REFERENCE in full, and all other documentation. I haven't done all the above, I am working on reading the reference guide, so far I think its written fairly decent. Nathan IC-Admin wrote: > On Mon, 17 Sep 2001 mheins@redhat.com wrote: > [snip] > > > > > If everyone who was on the mail list was spending money with Red Hat, using > > our support services, instead of downloading the program for free > > and then using the mail list, we would, I guarantee, devote more resources > > to improving the program. We don't expect that, of course, but the fact > > remains that There Ain't No Such Thing As A Free Lunch. > > > > The only way we will get more resources is for people to spend money > > with us. There are some ways to do this. You can purchase the E-commerce > > suite and get a year's worth of support with people to answer your > > questions as they come up. Or, you can retain us for a few hours of > > technical support so we can answer your questions and provide guidance. > > > > The predecessor to Interchange, Minivend, was largely supported by > > the clients who engaged me to do work for them based on Minivend. > > Most of them have never inhabited the mail list, so you wouldn't > > know them. But they had as much, no more, to do with the longevity > > of Interchange than anyone. If I hadn't been able to eat, then > > I would have done something else. > > > > It can come in the form of small self-contained contributions > > to the documentation or utilities -- the work of various people on > > payment systems is an example. Or it can come in the form of > > money. All help. > > > > Dear Mike and all other contributing IC developers, > > as someone who discovered in a long process of questioning myself, that > the only way, I could help, would be with money, I like to add something > with regards to monetary donations. > > There might be enough people among us, who really have no current need > to develop a site for themselves or are not that experienced to do such > work for others, but who know enough about the history of Interchange > and understand, that, may be in the future, they might use IC as paying > customer of Red Hat, but currently don't and can't. Nevertheless those > among us still follow up on IC and read regularly this list and save > the "goodies" for future use. > > I often felt that the technical help given on this (as well as other > technical support mailing lists of OSS applications) is the most valuable > thing given away for free, aside from the open source code itself. > > Therefore I really think, that this list should get a "price", > which reflects the support IC users should give to say thanks for a free > software package and to affirm, that we are willing to acknowledge the > volunteer service on this list by the ones, who are IC knowledgable. > > I made once a general suggestion like that on a familiar and often used > forum of the Open/Free Source community in this regard and got (at least > to me) a devastating answer. Noone wanted to consider this option of > supporting an OSS project. I wondered why the response was so negative. > But, that shouldn't deter me from trying it here again. > > I know that asking for some registration fees for this mailing lists > might only make a relative small amount of money compared to hiring you > folks for a project or buying the commercial package. But on the other > hand there might just be enough "very small" businesses or "poor > individuals", who would be willing to pay a registration fee to this list, > to make a small difference. > > I propose a monthly registration fee to this mailing list to collect > money for development and documentation support. I like to know, who would > support this idea and what you consider a price, which would reflect the > value of help you are getting here. > > Birgitt Funk > > > Mike > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Tito Abreu) Date: Mon Sep 17 14:22:00 2001 Subject: [ic] (no subject) Hi for All, It would like to know if it has some documentation that explains as if "mycatalog. xls" of the catalog of products of the IC makes the fulfilling of the archive. Thanks again. ___________________________________ Tito Abreu WebDesigner e-Business Solutions Connection Network Systems Ltda. Rua do Rosario, 103/10 andar - Centro -RJ CEP: 20041-004 http://www.connection.com.br From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Sep 17 14:28:01 2001 Subject: [ic] Frustrated with IC 4.8 At 02:16 PM 09/17/2001 -0400, you wrote: [snip] >I propose a monthly registration fee to this mailing list to collect >money for development and documentation support. I like to know, who would >support this idea and what you consider a price, which would reflect the >value of help you are getting here. > >Birgitt Funk This is a quite fair idea - I for one would be willing to pay a reasonable monthly subscription fee for some type of "support list" membership or support forum, either a mailing list, web-based forum, or however it worked best. To convince me to buy in, the list/forum would need to be somewhat more segmented than interchange-users. For example, this list gets a large amount of traffic regarding installation problems - I would certainly want that compartmentalized so that I don't see it (and the replies to it) unless I choose to. I assume this would require a system in which posters choose the topic of their inquiry up front - perhaps something more like the interchange IRC, with topic-based groups, or a web-based bbs-style forum, would be more appropriate. Another thing that would be important to me is that the forum be monitored by member(s) of the IC team in some fashion, for the purpose of distilling relevant content into FAQ's and knowledge databases, to answer the sticker technical questions, and maintain the relevancy of the forums (are you listening, Miss Cleo?) - much like what is being done now on this list, but more frequently and less arbitrarily. I would want to know that I am not just paying for an copy of the free list. Many other developers of both open- and closed-model software do this currently. Red Hat is not operating a charity, as far as I know. Free lists like this one can still be offered, but no one would blame Red Hat for putting their attention to what offers revenue. Comments, anyone? - 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 (Sturgisrally.net) Date: Mon Sep 17 14:32:01 2001 Subject: [ic] Frustrated with IC 4.8 There are a few problems with charging for this mailing list ... First off open source software if free because the original author wanted to share the wealth of knowlege with everyone and thought that the project could be made better with help of the world instead of the limitations of a single group. RedHat Inc makes plenty of money selling their documentation on this program. I for one bought all 4 books (Very Very Well Written) but there are still a few issues that are not covered. If you start charging for this board you will make it impossible for some to use the software. Although most could afford a nominal fee there are a lot of people out there who cannot. Lastly RedHat would be charging for our knowledge all and making a profit on what we have learned and shared freely over the years. Just my 2 cents, Corey corey@sturgisrally.net www.sturgisrally.net the worlds first linux powered biker bar =) > I would definately support paying a fee for this list. I am unsure of a number. > Enough that it makes it worth while, but not too much that a lot of startups or > college students, etc can not afford it. > > Yeck, I am going to join a Cocker Spaniel email list that charges, its minimal, > but its something.....I think Interchange should charge for this support list. > > Also for everyone complaining about bugs and such. DO SOMETHING ABOUT IT!! This > is free open source software, if you see a bug, fix it and send it in! Enuf said! > If you need help, post your question and I am sure many are glad to help. Are you > totally clueless?? Maybe pay someone at RedHat to get you started and to the > point where you can utilize this group. Also, READ the TAG REFERENCE in full, and > all other documentation. I haven't done all the above, I am working on reading > the reference guide, so far I think its written fairly decent. > > Nathan > > IC-Admin wrote: > > > On Mon, 17 Sep 2001 mheins@redhat.com wrote: > > [snip] > > > > > > > > If everyone who was on the mail list was spending money with Red Hat, using > > > our support services, instead of downloading the program for free > > > and then using the mail list, we would, I guarantee, devote more resources > > > to improving the program. We don't expect that, of course, but the fact > > > remains that There Ain't No Such Thing As A Free Lunch. > > > > > > The only way we will get more resources is for people to spend money > > > with us. There are some ways to do this. You can purchase the E-commerce > > > suite and get a year's worth of support with people to answer your > > > questions as they come up. Or, you can retain us for a few hours of > > > technical support so we can answer your questions and provide guidance. > > > > > > The predecessor to Interchange, Minivend, was largely supported by > > > the clients who engaged me to do work for them based on Minivend. > > > Most of them have never inhabited the mail list, so you wouldn't > > > know them. But they had as much, no more, to do with the longevity > > > of Interchange than anyone. If I hadn't been able to eat, then > > > I would have done something else. > > > > > > It can come in the form of small self-contained contributions > > > to the documentation or utilities -- the work of various people on > > > payment systems is an example. Or it can come in the form of > > > money. All help. > > > > > > > Dear Mike and all other contributing IC developers, > > > > as someone who discovered in a long process of questioning myself, that > > the only way, I could help, would be with money, I like to add something > > with regards to monetary donations. > > > > There might be enough people among us, who really have no current need > > to develop a site for themselves or are not that experienced to do such > > work for others, but who know enough about the history of Interchange > > and understand, that, may be in the future, they might use IC as paying > > customer of Red Hat, but currently don't and can't. Nevertheless those > > among us still follow up on IC and read regularly this list and save > > the "goodies" for future use. > > > > I often felt that the technical help given on this (as well as other > > technical support mailing lists of OSS applications) is the most valuable > > thing given away for free, aside from the open source code itself. > > > > Therefore I really think, that this list should get a "price", > > which reflects the support IC users should give to say thanks for a free > > software package and to affirm, that we are willing to acknowledge the > > volunteer service on this list by the ones, who are IC knowledgable. > > > > I made once a general suggestion like that on a familiar and often used > > forum of the Open/Free Source community in this regard and got (at least > > to me) a devastating answer. Noone wanted to consider this option of > > supporting an OSS project. I wondered why the response was so negative. > > But, that shouldn't deter me from trying it here again. > > > > I know that asking for some registration fees for this mailing lists > > might only make a relative small amount of money compared to hiring you > > folks for a project or buying the commercial package. But on the other > > hand there might just be enough "very small" businesses or "poor > > individuals", who would be willing to pay a registration fee to this list, > > to make a small difference. > > > > I propose a monthly registration fee to this mailing list to collect > > money for development and documentation support. I like to know, who would > > support this idea and what you consider a price, which would reflect the > > value of help you are getting here. > > > > Birgitt Funk > > > > > Mike > > > > > > > _______________________________________________ > > 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 (Tim Watts) Date: Mon Sep 17 14:34:00 2001 Subject: [ic] errors at checkout with no bold red type I do remember having a problem with the daytime phone number but we fixed that early on. Actually, we don't use the single page checkout because it was confusing users, so we've broken it into two pages. There is no way to get past the first page without entering all the correct shipping and billing information. The shipping and billing info is entered on the second as hidden inputs, so all needed info is in the form for final processing. The first page contains only payment method. If payment method is cc, the cc number and exp date is entered on the second page with the order itself. on 9/17/01 1:57 PM, Scott Trunkhill at trunk@morris.com wrote: > I had this happen too and tracked it down to the daytime phone number > being required but if they left it blank there would be an error but > the daytime phone number text never changed to red. You might want to > check the fields that you are requiring and make sure they all turn > red if you leave them blank. You may have to check them one at a time. > > > >>> From: Tim Watts >>> >>> Hi All, >>> >>> I'm using IC 4.6.5 and having an itermittent problem and cannot seem >> to >>> locate the problem. >>> >>> Occasionally I receive comments from customers about the checkout >> similar >>> to: >>> >>>> There was a message that said the problem with the >>>> order was in the color red, however nothing was red. >>> >>> Seems to be related to credit card orders. They always say the entered >>> correct info several times, and cannot get past the error. >> >> Hi Tim, >> >> Which payment gateway are you using? If you'd like to see the CC errors >> on your page, place this where the error should be displayed: >> >> >> [data session cybercash_error] >> >>> >>> Nothing in the error.log >> >> That's correct, this is some sort of processing error that can probably >> be fixed by the user if they entered the wrong expiration, cc, etc.. >> >>> Anyone else having this problem or a solution? >> >> Yes, I've seen it many times before. When you go to IC 4.8+ (I think >> it's after 4.7) you should use: >> >> [data session payment_error] >> >> Thanks! >> -Ron >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@interchange.redhat.com >> http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 14:38:03 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Ed LaFrance wrote: > At 02:16 PM 09/17/2001 -0400, you wrote: > > >I propose a monthly registration fee to this mailing list to collect > >money for development and documentation support. I like to know, who would > >support this idea and what you consider a price, which would reflect the > >value of help you are getting here. > > > >Birgitt Funk > > This is a quite fair idea - I for one would be willing to pay a reasonable > monthly subscription fee for some type of "support list" membership or > support forum, either a mailing list, web-based forum, or however it worked > best. > > To convince me to buy in, the list/forum would need to be somewhat more > segmented than interchange-users. For example, this list gets a large > amount of traffic regarding installation problems - I would certainly want > that compartmentalized so that I don't see it (and the replies to it) > unless I choose to. I assume this would require a system in which posters > choose the topic of their inquiry up front - perhaps something more like > the interchange IRC, with topic-based groups, or a web-based bbs-style > forum, would be more appropriate. > > Another thing that would be important to me is that the forum be monitored > by member(s) of the IC team in some fashion, for the purpose of distilling > relevant content into FAQ's and knowledge databases, to answer the sticker > technical questions, and maintain the relevancy of the forums (are you > listening, Miss Cleo?) - much like what is being done now on this list, but > more frequently and less arbitrarily. I would want to know that I am not > just paying for an copy of the free list. > > Many other developers of both open- and closed-model software do this > currently. Red Hat is not operating a charity, as far as I know. Free > lists like this one can still be offered, but no one would blame Red Hat > for putting their attention to what offers revenue. > > Comments, anyone? > > - Ed L. > > I am with you. Compartmentalizing installation questions is a very good idea, IMHO. Period. Birgitt > =============================================================== > 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 (IC-Admin) Date: Mon Sep 17 14:50:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Thore Karlsen wrote: > On Mon, 17 Sep 2001 10:24:36 +0000, you wrote: > > >How is it that IC 4.8 can have so many great features and be so ill behaved > >in implamenting them? What I mean by this is IC 4.8 seems to have everything > >you could think of to put on a wish list for an online store and then some. > >But when it comes to using the Administration interface to setup the store > >it is contrary as hell. The changes that I make either give unexpected > >results or have no effect at all. The help file included seems to be an > >after thought that only makes one want a real help file. I find it next to > >useless. The documentation on the Redhat web site is not much better. The > >wizard that was intended to be used for quick setup seems to have a mind of > >it's own. > > > >If I am the only one that is having problems with grasping how to use IC > >then it won't hurt my feelings at all for you to tell me how stupid I am and > >for you to point out what I am doing wrong. I would really like to get IC to > >perform the way a program if this caliber should. I am use to stable > >programs that work as intended. If this is the type of program that stems > >from the open source code theory of designing software then it seems to be a > >step backwards. > >Just my $.02 worth. > > You are not the only one, I'm having the same problems. The documentation is > worthless, that's the only way to describe it. Open source may be free > initially, but I'm starting to wonder if we shouldn't have gone with a well > documented commercial solution instead. _Time_ certainly isn't free, and you > need a lot of time to experiment to get things to work in Interchange. > > Oh, yes, and it costs a _lot_ of _time_ for the IC developers to build the code, and their time isn't _free_ either and certainly not indefinitely. The reason I will never be programmer, is because I can't handle emotionally all the crap I run into and read online by such enlightened personalities like you seem to be. So, just be clear, if I would have heard you saying this, face to face to the IC developers in the real world, you would have something real _real_ in the middle of your face. You have my no means understood the value of Open Source software and your post is an insult. Go with your *commercia*l solution. Did you even realize that there is something like a COMMERCIAL INTERCHANGE, for heaven's sake ? Ridiculously, you would pay money for code you can't even read. Be happy being blind. Hope you find your way around to go. Sorry for my outburst of anger. I just can't stand the so-called IT crowd at times. Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 14:58:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Sturgisrally.net wrote: > There are a few problems with charging for this mailing list ... > > First off open source software if free because the original author wanted to > share the wealth of knowlege with everyone and thought that the project > could be made better with help of the world instead of the limitations of a > single group. What the heck. First, this project has not substantially become better with the help of the world, no matter what Mike Heins may say. Luckily he had enough paying customers in the early years to even bring the package up to a level it was recognized by many. If there would have been such wealth of knowledge around in the world, I would like to see it on the list. Mostly I see a lot of questions from many and a lot of (good) answers very few. > > RedHat Inc makes plenty of money selling their documentation on this > program. I for one bought all 4 books (Very Very Well Written) but there > are still a few issues that are not covered. > So ? I just did the same. Ever heard of new editions, upgraded docs etc. ? And who told you that Red Hat makes a lot of money by selling the documentation of IC. I somehow doubt that, but may be somehow you have the real insider knowledge. > If you start charging for this board you will make it impossible for some to > use the software. Although most could afford a nominal fee there are a lot > of people out there who cannot. Why would it be impossible for someone to use the software, if you had to pay a registration fee for this list, I ask you ? If you are going into a public restroom in Germany, you have to pay 50 cents. So far, it has not prevented anybody from using them, when needed. Unless you want to p** on the street in public places. Sorry, for that. But I don't see any relationship between charging a subscription fee for this list and not being able to use the software. Do you want to tell me you can't afford a monthly fee in the range of a good meal to get help from the IC developers ? I then ask myself for what are you using the software ? If it's for your own business, you might think to invest a little bit of money to use an otherwise free software, right ? It's called costs of doing business. If it's for your clients, I guess, YOU don't work for free for them, right? So, can you explain, why a registration fee would prevent you from using the software ? > > Lastly RedHat would be charging for our knowledge all and making a > profit on what we have learned and shared freely over the years. > Oh, lord, when you are donating your knowledge to the list at this point in time, you jump on the train donating your knowledge at a very late stage of this project. I could understand such an argument, if you would have been a developer from day one or year one. If your donations are so huge that they would justify a salary for your services, then you need first help the IC package to a point, where it actually would be _bought_ and not downloaded for free. May be free downloads of the software then should end ? Is that what you want ? > Just my 2 cents, > Your cents are worth 30 percent less today. I just wonder what else will crash aside from the WTC. > Corey > > corey@sturgisrally.net > www.sturgisrally.net the worlds first linux powered biker bar =) > > > > I would definately support paying a fee for this list. I am unsure of a > number. > > Enough that it makes it worth while, but not too much that a lot of > startups or > > college students, etc can not afford it. From: interchange-users at interchange.redhat.com (Jim Webster) Date: Mon Sep 17 15:23:00 2001 Subject: [ic] A guess... only 48 items have the keyword "oils"? From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Mon Sep 17 15:25:00 2001 Subject: [ic] Search on mail list Right now, search for anthing on the mailing list (developer.akopia.com) returns the dreaded "Internal Server Error". It worked earlier this evening! -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Mon Sep 17 15:30:01 2001 Subject: [ic] Interchange 4.8 Documentation Set Is there a new set of documents in the building, or will these be the most up to date for a while? I plan on purchasing them, but don't want to purchase them, and new ones come out the next day. If in a few months or so, yes thats fine, but no within a week or to! Let me know if these are here to stay for a while, and I will order a set. Nathan From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 15:45:00 2001 Subject: [ic] Require in Global UserTag Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > Thanks, Mike, this was really a time-saver. > > But I suggest to change the distributed tags accordingly. > There is IMHO no advantage for this check within > the sub. > All of the distributed tags work in the way they were intended. The ones that do the require at runtime do it that way because: 1. Every time you "use" a module, it adds to core size. 2. It works fine if you call it in ITL, just not if called in embedded Perl. ALl that needs be done is just to move the require above the sub if you want to be able to call it with $Tag->tagname(). -- 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 (Kaare Rasmussen) Date: Mon Sep 17 16:10:02 2001 Subject: [ic] Getting back to Interchange after a short stroll!! I'm trying without much luck to go to an external page and then back in Interchange. All this from ord/checkout.html The purpose is to go to a Payment Gateway that is located on another web server. I can send two links to this gateway: OK and Error. If the payment is accepted, it will go to OK, otherwise to Error. I'm sure Mike Heins has discussed this on the mailing list, but I couldn't find it yesterday, and today the mailing list is struck by Infernal Errors!! Also, Racke (Stefan Hornburg) has been kind enough to suggest an OK page like this: [tmp url][area href="[process]" form="mv_todo=submit mv_order_route=__ORDER_ROUTES_ ..."][/tmp] [bounce href="[scratch url]"] but no variant of this theme is working for me :-( I hope someone can help me or point me to some more information about how to (shortly) visit the outside from Interchange!! -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (J. Frank Cortes) Date: Mon Sep 17 17:07:01 2001 Subject: [ic] Frustrated with IC 4.8 --=====================_1571579551==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Here's my .02 cents worth. I am in the process of setting up Interchange 4.8 right now. There are many things that can go wrong and there are many things that need to be setup properly before it will even install properly. This type of endeavor is not for someone who is not totally knowledgeable on the system they are using. If you are a quick learner then you can read and do and learn as you go, which is how I am doing this. I am learning many things at one time right now, How to use and setup Net BSD, How to make and install packages, How to setup Apache, How to setup and run Postgres SQL, and How to setup and Install Interchange. At this point I have gotten as far as working on the Postgres SQL setup. After that is done it will be on to interchange. This is all running on a Sun Sparc Clssinc by the way. It has taken me many nights at home to get to this point. It has also taken many hours of searching the web for information, on how to do certain things in the system. I have subscribed to this list about a month ago and I go thorough the messages as the headers peak my intrest. From what I have seen on this list, Installation is usually not that bad as long as you know everything about your system. People always complain about things but usually don't do anything to help out with things. If you don't like the docs or find a fault with them, then record what you had to do in order to get something working and ask that your notes be incorporated into the manual or into a readme. I have seen what some of the pay for shopping carts look like and I haven't seen any that have the flexibility and power of interchange. If you run into a problem at a certain point, try to find the answer online, if you can't find it there, then ask the list a pointed question after describing your setup. More then likely it has been answered here before. From what I've seen lots of people are very helpfull on this list, especially the people from Redhat that actually make their money from servicing this software. To wrap it up nothing is "free" there is always a cost. Sometimes it's time, other times it's money. But there's nothing like being able to totally customize an application to work just the way you want and do exactly what you want. If you find that you can't afford the time to do it yourself then maybe you should hire out someone who has the knowledge to do it for you. J. Frank Cortes At 9/17/2001 01:24 PM, you wrote: >On Mon, 17 Sep 2001 10:24:36 +0000, you wrote: > > >How is it that IC 4.8 can have so many great features and be so ill behaved > >in implamenting them? What I mean by this is IC 4.8 seems to have > everything > >you could think of to put on a wish list for an online store and then some. > >But when it comes to using the Administration interface to setup the store > >it is contrary as hell. The changes that I make either give unexpected > >results or have no effect at all. The help file included seems to be an > >after thought that only makes one want a real help file. I find it next to > >useless. The documentation on the Redhat web site is not much better. The > >wizard that was intended to be used for quick setup seems to have a mind of > >it's own. > > > >If I am the only one that is having problems with grasping how to use IC > >then it won't hurt my feelings at all for you to tell me how stupid I am > and > >for you to point out what I am doing wrong. I would really like to get > IC to > >perform the way a program if this caliber should. I am use to stable > >programs that work as intended. If this is the type of program that stems > >from the open source code theory of designing software then it seems to > be a > >step backwards. > >Just my $.02 worth. > >You are not the only one, I'm having the same problems. The documentation is >worthless, that's the only way to describe it. Open source may be free >initially, but I'm starting to wonder if we shouldn't have gone with a well >documented commercial solution instead. _Time_ certainly isn't free, and you >need a lot of time to experiment to get things to work in Interchange. > >-- >Be seeing you. >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users --=====================_1571579551==_.ALT Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <font size=3D3>Here's my .02 cents worth.<br> <x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>I am in the process of setting up Interchange 4.8 right now. There are many things that can go wrong and there are many things that need to be setup properly before it will even install properly. This type of endeavor is not for someone who is not totally knowledgeable on the system they are using. If you are a quick learner then you can read and do and learn as you go, which is how I am doing this. I am learning many things at one time right now, How to use and setup Net BSD, How to make and install packages, How to setup Apache, How to setup and run Postgres SQL, and How to setup and Install Interchange. At this point I have gotten as far as working on the Postgres SQL setup. After that is done it will be on to interchange. This is all running on a Sun Sparc Clssinc by the way. It has taken me many nights at home to get to this point. It has also taken many hours of searching the web for information, on how to do certain things in the system. I have subscribed to this list about a month ago and I go thorough the messages as the headers peak my intrest. From what I have seen on this list, Installation is usually not that bad as long as you know everything about your system. <br><br> People always complain about things but usually don't do anything to help out with things. If you don't like the docs or find a fault with them, then record what you had to do in order to get something working and ask that your notes be incorporated into the manual or into a readme. I have seen what some of the pay for shopping carts look like and I haven't seen any that have the flexibility and power of interchange. If you run into a problem at a certain point, try to find the answer online, if you can't find it there, then ask the list a pointed question after describing your setup. More then likely it has been answered here before. From what I've seen lots of people are very helpfull on this list, especially the people from Redhat that actually make their money from servicing this software.<br><br> To wrap it up nothing is &quot;free&quot; there is always a cost. Sometimes it's time, other times it's money. But there's nothing like being able to totally customize an application to work just the way you want and do exactly what you want. If you find that you can't afford the time to do it yourself then maybe you should hire out someone who has the knowledge to do it for you.<br><br> J. Frank Cortes<br><br> <br><br> <br> At 9/17/2001 01:24 PM, you wrote:<br> <blockquote type=3Dcite class=3Dcite cite>On Mon, 17 Sep 2001 10:24:36 +0000= , you wrote:<br><br> &gt;How is it that IC 4.8 can have so many great features and be so ill behaved <br> &gt;in implamenting them? What I mean by this is IC 4.8 seems to have everything <br> &gt;you could think of to put on a wish list for an online store and then some. <br> &gt;But when it comes to using the Administration interface to setup the store <br> &gt;it is contrary as hell. The changes that I make either give unexpected <br> &gt;results or have no effect at all. The help file included seems to be an <br> &gt;after thought that only makes one want a real help file. I find it next to <br> &gt;useless. The documentation on the Redhat web site is not much better. The <br> &gt;wizard that was intended to be used for quick setup seems to have a mind of <br> &gt;it's own.<br> &gt;<br> &gt;If I am the only one that is having problems with grasping how to use IC <br> &gt;then it won't hurt my feelings at all for you to tell me how stupid I am and <br> &gt;for you to point out what I am doing wrong. I would really like to get IC to <br> &gt;perform the way a program if this caliber should. I am use to stable <br> &gt;programs that work as intended. If this is the type of program that stems <br> &gt;from the open source code theory of designing software then it seems to be a <br> &gt;step backwards.<br> &gt;Just my $.02 worth.<br><br> You are not the only one, I'm having the same problems. The documentation is<br> worthless, that's the only way to describe it. Open source may be free<br> initially, but I'm starting to wonder if we shouldn't have gone with a well<br> documented commercial solution instead. _Time_ certainly isn't free, and you<br> need a lot of time to experiment to get things to work in Interchange.<br><br> -- <br> Be seeing you.<br> _______________________________________________<br> interchange-users mailing list<br> interchange-users@interchange.redhat.com<br> <a href=3D"http://interchange.redhat.com/mailman/listinfo/interchange-users"= eudora=3D"autourl">http://interchange.redhat.com/mailman/listinfo/interchan= ge-users</a> </font></blockquote></html> --=====================_1571579551==_.ALT-- From: interchange-users at interchange.redhat.com (J. Frank Cortes) Date: Mon Sep 17 17:07:24 2001 Subject: [ic] Frustrated with IC 4.8 --=====================_1572396967==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Their is a "Tip Jar" that has been setup by Redhat for Interchange. Maybe more people should be made aware of it and then we could all donate what we feel would be appropriate. I would be willing to pay a small amount per month ($2.00) for access to the list, I think the archive should be left open to everyone though. J. Frank Cortes At 9/17/2001 02:16 PM, you wrote: >On Mon, 17 Sep 2001 mheins@redhat.com wrote: >[snip] > > > > > If everyone who was on the mail list was spending money with Red Hat, using > > our support services, instead of downloading the program for free > > and then using the mail list, we would, I guarantee, devote more resources > > to improving the program. We don't expect that, of course, but the fact > > remains that There Ain't No Such Thing As A Free Lunch. > > > > The only way we will get more resources is for people to spend money > > with us. There are some ways to do this. You can purchase the E-commerce > > suite and get a year's worth of support with people to answer your > > questions as they come up. Or, you can retain us for a few hours of > > technical support so we can answer your questions and provide guidance. > > > > The predecessor to Interchange, Minivend, was largely supported by > > the clients who engaged me to do work for them based on Minivend. > > Most of them have never inhabited the mail list, so you wouldn't > > know them. But they had as much, no more, to do with the longevity > > of Interchange than anyone. If I hadn't been able to eat, then > > I would have done something else. > > > > It can come in the form of small self-contained contributions > > to the documentation or utilities -- the work of various people on > > payment systems is an example. Or it can come in the form of > > money. All help. > > > >Dear Mike and all other contributing IC developers, > >as someone who discovered in a long process of questioning myself, that >the only way, I could help, would be with money, I like to add something >with regards to monetary donations. > >There might be enough people among us, who really have no current need >to develop a site for themselves or are not that experienced to do such >work for others, but who know enough about the history of Interchange >and understand, that, may be in the future, they might use IC as paying >customer of Red Hat, but currently don't and can't. Nevertheless those >among us still follow up on IC and read regularly this list and save >the "goodies" for future use. > >I often felt that the technical help given on this (as well as other >technical support mailing lists of OSS applications) is the most valuable >thing given away for free, aside from the open source code itself. > >Therefore I really think, that this list should get a "price", >which reflects the support IC users should give to say thanks for a free >software package and to affirm, that we are willing to acknowledge the >volunteer service on this list by the ones, who are IC knowledgable. > >I made once a general suggestion like that on a familiar and often used >forum of the Open/Free Source community in this regard and got (at least >to me) a devastating answer. Noone wanted to consider this option of >supporting an OSS project. I wondered why the response was so negative. >But, that shouldn't deter me from trying it here again. > >I know that asking for some registration fees for this mailing lists >might only make a relative small amount of money compared to hiring you >folks for a project or buying the commercial package. But on the other >hand there might just be enough "very small" businesses or "poor >individuals", who would be willing to pay a registration fee to this list, >to make a small difference. > >I propose a monthly registration fee to this mailing list to collect >money for development and documentation support. I like to know, who would >support this idea and what you consider a price, which would reflect the >value of help you are getting here. > >Birgitt Funk > > > Mike > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users --=====================_1572396967==_.ALT Content-Type: text/html; charset="us-ascii" <html> <font size=3>Their is a &quot;Tip Jar&quot; that has been setup by Redhat for Interchange. Maybe more people should be made aware of it and then we could all donate what we feel would be appropriate. I would be willing to pay a small amount per month ($2.00) for access to the list, I think the archive should be left open to everyone though.<br><br> J. Frank Cortes<br><br> At 9/17/2001 02:16 PM, you wrote:<br><br> <blockquote type=cite class=cite cite>On Mon, 17 Sep 2001 mheins@redhat.com wrote:<br> [snip]<br><br> &gt; <br> &gt; If everyone who was on the mail list was spending money with Red Hat, using<br> &gt; our support services, instead of downloading the program for free<br> &gt; and then using the mail list, we would, I guarantee, devote more resources<br> &gt; to improving the program. We don't expect that, of course, but the fact<br> &gt; remains that There Ain't No Such Thing As A Free Lunch.<br> &gt; <br> &gt; The only way we will get more resources is for people to spend money<br> &gt; with us. There are some ways to do this. You can purchase the E-commerce<br> &gt; suite and get a year's worth of support with people to answer your<br> &gt; questions as they come up. Or, you can retain us for a few hours of<br> &gt; technical support so we can answer your questions and provide guidance.<br> &gt; <br> &gt; The predecessor to Interchange, Minivend, was largely supported by<br> &gt; the clients who engaged me to do work for them based on Minivend.<br> &gt; Most of them have never inhabited the mail list, so you wouldn't<br> &gt; know them. But they had as much, no more, to do with the longevity<br> &gt; of Interchange than anyone. If I hadn't been able to eat, then<br> &gt; I would have done something else.<br> &gt; <br> &gt; It can come in the form of small self-contained contributions<br> &gt; to the documentation or utilities -- the work of various people on<br> &gt; payment systems is an example. Or it can come in the form of<br> &gt; money. All help.<br> &gt; <br><br> Dear Mike and all other contributing IC developers,<br><br> as someone who discovered in a long process of questioning myself, that <br> the only way, I could help, would be with money, I like to add something<br> with regards to monetary donations.<br><br> There might be enough people among us, who really have no current need<br> to develop a site for themselves or are not that experienced to do such<br> work for others, but who know enough about the history of Interchange<br> and understand, that, may be in the future, they might use IC as paying<br> customer of Red Hat, but currently don't and can't. Nevertheless those<br> among us still follow up on IC and read regularly this list and save<br> the &quot;goodies&quot; for future use.<br><br> I often felt that the technical help given on this (as well as other<br> technical support mailing lists of OSS applications) is the most valuable<br> thing given away for free, aside from the open source code&nbsp; itself. <br><br> Therefore I really think, that this list should get a &quot;price&quot;,<br> which reflects the support IC users should give to say thanks for a free<br> software package and to affirm, that we are willing to acknowledge the<br> volunteer service on this list by the ones, who are IC knowledgable.<br><br> I made once a general suggestion like that on a familiar and often used<br> forum of the Open/Free Source community in this regard and got (at least<br> to me) a devastating answer. Noone wanted to consider this option of<br> supporting an OSS project. I wondered why the response was so negative.<br> But, that shouldn't deter me from trying it here again.<br><br> I know that asking for some registration fees for this mailing lists<br> might only make a relative small amount of money compared to hiring you<br> folks for a project or buying the commercial package. But on the other<br> hand there might just be enough &quot;very small&quot; businesses or &quot;poor<br> individuals&quot;, who would be willing to pay a registration fee to this list,<br> to make a small difference.<br><br> I propose a monthly registration fee to this mailing list to collect<br> money for development and documentation support. I like to know, who would<br> support this idea and what you consider a price, which would reflect the<br> value of help you are getting here.<br><br> Birgitt Funk<br><br> &gt; Mike<br> &gt; <br><br> _______________________________________________<br> interchange-users mailing list<br> interchange-users@interchange.redhat.com<br> <a href="http://interchange.redhat.com/mailman/listinfo/interchange-users" eudora="autourl">http://interchange.redhat.com/mailman/listinfo/interchange-users</a> </font></blockquote></html> --=====================_1572396967==_.ALT-- From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Mon Sep 17 17:20:01 2001 Subject: [ic] problems when creating a theme. I read the parts of the manuals that pertained themes. Having not found enough info i decided I could find out by myself. I am using foundation as the base for my theme. This is what I have done: - edited mv_metadata.asc, added option for my template ("mytemplate=MyTemplate") - created /var/www/html/mystore/images/mytemplate directory - copied /var/lib/interchange/templates/foundation to mytemplate in same dir - edited catalog.cfg so that instead of pointing to default it points to mytemplate Am i missing something ? Modyfing mv_metadata to add "mytemplate" seemed a little hackish, i am worried this is not the way to do it and that I am missing something. If I edit my theme.cfg (of mytemplate) and change the background color for example, nothing happens. Do this changes require a restart ? Sounds like too much for just changing a background color. Thanks in advance _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Sturgisrally.net) Date: Mon Sep 17 17:24:01 2001 Subject: [ic] Frustrated with IC 4.8 I was just responding to the topic asking for input on the idea. This is my opinion and an opinion is all that it is. I did not respond to this topic to have my opinion torn apart and trashed. You do not know me or what i have contributed in the past. ----- Original Message ----- From: IC-Admin <interchange@my-school.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 17, 2001 1:18 PM Subject: Re: [ic] Frustrated with IC 4.8 > > On Mon, 17 Sep 2001, Sturgisrally.net wrote: > > > There are a few problems with charging for this mailing list ... > > > > First off open source software if free because the original author wanted to > > share the wealth of knowlege with everyone and thought that the project > > could be made better with help of the world instead of the limitations of a > > single group. > > What the heck. First, this project has not substantially become better > with the help of the world, no matter what Mike Heins may say. Luckily > he had enough paying customers in the early years to even bring the > package up to a level it was recognized by many. If there would have been > such wealth of knowledge around in the world, I would like to see it on > the list. Mostly I see a lot of questions from many and a lot of > (good) answers very few. > > > > > RedHat Inc makes plenty of money selling their documentation on this > > program. I for one bought all 4 books (Very Very Well Written) but there > > are still a few issues that are not covered. > > > > So ? I just did the same. Ever heard of new editions, upgraded docs etc. ? > And who told you that Red Hat makes a lot of money by selling the > documentation of IC. I somehow doubt that, but may be somehow you > have the real insider knowledge. > > > If you start charging for this board you will make it impossible for some to > > use the software. Although most could afford a nominal fee there are a lot > > of people out there who cannot. > > Why would it be impossible for someone to use the software, if you had to > pay a registration fee for this list, I ask you ? > > If you are going into a public restroom in Germany, you have to pay > 50 cents. So far, it has not prevented anybody from using them, when > needed. Unless you want to p** on the street in public places. Sorry, > for that. But I don't see any relationship between charging a subscription > fee for this list and not being able to use the software. Do you want > to tell me you can't afford a monthly fee in the range of a good meal > to get help from the IC developers ? I then ask myself for what are > you using the software ? If it's for your own business, you might > think to invest a little bit of money to use an otherwise free > software, right ? It's called costs of doing business. > If it's for your clients, I guess, YOU don't work for free for them, > right? So, can you explain, why a registration fee would prevent you > from using the software ? > > > > > Lastly RedHat would be charging for our knowledge all and making a > > profit on what we have learned and shared freely over the years. > > > > Oh, lord, when you are donating your knowledge to the list at this point > in time, you jump on the train donating your knowledge at a very late > stage of this project. I could understand such an argument, if you would > have been a developer from day one or year one. > > If your donations are so huge that they would justify a salary for your > services, then you need first help the IC package to a point, where it > actually would be _bought_ and not downloaded for free. > > May be free downloads of the software then should end ? Is that what > you want ? > > > Just my 2 cents, > > > > Your cents are worth 30 percent less today. I just wonder what else > will crash aside from the WTC. > > > Corey > > > > corey@sturgisrally.net > > www.sturgisrally.net the worlds first linux powered biker bar =) > > > > > > > I would definately support paying a fee for this list. I am unsure of a > > number. > > > Enough that it makes it worth while, but not too much that a lot of > > startups or > > > college students, etc can not afford 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 (Thore Karlsen) Date: Mon Sep 17 17:27:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 13:55:04 -0400, you wrote: [...] >To wrap it up nothing is "free" there is always a cost. Sometimes it's >time, other times it's money. But there's nothing like being able to >totally customize an application to work just the way you want and do >exactly what you want. If you find that you can't afford the time to do it >yourself then maybe you should hire out someone who has the knowledge to do >it for you. We tried that with one developer we used from time to time who was very knowledgeable, but he eventually grew so frustrated with Interchange that he didn't want to work with it any more. :/ I have also asked questions here on the list without getting anywhere, and we have offered to pay Redhat to help us with our problems. Our problems were never solved, even though they seemed pretty straightforward from what I can recall. -- Be seeing you. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 17:45:01 2001 Subject: [ic] problems when creating a theme. I was just doing this about an hour ago. You do need to restart for changes to take effect. Also, you can use the admin interface to modify mv_metadata (teeny tiny link way at the bottom of the Tables page). You also need to edit <yourcatalog>/products/variable.txt and change the style to mytemplate (or whatever you call it) if you based your catalog off the foundation catalog. If you built your site using the tutorial, I don't know what specifically you do. Hope that helps Patrick Bennett http://www.ccgenesis.com -----Original Message----- From: Eduardo Dominguez [mailto:edmz@yahoo.com] Sent: Monday, September 17, 2001 3:28 PM To: interchange-users@interchange.redhat.com Subject: [ic] problems when creating a theme. I read the parts of the manuals that pertained themes. Having not found enough info i decided I could find out by myself. I am using foundation as the base for my theme. This is what I have done: - edited mv_metadata.asc, added option for my template ("mytemplate=MyTemplate") - created /var/www/html/mystore/images/mytemplate directory - copied /var/lib/interchange/templates/foundation to mytemplate in same dir - edited catalog.cfg so that instead of pointing to default it points to mytemplate Am i missing something ? Modyfing mv_metadata to add "mytemplate" seemed a little hackish, i am worried this is not the way to do it and that I am missing something. If I edit my theme.cfg (of mytemplate) and change the background color for example, nothing happens. Do this changes require a restart ? Sounds like too much for just changing a background color. Thanks in advance _________________________________________________________ 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 From: interchange-users at interchange.redhat.com (Tom C) Date: Mon Sep 17 17:50:00 2001 Subject: [ic] A guess... Jim, No.. oils is the name of the database. But I got it. I resent that email out, and then got the solution from Jonathon Clark earlier, and then the moderator of this posted my reposting to the group.. so I got the resolution earlier. -Tom -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jim Webster Sent: Monday, September 17, 2001 1:24 PM To: interchange-users@interchange.redhat.com Subject: [ic] A guess... only 48 items have the keyword "oils"? _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Moe Pitman) Date: Mon Sep 17 18:05:01 2001 Subject: [ic] Can't restore saved carts Thanks, Ed! 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 Ed LaFrance wrote: > At 10:41 AM 09/14/2001 -0500, you wrote: > >I'm stumped. > > > >We are implementing a store based on Foundation. We are able to log in > >and save carts and recurring orders. They appear in the userdb databse > >as they should. But when we go to the saved_carts page and select a > >saved cart, the basket page displays an empty cart. > > > >This happens even when we take out our modified cart code and replace it > >with the original code from the foundation cart. > > > >Is there any documentation at all that explains how foundation restores > >thise carts? I can't seem to find any. > > > >Any help is greatly appreciated. > > > > That doc is here: > > http://ic.redhat.com/cgi-bin/ic/dev-4.8/icdatabase_48.html > > I used the [userdb set_cart] and [userdb get_cart] features constantly with > Minivend 3.x, but I just have not had the need with any IC catalogs I have > worked on. > > [userdb get_cart] takes a target parameter (i.e. [userdb function=get_cart > target=cartname] to load a saved cart into an 'active' cart, main should be > the default), and though it is not documented, set_cart takes a source > parameter: [userdb function=set_cart source=cartname] (again, main should > be the default). Hope this helps. > > - 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 (IC-Admin) Date: Mon Sep 17 18:14:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Sturgisrally.net wrote: > I was just responding to the topic asking for input on the idea. > > This is my opinion and an opinion is all that it is. > > I did not respond to this topic to have my opinion torn apart and trashed. > > You do not know me or what i have contributed in the past. > Agreed, and if my wording was too coloured, I am willing to apologize. We live in trying times these days and today it seems to show in my choice of words. But I don't retreat from my point of view. Your opinion is one that has been around for a long time, by a lot of people, who voiced similar logic, by the same online community, who officially supports open or free software. I have read it so often, and it really has struck me as being a hypocritical point of view. I do believe that the people, who support and use open or free software should be the first to be willing to support its survival, development and maintenance with whatever means one has available. Monetary rewards are one of them. I simply think that one lives by example. There are people who support IC with their programming skills, as mentioned before. There are other's who don't have the skills and might simply never get them. But programming support is just one side of the equation. Such support alone can't make free software to be a viable solution in most cases. Without a corporate sponsor or companies, who are able to sell their services for that software successfully, I don't see, how you want to accumulate enough resources to support the work on a mission critical, commercial package, you requested IC to be. Many people also seem to think that IC _IS_ already exactly that. It's nothing I can comment on. The only thing I strongly believe, is, if you hire the developers and Red Hat folks, they certainly are able to make this software work in such mission critical business situation. There is no free lunch, and that's all there is to it, even not for RMS and ESR and their disciples. Birgitt Funk From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Mon Sep 17 18:14:12 2001 Subject: [ic] custom shipping problem I am having problems trying to get a custom shipping setup to work. I have a catalog where items in one category have a fixed shipping price and everything else is charged for shipping based on the total price of the remaining items. I have written usertags to calculate the number of items that should be charged per item and have been able to get that charged correctly added for shipping as long as the person also orders an item which is charged by price. If the person only orders an item charged by price I get the following error. No match found for mode 'formula', quantity '', returning 0. Even though I know that the usertag tag is return the correct amount of 0.00. Any idea why the quantity would be NULL? Here is what I have in my shipping.asc. formula TestFormula [myshipping noformat=1] 0 0 0.00 {'adder' => "(\$Scratch->{thehandling} * 50)"} formula TestFormula [myshipping noformat=1] 0 100 3.33 {'adder' => "(\$Scratch->{thehandling} * 50)"} formula TestFormula [myshipping noformat=1] 100 9999999 9.99 {'adder' => "(\$Scratch->{thehandling} * 50)"} -- Scott Trunkhill 725 Broad St Product Research Specialist Augusta, GA 30901 Morris Communications (706) 823-3203 trunk@morris.com http://morris.com From: interchange-users at interchange.redhat.com (Moe Pitman) Date: Mon Sep 17 18:17:00 2001 Subject: [ic] Implementing a 'Back' button Can anyone tell me where to find the referring page in Interchange? My client wants a 'Return to Shopping' link in the shopping cart, which takes him back to the last product page. But I can't seem to get to $ENV{REFRER}, and javascript:history.back() doesn't seem to work... Does Interchange store the referrer somewhere? --Moe Pitman From: interchange-users at interchange.redhat.com (Tom C) Date: Mon Sep 17 18:18:00 2001 Subject: [ic] Passing Arguments using the [page] tag. Hello. Does anyone know how to pass more than argument with the [page] tag? I have the following: [page href="[loop-field db].html" arg="[loop-field db]"] When I refer to it, I call it with [cgi mv_arg]. But I need to pass more than one argument. How can I do that? Thanks in advance! -Tom C. From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Mon Sep 17 18:45:01 2001 Subject: [ic] [how] products/categories.html, proposal (?) I cant use the normal Cat/Subcat via bar_link sub because the list its pretty big. Reducing this list its just not possible. What I am trying to do is create a categories.html, so that I always display categories on my left menu and when clicking on one I get the subcats displayed on the main content area. Has anyone done something similar ? Isnt this functionality common so that it justifies a categories.html ? Categories dont seem to do much on Interchange other than grouping subcats. They are not clickable. What I am currently doing involves a loop thru the categories and creates a link to categories.html&catcode=CATCODEHERE, which retrieves the subcats with description and displays them. Any ideas or experiences with this layout are appreciated. If anyone is interested I can post more details on how I achieve that. Thanks in advance. _________________________________________________________ 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: Mon Sep 17 18:52:01 2001 Subject: [ic] Passing Arguments using the [page] tag. <a href=[area href=page form=| arg1=val1 arg2=val2 | ]>Link</a> Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 "Tom C" <tomc@ikano.com> Sent by: interchange-users-admin@interchange.redhat.com 09/17/2001 06:17 PM Please respond to interchange-users To: <interchange-users@interchange.redhat.com> cc: Subject: [ic] Passing Arguments using the [page] tag. Hello. Does anyone know how to pass more than argument with the [page] tag? I have the following: [page href="[loop-field db].html" arg="[loop-field db]"] When I refer to it, I call it with [cgi mv_arg]. But I need to pass more than one argument. How can I do that? Thanks in advance! -Tom C. _______________________________________________ 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 Leslie) Date: Mon Sep 17 19:00:01 2001 Subject: [ic] Frustrated with IC 4.8 True..... ----Original Message----- >From: "Nick Robertshaw" <bignick@paraglyph.com> >To: "interchange-users@interchange.redhat.com" <interchange-users@interchange.redhat.com> >Cc: >Bcc: >Subj: Re: [ic] Frustrated with IC 4.8 >Type: IPM.Note >Sent: Monday, September 17, 2001 8:24 AM > >IC 4.8 is 'a stable program that works as intended' > >It is representative of open source software generally in that: > >* Documentation is terse, sometimes incomplete, and sometimes oriented to >the programmer or technically savvy reader > >* Code and features are highly evolved > >* Installation can be a bitch > >* The user's investment is not in cash, but in the time taken to understand >how to install and configure the system (and initially in discovering how to >understand how to understand). > >* Support comes from people who are not obliged to give it > >You are, indeed, not the only one experiencing frustration. But there are >also many, many people who have succeeded at what you seem to be failing at. >The difference might be hardware or software but is more likely to be >expertise or persistence. > >Some, no doubt, are more suited to shrink-wrapped packages from the Black >Prince of Redmond. > >So, rather than venting and causing everyone to become pissed off or just >ignore you, try and deal with each of your problems by searching the >documentation, and the archives of this forum. Then perhaps, pose a >succinctly cast and specific question with sufficient details of your >configuration and environment and you might get a useful answer. > > >-- >Nick Robertshaw > >As the hectic pace of life rushes you along, >Remember to set aside a few minutes each day. >At the end of the year, >You'll have a couple of days saved up! > > >---------- >>From: "Kat Turner" <ronzokat@hotmail.com> >>To: interchange-users@interchange.redhat.com >>Subject: [ic] Frustrated with IC 4.8 >>Date: Mon, Sep 17, 2001, 6:24 AM >> > >> How is it that IC 4.8 can have so many great features and be so ill behaved >> in implamenting them? What I mean by this is IC 4.8 seems to have everything >> you could think of to put on a wish list for an online store and then some. >> But when it comes to using the Administration interface to setup the store >> it is contrary as hell. The changes that I make either give unexpected >> results or have no effect at all. The help file included seems to be an >> after thought that only makes one want a real help file. I find it next to >> useless. The documentation on the Redhat web site is not much better. The >> wizard that was intended to be used for quick setup seems to have a mind of >> it's own. >> >> If I am the only one that is having problems with grasping how to use IC >> then it won't hurt my feelings at all for you to tell me how stupid I am and >> for you to point out what I am doing wrong. I would really like to get IC to >> perform the way a program if this caliber should. I am use to stable >> programs that work as intended. If this is the type of program that stems >> from the open source code theory of designing software then it seems to be a >> step backwards. >> Just my $.02 worth. >> KAT >> >> _________________________________________________________________ >> 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 >> >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (JT Justman) Date: Mon Sep 17 19:05:01 2001 Subject: [ic] Frustrated with IC 4.8 ----- Original Message ----- From: "IC-Admin" <interchange@my-school.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, September 17, 2001 11:16 AM Subject: Re: [ic] Frustrated with IC 4.8 <<snip>> > I propose a monthly registration fee to this mailing list to collect > money for development and documentation support. I like to know, who would > support this idea and what you consider a price, which would reflect the > value of help you are getting here. > > Birgitt Funk > I would happily make a donation to this list, perhaps even on a monthly basis. But a manditory fee seems to be contrary to the spirit of the project. I might never have started lurking on this list a year ago if I'd had to pay for it. Besides, a set fee might discourage some from making larger donations. So I am going to start a trend. I will go right now and put $5 in the tip jar. JT From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Mon Sep 17 19:07:01 2001 Subject: [ic] Search on mail list On Mon, 17 Sep 2001, Kaare Rasmussen wrote: > Right now, search for anthing on the mailing list (developer.akopia.com) > returns the dreaded "Internal Server Error". It worked earlier this evening! Thanks for the alert. That was caused by an OpenSSL update breaking Python, of all things. It is working now. Jon From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Mon Sep 17 19:07:09 2001 Subject: [ic] Interchange 4.8 Documentation Set On Mon, 17 Sep 2001, Nathan D. Olmscheid wrote: > I plan on purchasing them, but don't want to purchase them, and new ones come out > the next day. If in a few months or so, yes thats fine, but no within a week or > to! > > Let me know if these are here to stay for a while, and I will order a set. The current shipping printed docs should be around for several months at least. Jon From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Mon Sep 17 19:17:00 2001 Subject: [ic] Frustrated with IC 4.8 I must say that I had IC 4.6.5 up and running a lot easier than 4.8. I am still fighting with the differences. Minivend-IC-4.6.5 was to me a lot easier. I found earlier CVS version of 4.8 easier to use than the Release. I still think IC is a great product. I just get frustrated with error that I could resolve a lot easier on prior version. I know that a lot of my problems are that my OS does things different that linux. I am using Caldera/SCO UnixWare and OpenUNIX. I gave up trying to get it to work on OpenServer. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Sep 17 19:32:01 2001 Subject: [ic] Getting back to Interchange after a short stroll!! At 10:15 PM 09/17/2001 +0200, you wrote: >I'm trying without much luck to go to an external page and then back in >Interchange. All this from ord/checkout.html > >The purpose is to go to a Payment Gateway that is located on another web >server. > >I can send two links to this gateway: OK and Error. If the payment is >accepted, it will go to OK, otherwise to Error. > >I'm sure Mike Heins has discussed this on the mailing list, but I couldn't >find it yesterday, and today the mailing list is struck by Infernal Errors!! >Also, Racke (Stefan Hornburg) has been kind enough to suggest an OK page like >this: > >[tmp url][area href="[process]" form="mv_todo=submit >mv_order_route=__ORDER_ROUTES_ >..."][/tmp] > >[bounce href="[scratch url]"] > >but no variant of this theme is working for me :-( > >I hope someone can help me or point me to some more information about how to >(shortly) visit the outside from Interchange!! You didn't state what (specifically) is going wrong, but I am going to guess that the order is not being submitted? Try something like this: [value name=mv_order_route set="__ORDER_ROUTES__" hide=1] [value name=mv_order_profile set=payment_ok hide=1] [set payment_ok] &final=yes [/set] [bounce href="[area form='mv_todo=submit']"] I'm not exactly sure this will work but I have done variations on this that did. You really need to pass the session ID to your payment processor for both the success and failure retunr URL's, something like this: [page href="success_page" arg="[data session id]"] Then you can include it in the bounce code above: [value name=mv_session_id set="[data session arg]" hide=1] .... [bounce ...] - Ed L. - 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 Sep 17 19:33:01 2001 Subject: [ic] [how] products/categories.html, proposal (?) On Mon, Sep 17, 2001 at 05:52:30PM -0500, Eduardo Dominguez wrote: > > I cant use the normal Cat/Subcat via bar_link sub because the list > its pretty big. Reducing this list its just not possible. > > What I am trying to do is create a categories.html, so that I always > display categories on my left menu and when clicking on one I get > the subcats displayed on the main content area. > > Has anyone done something similar ? Isnt this functionality > common so that it justifies a categories.html ? Categories dont seem to > do much on Interchange other than grouping subcats. They are not > clickable. > > What I am currently doing involves a loop thru the categories > and creates a link to categories.html&catcode=CATCODEHERE, which > retrieves the subcats with description and displays them. > > Any ideas or experiences with this layout are appreciated. If > anyone is interested I can post more details on how I achieve that. We do it like that too. Yes, the layout and concept work fine for catalogs. Conceptually, however, it stands IC on its head; categories become structurally the most important item. That in and of itself creates a **huge** issue that IC avoids: how do you make sensible categories? Ultimately we just imported DMOZ for our category structure. Let someone smarter than us do the librarian work. :-) I've not a clue about how to do it in IC markup but we've done it in perl, largely outside of minivend/IC. We do lots of background work and "pre-cooking". IC is very "self-sufficient" and self contained and not really well suited for that. perl/DBI is. You might want to look back in the archives maybe a year back there was a thread on various ways to support multiple/arbitrary layers of categories. On a single catalog basis you can go quite far with a number of the solutions. cfm > > Thanks in advance. > > > > > > _________________________________________________________ > 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 (John Larsen) Date: Mon Sep 17 19:38:00 2001 Subject: [ic] Need Help setting up UPS Shipping Hello, I am using Interchange 4.6.3 I need help setting up shipping. Can this all be configured from the administration section? Is the UPS_ORIGIN supposed to be your local zip code? Where do I find the number for the UPS Zone chart? Either im blind or UPS doesnt have it on their site. When I get the number, where do I enter it? Seems there is only a pull down and one number to chose from 450. Does charge type using UPS WWW lookup work? Im not sure how this all works, but it would be stupid to have the rates internal since they change without notice. Thanks in advance! John Larsen Designer/animator ___________________________________________________________ Website hosting for you...speed, stability and service at www.displaybiz.net From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 17 19:43:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Leon Harris wrote: LH>>up. Personally, I have nearly quit it on at least 2 occasions. If I were with a LH>>larger company, and not spending my own cash (which is always short, as LH>>distinct from time which can be found from other projects) on developing this, LH>>I would probably advise them to spend money on getting a proprietary product LH>>with a shorter learning curve and better support, if one existed. I don't think that there is one. I looked at MiniVend and tried to set it up and threw up my hands, for the various reasons that are being cited here over and over. I went with commerce.cgi for quite a while. It is excellent software and I was able to easily modify it to suit. It does not have zone-based shipping, which is vital for me. I went through a half dozen other products, paying for each one, including $500 for ShopSite, only to find that they were all seriously lacking in the essential elements for a store. One of my vendors is running a package called (I think) BroadView. They tell me that they paid many thousands of dollars for it. Out of my budget. And, the operators there are suffering just as I am. Very early this year, I dug in deeper to IC. I gave up on it again. I fumbled along on commerce.cgi for a while longer and finally realized that it was never going to be what I wanted. I was trying to customize a Chevy Geo to be a Grand Am (my favorite car!) InterChange is not for the faint of heart. IC is not for people new to Linux, nor new to servers. It has a very steep learning curve. It took me 6 months to get my store open and on-line. (My first computer was a SOL-20 by Processor Technology in 1976. I've been around a while!) The documentation is absolutely terrible. In this latest round of documentation revisions it became very clear that the documentation would never be written at a level low enough that I could understand it. And, I view this as a serious shortcoming to IC. And, yet, once the store is open and orders are pouring in because of the professional appearance of the presentation, and the high level of power of IC it all becomes worth it. I honestly think that the best thing that could happen to IC in 2001 is to halt all programming on it, halt all improvements, and to complete a full set of documentation that, while not an 'IC For Dummies' would be comparable to a Sam's book on IC. Something that, at least, I could understand, and hopefully people with far less computer know-how than I. With decent documentation, it would not bother me, in the least, to pay for Interchange. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 17, 2001 at 19:20 PM: Brain: The apparatus with which we think that we think. ---------------------------------------------------------------- This Linux System has been up 45 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 17 19:56:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Thore Karlsen wrote: TK>>You are not the only one, I'm having the same problems. The documentation is TK>>worthless, that's the only way to describe it. Open source may be free TK>>initially, but I'm starting to wonder if we shouldn't have gone with a well TK>>documented commercial solution instead. _Time_ certainly isn't free, and you TK>>need a lot of time to experiment to get things to work in Interchange. I fully agree! Stop all development. Write coherent documentation. Release the package for a fee. Start new development and sell upgrades. I'd rather pay the people at Akopia for a product that is up and running quickly, than to waste a lot of my time spinning my wheels. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 17, 2001 at 19:50 PM: Beauty is in the eye of the beer holder... ---------------------------------------------------------------- This Linux System has been up 45 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 20:02:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, JT Justman wrote: > > ----- Original Message ----- > From: "IC-Admin" <interchange@my-school.com> > To: <interchange-users@interchange.redhat.com> > Sent: Monday, September 17, 2001 11:16 AM > Subject: Re: [ic] Frustrated with IC 4.8 > > <<snip>> > > > I propose a monthly registration fee to this mailing list to collect > > money for development and documentation support. I like to know, who would > > support this idea and what you consider a price, which would reflect the > > value of help you are getting here. > > > > Birgitt Funk > > > > I would happily make a donation to this list, perhaps even on a monthly > basis. But a manditory fee seems to be contrary to the spirit of the > project. I might never have started lurking on this list a year ago if I'd > had to pay for it. Besides, a set fee might discourage some from making > larger donations. > > So I am going to start a trend. I will go right now and put $5 in the tip > jar. > > JT I appreciate your comment and I match your donation. :-) But I have an honest question. What is the spirit of this project ? This project started somewhere in 1995/96 AFAIK. To my knowledge at that time the enthusiasm about the potential of the internet was rosy and overwhelming. E-commerce was just envisioned as the big money maker by many a people and developers jumped on the task to develop many "closed source code" applications in that area. Free software had barely entered in the conscience of the general software user, aside from the ones, who were affiliated in some way or another to the the older *nix generations, who worked in that environment since the eighties. If there was a spirit in this project than to me it seemed it was the determination to keep the source code of this software open, in the sense of being readable and downloadable for anyone, who wanted to use it and "play" with it. For most people that also meant that the download of that software wouldn't cost a penny. I think it didn't mean any thing more than that. I have to admit that also the mailing list, since it existed, was never put in question to be anything else than be free of charge. Does that mean, one has to keep that written in stone ? I don't think that to charge for the mailing list would violate the most important "spirit" of this project, which is nothing but keeping a program's source code open and readable to anybody. That is especially important for a typical e-commerce application, because this software is very clearly a tool to save and to make money, for clients and for consultants as well. It is simply clear that this software will be used by people who basically shouldn't even try to use it on their own, because of its potential cost savings, be it that you are the very enduser and merchant or be it, that you are a consultant. If both these groups are able to make money (or at least to save money compared to all other options out there), then I don't see, why a small registration fee for this mailing list would make such a big difference and change the "spirit" of this project. All this of course, I write, under the assumption, that further development or maintenance of the current package would be endangered, because of too few seals of the Red Hat's commercial package and technical support contracts. The "spirit" of this project would be violated, IMHO, if the source code would ever be closed, not if the code would ever cost money. I would be willing to pay a price for that "freedom", or I would just call it "transparency", as that is to me the real only important aspect of OSS. It's not the price, it's the possibility to go and read the source code for anybody who wants to do it. Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 20:03:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Boyd Lynn Gerber wrote: > I must say that I had IC 4.6.5 up and running a lot easier than 4.8. I am > still fighting with the differences. Minivend-IC-4.6.5 was to me a lot > easier. I found earlier CVS version of 4.8 easier to use than the > Release. I still think IC is a great product. I just get frustrated with > error that I could resolve a lot easier on prior version. I know that a > lot of my problems are that my OS does things different that linux. I am > using Caldera/SCO UnixWare and OpenUNIX. I gave up trying to get it to > work on OpenServer. > > Thanks, > > -- > Boyd Gerber <gerberb@zenez.com> > ZENEZ 3748 Valley Forge Road, Magna Utah 84044 > Office 801-250-0795 FAX 801-250-7975 > Is that really something you can't get solved with the help of the RH development team ? B.F. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 17 20:10:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Nathan D. Olmscheid wrote: NDO>>Also for everyone complaining about bugs and such. DO SOMETHING ABOUT IT!! This NDO>>is free open source software, if you see a bug, fix it and send it in! For me, that would be fine if the software were written in C - a language that I am very good in. But, it's written in Perl. Nowadays, I am a merchant, and no longer have time for learning new programs. I can't even understand the bugs, let alone to fix them. NDO>>If you need help, post your question and I am sure many are glad to help. Are you That is far from correct. As a WAG, I would guess that only about one-third of the questions posted here get answered. I've watched many questions get asked, over and over and over with no reply. I've noticed them because they are identical to my own concerns. There's nothing wrong with the way that the questions are being asked. They are just being ignored. NDO>>totally clueless?? Maybe pay someone at RedHat to get you started and to the NDO>>point where you can utilize this group. I did that. NDO>> Also, READ the TAG REFERENCE in full, and NDO>>all other documentation. I haven't done all the above, I am working on reading NDO>>the reference guide, so far I think its written fairly decent. If you can understand that document, you are a far better person than I am. The last revision of the document was attempting to document what was actually happening, and it was doing it in a manner that is hard to understand. When things were found that were ridiculous the documenters refused to go back to the programmers to fix it, but rather to simply document it. (snippet) some code and stuff for the page more stuff [/comment] more lines of stuff [comment] We are giving away money today [/comment] Now, because there is a [/comment] on the page before [comment] the [comment] is shut off immediately. To me, this is stupid behavior and needs to be corrected. The Akopia employees writing the documentation chose to not do anything about it. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 17, 2001 at 19:55 PM: (A)bort, (R)etry, (F)orget It! ---------------------------------------------------------------- This Linux System has been up 45 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 17 20:28:01 2001 Subject: [ic] Need Help setting up UPS Shipping On Mon, 17 Sep 2001, John Larsen wrote: JL>>I need help setting up shipping. Most of this has been covered several times in the past 3 months on this list. I understand that it is all in the archives. JL>>Can this all be configured from the administration section? I understand that it can be. I find it much easier to do it ffrom the command line. JL>>Is the UPS_ORIGIN supposed to be your local zip code? That seems logical to me. JL>>Where do I find the number for the UPS Zone chart? Either im blind or UPS JL>>doesnt have it on their site. It is there. They have options for you to enter in your zip code and they will generate a downloadable Zone Chart for your area. JL>>Does charge type using UPS WWW lookup work? Im not sure how this all works, JL>>but it would be stupid to have the rates internal since they change without JL>>notice. If you have an acocunt with them, you will see that they only change once a year - in February - with surcharges, as needed, during the year. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 17, 2001 at 20:25 PM: 2 + 2 = 4 (for the time being). ---------------------------------------------------------------- This Linux System has been up 46 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 20:34:01 2001 Subject: [ic] [how] products/categories.html, proposal (?) On Mon, 17 Sep 2001 cfm@maine.com wrote: > avoids: how do you make sensible categories? Ultimately > we just imported DMOZ for our category structure. Let someone > smarter than us do the librarian work. :-) Hah, I like that. Nothing changed since the 1996/7. > cfm B.Funk From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Sep 17 20:42:01 2001 Subject: [ic] Quantity of 1 Item Only At 11:19 AM 9/16/2001 -0700, you wrote: >How do I display the quantity of only 1 item in the cart? > >This is an example of what I need if it worked: > >[value item-quantity 2002] > >(2002 is sku/code #.) > >(I'm using IC 4.6.5) > >Thanks, > >Sydney Urshan >p.s. Please cc answer to urshan@nethollywood.net. There may be an easier answer forthcoming, but you could iterate through the cart until you find the right sku, and then print the quantity, like so: [calc] my $cart = $Carts->{main}; my $this_sku = 0000001 my $last_line_item = (@$cart - 1); my $count = 0; my $this_code; foreach (@$cart){ $this_code = $cart->[$count]{code}; if ($this_code eq $this_sku){ return $cart->[$count]{quantity}; } $count++; } return; [/calc] HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 20:46:00 2001 Subject: [ic] Frustrated with IC 4.8 Thore Karlsen <thore@divineo.com> writes: > On Mon, 17 Sep 2001 13:55:04 -0400, you wrote: > > [...] > > >To wrap it up nothing is "free" there is always a cost. Sometimes it's > >time, other times it's money. But there's nothing like being able to > >totally customize an application to work just the way you want and do > >exactly what you want. If you find that you can't afford the time to do it > >yourself then maybe you should hire out someone who has the knowledge to do > >it for you. > > We tried that with one developer we used from time to time who was very > knowledgeable, but he eventually grew so frustrated with Interchange that he > didn't want to work with it any more. :/ I didn't know this developer, but IMHO he wasn't worth his dimes if he is that knowledgeable as you state and failed to cope with Interchange. > > I have also asked questions here on the list without getting anywhere, and > we have offered to pay Redhat to help us with our problems. Our problems > were never solved, even though they seemed pretty straightforward from what > I can recall. > That is a different problem and I'm not able to judge the quality of RedHat's support, but one thing is for certain: if you cannot ask a question correctly, support is very difficult. Ciao racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 20:49:01 2001 Subject: [ic] Getting back to Interchange after a short stroll!! Kaare Rasmussen <kar@webline.dk> writes: > I'm trying without much luck to go to an external page and then back in > Interchange. All this from ord/checkout.html > > The purpose is to go to a Payment Gateway that is located on another web > server. > > I can send two links to this gateway: OK and Error. If the payment is > accepted, it will go to OK, otherwise to Error. > > I'm sure Mike Heins has discussed this on the mailing list, but I couldn't > find it yesterday, and today the mailing list is struck by Infernal Errors!! > Also, Racke (Stefan Hornburg) has been kind enough to suggest an OK page like > this: > > [tmp url][area href="[process]" form="mv_todo=submit > mv_order_route=__ORDER_ROUTES_ > ..."][/tmp] > > [bounce href="[scratch url]"] > > but no variant of this theme is working for me :-( You need to be creative about the three dots. As you may have noticed, my answers are often incomplete or mere examples, so the exercise is up to the reader :-; Please try to understand what I meant and you may be able to conquer your problem. 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 (IC-Admin) Date: Mon Sep 17 20:55:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Thore Karlsen wrote: > On Mon, 17 Sep 2001 13:55:04 -0400, you wrote: > > [...] > > >To wrap it up nothing is "free" there is always a cost. Sometimes it's > >time, other times it's money. But there's nothing like being able to > >totally customize an application to work just the way you want and do > >exactly what you want. If you find that you can't afford the time to do it > >yourself then maybe you should hire out someone who has the knowledge to do > >it for you. > > We tried that with one developer we used from time to time who was very > knowledgeable, but he eventually grew so frustrated with Interchange that he > didn't want to work with it any more. :/ > > I have also asked questions here on the list without getting anywhere, and > we have offered to pay Redhat to help us with our problems. Our problems > were never solved, even though they seemed pretty straightforward from what > I can recall. > > Well, this being the exact mailing list, where frustrated developers can exchange their problems on an expert level, I think the folks from Red Hat might have loved to hear about his problems and he should have asked the questions here in a professional manner and allowed for a day or two to respond. The people who coded IC are watching the list AND do answer well formulated questions. B.Funk From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 20:56:01 2001 Subject: [ic] Frustrated with IC 4.8 "Sturgisrally.net" <corey@sturgisrally.net> writes: > There are a few problems with charging for this mailing list ... Forget this. Charging is definitely a bad idea and it won't work for sure. But IC/RedHat should be definitely more creative in lining up resources from the IC developers around the world. 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 (IC-Admin) Date: Mon Sep 17 20:57:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Jim Balcom wrote: > On Mon, 17 Sep 2001, Nathan D. Olmscheid wrote: > > NDO>>Also for everyone complaining about bugs and such. DO SOMETHING ABOUT IT!! This > NDO>>is free open source software, if you see a bug, fix it and send it in! > > For me, that would be fine if the software were written in C - a language > that I am very good in. But, it's written in Perl. Nowadays, I am a > merchant, and no longer have time for learning new programs. I can't even > understand the bugs, let alone to fix them. > Many person are in your position, but that is no reason to complain about the product or documentation. It's just accepting the fact that what you are trying to do is not going to be solved in the way you thought it would be possible. (Quick and easy and cheap. One of the three things has to go, it's up to you which one to choose). B. Funk From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 17 20:59:01 2001 Subject: [ic] Frustrated with IC 4.8 Thore Karlsen <thore@divineo.com> writes: [...] > > You are not the only one, I'm having the same problems. The documentation is > worthless, that's the only way to describe it. Open source may be free > initially, but I'm starting to wonder if we shouldn't have gone with a well > documented commercial solution instead. I'm appreciate to know of a commercial solution that works and has a decent documentation. > _Time_ certainly isn't free, and you > need a lot of time to experiment to get things to work in Interchange. This is definitely right, but the decision to try IC on your own is completely up to you. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 21:04:00 2001 Subject: [ic] MS SQL as backend Hi, Is there a HOWTO for using Microsoft SQL as backend for Interchange? I already have a box running Interchange 4.8.1 and I need to connect the box to the MS SQL server. --- francis vidal [bitstop network services] streaming media + web services v(02)330-2871,(02)330-2872 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 21:43:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, Sep 17, 2001 at 07:57:18PM -0400, Jim Balcom wrote: > On Mon, 17 Sep 2001, Thore Karlsen wrote: > > TK>>You are not the only one, I'm having the same problems. The documentation is > TK>>worthless, that's the only way to describe it. Open source may be free > TK>>initially, but I'm starting to wonder if we shouldn't have gone with a well > TK>>documented commercial solution instead. _Time_ certainly isn't free, and you > TK>>need a lot of time to experiment to get things to work in Interchange. > > I fully agree! > > Stop all development. Write coherent documentation. Release the package for > a fee. Start new development and sell upgrades. > > I'd rather pay the people at Akopia for a product that is up and running > quickly, than to waste a lot of my time spinning my wheels. I beg to differ, strongly. This is just refusing to take responsibility. IMCO IC is **too easy**. Too deceptively easy. Time and again I see people on this list way over their heads. If they cannot run a server, cannot get permissions right, cannot install from CPAN, cannot read log files, they are simply out of their depth. Hell, I can't even understand half the questions on this list. Some of that is my own obtuseness, but not all of it. There is no amount of better documentation or easier installation that will make that better. Making it better, eg "easier", will only make this problem **worse** and increase the number of painful failures. One understands how to permission their "vlink" or one guesses; there is no documentation that would explain how we do it to someone who did not understand permissions/users/groups. In that same vein, IC on Windows? Why RH would stray into those waters? But I digress. :-) Perhaps the Peter Principal applies to software or maybe to those of us who run it. MV/IC will perform according to **your** experience and ability to make it perform. If you are not comfortable with perl and sysadmin work, IC is a risky choice. You can probably cookbook a store from one of the demos but you will not be able to modify it and you will not be able to pass the work on. It is all to Akopia/{R|M}H's credit that it works so well. It is not their fault that "everyone" cannot make it work. cfm > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Monday, September 17, 2001 at 19:50 PM: > Beauty is in the eye of the beer holder... > > ---------------------------------------------------------------- > This Linux System has been up 45 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 (interchange-users at interchange.redhat.com) Date: Mon Sep 17 21:48:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, Sep 18, 2001 at 02:55:57AM +0200, Stefan Hornburg (Racke) wrote: > "Sturgisrally.net" <corey@sturgisrally.net> writes: > > > There are a few problems with charging for this mailing list ... > > Forget this. Charging is definitely a bad idea and it won't work > for sure. But IC/RedHat should be definitely more creative in > lining up resources from the IC developers around the world. I hate to hear one of my pet ideas shot down. I'd not charge for this list either, but I would pay for a moderated "best of" list **version** of this list. The money goes to moderator for maintaining FAQ, sending FAQ to common questions, killing bad threads and spam, etc... All posts go to vanilla list, those subscribing to "best of" would get a human moderated version, only a handful of posts per day. Ahhhhh that's the ticket! > > 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 -- 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 (Thore Karlsen) Date: Mon Sep 17 21:56:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 21:15:28 -0400 (EDT), you wrote: [...] >> >To wrap it up nothing is "free" there is always a cost. Sometimes it's >> >time, other times it's money. But there's nothing like being able to >> >totally customize an application to work just the way you want and do >> >exactly what you want. If you find that you can't afford the time to do it >> >yourself then maybe you should hire out someone who has the knowledge to do >> >it for you. >> We tried that with one developer we used from time to time who was very >> knowledgeable, but he eventually grew so frustrated with Interchange that he >> didn't want to work with it any more. :/ >> >> I have also asked questions here on the list without getting anywhere, and >> we have offered to pay Redhat to help us with our problems. Our problems >> were never solved, even though they seemed pretty straightforward from what >> I can recall. >Well, this being the exact mailing list, where frustrated developers can >exchange their problems on an expert level, I think the folks from Red Hat >might have loved to hear about his problems and he should have asked the >questions here in a professional manner and allowed for a day or two to >respond. The people who coded IC are watching the list AND do answer well >formulated questions. I did ask the question here before we went to him. We also asked Red Hat for help. (Paid support, of course.) I've asked multiple questions here, but the responses (if any) haven't been much help. Oftentimes other people ask about problems that we have experienced, but mostly they go unanswered. -- Be seeing you. From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Mon Sep 17 21:59:01 2001 Subject: [ic] Page sections With the default foundation catalog it appears that there are page sections defined for top and left, which then have content put in them from the design section of the admin UI, ie left - Handbrushes, etc. I notice top has all the same sections and categories added in, but I don't see where that information for the top sections actually comes out on the web page. What is the purpose of this top section that is full of stuff but is never seen. Regards, Ross cousens From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Sep 17 21:59:23 2001 Subject: [ic] [how] products/categories.html, proposal (?) On Mon, Sep 17, 2001 at 08:54:37PM -0400, IC-Admin wrote: > > On Mon, 17 Sep 2001 cfm@maine.com wrote: > > > avoids: how do you make sensible categories? Ultimately > > we just imported DMOZ for our category structure. Let someone > > smarter than us do the librarian work. :-) > > Hah, I like that. Nothing changed since the 1996/7. More like since the beginning of time. > > > cfm > > B.Funk > > _______________________________________________ > 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 (IC-Admin) Date: Mon Sep 17 22:21:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Jim Balcom wrote: > On Mon, 17 Sep 2001, Thore Karlsen wrote: > > TK>>You are not the only one, I'm having the same problems. The documentation is > TK>>worthless, that's the only way to describe it. Open source may be free > TK>>initially, but I'm starting to wonder if we shouldn't have gone with a well > TK>>documented commercial solution instead. _Time_ certainly isn't free, and you > TK>>need a lot of time to experiment to get things to work in Interchange. > > I fully agree! > > Stop all development. Write coherent documentation. Release the package for > a fee. Start new development and sell upgrades. > > I'd rather pay the people at Akopia for a product that is up and running > quickly, than to waste a lot of my time spinning my wheels. > > -= Jim =- > The would be the beginning of the end. It doesn't make sense. It's not the responsibility of the developer to make sure, that the documentation gets understood by everybody independent of their level of knowledge or expertise. There is no science, where the scientist adapt to the level of understanding of a highschool student, just to make sure everybody can understand quantum physics. If a chemist develops a drug his documentation for that drug will not be watered down to a level a ninth grader can read it like a science fiction novel. Somewhere along the road you can understand, that it's up to you to learn the tools you need. I wouldn't know any field where that wouldn't be the same. Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 22:22:01 2001 Subject: [ic] Frustrated with IC 4.8 On 18 Sep 2001, Stefan Hornburg (Racke) wrote: > "Sturgisrally.net" <corey@sturgisrally.net> writes: > > > There are a few problems with charging for this mailing list ... > > Forget this. Charging is definitely a bad idea and it won't work > for sure. But IC/RedHat should be definitely more creative in > lining up resources from the IC developers around the world. > > Ciao > Racke > > Big words. Can you share your creative ideas in that regards ? Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 22:28:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 cfm@maine.com wrote: > On Tue, Sep 18, 2001 at 02:55:57AM +0200, Stefan Hornburg (Racke) wrote: > > "Sturgisrally.net" <corey@sturgisrally.net> writes: > > > > > There are a few problems with charging for this mailing list ... > > > > Forget this. Charging is definitely a bad idea and it won't work > > for sure. But IC/RedHat should be definitely more creative in > > lining up resources from the IC developers around the world. > > > I hate to hear one of my pet ideas shot down. I'd not charge for this > list either, but I would pay for a moderated "best of" list **version** > of this list. The money goes to moderator for maintaining FAQ, sending > FAQ to common questions, killing bad threads and spam, etc... All posts > go to vanilla list, those subscribing to "best of" would get a human > moderated version, only a handful of posts per day. Ahhhhh that's the > ticket! > Yeah, an old pet idea of yours. I remember when you suggested it the first time around. The thing is that the one who is able to make a "best of" list must be quite knowledgable himself and will have no time to do it and if he did it, he would want too much money for it. Then the money wouldn't go into the pot, where it could be used to support IC development and we are back at point one. For some darn reason it doesn't get into my head why the community refuses stubbornly to pay a fee for something they all use. To me it's one of those big denials people have about realities. But I better let this go now. Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 22:30:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001 cfm@maine.com wrote: > > It is all to Akopia/{R|M}H's credit that it works so well. It is not ^^^^^^^ nicely put :-) > their fault that "everyone" cannot make it work. > > cfm > From: interchange-users at interchange.redhat.com (Rick Lord) Date: Mon Sep 17 22:50:00 2001 Subject: [ic] Please help with pgp issue, please. I am getting desperate here. My questions are going unanswered. I have set up two seperate sites using Interchange 4.6. One uses GPG for encryption the other does not encrypt the number at all. Both work fine. I am trying to set up a new server using Interchange 4.8. I would prefer to not use encryption since the order is sent locally. When I try to set that up I get NEED ENCRYPTION ENABLED where the CC number should be. If I can't get that working I will use gpg, but when I try to set it up with gpg that space is blank. I have searched through the e-mails and found other people who have had the same problems, but no answers. At the very least could somebody tell me exactly what to put in the Encryptor fields? I am a little confused about what goes where. Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Mon Sep 17 22:57:01 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, IC-Admin wrote: > On Mon, 17 Sep 2001, Boyd Lynn Gerber wrote: > > I must say that I had IC 4.6.5 up and running a lot easier than 4.8. I am > > still fighting with the differences. Minivend-IC-4.6.5 was to me a lot > > easier. I found earlier CVS version of 4.8 easier to use than the > > Release. I still think IC is a great product. I just get frustrated with > > error that I could resolve a lot easier on prior version. I know that a > > lot of my problems are that my OS does things different that linux. I am > > using Caldera/SCO UnixWare and OpenUNIX. I gave up trying to get it to > > work on OpenServer. > > Thanks, > Is that really something you can't get solved with the help of > the RH development team ? Sorry you hit on a subject that triggered a lot of feelings... No, but I would have to pay for every version to be fixed for the OS's I asked for a quote on cost for getting it to work on Caldera OpenServer and was told it would start at about $2000.00 and could be a lot more. What frustrated me was it core dumps and is the only OpenSource program that core dumps. I am some what OK with perl. I add the thread code for UnixWare on perl 5.6.0. I do not claim to be a perl expert, but all the different perl programs I have written do work. I have submitted a few patches to the perl development and they have been used. If I could afford or had enough money and I would glady pay for each IC version to work on the platforms I have. Right now I am strugling. I have been in business for 22 years and right now because people have not paid I am close to losing my business and home. I spend way too much time on many OpenSource Projects making patches and reporting errors, helping others to get it working. Allowing my machines to be used for free to make sure it works on the OS's I have. I try to post my experience to the list to help others with the same OS's I have offered the resources I have to make IC work. My problem is right now I do not have the finances to pay to get the kinks fixed. What I see is they are fixed for one release and then get broken in the next. For example a year ands a half ago I was getting errors with pod2man. They fixed the problems with pod2man. Then they changed to a different method of generating the pod files in Sept-Oct last year. Now I get tons of these errors... ./configure ... /usr/local/bin/pod2man: bad option in paragraph 50 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/local/bin/pod2man: bad option in paragraph 52 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/local/bin/pod2man: bad option in paragraph 54 of pod/iccattut.pod: ``-c'' should be [CB]<-c> /usr/local/bin/pod2man: bad option in paragraph 54 of pod/iccattut.pod: ``-r'' should be [CB]<-r> /usr/local/bin/pod2man: bad option in paragraph 54 of pod/iccattut.pod: ``-c'' should be [CB]<-r> /usr/local/bin/pod2man: bad option in paragraph 56 of pod/iccattut.pod: ``-r'' should be [CB]<-r>d2man: bad option in paragraph 54 of pod/iccattut.pod: ``-r'' should be [CB]<-l> /usr/local/bin/pod2man: bad option in paragraph 89 of pod/iccattut.pod: ``-l'' should be [CB]<-l> /usr/local/bin/pod2man: bad option in paragraph 98 of pod/iccattut.pod: ``-F'' should be [CB]<-F> ... The above happens on every version of perl I have tried from perl5.005_03 to perl 5.6.1 with the three SCO/Caldera OS's (OpenServer, UnixWare and OpenUNIX native) LKP mode does work. I was told I would have to pay to have it fixed. A second item... I spent or a week fighting with IC 4.8.1 trying to get it to work over my existing 4.6.5. To get IC 4.8.1 to work I had to move the interchange directory and install a fresh interchange directory. The fresh install was rather painless. It was just on the previous version IC, it could be installed over the existing with out really any problems. This was not the case with 4.8.1 About a year ago I found a problem with getting CVS version of IC. Getting the CVS from the akopia site would give random failures. What it boiled down to was that different version of CVS reacted differently. With just Linux there was no problem, but with every SCO/Caldera OS it exists. Once we both were using the latest versions of CVS, it was fixed. I guess what I see is a OS learning curve and things are different with the OS's I use. I have worked with the MySQL people and the various sripts are now independent of OS. I have to change them for my System V stuff. I know the Red Hat people to be very knowledge able on Linux and other OS's, but from what I have been told when I asked for guesstiments on getting it to work on the three OS's I use they are not and it would be rather costly to constantly pay for them. Using gnupg was rather easy on 4.6.5. It took a bit of time but I was able to get it working. I have fought with 4.8.1 for over two months and I guess I am really a dunce when it comes to IC 4.8.1. I cannot figure out how to get the foundation demo to use gnupg. Right now I get this message "NEED ENCRYPTION ENABLED." encrypted instead of the Credit Card Information. I have to use gnupg to decrypt my message. This tells me I have encryption working or I would not have to use gpg --decrypt to read my message "NEED ENCRYPTION ENABLED". I have tried to use the UI admin, entering in the information. I am stumped at what to do. This is what I used for IC 4.6.5 in the variable.txt file. ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r gerberb@zenez.com 2>encrypt.error Payment I have tried it or set it any way I could think of including putting gpg in /usr/bin. All being wrong. This is my public_key. -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.6 (UnixWare) Comment: For info see http://www.gnupg.org mQGiBDsWdhARBADqB4P8Cn+/Dqe3Zi9vLD7VxXWTpUZTUT702YqbAJbSTTT6sZDb abnZMn8TD4KvOOVJI9flUqBcdbjF+WTozJ6vXvCrmJkkAVunDtbLKqyKV8fFj4KT JB4/ck9CIEBnT6vCMRlNE0Y7ta3QWWp/m0UHWH69cjlCIifs1vobVTLCJwCgkDPN yQvezrpU1SVMB6HHNVKuLvUD/0PPaFo2dqOgSdnRM/XR2yX4RtuhGtdRwZj1mVPz aEXVYVRYa8m7xbYOkOTYCKGEDUaPvtjZUBVofUQRnSU/gF8zmxowSGRpyeRJSDQn FuudXGUWOVjTTi+10I5IkCdF9fXRBitcrdjC/c9QO99Cdc//jkLpf47om34DzAc7 +BzSBADUw7j/ESIF5HZyySUUSfX834xbdzQyX5ptsmNV3sfOhXLDYmlBvrfJzE0F WWDK4LyISaICO92qfOvQLbg/fhHW0JS4IFvwj1UMDvLPGKro6wHzpWGkxGUq52bl yyYJeCUU8iz29gCcxuuTe8pQnxXmlo9CCQjrNDeM6sjrMlOBr7Q2Qm95ZCBMeW5u IEdlcmJlciAoQ0VPL093bmVyIFpFTkVaKSA8Z2VyYmVyYkB6ZW5lei5jb20+iF0E ExECAB0FAjudlTwFCQRJhiwFCwcKAwQDFQMCAxYCAQIXgAAKCRBW0GMOJ3vd5tkj AJ4xuPghp8ufJvfL/M7+T47BqX4KdQCfaHkrv0rcpGaoRSONRyYYStrRY+W5AQ0E OxZ2HhAEAK6+/P6g9eDJe1bA112ohTEfbd3i2Yya2Vk6IC06RCTcraJ+yF8VJVM+ te/WVXUfREsNokqCWnfJZiafPRxYB7aCLb61Jh8qPIiNT/zhu6tYYdXDFuvfbBCa GOf05sg791f2bkFGWvGdpgLrVKnBq6w6aoImFYl0xy4ouP1pWG5nAAMHA/9kegty sQm6uYX5MfJTlhawESW6pRkOpQAlcwZW05FeeLJvGAz/uuMn6KRcbi3uP899f7bU +hEt4Qw8+bWPXOk8+3sIDdyyoCErbY340jG14IrD37AviL0p/p5q5mgx4WfVwCD0 NZ7II3F9FvIjcYVM3ZJ4aTl85vrycnJEelgOlYhGBBgRAgAGBQI7FnYeAAoJEFbQ Yw4ne93mLtkAnAo6kIMzGe5+waFgQSTgq2WY2tq9AJ9xtZSoCk1//JoA9eY7LHhG 5BnxOw== =hnuE -----END PGP PUBLIC KEY BLOCK----- I have tried setting PAYGATE pgp PAYGATE gpg PAYGATE /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r gerberb@zenez.com 2>encrypt.error Payment PGP PGP pgp PGP gpg PGP gpg Encryption PGP /usr/local/bin/gpg PGP gpg Payment, PGP /usr/local/bin/gpg Payment PGP_KEY the_public_key_above PGP_KEY gerberb@zenez.com Encryption PGP_KEY the_public_key_above Encryption PGP_KEY the_public_key_above Payment In the UI --------------------------------------------------- /usr/local/gerberb/.gnupg/gerberbpublic.gpg or /usr/local/gerberb/.gnupg/gerberb.pub --------------------------------------------------- putting in the publice key above. and every other combination I could think of. The way I read the code which is probably wrong I should find gpg and give me a list of the public keys on the interchange public keyring in... /usr/local/interchange/.gnupg/pubring.gpg . I guess what this boils down to is using a OS that is truely supported. I just really love IC and I have a few sites working with out any problem with IC 4.6.5, Sorry for all this. The discussion just triggered a lot of deep feelings. -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Mon Sep 17 23:21:00 2001 Subject: [ic] Frustrated with IC 4.8 With all due respect, that's utter rubbish. You don't expect the people who drive cars to know how to build one from scratch. You don't expect the mechanics who fix them to understand the science behind them. Even in the assembly plants, the bulk of the workers are following blueprints, not understanding the science behind it. Your reasoning is flawed. Amongst the people who are trying to install interchange are long-term programmers and sys admins with a good understanding of the OS and programming. The solution you are giving is "Tough, I can understand it. If you can't, go elsewhere." That's not a solution, that's pure arrogance. Interchange IS flawed, in that it's a fairly old piece of open source software with a nasty number of bugs, (some of which are showstoppers). It's ridiculously hard to install. A great percentage of the emails to this list are installation issues. The documentation IS too obscure, and the learning curve IS too steep. The challenge is to fix the bugs, develop clear middle-level and low-level documentation and _then_ consider the wonderful new features. As for paying money to redhat, there's no way I'm paying hard-earned money for broken code in the hope that one day it'll be fixed. Just like I wouldn't buy a car with 3 wheels in the hope of encouraging the car maker to add the 4th. Ian Riddler Partner Griffler Enterprises > > There is no science, where the scientist adapt to the level of > understanding of a highschool student, just to make sure everybody > can understand quantum physics. If a chemist develops a drug his > documentation for that drug will not be watered down to a level > a ninth grader can read it like a science fiction novel. > > Somewhere along the road you can understand, that it's up to you to > learn the tools you need. I wouldn't know any field where that wouldn't > be the same. > > Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 23:53:00 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Ian Riddler wrote: > With all due respect, that's utter rubbish. > > You don't expect the people who drive cars to know how to build one from > scratch. You don't expect the mechanics who fix them to understand the > science behind them. > Even in the assembly plants, the bulk of the workers are following > blueprints, not understanding the science behind it. > Aaah, and the factory gives you the car for free ? > Your reasoning is flawed. Amongst the people who are trying to install > interchange are long-term programmers and sys admins with a good > understanding of the OS and programming. The solution you are giving is > "Tough, I can understand it. If you can't, go elsewhere." > That's not a solution, that's pure arrogance. > No, that was not my intention at all. Matter of factly, I can't judge the code of this program. I don't understand it one bit. :-) If you think the code is broken and can't get fixed in a way that is acceptable to you, then I listen to that and I think it's good that you voiced your opinion. I myself can't make such a judgement. I watch this list for such a long time in the hope to make a judgement of that sort (without learning to the point that I can make a judgement of the code) from the comments I read here and the questions which get answered and asked. > Interchange IS flawed, in that it's a fairly old piece of open source > software with a nasty number of bugs, (some of which are showstoppers). > It's ridiculously hard to install. A great percentage of the emails to this > list are installation issues. > > The documentation IS too obscure, and the learning curve IS too steep. > > The challenge is to fix the bugs, develop clear middle-level and low-level > documentation and _then_ consider the wonderful new features. > I could imagine that this might be a decision made on purpose. What would be the advantage from the view point of Red Hat, if they would spend a lot of time in writing a middle-level or low-level documentation and loose time to possibly miss out on new features which keeps them on a competitive edge ? Yes, more people might be able to download the software with less installation for free, may be. But I ask myself, how would that help Red Hat to make money ? Please note, that I don't speak at all for Red Hat and I envison already that Red Hat folks and Mike Heins might getting mighty frustrated with me feeding this thread through my comments. > As for paying money to redhat, there's no way I'm paying hard-earned money > for broken code in the hope that one day it'll be fixed. I could imagine that Red Hat would also no way want to give their hard-earned free time to a unhappy customer, who doesn't want to pay a dime, in the hope they can make him happy. > Just like I wouldn't buy a car with 3 wheels in the hope of encouraging the > car maker to add the 4th. > I guess then that you have to buy another car, who has four wheels. Sorry to hear that. > Ian Riddler > Partner > Griffler Enterprises > > > > > There is no science, where the scientist adapt to the level of > > understanding of a highschool student, just to make sure everybody > > can understand quantum physics. If a chemist develops a drug his > > documentation for that drug will not be watered down to a level > > a ninth grader can read it like a science fiction novel. > > > > Somewhere along the road you can understand, that it's up to you to > > learn the tools you need. I wouldn't know any field where that wouldn't > > be the same. > > > > Birgitt Funk > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (IC-Admin) Date: Mon Sep 17 23:59:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Boyd Lynn Gerber wrote: > > Sorry you hit on a subject that triggered a lot of feelings... > No, it's me, who has to apologize. I didn't expect to read something like this. I hope you will find some solutions through the list soon. > No, but I would have to pay for every version to be fixed for the OS's > > I asked for a quote on cost for getting it to work on Caldera OpenServer > and was told it would start at about $2000.00 and could be a lot more. > What frustrated me was it core dumps and is the only OpenSource program > that core dumps. > > I am some what OK with perl. I add the thread code for UnixWare on perl > 5.6.0. I do not claim to be a perl expert, but all the different perl > programs I have written do work. I have submitted a few patches to the > perl development and they have been used. > > If I could afford or had enough money and I would glady pay for each IC > version to work on the platforms I have. Right now I am strugling. I > have been in business for 22 years and right now because people have not > paid I am close to losing my business and home. I have some difficulties to understand why, under those circumstances, you don't change to Red Hat 7.x to avoid the problems you describe for good. Don't you think you had a higher change to get answers on this list, if you used Red Hat ? [snip] > > > I guess what this boils down to is using a OS that is truely supported. I > just really love IC and I have a few sites working with out any problem > with IC 4.6.5, > Looks like it. > Sorry for all this. The discussion just triggered a lot of deep feelings. > I am sorry for this. But may be it helps to let some of that stuff out. May be someone can point you to some solutions. I certainly hope so. Don't give up and good luck for the future. > -- > Boyd Gerber <gerberb@zenez.com> > ZENEZ 3748 Valley Forge Road, Magna Utah 84044 > Office 801-250-0795 FAX 801-250-7975 > From: interchange-users at interchange.redhat.com (Kat Turner) Date: Tue Sep 18 00:04:01 2001 Subject: [ic] Frustrated with IC 4.8 >The would be the beginning of the end. It doesn't make sense. It's not the >responsibility of the developer to make sure, that the documentation gets >understood by everybody independent of their level of knowledge or >expertise. > >There is no science, where the scientist adapt to the level of >understanding of a highschool student, just to make sure everybody >can understand quantum physics. If a chemist develops a drug his >documentation for that drug will not be watered down to a level >a ninth grader can read it like a science fiction novel. > >Somewhere along the road you can understand, that it's up to you to >learn the tools you need. I wouldn't know any field where that wouldn't >be the same. > >Birgitt Funk I started this thread out of frustration of trying to understand why a great program with great features had to be so difficult to learn and use. The thought process needed in making your comments would fully explain why IC is the way it is, close to a perfect program for it's intended purpose in operation but harder to learn to use than it should be. Most scientists are also teachers in our colleges and universities. They take pride in sharing their knowledge with others. They document each step of what they learn and making it available. If they kept what they knew to themselves and expected others to catch up, as you seem to suggest, we would find ourselves on the cutting edge of medieval technology. If a chemist produced a drug that ended up available to the general public for free, I think you would agree that we should expect reasonable documentation on how to take it and what to expect when a ninth grader takes it before it would be widely accepted. I agree that anyone using a program with the complexity of IC should have some knowledge of software programming, be it perl, html or whatever. I don't believe we should have to start from scratch each time we want to make a change in IC. I'm sorry I don't have the skills that you apparently do but I can't apologize for not knowing everything. Kat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Tue Sep 18 00:23:01 2001 Subject: [ic] Frustrated with IC 4.8 So many messages over a trivial point, no ones about to be suddenly convinced to take a different view point on open source/commercial software, it's like being gay or straight, you're either born that way or you're not, or I guess you could argue it's a circumstance of environment, either way I'm sure my opinions on open source software were formed in the sandpit where I learnt to "share". So I'd like to take this opportunity to reiterate my previous question and ask what purpose does the "top" section serve in layout design, where is it defined etc.? I can't see where it actually comes out on the main page, or at the least could someone give me an idea as to what document to look in? Regards, Ross Cousens -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Kat Turner Sent: Tuesday, 18 September 2001 2:04 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Frustrated with IC 4.8 >The would be the beginning of the end. It doesn't make sense. It's not the >responsibility of the developer to make sure, that the documentation gets >understood by everybody independent of their level of knowledge or >expertise. > >There is no science, where the scientist adapt to the level of >understanding of a highschool student, just to make sure everybody >can understand quantum physics. If a chemist develops a drug his >documentation for that drug will not be watered down to a level >a ninth grader can read it like a science fiction novel. > >Somewhere along the road you can understand, that it's up to you to >learn the tools you need. I wouldn't know any field where that wouldn't >be the same. > >Birgitt Funk I started this thread out of frustration of trying to understand why a great program with great features had to be so difficult to learn and use. The thought process needed in making your comments would fully explain why IC is the way it is, close to a perfect program for it's intended purpose in operation but harder to learn to use than it should be. Most scientists are also teachers in our colleges and universities. They take pride in sharing their knowledge with others. They document each step of what they learn and making it available. If they kept what they knew to themselves and expected others to catch up, as you seem to suggest, we would find ourselves on the cutting edge of medieval technology. If a chemist produced a drug that ended up available to the general public for free, I think you would agree that we should expect reasonable documentation on how to take it and what to expect when a ninth grader takes it before it would be widely accepted. I agree that anyone using a program with the complexity of IC should have some knowledge of software programming, be it perl, html or whatever. I don't believe we should have to start from scratch each time we want to make a change in IC. I'm sorry I don't have the skills that you apparently do but I can't apologize for not knowing everything. Kat _________________________________________________________________ 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 (Thomas Gomillion) Date: Tue Sep 18 00:34:00 2001 Subject: [ic] Frustrated with IC 4.8 At 12:18 AM 9/18/01, you wrote: 15 E-mails from IC admin over the last several hours.........seems like a few might have done it. I guess i need to buy a larger hard drive. >No, it's me, who has to apologize. I didn't expect to read something >like this. I hope you will find some solutions through the list soon. > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (IC-Admin) Date: Tue Sep 18 00:45:00 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Kat Turner wrote: > > >The would be the beginning of the end. It doesn't make sense. It's not the > >responsibility of the developer to make sure, that the documentation gets > >understood by everybody independent of their level of knowledge or > >expertise. > > > >There is no science, where the scientist adapt to the level of > >understanding of a highschool student, just to make sure everybody > >can understand quantum physics. If a chemist develops a drug his > >documentation for that drug will not be watered down to a level > >a ninth grader can read it like a science fiction novel. > > > >Somewhere along the road you can understand, that it's up to you to > >learn the tools you need. I wouldn't know any field where that wouldn't > >be the same. > > > >Birgitt Funk > > > I started this thread out of frustration of trying to understand why a great > program with great features had to be so difficult to learn and use. The > thought process needed in making your comments would fully explain why IC is > the way it is, close to a perfect program for it's intended purpose in > operation but harder to learn to use than it should be. > > Most scientists are also teachers in our colleges and universities. They > take pride in sharing their knowledge with others. They document each step > of what they learn and making it available. If they kept what they knew to > themselves and expected others to catch up, as you seem to suggest, we would > find ourselves on the cutting edge of medieval technology. > I find that kind of ironic. Open source software is the only software, which actually takes a lot of pride to share its "knowledge" by making itself avaible by opening up its source code. The other alternative is "closed" software. There NO KNOWLEDGE gets shared whatsoever. The documentation for open source software is not worse than most of the software for closed software. Actually I think, though may be not all documentation for open source software is in an optimal format, it is definitely is available in there and a lot of volunteer work has been put into it. A lot of great books have been written about open source applications to do exactly what you are describing, they make the knowledge of the developers available to the public and that is really the opposite from keeping all to themselves. That's one of the reasons why open source software will be used all over in schools and by government entities in the future. What is good enough for schools to use as teaching tool (because the source code is open and inexpensive), is certainly good enough for me and my personal use of that software. Birgitt Funk From: interchange-users at interchange.redhat.com (IC-Admin) Date: Tue Sep 18 00:47:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Thomas Gomillion wrote: > At 12:18 AM 9/18/01, you wrote: > 15 E-mails from IC admin over the last several hours.........seems like a > few might have done it. > I guess i need to buy a larger hard drive. > That's my last one. Otherwise hit the delete button and your harddrive should have enough space for more of ... B. Funk > > > >No, it's me, who has to apologize. I didn't expect to read something > >like this. I hope you will find some solutions through the list soon. > > > > > > > >_______________________________________________ > >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 (Greg Heath) Date: Tue Sep 18 01:07:00 2001 Subject: [ic] Product Search by Alphabet Lets try a new thread. Basicly, it is a problem with the results of a search using % and LIKE to find db entries starting with a letter. The code has worked for several years under MV and when I upgraded the sites to IC4.7 it still worked. It doesn't now that I have done a clean install of Redhat 7.1 / Interchange 4.8.1 / Perl 5.6.1 I figure that it must be a missing perl module or a change in IC code. 1. Is the search parameter op=LIKE not valid under IC 2. or is the sql symbol % rejected by perl Hit the page http://www.hwon.com.au/cgi-bin/products/results_index and try the links yourself. The code I use is here Subject: [ic] FYI: Product Search by Alphabet Date: Mon, 12 Mar 2001 11:41:57 +1000 http://developer2.akopia.com/archive/interchange-users/2001/msg02382.html BTW: there is nothing in the error logs Greg Heath Web Development Pacific Technologies International P/L www.pacifictech.com.au greg@pacifictech.com.au From: interchange-users at interchange.redhat.com (Tux MacAuley) Date: Tue Sep 18 01:40:06 2001 Subject: [ic] setting search sorts - how to save what I build My searches are ending up with the items sorted in a non logical order (the same order I entered them, as they are supposed to by default.) I am having problems saving the search builder output: on the last/final page of the search builder, I ended up with : Location: http://mydomain.com/~aviation/cgi-bin/cart.cgi/admin/search_wizard.html?id=H rmy8ugZ&mv_pc=29039 [area href=scan search=| fi=products st=db ra=yes ml=25 tf=description to=x | ] I clicked the "test" link, and it seems to work like I want it to. QUESTIONS: How do I save it and make it work all the time? Do I need to paste the above code somewhere? WHAT I'VE TRIED: I have read the tutorial and have looked at most if not all of the content html changes to try to figure out where to apply the search code. I clicked "apply changes" and nothing seemed to happen. I also looked for somewhere to append this to the results.html and the left template and can't find how to save the search criteria. Any specific directions or resources to read up on this would be appreciated. I've looked over the resources at redhat (free ones) and also from my hosting company with no luck. thanks in advance, Tux MacAuley Aviation Activities Austin, TX From: interchange-users at interchange.redhat.com (Stephen McCullan) Date: Tue Sep 18 01:54:00 2001 Subject: [ic] Link problem - 404 Dear Users, I have recently installed 4.8.1 on openBSD 2.9. I have the same problem with this version on slackware linux. Once running makecat the link is created. However when accessing the link in the browser it gives a 404 error. Can any1 offer any suggestions as to what the problem may be? Regards, Steve From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Tue Sep 18 02:31:01 2001 Subject: [ic] Getting back to Interchange after a short stroll!! > You need to be creative about the three dots. As you may have noticed, my > answers are often incomplete or mere examples, so the exercise is up to > the reader :-; Hehe. Believe me, I've been very creative. But after several hours of getting the same result, well, the fun wears off!! First I thought that the problem was in the fact that this construct creates two mv_pc numbers, but whatever I do, I get an error in the error.log telling that there's a problem writing the route log. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 18 04:29:01 2001 Subject: [ic] setting search sorts - how to save what I build "Tux MacAuley" <tux@austin.rr.com> writes: > My searches are ending up with the items sorted in a non logical order (the > same order I entered them, as they are supposed to by default.) I am having > problems saving the search builder output: on the last/final page of the > search builder, I ended up with : > > Location: > http://mydomain.com/~aviation/cgi-bin/cart.cgi/admin/search_wizard.html?id=H > rmy8ugZ&mv_pc=29039 > > [area href=scan > search=| > fi=products > st=db > ra=yes > ml=25 > tf=description > to=x > | > ] > > I clicked the "test" link, and it seems to work like I want it to. > > QUESTIONS: How do I save it and make it work all the time? Do I need to > paste the above code somewhere? Yes. Do you use a form-based or in-page search on your site ? 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 (JT Justman) Date: Tue Sep 18 04:57:00 2001 Subject: [ic] Search on mail list > On Mon, 17 Sep 2001, Kaare Rasmussen wrote: > > > Thanks for the alert. That was caused by an OpenSSL update breaking > Python, of all things. It is working now. > > Jon I figured I'd just take this moment to point out that in many cases the mail list archive does not perform as I would expect. Once I was looking for a reply I recieved to a post some time ago, so I entered as the search spec the entire title "Multiple search criteria for advanced search" returns nothing when searched as a phrase, and nothing usefull when searched as any. Searching for more basic phrases (ie "advanced search") would not turn anything up. I concluded that the subject wasn't indexed, and copied some text from my original post: "specify multiple attributes". A little poking concluded that my post was not in the archive. A whole lot of paging back manually through the indexes showed the the message, and reply, were indeed posted to the list. My post can be found at http://ic.redhat.com/archive/interchange-users/2001/mail23.html at the top of the page, and the reply on the previous (next chronologically) page near the bottom. I can see no reason why neither of these messages are searchable. Many other searches for posts I recall having seen turn up blank. For example, one I have saved locally is titled "[ic] AOL 6 Users and Interchange" and I have been unable to find it with a search. The archives are our best documentation for Interchange and it's a shame that some posts are not accessable. Anyone else notice this? JT From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 07:40:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Thore Karlsen wrote: TK>>I did ask the question here before we went to him. We also asked Red Hat for TK>>help. (Paid support, of course.) I've asked multiple questions here, but the TK>>responses (if any) haven't been much help. Oftentimes other people ask about TK>>problems that we have experienced, but mostly they go unanswered. I've experienced the same thing, including unanswered questions to paid support. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 07:35 AM: HAL 9000: Dave. Put down those Windows disks, Dave. DAVE! ---------------------------------------------------------------- This Linux System has been up 57 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 07:58:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, IC-Admin wrote: I>>The would be the beginning of the end. It doesn't make sense. It's not the I>>responsibility of the developer to make sure, that the documentation gets I>>understood by everybody independent of their level of knowledge or I>>expertise. I>> I>>There is no science, where the scientist adapt to the level of I>>understanding of a highschool student, just to make sure everybody I>>can understand quantum physics. If a chemist develops a drug his I>>documentation for that drug will not be watered down to a level I>>a ninth grader can read it like a science fiction novel. I>> I>>Somewhere along the road you can understand, that it's up to you to I>>learn the tools you need. I wouldn't know any field where that wouldn't I>>be the same. And, if I was at the level of a high school student trying to understand quantum physics then the current situation would be a lot more understandable. I'm NOT at that level. I bought my first PC while Bill Gates was in the middle of developing MITS Basic, and I've been programming ever since. What has happened is that a programming language has been developed here for people to use which appears to be a way to use Perl to enhance HTML. This language uses the Interchange Tag Language. While a lengthy document has been written to explain this language, it is written at the quantum physics level. Just because I have been driving cars and trucks for centuries, am I supposed to be able to get into another form of transportation - a helicopter - and figure out how to fly it? I would expect to at least have an understandable manual that I could read that would teach me. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 07:40 AM: Sex is just a sublimation of the math urge. ---------------------------------------------------------------- This Linux System has been up 57 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:04:01 2001 Subject: [ic] Please help with pgp issue, please. On Mon, 17 Sep 2001, Rick Lord wrote: RL>>I am getting desperate here. My questions are going unanswered. I am answering this only because I sympathize with you and share your frustration. It may be totally wrong. RL>>I have set up two seperate sites using Interchange 4.6. One uses GPG for RL>>encryption the other does not encrypt the number at all. Both work fine. I am RL>>trying to set up a new server using Interchange 4.8. I would prefer to not RL>>use encryption since the order is sent locally. When I try to set that up I RL>>get NEED ENCRYPTION ENABLED where the CC number should be. If I can't get In my version of 4.6 in .../etc/report there is a line similar to this: Payment Method: [scratch payment] [if value payment_method eq credit] Account Number: [value mv_credit_card_info] Expiration: [value mv_credit_card_exp_month]/[value mv_credit_card_exp_year][/if] This sends the credit card info to me in the clear in the message that I fill orders from. If you have such a line in your 4.6, perhaps you can somehow jam this into a similar place in 4.8? (I've not started playing with 4.8 yet so this may be a left field answer) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:00 AM: My lucky color just faded. ---------------------------------------------------------------- This Linux System has been up 57 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:15:00 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Ian Riddler wrote: IR>>With all due respect, that's utter rubbish. IR>> IR>>You don't expect the people who drive cars to know how to build one from IR>>scratch. IR>>You don't expect the mechanics who fix them to understand the science behind IR>>them. IR>>Even in the assembly plants, the bulk of the workers are following IR>>blueprints, not understanding the science behind it. IR>> IR>>Your reasoning is flawed. Amongst the people who are trying to install IR>>interchange are long-term programmers and sys admins with a good IR>>understanding of the OS and programming. The solution you are giving is IR>>"Tough, I can understand it. If you can't, go elsewhere." IR>>That's not a solution, that's pure arrogance. Thank you! A part of the posters here are of the philosophy that Bill Gates can give the source code for Windows (pick a version, any version) to a senior programmer well experienced in C/C++ who has never seen any Windows version and they will have all of the documentation that they need to fully install and operate that version of Windows. Yes, it's true that it can be done. But, why? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:10 AM: Help beautify our dumps. Throw away something pretty. ---------------------------------------------------------------- This Linux System has been up 58 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:19:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, IC-Admin wrote: I>>> You don't expect the people who drive cars to know how to build one from I>>> scratch. You don't expect the mechanics who fix them to understand the I>>> science behind them. I>>> Even in the assembly plants, the bulk of the workers are following I>>> blueprints, not understanding the science behind it. I>>> I>> I>>Aaah, and the factory gives you the car for free ? Interesting retort! It has nothing to do with his postulation. I>>> As for paying money to redhat, there's no way I'm paying hard-earned money I>>> for broken code in the hope that one day it'll be fixed. I>> I>>I could imagine that Red Hat would also no way want to give their I>>hard-earned free time to a unhappy customer, who doesn't want to pay a I>>dime, in the hope they can make him happy. I interpret what he wrote as saying that if the code were not broken that he would pay for some help. It's just an interpretation, and may be wrong. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:15 AM: If money could talk, it would say goodbye. ---------------------------------------------------------------- This Linux System has been up 58 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:27:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, IC-Admin wrote: I>>I have some difficulties to understand why, under those circumstances, I>>you don't change to Red Hat 7.x to avoid the problems you describe for I>>good. Don't you think you had a higher change to get answers on this list, I>>if you used Red Hat ? Now THAT is ridulous! You want someone to change from a Ford to a Chevy because the sunroof doesn't fit well in the Ford! Experienced Linux Sysadmins do NOT change distributions (easily). They pick one, fall in love with it, and won't budge. I've been through most of the major distributions, including RH. I come back to Slackware. My mentor tries them all out. He keeps coming back to RH. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:20 AM: Spell chequers dew knot work write. ---------------------------------------------------------------- This Linux System has been up 58 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:34:00 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Ross Cousens wrote: RC>>So many messages over a trivial point, no ones about to be suddenly RC>>convinced to take a different view point on open source/commercial software, RC>>it's like being gay or straight, you're either born that way or you're not, RC>>or I guess you could argue it's a circumstance of environment, either way RC>>I'm sure my opinions on open source software were formed in the sandpit RC>>where I learnt to "share". So I'd like to take this opportunity to reiterate RC>>my previous question and ask what purpose does the "top" section serve in RC>>layout design, where is it defined etc.? I can't see where it actually comes RC>>out on the main page, or at the least could someone give me an idea as to RC>>what document to look in? As I have been told, "You have the source code. Figure it out for yourself." Look for a directory .../templates/regions. The areas are defined there. I have been able to successfully modify these. The best that I have been able to figure out, putting this at the top of your html page: [comment] ui_template: Yes ui_template_name: leftright [/comment] will invoke it. However, since it is within comment brackets, I don't understand why. It's not documented [sigh!] -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:30 AM: There must be more to life than compile-and-go. ---------------------------------------------------------------- This Linux System has been up 58 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:38:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, IC-Admin wrote: I>>I find that kind of ironic. Open source software is the only software, I>>which actually takes a lot of pride to share its "knowledge" by making I>>itself avaible by opening up its source code. The other alternative I>>is "closed" software. There NO KNOWLEDGE gets shared whatsoever. This is so TOTALLY wrong! Closed source, commercial programs like FoxPro, and many others, have support groups, news groups, user groups, all of whom are discussing the program, sharing knowledge and tricks as to getting more out of it. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:35 AM: Don't talk unless you can improve the silence. ---------------------------------------------------------------- This Linux System has been up 58 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 18 08:41:00 2001 Subject: [ic] Frustrated with IC 4.8 Jim Balcom <jim@idk-enterprises.com> writes: > On Tue, 18 Sep 2001, IC-Admin wrote: > > I>>I have some difficulties to understand why, under those circumstances, > I>>you don't change to Red Hat 7.x to avoid the problems you describe for > I>>good. Don't you think you had a higher change to get answers on this list, > I>>if you used Red Hat ? > > Now THAT is ridulous! > > You want someone to change from a Ford to a Chevy because the sunroof > doesn't fit well in the Ford! > > Experienced Linux Sysadmins do NOT change distributions (easily). They pick > one, fall in love with it, and won't budge. I've been through most of the > major distributions, including RH. I come back to Slackware. My mentor tries > them all out. He keeps coming back to RH. <IMHO> Besides that Redhat may recommend the RedHat distribution for using Interchange, it is no way required for using IC. There are enough efforts from Redhat to support other OS's/distributions. </IMHO> Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 08:42:24 2001 Subject: [ic] Link problem - 404 On Tue, 18 Sep 2001, Stephen McCullan wrote: SM>>I have recently installed 4.8.1 on openBSD 2.9. SM>>I have the same problem with this version on slackware linux. SM>> SM>>Once running makecat the link is created. However when accessing the link in SM>>the browser it gives a 404 error. Can any1 offer any suggestions as to what SM>>the problem may be? What URL is it trying to go to? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 08:40 AM: BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go! ---------------------------------------------------------------- This Linux System has been up 58 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 18 08:46:01 2001 Subject: [ic] Frustrated with IC 4.8 Quoting Jim Balcom (jim@idk-enterprises.com): > On Mon, 17 Sep 2001, Thore Karlsen wrote: > > TK>>I did ask the question here before we went to him. We also asked Red Hat for > TK>>help. (Paid support, of course.) I've asked multiple questions here, but the > TK>>responses (if any) haven't been much help. Oftentimes other people ask about > TK>>problems that we have experienced, but mostly they go unanswered. > > I've experienced the same thing, including unanswered questions to paid > support. If anyone runs into this, contact me directly with details and I will make sure it gets fixed. This should never happen. -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:03:00 2001 Subject: [ic] Frustrated with IC 4.8 Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > Jim Balcom <jim@idk-enterprises.com> writes: > > > On Tue, 18 Sep 2001, IC-Admin wrote: > > > > I>>I have some difficulties to understand why, under those circumstances, > > I>>you don't change to Red Hat 7.x to avoid the problems you describe for > > I>>good. Don't you think you had a higher change to get answers on this list, > > I>>if you used Red Hat ? > > > > Now THAT is ridulous! > > > > You want someone to change from a Ford to a Chevy because the sunroof > > doesn't fit well in the Ford! > > > > Experienced Linux Sysadmins do NOT change distributions (easily). They pick > > one, fall in love with it, and won't budge. I've been through most of the > > major distributions, including RH. I come back to Slackware. My mentor tries > > them all out. He keeps coming back to RH. > > <IMHO> > Besides that Redhat may recommend the RedHat distribution for using > Interchange, it is no way required for using IC. There are enough > efforts from Redhat to support other OS's/distributions. > </IMHO> I have developed Interchange on Linux from the beginning, but I have made many efforts to support all Unices, even attempts to support Mac and Windows. Someone posted about segfaults and core dumps -- those unfortunate occurrences really don't have anything to do with Interchange; it has no C code in it. That is a bad Perl port, usually. If a portability problem is posted to Bugzilla, we pursue it as we can. -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:09:01 2001 Subject: [ic] Quantity of 1 Item Only Quoting Dan Browning (db@cyclonehq.dnsalias.net): > At 11:19 AM 9/16/2001 -0700, you wrote: > >How do I display the quantity of only 1 item in the cart? > > > >This is an example of what I need if it worked: > > > >[value item-quantity 2002] > > > >(2002 is sku/code #.) > > > >(I'm using IC 4.6.5) > > > >Thanks, > > > >Sydney Urshan > >p.s. Please cc answer to urshan@nethollywood.net. > > There may be an easier answer forthcoming, but you could iterate through > the cart until you find the right sku, and then print the quantity, like so: > > [calc] > my $cart = $Carts->{main}; > my $this_sku = 0000001 > my $last_line_item = (@$cart - 1); > my $count = 0; > my $this_code; > foreach (@$cart){ > $this_code = $cart->[$count]{code}; > if ($this_code eq $this_sku){ > return $cart->[$count]{quantity}; > } > $count++; > } > return; > [/calc] The nitems tag does this in support of some pricing things: [nitems qualifier=code compare="^the_sku$"] where qualifier=attribute to check compare =regular expression This is even documented in ictags.... -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:10:00 2001 Subject: [ic] MS SQL as backend Quoting francisv@dagupan.com (francisv@dagupan.com): > Hi, > > Is there a HOWTO for using Microsoft SQL as backend for Interchange? I > already have a box running Interchange 4.8.1 and I need to connect the box > to the MS SQL server. > Not that I know of, at least not a current one. I do recall that someone posted a few years ago on it. If you can get Perl DBI talking to DBD::ODBC and thence to your MS-SQL server, then it will work with Interchange. But I wouldn't have the foggiest how to do that beyond obtaining some ODBC drivers and installing DBD::ODBC.... -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:12:00 2001 Subject: [ic] setting search sorts - how to save what I build Quoting Tux MacAuley (tux@austin.rr.com): > My searches are ending up with the items sorted in a non logical order (the > same order I entered them, as they are supposed to by default.) I am having > problems saving the search builder output: on the last/final page of the > search builder, I ended up with : > > Location: > http://mydomain.com/~aviation/cgi-bin/cart.cgi/admin/search_wizard.html?id=H > rmy8ugZ&mv_pc=29039 > > [area href=scan > search=| > fi=products > st=db > ra=yes > ml=25 > tf=description > to=x > | > ] > > I clicked the "test" link, and it seems to work like I want it to. > > QUESTIONS: How do I save it and make it work all the time? Do I need to > paste the above code somewhere? Yes, the portion contained inside search= needs to go in the page where it is to be applied. If you are talking about the category list search, it needs to go in the "custom search" section in layout design. -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:15:00 2001 Subject: [ic] custom shipping problem Quoting Scott Trunkhill (trunk@morris.com): > I am having problems trying to get a custom shipping setup to work. I > have a catalog where items in one category have a fixed shipping > price and everything else is charged for shipping based on the total > price of the remaining items. I have written usertags to calculate > the number of items that should be charged per item and have been > able to get that charged correctly added for shipping as long as the > person also orders an item which is charged by price. > > If the person only orders an item charged by price I get the following error. > > No match found for mode 'formula', quantity '', returning 0. > > Even though I know that the usertag tag is return the correct amount > of 0.00. Any idea why the quantity would be NULL? It would appear that your UserTag is returning '' for some reason. I would check the error log and see if it is generating an error.... -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:17:00 2001 Subject: [ic] problems when creating a theme. Quoting Eduardo Dominguez (edmz@yahoo.com): > > I read the parts of the manuals that pertained themes. Having > not found enough info i decided I could find out by myself. > I am using foundation as the base for my theme. > > This is what I have done: > - edited mv_metadata.asc, added option for my template > ("mytemplate=MyTemplate") > - created /var/www/html/mystore/images/mytemplate directory > - copied /var/lib/interchange/templates/foundation to mytemplate in > same dir > - edited catalog.cfg so that instead of pointing to default it points > to mytemplate > > Am i missing something ? Modyfing mv_metadata to add "mytemplate" seemed > a little hackish, i am worried this is not the way to do it and that I > am missing something. > > If I edit my theme.cfg (of mytemplate) and > change the background color for example, nothing happens. Do this > changes require a restart ? Sounds like too much for just changing > a background color. Yes, they require a reconfig ("apply changes" in the UI). Config files are only read at config time. You can set up those variables in the preferences / variable database and use "Pragma dynamic_variables", in which case they would be dynamic. -- 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 (Support) Date: Tue Sep 18 09:24:01 2001 Subject: [ic] [query] Question Hello everyone -- Here is a quick question... [query interpolate=1 sql="UPDATE CompanyInfo SET contactname='[value contactname]', company='[value company]'"][seti name="updated"]DONE.[/seti][/query] But, in the error.log (catalog) I get the following error message: [18/September/2001:08:54:43 -0400] webstore /cgi-bin/webstore/process.html SQL query failed for CompanyInfo: DBI tables must be updated natively. Any ideas? Running Interchange 4.8.1 - "AllowGlobal webstore" in the interchange.cfg file is already enabled for the catalog. MySQL database. Thanks, 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 09:24:08 2001 Subject: [ic] [how] products/categories.html, proposal (?) Quoting Eduardo Dominguez (edmz@yahoo.com): > > I cant use the normal Cat/Subcat via bar_link sub because the list > its pretty big. Reducing this list its just not possible. > > What I am trying to do is create a categories.html, so that I always > display categories on my left menu and when clicking on one I get > the subcats displayed on the main content area. > > Has anyone done something similar ? Isnt this functionality > common so that it justifies a categories.html ? Good point. If you look in the "barry" catalog skeleton, you will see that some categories went to a subcat page. I will look at producing a categories.html: -- with no argument, lists all prod_group/category in list -- with argument of prod_group, lists just categories in that prod_group -- 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 (Stefan Hornburg Racke) Date: Tue Sep 18 09:34:02 2001 Subject: [ic] [query] Question Support <support@korksoft.com> writes: > Hello everyone -- > > Here is a quick question... > > [query interpolate=1 sql="UPDATE CompanyInfo SET contactname='[value > contactname]', company='[value company]'"][seti > name="updated"]DONE.[/seti][/query] > > But, in the error.log (catalog) I get the following error message: > > [18/September/2001:08:54:43 -0400] webstore > /cgi-bin/webstore/process.html SQL query failed for CompanyInfo: DBI > tables must be updated natively. Usually you get this message if you add database columns without reconfiguring the catalog. > > Any ideas? Running Interchange 4.8.1 - "AllowGlobal webstore" in the > interchange.cfg file is already enabled for the catalog. MySQL > database. You don't need AllowGlobal for using SQL queries. Just install Safe::Hole. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (David Totten) Date: Tue Sep 18 09:39:01 2001 Subject: [ic] Search on mail list On Tue, Sep 18, 2001 at 01:56:45AM -0700, JT Justman wrote: > > On Mon, 17 Sep 2001, Kaare Rasmussen wrote: > > > > > > Thanks for the alert. That was caused by an OpenSSL update breaking > > Python, of all things. It is working now. > > > > Jon > > I figured I'd just take this moment to point out that in many cases the mail > list archive does not perform as I would expect. Once I was looking for a > reply I recieved to a post some time ago, so I entered as the search spec > the entire title "Multiple search criteria for advanced search" returns > nothing when searched as a phrase, and nothing usefull when searched as any. > Searching for more basic phrases (ie "advanced search") would not turn > anything up. I concluded that the subject wasn't indexed, and copied some > text from my original post: "specify multiple attributes". A little poking > concluded that my post was not in the archive. > > A whole lot of paging back manually through the indexes showed the the > message, and reply, were indeed posted to the list. My post can be found at > http://ic.redhat.com/archive/interchange-users/2001/mail23.html at the top > of the page, and the reply on the previous (next chronologically) page near > the bottom. I can see no reason why neither of these messages are > searchable. > > Many other searches for posts I recall having seen turn up blank. For > example, one I have saved locally is titled "[ic] AOL 6 Users and > Interchange" and I have been unable to find it with a search. I did a search for AOL 6 Users and Interchange from www.redhat.com and the message you were looking for was returned. Their search engine results are powered by google. Perhaps it would be easier if ic.redhat.com's search engine was powered by google as well? Dave Totten -- Start random buzzword text: Conversely, an enterprise java beans based solution affects a significant implementation of the anticipated fourth-generation equipment. From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Tue Sep 18 09:54:00 2001 Subject: [ic] custom shipping problem Nothing in the error log. Also I placed this tag int he checkout.html page to print out the value and it does return '0'. So I think that the UserTag is working correctly. >Quoting Scott Trunkhill (trunk@morris.com): >> I am having problems trying to get a custom shipping setup to work. I >> have a catalog where items in one category have a fixed shipping >> price and everything else is charged for shipping based on the total >> price of the remaining items. I have written usertags to calculate >> the number of items that should be charged per item and have been >> able to get that charged correctly added for shipping as long as the >> person also orders an item which is charged by price. >> >> If the person only orders an item charged by price I get the >>following error. >> >> No match found for mode 'formula', quantity '', returning 0. >> >> Even though I know that the usertag tag is return the correct amount >> of 0.00. Any idea why the quantity would be NULL? > >It would appear that your UserTag is returning '' for some >reason. I would check the error log and see if it is generating >an error.... > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >If you think nobody cares if you're alive, try missing a couple of >car payments. -- Earl Wilson >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- Scott Trunkhill 725 Broad St Product Research Specialist Augusta, GA 30901 Morris Communications (706) 823-3203 trunk@morris.com http://morris.com From: interchange-users at interchange.redhat.com (Øystein Thune) Date: Tue Sep 18 10:20:01 2001 Subject: [ic] Setting up shipmodes In Norway we are calculating shipping cost by weight AND geographical areas. We want to use the following scheme: AREA 0-1 kg 1-3 kg 3-5 kg 0000-3999 43 46 48 4000-7999 47 52 55 8000-9999 53 57 61 Area is based on zip (from-to) Does anyone have a suggestion of have we may set this up in Interchange? BTW: Thanks, Racke for solving my tax problem! From: interchange-users at interchange.redhat.com (Leon Harris) Date: Tue Sep 18 10:22:43 2001 Subject: [ic] MS SQL as backend Take a look at http://freshmeat.net/projects/odbcodbcbridge/ Cheers, Leon. mheins@redhat.com wrote: > Quoting francisv@dagupan.com (francisv@dagupan.com): > > Hi, > > > > Is there a HOWTO for using Microsoft SQL as backend for Interchange? I > > already have a box running Interchange 4.8.1 and I need to connect the box > > to the MS SQL server. > > > > Not that I know of, at least not a current one. I do recall that > someone posted a few years ago on it. > > If you can get Perl DBI talking to DBD::ODBC and thence to your > MS-SQL server, then it will work with Interchange. But I wouldn't > have the foggiest how to do that beyond obtaining some ODBC drivers > and installing DBD::ODBC.... > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > I don't want to get to the end of my life and find I have just > lived the length of it. I want to have lived the width of it as > well. -- Diane Ackerman > _______________________________________________ > interchange-users mailing list > interchange-users@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 Sep 18 10:24:01 2001 Subject: [ic] [query] Question what would happen if you were to rewrite the query to be something like below ? [sql type="set" base="CompanyInfo" interpolate="1"] UPDATE CompanyInfo SET contactname = '[value contactname]', company = '[value company]' [/sql] does it also return an error ? adam Support wrote: > > Hello everyone -- > > Here is a quick question... > > [query interpolate=1 sql="UPDATE CompanyInfo SET contactname='[value > contactname]', company='[value company]'"][seti > name="updated"]DONE.[/seti][/query] > > But, in the error.log (catalog) I get the following error message: > > [18/September/2001:08:54:43 -0400] webstore > /cgi-bin/webstore/process.html SQL query failed for CompanyInfo: DBI > tables must be updated natively. > > Any ideas? Running Interchange 4.8.1 - "AllowGlobal webstore" in the > interchange.cfg file is already enabled for the catalog. MySQL > database. > > Thanks, > > Jason Korkin > President > Korksoft LLC -- -- 110010100 -- From: interchange-users at interchange.redhat.com (Dave Jenkins) Date: Tue Sep 18 10:41:03 2001 Subject: RH IC PAID SUPPORT (WAS:[ic] Frustrated with IC 4.8) > > ---------- Forwarded message ---------- > Date: Tue, 18 Sep 2001 07:40:52 -0400 (EDT) > From: Jim Balcom <jim@idk-enterprises.com> > Reply-To: interchange-users@interchange.redhat.com > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Frustrated with IC 4.8 > > On Mon, 17 Sep 2001, Thore Karlsen wrote: > > TK>>I did ask the question here before we went to him. We also asked Red Hat for > TK>>help. (Paid support, of course.) I've asked multiple questions here, but the > TK>>responses (if any) haven't been much help. Oftentimes other people ask about > TK>>problems that we have experienced, but mostly they go unanswered. > > I've experienced the same thing, including unanswered questions to paid > support. > > -= Jim =- Without delving into the larger (and more ethereal) philosophical pinnings of Open Source, and for the sake of clarity, let me state the following: 1. My name is Dave Jenkins. I am a Project Manager for Red Hat Professional Services. It is my job to work with the sales team, prepare proposals for development work, and then oversee that development work as it is accomplished by our development team here. I also negotiate and accept technical support retainer agreements. 2. Red Hat has both 1) an Interchange Product Development team that maintains the core IC software, fixes bugs, and develops new features, and 2) a Professional Services team that accomplishes installs, customized development, system integration, and paid technical support for Interchange. These two teams eat lunch together, sit 20 feet from each other, and are well-coordinated on issues concerning support and configuration. 3. Red Hat will happily pursue paid technical support agreements with developers, design studios, and end-clients. Please accept my apology if this point has been clouded or the parameters not clearly explained. 4. Our process for paid technical support can work in one of two ways: a) A person can email with a one-time issue/problem. We would take their Credit Card and charge for 2 hours (@ $180/hour) for investigation and discovery. At the end of that two hours, we would know how long the problem will take to solve. Usually, if it's something simple and takes another 20 minutes, we'll have already solved it, or not charge for the next 20 minutes. Otherwise, I will call/email the client and tell them "This will take 10 hours to do" or "That kind of integration is possible, but it will take 20 hours to develop the code". At that point, I send off a short agreement, we sign the deal, and our developers proceed with the work. [we are handling several such projects right now] b) A developer or design studio or large client might anticipate a need for support on several issues over the long-term. In this case, it is better for our team and the client to sign a support retainer agreement for 10-50 hours/month @ $170/hour - 140/hour (the more you buy, the cheaper it gets). We then set up some sort of support schedule that allows the client to send in questions, and get a response the same or next day. The client can also have a weekly scheduled conference call with our team (upon prior request). I cannot begin to thank the community enough for their answers, dedicated support, and thoughtful insights to the program architecture as well as Open Source approaches. Yoroshiku, Dave From: interchange-users at interchange.redhat.com (Nestor Diaz) Date: Tue Sep 18 11:01:01 2001 Subject: [ic] [AGAIN] Attempt to set merchandising::times_ordered::os29000 in Hi ! i am trying to set the "other who bougth" funcionaility but when i click on the (Merchandising->Generate other who...) the pages shows everyting ok, however the error.log shows the following, i test it under my system and under the demo store at akopia, but the problem remains, it there any way to fix that? i test it under 4.6 and 4.8 with construct and foundation respectively and none of them work. Here is a snapshot of the problem: ---------------- http://demo.interchange.redhat.com/cgi-bin/ic3/admin/do_view.html?id=omIaCztq&mv_arg=error%2elog&mv_pc=410 216.72.218.173 omIaCztq:216.72.218.173 - [18/September/2001:10:55:08 -0400] ic3 /cgi-bin/ic3/admin/build_related.html Attempt to set merchandising::others_bought::os29000 in read-only table 216.72.218.173 omIaCztq:216.72.218.173 - [18/September/2001:10:55:08 -0400] ic3 /cgi-bin/ic3/admin/build_related.html Attempt to set merchandising::times_ordered::os29000 in read-only table ---------------- Thanks, -- nestor a. diaz ingeniero de desarrollo engendro.com - soluciones especializadas en linux mailto:nestor@engendro.com - call:voip.engendro.com http://www.engendro.com/Nosotros/Personal/Nestor On Tue, 18 Sep 2001 adam@opusvl.com wrote: > what would happen if you were to rewrite the > query to be something like below ? > > [sql type="set" base="CompanyInfo" interpolate="1"] > UPDATE CompanyInfo SET > contactname = '[value contactname]', > company = '[value company]' > [/sql] > > does it also return an error ? > > adam > > Support wrote: > > > > Hello everyone -- > > > > Here is a quick question... > > > > [query interpolate=1 sql="UPDATE CompanyInfo SET contactname='[value > > contactname]', company='[value company]'"][seti > > name="updated"]DONE.[/seti][/query] > > > > But, in the error.log (catalog) I get the following error message: > > > > [18/September/2001:08:54:43 -0400] webstore > > /cgi-bin/webstore/process.html SQL query failed for CompanyInfo: DBI > > tables must be updated natively. > > > > Any ideas? Running Interchange 4.8.1 - "AllowGlobal webstore" in the > > interchange.cfg file is already enabled for the catalog. MySQL > > database. > > > > Thanks, > > > > Jason Korkin > > President > > Korksoft LLC > > -- > -- 110010100 -- > _______________________________________________ > 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 Sep 18 11:15:00 2001 Subject: [ic] Profiles using Redhat 6.2 - IC 4.8.1 Having Trouble getting profiles to work I have moved the after.cfg to the etc directory it is allready setup to what I need But I think I am missing something in the pages to identify what profile the user falls under. does anyone have a an example page I can look at. Thanks From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Sep 18 11:16:25 2001 Subject: [ic] Adding fields using mysql I added a field to dbconf/mysql/userdb.mysql: Database userdb COLUMN_DEF "list TEXT NOT NULL" However, when I restart IC, the field is not added to the database. Under Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but not name. I'm lost on this one. I checked through the IC Docs/mail archives, but most of everything seems focused on products, not tables in general. TIA Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Donal H.) Date: Tue Sep 18 11:21:00 2001 Subject: [ic] Login/Logout - Bug or Feature? Hi, I don't know if this is a bug or if there's some reason why it's done this way..... The region files (LEFTONLY_TOP, LEFTRIGHT_TOP, NOLEFT_TOP) include the following piece of code: <a href="[area login]"> [if session logged_in] <img alt="Log Out" border="0" src="__THEME_IMG_DIR__logout.gif"></a> [else] <img alt="Log In" border="0" src="__THEME_IMG_DIR__login.gif"></a> [/else] [/if] Should the 'href's not use [area login] and [area logout] within the [if] [/if] as follows? [if session logged_in] <a href="[area logout]"> <img alt="Log Out" border="0" src="__THEME_IMG_DIR__logout.gif"></a> [else] <a href="[area login]"> <img alt="Log In" border="0" src="__THEME_IMG_DIR__login.gif"></a> [/else] [/if] Thanks, -Donal From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 18 11:29:01 2001 Subject: [ic] Adding fields using mysql "Zack Johnson" <zack@office.standardprinting.net> writes: > I added a field to dbconf/mysql/userdb.mysql: > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > However, when I restart IC, the field is not added to the database. Under > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but > not name. > > I'm lost on this one. I checked through the IC Docs/mail archives, but most > of everything seems focused on products, not tables in general. Hm, maybe IC considers these line only when the table doesn't already exist ? 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 (Ivette Mestre) Date: Tue Sep 18 11:31:03 2001 Subject: [ic] Please help with Authorize.net problem Hi there, I'm trying to configure authorizenet as the payment gateway, following the instructions on AuthorizeNet.pm. I looked on the list for similar problems but found nothing; also I'm pretty new to interchange and not familiar with the places to find the things. Here is what I have: - interchange version 4.8 - Net::SSLeay - "require"d module AuthorizeNet on interchange.cfg. ---- Variable table ---- AUTHNET_ID = testdriver AUTHNET_SECRET = AUTHNET_HOST = AUTHNET_REFERER = http://www.yourdomain.com/authorize.net AUTHNET_MODE = AUTHNET_SERVER = secure.authorize.net MV_PAYMENT_MODE authorizenet ---- We asked authorizenet for a testing account and they told us the id to use, but not pw or referer; have you had this problem??? I put the referer value after some example in the list. ---- ---- Catalog.cfg ---- Route authorizenet id "__AUTHNET_ID__" Route authorizenet secret "__AUTHNET_SECRET__" Route authorizenet host "__AUTHNET_HOST__" Route authorizenet referer "__AUTHNET_REFERER__" Route authorizenet test TRUE CreditCardAuto no After attempt the checkout using test card number 4111111111111111, I get this error: (authorizenet): Charge operation 'authorizenet' failed. I know that the configuration of the authorizenet variables might not be good, but seems to me that is not going that far. I hope you can help me with this. Thanks in advance, Ivette __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Sep 18 11:37:00 2001 Subject: [ic] Frustrated with IC 4.8 On Mon, 17 Sep 2001, Jim Balcom wrote: > NDO>> Also, READ the TAG REFERENCE in full, and > NDO>>all other documentation. I haven't done all the above, I am working on reading > NDO>>the reference guide, so far I think its written fairly decent. > > If you can understand that document, you are a far better person than I am. > > The last revision of the document was attempting to document what was > actually happening, and it was doing it in a manner that is hard to > understand. When things were found that were ridiculous the documenters > refused to go back to the programmers to fix it, but rather to simply > document it. Jim, I remember the occasion you're talking about. The "programmers" was me -- and your memory is bad. The snippet you gave had nothing to do with it. We were discussing this obscure, never-documented, never-used construct: <!--[sometag ...]--> and the parse routine for it. I decided it was better not to change something that would make only the tiniest theoretical improvement, on a tag syntax nobody uses, just to make the documentation a little simpler. Now to your sample snippet: > (snippet) > some code and stuff for the page > more stuff > [/comment] > more lines of stuff > [comment] > We are giving away money today > [/comment] > > Now, because there is a [/comment] on the page before [comment] the > [comment] is shut off immediately. To me, this is stupid behavior and needs > to be corrected. The Akopia employees writing the documentation chose to not > do anything about it. I don't know what you're talking about here. When I try that exact snippet, the only noteworthy effect is that a literal '[/comment]' is printed after 'more stuff', which is just what I'd expect when there was no opening [comment] tag to begin with. The real comment container below properly removes 'We are giving ...' from the output, as it should. So what would you like it to do? In any case, you have never mentioned it to me or any other developer, as far as I know. Jon From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Tue Sep 18 11:39:10 2001 Subject: [ic] [AGAIN] Attempt to set merchandising::times_ordered::os29000 in read-only table > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Nestor Diaz > Hi ! i am trying to set the "other who bougth" funcionaility but when i > click on the (Merchandising->Generate other who...) the pages shows > everyting ok, however the error.log shows the following, i test it under > my system and under the demo store at akopia, but the problem remains, it > there any way to fix that? i test it under 4.6 and 4.8 with construct and > foundation respectively and none of them work. Here is the solution per Mike a few weeks back: "We are missing [flag type=write table=merchandising] at the top of the page that generates it. Put that near the top of lib/UI/pages/admin/build_related.html and I am guessing it will work." I have verified this solution does fix the problem. Good luck, -Ron > > Here is a snapshot of the problem: > > ---------------- > > http://demo.interchange.redhat.com/cgi- > bin/ic3/admin/do_view.html?id=omIaCztq&mv_arg=error%2elog&mv_pc=410 > > 216.72.218.173 omIaCztq:216.72.218.173 - [18/September/2001:10:55:08 > -0400] ic3 /cgi-bin/ic3/admin/build_related.html Attempt to set > merchandising::others_bought::os29000 in read-only table > 216.72.218.173 omIaCztq:216.72.218.173 - [18/September/2001:10:55:08 > -0400] ic3 /cgi-bin/ic3/admin/build_related.html Attempt to set > merchandising::times_ordered::os29000 in read-only table > > ---------------- > > Thanks, > > -- > nestor a. diaz > ingeniero de desarrollo > engendro.com - soluciones especializadas en linux > mailto:nestor@engendro.com - call:voip.engendro.com > http://www.engendro.com/Nosotros/Personal/Nestor > > On Tue, 18 Sep 2001 adam@opusvl.com wrote: > > > what would happen if you were to rewrite the > > query to be something like below ? > > > > [sql type="set" base="CompanyInfo" interpolate="1"] > > UPDATE CompanyInfo SET > > contactname = '[value contactname]', > > company = '[value company]' > > [/sql] > > > > does it also return an error ? > > > > adam > > > > Support wrote: > > > > > > Hello everyone -- > > > > > > Here is a quick question... > > > > > > [query interpolate=1 sql="UPDATE CompanyInfo SET contactname='[value > > > contactname]', company='[value company]'"][seti > > > name="updated"]DONE.[/seti][/query] > > > > > > But, in the error.log (catalog) I get the following error message: > > > > > > [18/September/2001:08:54:43 -0400] webstore > > > /cgi-bin/webstore/process.html SQL query failed for CompanyInfo: DBI > > > tables must be updated natively. > > > > > > Any ideas? Running Interchange 4.8.1 - "AllowGlobal webstore" in the > > > interchange.cfg file is already enabled for the catalog. MySQL > > > database. > > > > > > Thanks, > > > > > > Jason Korkin > > > President > > > Korksoft LLC > > > > -- > > -- 110010100 -- > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Sep 18 11:45:01 2001 Subject: [ic] Adding fields using mysql On 18 Sep 2001, Stefan Hornburg (Racke) wrote: > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > I added a field to dbconf/mysql/userdb.mysql: > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > However, when I restart IC, the field is not added to the database. Under > > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but > > not name. > > > > I'm lost on this one. I checked through the IC Docs/mail archives, but most > > of everything seems focused on products, not tables in general. > > Hm, maybe IC considers these line only when the table doesn't already > exist ? Those definitions are only used to create the database, so you need to remove the userdb.sql file and restart Interchange. Of course make sure you export your old data before you let IC drop the existing userdb! Jon From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Sep 18 11:48:00 2001 Subject: [ic] Adding fields using mysql > > I added a field to dbconf/mysql/userdb.mysql: > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > However, when I restart IC, the field is not added to the > database. Under > > Admin > table information > userdb, 'list' comes up under > COLUMN_DEF, but > > not name. > > > > I'm lost on this one. I checked through the IC Docs/mail > archives, but most > > of everything seems focused on products, not tables in general. > > Hm, maybe IC considers these line only when the table doesn't already > exist ? Yes, that's why. That is, if you were to delete the userdb.sql file and restart ic, the MySQL table would be dropped and recreated, using the _userdb.txt_ structure, but the field definitions from the userdb.mysql file. So, either create the field directly in mysql and restart ic (and then maybe export the table to the txt file to get the structure), or alter the strucure in userdb.txt, delete the userdb.sql file and restart ic. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Sep 18 11:59:01 2001 Subject: [ic] Adding fields using mysql Good thought. I dropped the table, but IC did not re-create it. Good think it's an empty cat :) I'm not sure I understand well enough how IC works with RDMS's. I was under the impression that IC consults each catalog's /dbconf/<dbtype>/<table>.<dbtype> every time it starts. Tables/fields not existing would then be automatically added per the <table>.<dbtype> specification. For example: 1. Reads "userdb.mysql" < Database userdb COLUMN_DEF "list TEXT NOT NULL" (EOL) 2. Connects to database. 3. Show userdb. If successful, move on. If not, CREATE TABLE USERDB. . . 4. Describe userdb. If "list" exists, move on. If not, ALTER TABLE USERDB ADD list TEXT NOT NULL. >From what could gleen from other posts, simply editing the .mysql for that table would do the trick upon restart. Am I mistaken? TIA! Zack PS> I can successfully add fields my using mysql client, or phpmyadmin, and then adding the appropriate mv_metadata entry. However, I would like to maintain the table defs in case I need to rebuild the cat, or want to use this cat as a template for others. ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 18, 2001 11:28 AM Subject: Re: [ic] Adding fields using mysql > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > I added a field to dbconf/mysql/userdb.mysql: > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > However, when I restart IC, the field is not added to the database. Under > > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but > > not name. > > > > I'm lost on this one. I checked through the IC Docs/mail archives, but most > > of everything seems focused on products, not tables in general. > > Hm, maybe IC considers these line only when the table doesn't already > exist ? > > 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 (Zack Johnson) Date: Tue Sep 18 12:07:00 2001 Subject: [ic] Adding fields using mysql Jon, I 'rm user*' in the products directory and restarted. IC did not re-create the table at all. In detail, I: 1. dropped the table 'userdb' 2. edited 'dbconf/mysql/userdb.mysql' 3. cd'ed to products 4. rm user* -f 5. /etc/rc.d/init.d/interchange restart 6. mysql > show tables; No 'userdb'. Did I miss a step? Thanks! Zack ----- Original Message ----- From: "Jon Jensen" <jon@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 18, 2001 11:44 AM Subject: Re: [ic] Adding fields using mysql > On 18 Sep 2001, Stefan Hornburg (Racke) wrote: > > > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > > > I added a field to dbconf/mysql/userdb.mysql: > > > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > > > However, when I restart IC, the field is not added to the database. Under > > > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but > > > not name. > > > > > > I'm lost on this one. I checked through the IC Docs/mail archives, but most > > > of everything seems focused on products, not tables in general. > > > > Hm, maybe IC considers these line only when the table doesn't already > > exist ? > > Those definitions are only used to create the database, so you need to > remove the userdb.sql file and restart Interchange. Of course make sure > you export your old data before you let IC drop the existing userdb! > > Jon > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 18 12:10:00 2001 Subject: [ic] order_view.html Hi, I'm modifying order_view.html to add some field from the transaction table. I have just a little problem i want to test a var for doing something like this : [if value toto =~ /handling/i] [L]handling[/L] [/if] it works but i need to do the same thing with a loop data one and i tried this : [if-loop-data transactions toto] =~/handling/i] [L]handling[/L] [/if-loop-data] But doesn't work :( NB : i can see the toto column in the knar table editor. Thanks for helping. From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 18 12:19:00 2001 Subject: [ic] Adding fields using mysql put a userde.txt file in the <catroot>/products directory and remove the file userdb.sql. Then restart IC and it'll create the table as definied in the userdb.txt. I hope it can help. ----- Original Message ----- From: "Zack Johnson" <zack@office.standardprinting.net> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 18, 2001 6:10 PM Subject: Re: [ic] Adding fields using mysql > Jon, > > I 'rm user*' in the products directory and restarted. IC did not re-create > the table at all. In detail, I: > > 1. dropped the table 'userdb' > 2. edited 'dbconf/mysql/userdb.mysql' > 3. cd'ed to products > 4. rm user* -f > 5. /etc/rc.d/init.d/interchange restart > 6. mysql > show tables; > > No 'userdb'. > > Did I miss a step? > > Thanks! > > Zack > ----- Original Message ----- > From: "Jon Jensen" <jon@redhat.com> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, September 18, 2001 11:44 AM > Subject: Re: [ic] Adding fields using mysql > > > > On 18 Sep 2001, Stefan Hornburg (Racke) wrote: > > > > > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > > > > > I added a field to dbconf/mysql/userdb.mysql: > > > > > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > > > > > However, when I restart IC, the field is not added to the database. > Under > > > > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, > but > > > > not name. > > > > > > > > I'm lost on this one. I checked through the IC Docs/mail archives, > but most > > > > of everything seems focused on products, not tables in general. > > > > > > Hm, maybe IC considers these line only when the table doesn't already > > > exist ? > > > > Those definitions are only used to create the database, so you need to > > remove the userdb.sql file and restart Interchange. Of course make sure > > you export your old data before you let IC drop the existing userdb! > > > > Jon > > > > _______________________________________________ > > 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 (Kaare Rasmussen) Date: Tue Sep 18 12:35:00 2001 Subject: [ic] Frustrated with IC 4.8 > People always complain about things but usually don't do anything to help > out with things. If you don't like the docs or find a fault with them, then I don't think this is true. A lot of people likes to help if they can, but there are a lot of things that can hold them back. If people are annoyed with something, they won't help. If it is unnecessary difficult, they won't help. These are reasons that can be helped. Lack of knowledge is of course one big issue. You have to know a great deal about the system to be able to help with most of the questions asked here. Sometimes you need to know a lot of things just to know if you're dealing with an error, og it is you yourself that can't find the solution. Lack of time is another. Even if people might have the skills to do code in Perl, write a new order routine or whatever, most people with these skills are already very busy. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Sep 18 12:44:00 2001 Subject: [ic] Adding fields using mysql I tried that one too. Didn't work either. I ended up dumping the userdb from another cat and recreated it that way. Just dropped and restarted. Again, IC did not create userdb. Wierd. Zack ----- Original Message ----- From: "David Bordas" <bordas@jeuxvideo.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 18, 2001 12:20 PM Subject: Re: [ic] Adding fields using mysql > put a userde.txt file in the <catroot>/products directory and remove the > file userdb.sql. > Then restart IC and it'll create the table as definied in the userdb.txt. > > > I hope it can help. > ----- Original Message ----- > From: "Zack Johnson" <zack@office.standardprinting.net> > To: <interchange-users@interchange.redhat.com> > Sent: Tuesday, September 18, 2001 6:10 PM > Subject: Re: [ic] Adding fields using mysql > > > > Jon, > > > > I 'rm user*' in the products directory and restarted. IC did not > re-create > > the table at all. In detail, I: > > > > 1. dropped the table 'userdb' > > 2. edited 'dbconf/mysql/userdb.mysql' > > 3. cd'ed to products > > 4. rm user* -f > > 5. /etc/rc.d/init.d/interchange restart > > 6. mysql > show tables; > > > > No 'userdb'. > > > > Did I miss a step? > > > > Thanks! > > > > Zack > > ----- Original Message ----- > > From: "Jon Jensen" <jon@redhat.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Tuesday, September 18, 2001 11:44 AM > > Subject: Re: [ic] Adding fields using mysql > > > > > > > On 18 Sep 2001, Stefan Hornburg (Racke) wrote: > > > > > > > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > > > > > > > I added a field to dbconf/mysql/userdb.mysql: > > > > > > > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > > > > > > > However, when I restart IC, the field is not added to the database. > > Under > > > > > Admin > table information > userdb, 'list' comes up under > COLUMN_DEF, > > but > > > > > not name. > > > > > > > > > > I'm lost on this one. I checked through the IC Docs/mail archives, > > but most > > > > > of everything seems focused on products, not tables in general. > > > > > > > > Hm, maybe IC considers these line only when the table doesn't already > > > > exist ? > > > > > > Those definitions are only used to create the database, so you need to > > > remove the userdb.sql file and restart Interchange. Of course make sure > > > you export your old data before you let IC drop the existing userdb! > > > > > > Jon > > > > > > _______________________________________________ > > > 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 (Kaare Rasmussen) Date: Tue Sep 18 12:46:00 2001 Subject: [ic] Frustrated with IC 4.8 > I started this thread out of frustration of trying to understand why a > great program with great features had to be so difficult to learn and use. I think you still have to see it as a work in progress. It's only about one year ago (isn't it?) that what was Minivend was merged with Akopia, where the former provided all the powerfull page tags and the latter had the prettier user interface. Since then Redhat bought the shop, and I imagine that the people working on the project has devoted their effort to integrate the two products and push it forward as fast as possible at the same time. This leads to poorly documented features (and features that are not documented at all), but it is a sign of lacking resources, not missing interest, I believe. I hope that in the future, there will be a more coherent documentation. In fact, looking at developer.akopia.com, I think it is improving. Slowly, but still improving. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 18 12:58:00 2001 Subject: [ic] Adding fields using mysql Quoting David Bordas (bordas@jeuxvideo.com): > put a userde.txt file in the <catroot>/products directory and remove the > file userdb.sql. > Then restart IC and it'll create the table as definied in the userdb.txt. > > > I hope it can help. I wouldn't do this for userdb. That is typically a dynamic file which you can't export then import again (unless you take access to the catalog link program offline while you do any changes). Normally, the method is to use a sql command: mysql> alter table userdb add column somenewcol varchar(255); Then restart Interchange and it will pick up the column. -- 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 (Jon Jensen) Date: Tue Sep 18 13:10:01 2001 Subject: [ic] Adding fields using mysql On Tue, 18 Sep 2001, Zack Johnson wrote: > I 'rm user*' in the products directory and restarted. IC did not re-create > the table at all. In detail, I: > > 1. dropped the table 'userdb' > 2. edited 'dbconf/mysql/userdb.mysql' > 3. cd'ed to products > 4. rm user* -f > 5. /etc/rc.d/init.d/interchange restart > 6. mysql > show tables; > > No 'userdb'. You have to have userdb.txt, even if it's just the first line with the field names. Jon From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Sep 18 13:27:01 2001 Subject: [ic] Adding fields using mysql At 05:28 PM 09/18/2001 +0200, you wrote: >"Zack Johnson" <zack@office.standardprinting.net> writes: > > > I added a field to dbconf/mysql/userdb.mysql: > > > > Database userdb COLUMN_DEF "list TEXT NOT NULL" > > > > However, when I restart IC, the field is not added to the database. Under > > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but > > not name. > > > > I'm lost on this one. I checked through the IC Docs/mail archives, but > most > > of everything seems focused on products, not tables in general. > >Hm, maybe IC considers these line only when the table doesn't already >exist ? > >Ciao > Racke > This is my procedure for adding columns to tables when using MySQL: 1. Export the table in question via the UI. 2. Add the additional column(s) to the resulting tablename.txt file. For a single column I usually do this in a shell session by inserting an extra tab at the end of each row (in the products directory): perl -i -p -e 's/\n/\t\n/g' tablename.txt ...then I edit the file, typing the new column name at the end of the first (header) row. 3. Delete the tablename.sql file. 4. edit CATROOT/dbconf/mysql/tablename.mysql, adding the new column definition. BTW - be careful with text editors that automatically create backup copies of files - delete any backup copies that appear in this directory! 5. Reconfigure the catalog (or restart IC, either will do the job). - 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 Sep 18 13:44:01 2001 Subject: [ic] Adding fields using mysql At 10:25 AM 09/18/2001 -0700, you wrote: >At 05:28 PM 09/18/2001 +0200, you wrote: >>"Zack Johnson" <zack@office.standardprinting.net> writes: >> >> > I added a field to dbconf/mysql/userdb.mysql: >> > >> > Database userdb COLUMN_DEF "list TEXT NOT NULL" >> > >> > However, when I restart IC, the field is not added to the database. Under >> > Admin > table information > userdb, 'list' comes up under COLUMN_DEF, but >> > not name. >> > >> > I'm lost on this one. I checked through the IC Docs/mail archives, >> but most >> > of everything seems focused on products, not tables in general. >> >>Hm, maybe IC considers these line only when the table doesn't already >>exist ? >> >>Ciao >> Racke > >This is my procedure for adding columns to tables when using MySQL: > >1. Export the table in question via the UI. > >2. Add the additional column(s) to the resulting tablename.txt file. For >a single column I usually do this in a shell session by inserting an extra >tab at the end of each row (in the products directory): > >perl -i -p -e 's/\n/\t\n/g' tablename.txt > >...then I edit the file, typing the new column name at the end of the >first (header) row. > >3. Delete the tablename.sql file. > >4. edit CATROOT/dbconf/mysql/tablename.mysql, adding the new column >definition. BTW - be careful with text editors that automatically create >backup copies of files - delete any backup copies that appear in this >directory! > >5. Reconfigure the catalog (or restart IC, either will do the job). ... and as Mike H. pointed out, if you are working on a live catalog, you would want to take it offline to do it this 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 (Ed LaFrance) Date: Tue Sep 18 13:53:00 2001 Subject: [ic] Please help with pgp issue, please. At 07:48 PM 09/17/2001 -0700, you wrote: >I am getting desperate here. My questions are going unanswered. >I have set up two seperate sites using Interchange 4.6. One uses GPG for >encryption the other does not encrypt the number at all. Both work fine. I am >trying to set up a new server using Interchange 4.8. I would prefer to not >use encryption since the order is sent locally. When I try to set that up I >get NEED ENCRYPTION ENABLED where the CC number should be. If I can't get >that working I will use gpg, but when I try to set it up with gpg that space >is blank. I have searched through the e-mails and found other people who have >had the same problems, but no answers. >At the very least could somebody tell me exactly what to put in the Encryptor >fields? I am a little confused about what goes where. >Thanks. I'm not sure where you went wrong here. I set up IC 4.8.1 and the foundation demo and it works right out of the gate, even before running the setup wizard in the UI. What I get on the emailed order report is not 'NEED ENCRYPTION ENABLED' but rather a partial card number and expiration date, like: visa 41**1111 03/03 You might want to run makecat and setup a fresh test catalog, then place a test order and see what you get. The whole issue of raw credit card numbers being stored on a web-accessible server has been debated numerous times on this list. RH has positioned themselves firmly against it; others are more ambiguous. It is easy enough to capture the raw credit card number and place it in another variable with a line in the order profile if you are determined to do it, but you are assuming a huge liability, in my opinion. I hope this message does not start another monster thread like "Frustrated with IC 4.8" - please! The list can only take so much. :0) - 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 (Jon Jensen) Date: Tue Sep 18 14:19:01 2001 Subject: [ic] Interchange Webcast invitation Dear Interchangers, Red Hat invites you to attend a Webcast on Thursday, September 27, 2001 from 2:00-3:00 Eastern time (1800-1900 UTC). Red Hat Software Architect Mike Heins and Senior Director of Engineering David Adams will lead a technically-focused discussion on Red Hat Interchange, the world's most widely adopted open source e-commerce platform. Mike and David are the creators of the Interchange platform and continue to actively lead the open source community that contributes to its enhancement. With information presented in this briefing, you will be better informed about how, from a technical standpoint, Interchange is the best and most effective open source e-commerce application available today. Specifically, you will learn more about: * Rapid development based on standard databases, protocols, and templates * Interchange extensibility via standard libraries * Robust, widely-used, proven server implementation * Scalable to the enterprise level To register for the briefing, click here: http://rsp.rgc2.net/servlet/website/ResponseForm?koEC-VA.2693LIJHlm-7dsplm Interchange: The Developer's View Agenda: - Interchange's value in business-critical environments (10 min.) David Adams - UserTag and the Interchange Object Model (10 min.) Mike Heins - Using IPC with SOAP (10 min.) Mike Heins - Questions & Answers (30 min.) Jon From: interchange-users at interchange.redhat.com (Raymond Kirby) Date: Tue Sep 18 14:23:00 2001 Subject: [ic] Please help with pgp issue, please. Don't know if this will work but I hate being ignored also. check you catalog.cfg for these lines Route main <<EOF attach 0 credit_card 0 default 1 email '__ORDERS_TO__' encrypt 0 errors_to '__ORDERS_TO__' pgp_cc_key "__PGP_KEY__" pgp_key "__PGP_KEY__" receipt etc/receipt.html report etc/report supplant 1 individual_track orders track logs/tracking.asc EOF Set Credit_card and encrypt to 0 I settled for just having the credit card encrypted set Credit_card to 1 for that if you want the order and the (credit card will be encrypted twice) set credit card and encrypt to 1 Good Luck Ed LaFrance wrote: > At 07:48 PM 09/17/2001 -0700, you wrote: > >I am getting desperate here. My questions are going unanswered. > >I have set up two seperate sites using Interchange 4.6. One uses GPG for > >encryption the other does not encrypt the number at all. Both work fine. I am > >trying to set up a new server using Interchange 4.8. I would prefer to not > >use encryption since the order is sent locally. When I try to set that up I > >get NEED ENCRYPTION ENABLED where the CC number should be. If I can't get > >that working I will use gpg, but when I try to set it up with gpg that space > >is blank. I have searched through the e-mails and found other people who have > >had the same problems, but no answers. > >At the very least could somebody tell me exactly what to put in the Encryptor > >fields? I am a little confused about what goes where. > >Thanks. > > I'm not sure where you went wrong here. I set up IC 4.8.1 and the > foundation demo and it works right out of the gate, even before running the > setup wizard in the UI. What I get on the emailed order report is not > 'NEED ENCRYPTION ENABLED' but rather a partial card number and expiration > date, like: > > visa 41**1111 03/03 > > You might want to run makecat and setup a fresh test catalog, then place a > test order and see what you get. > > The whole issue of raw credit card numbers being stored on a web-accessible > server has been debated numerous times on this list. RH has positioned > themselves firmly against it; others are more ambiguous. It is easy enough > to capture the raw credit card number and place it in another variable with > a line in the order profile if you are determined to do it, but you are > assuming a huge liability, in my opinion. > > I hope this message does not start another monster thread like "Frustrated > with IC 4.8" - please! The list can only take so much. :0) > > - 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 14:42:00 2001 Subject: [ic] Please help with pgp issue, please. Quoting Ed LaFrance (edl@newmediaems.com): > The whole issue of raw credit card numbers being stored on a web-accessible > server has been debated numerous times on this list. RH has positioned > themselves firmly against it; others are more ambiguous. (Please note that the below is my personal opinion. I don't want to start Yet Another Credit Card Security Thread.) So firmly against it that I simply will not help people store unencrypted credit card numbers on their disk. If a person can't figure out how to do it, I find it highly unlikely that they can secure the rest of their system against a crack. I consider myself to be fairly good at this stuff, and I wouldn't try it. That is proven -- you can ask any client of mine who tried to get me to do it. I simply won't, even if I am offered a lot of money. Putting credit card numbers in a mail spool, particularly attached to an order with billing address and expiriation date, I find to be the height of lunacy. I know some would disagree, but I simply won't help enable that behavior. Others can if they wish, but please tell me which stores it is on -- I certainly will never shop there. Though that is probably an empty gesture -- I am guessing there are thousands of stores out there which are cavalier with my personal info and credit card information. All I know is that I won't be cavalier with others' info. Please just use the encryption. It is easy to configure modern mail clients for PGP, and you typically only have to input the pass phrase once per session. GPG is available free of charge, and client PGP is free or available at very low cost. -- 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 (Ivette Mestre) Date: Tue Sep 18 15:34:00 2001 Subject: [ic] Please help with Authorize.net problem Fixed the problem. Thanks to Jud Harris for the instructions. Ivette --- Ivette Mestre <ivtmesic@yahoo.com> wrote: > Hi there, > I'm trying to configure authorizenet as the payment > gateway, following the instructions on > AuthorizeNet.pm. I looked on the list for similar > problems but found nothing; also I'm pretty new to > interchange and not familiar with the places to find > the things. > > Here is what I have: > - interchange version 4.8 > - Net::SSLeay > - "require"d module AuthorizeNet on interchange.cfg. > > ---- Variable table ---- > AUTHNET_ID = testdriver > AUTHNET_SECRET = > AUTHNET_HOST = > AUTHNET_REFERER = > http://www.yourdomain.com/authorize.net > AUTHNET_MODE = > AUTHNET_SERVER = secure.authorize.net > > MV_PAYMENT_MODE authorizenet > > ---- > We asked authorizenet for a testing account and they > told us the id to use, but not pw or referer; have > you > had this problem??? I put the referer value after > some > example in the list. > ---- > > ---- Catalog.cfg ---- > Route authorizenet id "__AUTHNET_ID__" > Route authorizenet secret > "__AUTHNET_SECRET__" > Route authorizenet host "__AUTHNET_HOST__" > Route authorizenet referer > "__AUTHNET_REFERER__" > Route authorizenet test TRUE > > CreditCardAuto no > > > After attempt the checkout using test card number > 4111111111111111, I get this error: > > (authorizenet): Charge operation 'authorizenet' > failed. > > I know that the configuration of the authorizenet > variables might not be good, but seems to me that is > not going that far. > I hope you can help me with this. Thanks in advance, > Ivette > > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Sep 18 16:17:01 2001 Subject: [ic] How the tables work I realize this is a rather large request, but would somebody care to explain how the IC table structure works? I seems that IC treats certain tables differently than others under an RDbMS. For example, adding columns to 'products' works differently than to 'userdb'. Furthermore, why does 'products' allow you to change dbconf/<dbtype>/products.<dbtype> and restart to add the column, but 'userdb' does not? Finally, what is the procedure for adding new tables altogether so that they may be integrated into the admin UI? Thanks to all! Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Sep 18 16:29:01 2001 Subject: [ic] Interchange Webcast invitation > Dear Interchangers, > > Red Hat invites you to attend a Webcast on Thursday, September 27, 2001 > from 2:00-3:00 Eastern time (1800-1900 UTC). Hi Jon, Sorry to ask this dumb question, but could you describe what a "webcast" is? Is it a live video stream where you can ask questions via a web form, or is it something else? Regards, Rene ps. Could you give the time in GMT? I have no clue what a UTC time is... From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Sep 18 16:42:00 2001 Subject: [ic] Frustrated with IC 4.8 At 09:47 PM 9/17/2001 -0400, you wrote: >On Tue, Sep 18, 2001 at 02:55:57AM +0200, Stefan Hornburg (Racke) wrote: > > "Sturgisrally.net" <corey@sturgisrally.net> writes: > > > > > There are a few problems with charging for this mailing list ... > > > > Forget this. Charging is definitely a bad idea and it won't work > > for sure. But IC/RedHat should be definitely more creative in > > lining up resources from the IC developers around the world. > > >I hate to hear one of my pet ideas shot down. I'd not charge for this >list either, but I would pay for a moderated "best of" list **version** >of this list. The money goes to moderator for maintaining FAQ, sending >FAQ to common questions, killing bad threads and spam, etc... All posts >go to vanilla list, those subscribing to "best of" would get a human >moderated version, only a handful of posts per day. Ahhhhh that's the >ticket! Thank you CFM, You saved me from having to say it. I agree with Racke in that I am not in favor of a mandatory fee, though participants may be encouraged to donate. But "interchange-users-distilled" would be fine if there are actually enough users to subscribe, though I wouldn't be interested, personally. As far as the documentation, ease of use, etc., I think IC is doing much better than when I started little over a year ago. But my problem is that there are tons of people whining and moaning and carrying on about the documentation without being inspired to do anything productive about it. It's like the people who say "XYZ is so buggy", but don't submit any sort of bug report or detailed description. In my opinion, the hardest and most time-consuming part of fixing a bug is the case studies and background research, not the coding itself. Might I encourage everyone to put more effort into it, instead of talking about it? Some may feel documentation isn't their bag, but everyone can help with *something*. Others may feel they don't have time to help, but if Mike Heins can make the time then I think that each of us should be able to find some time to contribute at our own level. Besides, if the documentation/ease of use is actually so horrible, shouldn't it be easy to provide detailed explanations of what is missing/needed? Some ways that we can help are: 1. Try to do XYZ. 2. Struggled with XYZ and list help, documentation. 3. Probably solved it, but maybe not. 4. Improve docs any of the following ways: 4a. write documentation yourself about how to get through XYZ 4b. post your rough notes to the list and ask for a volunteer (or RH) to integrate them into the documentation. 4c. Write a case study about why XYZ needs to be better documented. 4d. Write detailed explanation why you could not do XYZ, and how everything you tried in the documentation did not help. Once detailed descriptions, case studies, user experiences, etc. are written then it only becomes a task of "who is going to write the docs to fix our very well-described problems?" At that point, I hope volunteers will be inclined to step forward as technical writers (even amateurs). At the very least, it lets Red Hat know what some feel is lacking in a specific way. It really is quite easy to make changes, too. If anyone really feels inspired to help with docs I wouldn't mind hand-holding people through explanation of Interchange's SDF document format and how to use diff and e-mail patches. At any rate, I'm proud to be a part of this project (as are we all). A nice day to all, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Guido Sohne) Date: Tue Sep 18 16:55:01 2001 Subject: [ic] HOWTO: minimum and batch quantities I've recently implemented batch and minimum quantities for an Interchange store. There may be others who one day could need to implement this same functionality. Here's how I did it ... Definitions: minimum quantity is the least number of items for a given sku than can be ordered. batch quantity always exactly divides the number of items (above the minimum quantity) that must be ordered at once Step One: Change your products database to include two extra fields: min_qty and batch_qty For a SQL database, you can use this: ALTER TABLE PRODUCTS ADD COLUMN min_qty VARCHAR(4); ALTER TABLE PRODUCTS ADD COLUMN batch_qty VARCHAR(4); Step Two: In your shopping cart page (usually ord/basket.html or similar file), add a [batch] tag before the [item-list] tag. If you would like to display a message to the user of the catalog when quantities have to be adjusted to meet the minimum and batch quantity requirement, then include the code below in your shopping cart page at the location you want the message to appear. [perl]$Items->[[item-increment]-1]->{message}[/perl] Step Three: Edit your catalog.cfg and add the code below to it. You may want to customize the message that will be displayed when quantities are adjusted by [batch] UserTag batch Routine <<EOR sub { foreach my $index (0 .. $#$Vend::Items) { my $code = $Vend::Items->[$index]{code}; my $oqty = $Vend::Items->[$index]{quantity}; my $base = $Vend::Items->[$index]{mv_ib}; my $nqty = $oqty; my $batches = undef; my $min = Vend::Data::database_field($base, $code, "min_qty", undef); my $batch = Vend::Data::database_field($base, $code, "batch_qty", undef); $batch = 1 if $batch <= 1; $min = 1 if $min <= 1; $nqty = 0 if $nqty <= $min; $nqty = $nqty - $min if $nqty > $min; $batches = int($nqty / $batch); $nqty = $min + $batches * $batch; my $message = <<EOM; <br> <p style="font-size: 10px"> You must order at least $min items. </p> <p style="font-size: 10px"> Additional items must ordered in multiples of $batch. </p> EOM $Vend::Items->[$index]{quantity} = $nqty; $Vend::Items->[$index]{message} = $message if $oqty != $nqty; $Vend::Items->[$index]{message} = "" if $oqty == $nqty; }} EOR Voila!!!! Minimum and batch quantities. Shaken, not stirred. __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Ivette Mestre) Date: Tue Sep 18 17:07:00 2001 Subject: [ic] mode Error Message when interchange server starts Hi, Every time I restart the server (version 4.8), I get the following error message: "mode" is not defined in %Fnctl::EXPORT_TAGS at /usr/local/interchange/bin/interchange line 2716 I saw a similar posting (Walid Shaari, did you find something?) but no answer to that in the list. Please advise. Thanks Ivette __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Tue Sep 18 17:10:00 2001 Subject: [ic] Please help with pgp issue, please. On Tue, 18 Sep 2001 mheins@redhat.com wrote: > Quoting Ed LaFrance (edl@newmediaems.com): > > The whole issue of raw credit card numbers being stored on a web-accessible > > server has been debated numerous times on this list. RH has positioned > > themselves firmly against it; others are more ambiguous. > (Please note that the below is my personal opinion. I don't want to > > much deleted... > > Please just use the encryption. It is easy to configure modern mail > clients for PGP, and you typically only have to input the pass phrase > once per session. GPG is available free of charge, and client PGP is > free or available at very low cost. I agree about the use of encryption, but I am a real dunce getting it to work with IC 4.8.1 and the foundation demo. Every order I get with 4.8.1 based on the foundation demo has the phrase NEED ENCRYPTION ENABLED encrypted. I save the attachment and decrypt it and I get that wonderful message. In 4.6.5 I used this below. ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r gerberb@zenez.com 2>encrypt.error Payment How should these variables really be set to use gnupg. I have tried almost every combination I can think of. It probably is very simple and I am making it very complex. For example I think these variables need to be set. PAYGATE pgp PAYGATE gpg PAYGATE /usr/local/bin/gpg -e -a -q --batch --no-tty --always-trust -r gerberb@zenez.com 2>encrypt.error Payment PGP PGP pgp PGP gpg PGP gpg Encryption PGP /usr/local/bin/gpg PGP gpg Payment, PGP /usr/local/bin/gpg Payment PGP_KEY the_public_key_generated_with_gnupg PGP_KEY username@domain.com_in_the_gnupg_public_key Encryption PGP_KEY the_public_key_generated_with_gnupg Encryption PGP_KEY the_public_key_generated_with_gnupg Payment PGP_KEY location_of_public_gnupg_key In the UI --------------------------------------------------- /usr/local/gerberb/.gnupg/gerberbpublic.gpg or /usr/local/gerberb/.gnupg/gerberb.pub --------------------------------------------------- putting in the public key. and every other combination I could think of. /usr/local/interchange/.gnupg/pubring.gpg . thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Sep 18 17:11:55 2001 Subject: [ic] Select box with external table lookup in UI Hi all - 4.6.5 and 4.8.1: Just curious if anyone has been able to set up a select box widget in the UI, so that it contains a list of unique values from an external database? For instance, setting up the category selector for Items so that is displays every unique entry in the cat table (currently is simply lists unique choices from the category column of the products table). I have not been able to get it to work with any combination of simple settings in the meta editor; It appears something more elaborate may be needed. - 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 (Jon Jensen) Date: Tue Sep 18 17:14:00 2001 Subject: [ic] HOWTO: minimum and batch quantities On Tue, 18 Sep 2001, Guido Sohne wrote: > I've recently implemented batch and minimum quantities for > an Interchange store. There may be others who one day could > need to implement this same functionality. Very cool! Jon From: interchange-users at interchange.redhat.com (Scott Carter) Date: Tue Sep 18 17:21:01 2001 Subject: [ic] Undefined catalog I've got ic up and running and foundation up and running. When I attempt to make a new catalog, everything loads and runs fine, but when I attempt to access anything past the first page (customer interface or admin interface) I get an error: "Undefined catalog: /cgi-bin/test6 I've tried catalogs in both the default database and PostgreSQL... same error... Any ideas??? Scott Carter From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 18 17:30:01 2001 Subject: [ic] Please help with pgp issue, please. Quoting Boyd Lynn Gerber (gerberb@zenez.com): > On Tue, 18 Sep 2001 mheins@redhat.com wrote: > > Quoting Ed LaFrance (edl@newmediaems.com): > > > The whole issue of raw credit card numbers being stored on a web-accessible > > > server has been debated numerous times on this list. RH has positioned > > > themselves firmly against it; others are more ambiguous. > > (Please note that the below is my personal opinion. I don't want to > > > > much deleted... > > > > Please just use the encryption. It is easy to configure modern mail > > clients for PGP, and you typically only have to input the pass phrase > > once per session. GPG is available free of charge, and client PGP is > > free or available at very low cost. > > I agree about the use of encryption, but I am a real dunce getting it to > work with IC 4.8.1 and the foundation demo. Every order I get with 4.8.1 > based on the foundation demo has the phrase NEED ENCRYPTION ENABLED > encrypted. I save the attachment and decrypt it and I get that wonderful > message. In 4.6.5 I used this below. > > ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty > --always-trust -r gerberb@zenez.com 2>encrypt.error Payment > > How should these variables really be set to use gnupg. I have tried > almost every combination I can think of. It probably is very simple and I > am making it very complex. > In 4.8, it should be simple. Remove all references to ENCRYPTOR in your routes (ala the example catalog.cfg in foundation) and then put: EncryptProgram /usr/local/bin/gpg EncryptKey gerberb@zenez.com If gpg is in your PATH, then you don't even need the reference to EncryptProgram. Interchange looks for GPG first, then PGPE (the PGP 5.x/4.x version) and then for pgp 2.62. At that point, all encryption attempts on that catalog should be encrypted to your key. If you want to change that for one specific route, you just set the "encrypt_key" for that route to the one you want to encrypt against. This should be in the WHATSNEW and the upgrade document -- I am doing some docs work so I will put it on my list. -- 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 (Moe Pitman) Date: Tue Sep 18 17:35:01 2001 Subject: [ic] Please help with Authorize.net problem Great, but I was hoping to see the solution, too. Care to share with the rest of us? Thanks, --Moe Pitman Ivette Mestre wrote: > Fixed the problem. > Thanks to Jud Harris for the instructions. > > Ivette > > --- Ivette Mestre <ivtmesic@yahoo.com> wrote: > > Hi there, > > I'm trying to configure authorizenet as the payment > > gateway, following the instructions on > > AuthorizeNet.pm. I looked on the list for similar > > problems but found nothing; also I'm pretty new to > > interchange and not familiar with the places to find > > the things. > > > > Here is what I have: > > - interchange version 4.8 > > - Net::SSLeay > > - "require"d module AuthorizeNet on interchange.cfg. > > > > ---- Variable table ---- > > AUTHNET_ID = testdriver > > AUTHNET_SECRET = > > AUTHNET_HOST = > > AUTHNET_REFERER = > > http://www.yourdomain.com/authorize.net > > AUTHNET_MODE = > > AUTHNET_SERVER = secure.authorize.net > > > > MV_PAYMENT_MODE authorizenet > > > > ---- > > We asked authorizenet for a testing account and they > > told us the id to use, but not pw or referer; have > > you > > had this problem??? I put the referer value after > > some > > example in the list. > > ---- > > > > ---- Catalog.cfg ---- > > Route authorizenet id "__AUTHNET_ID__" > > Route authorizenet secret > > "__AUTHNET_SECRET__" > > Route authorizenet host "__AUTHNET_HOST__" > > Route authorizenet referer > > "__AUTHNET_REFERER__" > > Route authorizenet test TRUE > > > > CreditCardAuto no > > > > > > After attempt the checkout using test card number > > 4111111111111111, I get this error: > > > > (authorizenet): Charge operation 'authorizenet' > > failed. > > > > I know that the configuration of the authorizenet > > variables might not be good, but seems to me that is > > not going that far. > > I hope you can help me with this. Thanks in advance, > > Ivette > > > > > > __________________________________________________ > > Terrorist Attacks on U.S. - How can you help? > > Donate cash, emergency relief information > > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Sep 18 17:49:01 2001 Subject: [ic] Please help with pgp issue, please. > > message. In 4.6.5 I used this below. > > > > ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty > > --always-trust -r gerberb@zenez.com 2>encrypt.error Payment > > [snip] > In 4.8, it should be simple. Remove all references to ENCRYPTOR > in your routes (ala the example catalog.cfg in foundation) and > then put: > > EncryptProgram /usr/local/bin/gpg > EncryptKey gerberb@zenez.com > I suspect that in your case you will also need to use gpg to sign the key if you are having to use --always-trust. This is in order to avoid gpg issuing a warning and asking if its ok to proceed - which may cause ic to stall. I would be surprised if ic set this parameter by default. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Sep 18 17:59:00 2001 Subject: [ic] [AGAIN] Attempt to set merchandising::times_ordered::os29000 On Tue, 18 Sep 2001, Nestor Diaz wrote: ND>>Hi ! i am trying to set the "other who bougth" funcionaility but when i ND>>click on the (Merchandising->Generate other who...) the pages shows ND>>everyting ok, however the error.log shows the following, i test it under ND>>my system and under the demo store at akopia, but the problem remains, it ND>>there any way to fix that? i test it under 4.6 and 4.8 with construct and ND>>foundation respectively and none of them work. I had that problem a while back and Mike gave me a patch that fixed part of it. I was not able to get a complete fix and errors still appeared in the log. I posted a follow up question to fix the rest of it and got no response. I ended up going in and fabricating my own data. Or, for the paint brushes, 'others who bought' also bought scrapers, sandpaper, and brush cleaner. (This sure increased the sales of stuff that wasn't selling! (-: ) Use te to change it. The syntax is a bit tricky for this data base. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 17:55 PM: System halted. There is NOTHING you can do. ---------------------------------------------------------------- This Linux System has been up 67 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 18 18:07:00 2001 Subject: [ic] Select box with external table lookup in UI Ed LaFrance <edl@newmediaems.com> writes: > Hi all - > > 4.6.5 and 4.8.1: Just curious if anyone has been able to set up a select > box widget in the UI, so that it contains a list of unique values from an > external database? For instance, setting up the category selector for > Items so that is displays every unique entry in the cat table (currently is > simply lists unique choices from the category column of the products table). > > I have not been able to get it to work with any combination of simple > settings in the meta editor; It appears something more elaborate may be needed. What do you mean with external database ? It is no problem to fill the select box with values from another table. 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 (John Cherbini) Date: Tue Sep 18 18:08:05 2001 Subject: [ic] Undefined catalog This is a relatively common problem, and can be better understood by doing a "tail -f" on the error log while starting IC. It will give you a much better idea of why the catalog cannot be loaded. For me, it's usually been a problem with the DB's or the initial config paths. On RH, restart IC with /etc/rc.d/init.d/interchange restart Hope this helps. JC On Tuesday 18 September 2001 14:27, Scott Carter wrote: > I've got ic up and running and foundation up and running. When I attempt to > make a new catalog, everything loads and runs fine, but when I attempt to > access anything past the first page (customer interface or admin interface) > I get an error: "Undefined catalog: /cgi-bin/test6 > > I've tried catalogs in both the default database and PostgreSQL... same > error... > > Any ideas??? > Scott Carter > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 18 18:10:01 2001 Subject: [ic] Frustrated with IC 4.8 IC-Admin <interchange@my-school.com> writes: > On 18 Sep 2001, Stefan Hornburg (Racke) wrote: > > > "Sturgisrally.net" <corey@sturgisrally.net> writes: > > > > > There are a few problems with charging for this mailing list ... > > > > Forget this. Charging is definitely a bad idea and it won't work > > for sure. But IC/RedHat should be definitely more creative in > > lining up resources from the IC developers around the world. > > > > Ciao > > Racke > > > > > > Big words. Can you share your creative ideas in that regards ? Not yet. I have some ideas I'll pursue. I need just some time to think them over. 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: Tue Sep 18 18:11:21 2001 Subject: [ic] mode Error Message when interchange server starts Ivette Mestre <ivtmesic@yahoo.com> writes: > Hi, > Every time I restart the server (version 4.8), I get > the following error message: > > "mode" is not defined in %Fnctl::EXPORT_TAGS at > /usr/local/interchange/bin/interchange line 2716 > > I saw a similar posting (Walid Shaari, did you find > something?) but no answer to that in the list. Can be completely ignored. If you don't like it, upgrade your Perl installation to 5.6.x. 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: Tue Sep 18 18:12:19 2001 Subject: [ic] Require in Global UserTag mheins@redhat.com writes: > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > Thanks, Mike, this was really a time-saver. > > > > But I suggest to change the distributed tags accordingly. > > There is IMHO no advantage for this check within > > the sub. > > > > All of the distributed tags work in the way they were intended. > The ones that do the require at runtime do it that way because: > > 1. Every time you "use" a module, it adds to core size. > 2. It works fine if you call it in ITL, just not if > called in embedded Perl. > > ALl that needs be done is just to move the require above the > sub if you want to be able to call it with $Tag->tagname(). Yes, (1) got my attraction. (2) is just bad doc's :-) 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: Tue Sep 18 18:17:01 2001 Subject: Add a Note (was: Re: [ic] Frustrated with IC 4.8) Dan Browning <db@cyclonehq.dnsalias.net> writes: [...] > > Once detailed descriptions, case studies, user experiences, etc. are > written then it only becomes a task of "who is going to write the docs to > fix our very well-described problems?" At that point, I hope volunteers > will be inclined to step forward as technical writers (even amateurs). At > the very least, it lets Red Hat know what some feel is lacking in a > specific way. > > It really is quite easy to make changes, too. If anyone really feels > inspired to help with docs I wouldn't mind hand-holding people through > explanation of Interchange's SDF document format and how to use diff and > e-mail patches. It would be nice to fix the "Add a Note" feature of the developer's website as it is quite broken if you like to add examples. This could help a lot. Any volunteers ? 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 (Jim Balcom) Date: Tue Sep 18 18:20:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Jon Jensen wrote: JJ>>Jim, I remember the occasion you're talking about. The "programmers" was JJ>>me -- and your memory is bad. The snippet you gave had nothing to do with JJ>>it. We were discussing this obscure, never-documented, never-used JJ>>construct: JJ>> JJ>><!--[sometag ...]--> JJ>> JJ>>and the parse routine for it. I decided it was better not to change JJ>>something that would make only the tiniest theoretical improvement, on a JJ>>tag syntax nobody uses, just to make the documentation a little simpler. Nope! While my reference was slightly off-target, your memory is also bad. Here is a piece of a message near the end of our discussion: ---------------------- > What I propose it to read is: > > 'While '<!--[' and '[' are interchangeable, the Interchange parser does > not replace ']-->' with ']' unless it sees '<!--[' previously on the > page.' (Change 'elsewhere' to 'previously') I see what you mean, but it's not actually correct. The code looks to see if <!--[ appears *anywhere* on the page, before replacing each ]--> and <!--[, regardless of whether they're in pairs or not. Whether this is the best way in the world to do this or not, Bill was making the docs state how the code actually works. I'll change it to say: ... unless it also sees '<!--[' at least once somewhere on the page. ------------------------ I couldn't interpret this at the time that we were discussing it, and I can't interpret it now, other than the fact that what appears on the page has an excellent opportunity to be vastly different than expected. JJ>> JJ>>Now to your sample snippet: JJ>> JJ>>> (snippet) JJ>>> some code and stuff for the page JJ>>> more stuff JJ>>> [/comment] JJ>>> more lines of stuff JJ>>> [comment] JJ>>> We are giving away money today JJ>>> [/comment] JJ>>> JJ>>> Now, because there is a [/comment] on the page before [comment] the JJ>>> [comment] is shut off immediately. To me, this is stupid behavior and needs JJ>>> to be corrected. The Akopia employees writing the documentation chose to not JJ>>> do anything about it. JJ>> JJ>>I don't know what you're talking about here. When I try that exact JJ>>snippet, the only noteworthy effect is that a literal '[/comment]' is JJ>>printed after 'more stuff', which is just what I'd expect when there was JJ>>no opening [comment] tag to begin with. The real comment container below JJ>>properly removes 'We are giving ...' from the output, as it should. I miswrote this. It needs to be used in conjunction with '<!--[' in order for this to happen. Otherwise, it's correct. JJ>>So what would you like it to do? In any case, you have never mentioned it JJ>>to me or any other developer, as far as I know. The quote above is what you wrote to me. I consider that it was reported and you told me that it wasn't going to be changed. What would I like it to do?? I would like it to need to see an opener followed by a closer and to ignore what falls in between, rather than to accept a closer followed by an opener and ignoring who knows what? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, September 18, 2001 at 18:10 PM: The best way to keep friends is not to give them away. ---------------------------------------------------------------- This Linux System has been up 68 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Tom C) Date: Tue Sep 18 18:33:01 2001 Subject: [ic] how to: buy so many, get one free Hello. Can anyone tell me with Interchange 4.8.1, how do you configure it so that if you buy a certain number of certain items then you get one free? Thanks in advance!!! -Tom From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Sep 18 18:44:00 2001 Subject: [ic] Select box with external table lookup in UI At 12:06 AM 09/19/2001 +0200, you wrote: >Ed LaFrance <edl@newmediaems.com> writes: > > > Hi all - > > > > 4.6.5 and 4.8.1: Just curious if anyone has been able to set up a select > > box widget in the UI, so that it contains a list of unique values from an > > external database? For instance, setting up the category selector for > > Items so that is displays every unique entry in the cat table > (currently is > > simply lists unique choices from the category column of the products > table). > > > > I have not been able to get it to work with any combination of simple > > settings in the meta editor; It appears something more elaborate may be > needed. > >What do you mean with external database ? It is no problem to fill the >select box with values from another table. Sorry, I meant external *table*, bad habit. If I set the meta data as follows: widget type -> select box lookup table -> external_tablename field for lookup -> fieldname in external table (also tried external_tablename::fieldname and external_tablename:fieldname, and others...) No width, height, options or filters All I get is a plain text field, it does not even create the select widget. I must be misunderstanding the way to set the options for what I want - can you provide specific examples? Thanks, 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 (JT Justman) Date: Tue Sep 18 19:16:00 2001 Subject: [ic] Search on mail list From: "David Totten" <akopia@davetotten.com> > I did a search for AOL 6 Users and Interchange from www.redhat.com and the > message you were looking for was returned. Their search engine results are > powered by google. Perhaps it would be easier if ic.redhat.com's search engine > was powered by google as well? Indeed. The messages I refered to can be located via the Google search on the RH homepage but not the search on the IC page or the "search archive" link. In the future I will use the google search, but perhaps since it works best we should eliminate the others? JT From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Tue Sep 18 19:35:01 2001 Subject: [ic] Credit Card Authorisation/Processing What other options are there with the credit card besides automated payment services and an e-mail sent to a local user. Is it possible to get Interchange to store the credit card number in the customer profile so that it can be remembered/kept on file, and is it possible to display the credit card number in the order process section of the administration interface, or even in a report that would be printed off with a list of 'waiting for credit check' orders and the corresponding credit card # and items ordered. Any documents that have a section focused on credit card handling routines etc? Thanks, Ross Cousens P.S. I realise this is a "security risk", but we have a few other methods we plan to implement to keep the credit card info secured. From: interchange-users at interchange.redhat.com (Stephen McCullan) Date: Tue Sep 18 20:15:00 2001 Subject: [ic] Undefined catalog (Server.pm line 182) Dear all, I would like to ask your assistance in a persistant problem I cannot solve with my latest install of 4.8.1 onto openBSD2.9. I continually get a 404 when accessing the link program. CGI mapping error Undefined catalog /cgi-bin/foneshop/foneshop at /home/steve/interchange/lib/Vend/server.pm line 182. I do not know whether this is a perms issue. Interchange was installed & runs as user steve. The catalog was created as user steve. And of course http user is www. Other CGI scripts run fine in the same directory, so it must be a prob with the link program pointers or permissions. Your assistance is apprectiated. http://foneshop.net/cgi-bin/foneshop/foneshop/index.html ^^^^^^^^^ ^^^^^^^ Subdir vlink Cheers, Steve McCullan From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 18 20:16:24 2001 Subject: [ic] Credit Card Authorisation/Processing On Wed, Sep 19, 2001 at 09:35:01AM +1000, Ross Cousens wrote: > > What other options are there with the credit card besides automated payment > services and an e-mail sent to a local user. Is it possible to get > Interchange to store the credit card number in the customer profile so that > it can be remembered/kept on file, and is it possible to display the credit > card number in the order process section of the administration interface, or > even in a report that would be printed off with a list of 'waiting for > credit check' orders and the corresponding credit card # and items ordered. > Any documents that have a section focused on credit card handling routines > etc? > > Thanks, > Ross Cousens > > P.S. I realise this is a "security risk", but we have a few other methods we > plan to implement to keep the credit card info secured. > Continuing the thread of BIG RED WARNINGS: Perhaps we need a BIG RED WARNING on the outside of the IC box that YES, you can modify the code and yes you can do pretty much anything you want. And yes, if you have to ask how to shoot yourself you might not get too much help, particularly if you already know its a risk. ;^> And getting from "yes you can do it" to "done" is a different matter.... Oh, I forgot... no box on which to put the warning label. -- 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 Lord) Date: Tue Sep 18 20:33:00 2001 Subject: [ic] Please help with pgp issue, please. Thank you so much. It now works and you guys convinced me to use encryption. Thanks again. > In 4.8, it should be simple. Remove all references to ENCRYPTOR > in your routes (ala the example catalog.cfg in foundation) and > then put: > > EncryptProgram /usr/local/bin/gpg > EncryptKey gerberb@zenez.com > > If gpg is in your PATH, then you don't even need the reference > to EncryptProgram. Interchange looks for GPG first, then PGPE (the > PGP 5.x/4.x version) and then for pgp 2.62. > > At that point, all encryption attempts on that catalog should > be encrypted to your key. If you want to change that for one > specific route, you just set the "encrypt_key" for that route > to the one you want to encrypt against. > > This should be in the WHATSNEW and the upgrade document -- I am > doing some docs work so I will put it on my list. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Sep 18 20:50:00 2001 Subject: [ic] Credit Card Authorisation/Processing At 09:35 AM 9/19/2001 +1000, you wrote: >What other options are there with the credit card besides automated payment >services and an e-mail sent to a local user. Is it possible to get >Interchange to store the credit card number in the customer profile so that >it can be remembered/kept on file, and is it possible to display the credit >card number in the order process section of the administration interface, or >even in a report that would be printed off with a list of 'waiting for >credit check' orders and the corresponding credit card # and items ordered. >Any documents that have a section focused on credit card handling routines >etc? > >Thanks, >Ross Cousens > >P.S. I realise this is a "security risk", but we have a few other methods we >plan to implement to keep the credit card info secured. Yes, it is possible. In fact, I'll prevent a different point of view here in that I think it can even be done in a *secure* (although inconvenient) way. I think Russ Mann went down that road a while back in a thread "CC Info in UserDB". The problem that many site with storing CC numbers is this: * Store encrypted credit card numbers on server (not plaintext, which is brain-damaged) * In order to use payment gateway, you have to have private key file on server to decrypt * A hacker comes in and steals your encrypted cc numbers: that's bad enough (brute force, etc.) * A hacker comes in and steals your encrypted cc numbers AND your private key file: now they only have to crack your private-key passphrase or your ssh-agent Therefore, the only secure solution is to do off-line cc processing. That is where the encrypted cc number is e-mailed *once* to your secure location which can handle the decryption, and only identifying information is used on the server again (first 2 / last 4 digits of cc number) for customers to select their card, and for the secure location to know which card to use when processing. So when you do off-line processing I think it's a great thing from a marketing standpoint. Any dissenters out there? I'm wondering right now if I already missed some loopholes through that method as well, anyone see some? Of course, how one handles a "secure location" to receive e-mails is a whole 'nuther can of worms. I would love to do it for my clients, so I'm interested in how it goes for you and your finished source code -- even if you end up storing the encrypted cc numbers and private key on your server. I'm not sure if Russ Mann ever got everything working like he wanted or not, but maybe he will weigh in. Oh, and, make sure you put on your asbestos suit for asking that question. :-) HTH, HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Tue Sep 18 21:00:01 2001 Subject: [ic] Credit Card Authorisation/Processing I realise the inherent security risk involved but we don't have time to co-ordinate between printed e-mail messages and order reports. Our goal was always to setup IC with a postgresql database (done), use ODBC with Access/SQL Server to connect to postgresql database, process orders locally, reconnect to update orders - or the other option is a web interface written in either PHP or the ITL tag language (obviously one would be better suited to it -- ITL) specifically for order processing. I'm not 100% sure if it's possible but it seems feasible, so we'd like the credit card stored in a database environment where we'd be able to pull the information from. As the company expands our plans are should we see it as a security risk, then of course we would move towards a PGP-encrypted option or something similar. I know that in profiles.order I can change credit_card to keep, with standard encryption (to check it's a valid number). I'm just curious if it would be done easily to add another field to the Users table to store credit card info, and then show that up in the order processing part of the admin interface. Regards, Ross Cousens P.S. If I'm totally off track please feel free to sink my submarine, I'm just trying to get an idea here! -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of cfm@maine.com Sent: Wednesday, 19 September 2001 10:15 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Credit Card Authorisation/Processing On Wed, Sep 19, 2001 at 09:35:01AM +1000, Ross Cousens wrote: > > What other options are there with the credit card besides automated payment > services and an e-mail sent to a local user. Is it possible to get > Interchange to store the credit card number in the customer profile so that > it can be remembered/kept on file, and is it possible to display the credit > card number in the order process section of the administration interface, or > even in a report that would be printed off with a list of 'waiting for > credit check' orders and the corresponding credit card # and items ordered. > Any documents that have a section focused on credit card handling routines > etc? > > Thanks, > Ross Cousens > > P.S. I realise this is a "security risk", but we have a few other methods we > plan to implement to keep the credit card info secured. > Continuing the thread of BIG RED WARNINGS: Perhaps we need a BIG RED WARNING on the outside of the IC box that YES, you can modify the code and yes you can do pretty much anything you want. And yes, if you have to ask how to shoot yourself you might not get too much help, particularly if you already know its a risk. ;^> And getting from "yes you can do it" to "done" is a different matter.... Oh, I forgot... no box on which to put the warning label. -- 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 (Boyd Lynn Gerber) Date: Tue Sep 18 21:13:01 2001 Subject: [ic] Please help with pgp issue, please. On Tue, 18 Sep 2001, Rick Lord wrote: > Thank you so much. > It now works and you guys convinced me to use encryption. > Thanks again. > > In 4.8, it should be simple. Remove all references to ENCRYPTOR > > in your routes (ala the example catalog.cfg in foundation) and > > then put: > > > > EncryptProgram /usr/local/bin/gpg > > EncryptKey gerberb@zenez.com > > > > If gpg is in your PATH, then you don't even need the reference > > to EncryptProgram. Interchange looks for GPG first, then PGPE (the > > PGP 5.x/4.x version) and then for pgp 2.62. > > > > At that point, all encryption attempts on that catalog should > > be encrypted to your key. If you want to change that for one > > specific route, you just set the "encrypt_key" for that route > > to the one you want to encrypt against. > > > > This should be in the WHATSNEW and the upgrade document -- I am > > doing some docs work so I will put it on my list. Thanks, I too now have it working. -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 18 21:37:00 2001 Subject: [ic] Select box with external table lookup in UI Quoting Ed LaFrance (edl@newmediaems.com): > At 12:06 AM 09/19/2001 +0200, you wrote: > >Ed LaFrance <edl@newmediaems.com> writes: > > > > > Hi all - > > > > > > 4.6.5 and 4.8.1: Just curious if anyone has been able to set up a select > > > box widget in the UI, so that it contains a list of unique values from an > > > external database? For instance, setting up the category selector for > > > Items so that is displays every unique entry in the cat table > > (currently is > > > simply lists unique choices from the category column of the products > > table). > > > > > > I have not been able to get it to work with any combination of simple > > > settings in the meta editor; It appears something more elaborate may be > > needed. > > > >What do you mean with external database ? It is no problem to fill the > >select box with values from another table. > > Sorry, I meant external *table*, bad habit. If I set the meta data as follows: > > widget type -> select box > lookup table -> external_tablename > field for lookup -> fieldname in external table That is correct. To verify, check the table itself (with Jon's te editor or a spreadsheet: code:table::column db:external_tablename lookup:field type:select I have used this many times, so I know it works. -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 21:39:00 2001 Subject: [ic] Please help with pgp issue, please. Quoting Jonathan Clark (jonc@webmaint.com): > > > message. In 4.6.5 I used this below. > > > > > > ENCRYPTOR /usr/local/bin/gpg -e -a -q --batch --no-tty > > > --always-trust -r gerberb@zenez.com 2>encrypt.error Payment > > > > [snip] > > > In 4.8, it should be simple. Remove all references to ENCRYPTOR > > in your routes (ala the example catalog.cfg in foundation) and > > then put: > > > > EncryptProgram /usr/local/bin/gpg > > EncryptKey gerberb@zenez.com > > > > I suspect that in your case you will also need to use gpg to sign the key if > you are having to use --always-trust. This is in order to avoid gpg issuing > a warning and asking if its ok to proceed - which may cause ic to stall. > > I would be surprised if ic set this parameter by default. Be surprised. I find the trust system to be pretty ridiculous, myself, in an application where a human is not involved. Anyone could sign it if the system is cracked. 8-) -- 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 (interchange-users at interchange.redhat.com) Date: Tue Sep 18 21:50:01 2001 Subject: [ic] Interchange Webcast invitation Quoting Rene Hertell (rene@hertell.com): > > Dear Interchangers, > > > > Red Hat invites you to attend a Webcast on Thursday, September 27, 2001 > > from 2:00-3:00 Eastern time (1800-1900 UTC). > > Hi Jon, > > Sorry to ask this dumb question, but could you describe what a "webcast" is? > Is it a live video stream where you can ask questions via a web form, or is > it something else? > It is a conference call with visuals via the web. No streaming video, just scripted web pages and slides. Audio is via a toll-free callin number. Questions are indeed via a web form.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 18 21:50:17 2001 Subject: [ic] HOWTO: minimum and batch quantities Quoting Jon Jensen (jon@redhat.com): > On Tue, 18 Sep 2001, Guido Sohne wrote: > > > I've recently implemented batch and minimum quantities for > > an Interchange store. There may be others who one day could > > need to implement this same functionality. > > Very cool! I added this to the pub/interchange/contrib section on the FTP site, assuming that is OK. After all, the email message will be archived on Google. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Sep 18 23:45:01 2001 Subject: [ic] Frustrated with IC 4.8 On Tue, 18 Sep 2001, Jim Balcom wrote: > Nope! While my reference was slightly off-target, your memory is also bad. I remember this distinctly, Jim. I believe both the docs and the code are fine in this instance. It's embarrassing to even be discussing this kind of minutiae that will never affect anyone. But here I am doing it anyway. :) > Here is a piece of a message near the end of our discussion: > ---------------------- > > > What I propose it to read is: > > > > > > 'While '<!--[' and '[' are interchangeable, the Interchange parser does > > > not replace ']-->' with ']' unless it sees '<!--[' previously on the > > > page.' (Change 'elsewhere' to 'previously') > > > > I see what you mean, but it's not actually correct. The code looks to see > > if <!--[ appears *anywhere* on the page, before replacing each ]--> and > > <!--[, regardless of whether they're in pairs or not. > > > > Whether this is the best way in the world to do this or not, Bill was > > making the docs state how the code actually works. > > > > I'll change it to say: > > > > ... unless it also sees '<!--[' at least once somewhere on the page. > > ------------------------ > > I couldn't interpret this at the time that we were discussing it, and I > can't interpret it now, other than the fact that what appears on the page > has an excellent opportunity to be vastly different than expected. The revised text you quote me saying above is correct. And even though I didn't change the code and instead fixed the docs, the parsing will proceed just as expected. There difference between the words 'elsewhere' and 'previously' in that documentation snippet is important, but it's really not important to 99 44/100 % of the users out there. I'm going to let the other .66% who care just read the code -- it's not worth talking about here. > JJ>>Now to your sample snippet: > JJ>> > JJ>>> (snippet) > JJ>>> some code and stuff for the page > JJ>>> more stuff > JJ>>> [/comment] > JJ>>> more lines of stuff > JJ>>> [comment] > JJ>>> We are giving away money today > JJ>>> [/comment] > JJ>>> > JJ>>> Now, because there is a [/comment] on the page before [comment] the > JJ>>> [comment] is shut off immediately. To me, this is stupid behavior and needs > JJ>>> to be corrected. The Akopia employees writing the documentation chose to not > JJ>>> do anything about it. > JJ>> > JJ>>I don't know what you're talking about here. When I try that exact > JJ>>snippet, the only noteworthy effect is that a literal '[/comment]' is > JJ>>printed after 'more stuff', which is just what I'd expect when there was > JJ>>no opening [comment] tag to begin with. The real comment container below > JJ>>properly removes 'We are giving ...' from the output, as it should. > > I miswrote this. It needs to be used in conjunction with '<!--[' in order > for this to happen. Otherwise, it's correct. Oh, now I understand what you were getting at. But the test works either way. It's a darn easy test for anyone to do, I might add -- just throw this on a page and try it out. It'll make more sense if you use something other than the [comment] tag, though, since that just goes away. So this new version: (snippet) some code and stuff for the page more stuff <!--[/comment]--> more lines of stuff <!--[comment]--> We are giving away money today <!--[/comment]--> ... will work exactly the same way as the one you originally (mis)quoted. It's enough to say you can put ITL inside HTML comments for whatever weird reason you have, and the HTML comment markers will be stripped off. I think we wanted to deprecate this feature, but now it's been blasted all over the mailing lists and it'll be the most popular Interchange feature of the year, and we'll never get rid of it. :) > I would like it to need to see an opener followed by a closer and to ignore > what falls in between, rather than to accept a closer followed by an opener > and ignoring who knows what? That's what happens, so I guess we're all happy. It's been fun reminiscing with you, Jim. :) Jon From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Sep 18 23:48:01 2001 Subject: [ic] Interchange Webcast invitation On Tue, 18 Sep 2001, Rene Hertell wrote: > > Red Hat invites you to attend a Webcast on Thursday, September 27, 2001 > > from 2:00-3:00 Eastern time (1800-1900 UTC). > > Sorry to ask this dumb question, but could you describe what a "webcast" is? Mike answered that one ... > ps. Could you give the time in GMT? I have no clue what a UTC time is... UTC = GMT. See http://www.dxing.com/utcgmt.htm for a little more info. Jon From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Wed Sep 19 01:49:00 2001 Subject: [ic] Error in Wizard When between the step of selecting PGP encryption to handle credit card processing, and the next step where you are supposed to enter the PGP key etc, I get an internal server error. The following error messages come up in httpd error.log [Tue Sep 18 22:58:57 2001] [error] [client 61.9.208.142] Premature end of script headers: /home/sites/site28/web/storm.ic interchange catalog error.log 61.9.208.142 LgFdi8xi:61.9.208.142 - [18/September/2001:22:58:57 -0600] storm /s torm.ic/ui Runtime error: Can't fork! at (eval 53) line 12. It can't fork, what exactly is it trying to fork out to here, to run gnupd to test it's there, not sure how to trace this back, do I need a threaded perl, or do I need a perl module that handles forking? Any ideas greatly appreciated. Kind regards, Ross Cousens From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 03:22:01 2001 Subject: [ic] ALL pages secure after login Does anyone know of a way to keep ALL pages secure after you have logged in? Tim Watts president Romans1013.net Internet Hosting From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Sep 19 03:35:00 2001 Subject: [ic] ALL pages secure after login Mstrshnds@aol.com writes: > Does anyone know of a way to keep ALL pages secure after you have logged in? In any directory below pages: .access => empty file .autoload => [perl] if ($Session->{logged_in}) { $Config->{VendURL} = $Config->{SecureURL}; } 1; [/perl] This should work (a similar technique is used by the UI if you set UI_SECURE to 1.). 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: Wed Sep 19 04:02:01 2001 Subject: [ic] Help shop doesnt't work this morning :( hi, Here's a link : http://www.teddy-toys.com/cgi-bin/teddy/index.html the left menu and the links associated are completly funny. Yesterday it works fine but not this morning :( I've done something wrong yesterday evening but don't know why. I've modified order_view.html but it isn't this. I've modified the variables.txt but this morning i look at the file without viewing anything wrong. I haven't modified the templates ( i think not ). Did someone has an idea ? I'm completly lost and don't know what to do. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 19 07:37:01 2001 Subject: [ic] Credit Card Authorisation/Processing On Wed, 19 Sep 2001, Ross Cousens wrote: RC>>encryption (to check it's a valid number). I'm just curious if it would be RC>>done easily to add another field to the Users table to store credit card RC>>info, and then show that up in the order processing part of the admin RC>>interface. As I understand what you are saying there is that you want to have the credit card number become a part of userdb. That's downright scary! When someone does break into your system and steals userdb, they have everything at hand to impersonate anyone on your list, including spoofing the address verification system and to buy anything that they want. That happened to Egghead. As I recall, there was a bank not too long ago that had their database compromised. Amazon.com is storing CC#'s in their database, and it scares the bejeepers out of me! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 19, 2001 at 07:15 AM: Sorry... my mind has a few bad sectors. ---------------------------------------------------------------- This Linux System has been up 81 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 19 07:40:00 2001 Subject: [ic] HOWTO: minimum and batch quantities On Tue, 18 Sep 2001 mheins@redhat.com wrote: >>I added this to the pub/interchange/contrib section on the FTP site, >>assuming that is OK. After all, the email message will be archived >>on Google. 8-) It would seem to me that anything posted to this list would be automatically posted to public domain, or least the property of Akopia :-) Or, no need to worry about what's proper. :-) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 19, 2001 at 07:35 AM: Some People, like Flowers, Give Pleasure Just by Being. ---------------------------------------------------------------- This Linux System has been up 81 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 19 07:52:01 2001 Subject: [ic] Help shop doesnt't work this morning :( On Wed, 19 Sep 2001, David Bordas wrote: DB>>Here's a link : DB>>http://www.teddy-toys.com/cgi-bin/teddy/index.html DB>> DB>>the left menu and the links associated are completly funny. DB>>Yesterday it works fine but not this morning :( DB>> DB>>I've done something wrong yesterday evening but don't know why. DB>>I've modified order_view.html but it isn't this. DB>>I've modified the variables.txt but this morning i look at the file without DB>>viewing anything wrong. DB>>I haven't modified the templates ( i think not ). What I am seeing are lines with quote marks, spaces, and closing quotes. Clicking on any of these lines gives me a message that I am not authorized to access cgi-bin on your server. Have you re-started IC? In the UI, have you clicked on 'apply changes'? Anytime something wierd shows up on your pages, ALWAYS do those 2 things. It can't hurt, and it may fix the problem. If that doesn't fix it, then let's talk some more. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 19, 2001 at 07:45 AM: If laughter is the best medicine, shouldn't we be regulating it? ---------------------------------------------------------------- This Linux System has been up 81 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Sep 19 08:38:01 2001 Subject: [ic] Help shop doesn't work this morning :( >On Wed, 19 Sep 2001, David Bordas wrote: DB>>Here's a link : DB>>http://www.teddy-toys.com/cgi-bin/teddy/index.html DB>> DB>>the left menu and the links associated are completly funny. DB>>Yesterday it works fine but not this morning :( DB>> DB>>I've done something wrong yesterday evening but don't know why. DB>>I've modified order_view.html but it isn't this. DB>>I've modified the variables.txt but this morning i look at the file without DB>>viewing anything wrong. DB>>I haven't modified the templates ( i think not ). Jim>>What I am seeing are lines with quote marks, spaces, and closing quotes. Jim>>Clicking on any of these lines gives me a message that I am not authorized Jim>>to access cgi-bin on your server. ?? strange problem for me i always keep the current page. Jim>>Have you re-started IC? Jim>>In the UI, have you clicked on 'apply changes'? I restart IC and doing 'apply changes' without any luck. Jim>>Anytime something wierd shows up on your pages, ALWAYS do those 2 things. It Jim>>can't hurt, and it may fix the problem. Jim>>If that doesn't fix it, then let's talk some more. Jim>>-= Jim =- If i'm looking at the source code the links look like ok : <snip> <td valign="top" class="categorybar"> &nbsp;&nbsp;"<A HREF=""http://www.teddy-toys.com/cgi-bin/teddy/scan/st=db/co=yes/sf=category /se=Brushes/va=banner_image%3d/va=banner_text%3d.html?id=Sccs8gWn"" CLASS=""barlink"">Brushes</A>"<BR> &nbsp;&nbsp;"<A HREF=""http://www.teddy-toys.com/cgi-bin/teddy/scan/st=db/co=yes/sf=category /se=Hammers/va=banner_image%3d/va=banner_text%3d.html?id=Sccs8gWn"" CLASS=""barlink"">Hammers</A>"<BR> </snip> Steve tell me to verify the theme.cfg,components/category_vertical and <vendroot>/catalog_before.cfg. What i've done without any more luck. I'll save my cart and reinstall a new catalog. Then copying file one per one to see whitch one have a mistake. Jim>>Jim's Linux-Operated Underground Bomb Shelter Jim>>Tagline for Wednesday, September 19, 2001 at 07:45 AM: Jim>>If laughter is the best medicine, shouldn't we be regulating it? Jim>>---------------------------------------------------------------- Jim>>This Linux System has been up 81 hours Jim>>My web page: http://www.idk-enterprises.com Jim>>---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Sep 19 09:12:00 2001 Subject: [ic] Help shop doesnt't work this morning :( I find it ! I reinstall IC and recreate a new catalog. I move all files one per one. And the problem was my variables.txt that i have modified with microsoft excel. Excell add " to my file and this was the mistake. Thanks to all. From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Sep 19 09:22:01 2001 Subject: [ic] Help shop doesnt't work this morning :( > I find it ! > > I reinstall IC and recreate a new catalog. > I move all files one per one. > And the problem was my variables.txt that i have modified with microsoft > excel. > Excell add " to my file and this was the mistake. When you open a file with excel, *you have to make sure* all fields are in "text" format (also numeric-fields etc). If not, excel makes too many decisions instead of you, and this may screws up your whole table, as you probably noticed... René From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 09:39:01 2001 Subject: [ic] Help shop doesnt't work this morning :( Quoting Rene Hertell (rene@hertell.com): > > I find it ! > > > > I reinstall IC and recreate a new catalog. > > I move all files one per one. > > And the problem was my variables.txt that i have modified with microsoft > > excel. > > Excell add " to my file and this was the mistake. > > When you open a file with excel, *you have to make sure* all fields are in > "text" format (also numeric-fields etc). If not, excel makes too many > decisions instead of you, and this may screws up your whole table, as you > probably noticed... > Someone might mention "Database variable EXCEL 1", but it must be added *above* "VariableDatabase variable" in catalog.cfg, i.e.: Database variable variable.txt TAB Database variable EXCEL 1 VariableDatabase variable If there is a variable.dbm in your dbconf/* directory, you will want to remove it to avoid a warning message. Also, if you have the Spreadsheet::ParseExcel and Spreadsheet::WriteExcel modules installed, you can export/import XLS files directly. (Remember to make the sheet name the table name, as is done on export.) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 09:41:01 2001 Subject: [ic] Error in Wizard Quoting Ross Cousens (rossc@bigpond.net.au): > When between the step of selecting PGP encryption to handle credit card > processing, and the next step where you are supposed to enter the PGP key > etc, I get an internal server error. The following error messages come up in > > httpd error.log > [Tue Sep 18 22:58:57 2001] [error] [client 61.9.208.142] Premature end of > script > headers: /home/sites/site28/web/storm.ic > > interchange catalog error.log > 61.9.208.142 LgFdi8xi:61.9.208.142 - [18/September/2001:22:58:57 -0600] > storm /s > torm.ic/ui Runtime error: Can't fork! at (eval 53) line 12. > > > It can't fork, what exactly is it trying to fork out to here, to run gnupd > to test it's there, not sure how to trace this back, do I need a threaded > perl, or do I need a perl module that handles forking? > That only supports GPG and not PGP. You need to have GnuPG installed and available in the PATH (probably /usr/bin/gpg) for key import to work....the error could be more enlightening, I suppose. -- 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 (Ivette Mestre) Date: Wed Sep 19 11:10:01 2001 Subject: [ic] Please help with Authorize.net problem This is the post with the instructions I followed: http://developer2.akopia.com/archive/interchange-users/2001/msg02480.html The key part is when you have to copy [src/interchange] /globalsub/authorizenet to .../interchange/globalsub/authorizenet That worked for me. I don't know if this is redundant with Vend::Payment::AuthorizeNet. The rest of the configuration is as in the original posting. I want to point also, that I don't have an account yet; they gave me only a test account, no password, no referrer. Although, I could do some testing: To see that you actually are hitting authorizenet you can use the credit card number : 4222222222222; you can simulate errors passing the error number as the transaction amount (e.g. 12=authorization code not present). If the transaction was ok (amount = 1), you will have the receipt page. Neat! I hope this help. Ivette --- Moe Pitman <mpitman@uni-market.com> wrote: > Great, but I was hoping to see the solution, too. > Care to share with > the rest of us? > > Thanks, > > --Moe Pitman > > Ivette Mestre wrote: > > > Fixed the problem. > > Thanks to Jud Harris for the instructions. > > > > Ivette > > > > --- Ivette Mestre <ivtmesic@yahoo.com> wrote: > > > Hi there, > > > I'm trying to configure authorizenet as the > payment > > > gateway, following the instructions on > > > AuthorizeNet.pm. I looked on the list for > similar > > > problems but found nothing; also I'm pretty new > to > > > interchange and not familiar with the places to > find > > > the things. > > > > > > Here is what I have: > > > - interchange version 4.8 > > > - Net::SSLeay > > > - "require"d module AuthorizeNet on > interchange.cfg. > > > > > > ---- Variable table ---- > > > AUTHNET_ID = testdriver > > > AUTHNET_SECRET = > > > AUTHNET_HOST = > > > AUTHNET_REFERER = > > > http://www.yourdomain.com/authorize.net > > > AUTHNET_MODE = > > > AUTHNET_SERVER = secure.authorize.net > > > > > > MV_PAYMENT_MODE authorizenet > > > > > > ---- > > > We asked authorizenet for a testing account and > they > > > told us the id to use, but not pw or referer; > have > > > you > > > had this problem??? I put the referer value > after > > > some > > > example in the list. > > > ---- > > > > > > ---- Catalog.cfg ---- > > > Route authorizenet id > "__AUTHNET_ID__" > > > Route authorizenet secret > > > "__AUTHNET_SECRET__" > > > Route authorizenet host > "__AUTHNET_HOST__" > > > Route authorizenet referer > > > "__AUTHNET_REFERER__" > > > Route authorizenet test TRUE > > > > > > CreditCardAuto no > > > > > > > > > After attempt the checkout using test card > number > > > 4111111111111111, I get this error: > > > > > > (authorizenet): Charge operation > 'authorizenet' > > > failed. > > > > > > I know that the configuration of the > authorizenet > > > variables might not be good, but seems to me > that is > > > not going that far. > > > I hope you can help me with this. Thanks in > advance, > > > Ivette > > > > > > > > > > __________________________________________________ > > > Terrorist Attacks on U.S. - How can you help? > > > Donate cash, emergency relief information > > > > > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > __________________________________________________ > > Terrorist Attacks on U.S. - How can you help? > > Donate cash, emergency relief information > > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > _______________________________________________ > > 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 __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Donal H.) Date: Wed Sep 19 11:18:00 2001 Subject: [ic] Backend order entry Hi, Is there an API for entering orders from an external source i.e. other than directly accessing the ASCII file(s) or SQL database? If not, are there any recommendations (or major "do'"s or "don't"s) for doing this - I'd want to avoid any possible problems when upgrading to a new release of IC. Thanks, -Donal From: interchange-users at interchange.redhat.com (Tom C) Date: Wed Sep 19 11:44:01 2001 Subject: [ic] IC 4.8.1 - 1st line is showing a blank line on one database. Hello. I have a few databases. when I do a Loop search, the first item that is returned is empty. The next line is then the first item listed in the database. (The actual first line in the database are the headers.) Does anyone know why this first item is empty? Thanks -Tom From: interchange-users at interchange.redhat.com (Moe Pitman) Date: Wed Sep 19 12:00:00 2001 Subject: [ic] Please help with Authorize.net problem Thank you! I'll keep a bookmark on this one, it's coming up soon. --Moe Pitman Ivette Mestre wrote: > This is the post with the instructions I followed: > > http://developer2.akopia.com/archive/interchange-users/2001/msg02480.html > > The key part is when you have to copy > [src/interchange] /globalsub/authorizenet > to > .../interchange/globalsub/authorizenet > > That worked for me. I don't know if this is redundant > with Vend::Payment::AuthorizeNet. The rest of the > configuration is as in the original posting. > > I want to point also, that I don't have an account > yet; they gave me only a test account, no password, no > referrer. Although, I could do some testing: > > To see that you actually are hitting authorizenet you > can use the credit card number : 4222222222222; you > can simulate errors passing the error number as the > transaction amount (e.g. 12=authorization code not > present). If the transaction was ok (amount = 1), you > will have the receipt page. Neat! > > I hope this help. > > Ivette > > --- Moe Pitman <mpitman@uni-market.com> wrote: > > Great, but I was hoping to see the solution, too. > > Care to share with > > the rest of us? > > > > Thanks, > > > > --Moe Pitman > > > > Ivette Mestre wrote: > > > > > Fixed the problem. > > > Thanks to Jud Harris for the instructions. > > > > > > Ivette > > > > > > --- Ivette Mestre <ivtmesic@yahoo.com> wrote: > > > > Hi there, > > > > I'm trying to configure authorizenet as the > > payment > > > > gateway, following the instructions on > > > > AuthorizeNet.pm. I looked on the list for > > similar > > > > problems but found nothing; also I'm pretty new > > to > > > > interchange and not familiar with the places to > > find > > > > the things. > > > > > > > > Here is what I have: > > > > - interchange version 4.8 > > > > - Net::SSLeay > > > > - "require"d module AuthorizeNet on > > interchange.cfg. > > > > > > > > ---- Variable table ---- > > > > AUTHNET_ID = testdriver > > > > AUTHNET_SECRET = > > > > AUTHNET_HOST = > > > > AUTHNET_REFERER = > > > > http://www.yourdomain.com/authorize.net > > > > AUTHNET_MODE = > > > > AUTHNET_SERVER = secure.authorize.net > > > > > > > > MV_PAYMENT_MODE authorizenet > > > > > > > > ---- > > > > We asked authorizenet for a testing account and > > they > > > > told us the id to use, but not pw or referer; > > have > > > > you > > > > had this problem??? I put the referer value > > after > > > > some > > > > example in the list. > > > > ---- > > > > > > > > ---- Catalog.cfg ---- > > > > Route authorizenet id > > "__AUTHNET_ID__" > > > > Route authorizenet secret > > > > "__AUTHNET_SECRET__" > > > > Route authorizenet host > > "__AUTHNET_HOST__" > > > > Route authorizenet referer > > > > "__AUTHNET_REFERER__" > > > > Route authorizenet test TRUE > > > > > > > > CreditCardAuto no > > > > > > > > > > > > After attempt the checkout using test card > > number > > > > 4111111111111111, I get this error: > > > > > > > > (authorizenet): Charge operation > > 'authorizenet' > > > > failed. > > > > > > > > I know that the configuration of the > > authorizenet > > > > variables might not be good, but seems to me > > that is > > > > not going that far. > > > > I hope you can help me with this. Thanks in > > advance, > > > > Ivette > > > > > > > > > > > > > > __________________________________________________ > > > > Terrorist Attacks on U.S. - How can you help? > > > > Donate cash, emergency relief information > > > > > > > > > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > __________________________________________________ > > > Terrorist Attacks on U.S. - How can you help? > > > Donate cash, emergency relief information > > > > > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > > _______________________________________________ > > > 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 > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > _______________________________________________ > 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 Sep 19 12:19:01 2001 Subject: [ic] IC 4.8.1 - 1st line is showing a blank line on one database. Quoting Tom C (tomc@ikano.com): > Hello. > > I have a few databases. when I do a Loop search, the first item that is > returned is empty. The next line is then the first item listed in the > database. (The actual first line in the database are the headers.) > > Does anyone know why this first item is empty? No way to tell without you showing us the loop search. 8-) I am surprised you would post your question without that. The default if searching a file is to set hs=1, but it is possible to construct file-based loops that don't do that. There is a head_skip option to the loop tag, but that only applies if you are passing an arbitrary list and not farming out the row production to the search modules. You might also double-check that you don't have carriage returns in your file.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 12:23:33 2001 Subject: [ic] Backend order entry Quoting Donal H. (donalh@online.ie): > Hi, > > Is there an API for entering orders from an external source i.e. other than > directly accessing the ASCII file(s) or SQL database? > > If not, are there any recommendations (or major "do'"s or "don't"s) for > doing this - I'd want to avoid any possible problems when upgrading to a new > release of IC. I can't fathom why you would do this, but it really is just a question of making sure the order number is unique (probably just a different number sequence) and inserting the entries in orderline, transactions, and userdb. There is no real API other than the definition of those files, some of which can be found in icfoundation.html. An example of what is done in "Foundation" can be found in etc/log_transaction. There is also an external entry example in etc/log_entry. -- 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 (Ed LaFrance) Date: Wed Sep 19 12:28:00 2001 Subject: [ic] Select box with external table lookup in UI At 09:36 PM 09/18/2001 -0400, you wrote: >Quoting Ed LaFrance (edl@newmediaems.com): > > At 12:06 AM 09/19/2001 +0200, you wrote: > > >Ed LaFrance <edl@newmediaems.com> writes: > > > > > > > Hi all - > > > > > > > > 4.6.5 and 4.8.1: Just curious if anyone has been able to set up a > select > > > > box widget in the UI, so that it contains a list of unique values > from an > > > > external database? For instance, setting up the category selector for > > > > Items so that is displays every unique entry in the cat table > > > (currently is > > > > simply lists unique choices from the category column of the products > > > table). > > > > > > > > I have not been able to get it to work with any combination of simple > > > > settings in the meta editor; It appears something more elaborate > may be > > > needed. > > > > > >What do you mean with external database ? It is no problem to fill the > > >select box with values from another table. > > > > Sorry, I meant external *table*, bad habit. If I set the meta data as > follows: > > > > widget type -> select box > > lookup table -> external_tablename > > field for lookup -> fieldname in external table > >That is correct. To verify, check the table itself (with Jon's te editor >or a spreadsheet: > >code:table::column >db:external_tablename >lookup:field >type:select > >I have used this many times, so I know it works. >-- Thanks Mike, lookup:field was what I was missing - I was trying instead to use 'code,name' in 'Fields for lookup', which seemed correct according to my read of the field help, but it appears the note about commas-separated fieldname pairs does not apply to the select box widget? The help for the meta options is a little unclear, I think - things do not quite work according to the way the field help reads, at least to me. So for the benefit of all, to get a category selector for the item editor derived from the actual contents of the cat table, in which the category name is displayed in the select box, and the category code is the value of each option, I did the following (meta editor for products::category): Widget Type -> Select Box Lookup select -> code Field for lookup -> name Lookup table -> cat Tested in 4.6.5 and 4.8.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 (Ivette Mestre) Date: Wed Sep 19 12:38:01 2001 Subject: [ic] Problem assigning permissions to users Hi there, Using the back end tool on version 4.8, I'm trying to configure the permissions for the site administrators. I've created a create new user in group Merchandiser, with access to Items creation. Logged on as that user, I can create and modify an item. But when it comes to delete, the following error is displayed: Internal Sever Error The server encountered an internal error or misconfiguration to complete your request. Please contact the severr administrator ... No trace of the error on interchange/error.log, neither on mycatalog/error.log. On apache error log I have the line: ... Premature end of script headers: /var/www/cgi-bin/mycatalog When the user is marked as super-user, everything works fine, but then it also has access to the administration area, and that's what I want to avoid. Is that a bug? Any help will be appreciated. Thanks Ivette __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 12:51:01 2001 Subject: [ic] Backend order entry On Wed, Sep 19, 2001 at 12:15:42PM -0400, mheins@redhat.com wrote: > Quoting Donal H. (donalh@online.ie): > > Hi, > > > > Is there an API for entering orders from an external source i.e. other than > > directly accessing the ASCII file(s) or SQL database? > > > > If not, are there any recommendations (or major "do'"s or "don't"s) for > > doing this - I'd want to avoid any possible problems when upgrading to a new > > release of IC. > > I can't fathom why you would do this, but it really is just a question > of making sure the order number is unique (probably just a different > number sequence) and inserting the entries in orderline, transactions, > and userdb. It's useful for a client that might take **all** their orders through their online catalogs, eg including phone, fax, email, whatever orders. The benefit for them is "single stream"; everything gets handled the same way. They can get order reports, shipping, inventory all via intranet/web. We still don't enter any original data directly into the orders table, but run everything through the catalog, sometimes automated with LWP::UA. Keeping the order number unique and sequential and funnelling everything through the same validation routines is just too useful an organizing principal. > There is no real API other than the definition of those files, some > of which can be found in icfoundation.html. I'd suggest that the only useful API for this, if you can call it that, is the GET/POST HTTP transaction sequence. That lets you treat IC more or less as a black box. :-) 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 (Ivette Mestre) Date: Wed Sep 19 13:09:01 2001 Subject: [ic] Problem assigning permissions to users Couple of things: - there is a line on interchange/error.log: Spurious PID file for process 1926 supposedly running 300 seconds. - trying to delete an order with the same permissions (not super-user) succeded Ivette --- Ivette Mestre <ivtmesic@yahoo.com> wrote: > Hi there, > Using the back end tool on version 4.8, I'm trying > to > configure the permissions for the site > administrators. > I've created a create new user in group > Merchandiser, > with access to Items creation. Logged on as that > user, > I can create and modify an item. But when it comes > to > delete, the following error is displayed: > > Internal Sever Error > The server encountered an internal error or > misconfiguration to complete your request. > Please contact the severr administrator ... > > No trace of the error on interchange/error.log, > neither on mycatalog/error.log. On apache error log > I > have the line: > ... Premature end of script headers: > /var/www/cgi-bin/mycatalog > > When the user is marked as super-user, everything > works fine, but then it also has access to the > administration area, and that's what I want to > avoid. > > Is that a bug? > Any help will be appreciated. > Thanks > Ivette > > > > > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 13:15:00 2001 Subject: [ic] Backend order entry Quoting cfm@maine.com (cfm@maine.com): > On Wed, Sep 19, 2001 at 12:15:42PM -0400, mheins@redhat.com wrote: > > Quoting Donal H. (donalh@online.ie): > > > Hi, > > > > > > Is there an API for entering orders from an external source i.e. other than > > > directly accessing the ASCII file(s) or SQL database? > > > > > > If not, are there any recommendations (or major "do'"s or "don't"s) for > > > doing this - I'd want to avoid any possible problems when upgrading to a new > > > release of IC. > > > > I can't fathom why you would do this, but it really is just a question > > of making sure the order number is unique (probably just a different > > number sequence) and inserting the entries in orderline, transactions, > > and userdb. > > It's useful for a client that might take **all** their orders > through their online catalogs, eg including phone, fax, email, > whatever orders. The benefit for them is "single stream"; > everything gets handled the same way. They can get order reports, > shipping, inventory all via intranet/web. Aha. The ERP-less business system. I am afraid I always think of Interchange as the front end to an accounting package..... It is definitely possible to format a single HTTP request to order a series of items and complete the order. For example: <A HREF="[area href=ord/checkout.html form=' mv_action=submit mv_order_item=FOO_SKU mv_order_quantity=1 mv_order_item=BAR_SKU mv_order_quantity=2 payment_method=po fname=Milton lname=Bear address1=... etc=etc ' ]">Order something</A> -- 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 (Tim Watts) Date: Wed Sep 19 13:23:01 2001 Subject: [ic] errors at checkout with no bold red type - follow up We seem to have enough information from customers to narrow down this error, but still don't have a solution. Original submission is shown below. It seems it is related to the javascript generated for the checkout button. Occasionally (and I emphasis occasionally, it is hard to reproduce, but is often enough to think that some orders are lost as a result) when clicking on the place order button you get a generic browser alert that says it cannot find the page. Most customers refresh th browser or hit the back button, then they get stuck in a loop that says errors are in bold color, and they cannot get past that point. Is ther any way to replace the javascript? on 9/17/01 11:57 AM, Tim Watts at interchange@romans1013.net wrote: > Hi All, > > I'm using IC 4.6.5 and having an itermittent problem and cannot seem to > locate the problem. > > Occasionally I receive comments from customers about the checkout similar > to: > >> There was a message that said the problem with the >> order was in the color red, however nothing was red. > > Seems to be related to credit card orders. They always say the entered > correct info several times, and cannot get past the error. > > Nothing in the error.log > > Anyone else having this problem or a solution? > > Tim > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Tom C) Date: Wed Sep 19 13:26:00 2001 Subject: [ic] IC 4.8.1 - 1st line is showing a blank line on one database. Sorry about that. The following two lines are the first two lines in the oils_essential.txt file, which is the one being searched: -------------------- sku description price 01-0001 Agarwood - Oud 1313.47 -------------------- The following are the loop search lines the html file. In this case, the "[field code='[cgi sku]' name='db']" is being translated to "oils_essential": -------------------- [loop search="fi=[field code='[cgi sku]' name='db']/tf=description/ra=yes/ml=1000"] <tr> <td>[loop-field sku]</td> <td>[loop-field description]</td> <td align=right>[currency][loop-field price][/currency]</td> <td>[order [loop-code]]Order Now[/order]</td> </tr> [/loop] -------------------- I made sure there were no other characters by pulling up the oils_essential.txt in vi and doing a ":set list". There are no other characters other than what is necessary, but it is still happening. Thanks again!!! -Tom -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of mheins@redhat.com Sent: Wednesday, September 19, 2001 10:02 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] IC 4.8.1 - 1st line is showing a blank line on one database. Quoting Tom C (tomc@ikano.com): > Hello. > > I have a few databases. when I do a Loop search, the first item that is > returned is empty. The next line is then the first item listed in the > database. (The actual first line in the database are the headers.) > > Does anyone know why this first item is empty? No way to tell without you showing us the loop search. 8-) I am surprised you would post your question without that. The default if searching a file is to set hs=1, but it is possible to construct file-based loops that don't do that. There is a head_skip option to the loop tag, but that only applies if you are passing an arbitrary list and not farming out the row production to the search modules. You might also double-check that you don't have carriage returns in your file.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers _______________________________________________ interchange-users mailing list interchange-users@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 Sep 19 13:38:01 2001 Subject: [ic] Backend order entry On Wed, Sep 19, 2001 at 01:14:16PM -0400, mheins@redhat.com wrote: > Quoting cfm@maine.com (cfm@maine.com): > > On Wed, Sep 19, 2001 at 12:15:42PM -0400, mheins@redhat.com wrote: > > > Quoting Donal H. (donalh@online.ie): > > > > Hi, > > > > > > > > Is there an API for entering orders from an external source i.e. other than > > > > directly accessing the ASCII file(s) or SQL database? > > > > > > > > If not, are there any recommendations (or major "do'"s or "don't"s) for > > > > doing this - I'd want to avoid any possible problems when upgrading to a new > > > > release of IC. > > > > > > I can't fathom why you would do this, but it really is just a question > > > of making sure the order number is unique (probably just a different > > > number sequence) and inserting the entries in orderline, transactions, > > > and userdb. > > > > It's useful for a client that might take **all** their orders > > through their online catalogs, eg including phone, fax, email, > > whatever orders. The benefit for them is "single stream"; > > everything gets handled the same way. They can get order reports, > > shipping, inventory all via intranet/web. > > Aha. The ERP-less business system. I am afraid I always think of > Interchange as the front end to an accounting package..... > > It is definitely possible to format a single HTTP request to > order a series of items and complete the order. For example: > > <A HREF="[area > href=ord/checkout.html > form=' > mv_action=submit > mv_order_item=FOO_SKU > mv_order_quantity=1 > mv_order_item=BAR_SKU > mv_order_quantity=2 > payment_method=po > fname=Milton > lname=Bear > address1=... > etc=etc > ' > ]">Order something</A> > While we have not looked at it in years, we were never able to get that to less that two requests; seems we need the first one to establish the sessionID and then the next to place the order. Can it be done in one now? The example above presumes at least two (because it is IC page). 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 (Jeremy Archibald) Date: Wed Sep 19 14:17:01 2001 Subject: [ic] Where do I find libpq.so.2 I have herd that it is on the red hat cd's but cannot find libpq.so.2 package anywhere. If you could tell me exactally how to load it I would greatly appreciate it. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Sep 19 14:18:42 2001 Subject: [ic] Help shop doesnt't work this morning :( mheins@redhat.com writes: > Quoting Rene Hertell (rene@hertell.com): > > > I find it ! > > > > > > I reinstall IC and recreate a new catalog. > > > I move all files one per one. > > > And the problem was my variables.txt that i have modified with microsoft > > > excel. > > > Excell add " to my file and this was the mistake. > > > > When you open a file with excel, *you have to make sure* all fields are in > > "text" format (also numeric-fields etc). If not, excel makes too many > > decisions instead of you, and this may screws up your whole table, as you > > probably noticed... > > > > Someone might mention "Database variable EXCEL 1", but it must be > added *above* "VariableDatabase variable" in catalog.cfg, i.e.: > > Database variable variable.txt TAB > Database variable EXCEL 1 > VariableDatabase variable > > If there is a variable.dbm in your dbconf/* directory, you will want > to remove it to avoid a warning message. > > Also, if you have the Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > modules installed, you can export/import XLS files directly. (Remember > to make the sheet name the table name, as is done on export.) Yeah, and AFAIK there are DBI modules out for XLS files :-; Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Andreas, Scott) Date: Wed Sep 19 14:20:01 2001 Subject: [ic] credit card info I upgraded to IC 4.8x from IC 4.6.0. Under 4.6 my credit card info. was not encrypted and didn't need to be encrypted since the orders were not being sent over the internet. After upgrading to 4.8 all the credit card information now states NEED ENCRYPTION ENABLED. I'd rather have the creditcard number dsplayed so our salespeople can login to the server via SSH and download information Our catalog was based off the construct demo of 4.6.0 J. Scott Andreas :) IS/Programmer/WebDevelopement Learning Services, Inc. e-mail: sandreas@learningservicesinc.com phone: 1-800-877-9378 ext. 146 fax: (541) 744-2056 --- __o --- _-\<,_ --- (_)/ (_) From: interchange-users at interchange.redhat.com (Donal H.) Date: Wed Sep 19 14:47:00 2001 Subject: [ic] Backend order entry > > > > Is there an API for entering orders from an external source i.e. other than > > > > directly accessing the ASCII file(s) or SQL database? ... > > > I can't fathom why you would do this, but it really is just a question > > > of making sure the order number is unique (probably just a different > > > number sequence) and inserting the entries in orderline, transactions, > > > and userdb. ... > It is definitely possible to format a single HTTP request to > order a series of items and complete the order. For example: I was really just wondering if there was a level of abstraction for adding orders at the back end i.e. so that we don't need to concern ourselves with how the orders are stored. My concern would be that something might change in a future release which could break our implementation. But I take it it's safe to assume that either (i) the storage model will not change or (ii) that if it does, it will be highlighted in the release notes. What you've suggested is fine. I just wanted to avoid going down one road and discovering afterwards that there was a better option. Thanks, -Donal From: interchange-users at interchange.redhat.com (Tim Watts) Date: Wed Sep 19 14:58:01 2001 Subject: [ic] ALL pages secure after login Mstrshnds@aol.com writes: >> Does anyone know of a way to keep ALL pages secure after you have logged in? on 9/19/01 3:34 AM, Stefan Hornburg Racke at racke@linuxia.de wrote: > In any directory below pages: > .access => empty file > .autoload => > [perl] > if ($Session->{logged_in}) { > $Config->{VendURL} = $Config->{SecureURL}; > } > 1; > [/perl] > > This should work (a similar technique is used by the UI if you set UI_SECURE > to 1.). > > Ciao > Racke Thanks, Racke! Seems like it should work, but I'm not sure where to put it, where can I find this in UI so I can see how it is implemented? From: interchange-users at interchange.redhat.com (Raymond Cheng) Date: Wed Sep 19 15:04:03 2001 Subject: [ic] credit card info I'm facing the same problem with version 4.8. I'm looking for a way to process the orders offline via a physical credit card terminal. I have not been able to do either one of two things, store the card number in the order panel or have it emailed as part of the order notification. Please let me know if anybody has come up with a solution. I would appreciate it. Regards, Raymond > > I upgraded to IC 4.8x from IC 4.6.0. > Under 4.6 my credit card info. was not encrypted and didn't need to be > encrypted since the orders were not being sent over the internet. > > After upgrading to 4.8 all the credit card information now states > NEED ENCRYPTION ENABLED. > I'd rather have the creditcard number dsplayed so our salespeople can login > to the server via SSH and download information > > Our catalog was based off the construct demo of 4.6.0 > > > J. Scott Andreas :) > IS/Programmer/WebDevelopement > Learning Services, Inc. > e-mail: sandreas@learningservicesinc.com > phone: 1-800-877-9378 ext. 146 > fax: (541) 744-2056 > --- __o > --- _-\<,_ > --- (_)/ (_) > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Sep 19 15:21:00 2001 Subject: [ic] ALL pages secure after login At 02:55 PM 09/19/2001 -0400, you wrote: >Mstrshnds@aol.com writes: > > >> Does anyone know of a way to keep ALL pages secure after you have > logged in? > > >on 9/19/01 3:34 AM, Stefan Hornburg Racke at racke@linuxia.de wrote: > > > In any directory below pages: > > .access => empty file > > .autoload => > > [perl] > > if ($Session->{logged_in}) { > > $Config->{VendURL} = $Config->{SecureURL}; > > } > > 1; > > [/perl] > > > > This should work (a similar technique is used by the UI if you set > UI_SECURE > > to 1.). > > > > Ciao > > Racke > > >Thanks, Racke! Seems like it should work, but I'm not sure where to put it, >where can I find this in UI so I can see how it is implemented? I believe this means that you should create an empty (zero bytes) file in your pages directory named '.access'. Then create another file named '.autoload' in the same location, and put the [perl][/perl] block in that file. - Ed L. >_______________________________________________ >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: Wed Sep 19 15:23:01 2001 Subject: [ic] ALL pages secure after login Tim Watts <interchange@Romans1013.net> writes: > Mstrshnds@aol.com writes: > > >> Does anyone know of a way to keep ALL pages secure after you have logged in? > > > on 9/19/01 3:34 AM, Stefan Hornburg Racke at racke@linuxia.de wrote: > > > In any directory below pages: > > .access => empty file > > .autoload => > > [perl] > > if ($Session->{logged_in}) { > > $Config->{VendURL} = $Config->{SecureURL}; > > } > > 1; > > [/perl] > > > > This should work (a similar technique is used by the UI if you set UI_SECURE > > to 1.). > > > > Ciao > > Racke > > > Thanks, Racke! Seems like it should work, but I'm not sure where to put it, > where can I find this in UI so I can see how it is implemented? .access and .autoload are actually files, seems not clear from my last email. The UI implements it via the UI_STD_INIT variable, found in the UI_STD_HEAD file. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Sep 19 15:28:00 2001 Subject: [ic] credit card info At 03:03 PM 09/19/2001 -0400, you wrote: >I'm facing the same problem with version 4.8. I'm looking for a way to >process the orders offline via a physical credit card terminal. I have >not been able to do either one of two things, store the card number in >the order panel or have it emailed as part of the order notification. > >Please let me know if anybody has come up with a solution. I would >appreciate it. > >Regards, Very strange, this resistance to using encryption. You ask if anyone has come up with a solution to getting credit card numbers emailed to you. The answer is yes; IC provides a very nice one: 1. Set up your encryption program with your public key on the server, configure IC to use it for credit card info; 2. Decrypt the credit card info which appears in your email box, with the emailed copy of the order. I have clients who process several hundred orders a day who are doing this. It is not too hard to write a batch-decryption script for the receiving end. I don't understand why some people seem willing to go to great lengths to get around this! - Ed L. > > > > I upgraded to IC 4.8x from IC 4.6.0. > > Under 4.6 my credit card info. was not encrypted and didn't need to be > > encrypted since the orders were not being sent over the internet. > > > > After upgrading to 4.8 all the credit card information now states > > NEED ENCRYPTION ENABLED. > > I'd rather have the creditcard number dsplayed so our salespeople can >login > > to the server via SSH and download information > > > > Our catalog was based off the construct demo of 4.6.0 > > > > > > J. Scott Andreas :) > > IS/Programmer/WebDevelopement > > Learning Services, Inc. > > e-mail: sandreas@learningservicesinc.com > > phone: 1-800-877-9378 ext. 146 > > fax: (541) 744-2056 > > --- __o > > --- _-\<,_ > > --- (_)/ (_) > > > > > > _______________________________________________ > > 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 (Robert Trembath) Date: Wed Sep 19 15:36:01 2001 Subject: [ic] credit card info Same problem here. I posted something about this last week with no responses. We need this answered as nothing in the docs points this out and the upgrade was not as easy as some of us developers who migrate to the newer versions might be led to believe. We had to rework our authorize.net integration and pay Red Hat more fees because the upgrade "broke" our existing integration. I thought I heard "backwards compatible" somewhere? Please excuse the frustration, Robert ----- Original Message ----- From: "Raymond Cheng" <webmaster@sundialmicro.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 19, 2001 2:03 PM Subject: Re: [ic] credit card info > I'm facing the same problem with version 4.8. I'm looking for a way to > process the orders offline via a physical credit card terminal. I have > not been able to do either one of two things, store the card number in > the order panel or have it emailed as part of the order notification. > > Please let me know if anybody has come up with a solution. I would > appreciate it. > > Regards, > > Raymond > > > > > I upgraded to IC 4.8x from IC 4.6.0. > > Under 4.6 my credit card info. was not encrypted and didn't need to be > > encrypted since the orders were not being sent over the internet. > > > > After upgrading to 4.8 all the credit card information now states > > NEED ENCRYPTION ENABLED. > > I'd rather have the creditcard number dsplayed so our salespeople can > login > > to the server via SSH and download information > > > > Our catalog was based off the construct demo of 4.6.0 > > > > > > J. Scott Andreas :) > > IS/Programmer/WebDevelopement > > Learning Services, Inc. > > e-mail: sandreas@learningservicesinc.com > > phone: 1-800-877-9378 ext. 146 > > fax: (541) 744-2056 > > --- __o > > --- _-\<,_ > > --- (_)/ (_) > > > > > > _______________________________________________ > > 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 Sep 19 15:51:01 2001 Subject: [ic] Tree Help I have a problem using the [tree] tag. I made a table with two fields parent_fld and child_fld to use the example text in the ic dox, but even the simple example didn't display what I wanted. The code is here, and it looks as though it SHould work under the circumstances.. Table: parent_fld child_fld 99 a a b a c c v a d a x x y x z z q q w a y y l l p p k 99 m 99 n 99 o o e o f o g Code that is running off the table: <table> [tree table=subcat master=parent_fld subordinate=child_fld full=1 start=99 autodetect=1 ]<tr> <td>[if-item-param mv_level][item-calc]return ' ' x [item-param mv_spacing][/item-calc][/if-item-param][item-param child_fld]</td> <td> mv_level=[item-param mv_level], mv_increment=[item-param mv_increment], mv_children=[item-param mv_children] </td> </tr> [/tree] </table> This is the result I get: <table> <tr> <td>o</td> <td> mv_level=0, mv_increment=1, mv_children=1 </td> </tr> <tr> <td> g</td> <td> mv_level=1, mv_increment=1, mv_children=0 </td> </tr> </table> Everytime I change it around, I only get the last parent in the table along with the very last child of that parent. I don't know why it does this, there doesn't seem to be a tag that makes all pieces of the tree display. Please someone shed some light on this for me.. -Brendan Interchange From: interchange-users at interchange.redhat.com (Tim Watts) Date: Wed Sep 19 15:53:00 2001 Subject: [ic] ALL pages secure after login on 9/19/01 3:21 PM, Ed LaFrance at edl@newmediaems.com wrote: > At 02:55 PM 09/19/2001 -0400, you wrote: >> Mstrshnds@aol.com writes: >> >>>> Does anyone know of a way to keep ALL pages secure after you have >> logged in? >> >> >> on 9/19/01 3:34 AM, Stefan Hornburg Racke at racke@linuxia.de wrote: >> >>> In any directory below pages: >>> .access => empty file >>> .autoload => >>> [perl] >>> if ($Session->{logged_in}) { >>> $Config->{VendURL} = $Config->{SecureURL}; >>> } >>> 1; >>> [/perl] >>> >>> This should work (a similar technique is used by the UI if you set >> UI_SECURE >>> to 1.). >>> >>> Ciao >>> Racke >> >> >> Thanks, Racke! Seems like it should work, but I'm not sure where to put it, >> where can I find this in UI so I can see how it is implemented? > > I believe this means that you should create an empty (zero bytes) file in > your pages directory named '.access'. Then create another file named > '.autoload' in the same location, and put the [perl][/perl] block in that > file. > > - Ed L. > Thanks, Ed! My mind was numb from no sleep! Worked great! Thanks again, Racke! From: interchange-users at interchange.redhat.com (Tim Watts) Date: Wed Sep 19 16:11:01 2001 Subject: [ic] ALL pages secure after login -FOOTNOTE- on 9/19/01 3:22 PM, Stefan Hornburg Racke at racke@linuxia.de wrote: > Tim Watts <interchange@Romans1013.net> writes: > >> Mstrshnds@aol.com writes: >> >>>> Does anyone know of a way to keep ALL pages secure after you have logged >>>> in? >> >> >> on 9/19/01 3:34 AM, Stefan Hornburg Racke at racke@linuxia.de wrote: >> >>> In any directory below pages: >>> .access => empty file >>> .autoload => >>> [perl] >>> if ($Session->{logged_in}) { >>> $Config->{VendURL} = $Config->{SecureURL}; >>> } >>> 1; >>> [/perl] >>> >>> This should work (a similar technique is used by the UI if you set UI_SECURE >>> to 1.). >>> >>> Ciao >>> Racke >> >> >> Thanks, Racke! Seems like it should work, but I'm not sure where to put it, >> where can I find this in UI so I can see how it is implemented? > > .access and .autoload are actually files, seems not clear from my last > email. > > The UI implements it via the UI_STD_INIT variable, found in the > UI_STD_HEAD file. > > Ciao > Racke Actually, I had to add this to the catalog.cfg file also: Autoload <<EOR [perl] if($Session->{logged_in}) { $Config->{VendURL} = $Config->{SecureURL}; } [/perl] EOR Tim From: interchange-users at interchange.redhat.com (Ivette Mestre) Date: Wed Sep 19 16:24:01 2001 Subject: [ic] Error deleting item logged as a no-super-user. Hi, This is my third post on the topic. My apologies for not doing more investigation before. Here is the complete problem description: Using the back end tool on version 4.8, I'm trying to configure the permissions for the site administrators. I've created a create new user in group Merchandiser, with access to Items creation. Logged on as that user, I can create and modify an item. But when it comes to delete, the following error is displayed: Internal Sever Error The server encountered an internal error or misconfiguration to complete your request. Please contact the severr administrator ... There is a line on interchange/error.log: Spurious PID file for process 1926 supposedly running 300 seconds. On Apache error log: ... Premature end of script headers: /var/www/cgi-bin/mycatalog I simulated the situation on the on-line demo and had an error as well, more explicit this time: Sorry, there was an error in processing this form action. Please report the error or try again later. (Could not tie to '/home/ic3/catalogs/ic3/products/access.gdbm': Resource temporarily unavailable at /home/ic3/interchange/lib/Vend/Table/GDBM.pm line 115. ) With this information, I tried to debug the modules, but I couldn't come to any conclusion. When the user is marked as super-user, everything works fine, but then it also has access to the administration area. Trying to delete an order with the same permissions (not super-user) succeded; so the problem seems to be with the item table. Thanks, Ivette __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Jorge Cuevas) Date: Wed Sep 19 16:36:00 2001 Subject: [ic] Using email instead of username Has anybody tried using the email instead of a username for login purposes? I thought about copying the email to the username field in the new account page, but I was wondering if this is part of some configuration I have not found yet. It sounds like a common issue in a lot of sites so that is why I am thinking that it may just be a matter of switching some configuration file. Thanks in advance for any help. Jorge Cuevas From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 17:07:00 2001 Subject: [ic] Backend order entry Quoting cfm@maine.com (cfm@maine.com): > > It is definitely possible to format a single HTTP request to > > order a series of items and complete the order. For example: > > > > <A HREF="[area > > href=ord/checkout.html > > form=' > > mv_action=submit > > mv_order_item=FOO_SKU > > mv_order_quantity=1 > > mv_order_item=BAR_SKU > > mv_order_quantity=2 > > payment_method=po > > fname=Milton > > lname=Bear > > address1=... > > etc=etc > > ' > > ]">Order something</A> > > > > While we have not looked at it in years, we were never > able to get that to less that two requests; seems we need > the first one to establish the sessionID and then the > next to place the order. Can it be done in one now? The > example above presumes at least two (because it is IC page). > You always get a session ID even on the first request -- I don't see how there would be a problem there. With 4.8, you can also get your session ID from an external cookie and set it to a cookie that was previously set by some other program. -- 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 (interchange-users at interchange.redhat.com) Date: Wed Sep 19 17:09:00 2001 Subject: [ic] Help shop doesnt't work this morning :( Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > mheins@redhat.com writes: > > > Quoting Rene Hertell (rene@hertell.com): > > > > I find it ! > > > > > > > > I reinstall IC and recreate a new catalog. > > > > I move all files one per one. > > > > And the problem was my variables.txt that i have modified with microsoft > > > > excel. > > > > Excell add " to my file and this was the mistake. > > > > > > When you open a file with excel, *you have to make sure* all fields are in > > > "text" format (also numeric-fields etc). If not, excel makes too many > > > decisions instead of you, and this may screws up your whole table, as you > > > probably noticed... > > > > > > > Someone might mention "Database variable EXCEL 1", but it must be > > added *above* "VariableDatabase variable" in catalog.cfg, i.e.: > > > > Database variable variable.txt TAB > > Database variable EXCEL 1 > > VariableDatabase variable > > > > If there is a variable.dbm in your dbconf/* directory, you will want > > to remove it to avoid a warning message. > > > > Also, if you have the Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > > modules installed, you can export/import XLS files directly. (Remember > > to make the sheet name the table name, as is done on export.) > > Yeah, and AFAIK there are DBI modules out for XLS files :-; > Yes, it even works with Interchange, but it is read-only. Same for DBD::Xbase. -- 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 (Russ Mann) Date: Wed Sep 19 17:20:00 2001 Subject: [ic] Using email instead of username Jorge, I use the email address for the login username. I just specify on the login form for the field username to have the email address put in there. I couldn't find a way to REQUIRE it to be in the form of an email address though. So the user doesn't have to redundantly enter their email address, I use code like this for the email field: <input type="text" name="b_email" value="[if data session username][data session username][else][value b_email][/else][/if]" > Russ Mann -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jorge Cuevas Sent: Wednesday, September 19, 2001 2:31 PM To: Interchange-users@anthrax.interchange.redhat.com Subject: [ic] Using email instead of username Has anybody tried using the email instead of a username for login purposes? I thought about copying the email to the username field in the new account page, but I was wondering if this is part of some configuration I have not found yet. It sounds like a common issue in a lot of sites so that is why I am thinking that it may just be a matter of switching some configuration file. Thanks in advance for any help. Jorge Cuevas _______________________________________________ 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 Sep 19 17:25:01 2001 Subject: DBD::Excel (was: Re: [ic] Help shop doesnt't work this morning :() mheins@redhat.com writes: [...] > > > > > > Also, if you have the Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > > > modules installed, you can export/import XLS files directly. (Remember > > > to make the sheet name the table name, as is done on export.) > > > > Yeah, and AFAIK there are DBI modules out for XLS files :-; > > > > Yes, it even works with Interchange, but it is read-only. Same for > DBD::Xbase. Hm, why ? I remember a Debian package libdbd-excel-perl, which depends on libspreadsheet-parseexcel-perl _and_ libspreadsheet-writeexcel-perl, though the software is declared as alpha. 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 (Mark R. Misko) Date: Wed Sep 19 18:10:01 2001 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 From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Sep 19 18:21:01 2001 Subject: [ic] Where do I find libpq.so.2 At 12:04 PM 9/19/2001 -0600, you wrote: >I have herd that it is on the red hat cd's but cannot find libpq.so.2 >package anywhere. If you could tell me exactally how to load it I would >greatly appreciate it. Search for it on rpmfind.net. Sounds like postgresql-libs-7.1.x to me. HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 19 18:51:00 2001 Subject: [ic] Help shop doesn't work this morning :( On Wed, 19 Sep 2001, David Bordas wrote: DB>><td valign="top" class="categorybar"> DB>> &nbsp;&nbsp;"<A DB>>HREF=""http://www.teddy-toys.com/cgi-bin/teddy/scan/st=db/co=yes/sf=category DB>>/se=Brushes/va=banner_image%3d/va=banner_text%3d.html?id=Sccs8gWn"" DB>>CLASS=""barlink"">Brushes</A>"<BR> DB>> DB>> &nbsp;&nbsp;"<A DB>>HREF=""http://www.teddy-toys.com/cgi-bin/teddy/scan/st=db/co=yes/sf=category DB>>/se=Hammers/va=banner_image%3d/va=banner_text%3d.html?id=Sccs8gWn"" DB>>CLASS=""barlink"">Hammers</A>"<BR> DB>> DB>></snip> All of those double quotes ""http:..."" disturb me and lead me to wonder if that is part of your problem. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 19, 2001 at 18:45 PM: People are more than fun than anybody. ---------------------------------------------------------------- This Linux System has been up 92 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 19 19:03:01 2001 Subject: [ic] Backend order entry On Wed, 19 Sep 2001 cfm@maine.com wrote: >>It's useful for a client that might take **all** their orders >>through their online catalogs, eg including phone, fax, email, >>whatever orders. The benefit for them is "single stream"; >>everything gets handled the same way. They can get order reports, >>shipping, inventory all via intranet/web. >> >>We still don't enter any original data directly into the orders table, >>but run everything through the catalog, sometimes automated with LWP::UA. >>Keeping the order number unique and sequential and funnelling everything >>through the same validation routines is just too useful an organizing >>principal. That is the ONLY way that I enter orders. If someone calls on the phone to place an order, I hit the web page as them and put the order in. I also charge them a $5 order processing charge for the manual effort. It is so much neater and tidier to have everything in the same format for order processing. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 19, 2001 at 19:00 PM: Smiley faces were meant to be annoying. ---------------------------------------------------------------- This Linux System has been up 92 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 19:30:01 2001 Subject: [ic] Problems with [query] So I'm trying to do something with this tag and having no luck. I have a 'section_display' table which links sections in the 'section' table to each other in a hierarchy with section 0 being the root. Here's the code: [query sql="select sd.sub_section_id, s.name, s.description from section_display as sd, section as s where sd.section_id = 0 and s.section_id = sd.sub_section_id and sd.workflow_status='a' order by sd.display_seq" type=list ] [list] <tr><td>[sql-param name]</td><td>[sql-param description]</td></tr> [/list] [/query] That exact SQL run against the Postgres database yields this: sub_section_id | name | description ----------------+------------+---------------------------------------------- ------- 1 | Books | Many titles on the subjects you really want to know about. 2 | Videos | More videos than you can shake a stick at. Any clue why the query above doesn't work? I've tried "type=html" and no joy resulted. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Wed Sep 19 19:43:01 2001 Subject: [ic] Error in Wizard [interch interch]$ whereis gpg gpg: /usr/local/bin/gpg [interch interch]$ That's the bit I don't understand, it is there in the path, and I do have it installed! I've even gone as far as doing this in my catalog.cfg. EncryptProgram /usr/local/bin/gpg EncryptKey __PGP_KEY__ Any more ideas Mike, I'm at a loss for this one. If I could find more information out, like the actual fork call it is making, I could make some sense out of it. Regards, Ross Cousens -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of mheins@redhat.com Sent: Wednesday, 19 September 2001 11:40 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Error in Wizard Quoting Ross Cousens (rossc@bigpond.net.au): > When between the step of selecting PGP encryption to handle credit card > processing, and the next step where you are supposed to enter the PGP key > etc, I get an internal server error. The following error messages come up in > > httpd error.log > [Tue Sep 18 22:58:57 2001] [error] [client 61.9.208.142] Premature end of > script > headers: /home/sites/site28/web/storm.ic > > interchange catalog error.log > 61.9.208.142 LgFdi8xi:61.9.208.142 - [18/September/2001:22:58:57 -0600] > storm /s > torm.ic/ui Runtime error: Can't fork! at (eval 53) line 12. > > > It can't fork, what exactly is it trying to fork out to here, to run gnupd > to test it's there, not sure how to trace this back, do I need a threaded > perl, or do I need a perl module that handles forking? > That only supports GPG and not PGP. You need to have GnuPG installed and available in the PATH (probably /usr/bin/gpg) for key import to work....the error could be more enlightening, I suppose. -- 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 From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Wed Sep 19 19:59:01 2001 Subject: [ic] Error in Wizard On Thu, 20 Sep 2001, Ross Cousens wrote: > gpg: /usr/local/bin/gpg > [interch interch]$ > > That's the bit I don't understand, it is there in the path, and I do have it > installed! I've even gone as far as doing this in my catalog.cfg. > > EncryptProgram /usr/local/bin/gpg > EncryptKey __PGP_KEY__ Use gpg and add the public key of user@domain.com to the interch or your interchange user keyring. Then... EncryptKey user@domain.com Good Luck, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Sep 19 20:15:00 2001 Subject: [ic] Problems with [query] At 05:29 PM 9/19/2001 -0600, you wrote: >So I'm trying to do something with this tag >and having no luck. I have a 'section_display' table >which links sections in the 'section' table to each >other in a hierarchy with section 0 being the root. > >Here's the code: > >[query sql="select sd.sub_section_id, s.name, s.description from >section_display as sd, section as s where sd.section_id = 0 and s.section_id >= sd.sub_section_id and sd.workflow_status='a' order by sd.display_seq" >type=list ] > [list] > <tr><td>[sql-param name]</td><td>[sql-param description]</td></tr> > [/list] >[/query] > >That exact SQL run against the Postgres database yields this: > > sub_section_id | name | description > >----------------+------------+---------------------------------------------- >------- > 1 | Books | Many titles on the subjects you really want >to know about. > 2 | Videos | More videos than you can shake a stick at. > >Any clue why the query above doesn't work? >I've tried "type=html" and no joy resulted. > >Patrick Bennett >http://www.ccgenesis.com It isn't clear to me what you are saying: 1. I can't get [query] to work for anything. 2. I can't get [query] to work for only this SQL snippet. 3. I can't get [query] to work for any SQL snippet on these tables. 4. I can't get [query] to work when I use [list]. 5. Other? My first guess is that it's because you forgot list=1. Also, I prefer the query written like this: [query type=list list=1 sql=| SELECT sd.sub_section_id, s.name, s.description FROM section_display as sd, section as s WHERE sd.section_id = 0 and s.section_id = sd.sub_section_id AND sd.workflow_status='a' ORDER BY sd.display_seq; | ] [list] <tr><td>[sql-param name]</td><td>[sql-param description]</td></tr> [/list] [/query] The following diagnostic info would be helpful: CATROOT/dbconf/pgsql/section.pgsql CATROOT/dbconf/pgsql/section_display.pgsql CATROOT/error.log (if any) psql: \d section \d section_display HTH, HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 21:14:00 2001 Subject: [ic] credit card info On Wed, Sep 19, 2001 at 12:28:33PM -0700, Ed LaFrance wrote: > At 03:03 PM 09/19/2001 -0400, you wrote: > >I'm facing the same problem with version 4.8. I'm looking for a way to > >process the orders offline via a physical credit card terminal. I have > >not been able to do either one of two things, store the card number in > >the order panel or have it emailed as part of the order notification. > > > >Please let me know if anybody has come up with a solution. I would > >appreciate it. > > > >Regards, > I'm not sure what you mean by "physical credit card terminal". Are you keying in the numbers by hand? Ouch. > Very strange, this resistance to using encryption. You ask if anyone has > come up with a solution to getting credit card numbers emailed to you. The > answer is yes; IC provides a very nice one: You might back up a bit first. Encryption applies to the channel but the workflow has to be right too. If you need to enter the charges to a "physical terminal", look into electronic alternatives, perhaps you can write a formatted batch file suitable for one of the typical dial up cc processing method. Once you figure out how you want the charges to appear the rest will fall into place. If your volume only supports emailing the orders and keying them in manually, then encryption is fine. That does not work well for time sensitive orders or large numbers of transactions where some sort of ssh/samba rig might be better. That, however, implies certain network architecture. If all of this is off base, try to get clearer on the question. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 19 22:53:00 2001 Subject: DBD::Excel (was: Re: [ic] Help shop doesnt't work this morning :() Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > mheins@redhat.com writes: > > [...] > > > > > > > > > Also, if you have the Spreadsheet::ParseExcel and Spreadsheet::WriteExcel > > > > modules installed, you can export/import XLS files directly. (Remember > > > > to make the sheet name the table name, as is done on export.) > > > > > > Yeah, and AFAIK there are DBI modules out for XLS files :-; > > > > > > > Yes, it even works with Interchange, but it is read-only. Same for > > DBD::Xbase. > > Hm, why ? I remember a Debian package libdbd-excel-perl, which depends > on libspreadsheet-parseexcel-perl _and_ libspreadsheet-writeexcel-perl, > though the software is declared as alpha. Yes, it does, but in my testing writes *appear* to work but don't. The XLS file does not change, and even subsequent accesses to a modified record don't reflect the update. Of course this may have changed by now; I tested it with Interchange approximately 3 months ago. -- 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 (crouzer) Date: Thu Sep 20 02:38:00 2001 Subject: [ic] FreeBSD rc file startup bug in v4.8.2 I believe this is an environment issue but I can't find it. I also believe this is a bug and will report it, but would like to hear if there is a work around for this. The only "work-around" is to login and start Interchange manually which is not acceptable to me. I would consider this a major bug as this keeps Interchange from running normally on server bootup. I am not sure if this is strictly related to FreeBSD or others are affected. Changing the interch users shell from "sh" to "csh" had worse results. rc.local: su interch /usr/local/interchange/bin/interchange --start or su - interch /usr/local/interchange/bin/interchange --start When starting Interchange v4.8.2 on boot up the following catalog errors occur. - - - [19/September/2001:02:57:28 -0400] - - Interchange V4.8.2 - - - [19/September/2001:02:57:28 -0400] - - Config 'catalog123' at server startup - - - [19/September/2001:02:57:29 -0400] - - catalog123 config error: Please specify the Message directive in the configuration file '' > - - - [19/September/2001:02:57:29 -0400] - - catalog123: config error. Skipping. __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (crouzer) Date: Thu Sep 20 02:46:00 2001 Subject: [ic] RE: FreeBSD rc file startup bug in v4.8.2 (operator error) My fault. Operator as usual. Thanks for a cool product. __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 20 02:57:00 2001 Subject: [ic] Problems with [query] patrick.bennett@ccgenesis.com writes: > So I'm trying to do something with this tag > and having no luck. I have a 'section_display' table > which links sections in the 'section' table to each > other in a hierarchy with section 0 being the root. > > Here's the code: > > [query sql="select sd.sub_section_id, s.name, s.description from > section_display as sd, section as s where sd.section_id = 0 and s.section_id > = sd.sub_section_id and sd.workflow_status='a' order by sd.display_seq" > type=list ] > [list] > <tr><td>[sql-param name]</td><td>[sql-param description]</td></tr> > [/list] > [/query] What's the result ? Anything in your error log ? Shot in the dark: Try [sql-param 1] and [sql-param 2] instead. 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 (Jason Osborne) Date: Thu Sep 20 05:43:01 2001 Subject: [ic] Error while starting Interchange I added my first usertag today to parse xml data. Here is my problem: Can't locate object method "new" via package "XML::Parser" at (eval 117) line 47, <GLOBAL> line 118. In line 118 of the configuration file 'usertag/ups_ad.tag': UserTag ups-ad Routine <<EOR and a few snipped lines from my tag file: my $hole; BEGIN { eval { require Safe::Hole; $hole = new Safe::Hole; }; } [...] my $parser = $hole->wrap(new XML::Parser (ErrorContext => 2, Style => "Tree")); my $xmlobj = new XML::SimpleObject ($parser->parse($response)); I tried it without Safe::Hole. It did not make a difference, same error. Also, XML::SimpleObject ran without a glitch. >From Catalog.cfg: Require module LWP::UserAgent Require module XML::Parser Require module XML::SimpleObject [...] Require ups-ad ups_ad.tag Just in case, I checked XML::Parser (Parser.pm) and the sub is there. Also, the script runs fine on the same server as a stand-alone script. Any ideas guys? It would be much appreciated. Thanks, Jason Osborne Data and Telecom Network Solutions 3847 Timberglen Rd., STE 4013 Dallas, Texas 75287 phone: 972-307-0676 fax: 972-662-7956 e-mail: sales@sohonetworks.cc web: http://www.sohonetworks.cc From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 20 06:14:01 2001 Subject: [ic] Error while starting Interchange "Jason Osborne" <jason@sohonetworks.cc> writes: > I added my first usertag today to parse xml data. Here is my problem: > > Can't locate object method "new" via package "XML::Parser" at (eval 117) > line 47, <GLOBAL> line 118. > In line 118 of the configuration file 'usertag/ups_ad.tag': UserTag ups-ad > Routine <<EOR > > and a few snipped lines from my tag file: > > my $hole; > BEGIN { > eval { > require Safe::Hole; > $hole = new Safe::Hole; }; > } > [...] > my $parser = $hole->wrap(new XML::Parser (ErrorContext => 2, Style => > "Tree")); > my $xmlobj = new XML::SimpleObject ($parser->parse($response)); You don't need Safe::Hole for this. In a _global_ usertag you can do sth like this: UserTag entrance_agent Order url cookie UserTag entrance_agent Routine <<EOF sub { my ($url, $cookie) = @_; eval { require LWP::UserAgent; require HTTP::Cookies; }; if ($@) { ::logError("Cannot use entrance_agent, no LWP modules installed"); return; } my $ua = new LWP::UserAgent; my $cookie_jar = new HTTP::Cookies; $ua->cookie_jar ($cookie_jar); my $request = new HTTP::Request ('GET', $url); my $response; ... Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 20 08:25:00 2001 Subject: [ic] Tree Help Quoting Eieken@aol.com (Eieken@aol.com): > I have a problem using the [tree] tag. I made a table with two fields parent_fld and child_fld to use the example text in the ic dox, but even the simple example didn't display what I wanted. The code is here, and it looks as though it SHould work under the circumstances.. > > Table: > parent_fld child_fld > 99 a > a b > a c > c v > a d > a x > x y > x z > z q > q w > a y > y l > l p > p k > 99 m > 99 n > 99 o > o e > o f > o g > That isn't a valid Interchange table. It must have a unique key.... code parent_fld child_fld 0001 99 a 0002 a b 0003 a c 0004 c v 0005 a d 0006 a x 0007 x y 0008 x z 0009 z q 0010 q w 0011 a y 0012 y l 0013 l p 0014 p k 0015 99 m 0016 99 n 0017 99 o 0018 o e 0019 o f 0020 o g -- 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 (Doug Alcorn) Date: Thu Sep 20 09:04:00 2001 Subject: FAQ: Adding new columns to tables (was: [ic] Adding fields using mysql) "Zack Johnson" <zack@office.standardprinting.net> writes: > I'm lost on this one. I checked through the IC Docs/mail archives, > but most of everything seems focused on products, not tables in > general. I know I've answered this a couple of times. I think this needs to go in the FAQ somewhere. Here's the answer I would give. First, sql tables are created iff there is no tablename.sql (and there's some catalog setting that determines if you always create the table on startup, but I can't find it right now). The layout for the tables are determined _entirely_ from the column headings in the tablename.txt. The column type is determined from the COLUMN_DEF if one exists for the specified column name. If there's not a COLUMN_DEF, then the default column definition is used. Armed with this information, Ed's procedure he outlined should make sense. The only reason I posted this was to give the background on how IC performs it's logic for table creation. Hopefully this will show up in the FAQ. At the least it should show up in a google search on table creation in interchange or adding columns in interchange. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Thu Sep 20 09:09:00 2001 Subject: [ic] Interchange Webcast invitation Jon Jensen <jon@redhat.com> writes: > > ps. Could you give the time in GMT? I have no clue what a UTC time is... > > UTC = GMT. See http://www.dxing.com/utcgmt.htm for a little more info. I like to think of it like this: If the Brits actually get to be time zero at least it can be called by a French name... :) -- (__) 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 (Javier Martin) Date: Thu Sep 20 11:25:01 2001 Subject: [ic] How to join tables with the [query] tag Hi, I would like to know if there's someone who has experienced the same as me. I'm trying to provide the admin UI with a new feature: report the total revenue PER PRODUCT. This is useful if you want to know how products perform independently from each other, and specially if the items are soft goods and you have not such a thing as an inventory. The problem comes when I try to join the tables 'transactions' and 'orderline' by the field 'order_number'. This allows knowing on which campaign was sold the product, etc. It says "Parse error near .affiliate". The exact parameters of the [query] tag are: [query st=db table=transactions hashref=main sql=" select transactions.affiliate, transactions.campaign, etc. etc (see the log below). "][/query] The error.log shows: ----------------------------------------------------------- 192.168.0.58 rxf5tZ3J:192.168.0.58 - [20/September/2001:16:51:09 +0000] foundation /cgi-bin/foundation/admin/reports/per_item/ByAffiliate Bad SQL statement: Parse error near .affiliate, > transactions.campaign, > transactions.order_date, > transactions.order_number, > orderline.order_number, > orderline.sku, > orderline.subtotal > from transactions, orderline > WHERE > transactions.order_number = orderline.order_number and > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > transactions.deleted != '1' > order by affiliate, campaign, order_date > at /usr/lib/interchange/lib/Vend/Scan.pm line 586. > > Query was: > select transactions.affiliate, > transactions.campaign, > transactions.order_date, > transactions.order_number, > orderline.order_number, > orderline.sku, > orderline.subtotal > from transactions, orderline > WHERE > transactions.order_number = orderline.order_number and > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > transactions.deleted != '1' > order by affiliate, campaign, order_date > 192.168.0.58 rxf5tZ3J:192.168.0.58 - [20/September/2001:16:51:10 +0000] foundation /cgi-bin/foundation/admin/reports/per_item/ByAffiliate Query rerouted from table transactions failed: Bad SQL statement: Parse error near .affiliate, > transactions.campaign, > transactions.order_date, > transactions.order_number, > orderline.order_number, > orderline.sku, > orderline.subtotal > from transactions, orderline > WHERE > transactions.order_number = orderline.order_number and > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > transactions.deleted != '1' > order by affiliate, campaign, order_date > at /usr/lib/interchange/lib/Vend/Scan.pm line 586. > > Query was: > select transactions.affiliate, > transactions.campaign, > transactions.order_date, > transactions.order_number, > orderline.order_number, > orderline.sku, > orderline.subtotal > from transactions, orderline > WHERE > transactions.order_number = orderline.order_number and > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > transactions.deleted != '1' > order by affiliate, campaign, order_date > at /usr/lib/interchange/lib/Vend/Table/DBI.pm line 1544 > > Query was: > select transactions.affiliate, > transactions.campaign, > transactions.order_date, > transactions.order_number, > orderline.order_number, > orderline.sku, > orderline.subtotal > from transactions, orderline > WHERE > transactions.order_number = orderline.order_number and > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > transactions.deleted != '1' > order by affiliate, campaign, order_date > 192.168.0.58 rxf5tZ3J:192.168.0.58 - [20/September/2001:16:51:10 +0000] foundation /cgi-bin/foundation/admin/reports/per_item/ByAffiliate query returned "" ---------------------------------------------------------------- Thanks in advance, Javier From: interchange-users at interchange.redhat.com (Donal H.) Date: Thu Sep 20 12:34:01 2001 Subject: [ic] How to join tables with the [query] tag > The problem comes when I try to join the tables 'transactions' and > 'orderline' by the field 'order_number'. This allows knowing on which > campaign was sold the product, etc. It says "Parse error near .affiliate". > The exact parameters of the [query] tag are: ... > sql=" > select transactions.affiliate, > transactions.campaign, Are you using an sql database? I tried a very basic "select [table].[column] from [table]" with a shop using Postgres and it worked fine. With a shop that uses the standard IC database, it generates that parse error! Sounds like either it's a bug in the parser or else it's not supported with that database type. -Donal From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 12:37:00 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Hello, We just launched the new CaseEtc.com two days ago and are now using the newest PGP and newest Verisign software. This is to alert all of those using the Verisign program to double check their order reports and verisign reports for double and triple charges as well as single charges where the order was not pushed through IC as valid. This problem occurs when the connection to Verisign's server times out. The verisign client will return a -12 as the result code. The Verisign IC module interprets this has a failed charge. However in this situation the charge could be valid or it could be invalid. The reason being is that the sales request is making it to Verisign and Verisign is processing the card for the amount passed. However the IC server is not receiving the response back from Verisign so the IC server tells the user to try again or call in their order. The user then pushes the checkout button again and this whole process can either repeat (possibly resulting in 3+ charges), or the order is successful resulting in two charges, or the user does not attempt again and walks away (we had this on two occasions, luckily they were repeat customers we have since contacted). This problem did not happen in our test bed however it has happened often on the live server up until this morning where all orders were either successful the first time or declined for some other reason. I'm still contemplating how to fix the Verisign module and I'd like to hear form the community on which path I should take. One path is to check the return code of the Verisign client for a '-12' in this event immediately send out another verisign transaction with a void for the last transaction sent. Then tell the user something about a communications error while processing the card, please try again. This would void the transaction IF it went through and allow the user to process their order again. The second path would be to check the return code for a '-12' and in this event allow the order to go through, but flag it on the email sent to the shop owner that we did not receive a response from Verisign. This would then not alert the user that there was a problem and allow the order to go through. But the shop owner would then have to verify the funds were received. If they were not received then the owner would have to rerun the card. I'm open to any other suggestions/solutions. I'm not sure which path to take, I just know that it needs to be fixed soon because this looks like the only time a charge can get through and the order not be accepted by IC. We also received an email from Verisign alerting us that they were not receiving a response back from our server after a transaction. It looks like this: ------------------------------------------------------------------------ --------------------------------------------------- We have identified that the following approved transaction(s) processed through your account have been identified as unknown status transaction(s). This occurs when the VeriSign production servers do not recognize that your e-commerce server has received the authorization results from an approved transaction. This value-added service is designed to prevent your customers from being billed when there is uncertainty that you received the results of their order. The unknown status transaction details are as follows: VID Trans_Id Trans_Time Result Amount xxxxx xxxxxxxxxxxx 9/18/01 9:49:15 PM 0 $102.73 xxxxx xxxxxxxxxxxx 9/18/01 9:50:50 PM 0 $102.73 xxxxx xxxxxxxxxxxx 9/18/01 10:15:43 PM 0 $34.63 These transaction(s) will not be settled until you provide us with confirmation that you have received the order. If you wish to settle this transaction, please respond to this message at your earliest convenience. Thank you for your time. Please let us know if you have additional questions about this process. Regards, Customer Service Verisign Payment Services (888)883-9770 vps-support@verisign.com ------------------------------------------------------------------------ --------------------------------------------------- Thanks for your time! -Ron From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Thu Sep 20 12:51:00 2001 Subject: [ic] Interchange Templates Greetings Group, I got the Interchange 4.8 Documentation book set and have started to read them. One thing it mentioned is that there are available templates that are online at the following location. http://interchange.redhat.com. Does anyone know where these are? We have the templates that came with the initial install and the foundation demo, but are there others out there too?? Thanks for any help! Nathan From: interchange-users at interchange.redhat.com (Javier Martin) Date: Thu Sep 20 13:01:00 2001 Subject: [ic] How to join tables with the [query] tag > > The problem comes when I try to join the tables 'transactions' and > > 'orderline' by the field 'order_number'. This allows knowing on which > > campaign was sold the product, etc. It says "Parse error near > .affiliate". > > The exact parameters of the [query] tag are: > ... > > sql=" > > select transactions.affiliate, > > transactions.campaign, > > Are you using an sql database? > > I tried a very basic "select [table].[column] from [table]" with a shop > using Postgres and it worked fine. With a shop that uses the standard IC > database, it generates that parse error! Sounds like either it's a bug in > the parser or else it's not supported with that database type. Yes, I'm using an SQL database (Postgres). I've tried the same sentence from the isql prompt and the syntax is apparently correct. I've also tried the [table] syntax with the brackets, but no luck. I'm sure this has to be a nonsense, but I've already spent half a day with this... I'm really looking forward to work it out! Javier From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Sep 20 13:03:01 2001 Subject: [ic] How to join tables with the [query] tag > > 192.168.0.58 rxf5tZ3J:192.168.0.58 - [20/September/2001:16:51:09 +0000] > foundation /cgi-bin/foundation/admin/reports/per_item/ByAffiliate Bad SQL > statement: Parse error near .affiliate, > > transactions.campaign, > > transactions.order_date, > > transactions.order_number, > > orderline.order_number, > > orderline.sku, > > orderline.subtotal > > from transactions, orderline > > WHERE > > transactions.order_number = orderline.order_number and > > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shouldn't that be: orderline.sku = '00dc9066f52ad31184eb0080c70ea797' ^ ^ What is your complete [query] code? Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 20 13:09:00 2001 Subject: [ic] How to join tables with the [query] tag "Javier Martin" <martin@trymedia.com> writes: [...] > > > > Query was: > > select transactions.affiliate, > > transactions.campaign, > > transactions.order_date, > > transactions.order_number, > > orderline.order_number, > > orderline.sku, > > orderline.subtotal > > from transactions, orderline > > WHERE > > transactions.order_number = orderline.order_number and > > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 Here are quotes missing. Use: orderline.sku = '00dc9066f52ad31184eb0080c70ea797' > > transactions.deleted != '1' > > order by affiliate, campaign, order_date > > I would use: select T.affiliate, ..., O.order_number, ... from transactions T, orderline O where ... What database you are using ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Sep 20 13:11:01 2001 Subject: [ic] Redhat books in Europe? Hi All, At the end of july I wrote about the problem getting the IC books in Europe, and myself and people on this list contacted to Neil Castle, in charge of e-commerce products for RedHat Europe. I have heard nothing since. I emailed Neil again on monday and so far have had no reply. Does anyone at Redhat know the situation with the availability in europe? I _want_ to spend my money. :o) Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Javier Martin) Date: Thu Sep 20 13:27:01 2001 Subject: [ic] How to join tables with the [query] tag > > > Query was: > > > select transactions.affiliate, > > > transactions.campaign, > > > transactions.order_date, > > > transactions.order_number, > > > orderline.order_number, > > > orderline.sku, > > > orderline.subtotal > > > from transactions, orderline > > > WHERE > > > transactions.order_number = orderline.order_number and > > > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > > Here are quotes missing. Use: > > orderline.sku = '00dc9066f52ad31184eb0080c70ea797' That's it, also Jonathan pointed this out. Thank both you, it works ok now. I was confused by the fact that the parser signaled the syntax error near 'transactions.affiliate', which is actually so far from the error :) > I would use: > > select T.affiliate, ..., O.order_number, ... > from transactions T, orderline O > where ... > > What database you are using ? Postgres. Javier From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 20 13:31:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Quoting Ron Phipps (rphipps@reliant-solutions.com): > Hello, > > We just launched the new CaseEtc.com two days ago and are now using the > newest PGP and newest Verisign software. This is to alert all of those > using the Verisign program to double check their order reports and > verisign reports for double and triple charges as well as single charges > where the order was not pushed through IC as valid. > > This problem occurs when the connection to Verisign's server times out. > The verisign client will return a -12 as the result code. The Verisign > IC module interprets this has a failed charge. However in this > situation the charge could be valid or it could be invalid. The reason > being is that the sales request is making it to Verisign and Verisign is > processing the card for the amount passed. However the IC server is not > receiving the response back from Verisign so the IC server tells the > user to try again or call in their order. The user then pushes the > checkout button again and this whole process can either repeat (possibly > resulting in 3+ charges), or the order is successful resulting in two > charges, or the user does not attempt again and walks away (we had this > on two occasions, luckily they were repeat customers we have since > contacted). > > This problem did not happen in our test bed however it has happened > often on the live server up until this morning where all orders were > either successful the first time or declined for some other reason. > > I'm still contemplating how to fix the Verisign module and I'd like to > hear form the community on which path I should take. > > One path is to check the return code of the Verisign client for a '-12' > in this event immediately send out another verisign transaction with a > void for the last transaction sent. Then tell the user something about > a communications error while processing the card, please try again. This > would void the transaction IF it went through and allow the user to > process their order again. This would seem to be a bug in the Verisign client and have nothing to do with Interchange. While you might be able to work around it by doing some sort of return query to verify (i.e. query the txn_id upon receiving a -12) it is a very bad move on the part of their client. If something times out and their client can field that, it should never result in an entered transaction. Are you positive some portion of the client is not having some basic system resource problem? What does a -12 error really mean? 12 in the system error numbers is usually ENOMEM; is it possible that your Interchange user ID is running out of memory on the system due to quotas or some virtual server memory limitations? I wish I could be optimistic about Verisign fixing this, but I bet that they are spending most of their resources figuring out new ways to spam their Network Solutions database. ;-\ -- 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 (Donal H.) Date: Thu Sep 20 13:33:01 2001 Subject: [ic] How to join tables with the [query] tag > > 192.168.0.58 rxf5tZ3J:192.168.0.58 - [20/September/2001:16:51:09 +0000] > > foundation /cgi-bin/foundation/admin/reports/per_item/ByAffiliate Bad SQL > > statement: Parse error near .affiliate, > > > transactions.campaign, > > > transactions.order_date, > > > transactions.order_number, > > > orderline.order_number, > > > orderline.sku, > > > orderline.subtotal > > > from transactions, orderline > > > WHERE > > > transactions.order_number = orderline.order_number and > > > orderline.sku = 00dc9066f52ad31184eb0080c70ea797 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > shouldn't that be: > > orderline.sku = '00dc9066f52ad31184eb0080c70ea797' I think there was a missing "and" at the end of that line in your original message. -Donal From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 20 13:36:00 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC At 09:32 AM 09/20/2001 -0700, you wrote: >Hello, > >We just launched the new CaseEtc.com two days ago and are now using the >newest PGP and newest Verisign software. This is to alert all of those >using the Verisign program to double check their order reports and >verisign reports for double and triple charges as well as single charges >where the order was not pushed through IC as valid. > >This problem occurs when the connection to Verisign's server times out. >The verisign client will return a -12 as the result code. The Verisign >IC module interprets this has a failed charge. However in this >situation the charge could be valid or it could be invalid. The reason >being is that the sales request is making it to Verisign and Verisign is >processing the card for the amount passed. However the IC server is not >receiving the response back from Verisign so the IC server tells the >user to try again or call in their order. The user then pushes the >checkout button again and this whole process can either repeat (possibly >resulting in 3+ charges), or the order is successful resulting in two >charges, or the user does not attempt again and walks away (we had this >on two occasions, luckily they were repeat customers we have since >contacted). > >This problem did not happen in our test bed They never do! :-/ > however it has happened >often on the live server up until this morning where all orders were >either successful the first time or declined for some other reason. > >I'm still contemplating how to fix the Verisign module and I'd like to >hear form the community on which path I should take. > >One path is to check the return code of the Verisign client for a '-12' >in this event immediately send out another verisign transaction with a >void for the last transaction sent. Then tell the user something about >a communications error while processing the card, please try again. This >would void the transaction IF it went through and allow the user to >process their order again. > >The second path would be to check the return code for a '-12' and in >this event allow the order to go through, but flag it on the email sent >to the shop owner that we did not receive a response from Verisign. >This would then not alert the user that there was a problem and allow >the order to go through. But the shop owner would then have to verify >the funds were received. If they were not received then the owner would >have to rerun the card. > >I'm open to any other suggestions/solutions. I'm not sure which path to >take, I just know that it needs to be fixed soon because this looks like >the only time a charge can get through and the order not be accepted by >IC. Well, that bites! I think your latter option (allowing the order to go through an flagging the store notification that a communications problem occurred) is the better idea an should be the standard response to such a situation (perhaps you could share the modifications). If communications failures are occurring between your server and Verisign's, retrying will probably just exacerbate the problem overall. Of course that is a short-term solution; getting to the bottom of these timeouts is what is really required. Since Verisign now owns CyberCash, this would be of general concern, I think. Did Verisign have anything to say about this? Nimda worm? - 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 (Eduardo Dominguez) Date: Thu Sep 20 13:38:03 2001 Subject: [ic] webcast, where ? didnt get info back i registered but never got info saying where it is going to be.. can anyone give me more info ? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 14:05:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Ed LaFrance > At 09:32 AM 09/20/2001 -0700, you wrote: > >Hello, > > > >We just launched the new CaseEtc.com two days ago and are now using the > >newest PGP and newest Verisign software. This is to alert all of those > >using the Verisign program to double check their order reports and > >verisign reports for double and triple charges as well as single charges > >where the order was not pushed through IC as valid. > > > >This problem occurs when the connection to Verisign's server times out. > >The verisign client will return a -12 as the result code. The Verisign > >IC module interprets this has a failed charge. However in this > >situation the charge could be valid or it could be invalid. The reason > >being is that the sales request is making it to Verisign and Verisign is > >processing the card for the amount passed. However the IC server is not > >receiving the response back from Verisign so the IC server tells the > >user to try again or call in their order. The user then pushes the > >checkout button again and this whole process can either repeat (possibly > >resulting in 3+ charges), or the order is successful resulting in two > >charges, or the user does not attempt again and walks away (we had this > >on two occasions, luckily they were repeat customers we have since > >contacted). > > > >This problem did not happen in our test bed > > They never do! :-/ So true, same thing happened last time we launched the site. Had CC errors that only happened on the live side :( > > however it has happened > >often on the live server up until this morning where all orders were > >either successful the first time or declined for some other reason. > > > >I'm still contemplating how to fix the Verisign module and I'd like to > >hear form the community on which path I should take. > > > >One path is to check the return code of the Verisign client for a '-12' > >in this event immediately send out another verisign transaction with a > >void for the last transaction sent. Then tell the user something about > >a communications error while processing the card, please try again. This > >would void the transaction IF it went through and allow the user to > >process their order again. > > > >The second path would be to check the return code for a '-12' and in > >this event allow the order to go through, but flag it on the email sent > >to the shop owner that we did not receive a response from Verisign. > >This would then not alert the user that there was a problem and allow > >the order to go through. But the shop owner would then have to verify > >the funds were received. If they were not received then the owner would > >have to rerun the card. > > > >I'm open to any other suggestions/solutions. I'm not sure which path to > >take, I just know that it needs to be fixed soon because this looks like > >the only time a charge can get through and the order not be accepted by > >IC. > > Well, that bites! I think your latter option (allowing the order to go > through an flagging the store notification that a communications problem > occurred) is the better idea an should be the standard response to such a > situation (perhaps you could share the modifications). If communications > failures are occurring between your server and Verisign's, retrying will > probably just exacerbate the problem overall. Of course that is a > short-term solution; getting to the bottom of these timeouts is what is > really required. Since Verisign now owns CyberCash, this would be of > general concern, I think. Yeah it does bite. I'm glad we saw that this was happening though. It seems it could happen at any time and we would not be alerted to it until we audited our reports. I imagine this will be of general concern "IF" Verisign plans to phase out the cybercash module. We saw that certain users would attempt 2-3 times before the order goes through, causing double charges. I'm still torn on which route to go, in the first case the customer is alerted to the problem right away and they can retry. In the second case the user is not alerted until the shop owner contacts them, although they may not be contacted in all cases. The second path however requires manual steps to fulfill the order, whereas the 1st path puts it on the user to try again. Hrmm..... I will definitely share any modifications that I end up performing on the Verisign IC module to get around this problem until VSign can find a permanent solution. > > Did Verisign have anything to say about this? Nimda worm? > > - Ed L. I sent an email off to them last night after we received the warning from their system. I will share their response. Thanks! -Ron From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 14:30:02 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > Hello, > > > > We just launched the new CaseEtc.com two days ago and are now using the > > newest PGP and newest Verisign software. This is to alert all of those > > using the Verisign program to double check their order reports and > > verisign reports for double and triple charges as well as single charges > > where the order was not pushed through IC as valid. > > > > This problem occurs when the connection to Verisign's server times out. > > The verisign client will return a -12 as the result code. The Verisign > > IC module interprets this has a failed charge. However in this > > situation the charge could be valid or it could be invalid. The reason > > being is that the sales request is making it to Verisign and Verisign is > > processing the card for the amount passed. However the IC server is not > > receiving the response back from Verisign so the IC server tells the > > user to try again or call in their order. The user then pushes the > > checkout button again and this whole process can either repeat (possibly > > resulting in 3+ charges), or the order is successful resulting in two > > charges, or the user does not attempt again and walks away (we had this > > on two occasions, luckily they were repeat customers we have since > > contacted). > > > > This problem did not happen in our test bed however it has happened > > often on the live server up until this morning where all orders were > > either successful the first time or declined for some other reason. > > > > I'm still contemplating how to fix the Verisign module and I'd like to > > hear form the community on which path I should take. > > > > One path is to check the return code of the Verisign client for a '-12' > > in this event immediately send out another verisign transaction with a > > void for the last transaction sent. Then tell the user something about > > a communications error while processing the card, please try again. This > > would void the transaction IF it went through and allow the user to > > process their order again. > > This would seem to be a bug in the Verisign client and have nothing to > do with Interchange. While you might be able to work around it by doing > some sort of return query to verify (i.e. query the txn_id upon > receiving a -12) it is a very bad move on the part of their client. If > something times out and their client can field that, it should never > result in an entered transaction. I definitely agree that this seems like a bug in the Verisign client and I have contacted their support staff to see which steps to take. It appears that they have taken steps to know when this occurs since we received the automated email that said to the effect "a response was never received and these transactions will not be fulfilled until you contact us". Although it would be better if the transaction was automatically voided or never even accepted if the client does not receive the response, we then wouldn't have this problem. > Are you positive some portion of the client is not having some > basic system resource problem? What does a -12 error really mean? > 12 in the system error numbers is usually ENOMEM; is it possible that > your Interchange user ID is running out of memory on the system due > to quotas or some virtual server memory limitations? It could be a system resource problem, however it should not be due to any user restrictions. The IC server is not running on a virtual server and it is only running this one catalog with each user having full access to available memory and disk space. The server is a dual 450 with 256mb ram. We will be adding another 256mb ram tonight just in case this is the issue. A -12 based on Verisign's response codes is equal: Timeout waiting for response. This would be in line with Verisign sending us an email saying the transaction timed out. I increased the timeout value from 10 to 30 last night and after doing so received 3-4 more orders that had this same problem. However starting this morning all orders have gone through without this problem. I'm keeping a close eye on it to make sure it does not continue to happen. Here is what I see in the icdebug when a transaction times out and when a transaction completes. Notice that there is no result string received the first time. Timed out transaction: Vend::Payment:debug: signio query: { 'TRXTYPE' => 'S', 'TENDER' => 'C', 'AMT' => '22.69', 'ZIP' => 97520, 'STREET' => '500 A Road', 'SHIPTOZIP' => 97520, 'ACCT' => '4719xxxxxxxxxxxx', 'EXPDATE' => '0104', 'PWD' => 'xxx', 'PARTNER' => 'Verisign', 'VENDOR' => undef, 'ORIGID' => '01091921534730830', 'USER' => 'xxx' } Vend::Payment:debug: signio call: /usr/local/ic/lib/pfpro payflow.verisign.com 443 "TRXTYPE=S&TENDER=C&AMT=22.69&ZIP=97520&STREET=500 A Road&SHIPTOZIP=97520&ACCT=4719xxxxxxxxxxxx &EXPDATE=0104&PWD=xxx&PARTNER=Verisign&VENDOR=&ORIGID=01091921534730830& USER=xxx" 10 > /home/store/store/tmp/signio.01091921534730830 Vend::Payment:debug: signio decline=12 result: [no result string] Vend::Payment:debug: signio decline=0 result: { 'ICSTATUS' => 'failed', 'MStatus' => 'failed', 'pop.status' => 'failed', 'pop.error-message' => 'Charge error: Reason: . Please call in your order or try again.', 'MErrMsg' => 'Charge error: Reason: . Please call in your order or try again.' } Complete transaction seconds later with same information: Vend::Payment:debug: signio query: { 'TRXTYPE' => 'S', 'TENDER' => 'C', 'AMT' => '22.69', 'ZIP' => 97520, 'STREET' => '500 A Road', 'SHIPTOZIP' => 97520, 'ACCT' => '4719xxxxxxxxxxxx', 'EXPDATE' => '0104', 'PWD' => 'xxx', 'PARTNER' => 'Verisign', 'VENDOR' => undef, 'ORIGID' => '01091921534730830', 'USER' => 'xxx' } Vend::Payment:debug: signio call: /usr/local/ic/lib/pfpro payflow.verisign.com 443 "TRXTYPE=S&TENDER=C&AMT=22.69&ZIP=97520&STREET=500 A Road&SHIPTOZIP=97520&ACCT=4719xxxxxxxxxxxx &EXPDATE=0104&PWD=xxx&PARTNER=Verisign&VENDOR=&ORIGID=01091921534730830& USER=xxx" 10 > /home/store/store/tmp/signio.01091921534730830 Vend::Payment:debug: signio decline=0 result: RESULT=0&PNREF=xxx&RESPMSG=Approved&AUTHCODE=018564&AVSADDR=N&AVSZIP=Y Vend::Payment:debug: signio decline=0 result: { 'ICSTATUS' => 'success', 'MStatus' => 'success', 'pop.status' => 'success', 'pop.avs_code' => 'Y ', 'pop.avs_addr' => 'N', 'RESPMSG' => 'Approved', 'pop.order-id' => 'xxx', 'AVSADDR' => 'N', 'order-id' => 'VPNA03831778', 'pop.auth-code' => 'xxx', 'pop.avs_zip' => 'Y ', 'PNREF' => 'xxxx', 'AUTHCODE' => 'xxx', 'AVSZIP' => 'Y ', 'RESULT' => '0' } > I wish I could be optimistic about Verisign fixing this, but I bet > that they are spending most of their resources figuring out new ways to > spam their Network Solutions database. ;-\ LOL, I was surprised you responded based on the company involved. You'll probably receive 100 emails today from them for that one comment. ;) -Ron From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Thu Sep 20 14:49:01 2001 Subject: [ic] Interchange 4.8.2 now available Interchange 4.8.2 is now available! It is the recommended version for production catalogs and new development. This release includes many improvements to the admin UI localization, a few minor feature enhancements, and several bugfixes. See the full list of changes in the WHATSNEW file: http://ftp.interchange.redhat.com/interchange/WHATSNEW You can download it now at: http://interchange.redhat.com/cgi-bin/ic/download.html Jon From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 20 15:07:00 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Quoting Ron Phipps (rphipps@reliant-solutions.com): > I definitely agree that this seems like a bug in the Verisign client and > I have contacted their support staff to see which steps to take. It > appears that they have taken steps to know when this occurs since we > received the automated email that said to the effect "a response was > never received and these transactions will not be fulfilled until you > contact us". Although it would be better if the transaction was > automatically voided or never even accepted if the client does not > receive the response, we then wouldn't have this problem. > > > Are you positive some portion of the client is not having some > > basic system resource problem? What does a -12 error really mean? > > 12 in the system error numbers is usually ENOMEM; is it possible that > > your Interchange user ID is running out of memory on the system due > > to quotas or some virtual server memory limitations? > > It could be a system resource problem, however it should not be due to > any user restrictions. The IC server is not running on a virtual server > and it is only running this one catalog with each user having full > access to available memory and disk space. The server is a dual 450 > with 256mb ram. We will be adding another 256mb ram tonight just in > case this is the issue. I doubt it; normally unless you are maxing swap on UNIX/Linux (not likely, since you don't mention general speed problems) you would not receive an ENOMEM. The only OS I have seen that on is BSD -- you don't mention what you are using. If you *are* using BSD, IRIX, or some classic System V variant, I would suspect signal problems. On Linux that is unlikely in the extreme. -- 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 (interchange-users at interchange.redhat.com) Date: Thu Sep 20 15:09:00 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Quoting Ron Phipps (rphipps@reliant-solutions.com): > > I wish I could be optimistic about Verisign fixing this, but I bet > > that they are spending most of their resources figuring out new ways > to > > spam their Network Solutions database. ;-\ > > LOL, I was surprised you responded based on the company involved. No, I answered because you asked. I appreciate your help to other users -- I usually try to answer questions from frequent question-answerers. 8-) > You'll probably receive 100 emails today from them for that one comment. > ;) > No, Mail::Agent and sendmail take care of that. If it comes through my mail system, and has a Verisign fingerprint on it, it goes to /dev/null. The one day I opened that up after I thought they may have learned their lesson (and when I did the Verisign module based on my original globalsub/signio) they spammed me that same day and the door closed again. Once I removed my former Internic contact address (I use Dotster these days, and have never received a spam from them) then I was completely free of Verisign-sponsored spam. -- 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 (Brendan Crosser-McGay) Date: Thu Sep 20 15:39:01 2001 Subject: [ic] [tree] memo toggling Can someone give me a little insight into how memo and toggle work in relation to the [tree] tag. I'm trying to make windows-explorer-like expanding categories with unlimited amounts of subcategories (limited by system of course). I know most of the ways of doing this but I know that the toggle parameter must be the key to making these subcategories work right. If there is one variable for each leaf of the tree, I can't figure out how to make tree distinguish between one leaf and the next. I don't know where to start with this so if anyone can just give me a little boost I would be very much appreciative. -Brendan From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 15:43:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > Are you positive some portion of the client is not having some > > > basic system resource problem? What does a -12 error really mean? > > > 12 in the system error numbers is usually ENOMEM; is it possible that > > > your Interchange user ID is running out of memory on the system due > > > to quotas or some virtual server memory limitations? > > > > It could be a system resource problem, however it should not be due to > > any user restrictions. The IC server is not running on a virtual server > > and it is only running this one catalog with each user having full > > access to available memory and disk space. The server is a dual 450 > > with 256mb ram. We will be adding another 256mb ram tonight just in > > case this is the issue. > > I doubt it; normally unless you are maxing swap on UNIX/Linux (not > likely, since you don't mention general speed problems) you would not > receive an ENOMEM. The only OS I have seen that on is BSD -- you don't > mention what you are using. If you *are* using BSD, IRIX, or some > classic System V variant, I would suspect signal problems. On Linux that > is unlikely in the extreme. The swap has over 200 megs free and the available memory is at about 40 megs, should be enough of a cushion. This may be a bandwidth problem though as I have seen a degradation in speed over the last week. We'll be fixing that situation this weekend when the servers are moved to a new provider. We are running all of our servers on RedHat Linux so based on your analysis this would not be the issue. Good news continues, the orders are being processed without the problem reoccurring. If we see the issue again I may downgrade to v2 of Verisign to see if it's related to the new client. Who would of thought upgrading Verisign, PGP, IC and the entire site in one swoop would be so involved ;) Thanks, -Ron From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 15:46:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > I wish I could be optimistic about Verisign fixing this, but I bet > > > that they are spending most of their resources figuring out new ways > > to > > > spam their Network Solutions database. ;-\ > > > > LOL, I was surprised you responded based on the company involved. > > No, I answered because you asked. I appreciate your help to other > users -- I usually try to answer questions from frequent > question-answerers. 8-) Thanks I appreciate the support :) > > > You'll probably receive 100 emails today from them for that one comment. > > ;) > > > > No, Mail::Agent and sendmail take care of that. If it comes through my > mail system, and has a Verisign fingerprint on it, it goes to /dev/null. > The one day I opened that up after I thought they may have learned their > lesson (and when I did the Verisign module based on my original > globalsub/signio) they spammed me that same day and the door closed again. Do they ever learn their lesson? I'm wondering if they only spam their Network Solutions db, we have yet to receive spam from the Payflow Pro db. We'll continue to use Domain Monger and not test that theory ;) Take it easy, -Ron From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 20 15:57:00 2001 Subject: [ic] Problems with [query] Problem appears to be this. Didn't know I needed to create these files: CATROOT/dbconf/pgsql/section.pgsql CATROOT/dbconf/pgsql/section_display.pgsql to make it work. I found the place where the syntax of this file is described, but it gives no clue as to where the file needs to be and how it needs to be named. The documentation makes no reference to the need to create these files at all that I could find. If someone at Redhat happens to see this, please consider including a section on "Creating Additional Tables" that describes the process of adding a table to your schema. I would imagine this is something people want to do a lot. It should at least be something that shows up in the table of contents as line item. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (Jud Harris) Date: Thu Sep 20 16:15:01 2001 Subject: [ic] interpolating variable names? Is it possible? How can I make this work... [set x]1[/set] [set y]2[/set] [set z]3[/set] [set var[scratch x]]red[/set] [set var[scratch y]]green[/set] [set var[scratch z]]blue[/set] [scratch var1]<br> [scratch var2]<br> [scratch var3]<br> it should display: red green blue .. any ideas? Also, is there any good way to do a FOR look or a WHILE loop in the ITL? .. just use perl? Thanks again! -Jud From: interchange-users at interchange.redhat.com (interch) Date: Thu Sep 20 16:20:00 2001 Subject: [ic] Syntax error in GET Anyone seen this type of message in the error logs before? I have seen them a couple of times. Seems the query string gets corrupted, but I haven't investigated it enough to find out why it is happening. Generates a 500 server error on the web server.. Chris 63.228.109.101 - - [12/September/2001:14:47:47 +0000] - /cgi-bin/2002/login.html CGI mapping error: Syntax error in GET input: =dvKT 46cg > 63.228.109.101 - - [12/September/2001:14:47:51 +0000] - /cgi-bin/2002/login.html CGI mapping error: Syntax error in GET input: =dvKT 46cg > 63.228.109.101 - - [12/September/2001:14:57:58 +0000] - /cgi-bin/2002/admin/page.html CGI mapping error: Syntax error in GET input: =dvKT46cg > 63.228.109.101 - - [12/September/2001:14:58:01 +0000] - /cgi-bin/2002/admin/page.html CGI mapping error: Syntax error in GET input: =dvKT46cg > 63.228.109.101 - - [12/September/2001:14:58:04 +0000] - /cgi-bin/2002/admin/item.html CGI mapping error: Syntax error in GET input: =dvKT46cg > 63.228.109.101 - - [12/September/2001:14:58:07 +0000] - /cgi-bin/2002/admin/search_wizard.html CGI mapping error: Syntax error in GE T input: =dvKT46cg > 63.228.109.101 - - [12/September/2001:14:58:15 +0000] - /cgi-bin/2002/admin/order.html CGI mapping error: Syntax error in GET input: =dvKT46cg > 63.228.109.101 - - [12/September/2001:15:04:10 +0000] - /cgi-bin/2002/admin/order.html CGI mapping error: Syntax error in GET input: =dvKT46cg From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Sep 20 16:45:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going At 03:04 PM 9/20/2001 -0400, you wrote: >Once I removed my former Internic contact address (I use Dotster these >days, and have never received a spam from them) then I was completely >free of Verisign-sponsored spam. Here-here on the Dotster thing. I work about 5 minutes from their national headquarters and my sister-in-law was employed there for a while; they run a really good operation. Not to mention that they use Linux for their in-house operations. And they are well priced to boot. Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Sep 20 16:49:01 2001 Subject: [ic] interpolating variable names? On Thu, Sep 20, 2001 at 03:10:57PM -0500, Jud Harris wrote: > Is it possible? How can I make this work... > > [set x]1[/set] > [set y]2[/set] > [set z]3[/set] > > [set var[scratch x]]red[/set] > [set var[scratch y]]green[/set] > [set var[scratch z]]blue[/set] > [perl interpolate=1] $Scratch{'var'.$Scratch->{x}} = 'red'; $Scratch{'var'.$Scratch->{y}} = 'green'; $Scratch{'var'.$Scratch->{z}} = 'blue'; [/perl] > [scratch var1]<br> > [scratch var2]<br> > [scratch var3]<br> > > it should display: > > red > green > blue > > .. any ideas? > > Also, is there any good way to do a FOR look or a WHILE loop in the > ITL? .. just use perl? > > Thanks again! > -Jud > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Red Hat Professional Consulting Jason Kohles (703)786-8036 (cellular) jkohles@redhat.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Sep 20 16:56:01 2001 Subject: [ic] interpolating variable names? At 04:48 PM 9/20/2001 -0400, you wrote: >On Thu, Sep 20, 2001 at 03:10:57PM -0500, Jud Harris wrote: > > Is it possible? How can I make this work... > > > > [set x]1[/set] > > [set y]2[/set] > > [set z]3[/set] > > > > [set var[scratch x]]red[/set] > > [set var[scratch y]]green[/set] > > [set var[scratch z]]blue[/set] > > >[perl interpolate=1] > $Scratch{'var'.$Scratch->{x}} = 'red'; > $Scratch{'var'.$Scratch->{y}} = 'green'; > $Scratch{'var'.$Scratch->{z}} = 'blue'; >[/perl] Or if you really want ITL... [seti name="var[scratch name=x]"]red[/seti] ...might work. HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 20 17:05:01 2001 Subject: [ic] interpolating variable names? At 03:10 PM 09/20/2001 -0500, you wrote: >Is it possible? How can I make this work... > >[set x]1[/set] >[set y]2[/set] >[set z]3[/set] > >[set var[scratch x]]red[/set] [set name="var[scratch x] >[set var[scratch y]]green[/set] >[set var[scratch z]]blue[/set] > >[scratch var1]<br> >[scratch var2]<br> >[scratch var3]<br> > >it should display: > >red >green >blue > >.. any ideas? > >Also, is there any good way to do a FOR look or a WHILE loop in the >ITL? .. just use perl? > >Thanks again! >-Jud > > > >_______________________________________________ >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 (Jud Harris) Date: Thu Sep 20 17:09:00 2001 Subject: [ic] interpolating variable names? Beautiful. that works great.. thanks so much.. Is there any performance difference between calling perl or using ITL? -Jud On Thu, 2001-09-20 at 15:53, Dan Browning wrote: > At 04:48 PM 9/20/2001 -0400, you wrote: > >On Thu, Sep 20, 2001 at 03:10:57PM -0500, Jud Harris wrote: > > > Is it possible? How can I make this work... > > > > > > [set x]1[/set] > > > [set y]2[/set] > > > [set z]3[/set] > > > > > > [set var[scratch x]]red[/set] > > > [set var[scratch y]]green[/set] > > > [set var[scratch z]]blue[/set] > > > > >[perl interpolate=1] > > $Scratch{'var'.$Scratch->{x}} = 'red'; > > $Scratch{'var'.$Scratch->{y}} = 'green'; > > $Scratch{'var'.$Scratch->{z}} = 'blue'; > >[/perl] > > Or if you really want ITL... > > [seti name="var[scratch name=x]"]red[/seti] > > ...might work. HAND, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Sep 20 17:16:00 2001 Subject: [ic] interpolating variable names? At 03:10 PM 09/20/2001 -0500, you wrote: >Is it possible? How can I make this work... > >[set x]1[/set] >[set y]2[/set] >[set z]3[/set] > >[set var[scratch x]]red[/set] Curses on Eudora for Windows! Ctrl+E - move-to-end-of-line in just about every unix text editor - is "Send immediately" in EudoraWin, and there is no facility to override the key mapping! Like I was saying: [set name="var[scratch x]"]red[/set] >Also, is there any good way to do a FOR look or a WHILE loop in the >ITL? .. just use perl? > Best done with [calc] or [perl], but you can do some rudimentary arbitrary loops: [seti loopcount][calc]return '1 ' x 100;[/calc][/seti] [loop arg="[scratchd loopcount]"] [loop-increment]<br> [/loop] Will give you: 1 2 3 4 5 ... 100 - 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 (Anton van de Plas) Date: Thu Sep 20 17:48:01 2001 Subject: [ic] Credit Card info in order e-mail Hi, My ISP just upgraded my Interchange to version 4.8.1. When I do a test order with a credit card, I receive the following info in the order e-mail: Payment Method: Credit Card Account Number: 41**1111 Expiration: 11/01 It does not show me the full credit card number like the older version did. I cannot find any documentation on this. Could somebody point me in the right direction. Thanks Anton From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Thu Sep 20 17:58:00 2001 Subject: [ic] [fix] saved carts, doesnt format date, no image Adding these two lines my($day,$month,$year) = (localtime($last_update))[3,4,5]; $last_update = sprintf("%04d-%02d-%02d",$year+1900,$month+1,$day); right after: my($name,$last_update,$type) = split(':',$var);.. Also, the "delete" image doesnt show up. Adding this line after begin content: [tmp myimagedir][image dir_only=1 ui=1][/tmp] and this one after [perl] fixes that too: my($name,$last_update,$type) = split(':',$var); Sorry I cant provide a patch against CVS, that component its just way too modified and a patch would be harder. -- edmz _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Jud Harris) Date: Thu Sep 20 18:31:00 2001 Subject: [ic] comparing two scratch vars OK - another, probably simple, ITL question. [if type="scratch" term="var1" op"==" compare="[scratch var2]"]vars are equal[/if] Is there a non-named way of doing this? ... a cleaner way? Intuitively, it's: [if [scratch var1] == [scratch var2]]vars are equal[/if] Is there some reason that's not implemented/possible? -Jud From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 20 18:38:01 2001 Subject: [ic] interpolating variable names? Jud Harris <jud-lists@copernica.com> writes: > Beautiful. that works great.. thanks so much.. Is there any > performance difference between calling perl or using ITL? Usually Perl is way faster (if there is more than a few statements). Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 20 18:40:00 2001 Subject: [ic] Syntax error in GET interch <interch@web3.valley-internet.com> writes: > Anyone seen this type of message in the error logs before? I have seen > them a couple of times. Seems the query string gets corrupted, but I > haven't investigated it enough to find out why it is happening. Generates > a 500 server error on the web server.. > > Chris > > > 63.228.109.101 - - [12/September/2001:14:47:47 +0000] - > /cgi-bin/2002/login.html CGI mapping error: Syntax error in GET > input: =dvKT > 46cg Probably you have sth. like that: <input type=hidden name="" value="[data session id]"> 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 (John Larsen) Date: Thu Sep 20 18:41:24 2001 Subject: [ic] Little problem/lost password column Hello, Interchange 4.6.3 I got my clients shopping cart up and working then just the other day during testing I got this error: There is no column named 'password' at /usr/local/cpanel/3rdparty/interchange/lib/Vend/Table/Common.pm line 229 Please how do I fix this? Do I need root access or is this something I can correct by modifying one of the tables? You may need to spell it out for me, Im quite a newbie. Thank you, much appreciated! John Larsen Designer/animator ___________________________________________________________ Website hosting for you...speed, stability and service at www.displaybiz.net From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 20 18:56:00 2001 Subject: [ic] comparing two scratch vars Jud Harris <jud-lists@copernica.com> writes: > OK - another, probably simple, ITL question. > > [if type="scratch" term="var1" op"==" compare="[scratch var2]"]vars are > equal[/if] > > Is there a non-named way of doing this? ... a cleaner way? > > Intuitively, it's: > > [if [scratch var1] == [scratch var2]]vars are equal[/if] > > Is there some reason that's not implemented/possible? Yeah, because embedded Perl is much easier to use for this :-; Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ross Cousens) Date: Thu Sep 20 20:01:01 2001 Subject: [ic] Credit Card info in order e-mail My feeling is if it was an upgrade from 4.6.5, then in 4.8.1 encryption for credit card data is now compulsory, and by default is erased from memory directly after the order is processed (this is handled by etc/profiles.order I believe?). Interchange is compatible with GnuPG (GPG, an open source/free implementation of PGP based on a non-patented algorithm), or PGP for Linux/Unix. There are two directives in catalog.cfg, EncryptProgram and EncryptKey, where you configure the program to be used for encryption, as well as the key to be used for encryption. If it cannot encrypt correctly, it will just send the first 2 and last 4 digits for identification purposes, and it will say "NEED ENCRYPTION ENABLED". There are two documents I can refer you to at this point: Section 11.4 of the Catalog Building Tutorial, iccattut.pdf, and Section 3.24 of icconfig.pdf. If this doesn't help search the archives as this has been a bit of a topic recently. Regards, Ross Cousens -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Anton van de Plas Sent: Friday, 21 September 2001 7:46 AM To: interchange-users@interchange.redhat.com Subject: [ic] Credit Card info in order e-mail Hi, My ISP just upgraded my Interchange to version 4.8.1. When I do a test order with a credit card, I receive the following info in the order e-mail: Payment Method: Credit Card Account Number: 41**1111 Expiration: 11/01 It does not show me the full credit card number like the older version did. I cannot find any documentation on this. Could somebody point me in the right direction. Thanks Anton _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 20:41:00 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > Hello, > > > > We just launched the new CaseEtc.com two days ago and are now using the > > newest PGP and newest Verisign software. This is to alert all of those > > using the Verisign program to double check their order reports and > > verisign reports for double and triple charges as well as single charges > > where the order was not pushed through IC as valid. > > > > This problem occurs when the connection to Verisign's server times out. > > The verisign client will return a -12 as the result code. The Verisign > > IC module interprets this has a failed charge. However in this > > situation the charge could be valid or it could be invalid. The reason > > being is that the sales request is making it to Verisign and Verisign is > > processing the card for the amount passed. However the IC server is not > > receiving the response back from Verisign so the IC server tells the > > user to try again or call in their order. The user then pushes the > > checkout button again and this whole process can either repeat (possibly > > resulting in 3+ charges), or the order is successful resulting in two > > charges, or the user does not attempt again and walks away (we had this > > on two occasions, luckily they were repeat customers we have since > > contacted). > > > > This problem did not happen in our test bed however it has happened > > often on the live server up until this morning where all orders were > > either successful the first time or declined for some other reason. > > > > I'm still contemplating how to fix the Verisign module and I'd like to > > hear form the community on which path I should take. > > > > One path is to check the return code of the Verisign client for a '-12' > > in this event immediately send out another verisign transaction with a > > void for the last transaction sent. Then tell the user something about > > a communications error while processing the card, please try again. This > > would void the transaction IF it went through and allow the user to > > process their order again. > > This would seem to be a bug in the Verisign client and have nothing to > do with Interchange. While you might be able to work around it by doing > some sort of return query to verify (i.e. query the txn_id upon > receiving a -12) it is a very bad move on the part of their client. If > something times out and their client can field that, it should never > result in an entered transaction. > We're assuming right now it's a bug in Verisign's software and have reverted back to V2 in the meantime. Since the downgrade we've processed 3 orders and all have gone through on the first attempt successfully. We'll be bringing this to Verisign's attention to see how they would like to handle the situation. Thanks for everyone's input! -Ron From: interchange-users at interchange.redhat.com (Guido Sohne) Date: Thu Sep 20 21:22:00 2001 Subject: [ic] hints on using the [assign] tag When overriding a tag with assign, such as [assign shipping="45.67"] other core tags such as [shipping] and [total-cost] are affected. The documentation warns about this. In the case of shipping, using [assign shipping="[delivery]"] more than one time in a catalog, where [delivery] is a tag that itself calls sub tag_shipping (the code executed when you use the [shipping] tag.) [delivery] returns a wrong result if [delivery] expected tag_shipping to return the result of its normal calculation instead of the last supplied value. In cases like this, just use a [assign clear=1] before [assign shipping="[delivery]"] __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Sep 20 21:25:02 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > I definitely agree that this seems like a bug in the Verisign client and > > I have contacted their support staff to see which steps to take. It > > appears that they have taken steps to know when this occurs since we > > received the automated email that said to the effect "a response was > > never received and these transactions will not be fulfilled until you > > contact us". Although it would be better if the transaction was > > automatically voided or never even accepted if the client does not > > receive the response, we then wouldn't have this problem. > > > > > Are you positive some portion of the client is not having some > > > basic system resource problem? What does a -12 error really mean? > > > 12 in the system error numbers is usually ENOMEM; is it possible that > > > your Interchange user ID is running out of memory on the system due > > > to quotas or some virtual server memory limitations? > > > > It could be a system resource problem, however it should not be due to > > any user restrictions. The IC server is not running on a virtual server > > and it is only running this one catalog with each user having full > > access to available memory and disk space. The server is a dual 450 > > with 256mb ram. We will be adding another 256mb ram tonight just in > > case this is the issue. > > I doubt it; normally unless you are maxing swap on UNIX/Linux (not > likely, since you don't mention general speed problems) you would not > receive an ENOMEM. The only OS I have seen that on is BSD -- you don't > mention what you are using. If you *are* using BSD, IRIX, or some > classic System V variant, I would suspect signal problems. On Linux that > is unlikely in the extreme. > We're back to a system level issue on RedHat Linux. I have since replaced the v3 Verisign with v2 which was working properly on this server before we moved to IC 4.8.1. I just now saw the double and triple charge issue which was present in v3. We are now seeing in the logs the problem with processing cc transactions as well as the following sporadically: caseetc /c gi-bin/caseetc/process.html Unable to send mail using /usr/lib/sendmail > > (this contains the email that was not sent > caseetc /cgi- bin/caseetc/process.html PGP failed with status 3072: It almost seems like these processes are starting but not completing. This is the same server which was running IC 4.6, PGP and Verisign 3 days ago smoothly. Now with IC 4.8 we are experiencing these issues. Any other ideas? Thanks, -Ron From: interchange-users at interchange.redhat.com (Brendan Crosser-McGay) Date: Thu Sep 20 21:44:00 2001 Subject: [ic] Another [tree] question. Well I have a tree, it displays, and it looks pretty and I can do some limited controlling of it. However when I tried to use the toggle command previously mentioned, it doesn't toggle anything. The tree stays the same and I am disappointed because it submits it and everything but none of the leaves are followed when I click. I don't want to resort to using less efficient methods of making subcategories if this doesn't work.. so please somebody help. Here is the code I've got so far.. and it only produces the top parent elements in the tree. [tree table=subcat master=parent_fld subordinate=child_fld start=99 autodetect=1 memo=1 toggle=1 continue=1 ] <tr> <td>[if-item-param mv_level][item-calc]return '&nbsp;' x [item-param mv_spacing][/item-calc][/if-item-param] [if-item-param mv_children] [page href="@@MV_PAGE@@" form=" memo=tree_memo toggle=[item-code] " ][item-param child_fld][/page] [else] [item-param child_fld] [/else] [/if-item-param] </td> <td> mv_level=[item-param mv_level], mv_increment=[item-param mv_increment], mv_children=[item-param mv_children] </td> </tr> [/tree] -Brendan P.S. I know I need to read the former posts before I post myself it seems! I've asked duplicate questions. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 07:45:00 2001 Subject: [ic] Another [tree] question. Quoting Brendan Crosser-McGay (brendan@paymentonline.com): > Well I have a tree, it displays, and it looks pretty and I can do some > limited controlling of it. However when I tried to use the toggle command > previously mentioned, it doesn't toggle anything. The tree stays the same > and I am disappointed because it submits it and everything but none of the > leaves are followed when I click. I don't want to resort to using less > efficient methods of making subcategories if this doesn't work.. so please > somebody help. > > Here is the code I've got so far.. and it only produces the top parent > elements in the tree. > > [tree > table=subcat > master=parent_fld > subordinate=child_fld > start=99 > autodetect=1 > memo=1 > toggle=1 > continue=1 > ] Try toggle=toggle and memo=memo_field. The memo= field in your page reference is not necessary. -- 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 (interchange-users at interchange.redhat.com) Date: Fri Sep 21 07:50:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Quoting Ron Phipps (rphipps@reliant-solutions.com): > We're back to a system level issue on RedHat Linux. I have since > replaced the v3 Verisign with v2 which was working properly on this > server before we moved to IC 4.8.1. I just now saw the double and > triple charge issue which was present in v3. We are now seeing in the > logs the problem with processing cc transactions as well as the > following sporadically: > > caseetc /c > gi-bin/caseetc/process.html Unable to send mail using /usr/lib/sendmail > > > > (this contains the email that was not sent > > > > caseetc /cgi- > bin/caseetc/process.html PGP failed with status 3072: > > It almost seems like these processes are starting but not completing. > This is the same server which was running IC 4.6, PGP and Verisign 3 > days ago smoothly. Now with IC 4.8 we are experiencing these issues. > Any other ideas? > The only thing I can think of is that if you changed the method of server operation, i.e. PreFork, then that could change things. Otherwise, I don't have a clue. We have operated Interchange 4.8 on very, very, busy systems without problems like this. Interestingly: print 3072 >> 8; is error 12, ENOMEM. Did you update Perl at the same time? You might try PreFork mode if you are not currently using it. -- 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 (interchange-users at interchange.redhat.com) Date: Fri Sep 21 07:54:00 2001 Subject: [ic] hints on using the [assign] tag Quoting Guido Sohne (caught_one@yahoo.com): > When overriding a tag with assign, such as > > [assign shipping="45.67"] > > other core tags such as [shipping] and [total-cost] > are affected. The documentation warns about this. > > In the case of shipping, using [assign shipping="[delivery]"] > more than one time in a catalog, where [delivery] is a tag that > itself calls sub tag_shipping (the code executed when you use the > [shipping] tag.) > > [delivery] returns a wrong result if [delivery] expected > tag_shipping to return the result of its normal calculation > instead of the last supplied value. This makes sense, since tag_shipping with no mode specified will return the shipping cost which you have assigned. You should be able to avoid this by calling the shipping subroutine instead, with the mode: my $cost = Vend::Interpolate::shipping($mode); > > In cases like this, just use a > > [assign clear=1] > > before > > [assign shipping="[delivery]"] > That would work fine too. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (JT Justman) Date: Fri Sep 21 08:22:00 2001 Subject: [ic] Getting category name from tree to page title Where's the straight line? (disclamer: I'm a designer, not a programmer) Hi, everyone! I've been quiet a while, and that means things are going well. I've also gotten better at locating things in the archives. But I'm stumped again. I use a tree tag to display my category list. The tree looks great. I link each entry to a search for the category's contents, like thus: (this is the content of http://edenclothing.com/~eden/cgi-bin/cart.cgi/type_category_index.html minus the addition I describe below) [tree table=cat start=0 master=parent subordinate=index autodetect=1 spacing=4 full=1] <tr> <td> [if-item-param mv_level] [item-calc] return '&nbsp' x [item-param mv_spacing]; [/item-calc] [/if-item-param] <A href="[area href=scan search=| fi=products st=db sp=category_display sf=type_category se=[item-param index] op=eq | ]">[data table=cat column=cat key='[item-param index]']</A> </td> </tr> [/tree] </table> Works good. Not pretty code-wise I'm sure but it gets the job done, pages look good and all. Then I want the result page to show the name of the category being displayed. Things get tricky. I tried using [cgi mv_searchspec] or [cgi se] or other variants to simply retrieve the searchspec and use it to get the name from the cat DB. This didn't work, as it seems the "scan" does weird things to the url: http://edenclothing.com/~eden/cgi-bin/cart.cgi/scan/fi=products/st=db/sp=cat egory_display/sf=type_category/se=201/op=eq.html And so [cgi] doesn't seem able to extract the searchspec. So I go to plan b: put the category's index number in the url: ... se=[item-param index] op=eq | + arg=[item-param index] ]">[data table=cat column=cat key='[item-param index]']</A> ... This was the only way I could seem to do this reliably. arg="this_cat_index=[item-param index]" would cause "this_cat_index=####" to be returned. (I'm open to suggestions of a more elegant solution to this) So, on the results page (category_display) I put: In category: <b>[data table=cat field=cat key='[cgi mv_arg]']</b><BR> Which works dandy. Keen! I spend twenty minutes paging through my long list of items and tweak the results page some making it look okay. But page titles are important to me. I'd prefer "Eden Clothing -- Baby-Ts" over "Eden Clothing -- Category Display". This will be vital to search engine positioning, especially when I do the brand-name pages. But I can't get the !$%@& value to display in the page title without modifying the page directly or making a special template. If I put "[data table=cat field=cat key='[cgi mv_arg]']" in the "Page Title" in the UI, it isn't interpolated. The problem is, I can't find where IC sets the [scratch page_title] to change it. So, how do I: 1) Cause the stuff in the UI to be interpolated, or 2) Give a variable to the UI that it will accept, or 3) Do something to make this work? Or am I way off-track? It's late, and i'm sure I'm guilty of several spelling mistakes and / or missed endtags but appreciate what help you can offer : ) Thanks, JT From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 09:34:00 2001 Subject: [ic] Getting category name from tree to page title Quoting JT Justman (ic@signless.com): [snip] > But page titles are important to me. I'd prefer "Eden Clothing -- Baby-Ts" > over "Eden Clothing -- Category Display". This will be vital to search > engine positioning, especially when I do the brand-name pages. > > But I can't get the !$%@& value to display in the page title without > modifying the page directly or making a special template. If I put "[data > table=cat field=cat key='[cgi mv_arg]']" in the "Page Title" in the UI, it > isn't interpolated. The problem is, I can't find where IC sets the [scratch > page_title] to change it. Right at the top of the page, below the template definition: [tmp page_title] .... [/tmp] That should interpolate just fine. > > So, how do I: > > 1) Cause the stuff in the UI to be interpolated, or > 2) Give a variable to the UI that it will accept, or > 3) Do something to make this work? > Depends on what is in the page template. If you are using foundation, and it is the results page, that would be "leftright". If the page_title setting is as above (i.e. [tmp page_title] ... [/tmp] instead of [set page_title] .... [/set] it should work as you want. -- 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 (David Bordas) Date: Fri Sep 21 10:04:01 2001 Subject: [ic] should i upgrade from 4.8.1 to 4.8.2 ? Hi list, my question is quite simple, i'm using IC 4.8.1 and it works great. So should'i upgrade du 4.8.2, i read the "whatsnew" but i'm not a pro of IC so i don't know if it's a good thing. If yes is there a special thing to do to upgrade or same as install : ./configure ... ? Thanks From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 10:17:00 2001 Subject: [ic] TIPS AND TRICKS: Tree example It seems people are having a bit of trouble with trees and how they might be used. I have produced an example. ----- Example for tree with toggling categories --- Prerequisites: * SQL database. Trees are not recommended for DBM databases as the selects will be too slow. * This example assumes you have added a field to your products database named comb_category. Use your SQL command line utility to add it: alter table products add column comb_category varchar(255); It will be populated with colon-separated categories. Make sure you reconfig the catalog ("Apply changes") to pick up the new field. * You can populate it from prod_group and category with this code: [flag type=write table=products] [perl tables=products] my $db = $Db{products}; my $ary = $db->query('select sku,prod_group,category from products'); my $out = ''; foreach $row ( @$ary) { my ($sku, $pg, $cat) = @$row; $db->set_field($sku, 'comb_category', "$pg:$cat") and $out .= "$sku = $pg:$cat<br>\n"; } return $out; [/perl] Procedure: 1. To start, you need a tree database table with five fields: code,parent_fld,child_fld,name,category This can be configured with dbconf/*/tree.*sql: Database tree tree.txt __SQLDSN__ ifdef SQLUSER Database tree USER __SQLUSER__ endif ifdef SQLPASS Database tree PASS __SQLPASS__ endif Database tree DEFAULT_TYPE varchar(255) Database tree COLUMN_DEF "code=varchar(20) NOT NULL PRIMARY KEY" Database tree COLUMN_DEF "parent_fld=varchar(32) DEFAULT '' NOT NULL" Database tree COLUMN_DEF "child_fld=varchar(32) DEFAULT '' NOT NULL" Database tree INDEX parent_fld Database tree INDEX child_fld Database tree INDEX name The above will work for either PostgreSQL or MySQL -- if you use Oracle or another SQL you might have to change the field type from varchar. Set up the fields by putting the TAB-separated fields in products/tree.txt: code parent_fld child_fld name category 2. Reconfig the catalog ("Apply changes") to pick up all of this. 3. In the example, we will run some code to build a tree database based on the contents of comb_category in the products table. The example deletes all rows from "tree" every time that is done, so beware. Place the code below in pages/tree_build.html: [perl tables="products tree"] my $db = $Db{products}; my $ary = $db->query('select sku,comb_category from products'); my $out = ''; my $code = '00000'; my $cc = '0000'; my %done; my @levels; foreach $row ( @$ary) { my ($sku, $cat) = @$row; next if $done{$cat}; my $parent = 'TOP'; my @parts = split /:/, $cat; my $combname = ''; for( my $i = 0; $i < @parts; $i++) { my $name = $parts[$i]; my $comb = join ":", @parts[0 .. $i]; my $level = $levels[$i] ||= {}; if(! $level->{$name}) { $level->{$name} = [ ++$code, $parent, ++$cc, $name, $comb ]; $parent = $cc; } else { $parent = $level->{$name}->[2]; } } } my $tdb = $Db{tree}; $tdb->query('delete from tree'); my @flds = qw/parent_fld child_fld name category/; my $count++; for(@levels) { my $hash = $_; for(sort keys %$hash) { my $rec = $hash->{$_}; my $code = shift @$rec; $tdb->set_slice($code, \@flds, $rec); $count++; } } return $count; [/perl] Access that page. All you should see is an integer indicating how many records were created in the tree table. If you see nothing, check the error log for a message indicating how the program died. If you see 0 or a number less than your number of categories, the comb_category field in products must be wrong. 5. Create a page pages/tree_display.html <P> [page href=@@MV_PAGE@@ form="explode=1"]Explode tree[/page]&nbsp;&nbsp; [page href=@@MV_PAGE@@ form="collapse=1"]Collapse tree[/page] </P> <table> [tree start=TOP table=tree master=parent_fld subordinate=child_fld autodetect=1 toggle=toggle memo=memo collapse=collapse explode=explode spacing=4 ] <tr> <td> [if-item-param mv_level] [item-calc] return '&nbsp' x [item-param mv_spacing]; [/item-calc] [/if-item-param] [if-item-param mv_children] <A HREF="[area href=@@MV_PAGE@@ form='toggle=[item-param code]']"> [item-calc] $Scratch->{memo}{'[item-code]'} ? '-' : '+' [/item-calc] </A> [/if-item-param] [page search=" fi=products st=db bs=1 tf=comb_category sf=comb_category se=[item-param category] "][item-param name]</A> </td> <td> mv_level=[item-param mv_level], mv_increment=[item-param mv_increment], mv_children=[item-param mv_children] </td> </tr> [/tree] </table> 6. Display that page. It should show a toggling display of categories -- the link on + or - sign toggles, the link on the name displays all products in that category and its subcategories. If you did this on foundation or some other catalog with only two-level categories, try editing the comb_category field to add a third category in one of the products. I changed the comb_category field in os28074 to read "Hand Tools:Hammers:Mallets" to test the example. ----- End example ---- Hope this helps people. -- 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 (joachim.richter) Date: Fri Sep 21 10:36:01 2001 Subject: [ic] [set members_only][/set] vs [tmp members_only][/tmp] Hi list, What is the difference between [set members_only][/set] and [tmp members_only][/tmp] ? In the foundation shop, they are both used, is there a reason behind which one to use ? The same thing is being done with [set page_title] and [tmp page_title], why ?? If I put [set members_only]1[/set] the user is always send to the login page. Can this be changed ? Where can it be changed ? I am using this at the moment as a workaround : [set members_only]1[/set] [if scratch members_only] [set members_only][/set] [if !session logged_in] [set mv_successpage]@@MV_PAGE@@[/set] [bounce page=noaccess] [/if] [/if] the user is bounced to the noaccess page thanx guys 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 (Barry Treahy, Jr.) Date: Fri Sep 21 10:43:00 2001 Subject: [ic] Getting category name from tree to page title JT Justman wrote: > I use a tree tag to display my category list. The tree looks great. I link > each entry to a search for the category's contents, like thus: > (this is the content of > http://edenclothing.com/~eden/cgi-bin/cart.cgi/type_category_index.html > minus the addition I describe below) > > [tree > table=cat > start=0 > master=parent > subordinate=index > autodetect=1 > spacing=4 > full=1] This is awesome Mike, I'm just returning to another MV/IC project and this [tree] tag is exactly what I was attempting to do manually about a 8 months ago when a shift in priorities developed and the project was delayed. I had just downloaded 4.8.2 and I'm excited to see what else you've done, thanks for all of the efforts! Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 11:51:01 2001 Subject: [ic] Newbie Needs Steps to clone existing Catalog I installed & modified Foundation into a nice catalog called "CloneDepot". Now I want to make "CloneDepot" available to the world I followed the steps to add a new catalog described in the tutorial and created a new catalog called "CloneDepot". I tar'd all the Foundation files and restored them on the "CloneDepot" catalog's root. I went in and changed all the (errorlog, etc.) links and references to Foundation in 'variable.txt'. "CloneDepot" works great except it uses all of the images, products and descriptions from the "Foundation" catalog. Obviously I really screwed up and didnt follow the proper steps to create a new catalog. Can someone point me to where "Creating a New Catalog From an Existing Catalog" is documented or maybe you used Foundation as the basis of your production catalog? From: interchange-users at interchange.redhat.com (John Larsen) Date: Fri Sep 21 12:11:00 2001 Subject: [ic] Little problem/lost password column Hello there, Well I figured it out myself... I just simply re-imported the userdb.txt from the foundation, and this solved the problem. John Larsen Designer/animator ___________________________________________________________ Website hosting for you...speed, stability and service at www.displaybiz.net ----- Original Message ----- From: "John Larsen" <kipper@displaybiz.net> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 20, 2001 4:38 PM Subject: [ic] Little problem/lost password column > Hello, > > Interchange 4.6.3 > > I got my clients shopping cart up and working then just the other day during > testing I got this error: > > There is no column named 'password' at > /usr/local/cpanel/3rdparty/interchange/lib/Vend/Table/Common.pm line 229 > > Please how do I fix this? Do I need root access or is this something I can > correct by modifying one of the tables? > > You may need to spell it out for me, Im quite a newbie. > > Thank you, much appreciated! > > John Larsen > Designer/animator > > ___________________________________________________________ > Website hosting for you...speed, stability and service at www.displaybiz.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 (Andreas, Scott) Date: Fri Sep 21 12:38:01 2001 Subject: [ic] credit card info Thats nice and all, but we batch our creditcards via a script. Once a day we download all the days activities which runs into the thousands and then run a script which looks for the creditcard info, then writes it to a txt file and then batch to the terminal from there. Its fully automated. So our little situation would make for teadious situation if we had to do it all with human intervention. -----Original Message----- From: Ed LaFrance [mailto:edl@newmediaems.com] Sent: Wednesday, September 19, 2001 12:29 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] credit card info At 03:03 PM 09/19/2001 -0400, you wrote: >I'm facing the same problem with version 4.8. I'm looking for a way to >process the orders offline via a physical credit card terminal. I have >not been able to do either one of two things, store the card number in >the order panel or have it emailed as part of the order notification. > >Please let me know if anybody has come up with a solution. I would >appreciate it. > >Regards, Very strange, this resistance to using encryption. You ask if anyone has come up with a solution to getting credit card numbers emailed to you. The answer is yes; IC provides a very nice one: 1. Set up your encryption program with your public key on the server, configure IC to use it for credit card info; 2. Decrypt the credit card info which appears in your email box, with the emailed copy of the order. I have clients who process several hundred orders a day who are doing this. It is not too hard to write a batch-decryption script for the receiving end. I don't understand why some people seem willing to go to great lengths to get around this! - Ed L. > > > > I upgraded to IC 4.8x from IC 4.6.0. > > Under 4.6 my credit card info. was not encrypted and didn't need to be > > encrypted since the orders were not being sent over the internet. > > > > After upgrading to 4.8 all the credit card information now states > > NEED ENCRYPTION ENABLED. > > I'd rather have the creditcard number dsplayed so our salespeople can >login > > to the server via SSH and download information > > > > Our catalog was based off the construct demo of 4.6.0 > > > > > > J. Scott Andreas :) > > IS/Programmer/WebDevelopement > > Learning Services, Inc. > > e-mail: sandreas@learningservicesinc.com > > phone: 1-800-877-9378 ext. 146 > > fax: (541) 744-2056 > > --- __o > > --- _-\<,_ > > --- (_)/ (_) > > > > > > _______________________________________________ > > 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 (Ed LaFrance) Date: Fri Sep 21 12:41:00 2001 Subject: [ic] [set members_only][/set] vs [tmp members_only][/tmp] At 04:36 PM 09/21/2001 +0100, you wrote: >Hi list, > >What is the difference between [set members_only][/set] and [tmp >members_only][/tmp] ? >In the foundation shop, they are both used, is there a reason behind which >one to use ? > I haven't used [tmp] much, but my reading of the tag ref seems to indicate that [tmp] keys expire when page delivery is completed and the session is updated. On the other hand, [scratch] keys, once set, will persist across multiple pages and generally don't expire until the session itself expires. So use [tmp] when you only want to retain a value within one page, use [scratch] when you want to retain a value across several pages or for the duration of the user's session. NOTE: I am surmising quite a bit here - anyone else care to comment? - Ed L. >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 Sep 21 12:50:00 2001 Subject: [ic] [set members_only][/set] vs [tmp members_only][/tmp] At 09:41 AM 9/21/2001 -0700, you wrote: >At 04:36 PM 09/21/2001 +0100, you wrote: >>Hi list, >> >>What is the difference between [set members_only][/set] and [tmp >>members_only][/tmp] ? >>In the foundation shop, they are both used, is there a reason behind >>which one to use ? > >I haven't used [tmp] much, but my reading of the tag ref seems to indicate >that [tmp] keys expire when page delivery is completed and the session is >updated. On the other hand, [scratch] keys, once set, will persist across >multiple pages and generally don't expire until the session itself >expires. So use [tmp] when you only want to retain a value within one >page, use [scratch] when you want to retain a value across several pages >or for the duration of the user's session. > >NOTE: I am surmising quite a bit here - anyone else care to comment? > >- Ed L. Ed is indeed correct, and that means tmp is faster (by an order of milliseconds, I'm sure) in cases where nothing has to be written to the user session. Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Sep 21 12:58:00 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > We're back to a system level issue on RedHat Linux. I have since > > replaced the v3 Verisign with v2 which was working properly on this > > server before we moved to IC 4.8.1. I just now saw the double and > > triple charge issue which was present in v3. We are now seeing in the > > logs the problem with processing cc transactions as well as the > > following sporadically: > > > > caseetc /c > > gi-bin/caseetc/process.html Unable to send mail using /usr/lib/sendmail > > > > > > (this contains the email that was not sent > > > > > > > caseetc /cgi- > > bin/caseetc/process.html PGP failed with status 3072: > > > > It almost seems like these processes are starting but not completing. > > This is the same server which was running IC 4.6, PGP and Verisign 3 > > days ago smoothly. Now with IC 4.8 we are experiencing these issues. > > Any other ideas? > > > > The only thing I can think of is that if you changed the method of > server operation, i.e. PreFork, then that could change things. > Otherwise, I don't have a clue. We have operated Interchange 4.8 on > very, very, busy systems without problems like this. I made sure to stick with the same low traffic settings when we setup the new IC. It appears that something on my server does not agree with the new IC 4.8.1. > Interestingly: > > print 3072 >> 8; > > is error 12, ENOMEM. Did you update Perl at the same time? I did not update Perl or any of the modules when I installed 4.8.1. The server was running 4.6.1 previously. What does the '>>' operator do? We are running Perl 5.00503, would you recommend that we upgrade if we attempt 4.8.2? Any ideas why ENOMEM would be occurring when there is plenty of memory and swap space? It appears that this happens for any process that IC spawns whether it is Verisign, PGP or Sendmail. > > You might try PreFork mode if you are not currently using it. In the last two days I had tried everything besides PreFork, not sure why I didn't think of that. Here is the list of major things I changed: 1. Downgrade from Verisign v3 to v2 2. Downgrade from PGP 6.5.8 to 6.5.2 3. Switch the IC Verisign module from Vend:Payment:Signio to globalsub/signio 4. Install another 256mb of ram. Last night I ended up downgrading IC from IC 4.8.1 to 4.6.1 and the server has processed 7 orders without the problem occurring. The only change I needed to make for the catalog to work correctly was to remove a nested [if][else]. The true test will be this evening when orders are concurrent. Since we did not see these issues in the test server I'm leery to upgrade the server again at this point. I'll talk with the client and we'll figure out which route he would like to take. He was excited to see the speed enhancements for PreFork, but I wanted to verify the cart worked in the same mode before changing the server level variables. Mike let me know if you are interested in looking into this more. This is probably beyond my knowledge and would rather keep the client at 4.6.1 until we need a feature in the new IC. Thanks again for your help, -Ron From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Sep 21 13:03:01 2001 Subject: [ic] [set members_only][/set] vs [tmp members_only][/tmp] At 09:47 AM 09/21/2001 -0700, you wrote: >At 09:41 AM 9/21/2001 -0700, you wrote: >>At 04:36 PM 09/21/2001 +0100, you wrote: >>>Hi list, >>> >>>What is the difference between [set members_only][/set] and [tmp >>>members_only][/tmp] ? >>>In the foundation shop, they are both used, is there a reason behind >>>which one to use ? >> >>I haven't used [tmp] much, but my reading of the tag ref seems to >>indicate that [tmp] keys expire when page delivery is completed and the >>session is updated. On the other hand, [scratch] keys, once set, will >>persist across multiple pages and generally don't expire until the >>session itself expires. So use [tmp] when you only want to retain a >>value within one page, use [scratch] when you want to retain a value >>across several pages or for the duration of the user's session. >> >>NOTE: I am surmising quite a bit here - anyone else care to comment? >> >>- Ed L. > >Ed is indeed correct, and that means tmp is faster (by an order of >milliseconds, I'm sure) in cases where nothing has to be written to the >user session. > >Dan Browning <danpb@mail.com> > For clarity, I should correct myself - substitute [set] where I had used [scratch] above. [scratch] is used to invoke a value which was previously assigned with either [set]/[seti] or [tmp]. - 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: Fri Sep 21 13:21:01 2001 Subject: [ic] credit card info At 08:54 AM 09/20/2001 -0700, you wrote: >Thats nice and all, but we batch our creditcards via a script. Once a day we >download all the days activities which runs into the thousands and then run >a script which looks for the creditcard info, then writes it to a txt file >and then batch to the terminal from there. Its fully automated. So our >little situation would make for teadious situation if we had to do it all >with human intervention. A call to command-line PGP or GPG could be added to your script, and passed the encrypted credit card info, in all likelihood. I did this for a client who also formats the their credit card transactions for automatic batch processing. - Ed L. >-----Original Message----- >From: Ed LaFrance [mailto:edl@newmediaems.com] >Sent: Wednesday, September 19, 2001 12:29 PM >To: interchange-users@interchange.redhat.com >Subject: Re: [ic] credit card info > > >At 03:03 PM 09/19/2001 -0400, you wrote: > >I'm facing the same problem with version 4.8. I'm looking for a way to > >process the orders offline via a physical credit card terminal. I have > >not been able to do either one of two things, store the card number in > >the order panel or have it emailed as part of the order notification. > > > >Please let me know if anybody has come up with a solution. I would > >appreciate it. > > > >Regards, > >Very strange, this resistance to using encryption. You ask if anyone has >come up with a solution to getting credit card numbers emailed to you. The >answer is yes; IC provides a very nice one: > >1. Set up your encryption program with your public key on the server, >configure IC to use it for credit card info; > >2. Decrypt the credit card info which appears in your email box, with the >emailed copy of the order. > >I have clients who process several hundred orders a day who are doing >this. It is not too hard to write a batch-decryption script for the >receiving end. I don't understand why some people seem willing to go to >great lengths to get around this! > >- Ed L. > > > > > > > > I upgraded to IC 4.8x from IC 4.6.0. > > > Under 4.6 my credit card info. was not encrypted and didn't need to be > > > encrypted since the orders were not being sent over the internet. > > > > > > After upgrading to 4.8 all the credit card information now states > > > NEED ENCRYPTION ENABLED. > > > I'd rather have the creditcard number dsplayed so our salespeople can > >login > > > to the server via SSH and download information > > > > > > Our catalog was based off the construct demo of 4.6.0 > > > > > > > > > J. Scott Andreas :) > > > IS/Programmer/WebDevelopement > > > Learning Services, Inc. > > > e-mail: sandreas@learningservicesinc.com > > > phone: 1-800-877-9378 ext. 146 > > > fax: (541) 744-2056 > > > --- __o > > > --- _-\<,_ > > > --- (_)/ (_) > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > >=============================================================== >New Media E.M.S. Software Solutions for Business >463 Main St., Suite D eCommerce | Consulting | Hosting >Placerville, CA 95667 edl@newmediaems.com >(530) 622-9421 http://www.newmediaems.com >(866) 519-4680 Toll-Free (530) 622-9426 Fax >=============================================================== > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Fri Sep 21 13:24:00 2001 Subject: [ic] "computer data set", where ? I read in the manual about a "Computer Data Set". where can I find it ? thanks _________________________________________________________ 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: Fri Sep 21 14:12:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Quoting Ron Phipps (rphipps@reliant-solutions.com): >I did not update Perl or any of the modules when I installed 4.8.1. The >server was running 4.6.1 previously. What does the '>>' operator do? >We are running Perl 5.00503, would you recommend that we upgrade if we >attempt 4.8.2? Any ideas why ENOMEM would be occurring when there is >plenty of memory and swap space? It appears that this happens for any >process that IC spawns whether it is Verisign, PGP or Sendmail. [snip] > In the last two days I had tried everything besides PreFork, not sure > why I didn't think of that. Here is the list of major things I changed: > > 1. Downgrade from Verisign v3 to v2 > 2. Downgrade from PGP 6.5.8 to 6.5.2 > 3. Switch the IC Verisign module from Vend:Payment:Signio to > globalsub/signio > 4. Install another 256mb of ram. I am afraid I don't think of things often in the sense of downgrading to make things work. I am a bit disappointed in the (well-intentioned, I am sure) finger-pointing toward IC, though, given your apparent old Perl and Linux. You would be well-advised to update to Perl 5.6.0 -- the latest stable Perl is always assumed if you don't mention it. I am surprised that it is the first I noticed that, and am surprised that you would deploy a system with a two-year-old-plus Perl. If you are using a two-year-old Linux kernel as well I would advise updating that as well. Remember all bugs are not Interchange. 8-\ If you didn't know, thousands of bugs have been fixed in Perl and Linux in the last two years. The fact that the problem only appears at busy times means it can be anything, and that it is less likely to be Interchange than it is overall system. > > Last night I ended up downgrading IC from IC 4.8.1 to 4.6.1 and the > server has processed 7 orders without the problem occurring. The only > change I needed to make for the catalog to work correctly was to remove > a nested [if][else]. The true test will be this evening when orders are > concurrent. > > Since we did not see these issues in the test server I'm leery to > upgrade the server again at this point. I'll talk with the client and > we'll figure out which route he would like to take. He was excited to > see the speed enhancements for PreFork, but I wanted to verify the cart > worked in the same mode before changing the server level variables. > > Mike let me know if you are interested in looking into this more. This > is probably beyond my knowledge and would rather keep the client at > 4.6.1 until we need a feature in the new IC. > Sorry, that I cannot do, as I am not allowed to consult directly. I am still convinced it is not 4.8.1 that is causing the problem, but I don't know what to tell you besides doublecheck your resources (i.e. no error messages in /var/log/messages). -- 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 (Ron Phipps) Date: Fri Sep 21 15:56:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > >I did not update Perl or any of the modules when I installed 4.8.1. The > >server was running 4.6.1 previously. What does the '>>' operator do? > >We are running Perl 5.00503, would you recommend that we upgrade if we > >attempt 4.8.2? Any ideas why ENOMEM would be occurring when there is > >plenty of memory and swap space? It appears that this happens for any > >process that IC spawns whether it is Verisign, PGP or Sendmail. > > [snip] > > In the last two days I had tried everything besides PreFork, not sure > > why I didn't think of that. Here is the list of major things I changed: > > > > 1. Downgrade from Verisign v3 to v2 > > 2. Downgrade from PGP 6.5.8 to 6.5.2 > > 3. Switch the IC Verisign module from Vend:Payment:Signio to > > globalsub/signio > > 4. Install another 256mb of ram. > > I am afraid I don't think of things often in the sense of downgrading > to make things work. I think the reason why I went this direction was because we were dealing with a live system and I had been up for 2 days straight trying to gather enough evidence and to come up with solutions. It was extremely difficult because each time that I tested a solution on the test box it would work and then we would wait for orders to come through on the live site and it would break again. A combination of pressure from the client and running out of ideas forced me to go to the downgrade route, which I really did not want to do. > I am a bit disappointed in the (well-intentioned, I am sure) > finger-pointing toward IC, though, given your apparent old Perl and > Linux. You would be well-advised to update to Perl 5.6.0 -- the latest > stable Perl is always assumed if you don't mention it. I am surprised > that it is the first I noticed that, and am surprised that you would > deploy a system with a two-year-old-plus Perl. If you are using a > two-year-old Linux kernel as well I would advise updating that as well. I apologize for the finger pointing Mike. I'm aware that other things can cause problems on the system since the site depends on so many different modules to perform its functions. It is definitely my fault for not realizing to update the Perl to the latest and greatest as a precaution to installing a new system which relies on Perl. We have had this site deployed for a year now and it has been rock solid from 4.0 -> 4.6.1 despite the old perl. > Remember all bugs are not Interchange. 8-\ If you didn't know, > thousands of bugs have been fixed in Perl and Linux in the last two > years. I know this :) And once again I apologize if you took my message as an attack on IC. You know that I'm very thankful for the software that you have provided and do not take it for granted. I got tied up in the moment of finding a quick fix instead of looking at the situation from further away. Those things happen when a launch goes bad and sales are being lost ;) > The fact that the problem only appears at busy times means it can > be anything, and that it is less likely to be Interchange than it > is overall system. Point noted, we will be testing and deploying the new perl and will then readdress IC 4.8.x and see if the problem is tied to the old perl. I have watched the load averages and memory usage when the problem occurs and it is independent of how busy the site is. > > > > Last night I ended up downgrading IC from IC 4.8.1 to 4.6.1 and the > > server has processed 7 orders without the problem occurring. The only > > change I needed to make for the catalog to work correctly was to remove > > a nested [if][else]. The true test will be this evening when orders are > > concurrent. > > > > Since we did not see these issues in the test server I'm leery to > > upgrade the server again at this point. I'll talk with the client and > > we'll figure out which route he would like to take. He was excited to > > see the speed enhancements for PreFork, but I wanted to verify the cart > > worked in the same mode before changing the server level variables. > > > > Mike let me know if you are interested in looking into this more. This > > is probably beyond my knowledge and would rather keep the client at > > 4.6.1 until we need a feature in the new IC. > > > > Sorry, that I cannot do, as I am not allowed to consult directly. I am > still > convinced it is not 4.8.1 that is causing the problem, but I don't know > what to tell you besides doublecheck your resources (i.e. no error > messages in /var/log/messages). If you are convinced it's not a 4.8.1 issue then I'm convinced as well. It appears to be a combination of environment issues that we will need to review before attempting the upgrade again. I hope you see my true intentions (to resolve the situation quickly) and look over my frustration which was expressed in my message. Thanks, -Ron From: interchange-users at interchange.redhat.com (Kevin Wright) Date: Fri Sep 21 16:11:01 2001 Subject: [ic] interchange VS ihtml Hi List, I've just subscribed so I don't know if this question has been asked before. For those of you who are familiar with a product called iHTML / Merchant, how would you compare the support and functionality to interchange? I am experienced with iHTML but not Interchange. I am in the process of developing a Linux commerce box and wish to standardize on a commerce platform. Thanks, Kevin From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 16:35:00 2001 Subject: [ic] Problems with [query] So phase two of this issue: I created 'section.pgsql' and I think I got the format right, but now when I start interchange I get this message: ...table 'awt_section' failed: DBD::Pg::st execute failed: ERROR: awt_section: Permission denied. at /apps/interchange/lib/Vend/Table/DBI.pm line 1321. This looks like an operating system level message, the standard "you tried to access a file you don't own" but when I look at DBI.pm line 1321, it is trying to do $sth->execute(); which I believe is an SQL call to the Postgres database. Is this an SQL error or an OS error? Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 16:39:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC Quoting Ron Phipps (rphipps@reliant-solutions.com): > > I am a bit disappointed in the (well-intentioned, I am sure) > > finger-pointing toward IC, though, given your apparent old Perl and > > Linux. You would be well-advised to update to Perl 5.6.0 -- the latest > > stable Perl is always assumed if you don't mention it. I am surprised > > that it is the first I noticed that, and am surprised that you would > > deploy a system with a two-year-old-plus Perl. If you are using a > > two-year-old Linux kernel as well I would advise updating that as > well. > > I apologize for the finger pointing Mike. I'm aware that other things > can cause problems on the system since the site depends on so many > different modules to perform its functions. It is definitely my fault > for not realizing to update the Perl to the latest and greatest as a > precaution to installing a new system which relies on Perl. We have had > this site deployed for a year now and it has been rock solid from 4.0 -> > 4.6.1 despite the old perl. > > > Remember all bugs are not Interchange. 8-\ If you didn't know, > > thousands of bugs have been fixed in Perl and Linux in the last two > > years. > > I know this :) And once again I apologize if you took my message as an > attack on IC. You know that I'm very thankful for the software that you > have provided and do not take it for granted. I got tied up in the > moment of finding a quick fix instead of looking at the situation from > further away. Those things happen when a launch goes bad and sales are > being lost ;) > I didn't see it as an attack -- but it is easy to lose site of how much a system depends on all its parts. I was trying to bring that out, and trying to emphasize how much Interchange depends on its underlying platform. Did you mention a multi-CPU system? I am not sure. If you have a multi-CPU system, then that applies 10 times over. All that being said, I am certainly not asserting that there could not possibly be a problem with Interchange 4.8. I know better than that. I just think it is more likely to be the kernel or Perl. After racking my brain, the only thing I can think of, is that Interchange 4.8.x does that 4.6 didn't that might conceivably affect this is to use the reset() function in Perl. There may have been some bugs with that function fixed in Perl 5.6. > > > The fact that the problem only appears at busy times means it can > > be anything, and that it is less likely to be Interchange than it > > is overall system. > > Point noted, we will be testing and deploying the new perl and will then > readdress IC 4.8.x and see if the problem is tied to the old perl. I > have watched the load averages and memory usage when the problem occurs > and it is independent of how busy the site is. > [snip] > I hope you see my true intentions (to resolve the situation quickly) and > look over my frustration which was expressed in my message. > Good luck. I understand the frustration, believe me. I still remember flaky problems from my days of bringing high-volume sites online. -- 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 (Stefan Hornburg Racke) Date: Fri Sep 21 16:50:01 2001 Subject: [ic] interchange VS ihtml "Kevin Wright" <kwright@tolosatech.com> writes: > Hi List, I've just subscribed so I don't know if this question has been > asked before. > > For those of you who are familiar with a product called iHTML / Merchant, > how would you compare the support and functionality to interchange? I am > experienced with iHTML but not Interchange. I am in the process of > developing a Linux commerce box and wish to standardize on a commerce > platform. Try Interchange. It is IMHO the most mature and flexible eCommerce solution. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Sep 21 17:11:01 2001 Subject: [ic] Interchange Templates On Thu, 20 Sep 2001, Nathan D. Olmscheid wrote: > I got the Interchange 4.8 Documentation book set and have started to > read them. One thing it mentioned is that there are available templates > that are online at the following location. > http://interchange.redhat.com. > > Does anyone know where these are? We have the templates that came with > the initial install and the foundation demo, but are there others out > there too?? There are three from previous versions of Interchange and Minivend, available here: http://ftp.interchange.redhat.com/interchange/demos/ Note that they have not been tested with the latest version of Interchange, and in particular that catalogs you build from these templates may not be completely accessible from the newer admin UI backend. Jon From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Fri Sep 21 17:22:00 2001 Subject: [ic] TIPS AND TRICKS: Tree example Thanks for the great example :) Works nicely. With the current code, is it possible to make the tree only display one exploded branch ? (eg, you click on a non exploded branch and if there was one exploded it collapses). This could be trivial if I could tell which branch is currently exploded. How can I achieve this ? I have tried to achieve this with strange results, on my index I get two copies of the tree, dont really know why. Thanks in advance. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Nathan D. Olmscheid) Date: Fri Sep 21 17:26:02 2001 Subject: [ic] Interchange Templates Has anyone here tested these templates that are available with Interchange 4.8? Thanks a lot! Nathan Jon Jensen wrote: > On Thu, 20 Sep 2001, Nathan D. Olmscheid wrote: > > > I got the Interchange 4.8 Documentation book set and have started to > > read them. One thing it mentioned is that there are available templates > > that are online at the following location. > > http://interchange.redhat.com. > > > > Does anyone know where these are? We have the templates that came with > > the initial install and the foundation demo, but are there others out > > there too?? > > There are three from previous versions of Interchange and Minivend, > available here: > > http://ftp.interchange.redhat.com/interchange/demos/ > > Note that they have not been tested with the latest version of > Interchange, and in particular that catalogs you build from these > templates may not be completely accessible from the newer admin UI > backend. > > Jon > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 17:31:01 2001 Subject: [ic] Interchange Templates Quoting Jon Jensen (jon@redhat.com): > On Thu, 20 Sep 2001, Nathan D. Olmscheid wrote: > > > I got the Interchange 4.8 Documentation book set and have started to > > read them. One thing it mentioned is that there are available templates > > that are online at the following location. > > http://interchange.redhat.com. > > > > Does anyone know where these are? We have the templates that came with > > the initial install and the foundation demo, but are there others out > > there too?? > > There are three from previous versions of Interchange and Minivend, > available here: > > http://ftp.interchange.redhat.com/interchange/demos/ > > Note that they have not been tested with the latest version of > Interchange, and in particular that catalogs you build from these > templates may not be completely accessible from the newer admin UI > backend. > One of my compatibility tests for Interchange is that it run each of "simple", "barry", and "basic". Not everything will work, as Jon said, but I am always able to place an order and display the product line in the catalog. -- 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 (Ron Phipps) Date: Fri Sep 21 17:35:01 2001 Subject: [ic] Verisign, double, tripe charges, orders not going through IC > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of mheins@redhat.com > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > > [snip] > > > Remember all bugs are not Interchange. 8-\ If you didn't know, > > > thousands of bugs have been fixed in Perl and Linux in the last two > > > years. > > > > I know this :) And once again I apologize if you took my message as an > > attack on IC. You know that I'm very thankful for the software that you > > have provided and do not take it for granted. I got tied up in the > > moment of finding a quick fix instead of looking at the situation from > > further away. Those things happen when a launch goes bad and sales are > > being lost ;) > > > > I didn't see it as an attack -- but it is easy to lose site of how much > a system depends on all its parts. I was trying to bring that out, and > trying to emphasize how much Interchange depends on its underlying > platform. Did you mention a multi-CPU system? I am not sure. If you have > a multi-CPU system, then that applies 10 times over. And I did lose site of the underlying system which IC relies on. We actually are running on two cpus which definitely complicates matters more. > All that being said, I am certainly not asserting that there could > not possibly be a problem with Interchange 4.8. I know better than > that. I just think it is more likely to be the kernel or Perl. I agree with your assessment and I appreciate the time you put into this problem. I went looking for a 'whatsnew' for the newest Perl and while searching I found this about the version we are using "For the faint of heart, the previous version of Perl is the 5.005_03 release. Timid souls who are afraid to upgrade to the current release might want this." I guess it's time to upgrade :) > After racking my brain, the only thing I can think of, is that > Interchange 4.8.x does that 4.6 didn't that might conceivably affect > this is to use the reset() function in Perl. There may have been some > bugs with that function fixed in Perl 5.6. By the way I did not see any messages in /var/log/messages so it seems that these processes are dying quietly. After the upgrade to 5.6 we will again try IC 4.8.x and verify if it was a perl issue or not, I can then alert other people to the problem if they run into this situation. > > > > > The fact that the problem only appears at busy times means it can > > > be anything, and that it is less likely to be Interchange than it > > > is overall system. > > > > Point noted, we will be testing and deploying the new perl and will then > > readdress IC 4.8.x and see if the problem is tied to the old perl. I > > have watched the load averages and memory usage when the problem occurs > > and it is independent of how busy the site is. > > > > [snip] > > > I hope you see my true intentions (to resolve the situation quickly) and > > look over my frustration which was expressed in my message. > > > > Good luck. I understand the frustration, believe me. I still remember > flaky problems from my days of bringing high-volume sites online. Thanks, I get to relax a little bit today... I'm sure next week I'll want to go at it again to get to the bottom of the problem. Take it easy, -Ron From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 21 18:04:00 2001 Subject: [ic] TIPS AND TRICKS: Tree example Quoting Eduardo Dominguez (edmz@yahoo.com): > Thanks for the great example :) > > Works nicely. > > With the current code, is it possible to make the tree only > display one exploded branch ? (eg, you click on a non exploded > branch and if there was one exploded it collapses). Nope, but it is possible. You would have to check the $CGI->{toggle}, and if it is present and is a toplevel entry, delete the $Scratch->{memo} structure entirely. This would have to happen above the tree call. I think this would work: [if cgi toggle] [calc] my $par = '[data table=tree col=parent_fld key="[cgi toggle]"]'; delete $Scratch->{memo} if $par eq 'TOP'; return; [/calc] [/if] -- 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 (Dan Browning) Date: Fri Sep 21 19:05:01 2001 Subject: [ic] Problems with [query] At 02:34 PM 9/21/2001 -0600, you wrote: >So phase two of this issue: I created >'section.pgsql' and I think I got the format >right, but now when I start interchange I >get this message: > >...table 'awt_section' failed: DBD::Pg::st execute failed: ERROR: >awt_section: Permission denied. at /apps/interchange/lib/Vend/Table/DBI.pm >line 1321. > >This looks like an operating system level message, >the standard "you tried to access a file you don't own" >but when I look at DBI.pm line 1321, it is trying >to do $sth->execute(); which I believe is an SQL >call to the Postgres database. > >Is this an SQL error or an OS error? > >Patrick Bennett >http://www.ccgenesis.com Your questions are refreshing, I really appreciate the intelligent effort you put into it. Unfortunately I don't know the answer. But my first guess is that it is a SQL error. Maybe the user that runs interchange (e.g., interch) has different permissions for that table. What is your /var/lib/pgsql/data/pg_hba.conf? It would also be nice to clarify if there is any difference in SQLUSER/DBI/etc. from the following files: dbconf/pgsql/section.pgsql dbconf/pgsql/products.pgsql HTH, HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Sep 21 20:37:01 2001 Subject: [ic] To Mike Heins Mike, September 11th taught us how volatile the world is. How we are here today and gone tomorrow, and a lot of appreciations left unsaid. When my Dad died, I had written him a long letter about 6 months earlier with my true feelings, and my true love expressed. In the 15 years since then I have daily thanked my (whatever) that I had taken the time to write him with my true feelings. So many people do not get a chance to do that. I know that he went to his grave knowing that I loved him and that I appreciated all of his sacrifices for me. In the hustle and bustle, we often forget (or neglect) to take the time to show appreciation where we need to. Mike, it boggles my mind to even try to imagine the wealth of information that you have stored in your mind. It's fantastic! I've been writing software of various sorts since 1976. I know that it's not easy. I fully understand the trials and tribulations of trying to make software all come together. I can really appreciate the hard work that you have put into Interchange. It is truly a work of art in it's own right. When I look at the time stamps on many of your messages, I honestly wonder when you have time to sleep. You are obviously giving your heart, body, and soul to this project. I'm an old man. I bitch a lot. (I've earned the right (-: ) But, I also feel that if I have a right to bitch, that I need to offset that by giving credit where credit is due. My intent in bitching is to help improve an already tremendous piece of software. It also boggles my mind that you have freely given so much of yourself, so much of your life, and that you have put so much dedication into what is now Interchange. That you have given away, for free, so much of your blood, sweat, and tears. I have experimented with a significant number of e-commerce programs, and I have paid several hundred dollars for some of them. All of them are inferior to your masterpiece! September is a month of heroes! Our country has seen some new heroes evolve this month. I don't care what anyone says, Mike: You are my Hero! Thanks for all that you have done for us! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, September 21, 2001 at 20:10 PM: I don't suffer from insanity. I enjoy every minute of it. ---------------------------------------------------------------- This Linux System has been up 142 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (JT Justman) Date: Sat Sep 22 03:05:01 2001 Subject: [ic] Getting category name from tree to page title From: <mheins@redhat.com> > Right at the top of the page, below the template definition: > > [tmp page_title] .... [/tmp] > > That should interpolate just fine. <<snip>> > > Depends on what is in the page template. If you are using foundation, > and it is the results page, that would be "leftright". If the page_title > setting is as above (i.e. [tmp page_title] ... [/tmp] instead of > [set page_title] .... [/set] it should work as you want. I suppose I should have said. I'm working from a Construct demo, and I'm using 4.8.1. I started this site about a week before 4.8 was released. So the answer is I have [set... when I need [tmp... If I edit pages/category_display.html and make this change, it works fine, but the first time I make a change to the page with the UI, it reverts back. How can I change this so that the UI will use [tmp] as well? I'm sure I'm missing a peice of the puzzle, and I'm stumped! Thanks for the help, JT From: interchange-users at interchange.redhat.com (Sheamus Nulty) Date: Sat Sep 22 07:21:01 2001 Subject: [ic] Affiliate Program Hi Folks, I'm looking for some advice with regard to setting up an affiliate program with interchange. Basically, the method I'm looking to implement is that a cookie is stored to a user's pc when he comes from an affiliate site. This cookie would be active for 30 Days so that the affiliate would earn commision on purchases made by this user during this period. Now, I've looked at the Server.pm file and have found a way to set a one-time cookie that would last 30 Days by modifying the create_cookie routine. The method I thought to use was that when a user connects to our site after previously coming from a affiliate, interchange would read the cookie and set Session->source{'mv_pc'} to the affiliate id. This is the part I'm unsure as to how/where I should put the code to set the mv_pc variable. Thanks Sheamus From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Sep 22 13:06:00 2001 Subject: [ic] Affiliate Program Quoting Sheamus Nulty (snulty@celticlinks.com): > Hi Folks, > > I'm looking for some advice with regard to setting up an affiliate program > with interchange. Basically, the method I'm looking to implement is that a > cookie is stored to a user's pc when he comes from an affiliate site. This > cookie would be active for 30 Days so that the affiliate would earn > commision on purchases made by this user during this period. > > Now, I've looked at the Server.pm file and have found a way to set a > one-time cookie that would last 30 Days by modifying the create_cookie > routine. I don't think that is a very good idea....but it is on your head. Probably easier would be to use the [set-cookie] tag. You can set the expiration explicitly with a UNIX time value or pre-formatted cookie time string, but it seems to me that adding a certain amount of time to the current time is a good way to set the expire, so I am making that routine be: sub set_cookie { my ($name, $value, $expire, $domain, $path) = @_; # Set expire to now + some time if expire string is something like # "30 days" or "7 weeks" or even "60 minutes" if($expire =~ /^\s*\d+[\s\0]*[smdhw]\S*\s*$/) { my $add = Vend::Config::time_to_seconds($expire); $expire = time() + $add if $add; } if (! $::Instance->{Cookies}) { $::Instance->{Cookies} = [] } else { @{$::Instance->{Cookies}} = grep $_->[0] ne $name, @{$::Instance->{Cookies}}; } push @{$::Instance->{Cookies}}, [$name, $value, $expire, $domain, $path]; return; } in the next version. Thanks for the idea. That will allow: [set-cookie name=foo value=bar expire="30 days"] I think that would be a better way than messing with Server.pm. > The method I thought to use was that when a user connects to our > site after previously coming from a affiliate, interchange would read the > cookie and set Session->source{'mv_pc'} to the affiliate id. > > This is the part I'm unsure as to how/where I should put the code to set the > mv_pc variable. Probably in catalog.cfg with Autoload, but this can go on any page as well. Autoload <<EOF [calc] return if $Session->{source}; my $cookie = $Tag->read_cookie('cookie_name') or return; $Session->{source} = $cookie; return; [/calc] EOF -- 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 (Frank Maestas) Date: Sat Sep 22 16:16:01 2001 Subject: [ic] 4.8.2 and Cybercash config. Hello, Just started using version 4.8.2. The only trouble I'm having is once again, Cybercash configuration. The test-mcks from Cybercash work fine, so I'm confident the server is connecting to Cybercash. My question is... has Cybercash configuration been changed in 4.8.2, and how is it now done? The symptoms I'm getting are at the checkout page. When I and enter credit card info and then submit, the checkout page just comes right back (no receipt is generated). I'm thinking that IC is not getting to any of the Cybercash scripts. After 2 days of double checking my paths permissions, I'm having no luck with this. The Cybercash configuration I used in 4.6.1 are different now. I've tried entering info into the variable.txt file but nothing is working. Anyone else having problems getting Cybercash to work? Frank Maestas fmaestas@ttseagle.com From: interchange-users at interchange.redhat.com (Gilbert Meyer-Gauen) Date: Sat Sep 22 16:29:01 2001 Subject: [ic] Foundation Store - How to sort category results Hello IC Experts, I have a simple problem with the "Foundation" store that I would like to use to build a shopping cart. I am relatively new to Interchange, so please bear with me if this question is too trivial for some. I have a category list on the left side of the shopping cart that displays perfectly the different categories of my product catalog. The category links put out the correct item list once you click on them, so that works as well. However, I would like to have the resulting pages sorted by the sku when you click on the category links. I know that I have to include tf=sku somewhere, but I simply can't figure out where. I tried it in category_vertical, but that is only for the category display on the page. Any help is highly appreciated. Thanks in advance, Gil From: interchange-users at interchange.redhat.com (Kyle Kirkland) Date: Sat Sep 22 17:26:01 2001 Subject: [ic] Admin Interface, Item Options, & Pricing I'm trying to figure out how to make it easier through the admin interface to associate different prices to different item options. I've figured out, by looking at the foundation demo & the Spackling Knife item (os28011), that by using the "Simple" option type, you can define your options in the "Items" section, but there's no field in this section to enter different pricing information for these defined options. The only way to associate prices with the options you just defined, is by going to the "Administration->Tables->options" screen and entering pricing information there. How can I get the price field that's found in the Administration section shown on the Item->Options section? Having this would greatly improve efficiency in inputing item information. Thanks, Kyle __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com From: interchange-users at interchange.redhat.com (Clayton Miller) Date: Sat Sep 22 21:39:00 2001 Subject: [ic] No Left Frame text Has anyone seen were the text in the left pane of your IC store's "Home" page does not show the text. The text flashes quickly by and then the red block covers over it. The text is never seen again like it is the same color as the box. If you move your mouse over the area the catagories do highlight. I attempted to fix this by diffing all files from my working first test store and foundation demos. All now diff the same except their URL and store name, of course. Then, I reconfigured the catalog and performed an /etc/rc.d/init.d/interchange restart. All to no avail. I get the same hidden text in that frame. Anyone got any ideas? Thanks. Clayton. From: interchange-users at interchange.redhat.com (Clayton Miller) Date: Sat Sep 22 21:51:00 2001 Subject: [ic] PayPal Integration Any luck with the PayPal integration? I am planning for that to be my only means of payment so I am anixiously awaiting its arrival. Can't (or won't) launch my site without it. ;>) P.S. Good luck, we're all counting on you. Thanks, Clayton. From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Sat Sep 22 23:21:01 2001 Subject: [ic] 4.8.2 and Cybercash config. > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Frank Maestas > > Hello, > Just started using version 4.8.2. The only trouble I'm having > is once again, Cybercash configuration. > > The test-mcks from Cybercash work fine, so I'm confident the server is > connecting to Cybercash. > > My question is... has Cybercash configuration been changed in 4.8.2, and > how is it now done? > > The symptoms I'm getting are at the checkout page. When I and enter > credit card info and then submit, the checkout page just comes right > back (no receipt is generated). I'm thinking that IC is not getting to > any of the Cybercash scripts. After 2 days of double checking my paths > permissions, I'm having no luck with this. > Something which may help you is to set DEBUG to 1 in the interchange.cfg. Then remove the '#' before each '::logdebug' statement in ICROOT/lib/Vend/Payment/Cybercash.pm. Then restart IC and try to place an order. Look in /tmp/icdebug and see if there are any debug statements for Cybercash in there. I only have experience with Verisign, but these are the same tactics I use. Take it easy! -Ron From: interchange-users at interchange.redhat.com (Diego M. Del Vecchio) Date: Sun Sep 23 03:16:01 2001 Subject: [ic] Undefined Catalog error!! I know you must be anoyed of reading this kind of messeges.. but I'm trying to make this work and I can't!! I was just trying to install the demo catalog and this error appears in error.log file Anyone has a clue?!?! The settings for the catalog are stricktly standard and always using the recomended options!! As in the installation! /cgi-bin/foundation CGI mapping error: Undefined catalog: /cgi-bin/foundation at /usr/local/interchange/lib/Vend/Server.pm line 182 Thanks From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sun Sep 23 09:00:01 2001 Subject: [ic] Insert into [error] ? I want to tell Interchange (checkout.html) that an error occured. This page uses the [error] tag so it would be natural to enter my error into this. But it doesn't seem possible ???? -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Sun Sep 23 09:05:01 2001 Subject: [ic] Getting back to Interchange after a short stroll!! - revisited I had this problem: > I'm trying without much luck to go to an external page and then back in > Interchange. All this from ord/checkout.html Maybe others have the same problem, so I'll tell what was wrong. It's very simple, really - the variable ORDERS_TO was not set, so Interchange couldn't send an email to the owner. It happened to me againg yesterday night, but this time I knew that there was a way to make it work. Going into the admin menus, I could see that all my settings had been erased. The only thing out of the ordinary that I've tried lately is the ui Wizard. Stay away from the Wizard - his spells are backfiring towards you!! -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Sun Sep 23 10:00:01 2001 Subject: [ic] Insert into [error] ? Kaare Rasmussen <kar@webline.dk> writes: > I want to tell Interchange (checkout.html) that an error occured. This page > uses the [error] tag so it would be natural to enter my error into this. But > it doesn't seem possible ???? $Session->{errors}->{wife} = 'Gone crazy'; 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 Sep 23 10:30:01 2001 Subject: [ic] Insert into [error] ? On Sun, Sep 23, 2001 at 03:59:34PM +0200, Stefan Hornburg (Racke) wrote: > Kaare Rasmussen <kar@webline.dk> writes: > > > I want to tell Interchange (checkout.html) that an error occured. This page > > uses the [error] tag so it would be natural to enter my error into this. But > > it doesn't seem possible ???? > > $Session->{errors}->{wife} = 'Gone crazy'; Isn't it actually: $Session->{errors}->{wife} = ['Gone crazy','can\'t be anything I did?','!Not']; :-) cfm > > 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 -- 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 (Corey Gilmore) Date: Sun Sep 23 10:35:00 2001 Subject: [ic] 4.8.2 and Cybercash config. On Sat, 22 Sep 2001, Frank Maestas wrote: > Hello, > Just started using version 4.8.2. The only trouble I'm having > is once again, Cybercash configuration. > > The test-mcks from Cybercash work fine, so I'm confident the server is > connecting to Cybercash. > > My question is... has Cybercash configuration been changed in 4.8.2, and > how is it now done? > > The symptoms I'm getting are at the checkout page. When I and enter > credit card info and then submit, the checkout page just comes right > back (no receipt is generated). I'm thinking that IC is not getting to > any of the Cybercash scripts. After 2 days of double checking my paths > permissions, I'm having no luck with this. Have you checked your error.log? Both for the catalog, and for IC? > The Cybercash configuration I used in 4.6.1 are different now. I've > tried entering info into the variable.txt file but nothing is working. You could try using the same mck libraries you used with 4.6.1 - this was the problem I had (with 4.6.5). SOmething to do with the way the newer CC libs closed a filehandle. Also, check out http://developer.akopia.com/minivend4/docindex/14.08.Using_CyberCash.html .cfg From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Sun Sep 23 10:39:00 2001 Subject: [ic] credit card info On Thu, 20 Sep 2001, Andreas, Scott wrote: > > Thats nice and all, but we batch our creditcards via a script. Once a day we > download all the days activities which runs into the thousands and then run > a script which looks for the creditcard info, then writes it to a txt file > and then batch to the terminal from there. Its fully automated. So our > little situation would make for teadious situation if we had to do it all > with human intervention. Why not just add an extra line or two to decrypt the CC info? Even if the password is hardcoded, you will still be that much more secure from the time the email is sent, to when it is received. I guess if you have IC running on the same server where IC is dealing with credit cards, and were just sending the orders to orders@localhost, it wouldn't be that much of an issue. You could try using /bin/cat as your encryptor. Or create a custom Route for your orders (I haven't done this w/o encryption so I can't help much). From: interchange-users at interchange.redhat.com (Art Wynans) Date: Sun Sep 23 11:33:00 2001 Subject: [ic] Interchange hosting with Dynamic IP address I'm trying to host an interchange website using an ADSL modem and dynamic IP address. I can handle the IP address changes with html redirects from the domain name however the setup of interchange requires an internet routable domain and hostname in the configuration and catalog. How can I set up interchange to work when my server's hostname/ IP changes a few times a week? From: interchange-users at interchange.redhat.com (Diego M. Del Vecchio) Date: Sun Sep 23 12:24:00 2001 Subject: [ic] Undefined Catalog Error!! I know you must be anoyed of reading this kind of messeges.. but I'm trying to make this work and I can't!! I was just trying to install the demo catalog and this error appears in error.log file Anyone has a clue?!?! The settings for the catalog are stricktly standard and always using the recomended options!! As in the installation! /cgi-bin/foundation CGI mapping error: Undefined catalog: /cgi-bin/foundation at /usr/local/interchange/lib/Vend/Server.pm line 182 Thanks From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Sep 23 13:02:01 2001 Subject: [ic] Interchange hosting with Dynamic IP address Quoting Art Wynans (artw@telus.net): > I'm trying to host an interchange website using an ADSL modem and dynamic IP > address. I can handle the IP address changes with html redirects from the > domain name however the setup of interchange requires an internet routable > domain and hostname in the configuration and catalog. How can I set up > interchange to work when my server's hostname/ IP changes a few times a > week? I suggest just setting: VendURL /cgi-bin/yourcat Then hostname doesn't matter, it uses whatever the entry point was. -- 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 (Robert Trembath) Date: Sun Sep 23 14:06:01 2001 Subject: [ic] Setting ProductField not working Hello Everyone, I just got to the point where I've started doing some custom pricing where I would like the q2 field to be the what displays and is used by a Catalog in IC4.7.7 but it does seems to work. Could someone please direct me to a solution as the documented one isn't working. Below is that part of my catalog.cfg file: # Cart, order, and route settings. ParseVariables Yes ValuesDefault country __SHIP_DEFAULT_COUNTRY__ ValuesDefault mv_shipmode __SHIP_DEFAULT_MODE__ DefaultShipping __SHIP_DEFAULT_MODE__ MailOrderTo __ORDERS_TO__ AlwaysSecure ord/checkout login change_password ## Set this if you have a different secure server #AlwaysSecure order ord/checkout ord/basket login change_password process PriceField q2 CommonAdjust :sale_price, ;:price, ;$, ==:options EncryptProgram __ENCRYPTOR__ # This prevents a user from setting this value, you may want to unset # this if you have user-selectable handling charges like insurance FormIgnore mv_handling # # Thanks, Robert From: interchange-users at interchange.redhat.com (Vortex75) Date: Sun Sep 23 14:19:01 2001 Subject: [ic] About Interchange Is Interchange for E-commerce only or is it possible to use it for content management similar to what ASP or Cold Fusion offers? If it is possible, where can a "getting started" guide be found online in order to learn how to setup Interchange and develop for it? I have looked through the available docs in the documentation area but they are very vague and talk to you as if you have been developing it for years and know what they are talking about. Is there an online resource for those who are new to the Interchange system? From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Sun Sep 23 14:24:00 2001 Subject: [ic] Setting ProductField not working Correction, it does NOT seems to work. Sorry -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Robert Trembath Sent: Sunday, September 23, 2001 1:06 PM To: Interchange-Users@Interchange.Redhat.Com Subject: [ic] Setting ProductField not working Hello Everyone, I just got to the point where I've started doing some custom pricing where I would like the q2 field to be the what displays and is used by a Catalog in IC4.7.7 but it does seems to work. Could someone please direct me to a solution as the documented one isn't working. Below is that part of my catalog.cfg file: # Cart, order, and route settings. ParseVariables Yes ValuesDefault country __SHIP_DEFAULT_COUNTRY__ ValuesDefault mv_shipmode __SHIP_DEFAULT_MODE__ DefaultShipping __SHIP_DEFAULT_MODE__ MailOrderTo __ORDERS_TO__ AlwaysSecure ord/checkout login change_password ## Set this if you have a different secure server #AlwaysSecure order ord/checkout ord/basket login change_password process PriceField q2 CommonAdjust :sale_price, ;:price, ;$, ==:options EncryptProgram __ENCRYPTOR__ # This prevents a user from setting this value, you may want to unset # this if you have user-selectable handling charges like insurance FormIgnore mv_handling # # Thanks, Robert _______________________________________________ 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: Sun Sep 23 15:00:01 2001 Subject: [ic] About Interchange On Sun, Sep 23, 2001 at 01:12:42PM -0500, Vortex75 wrote: > Is Interchange for E-commerce only or is it possible to use it for content > management similar to what ASP or Cold Fusion offers? If it is possible, > where can a "getting started" guide be found online in order to learn how to > setup Interchange and develop for it? I have looked through the available > docs in the documentation area but they are very vague and talk to you as if > you have been developing it for years and know what they are talking about. > Is there an online resource for those who are new to the Interchange system? It is not clear what you are really asking; neither ASP nor Cold Fusion can be considered "content management" except in an overly broad sense. One can build a content management system with any of them. "Content management" is a fabulously hip and poorly defined buzzword. :-) Can you be more specific about what you want? Outside of the ecommerce hooks, IC is really just a glorified session manager in perl. I'm sure there are ASP and Cold Fusion tools to maintain sessions; it's just that they will work without sessions where IC is built on top of the manager and won't run without it. If you don't need state, IC is overkill. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Sep 23 15:13:00 2001 Subject: [ic] About Interchange Quoting Vortex75 (vortex75@swbell.net): > Is Interchange for E-commerce only or is it possible to use it for content > management similar to what ASP or Cold Fusion offers? Yes, absolutely it is suitable. Some of the busiest Interchange sites have nothing for sale. For example, Freecell.com, running Interchange 4.8 in PreFork mode, serves 2.5 million hits and as many as 300,000 parsed page hits per day (all on a single 850MHz Athlon and 384M RAM). It is possible to do very complex content-syndication stuff with Interchange. For instance, in about 3 hours this morning I wrote an RSS syndication access component which accepts a URL containing an RSS/RDF feed and produces "slashboxes" based on that. It has a complete templating setup which is identical to all of the other Interchange lists, and it only took me a couple-three of hours to do. > If it is possible, > where can a "getting started" guide be found online in order to learn how to > setup Interchange and develop for it? I have looked through the available > docs in the documentation area but they are very vague and talk to you as if > you have been developing it for years and know what they are talking about. There I can't help you. Perhaps because I wrote the vast majority of the docs, I can't see the problem. I think the best starting place is the tutorial, which I didn't write. 8-) Another starting point is to build a test catalog and just start changing stuff in the pages/ directory. Eventually it becomes pretty clear, or at least it appears that hundreds or thousands of people have been able to get to the point where they can do stuff with it. Personally, it took me about 6 months learning Perl 5.0 before it really *clicked*. Some people never really get Perl -- I have a musician friend who is absolutely god-like in a musical way, but I am not sure it will ever click for him like it does for me. We all have different talents, and programming is not every person's talent. > Is there an online resource for those who are new to the Interchange system? Most of Interchange is database, HTML/web, and Perl. If you understand those things, it shouldn't be that big a deal learning it based on the docs. If you don't understand those things well, in that order, it will be a struggle. -- 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 (Kaare Rasmussen) Date: Sun Sep 23 15:27:00 2001 Subject: [ic] Insert into [error] ? > $Session->{errors}->{wife} = 'Gone crazy'; Thanks. It works. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Jason Osborne) Date: Sun Sep 23 16:48:01 2001 Subject: [ic] Admin Order Entry -> Order Routes -> Admin Logout I have an issue that I've been trying to solve for a while now. In the UI when an admin places an order, it goes out and runs through the Order Routes and then goes to the receipt.html page. Problem is that when the admin tries to go back to the UI, he/she has to log back into the system. What part of the order route is causing the admin to be logged off? Thanks, Jason Osborne Data and Telecom Network Solutions 3847 Timberglen Rd., STE 4013 Dallas, Texas 75287 phone: 972-307-0676 fax: 972-662-7956 e-mail: sales@sohonetworks.cc web: http://www.sohonetworks.cc From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Sun Sep 23 18:39:00 2001 Subject: [ic] Setting ProductField not working Quoting Robert > Hello Everyone, > I just got to the point where I've started doing some > custom pricing where > I would like the q2 field to be the what displays and is used > by a Catalog > in IC4.7.7 but it does seems to work. Could someone please > direct me to a > solution as the documented one isn't working. > > Below is that part of my catalog.cfg file: The q2 field in pricing is for quantity 2 and will only work if 2 items are being added to cart. If this is what you are trying to do then check out this link. http://ic.redhat.com/cgi-bin/ic/dev/ictags_57.html Also I forgot about the catroot/etc/after.cfg when I did this so it took me longer to figure things out. You might want to search the archives for CommonAdjust. All the recent examples I found said set pricefield to 0. Hope this helps From: interchange-users at interchange.redhat.com (Mangeng Michael) Date: Mon Sep 24 06:10:01 2001 Subject: [ic] Accessories - wildchar? Hi My question is if there is a possibility to add all accessories (which belong to the current product) selection boxes instead of adding for each accessories a block like [accessories code=[item-code] type=checkbox attribute=accname] ...to the flypage. [accessories code=[item-code] type=checkbox attribute=*] ...does not work :-) thanx Michael Mangeng From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Mon Sep 24 10:16:01 2001 Subject: [ic] Setting ProductField not working According to the docs you can tell IC whick price field [item-price] will access. I was told this feature works. Does anyone have any experience configuring this feature. Mike - do you have any advice on this. I would like to have the flypage read the selling price from the q2 field and display the regular price as a list price only. I read in the docs that this was possible by assigning the PriceField variable to the field you wish to read from. Did I misunderstand? Thanks, Robert ----- Original Message ----- From: "Lewey Taylor" <admin@triparish.net> To: <interchange-users@interchange.redhat.com> Sent: Sunday, September 23, 2001 5:34 PM Subject: RE: [ic] Setting ProductField not working > Quoting Robert > > Hello Everyone, > > I just got to the point where I've started doing some > > custom pricing where > > I would like the q2 field to be the what displays and is > used > > by a Catalog > > in IC4.7.7 but it does seems to work. Could someone please > > direct me to a > > solution as the documented one isn't working. > > > > Below is that part of my catalog.cfg file: > > The q2 field in pricing is for quantity 2 and will only work > if 2 items are being added to cart. If this is what you are > trying to do then check out this link. > http://ic.redhat.com/cgi-bin/ic/dev/ictags_57.html > Also I forgot about the catroot/etc/after.cfg when I did > this so it took me longer to figure things out. You might > want to search the archives for CommonAdjust. All the > recent examples I found said set pricefield to 0. > > Hope this helps > > _______________________________________________ > 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 Cherbini) Date: Mon Sep 24 11:03:01 2001 Subject: [ic] Undefined Catalog Error!! Diego, This is a common problem. This is how to solve it. Do a tail -f on your error.log. Now, restart interchange with /etc/rc.d/init.d/interchange restart You will see the problem come up in your tail window. Keep in mind that there can be a few error.log's and you need to be viewing the main interchange one. Good luck. JC On Sunday 23 September 2001 09:26 am, you wrote: > I know you must be anoyed of reading this kind of messeges.. but I'm trying > to make this work and I can't!! I was just trying to install the demo > catalog and this error appears in error.log file > > Anyone has a clue?!?! The settings for the catalog are stricktly standard > and always using the recomended options!! As in the installation! > > /cgi-bin/foundation CGI mapping error: Undefined catalog: > /cgi-bin/foundation at /usr/local/interchange/lib/Vend/Server.pm line 182 > > 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 (Eduardo Dominguez) Date: Mon Sep 24 12:51:00 2001 Subject: [ic] modular options under foundation I am trying to make modular options work under the foundation demo. After reading the documentation, i have noted that some things are missing: "The foundation catalog with the computer data set uses modular options." I havent found such a data set :/ Also, the docs mention two components (modular_buy, modular_update) both of which dont exist under foundation 4.8.1. Nevertheless, I tried modular options. Opened up the admin, selected an item, added options by selecting modular. Then I type the SKU, option name and option description. Apply changes. Then browse the item in the catalog and no options appear. Is Modular Options working ? DOnt recall where, but i read something about this feature being Alpha. Am I missing something ? Thanks in advance. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Sep 24 12:59:01 2001 Subject: [ic] About Interchange > It is possible to do very complex content-syndication stuff with > Interchange. For instance, in about 3 hours this morning I > wrote an RSS > syndication access component which accepts a URL containing an RSS/RDF > feed and produces "slashboxes" based on that. It has a complete > templating setup which is identical to all of the other Interchange > lists, and it only took me a couple-three of hours to do. Okay Mike. I knew it. You're hooked on Slashdot too, aren't you? Admit it. I know a really great 12-step program that can help: the first step is to admit your Slashdot user ID (the *real* one). (I knew I recognized your handwriting in all those "FiRsT pOsT" comments). Dan Browning From: interchange-users at interchange.redhat.com (Joshua Sowin) Date: Mon Sep 24 13:22:00 2001 Subject: [ic] DBI/DBD "undefined symbol"? Hello all, Still having some problems getting Interchange working. I have it installed, and have installed the Bundle::Interchange for perl as well. But when I try to start the interchange server, I get this error message: Interchange V4.8.2 Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation...perl: error in loading shared libraries: /usr/lib/perl5/site_perl/5.005/i386- linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init What can I do to fix this? I have reinstaleld DBD and tried to upgrade perl, but it does not fix the problem. I am not an expert with shared libraries, so any help would be appreciated. I need to get this cleared up ASAP, as I need to get this working for my business. Thank you in advance! God Bless! In Christ, Joshua Sowin founder, gracehost.com webmaster, 5050petsupply.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 24 13:32:00 2001 Subject: [ic] modular options under foundation Eduardo Dominguez <edmz@yahoo.com> writes: > I am trying to make modular options work under the foundation demo. > After reading the documentation, i have noted that some things are > missing: > > "The foundation catalog with the computer data set uses modular > options." > > I havent found such a data set :/ > > Also, the docs mention two components (modular_buy, modular_update) both > of which dont exist under foundation 4.8.1. AFAIK, the "computer data" has been removed from IC 4.8.x, but apparently it is still in the docs. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Sep 24 13:34:01 2001 Subject: [ic] DBI/DBD "undefined symbol"? > Hello all, > > Still having some problems getting Interchange working. I have it > installed, and have installed the Bundle::Interchange for > perl as well. > But when I try to start the interchange server, I get this > error message: > > Interchange V4.8.2 > Configuring catalog foundation...Using MySQL, > DSN=dbi:mysql:test_foundation...perl: error in loading shared > libraries: /usr/lib/perl5/site_perl/5.005/i386- > linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init > > What can I do to fix this? I have reinstaleld DBD and tried > to upgrade > perl, but it does not fix the problem. I am not an expert > with shared > libraries, so any help would be appreciated. I need to get > this cleared up > ASAP, as I need to get this working for my business. Thank you in > advance! God Bless! > > In Christ, > > Joshua Sowin > founder, gracehost.com > webmaster, 5050petsupply.com Joshua, I would recommend trying to upgrade perl to 5.6.1. What is your OS version/distro? Could you give the output of your installation of the Mysql DBD module? (i.e. perl Makefile.PL; make; make test; make install) HTH, Dan Browning From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Sep 24 13:50:00 2001 Subject: [ic] DBI/DBD "undefined symbol"? "Joshua Sowin" <jpsowin@gracehost.com> writes: > Hello all, > > Still having some problems getting Interchange working. I have it > installed, and have installed the Bundle::Interchange for perl as well. > But when I try to start the interchange server, I get this error message: > > Interchange V4.8.2 > Configuring catalog foundation...Using MySQL, > DSN=dbi:mysql:test_foundation...perl: error in loading shared > libraries: /usr/lib/perl5/site_perl/5.005/i386- > linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init > > What can I do to fix this? I have reinstaleld DBD and tried to upgrade > perl, but it does not fix the problem. I am not an expert with shared > libraries, so any help would be appreciated. I need to get this cleared up > ASAP, as I need to get this working for my business. Thank you in > advance! God Bless! Apparently the DBD module has been compiled with a different version of MySQL libraries than the currently installed. You may provide more information about your system. 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 (Clayton Miller) Date: Mon Sep 24 14:59:01 2001 Subject: [ic] No Left Frame text Well, I have figured out what happens. If you do not define any areas or cats, IC defaults to a list of products. However, for some reason the text color is wrong. I went into templates/components/category_vertical, found where this product list was being listed and added a font class="categroybar" around the loop-field. This fixed the data so that it would show up. Since I really wanted cats and areas though I updated those tables with data and all was ok! FYI for the QA team. Clayton. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Sep 24 20:10:00 2001 Subject: [ic] Admin Order Entry -> Order Routes -> Admin Logout On Sun, 23 Sep 2001, Jason Osborne wrote: JO>>I have an issue that I've been trying to solve for a while now. In the UI JO>>when an admin places an order, it goes out and runs through the Order Routes JO>>and then goes to the receipt.html page. Problem is that when the admin tries JO>>to go back to the UI, he/she has to log back into the system. What part of JO>>the order route is causing the admin to be logged off? In 4.6, my guess has been that the logins are tied together between the UI and the store. If I log into the store as Fred Sanford, and then log into the UI as Jim, suddenly the login at the store is changed to Jim. If I log out of the store and then log back in as Fred Sanford (the memory of Redd Foxx lives on!), then Jim is logged out of the UI. Whether this is a bug or a feature, I can't say! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, September 24, 2001 at 20:05 PM: The world will end in 5 minutes. Please log out. ---------------------------------------------------------------- This Linux System has been up 2 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Joshua Sowin) Date: Mon Sep 24 20:43:00 2001 Subject: [ic] Starting server? Hello again, I finally got my DBI/Mysql problem fixed... But now when I try to start the server it says this: [root cart]# su -c "/usr/local/interchange/bin/interchange -r" interch The Interchange server was not running (/usr/local/interchange/etc/interchange.pid). Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange line 2717 Calling UI......UI is loaded... Interchange V4.8.2 Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation...done. For some reason the server is not staying active, because it says the server was not running every time I run the server. Why isn't it active? Am I doing something wrong? It just says the stupid server message when I try to access the foundation.cgi script. Any help would be appreciated! Thanks in advance! In Christ, Joshua Sowin founder, gracehost.com webmaster, 5050petsupply.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Sep 24 21:05:01 2001 Subject: [ic] Starting server? > Hello again, > > I finally got my DBI/Mysql problem fixed... > But now when I try to start the server it says this: > > [root cart]# su -c "/usr/local/interchange/bin/interchange -r" interch > The Interchange server was not running > (/usr/local/interchange/etc/interchange.pid). > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS > at /usr/local/interchange/bin/interchange line 2717 > Calling UI......UI is loaded... > Interchange V4.8.2 > Configuring catalog foundation...Using MySQL, > DSN=dbi:mysql:test_foundation...done. > > For some reason the server is not staying active, because it says the > server was not running every time I run the server. Why isn't it > active? Am I doing something wrong? It just says the stupid server > message when I try to access the foundation.cgi script. Any > help would be > appreciated! Thanks in advance! > > In Christ, > > Joshua Sowin > founder, gracehost.com > webmaster, 5050petsupply.com That error message is harmless. There might be a problem with your permissions on foundation.cgi, or your interchange.cfg. Does CATROOT/error.log or VENDROOT/error.log reveal anything? HTH, -Dan From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Mon Sep 24 21:13:01 2001 Subject: [ic] formatting a date string Whats the best way to format a date string (from a [data] query)? The string would be similar to 20010622 The time tag only works with the current time... thanks, .cfg From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Mon Sep 24 21:33:01 2001 Subject: [ic] Interchange config error.... hmmmm Well I think I am close... This is a FreeBSD server.. I know strange road... I have run makecat several times and created and deleated several stores but I keep getting the same error when I try to start the server... I can't seem to figure this one out.. any ideas would be appriceated.. Thanks, Eddie - - - [24/September/2001:21:27:28 +0000] - - Low traffic settings. - - - [24/September/2001:21:27:29 +0000] - - ...UI is loaded... - - - [24/September/2001:21:27:29 +0000] - - Interchange V4.8.2 - - - [24/September/2001:21:27:29 +0000] - - Config 'foundation' at server startup - - - [24/September/2001:21:27:29 +0000] - - foundation config error: Please specify the MailOrderTo directive in the configuration$ > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Sep 24 21:48:01 2001 Subject: [ic] Interchange config error.... hmmmm > Well I think I am close... This is a FreeBSD server.. I know > strange road... > I have run makecat several times and created and deleated several > stores but I keep getting the same error when I try to start > the server... > I can't seem to figure this one out.. any ideas would be appriceated.. > > Thanks, Eddie > > - - - [24/September/2001:21:27:28 +0000] - - Low traffic settings. > - - - [24/September/2001:21:27:29 +0000] - - ...UI is loaded... > - - - [24/September/2001:21:27:29 +0000] - - Interchange V4.8.2 > - - - [24/September/2001:21:27:29 +0000] - - Config > 'foundation' at server > startup > - - - [24/September/2001:21:27:29 +0000] - - foundation > config error: Please > specify the MailOrderTo directive in the configuration$ > > Permissions problem? For a test, try this on a throw-away catalog directory tree: chmod o+rwx -R * And also see the attached thread for potential enlightenment. :-) Dan Browning ----- Original Message ----- From: "cedric Boudin" <cedric.boudin@iconmedialab.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 2:29 PM Subject: Re: [ic] Undefined Catalog: /cgi-bin/foundation > Tomas Lindhoff writes: > > Thanks Cedric, but I'm somewhat confused... > > Let's say I configure "foundation" as a catalog. > > It's then placed in /usr/lib/interchange/foundation/ > > > > Based on the above, should I put something like this in the httpd.conf file: > > > > ScriptAlias /cgi-bin/foundation "/usr/lib/interchange/foundation" > > ScriptAlias /foundation "/usr/lib/interchange/foundation" > > ???? > yes > > you should have after the instalation a pgm called the catalog_name in > your cgi directory > this program makes the connection to the interch server and the server > looks in the catalog subdir for the pages to deliver. > the catalog subdir is not necessary in the cgi dir > you configure this from interchage.ini or conf somewhre in etc ehh..........sorry all ! Well, the problem with "Undefined Catalog: /cgi-bin/foundation" was due to permission problems. When running makecat I specified server running as "interch", store owned by user "tomas" and group was "interch". When I added "interch" as primary group for user "tomas" instead off supplementary, things went better. No more complaints about missing MailOrderTo directive However, when running /usr/sbin/interchange --serve as user "interch" it complained about Perl modules "Safe::Hole" "SQL:Statement" "LWP::Simple" was missing. After digging around the mail archive I found a nifty command which checked and updated ALOT of Perl stuff: # perl -MCPAN -e 'install Bundle::Interchange' This installed all needed modules (among others) and I could login to the admin area. Wicked...... Thanks for all your efforts trying to help (probably more to come along the way) cheers - Tomas _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Matthew T. Snyder) Date: Mon Sep 24 22:21:01 2001 Subject: [ic] Interchange config error.... hmmmm > -----Original Message----- > Edward Rubottom > Subject: [ic] Interchange config error.... hmmmm > > > Well I think I am close... This is a FreeBSD server.. I know > strange road... > I have run makecat several times and created and deleated several > stores but I keep getting the same error when I try to start the server... > I can't seem to figure this one out.. any ideas would be appriceated.. > > Thanks, Eddie > > - - - [24/September/2001:21:27:28 +0000] - - Low traffic settings. > - - - [24/September/2001:21:27:29 +0000] - - ...UI is loaded... > - - - [24/September/2001:21:27:29 +0000] - - Interchange V4.8.2 > - - - [24/September/2001:21:27:29 +0000] - - Config 'foundation' at server > startup > - - - [24/September/2001:21:27:29 +0000] - - foundation config > error: Please > specify the MailOrderTo directive in the configuration$ > > Are you providing makecat with an email address to send the orders to? Even interch@localhost will work. # The email address where orders for this catalog should go. # To have a secure catalog, either this should be a local user name and # not go over the Internet -- or use the PGP option. # MailOrderTo? interch@localhost If I remember correctly, the default is just the same name as is set for the catalog user, so you need to provide it with the remainder of the address. Alternately, you can look at <catalog>/products/variable.txt and modify the ORDERS_TO to set this address. If I'm missing something here, please let me know.. I'm still figuring all this out myself. From: interchange-users at interchange.redhat.com (Simon B) Date: Mon Sep 24 22:48:00 2001 Subject: [ic] Interchange config error.... hmmmm > > Well I think I am close... This is a FreeBSD server.. I know > > strange road... > > I have run makecat several times and created and deleated several > > stores but I keep getting the same error when I try to start the server... > > I can't seem to figure this one out.. any ideas would be appriceated.. > > > > Thanks, Eddie > > > > - - - [24/September/2001:21:27:28 +0000] - - Low traffic settings. > > - - - [24/September/2001:21:27:29 +0000] - - ...UI is loaded... > > - - - [24/September/2001:21:27:29 +0000] - - Interchange V4.8.2 > > - - - [24/September/2001:21:27:29 +0000] - - Config 'foundation' at server > > startup > > - - - [24/September/2001:21:27:29 +0000] - - foundation config > > error: Please > > specify the MailOrderTo directive in the configuration$ > > > I would suggest that this error appears often when there are permissions problems on the newly created catalog files. Try chgrp -R interchangeuser /pathtonewcatalog/catname From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 25 02:28:01 2001 Subject: [ic] formatting a date string You'll find something interesting here : http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_107.html bye ----- Original Message ----- From: "Corey Gilmore" <cfg@dln.uvm.edu> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Tuesday, September 25, 2001 3:12 AM Subject: [ic] formatting a date string > Whats the best way to format a date string (from a [data] query)? > The string would be similar to 20010622 > The time tag only works with the current time... > > thanks, > .cfg > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rob Buijs) Date: Tue Sep 25 03:32:01 2001 Subject: [ic] New catalog without restarting IC Hi, I'm building a system that will start with 30+ shops and will start growing the moment it's on-line. There will be new shops added every week. Now, every time I add a shop I have to restart IC, killing all sessions to the shops. (If I restart nicely, by waiting for all sessions to end, restarting takes too long). So, my question: Is it possible to get a new catalog on-line without having to restart the entire IC process? Cheers, Robsky From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 25 03:44:00 2001 Subject: [ic] New catalog without restarting IC "Rob Buijs" <rob@merchandisingdirect.com> writes: > Hi, > > I'm building a system that will start with 30+ shops and will start growing > the moment it's on-line. There will be new shops added every week. Now, > every time I add a shop I have to restart IC, killing all sessions to the > shops. (If I restart nicely, by waiting for all sessions to end, restarting > takes too long). > > So, my question: > > Is it possible to get a new catalog on-line without having to restart the > entire IC process? # add catalog to running server echo 'Catalog foundation /var/lib/interchange/catalogs/foundation /cgi-bin/ic/foundation' | /usr/sbin/interchange --add foundation Don't forget to add the catalog to the global configuration file. 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: Tue Sep 25 03:57:01 2001 Subject: [ic] 4.8.2 core dump Hi, Version 4.8.2 core dumped on my FreeBSD 4.3-STABLE system. --- francis vidal [bitstop network services] streaming media + web services v(02)330-2871,(02)330-2872 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 04:27:01 2001 Subject: [ic] 4.8.2 core dump Hi Which Perl Version ? Steve > -----Original Message----- > From: francisv@dagupan.com [mailto:francisv@dagupan.com] > Sent: Tuesday, September 25, 2001 9:56 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] 4.8.2 core dump > > > Hi, > > Version 4.8.2 core dumped on my FreeBSD 4.3-STABLE system. > > --- > francis vidal [bitstop network services] > streaming media + web services > v(02)330-2871,(02)330-2872 > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 25 05:08:00 2001 Subject: [ic] Options and weight add Hi, I've just a little question, i've add an option for exemple Metal: Yes or No. select like this : N No* Y Yes Price Y=2 it works, now i would do the same thing but for weight : replace Price : Y=2 by Weight Y=2 but don't work. Did I make a mistake somewhere ? ( i think yes but don't know where ) thx From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 05:48:01 2001 Subject: [ic] 4.8.2 core dump version 5.005_03 built for i386-freebsd > -----Original Message----- > From: steve@es-marketing.com [mailto:steve@es-marketing.com] > Sent: Tuesday, September 25, 2001 4:27 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] 4.8.2 core dump > > Hi Which Perl Version ? > > Steve > > > -----Original Message----- > > From: francisv@dagupan.com [mailto:francisv@dagupan.com] > > Sent: Tuesday, September 25, 2001 9:56 AM > > To: interchange-users@interchange.redhat.com > > Subject: [ic] 4.8.2 core dump > > > > > > Hi, > > > > Version 4.8.2 core dumped on my FreeBSD 4.3-STABLE system. > > > > --- > > francis vidal [bitstop network services] > > streaming media + web services > > v(02)330-2871,(02)330-2872 > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > 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 Sep 25 06:12:01 2001 Subject: [ic] 4.8.2 core dump Hi We're running 4.8.1 on Perl 5.6 but also on FreeBSD 4.3-STABLE. I'll try an update later today and post any problems etc. Steve > -----Original Message----- > From: francisv@dagupan.com [mailto:francisv@dagupan.com] > Sent: Tuesday, September 25, 2001 11:47 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] 4.8.2 core dump > > > version 5.005_03 built for i386-freebsd > > > -----Original Message----- > > From: steve@es-marketing.com [mailto:steve@es-marketing.com] > > Sent: Tuesday, September 25, 2001 4:27 PM > > To: interchange-users@interchange.redhat.com > > Subject: RE: [ic] 4.8.2 core dump > > > > Hi Which Perl Version ? > > > > Steve > > > > > -----Original Message----- > > > From: francisv@dagupan.com [mailto:francisv@dagupan.com] > > > Sent: Tuesday, September 25, 2001 9:56 AM > > > To: interchange-users@interchange.redhat.com > > > Subject: [ic] 4.8.2 core dump > > > > > > > > > Hi, > > > > > > Version 4.8.2 core dumped on my FreeBSD 4.3-STABLE system. > > > > > > --- > > > francis vidal [bitstop network services] > > > streaming media + web services > > > v(02)330-2871,(02)330-2872 > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > > 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 (Lewey Taylor) Date: Tue Sep 25 07:08:00 2001 Subject: [ic] Please help! Attributes cleared I have almost completed the catalog I am working on but I have one problem I can't seem to fix. I have setup Item-attributes that work great until I hit the recalculate button on the checkout or cart page. Everything in the cart is redisplayed except the item-modifier blah results. When I view source after the problem I still have my session id and all code looks the same. The error log is clean. Tried disabling secure, same thing. When I do a regular browser refresh everything is OK. I am at a loss. If someone could help debug this I would be grateful. Or explain how the recalculate button works. I use Interchange 4.8.2 on redhat 7. I have a really stock foundation except item-attributes and cosmetics. Thank You, From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Sep 25 07:27:00 2001 Subject: [ic] Please help! Attributes cleared > I have almost completed the catalog I am working on but I > have one problem I can't seem to fix. I have setup > Item-attributes that work great until I hit the recalculate > button on the checkout or cart page. Everything in the cart > is redisplayed except the item-modifier blah results. When > I view source after the problem I still have my session id > and all code looks the same. The error log is clean. Tried > disabling secure, same thing. When I do a regular browser > refresh everything is OK. > > I am at a loss. If someone could help debug this I would be > grateful. Or explain how the recalculate button works. > I use Interchange 4.8.2 on redhat 7. > I have a really stock foundation except item-attributes and > cosmetics. Recalculate resubmits the entire cart contents, to upate attributes, qtys etc. What code do you have for displaying / modifying the attributes in your cart loop? I have: [if-item-field bore]Bore: [item-accessories bore][/if-item-field] in one of my carts, which creates a combo box with the correct option set. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Tue Sep 25 07:53:01 2001 Subject: [ic] Please help! Attributes cleared Jonathan wrote > Recalculate resubmits the entire cart contents, to upate > attributes, qtys > etc. > > What code do you have for displaying / modifying the > attributes in your cart > loop? I have: > > [if-item-field bore]Bore: [item-accessories bore][/if-item-field] > > in one of my carts, which creates a combo box with the > correct option set. This is in the my flypage.html. <snip> <td><FONT size=1><B>Power</b></font></td> <td><FONT size=1>[item-accessories power]</font></td> <td><FONT size=1><B>Base Curve</b></font></td> <td><FONT size=1>[item-accessories bcurve]</font></td> <td><FONT size=1><B>Diameter</b></font></td> <td><FONT size=1>[item-accessories diameter]</font></td> <td><font size=1><B>Color Options</b></font></td> <td><font size=1>[item-accessories color]</font></td> </snip> I did not add [list][/list] to stock foundation flypage. My select boxes display fine and I can select my options and then display them in checkout.html with this code. <snip> <TD>[page [item-sku]]<b>[item-data products description]</a></b><BR> <b>Power:&nbsp;</b>[item-modifier power]<br> <b>Base Curve:&nbsp;</b>[item-modifier bcurve]<br> <b>Diameter:&nbsp;</b>[item-modifier diameter]<br> <b>Color Option:&nbsp;</b>[item-modifier color]</b> </snip> Thanks Jonathan From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 08:20:00 2001 Subject: [ic] New catalog without restarting IC Quoting Rob Buijs (rob@merchandisingdirect.com): > Hi, > > I'm building a system that will start with 30+ shops and will start growing > the moment it's on-line. There will be new shops added every week. Now, > every time I add a shop I have to restart IC, killing all sessions to the > shops. (If I restart nicely, by waiting for all sessions to end, restarting > takes too long). > > So, my question: > > Is it possible to get a new catalog on-line without having to restart the > entire IC process? > You didn't notice the last option on makecat? Add catalog to server running on PID $pid? The method is shown in the source of makecat. It goes much faster if you already have any database tables pre-built, but should work even if you don't. -- 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 (Jonathan Clark) Date: Tue Sep 25 08:23:00 2001 Subject: [ic] Please help! Attributes cleared > This is in the my flypage.html. > <snip> > <td><FONT size=1><B>Power</b></font></td> > <td><FONT size=1>[item-accessories power]</font></td> > <td><FONT size=1><B>Base Curve</b></font></td> > <td><FONT size=1>[item-accessories bcurve]</font></td> > <td><FONT size=1><B>Diameter</b></font></td> > <td><FONT size=1>[item-accessories diameter]</font></td> > <td><font size=1><B>Color Options</b></font></td> > <td><font size=1>[item-accessories color]</font></td> > </snip> > I did not add [list][/list] to stock foundation flypage. My > select boxes display fine and I can select my options and > then display them in checkout.html with this code. > <snip> > <TD>[page [item-sku]]<b>[item-data products > description]</a></b><BR> > <b>Power:&nbsp;</b>[item-modifier power]<br> > <b>Base Curve:&nbsp;</b>[item-modifier bcurve]<br> > <b>Diameter:&nbsp;</b>[item-modifier diameter]<br> > <b>Color Option:&nbsp;</b>[item-modifier color]</b> > </snip> > > This is basically the code I have working in 4.6, with a single option. Can't say whether anything has changed in 4.8. Does everything else in the cart work properly? (update of quantities / deletion of items etc.) Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Tue Sep 25 08:40:01 2001 Subject: [ic] Please help! Attributes cleared Quoting Jonathan: > This is basically the code I have working in 4.6, with a > single option. > Can't say whether anything has changed in 4.8. > > Does everything else in the cart work properly? (update of > quantities / > deletion of items etc.) > > Jonathan > Webmaint. Yea that's the crazy thing. Everything else in the cart works fine. I can adjust qty fine and delete items. Every now and then when I press the recalculate button I get a very quick, generic, page not found. This happens 1 out of 50 times. I am using the default database with only 100 items. I was thinking of moving to mysql to troubleshoot. Do you think this might help? Thanks From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 09:16:01 2001 Subject: [ic] Please help! Attributes cleared On Tue, Sep 25, 2001 at 07:35:37AM -0500, Lewey Taylor wrote: > Quoting Jonathan: > > This is basically the code I have working in 4.6, with a > > single option. > > Can't say whether anything has changed in 4.8. > > > > Does everything else in the cart work properly? (update of > > quantities / > > deletion of items etc.) > > > > Jonathan > > Webmaint. > > Yea that's the crazy thing. Everything else in the cart > works fine. I can adjust qty fine and delete items. Every > now and then when I press the recalculate button I get a > very quick, generic, page not found. This happens 1 out of > 50 times. I am using the default database with only 100 > items. I was thinking of moving to mysql to troubleshoot. > Do you think this might help? That's shooting in the dark. What do the logs say? Do they even show a request in that case? If so, what is the request? 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 (Rob Buijs) Date: Tue Sep 25 09:33:00 2001 Subject: [ic] New catalog without restarting IC Hmmm... > > Is it possible to get a new catalog on-line without having to > restart the > > entire IC process? > > > > You didn't notice the last option on makecat? Obviously not :-\ `RTFM' is what I think reading a lot of posts on this list. And now, to my shock, horror and shame, I posted a RTFM question myself. > Add catalog to server running on PID $pid? > > The method is shown in the source of makecat. It goes much > faster if you already have any database tables pre-built, but > should work even if you don't. I did search the documents and never tought of searching the sources. I'll check it out. Thanks Stefan and Mike. From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Sep 25 10:04:00 2001 Subject: [ic] What Does it Take to Create Wizards The wizard feature takes the cake! However, I'm having a hard time finding documentation for it. After looking at the "Commerce Launcher" it seems like the following are the basic ingredients: include/wizard_checklist include/wizard_profiles wizard/access wizard/autoload wizard/index.html (any additional pages, like: wizard/step_one.html) IN TABLE 'ichelp': HTML help for each step (e.g. wizard.step_one) I have several questions regarding the above: 1) Are the names of the files/fields changeable? e. g. can/should I use 'mywiz/access'? How about 'ichelp': mywiz.step_one? 2) I think I understand checklist. If I don't want one, must I still have the file? I notice it calls wizard_profile 3) Profiles looks relatively straightforward. However, what are all the options that can go with [set][/set]? 4) What do 'access' and 'autoload' do? 5) The table-editor tag in 'step_company.html' from the 4.8 Commerce Launcher looks profound. Could someone walk us through it? I'm pretty stoked about the wizard feature! I greatly appreciate any guidance. Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Sep 25 10:07:01 2001 Subject: [ic] Admin Order Entry -> Order Routes -> Admin Logout On Mon, 24 Sep 2001, Jim Balcom wrote: > In 4.6, my guess has been that the logins are tied together between the UI > and the store. > > If I log into the store as Fred Sanford, and then log into the UI as Jim, > suddenly the login at the store is changed to Jim. If I log out of the store > and then log back in as Fred Sanford (the memory of Redd Foxx lives on!), > then Jim is logged out of the UI. Yes -- there is only one session per browser, regardless of whether you're using the store or the admin. This is because Interchange is powerful enough to have an entire admin interface written in the same system as the storefront, so the admin consists of different pages of the same catalog, albeit with different access control. The easiest way to deal with this if it's causing you trouble (for me it's usually fine) is to use a different browser for each, e.g. Mozilla for the store, Netscape for the admin, or whatever. Jon From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 25 10:14:01 2001 Subject: [ic] What Does it Take to Create Wizards "Zack Johnson" <zack@office.standardprinting.net> writes: [...] > 4) What do 'access' and 'autoload' do? They used only for i18n purposes (setting the right locale). 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 (Lewey Taylor) Date: Tue Sep 25 10:27:01 2001 Subject: [ic] Please help! Attributes cleared > That's shooting in the dark. > > What do the logs say? Do they even show a request in that case? > If so, what is the request? > > cfm The error.log has nothing. I mean the only thing logged is the successful login to ui from earlier today. I have browsed and recreated the problem several times today and nothing logged. Should I check another log or enable debug? From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 25 10:36:00 2001 Subject: [ic] bug in tag documentation ?? Hi list, on this page : http://interchange.redhat.com/cgi-bin/ic/dev/ictags_48.html We can read this : << 2.44.2.4. [if-loop-pos N] IF [else] ELSE [/else][/if-loop-param] >> and for me on IC 4.8.2 this doesn't work but this : [if-loop-pos N] IF [else] ELSE [/else][/if-loop-pos] works. Is that a lonely little bug ? From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Sep 25 10:47:01 2001 Subject: [ic] bug in tag documentation ?? "David Bordas" <bordas@jeuxvideo.com> writes: > Hi list, > > on this page : http://interchange.redhat.com/cgi-bin/ic/dev/ictags_48.html > > We can read this : > << 2.44.2.4. [if-loop-pos N] IF [else] ELSE [/else][/if-loop-param] >> > > and for me on IC 4.8.2 this doesn't work but this : > [if-loop-pos N] IF [else] ELSE [/else][/if-loop-pos] > works. > > Is that a lonely little bug ? Apparently. Please file a bug on http://ic.redhat.com/bugs. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Sep 25 10:51:00 2001 Subject: [ic] bug in tag documentation ?? On Tue, 25 Sep 2001, David Bordas wrote: > on this page : http://interchange.redhat.com/cgi-bin/ic/dev/ictags_48.html > > We can read this : > << 2.44.2.4. [if-loop-pos N] IF [else] ELSE [/else][/if-loop-param] >> > > and for me on IC 4.8.2 this doesn't work but this : > [if-loop-pos N] IF [else] ELSE [/else][/if-loop-pos] > works. > > Is that a lonely little bug ? Looks like it! Thanks for pointing that out. Jon From: interchange-users at interchange.redhat.com (Dave Jenkins) Date: Tue Sep 25 10:51:24 2001 Subject: [ic] ISO: non-traditional IC sites (hall of fame) Developers! Every spring, the Toyota corporation has a 3-day fair where all the engineers get to show off their pet projects, no matter how zany. Winners receive prizes... In hopes of diversifying the Hall of Fame at interchange.redhat.com, we are in search of websites that have taken IC into new, and perhaps non-traditional areas: dynamic content management, customer service, calendaring, project management, mp3 jukeboxes, whatever. The current Hall of Fame is very long on ecommerce sites, but we all know that IC is capable of so much more. Who is pushing the envelope? Where? How? This is your chance to show off! Exceptional sites will win their developers a T-shirt or some other Red Hat schwag! Please submit URLs to me (djenkins@redhat.com) and I will forward them to our staff here-- Thanks! Dave -- ---------- Dave Jenkins Engagement Manager Professional Services djenkins@redhat.com 703.456.2944 ---------- From: interchange-users at interchange.redhat.com (Sheamus Nulty) Date: Tue Sep 25 11:17:01 2001 Subject: [ic] Order Failed Email Folks, How would I configure interchange to have an email sent to me when a transaction fails at the checkout. Bascially I would like the same information that I currently get when a transaction passes. i.e. what the customer was ordering and their credit card details encrypted. Thanks Sheamus From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 25 11:22:01 2001 Subject: [ic] small mv_metadata.asc question Hi, i've modify mv_metadata.asc to translate pending to 'en cours de traitement'. on the pages/query/check_orders.html it always show pending in the source code i can see $status. So i'm looking for a way to "translate" $status according to mv_metadata.asc. I've had a look to the mailing archive but don't find anything. Perhaps i don't search for the right thing. Great thanks. David From: interchange-users at interchange.redhat.com (Raymond Kirby) Date: Tue Sep 25 11:41:01 2001 Subject: [ic] small mv_metadata.asc question Run interchange --reconfigure storename David Bordas wrote: > Hi, > > i've modify mv_metadata.asc to translate pending to 'en cours de > traitement'. > on the pages/query/check_orders.html it always show pending > > in the source code i can see $status. > So i'm looking for a way to "translate" $status according to > mv_metadata.asc. > > I've had a look to the mailing archive but don't find anything. > Perhaps i don't search for the right thing. > > Great thanks. > David > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Leon Harris) Date: Tue Sep 25 11:48:00 2001 Subject: [ic] GPG troubles Hi. I have had a look on the list, and can't get this to work. I am trying to use gpg to encrypt a credit card, mailed to a sales account. I get this error in my error logs: /process.html PGP failed with status 131072: I have set the encrypt program to gpg in the catalog.cfg : /usr/bin/gpg -ea --keyring /home/halfpcab/.gnupg/keyring.pub --always-trust -r orders@halfpricecables.com 2>/dev/null I put the redirect /dev/null at the end because i thought " wild and wacky error 131072 - woohoo that looks like it is not getting something it likes on stderr" I set ENCRYPTOR to the same in variables, and I set PGP_KEY to the correct keyring.pub. Ideas ? where to look next ? where is process.html generated from so I can put some debugging tags into it . Any help appreciated. Cheers, leon From: interchange-users at interchange.redhat.com (David Bordas) Date: Tue Sep 25 11:56:00 2001 Subject: [ic] small mv_metadata.asc question ----- Original Message ----- From: "Raymond Kirby" <rkirby@mylineup.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 25, 2001 5:36 PM Subject: Re: [ic] small mv_metadata.asc question > Run > interchange --reconfigure storename I try and i try to restart IC but is appear that nothing have changed. thx anyway David > > David Bordas wrote: > > > Hi, > > > > i've modify mv_metadata.asc to translate pending to 'en cours de > > traitement'. > > on the pages/query/check_orders.html it always show pending > > > > in the source code i can see $status. > > So i'm looking for a way to "translate" $status according to > > mv_metadata.asc. > > > > I've had a look to the mailing archive but don't find anything. > > Perhaps i don't search for the right thing. > > > > Great thanks. > > David > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefano Nota) Date: Tue Sep 25 12:00:01 2001 Subject: [ic] Interchange & MAC Hi list, I'm creating a catalog and my custumer tells me that the catalog doesn't work correctly whith his Mac both with explorer and netscape. The problem is: i buy a produtc but when i go into the cart, cart is empty. This happen only with Mac and i can't understand why. Cookie are active. Any help? Ciao Stefano From: interchange-users at interchange.redhat.com (Donal H.) Date: Tue Sep 25 12:08:00 2001 Subject: [ic] GPG troubles > > /usr/bin/gpg -ea --keyring /home/halfpcab/.gnupg/keyring.pub > --always-trust -r orders@halfpricecables.com 2>/dev/null Have you tried running that on the command line? -Donal From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Tue Sep 25 12:18:00 2001 Subject: [ic] GPG troubles > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Leon Harris > > Hi. I have had a look on the list, and can't get this to work. > I am trying to use gpg to encrypt a credit card, mailed to a sales > account. > > I get this error in my error logs: > > /process.html PGP failed with status 131072: > Find Order.pm located at VEND_ROOT/lib/Vend/ and save a copy of it. Edit Order.pm and remove the '#' in front of each ::logdebug line that has to do with pgp (search for pgp). Edit interchange.cfg and set DEBUG to 1 and restart. Run an order and then look at /tmp/icdebug to see the call to gpg. Copy the cmd that is being ran and run it while you are logged in as the user that runs interchange and see what response you get. It's most likely a missing key, the key hasn't been signed or something of that nature. Once you are done fixing gpg comment out DEBUG in interchange.cfg, copy the back up of Order.pm over your edited version and restart IC to revert back to the original file. Good luck, -Ron > > I have set the encrypt program to gpg in the catalog.cfg : > > /usr/bin/gpg -ea --keyring /home/halfpcab/.gnupg/keyring.pub > --always-trust -r orders@halfpricecables.com 2>/dev/null > > I put the redirect /dev/null at the end because i thought " wild and > wacky error 131072 - woohoo that looks like it is not getting something > it likes on stderr" > > > I set ENCRYPTOR to the same in variables, and I set PGP_KEY to the > correct keyring.pub. > > > Ideas ? > where to look next ? > where is process.html generated from so I can put some debugging tags > into it . > > Any help appreciated. > Cheers, > leon > > _______________________________________________ > 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 Barr) Date: Tue Sep 25 12:24:00 2001 Subject: [ic] Interchange & MAC At 17:59 +0200 25/9/01, Stefano Nota wrote: >Hi list, > > >I'm creating a catalog and my custumer tells me that the catalog doesn't >work correctly whith his Mac both with explorer and netscape. > >The problem is: i buy a produtc but when i go into the cart, cart is >empty. > >This happen only with Mac and i can't understand why. >Cookie are active. > >Any help? > >Ciao Stefano Hi Stefano, It might help if you gave the version of IC you are using, and some hints as to any changes you made to the cart page if you used the supplied templates as a starting point. 8-) I'm a Mac (desktop machine) user and have experienced no such difficulties with *any* version of MV or IC. Regards Dave -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dave Barr eCommerce Technical Manager CricInfo Ltd www.cricinfo.com dave.barr@cricinfo.com Tel: 01249 700748 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Tue Sep 25 12:49:01 2001 Subject: [ic] core dump When I try to run interchange.. I get Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation...Segmentation fault - core dumped Also the makecat script didn't create the database.. that had to be done manually... This is a FreeBSD System running 4.2-release. MySQL 3.22.32 Any insight would be appreciated.. Thanks, Eddie From: interchange-users at interchange.redhat.com (Kash Monsefi) Date: Tue Sep 25 12:56:00 2001 Subject: [ic] 4.8.2 Core Dump Hi, I've been using 4.8.1 successfully, but after I upgraded to 4.8.2 by running configure and installing over 4.8.1, I cannot start the server without a core dump. The installation went fine and when starting up it says ver 4.8.2, but it then exits with a core dump. I'm using FreeBSD 4.2, MySql database, and Perl 5.003. Any ideas? Thanks. From: interchange-users at interchange.redhat.com (Leon Harris) Date: Tue Sep 25 13:26:00 2001 Subject: [ic] GPG troubles Thanks. This is a massive help. interchange calls my gpg with the args I gave it, and uses the correct key. Key is unsigned. looking into self-signing now. thx, Leon Ron Phipps wrote: > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Leon Harris > > > > Hi. I have had a look on the list, and can't get this to work. > > I am trying to use gpg to encrypt a credit card, mailed to a sales > > account. > > > > I get this error in my error logs: > > > > /process.html PGP failed with status 131072: > > > > Find Order.pm located at VEND_ROOT/lib/Vend/ and save a copy of it. > Edit Order.pm and remove the '#' in front of each ::logdebug line that > has to do with pgp (search for pgp). Edit interchange.cfg and set DEBUG > to 1 and restart. Run an order and then look at /tmp/icdebug to see the > call to gpg. Copy the cmd that is being ran and run it while you are > logged in as the user that runs interchange and see what response you > get. It's most likely a missing key, the key hasn't been signed or > something of that nature. Once you are done fixing gpg comment out > DEBUG in interchange.cfg, copy the back up of Order.pm over your edited > version and restart IC to revert back to the original file. > > Good luck, > -Ron > > > > > I have set the encrypt program to gpg in the catalog.cfg : > > > > /usr/bin/gpg -ea --keyring /home/halfpcab/.gnupg/keyring.pub > > --always-trust -r orders@halfpricecables.com 2>/dev/null > > > > I put the redirect /dev/null at the end because i thought " wild and > > wacky error 131072 - woohoo that looks like it is not getting > something > > it likes on stderr" > > > > > > I set ENCRYPTOR to the same in variables, and I set PGP_KEY to the > > correct keyring.pub. > > > > > > Ideas ? > > where to look next ? > > where is process.html generated from so I can put some debugging tags > > into it . > > > > Any help appreciated. > > Cheers, > > leon > > > > _______________________________________________ > > 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: Tue Sep 25 14:06:01 2001 Subject: [ic] Order Failed Email > Folks, > > How would I configure interchange to have an email sent to me when a > transaction fails at the checkout. Bascially I would like the same > information that I currently get when a transaction passes. > i.e. what the > customer was ordering and their credit card details encrypted. > > Thanks > > Sheamus Check out the [email] tag. You might set it up to call [email] in ord/checkout.html when a failure condition is met, etc. Dan Browning From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 14:16:00 2001 Subject: [ic] 4.8.2 core dump I'm running freebsd 4.2, perl 5.005 (& all required modules). I'm trying to install IC 4.8.2 IC 4.8.1 installed and ran without error (generally) interchange.cfg has two catalogs defined, foundation (no rdbms) and kbinxdemo (mysql) the following occurs with both catalogs in interchange.cfg kbinx% ./bin/interchange -r Killing Interchange server 9429 with TERM. Low traffic settings. Calling UI...Interchange V4.8.2 Configuring catalog foundation...Required UserTag email not present. Aborting catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button foundation config error: Required UserTag email not present. Aborting catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button foundation: error in configuration. Skipping. foundation: config error. Skipping. Configuring catalog kbinxdemo...Required UserTag email not present. Aborting catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button kbinxdemo config error: Required UserTag email not present. Aborting catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button kbinxdemo: error in configuration. Skipping. kbinxdemo: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 11604) kbinx% This is what happens if I comment out foundation from interchange.cfg and just try kbinxdemo (mysql) which had previously successfully built it's tables and then crapped out the same way BTW kbinx% ./bin/interchange -r Killing Interchange server 11604 with TERM. Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at ./bin/interchange line 2717 Calling UI......UI is loaded... Interchange V4.8.2 Configuring catalog kbinxdemo...Using MySQL, DSN=dbi:mysql:test_kbinxdemo...done. Segmentation fault (core dumped) kbinx% Like I said 4.8.1 was working with mysql, pgsql and plain vanilla ??? any ideas Thanks - Kevin Scott From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Sep 25 14:22:00 2001 Subject: [ic] Interchange & MAC > At 17:59 +0200 25/9/01, Stefano Nota wrote: > >Hi list, > > > > > >I'm creating a catalog and my custumer tells me that the > catalog doesn't > >work correctly whith his Mac both with explorer and netscape. > > > >The problem is: i buy a produtc but when i go into the cart, cart is > >empty. > > > >This happen only with Mac and i can't understand why. > >Cookie are active. > > > >Any help? > > > >Ciao Stefano > > Hi Stefano, > > It might help if you gave the version of IC you are using, and some > hints as to any changes you made to the cart page if you used the > supplied templates as a starting point. 8-) > > I'm a Mac (desktop machine) user and have experienced no such > difficulties with *any* version of MV or IC. > > Regards > Dave Stefano, If you can reproduce the problem on the demo site (http://demo.akopia.com/), then please file a *detailed* bug report in bugzilla (including browser & OS version numbers). Thanks, Dan Browning From: interchange-users at interchange.redhat.com (Frank Maestas) Date: Tue Sep 25 14:24:11 2001 Subject: [ic] Gettting premature end of script header - error Hello, When placing an order (with credit card) the users browser hangs for 2-3 minutes and then stops. In my Apache error log, I see: premature end of script headers error in /www/cgi-bin/workshops (workshops is my catalog name). This only happens when entering credit card info, all other types of payment are fine and produce the on screen reciept. Anyone ever run into this script error? I've checked the permissions on the script and it is executable. This catalog is running with MySQL. Should the database files have owner or group set to interch? I've even uninstalled and unconfigured Cybercash but it still acts the same way. Grasping at straws trying to fix this. -- Frank From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Sep 25 14:25:00 2001 Subject: [ic] core dump > When I try to run interchange.. > I get Configuring catalog foundation...Using MySQL, > DSN=dbi:mysql:test_foundation...Segmentation fault - core dumped > Also the makecat script didn't create the database.. that had > to be done > manually... > This is a FreeBSD System running 4.2-release. MySQL 3.22.32 > Any insight would be appreciated.. > > Thanks, Eddie Probably a perl problem. Try perl < "use DBD::MySQL;" And I would say build 5.6.1 from scratch and get the latest DBI, DBD mysql, etc. modules. HTH, Dan Browning From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Sep 25 14:29:00 2001 Subject: [ic] 4.8.2 Core Dump > Hi, > > I've been using 4.8.1 successfully, but after I upgraded to > 4.8.2 by running > configure and installing over 4.8.1, I cannot start the > server without a > core dump. > > The installation went fine and when starting up it says ver > 4.8.2, but it > then exits with a core dump. I'm using FreeBSD 4.2, MySql > database, and > Perl 5.003. > > Any ideas? > > Thanks. Try building a newer perl like 5.6.1 Dan Browning From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Sep 25 14:48:00 2001 Subject: [ic] TIPS: Adding a new mysql table to IC 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. 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. 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. Good luck! Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Sep 25 14:59:01 2001 Subject: [ic] TIPS: Adding a new mysql table to IC > 1. Design your table. Avoid using a tool. Rather, write your table [snip] > Zack Johnson Zack, Looks great, thank you for the contribution. I'll probably quote it for the next newbie that wonders. Dan Browning From: interchange-users at interchange.redhat.com (Donal H.) Date: Tue Sep 25 15:01:01 2001 Subject: [ic] Can't remove Order -> Delete privilege Hi, I've a user in the standard Sales/Orders group - I've gone into Permissions for that group and un-ticked the Delete checkbox in the "Order manager" section but users in that groups can still delete orders i.e. the Delete button is still displayed and works. If I create a user (in no group) and give them only "View List" and "View Single" privileges, they still have the "Archive" and "Delete" options. Is there anything else I need to do - have I missed something in the documentaion? Thanks, -Donal From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 15:33:01 2001 Subject: [ic] Gettting premature end of script header - error On Tue, Sep 25, 2001 at 12:29:18PM -0600, Frank Maestas wrote: > Hello, > When placing an order (with credit card) the users > browser hangs for 2-3 minutes and then stops. > > In my Apache error log, I see: premature end of script headers error > in /www/cgi-bin/workshops (workshops is my catalog name). > > This only happens when entering credit card info, all other types of > payment are fine and produce the on screen reciept. That is a perl error or warning going to the web server and breaking the headers. You **should** see something in the ic logs. Do you have DEBUG on in interchange.cfg? > > Anyone ever run into this script error? I've checked the permissions > on the script and it is executable. This catalog is running with > MySQL. Should the database files have owner or group set to interch? > I've even uninstalled and unconfigured Cybercash but it still acts > the same way. Grasping at straws trying to fix this. > > -- > Frank > > _______________________________________________ > 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 (Ed LaFrance) Date: Tue Sep 25 15:40:01 2001 Subject: [ic] Admin Order Entry -> Order Routes -> Admin Logout At 08:11 PM 09/24/2001 -0400, you wrote: >On Sun, 23 Sep 2001, Jason Osborne wrote: > >JO>>I have an issue that I've been trying to solve for a while now. In the UI >JO>>when an admin places an order, it goes out and runs through the Order >Routes >JO>>and then goes to the receipt.html page. Problem is that when the admin >tries >JO>>to go back to the UI, he/she has to log back into the system. What part of >JO>>the order route is causing the admin to be logged off? > >In 4.6, my guess has been that the logins are tied together between the UI >and the store. > >If I log into the store as Fred Sanford, and then log into the UI as Jim, >suddenly the login at the store is changed to Jim. If I log out of the store >and then log back in as Fred Sanford (the memory of Redd Foxx lives on!), >then Jim is logged out of the UI. > >Whether this is a bug or a feature, I can't say! > Actually, this is a rather significant bug which is causing more than one problem. The routing for a backend order (mv_order_route) is "log_entry main copy_user", but for some reason IC is ignoring it in favor of the 'default' order route, which is set (in catalog.cfg) to "log_transaction main copy_user" - I have verified that processing is passing through this route, though it should not be, for a backend order. Not only does this log out the admin's session, but it erroneously creates a new userdb record for all transactions entered from the backend - a definite problem if you are entering an order for an existing user. The quick fix is to edit your catalog.cfg file and comment out all the Route default entries like so: # Route default master 1 # Route default cascade "log main copy_user" # Route default empty 1 # Route default supplant 1 # Route default email '__ORDERS_TO__' ...then reconfig the catalog. Backend order entry will then work correctly, assuming you haven't hacked (or over-ridden) the mv_order_route setting in VENDROOT/lib/UI/pages/admin/entry.html. I'm not sure if this is a source code issue (default route supercedes explicitly set 'mv_order_route' instead of the other way around) or just bad Route voodoo, and I don't have any more time to spend on it today, but all those running 4.8.x will want to fix their catalog.cfg immediately. - 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 (Eduardo Dominguez) Date: Tue Sep 25 15:44:00 2001 Subject: [ic] how to acces form fields.. I want to process a form, validate it and if it meets certain criteria, store it in a DB. I am using perl to store to do this. How do I access the form fields ? Using [value..] or [cgi..] doesnt work. What should I use to retrieve those values ? Thanks in advance. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Jud Harris) Date: Tue Sep 25 15:45:32 2001 Subject: [ic] sending files via terminal app? Hey folks - This might be a touch off-topic, but I venture to ask if anyone here knows of a terminal app that can send a receive files? Back in my BBS days, there was a tiny app called "sz" - or "send zmodem" that I could execute on whatever server I was connected to, and my terminal app would recognize the transmission and start the transfer. Any think similar for linux? (you know.. it would be handy to transfer small files from a remote server to which you're ssh/telnet-ed to your local machine) Just wondrin', -Jud From: interchange-users at interchange.redhat.com (Dave 'Duke of URL' Weiner) Date: Tue Sep 25 16:02:01 2001 Subject: [ic] sending files via terminal app? > Hey folks - > > This might be a touch off-topic, but I venture to ask if anyone here > knows of a terminal app that can send a receive files? Back in my BBS > days, there was a tiny app called "sz" - or "send zmodem" that I could > execute on whatever server I was connected to, and my terminal app would > recognize the transmission and start the transfer. Any think similar > for linux? > > (you know.. it would be handy to transfer small files from a remote > server to which you're ssh/telnet-ed to your local machine) sz/rz, as well as all the related protocols (X-Modem, Y-Modem) are available for linux, and are part of at least redhat and mandrake. Secure CRT even has ZModem over SSH capability, which is way kewl! > > Just wondrin', > -Jud Dave W From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Sep 25 16:11:01 2001 Subject: [ic] how to acces form fields.. At 02:51 PM 09/25/2001 -0500, you wrote: >I want to process a form, validate it and if it meets certain >criteria, store it in a DB. > >I am using perl to store to do this. How do I access the form >fields ? > >Using [value..] or [cgi..] doesnt work. What should I use >to retrieve those values ? > I assume you mean you are using [perl ..][/perl]? You would do something like: [perl] my $foo = $CGI->{foo}; # ...or... my $bar = $Values->{bar}; [/perl] Take a look at these docs for more info: http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_15.html http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_31.html http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_40.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Fred Pope) Date: Tue Sep 25 16:20:01 2001 Subject: [ic] Payflow Pro Configuration Does anyone have a good reference on integrating Interchange 4.8 with Verisign's PayFlow Pro (Formerly Signio)? Looking so far, it looks as though there are going to be a few changes to interchange.cfg file, the catalog.cfg file, and the variables.txt file. I was hoping that someone who had done it before could help minimize my trials and errors. Thanks in advance. - Fred From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 16:33:01 2001 Subject: [ic] What Does it Take to Create Wizards Quoting Zack Johnson (zack@office.standardprinting.net): > The wizard feature takes the cake! However, I'm having a hard time finding > documentation for it. There is no documentation -- it isn't really a feature, like much of the stuff in the UI. It is just a collection of Interchange features and constructions. The main part of the wizard is the [table-editor ...] tag with the wizard option selected. I have never gotten to documenting the table-editor UserTag, but it is what the UI uses for editing DB stuff. > After looking at the "Commerce Launcher" it seems > like the following are the basic ingredients: > > include/wizard_checklist > include/wizard_profiles > wizard/access > wizard/autoload > wizard/index.html > (any additional pages, like: wizard/step_one.html) > > IN TABLE 'ichelp': HTML help for each step (e.g. wizard.step_one) That is basically it. > > I have several questions regarding the above: > > 1) Are the names of the files/fields changeable? e. g. can/should I use > 'mywiz/access'? How about 'ichelp': mywiz.step_one? Yes -- if you look at the different pages of the supplied wizard, we just name variables arbitrarily. > 2) I think I understand checklist. If I don't want one, must I still have > the file? I notice it calls wizard_profile The checklist is not required. wizard_profile is to supply the checks for whether the box should be checked as complete or not, but also to supply check for the different forms if they have ui_profile="*something" in the parameters. > 3) Profiles looks relatively straightforward. However, what are all the > options that can go with [set][/set]? Those are the same as OrderProfile, and used to be documented. That appears to be one of the documentation pieces that died when the changeover was made....many of them won't be useful, but some might. > 4) What do 'access' and 'autoload' do? Stefan answered that. > 5) The table-editor tag in 'step_company.html' from the 4.8 Commerce > Launcher looks profound. Could someone walk us through it? The state_options setting (which I won't show) sets up the option string so that it is broken into Option groups if you have the right browser -- it groups the State names based on your country. -------------- [tmp country_options] =--select--[loop search=' fi=country.txt rf=0,name tf=name ra=yes ml=1000 '],[loop-code]=[loop-pos 1][loop-calc] return '*' if "[loop-code]" eq 'US'; [/loop-calc][/loop][/tmp] [comment] The above just sets up a list of countries in an IC-style option string. It could have been done with a lookup except at one point, I broke down the countries into regions of the world. I think it just wasn't changed back. You can put the chunks in a page by itself (sans the [tmp]) to see what they generate. [/comment] [table-editor bottom_buttons=1 defaults=1 no_bottom=1 no_top=1 row_template="[scratch row_template]" left_width=180 table_width=500 wizard=1 [comment] The above just sets up the display of the wizard form. You can play with the options to see the difference. The row_template is the template HTML that describes how the items will look. If you don't set it, it will be like what you see in the Interchange UI table editor pages. The wizard=1 setting tells [table-editor] that a database table is not required or needed, and that no primary key for item access is required. If no table=tablename parameter is specified it actually sets up a dummy database object to use for the routines that need a table reference. [/comment] ui_profile="*company" [/set] [comment] Just says we will use profile_company to check the form. It is: [set profile_company] company=required domainname=required address=required city=required state=regex [A-Z][A-Z] zip=required country=regex [A-Z][A-Z] [/set] Pretty self-explanatory, I think. [/comment] hidden.ui_return_to="__UI_BASE__/wizard/index" mv_failpage=@@MV_PAGE@@ mv_nextpage="[either][cgi ui_nextpage][or]__UI_BASE__/wizard/step_email[/either]" mv_prevpage="[either][cgi ui_prevpage][or]__UI_BASE__/wizard/index[/either]" [comment] Sets up the actions for the buttons. ui_return_to is where you go on hitting Cancel, mv_nextpage is for Next, and mv_prevpage is for Back. mv_failpage is where it goes when it fails the profile check -- i.e. right back to the current page. [/comment] ui_wizard_fields="company domainname address city state zip country phone fax tollfree" [comment] The variables that will be set as a result of this form. They go in the $Values hash. [/comment] widget.company=text_40 label.company="Your company name" label.domainname="Main domain name" widget.domainname=text_40 help.domainname="Base Internet domain name, e.g. yourcompany.com" [comment] The rest are just the widget callouts. [/comment] label.address="Street address" widget.address=text_40 label.city="City" widget.city=text_40 passed.state=`$Scratch->{state_options}` widget.state=select label.state="State" help.state="Two-letter state code" widget.zip=text_10 label.zip="ZIP/Postal code" label.country="Country" passed.country=`$Scratch->{country_options}` widget.country=select [comment] Here is where we use the previously-generated country_options Scratch variable as the options for the select box. We could have done much the same thing with: label.country="Country" database.country=country lookup.country="code,name" [/comment] label.phone="Telephone number" widget.phone=text_20 help.phone="If you don't wish to provide this, leave blank and it will not be shown." label.fax="Fax number" widget.fax=text_20 help.fax="If you don't wish to provide this, leave blank and it will not be shown." label.tollfree="Toll-free number" widget.tollfree=text_20 help.tollfree="If you don't have one or don't wish to provide it, leave blank and it will not be shown." ] -------------------------- When the user is done with the form, the ui_wizard_fields: company domainname address city state zip country phone fax tollfree will have some values in them, presumably checked for some requirements. They can hit Next, and go to the next set of inputs. After all the inputs are collected (the checklist helps the user determine whether they are all complete) the developer can do something with the information. Maybe that will give a bit better idea of what is going on, but I was not planning to release the wizard for general use; too much documentation and explanation to do. Perhaps someone will do a HOWTO that can help..... -- 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 (Russ Riggs) Date: Tue Sep 25 16:54:00 2001 Subject: [ic] sending files via terminal app? ftp/sftp is tried and true. You might run into firewall problems and target machines disabling ftp....but ftp has been around as long as unix. russ... Jud Harris wrote: > Hey folks - > > This might be a touch off-topic, but I venture to ask if anyone here > knows of a terminal app that can send a receive files? Back in my BBS > days, there was a tiny app called "sz" - or "send zmodem" that I could > execute on whatever server I was connected to, and my terminal app would > recognize the transmission and start the transfer. Any think similar > for linux? > > (you know.. it would be handy to transfer small files from a remote > server to which you're ssh/telnet-ed to your local machine) > > Just wondrin', > -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 (Eduardo Dominguez) Date: Tue Sep 25 17:30:01 2001 Subject: [ic] how to acces form fields.. I found wath my problem really is, although I havent figured out how to solve it. I have a page called add_comments.html. In it I have a form with a mv_click called update_database. In the same page I have a [set update_database], which will handle the form. I also have: <INPUT TYPE=hidden NAME="mv_todo" VALUE="return"> <INPUT TYPE=hidden NAME="mv_nextpage" VALUE="comment_stored"> On the comment stored page I display the result of the form processing that its done by the [set update_database] block. For testing purposes I set a scratch var to the sql statement. If I try to add a comment, I end up in the "comment_stored" page, which is the desired result, BUT the sql contains nothing but empty records. This is how I build the sql query. my $sql = sprintf('INSERT INTO comments(sku,name) VALUES("%s","%s")', $Values->{cmnt_sku}, $Values->{cmnt_fullname}); If I do a browser back button, change some values of the form and do a submit, the record gets inserted, with the values of the first form. Seems like the db insert gets done before the $Values get updated. How can I fix this ? Thanks in advance. On Tue, 2001-09-25 at 15:11, Ed LaFrance wrote: > At 02:51 PM 09/25/2001 -0500, you wrote: > >I want to process a form, validate it and if it meets certain > >criteria, store it in a DB. > > > >I am using perl to store to do this. How do I access the form > >fields ? > > > >Using [value..] or [cgi..] doesnt work. What should I use > >to retrieve those values ? > > > > I assume you mean you are using [perl ..][/perl]? You would do something like: > > [perl] > my $foo = $CGI->{foo}; > # ...or... > my $bar = $Values->{bar}; > [/perl] > > Take a look at these docs for more info: > http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_15.html > http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_31.html > http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_40.html > > > - Ed L. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Sep 25 18:31:01 2001 Subject: [ic] how to acces form fields.. At 04:38 PM 09/25/2001 -0500, you wrote: >I found wath my problem really is, although I havent figured out >how to solve it. > >I have a page called add_comments.html. In it I have a form >with a mv_click called update_database. >In the same page I have a [set update_database], which will handle >the form. I also have: > > <INPUT TYPE=hidden NAME="mv_todo" VALUE="return"> > <INPUT TYPE=hidden NAME="mv_nextpage" VALUE="comment_stored"> > >On the comment stored page I display the result of the form processing >that its done by the [set update_database] block. For testing purposes >I set a scratch var to the sql statement. > >If I try to add a comment, I end up in the "comment_stored" page, which >is the desired result, BUT the sql contains nothing but empty records. >This is how I build the sql query. > >my $sql = sprintf('INSERT INTO comments(sku,name) VALUES("%s","%s")', >$Values->{cmnt_sku}, $Values->{cmnt_fullname}); > >If I do a browser back button, change some values of the form and do a >submit, the record gets inserted, with the values of the first form. >Seems like the db insert gets done before the $Values get updated. > >How can I fix this ? I think I understand what you want to do... maybe. Try changing mv_click to mv_check - this will cause [set update_database][/set] to be processed *after* the session has been updated from the submit. Also, you might want to use $CGI->{} instead of $Values->{}, just to be sure you are getting the data from the most recent form submission. I think mv_check happens after $CGI data gets copied to $Values, but I am not 100% on that... - 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 (Zack Johnson) Date: Tue Sep 25 19:16:00 2001 Subject: [ic] What Does it Take to Create Wizards > The main part of the wizard is the [table-editor ...] tag with > the wizard option selected. I have never gotten to documenting > the table-editor UserTag, but it is what the UI uses for editing > DB stuff. I would say [table-editor] is perhaps the best IC's best feature, from a customization POV. I can't tell you enough how much of a boon the it is. While I have little idea what I'm doing with it, it's speeding my catalogue development significantly. I hate to keep pestering, but the tool is unbelievably powerful. I've created a new table in mysql. Call it 'foo'. I have already created a page to input records to foo. I'm now trying to use mv_metadata to control the display of the [table-editor]. For example, I have a table containing all airport codes called (ahem!): airport_codes. There are two fields, airport_code and name. I would like to setup mv_metadata::foo::airport_code to create a select box with value=label pairs from 'airport_codes'. That way, when I use table-editor on foo, I get a nice display with filters, etc. However, I'm stuck on the mv_metadata. I've seen some documentation on doing this, but to no avail so far (http://ic.redhat.com/cgi-bin/ic/docfly.html?id=J96tMHdq&mv_arg=icbackoffice 04%2e15 and http://ic.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icdatabase10%2e19). Either the field shows up as a text input box, or not at all. Even after bashing my head on it for a few hours, I'm still excited. Using [table-editor] + mv_metadata lets you tweak cat's with roaring speed. Thanks for the wonderful software, BTW. And if anyone wants the CSV of airport codes, I'll be glad to make it available. Zack From: interchange-users at interchange.redhat.com (Mark Johnston) Date: Tue Sep 25 20:05:01 2001 Subject: [ic] Cybercash oreder completion problem I am currently trying to get Interchange 4.8 working on our Solaris 2.7 running against Cybercash. I am having trouble getting the logic of my route in catalog.cfg and checkout.html correct. When I muck with the mv_todo and mv_doit variables in the checkout.html page I get one of the two following results - Either on checkout the reciept page is displayed and the order is processed through cybercash(confirmed through the cash register) but the order is not recorded in interchange. Or the order is recorded in interchange but the receipt page is not displayed and nothing is sent to the cybercash gateway. Does anyone have any suggestions? To understand recursion, we must first understand recursion. Mark Johnston <mjohnston@dokoni.com> Manager of Network Operations, Dokoni Inc. 858.490.4640x227 Vox 858.490.4280 Fax PGP 2.6 encrypted mail preferred, key available by finger johnston@showmetheproblem.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 20:52:00 2001 Subject: [ic] What Does it Take to Create Wizards --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Quoting Zack Johnson (zack@office.standardprinting.net): > > The main part of the wizard is the [table-editor ...] tag with > > the wizard option selected. I have never gotten to documenting > > the table-editor UserTag, but it is what the UI uses for editing > > DB stuff. > > I would say [table-editor] is perhaps the best IC's best feature, from a > customization POV. I can't tell you enough how much of a boon the it is. > While I have little idea what I'm doing with it, it's speeding my catalogue > development significantly. I hate to keep pestering, but the tool is > unbelievably powerful. > Flattery will get you everywhere. 8-} > I've created a new table in mysql. Call it 'foo'. I have already created a > page to input records to foo. I'm now trying to use mv_metadata to control > the display of the [table-editor]. > > For example, I have a table containing all airport codes called (ahem!): > airport_codes. There are two fields, airport_code and name. I would like > to setup mv_metadata::foo::airport_code to create a select box with > value=label pairs from 'airport_codes'. That way, when I use table-editor > on foo, I get a nice display with filters, etc. That should be easy. Ed LaFrance asked about this last week but Ht::Dig may not have indexed them yet. To review: mv_metadata.asc (in Jon's te editor style): code:foo::airport_code type:select db:airport_codes lookup:airport_code,name Also, a little trick is that you really only need one field in mv_metadata -- extended. (Besides code, of course). That entry would be: code:foo::airport_code extended:{ type => 'select', db => 'airport_codes', lookup => 'airport_code,name' } At one point, I started putting together a document about mv_metadata, but it gave me the idea for the [table-editor] tag and I got distracted. 8-\ I attached where I was to this message. -- 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 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="metadata.pod" =head1 NAME mv_metadata - Display formatting for the Interchange UI =head2 VERSION 0.01 =head1 SYNOPSIS [display table=tablename column=fieldname key=key arbitrary=tag filter=op ...] =head1 DESCRIPTION The Interchange UI uses the mv_metadata table to discover formatting information for field, table, and view display. The information is kept in fields in the mv_metadata table, and is used to select the display, the HTML input type, the size (height and width where appropriate), label, help text, additional help URL, and default value display. It works in conjunction with the [display ...] tag defined in the Interchange UI as well as in specific pages in the UI. In the simplest use, the formatting information for a table form field is called with: [display table=products column=category key="os28007"] The mv_metadata table is scanned for the following keys: products::category::os28007 products::category If a row is found with one of those keys, then the information in the row is used to set the display widget. If no row is found, an INPUT TYPE=TEXT widget is displayed. If the data is all digits, a size of 8 is used, otherwise the size is 60. If the following row were found (not all fields shown, would be tab-separated in the actual data): code type width height label options products::category text 20 Category Then an input C<<>C<INPUT TYPE=text SIZE=20 VALUE="*category*">> with a field label of I<Category> would be output. If the following row were found: code type width height label options products::category select Category =none, product=Hardware Then the following would be output: <SELECT NAME=category> <OPTION VALUE="">none <OPTION VALUE="product">Hardware </SELECT> The standard widget types are the same as the C<accessories> tag. Some of the most important are: =over 4 =item text The default. Uses the fields: width size of input box =item textarea Format a <TEXTAREA> </TEXTAREA> pair. Uses the fields: width COLS for textarea height ROWS for textarea =item select Format a <SELECT> </SELECT> pair with appropriate options. Uses the fields: height SIZE for select default Default for SELECTED options Options for a fixed list (or prepended to a lookup) lookup signals a lookup (used as field name if "field" empty) field field to look up possible values in db table to look up in if not current table lookup_exclude regular expression to exclude certain values from lookup =back =head1 AUTHOR Mike Heins, <heins@akopia.com>. Questions should be directed to the Minivend user list, <minivend-users@minivend.com>. --C7zPtVaVf+AK4Oqc-- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 21:13:00 2001 Subject: [ic] Admin Order Entry -> Order Routes -> Admin Logout Quoting Ed LaFrance (edl@newmediaems.com): > At 08:11 PM 09/24/2001 -0400, you wrote: > >On Sun, 23 Sep 2001, Jason Osborne wrote: > > > >JO>>I have an issue that I've been trying to solve for a while now. In the UI > >JO>>when an admin places an order, it goes out and runs through the Order > >Routes > >JO>>and then goes to the receipt.html page. Problem is that when the admin > >tries > >JO>>to go back to the UI, he/she has to log back into the system. What part of > >JO>>the order route is causing the admin to be logged off? > > > >In 4.6, my guess has been that the logins are tied together between the UI > >and the store. > > > >If I log into the store as Fred Sanford, and then log into the UI as Jim, > >suddenly the login at the store is changed to Jim. If I log out of the store > >and then log back in as Fred Sanford (the memory of Redd Foxx lives on!), > >then Jim is logged out of the UI. > > > >Whether this is a bug or a feature, I can't say! > > > > Actually, this is a rather significant bug which is causing more than one > problem. > > The routing for a backend order (mv_order_route) is "log_entry main > copy_user", but for some reason IC is ignoring it in favor of the 'default' > order route, which is set (in catalog.cfg) to "log_transaction main > copy_user" - I have verified that processing is passing through this route, > though it should not be, for a backend order. Not only does this log out > the admin's session, but it erroneously creates a new userdb record for all > transactions entered from the backend - a definite problem if you are > entering an order for an existing user. The problem is in catalog.cfg: FormIgnore mv_order_route which prevents the setting from the form. I think this can be corrected by changing the "Place Order" mv_click in lib/UI/pages/admin/entry.html: [set Place Order] mv_order_route=log_entry main copy_user mv_todo=submit [/set] If someone can give me some feedback that this works, I will commit that change to CVS. -- 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 (Howard William Office National) Date: Tue Sep 25 21:35:00 2001 Subject: [ic] search parameters se=I% and op=like not working after upgrade Ed Wrote >Post the relevant segment(s) of you error.log, otherwise no one has any idea what the nature of the problem is. Ok nothing in any error log that I can find "interchange/error.log" or "catalogue/error.log" so I rewote my catalogue index page. [data session arg] is a single letter and this works. ---snip--- [query interpolate=1 ml=999 list=1 sql="select title from product_index where title like '[data session arg]%' order by title"] <ul> [list] <li><FONT FACE="verdana,arial,helvetica"> [page href="scan" arg="sf=index se=[sql-param title] em=1 ac=1 tf=page tf=description to=f ml=10 "][filter name namecase][sql-param title][/filter]</A> </font></li> [/list] </ul> [/query] ---snip--- the problem with this is that "se=[sql-param title]" does not expand into the title but "[filter name namecase][sql-param title][/filter]" does. I also discovered that some existing code in another site i wrote from scratch based on minivend is now failing on a similar type of embedded tag. [loop search= | se=[value event_code] sf=type fi=events | ] outsite the "loop" works in inside doesn't. I have tried adding the interpolate=1 to no avail. I am now running 4.8.2-01 rpm. Cheers Greg Heath IT & T Consultant Howard William Office National P.S. why not visit our web site hwon.com.au for your office needs. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Sep 25 21:50:01 2001 Subject: [ic] search parameters se=I% and op=like not working after upgrade Quoting Howard William Office National (howwill@fuzion.com.au): > Ed Wrote > >Post the relevant segment(s) of you error.log, otherwise no one has any > idea what the nature of the problem is. > > Ok nothing in any error log that I can find "interchange/error.log" or > "catalogue/error.log" > > so I rewote my catalogue index page. > [data session arg] is a single letter and this works. > > ---snip--- > [query interpolate=1 ml=999 list=1 sql="select title from product_index There is your problem. interpolate=1 should rarely, rarely be used these days. The [page ...] tag is being interpolated before your query is done. [snip] > I also discovered that some existing code in another site i wrote from > scratch based on minivend is now failing on a similar type of embedded tag. > [loop search= | > se=[value event_code] > sf=type > fi=events > | > ] > > outsite the "loop" works in inside doesn't. I guarantee it works. There must be something else wrong, like the text file not being in sync with the database. Try st=db. > > I have tried adding the interpolate=1 to no avail. > Again, unlikely to help, very likely to hurt. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "All you need in this life is ignorance and confidence, and then success is sure." -- Mark Twain From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Wed Sep 26 01:05:00 2001 Subject: [ic] Interchange 4.8.2 Serious Issues I have been working for 2 days now trying to make Interchange function on a FreeBSD 4.2 system, I have installed the latest version of Perl v5.6.1 built for i386-freebsd, I have reinstalled MySQL Learned more about Perl Modules than I ever wanted to know.. If anyone is intrested in seeing if it is possable to make this work on a FreeBSD please contact me.. I don't have much hair left.. Best to everyone, Eddie From: interchange-users at interchange.redhat.com (Stefano Nota) Date: Wed Sep 26 02:46:01 2001 Subject: [ic] Interchange 4.8.2 Serious Issues I've installed interchange on a virtual server with FreeBds 4.2 and i managed to make it work -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of Edward Rubottom Sent: Wednesday, September 26, 2001 7:02 AM To: interchange-users@interchange.redhat.com Subject: [ic] Interchange 4.8.2 Serious Issues I have been working for 2 days now trying to make Interchange function on a FreeBSD 4.2 system, I have installed the latest version of Perl v5.6.1 built for i386-freebsd, I have reinstalled MySQL Learned more about Perl Modules than I ever wanted to know.. If anyone is intrested in seeing if it is possable to make this work on a FreeBSD please contact me.. I don't have much hair left.. Best to everyone, Eddie _______________________________________________ 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 Sep 26 03:23:01 2001 Subject: [ic] IC 4.8.2 Upgrade Causes Seg Fault FreeBSD 4.2 Yup, Me too IC 4.8.1 FreeBSD 4.2 Perl 5.6.1 Apache 1.3.12 Works perfectly with 3 'demo' cats 1 dbm, 2 pgsql Upgrade exactly as the instructions. Message reports fine test.pl runs successfully ./restart:-> finds the settings, config the cats, exits sig 11 core dumped segmentation fault. Restart the box just to make sure same story! Segmentation Fault core dumped /kernel pid 275(perl) exited on signal 11 core dumped This is on a test box. I can assist somewhat in testing if needed. Cheers All Steve -- Steven Ellis ES Marketing Zeppelinstraße 301 88048 Friedrichshafen Deutschland Tel: +49 7541 401041 Fax: +49 7541 401042 From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Wed Sep 26 04:02:01 2001 Subject: [ic] Adding SKU to Itemeditor Hi List, one of our cutomer is changin his product-code and want's a entry in the itemeditor. But adding sku to the `FIELDS TO EDIT' has no effect (no bad idea course changeing the primary key is no good idea anyway, but i need to do). knows anybody a workaround? mit freundliche Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Sep 26 04:22:00 2001 Subject: [ic] Adding SKU to Itemeditor > one of our cutomer is changin his product-code and want's a entry > in the itemeditor. But > adding sku to the `FIELDS TO EDIT' has no effect (no bad idea > course changeing the primary > key is no good idea anyway, but i need to do). > knows anybody a workaround? You could add a new column containing the real SKU... Rene From: interchange-users at interchange.redhat.com (Toni Mueller) Date: Wed Sep 26 05:15:01 2001 Subject: [ic] compute page name? Hello, [ I've seen similar questions asked before, but could not get the suggested solutions to work :( ] for several purposes I'd like to have a link (each) on a page that I include using eg a component, or perhaps draw in dynamically, that allows me to cycle through a number of (display) options. Needless to say, I'd usually like the page displayed after the user clicks to cycle, be the page the user was on when she clicked, but I can't seem to compute that name. Normally, I would say "[cgi HTTP_HOST]/[cgi REQUEST_URI]", but apart from the suspicion that there must be a neater way I've not gotten things to interpolate. The way I'd like this to happen is to pass a variable as a parameter and then evaluate this at the top: Down the page where the user could click: [seti returnurl][cgi HTTP_HOST]/[cgi REQUEST_URI][/seti] [area href="[scratch returnurl]&mydisplayoption=3"] click here </a> and on the top of the page: [if value [cgi displayoption] == 3] [seti user_display] fuzzy [/seti] [/if] but all I get is <a href="[scratch returnurl]&mydisplayoption=3"> click here </a> or <a href="&mydisplayoption=3"> click here </a> depending on wh Yes, I've read something about setting a flag that this page should be parsed, but other tags on that page _are_ already parsed. Also, the question about the sequence of evaluation somehow comes to mind... it might be that not all variables are defined when I need them. Also, I'd like to be able to compute an arbitrary URL to use in such a link. Is there a way to do it, and is there a way to do it efficiently? Please note that I don't always want to redisplay the current page, or that it would be appropriate/possible to work with a search. Applications should primarily be convenient cycling through languages and currencies. From: interchange-users at interchange.redhat.com (Toni Mueller) Date: Wed Sep 26 05:20:00 2001 Subject: [ic] Please ignore, was: Re: compute page name? Hello, due to my error (mistyping to my MUA) the unfinished message starting like below escaped from my computer. Please disregard (but please don't once I finish it). Thank you! Regards, --Toni++ On Wed, Sep 26, 2001 at 11:14:33AM +0200, Toni Mueller wrote: > [ I've seen similar questions asked before, but could not get the > suggested solutions to work :( ] > > for several purposes I'd like to have a link (each) on a page that > I include using eg a component, or perhaps draw in dynamically, > [ ... ] From: interchange-users at interchange.redhat.com (David Bordas) Date: Wed Sep 26 05:59:01 2001 Subject: [ic] Help : Options & Weight Hi, i'm looking for a way to modify weight with options like for price. It's ok for price but not for weight. I test in checkout.html to modify : [if-item-field weight] [seti weight][summary amount=`[item-quantity] * [item-field weight]`][/seti] [/if-item-field] by [if-item-field weight] [seti weight][summary amount=`[item-quantity] * ([item-field weight] + [item-options weight])`][/seti] [/if-item-field] or this : [if-item-field weight] [seti weight][summary amount=`[item-quantity] * ([item-field weight] + [item-data options weight])`][/seti] [/if-item-field] but nothing :( i also try to modify : [item-options td=1 label=1 bold=1 price=1] with [item-options td=1 label=1 bold=1 weight=1] Can someone show me where i've made a mistake ?? Thanks From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Wed Sep 26 07:21:01 2001 Subject: [ic] Please help! Attributes cleared OK, Yesterday into late last night I tried several things. Probably the most interesting was this: I installed another catalog w/ a different username, URL, dir structure and used foundation store and sample data. I added to catalog.cfg UseModifier size Used UI to add sizes to brush set. To flypage.html I added [item-accessories size] Which gave me a nice select box which I could select my options. Then added to checkout.html. [item-modifier size] If I select option from the brush set then go straight to checkout.html from cart I see my options fine. If I A. Hit recalculate from checkout everything comes back except the size attribute. B. Hit recalculate from cart or CHECKOUT from cart size attributes disappear also. What does this prove. I have a module problem? I have other core interchange install problem. I have no hair left? I think the last option is the most accurate. I looked at the session files and see the attributes in there but then they are not. Duuh! Don't know why. Maybe cause I don't understand what I am looking at. Well again I am at a loss. When 4.8.1 came out I reinstalled perl. Reinstalled all modules one @ a time. Then did a clean install of 4.8.1. Then customized very little. Installed 4.8.2 to try to fix this problem but NO LUCK. Does anyone know if I can use debug to tell more info. Or any other tool. Any help really really appreciated From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Sep 26 07:57:01 2001 Subject: [ic] Please help! Attributes cleared "Lewey Taylor" <admin@triparish.net> writes: > OK, Yesterday into late last night I tried several things. > Probably the most interesting was this: I installed another > catalog w/ a different username, URL, dir structure and used > foundation store and sample data. I added to catalog.cfg > > UseModifier size > > Used UI to add sizes to brush set. To flypage.html I added > > [item-accessories size] > > Which gave me a nice select box which I could select my > options. Then added to checkout.html. > > [item-modifier size] > > If I select option from the brush set then go straight to > checkout.html from cart I see my options fine. If I > > A. Hit recalculate from checkout everything comes back > except the size attribute. > > B. Hit recalculate from cart or CHECKOUT from cart size > attributes disappear also. > > What does this prove. I have a module problem? I have other > core interchange install problem. I have no hair left? I > think the last option is the most accurate. I looked at the > session files and see the attributes in there but then they > are not. Duuh! Don't know why. Maybe cause I don't > understand what I am looking at. I don't see the problem either. One thing you can do: go to your interchange script, replace any #::logDebug(...) by ::logDebug(...) set the DEBUG variable in interchange.cfg, restart interchange and you'll see in the debug log file which happens to your attributes. Bye 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 (Jim Balcom) Date: Wed Sep 26 09:02:01 2001 Subject: [ic] Adding SKU to Itemeditor On Wed, 26 Sep 2001, Tobias Henle wrote: TH>> TH>>one of our cutomer is changin his product-code and want's a entry in the itemeditor. But TH>>adding sku to the `FIELDS TO EDIT' has no effect (no bad idea course changeing the primary TH>>key is no good idea anyway, but i need to do). TH>>knows anybody a workaround? That's because the database is indexed on the SKU. When I want to change SKU's, I do the changing from the command line. However, I believe that it can also be done through the Admin Interface. I use my favorite editor (joe) and edit products.txt You also have to edit inventory.txt, merchandising.txt, and pricing.txt Normally, these data bases will re-generate the next time that they are accessed. You may want to 'apply changes' -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 26, 2001 at 08:55 AM: A man's best friend is his dogma. ---------------------------------------------------------------- This Linux System has been up 39 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Frank Maestas) Date: Wed Sep 26 09:12:00 2001 Subject: [ic] Cybercash error - cannot open MCK file Wednesday, September 26, 2001 Getting this Cybercash error when at checkout. "Charge failed, reason: Cannot open MCK Configuration file" I put all the Cybercash MCK files in /usr/lib/interchange/lib/ The merchant_conf file is also in that same directory, and the path in my variable.txt file is pointing to the merchant_conf. How does Interchange know to use MCK files? merchant_conf says nothing about a path to them. Is this a Perl path problem or IC path problem. This is exactly the same setup I used on another server and it works, the only difference is this new server has 4.8.2, the other is 4.6.1. ... Frank Maestas fmaestas@ttseagle.com From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 26 09:18:00 2001 Subject: [ic] formatting a date string On Mon, 24 Sep 2001, Corey Gilmore wrote: CG>>Whats the best way to format a date string (from a [data] query)? CG>>The string would be similar to 20010622 CG>>The time tag only works with the current time... Here's what I use at midnight every night to change my order numbers to reflect yymmddseq I hope that this will help! perl -e '($d,$m,$y)=(localtime)[3,4,5]; printf "%s%02d%02d%02d%02d","#COUNTER-1.0\n",$y-100,$m+1,$d,"00";' > /home/interch/catalogs/diaperstore/etc/order.number (all on one line) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 26, 2001 at 09:15 AM: MACINTOSH - Most Apps Crash, If Not, Then Operating System Hangs ---------------------------------------------------------------- This Linux System has been up 39 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Eric Paul) Date: Wed Sep 26 09:35:01 2001 Subject: [ic] Fwd: Important migration notice for CyberCash customers I thought some folks on the list might want to see this. I read over the URLs, and there's not a lot of hard info there. Anyone know how this is REALLY going to affect those of us using CyberCash? This *seems* to imply that the only thing we'll have to change is that we need to use the Payflow website instead of cr.cybercash.com for manual CC processing. Anyone know if that is correct? (Sorry, I'm not all that trusting of VeriSign lately...) Eric >IMPORTANT CYBERCASH MIGRATION NOTICE: >Our records show that you are currently registered to process payments >through >the CyberCash payment gateway. > >Your account is currently scheduled for migration to VeriSign's Payflow (SM) >service on or after October 2, 2001. > >As highlighted in earlier communications, VeriSign is in the process of >migrating >its CyberCash customers to VeriSign's Payflow payment gateway services. When >this effort is complete, Internet credit card transactions from your Web >site will be >processed through the Payflow service. No changes are required to your >merchant >account, or your credit card processor/bank and we do not anticipate any >significant changes to your Web site integration. We intend to make this >transition >as simple and seamless for you as possible. When the integration is >complete, you >will need to begin using VeriSign's Payflow Manager to manage all new >transactions instead of the CyberCash E-Commerce Services Manager. We >believe that you will find Payflow Manager easy to use with comprehensive >features that will meet your business requirements now and in the future. > >Please pay particular attention to the following two items: > >1. When this integration is completed on or after the date given above, >you will >need to use VeriSign's Payflow Manager for administration of all new >transactions. At that time you may use your current login and >password. Your >Partner ID is also required; there is a link in the Payflow Manager to >help you find >your Partner ID. You will not be able to administer transactions >processed after >that date using the CyberCash E-Commerce Services Manager. You will need to >continue to use the current CyberCash E-Commerce Services Manager to query >transactions that were authorized before the migration date. > >Once you are migrated over to the VeriSign Payflow service, your continued >use >of the service will be your acknowledgement that you have read and agreed >to be >bound by the VeriSign Service Agreement for the CyberCash Migration at URL: >http://www.cybercash.com/integration/OnlineVPS7.31.008-20-01.html > >To familiarize yourself with the benefits and use of Payflow Manager prior >to the >migration date, you can sign up for a free test account at: >https://register-payflow.verisign.com/testreg.cfm?product=1001&partner=VeriSign > >After you have signed up for the free test account you will be able to >download a >copy of the Payflow Manager User's Guide. If you have questions on using the >Payflow Manager, the "VeriSign Manager: Quick Start Guide for CyberCash >Merchants" is available at: >http://www.verisign.com/support/payflow/merchants/MgrQuickStart.pdf. > > >2. VeriSign's Payflow service is based on Automatic Settlement. If you are >currently using the Manual Settlement feature you may require some changes in >how you process after the migration: > *Batches that you create will be aggregated into a single batch when >submitted for settlement by the VeriSign Payflow Service. > *All batches are handled off-line. This means that no Processor > Batch-Id will >be returned. Sites using the Processor Batch-ID will need to be modified to >ignore these values. > *Any orders authorized but not captured using the CyberCash E-Commerce >Services Manager prior to migration must be settled manually using the >Payflow Manager. > >While we do not anticipate any problems, we apologize in advance for any >inconvenience this might cause for you and encourage you to contact us if you >experience any problems or need assistance. If you have any questions >about the >differences between the two administration systems, go to: >http://www.cybercash.com/mck_mgr_differences.html, or you may call us toll- >free at 1-888-716-0023 to speak with a Customer Service representative. > >We will keep you current on any changes in the schedule; please look for >update >e-mails. > >Thank you for your support. > > > >______________________________________________________________________ >This message was sent by VeriSign using Responsys Interact (TM). > >To view our permission marketing policy: > http://www.rsvp0.net --- Eric Paul SpellBook Systems http://www.spellbook.net From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Sep 26 09:59:01 2001 Subject: [ic] What Does it Take to Create Wizards Many thanks! Once I downloaded 'te' (which I could only on Google's cache: http://www.google.com/search?q=cache:vf5RIgpu40Q:www.akopia.com/~jon/te+Jon+ interchange+te+editor&hl=en), it was a piece of cake. I found Ed's thread on the maillist index (http://interchange.redhat.com/pipermail/interchange-users/2001-September/01 2496.html). Does [table-editor] in the non-wizard context have anything like the 'widget.airport_code' and 'passed.airport_code' that shows up in the Commerce Launcher? Specifically, I built a State field, and populate the 'select' from the table 'state', but I want to limit the entries to 'US'. I would also like to sort my airport codes by 'name', since right now it's a mess. I suppose I could drop the table, sort it, and re-import it, but I don't want to take the long way around unless it's necessary. Thanks again! Zack ----- Original Message ----- From: <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, September 25, 2001 8:51 PM Subject: Re: [ic] What Does it Take to Create Wizards > Quoting Zack Johnson (zack@office.standardprinting.net): > > > The main part of the wizard is the [table-editor ...] tag with > > > the wizard option selected. I have never gotten to documenting > > > the table-editor UserTag, but it is what the UI uses for editing > > > DB stuff. > > > > I would say [table-editor] is perhaps the best IC's best feature, from a > > customization POV. I can't tell you enough how much of a boon the it is. > > While I have little idea what I'm doing with it, it's speeding my catalogue > > development significantly. I hate to keep pestering, but the tool is > > unbelievably powerful. > > > > Flattery will get you everywhere. 8-} > > > I've created a new table in mysql. Call it 'foo'. I have already created a > > page to input records to foo. I'm now trying to use mv_metadata to control > > the display of the [table-editor]. > > > > For example, I have a table containing all airport codes called (ahem!): > > airport_codes. There are two fields, airport_code and name. I would like > > to setup mv_metadata::foo::airport_code to create a select box with > > value=label pairs from 'airport_codes'. That way, when I use table-editor > > on foo, I get a nice display with filters, etc. > > That should be easy. Ed LaFrance asked about this last week but Ht::Dig may > not have indexed them yet. To review: > > mv_metadata.asc (in Jon's te editor style): > > code:foo::airport_code > type:select > db:airport_codes > lookup:airport_code,name > > Also, a little trick is that you really only need one field in > mv_metadata -- extended. (Besides code, of course). That entry would be: > > code:foo::airport_code > extended:{ type => 'select', db => 'airport_codes', lookup => 'airport_code,name' } > > At one point, I started putting together a document about mv_metadata, but > it gave me the idea for the [table-editor] tag and I got distracted. 8-\ > I attached where I was to this message. > > -- > 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 (Lewey Taylor) Date: Wed Sep 26 10:41:00 2001 Subject: [ic] Please help! Attributes cleared Quoting Racke > > #::logDebug(...) > > by > > ::logDebug(...) > > set the DEBUG variable in interchange.cfg, restart interchange > and you'll see in the debug log file which happens to your > attributes. Thanks, I will try this. Lewey From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Wed Sep 26 10:51:01 2001 Subject: [ic] TIPS: Adding a new mysql table to IC "Zack Johnson" <zack@office.standardprinting.net> writes: > 6. Restart IC. Your table should now appear under Administration > > Tables. Haven't we forgotten a step here. Maybe IC 4.8 has changed in this respect (I still haven't upgraded yet). But I though you had to create <catroot>/products/foo.txt before IC would pick up the new table. Most specifically, I thought you needed all the column headers in the foo.txt file: $ cat > <catroot>/products/foo.txt id<tab>name<tab>atomic_number <ctrl-d> I thought it was _this_ text file and not the one over in <catroot>/dbconf/mysql/foo.txt that IC used to create tables from. I thought just the column definitions came from the dbconf file. Other than that, a very nice write-up. Probably the best HOWTO on the subject yet. -- (__) 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 (Jon Jensen) Date: Wed Sep 26 10:58:00 2001 Subject: [ic] What Does it Take to Create Wizards On Wed, 26 Sep 2001, Zack Johnson wrote: > Many thanks! Once I downloaded 'te' (which I could only on Google's cache: > http://www.google.com/search?q=cache:vf5RIgpu40Q:www.akopia.com/~jon/te+Jon+ > interchange+te+editor&hl=en), it was a piece of cake. te is part of the standard Interchange distribution, in the 'eg' directory. Jon From: interchange-users at interchange.redhat.com (Mark Johnston) Date: Wed Sep 26 11:02:06 2001 Subject: [ic] Checkout Problems Can someone please help?? I am trying to get 4.8 working on Solaris 8 and have pretty much everything working except for when someone checkouts using a credit card. When they hit the submit button on the checkout page they get the receipt page and cybercash processes the credit card, but the order isn't recorded locally. The cart also doesn't get emptied out. It would seem to me that the setting of &success=receipt in the credit_card section of profiles.order is somehow short circuiting the profile, but I am really just guessing since I am unable to step through the logic. I would appreciate any suggestions. fin To understand recursion, we must first understand recursion. Mark Johnston <mjohnston@dokoni.com> Manager of Network Operations, Dokoni Inc. 858.490.4640x227 Vox 858.490.4280 Fax PGP 2.6 encrypted mail preferred, key available by finger johnston@showmetheproblem.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Sep 26 12:17:01 2001 Subject: [ic] Admin Order Entry -> Order Routes -> Admin Logout At 09:12 PM 09/25/2001 -0400, you wrote: >Quoting Ed LaFrance (edl@newmediaems.com): > > At 08:11 PM 09/24/2001 -0400, you wrote: > > >On Sun, 23 Sep 2001, Jason Osborne wrote: > > > > > >JO>>I have an issue that I've been trying to solve for a while now. In > the UI > > >JO>>when an admin places an order, it goes out and runs through the Order > > >Routes > > >JO>>and then goes to the receipt.html page. Problem is that when the > admin > > >tries > > >JO>>to go back to the UI, he/she has to log back into the system. What > part of > > >JO>>the order route is causing the admin to be logged off? > > > [snip] > > > > Actually, this is a rather significant bug which is causing more than one > > problem. > > > > The routing for a backend order (mv_order_route) is "log_entry main > > copy_user", but for some reason IC is ignoring it in favor of the > 'default' > > order route, which is set (in catalog.cfg) to "log_transaction main > > copy_user" - I have verified that processing is passing through this > route, > > though it should not be, for a backend order. Not only does this log out > > the admin's session, but it erroneously creates a new userdb record for > all > > transactions entered from the backend - a definite problem if you are > > entering an order for an existing user. > >The problem is in catalog.cfg: > > FormIgnore mv_order_route > >which prevents the setting from the form. I think this can be corrected >by changing the "Place Order" mv_click in lib/UI/pages/admin/entry.html: > >[set Place Order] >mv_order_route=log_entry main copy_user >mv_todo=submit >[/set] > >If someone can give me some feedback that this works, I will commit >that change to CVS. > It doesn't - it appears to be ignored just like an <input ...> tag. Also, commenting out 'FormIgnore mv_order_route' as an alternative approach causes frontend and backend orders to fail in my tests - they just bounce back to the checkout (or entry) page with no on-screen error message, nothing in the log. So far the only thing that has worked for me is disabling the 'Route default' entries as per my earlier post, though I realize that is not a long-term solution. - 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 Sep 26 12:21:00 2001 Subject: [ic] Adding SKU to Itemeditor At 09:51 AM 09/26/2001 +0200, you wrote: >Hi List, > >one of our cutomer is changin his product-code and want's a entry in the >itemeditor. But >adding sku to the `FIELDS TO EDIT' has no effect (no bad idea course >changeing the primary >key is no good idea anyway, but i need to do). >knows anybody a workaround? > >mit freundliche Grüßen > >-Tobias Henle Are you using 4.8.x? Did you try the 'Clone item' function? - 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 (Eduardo Dominguez) Date: Wed Sep 26 12:27:59 2001 Subject: [ic] TIPS: Adding a new mysql table to IC Great HOWTO :) What interested me the most was mv_metadata. What is it for ? what kind of "neat stuff" can I do with it ? :) Thanks again! > > 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. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Sep 26 12:31:01 2001 Subject: [ic] TIPS: Adding a new mysql table to IC Doug, I don't know enough to address the auto *creation* of tables. In my instructions, the user is left to create the table manually, with whatever tool they like (e.g., mysql client, phpmyadmin, etc.). I simply find it easiest to create the table from the textfile created in step 1. IC will recognize the table with a <table>.txt, if created manually. However, your comments may well address the case where you want IC to create the table. I will gladly defer to the experts on this matter. Let me know if I should add 2b. Thanks for the compliments! Zack ----- Original Message ----- From: "Doug Alcorn" <lathi@seapine.com> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Wednesday, September 26, 2001 10:47 AM Subject: Re: [ic] TIPS: Adding a new mysql table to IC > > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > 6. Restart IC. Your table should now appear under Administration > > > Tables. > > Haven't we forgotten a step here. Maybe IC 4.8 has changed in this > respect (I still haven't upgraded yet). But I though you had to > create <catroot>/products/foo.txt before IC would pick up the new > table. Most specifically, I thought you needed all the column headers > in the foo.txt file: > > $ cat > <catroot>/products/foo.txt > id<tab>name<tab>atomic_number > <ctrl-d> > > I thought it was _this_ text file and not the one over in > <catroot>/dbconf/mysql/foo.txt that IC used to create tables from. I > thought just the column definitions came from the dbconf file. > > > Other than that, a very nice write-up. Probably the best HOWTO on the > subject yet. > -- > (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > |_/ If you're a capitalist and you have the best goods and they're > free, you don't have to proselytize, you just have to wait. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Wed Sep 26 12:37:00 2001 Subject: [ic] Modular options, problem displaying options(v4.8.1) These are the steps I follow to create a Modular Option using Foundation: - Go to Items, select os28075 (Modeling Hammer) - click on Options tab - choose modular options - Add Option - type the sku of another product (eg os28070). Give it an option name and description then submit form. - Apply changes - Browse the item (Modeling Hammer) on the catalog. - Nothing happens. No options. What am I doing wrong ? Am I missing something here ? _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (BrainCoders.com) Date: Wed Sep 26 12:49:01 2001 Subject: [ic] **LOW COST SOFTWARE DEVELOPMENT** Dear Internet User, The eBusiness is changing the software applications and services landcape in a way that has not been seen earlier. Companies worldwide are waking up to the fact that the difference between just having an Online Presence and using the web as a strategic medium can mean all the difference to success. What this also means is that you need technology providers who understand the business implications of technology and can make sure that the solutions work with your exisiting business processes as also enable you to integrate new processes without massive investments in changing the whole Application Architecture. BrainCoders.com is a software company dedicated to designing and developing the highest-quality software to provide our clients with workable, maintainable and leading-edge solutions. We are specializing in IT services and software outsourcing. Our prices are one of the lowest on the market. We charge our customers from $8 to $15 per working hour depending on the length and complexity of the project. Our leading principle is to consistently deliver on time and on budget. Our most value asset is our team of most committed and capable people. This dedication to high degrees of professionalism translates to innovative and cost effective solutions. The bottom line is that we help our clients gain competitive advantage and maintain their leading positions in their respective industries. BrainCoders.com' software development services may be of special interest to the following groups of potential customers: Software houses that wish to reduce their development costs by means of outsourcing. Companies not directly involved in software development, but which have or need their proprietary software business applications and wish to delegate the development, upgrades and support of these applications to a software company. For more information please visit our web site by clicking the following link: http://www.braincoders.com If you are interested in our services, I would be happy to provide you with any information you may request. I am looking forward to hearing from you. BestRegards, Vesselin Sladkov BrainCoders.com E-mail: sladkov@braincoders.com _________________________________________________________ This mailing is done only to people who have requested info from one of our sites, or downloaded our Software. If you have recieved this email in error and you wish to be removed from future mailings, please reply with the subject "Remove" and our software will automatically block you from their future mailings. _________________________________________________________ From: interchange-users at interchange.redhat.com (Iván Chavero) Date: Wed Sep 26 12:51:01 2001 Subject: [ic] problem with administrator account i have successfully installed interchange in my linux box, installed the catalog, and the server is running. The store front works, the users can sign in and all, but i can't login as administrator. I've configured the administrator account with the defualt settings (user: interch, pass: pass) but i can't login. The logs show that the user is correct but the password is incorrect, it's this message: /cgi-bin/euach/process.html Denied attempted login by user 'interch' with incorrect password is there some way to fix this, i have browsed most of the files and didn't find anything thanks From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Sep 26 13:11:01 2001 Subject: [ic] TIPS: Adding a new mysql table to IC Thanks! While I'm just a 'mv_metadata' beginner, there are several handy things you can do with mv_metadata. I should begin by saying what mv_metadata (hereafter, 'meta', for us lazy folk) does. 'meta' is a prefix which, when applied to a noun, means that that thing applies to other things just like it. A 'meta_libary' would be a library of libraries. A 'metasitcom' would be a sitcom about sitcoms. And 'metadata' is information about information. Specifically, Interchange features a table which contains descriptions, extended properties and so on regarding other Interchange tables. Suppose I have a table called 'leno' with a field called 'bad_joke'. The only information IC can "figure out" about bad_joke is that it's a VARCHAR(255) field. However, IC can "know" more about this field if we add an entry into meta. We can supply a label for bad_joke so that pages which display this field for input mean more to us than the field name. Using the 'label' attribute in meta, we could setup a description that reads "Full Text of the Bad Joke." The mv_metadata capability extends beyond the basics like naming. For example, meta also allows us to apply default filters both for display and input. We may want to strip any HTML out of all text input to bad_joke for security reasons. Meta lets you do that. You may want to display that text in uppercase. Meta lets you do that. You may have select boxes (drop downs) that let you choose a state. That list of state can be imported from a database table so you don't have to enter them by hand. Meta lets you do that too (just read the thread on 'What does it takes to create wizards'). I'm sure meta lets you do other cool thing as well. It's just that I really don't know what those are. Good luck! Zack ----- Original Message ----- From: "Eduardo Dominguez" <edmz@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 26, 2001 12:35 PM Subject: Re: [ic] TIPS: Adding a new mysql table to IC > Great HOWTO :) > > What interested me the most was mv_metadata. What is it for ? > what kind of "neat stuff" can I do with it ? :) > > Thanks again! > > > > 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. > > > > _________________________________________________________ > 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 > From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Sep 26 13:12:00 2001 Subject: [ic] TIPS: Adding a new mysql table to IC > IC will recognize the table with a <table>.txt, if created manually. Oops. That should say "recognize the table withOUT a <table>.txt" From: interchange-users at interchange.redhat.com (Wynans, Art) Date: Wed Sep 26 13:28:00 2001 Subject: [ic] Interchange hosting with Dynamic IP address --__--__-- Message: 2 Date: Sun, 23 Sep 2001 13:01:35 -0400 From: mheins@redhat.com <mailto:mheins@redhat.com> To: interchange-users@interchange.redhat.com <mailto:interchange-users@interchange.redhat.com> Subject: Re: [ic] Interchange hosting with Dynamic IP address Reply-To: interchange-users@interchange.redhat.com <mailto:interchange-users@interchange.redhat.com> Quoting Art Wynans (artw@telus.net <mailto:artw@telus.net>): > I'm trying to host an interchange website using an ADSL modem and dynamic IP > address. I can handle the IP address changes with html redirects from the > domain name however the setup of interchange requires an internet routable > domain and hostname in the configuration and catalog. How can I set up > interchange to work when my server's hostname/ IP changes a few times a > week? I suggest just setting: VendURL /cgi-bin/yourcat Then hostname doesn't matter, it uses whatever the entry point was. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com <mailto:mheins@redhat.com>> Prove you aren't stupid. Say NO to Passport. --__--__-- Setting the VendURL will likely do the trick for the customer interface but the remote admin interface will not be affected by this. Are there any recommendations for the admin side of things? From: interchange-users at interchange.redhat.com (Leon Harris) Date: Wed Sep 26 13:44:00 2001 Subject: [ic] GPG troubles Hi, I am having hassles with using gpg to send encrypted credit card info. I create my selfsigned keys gpg --key-gen I export the pub key to an orders.pub file. I save the private key for use on my mail client (but not where gpg can find it). I remove all other files in ~/.gnupg I import the orders.pub key into my gpg keyring gpg --import orders.pub and I still get the message gpg: key 9D1C5688: secret key without public key - skipped Now there is no secret key where gpg can see it. A direct following of the gnu privacy handbook recipes for key creation does not help me - it gives me a similar result. I am mailing to orders@cables.com, my gpg key is for orders@cables.com, all cables.com traffic is sent elsewhere by a @cables.com directive in sendmails virtusertable. logging in /tmp/icdebug tells me Vend::Order:debug: called pgp_encrypt key= cmd= Vend::Order:debug: after pgp_encrypt key=/home/cables/.gnupg/keyring.pub cmd=/usr/bin/gpg -ea --always-trust -r orders@cables.com 2>/dev/null error.log says PGP failed with status 131072: WTF is going wrong ? any help much appreciated. Cheers, leon. [spits it and stomps off to bed] From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Wed Sep 26 14:30:00 2001 Subject: [ic] Do modular options work at all ?!?!? Searching thru the archives and the bug database, some people suggest modular options will work on 4.8, others that it doesnt work and one more claiming it will be until v4.9. Also, the manual is wrong. It points to files that dont exist (templates/components/modular_buy), to a "computer data set" and if you read it you asume that features does work. What is the real status of Modular Options ? Are they working ? If not, I just lost a couple of days because I can choose it as an Option's option, its not marked as "not working". If they are not working, what can I do to achieve the same result ? Has anyone emulated the behaviour of Modular Options ? Thanks in advance. -- edmz _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Jorge Cuevas) Date: Wed Sep 26 14:34:00 2001 Subject: [ic] Shipping Zones Hi, I want to use the internal UPS zones, but with a particular tweak, what I need is if the zone returned is for example zone 1, I want the shippment to be free. I can get it to return 0, but then it will not display "FREE" on the shipping method. anyone know how to do this? thanks _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (David Totten) Date: Wed Sep 26 14:42:00 2001 Subject: [ic] Payflow Pro Configuration --=-ZvIUpehq+30iawJuligE Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, 2001-09-25 at 16:21, Fred Pope wrote: > Does anyone have a good reference on integrating Interchange 4.8 with > Verisign's PayFlow Pro (Formerly Signio)? > > Looking so far, it looks as though there are going to be a few changes to > interchange.cfg file, the catalog.cfg file, and the variables.txt file. > > I was hoping that someone who had done it before could help minimize my > trials and errors. You are in luck. I have updated my previous attempt at documenting how to set this up in interchange 4.6.5, so that it describes how to set it up in interchange 4.8.2. I hope it helps. Any feedback on this file is more than welcome. 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 --=-ZvIUpehq+30iawJuligE Content-Type: text/plain Content-Disposition: attachment; filename=signio_482.txt Content-ID: <1001529657.10696.5.camel@pred> Content-Transfer-Encoding: 7bit How to configure interchange 4.8.2 to use VeriSign/Signio's Payflow Pro version 3.0 as your default payment gateway. Introduction: The aim of this document is to explain what was necessary for me to get VeriSign/Signo set up as my payment gateway. At the time of this writing, I was using interchange 4.8.2 and the Payflow Pro SDK version 3.00 Assumptions: In order to procede with this document, you must be able to browse both the customer and admin interfaces of your interchange store. Definitions: In order to facilitate my instructions a little bit, I am going to define a few variables that I will use in this document. $VENDROOT is a variable that defines where the makecat and interchange binaries are located. In my installation (from the tarball) it is located at /home/interch/interchange. $SRCROOT is the directory where I uncompress the interchange tarball. In my situation it is ~/home/interch/src/interchange-4.8.2. $CATROOT is the directory where my catalog is stored. In my installation, it is ~/home/interch/catalogs/ic_482/ Getting The Payflo Pro SDK After getting your Payflo Pro account set up, log in to your account at https://manager.verisign.com. Remember what you had to use here for the Partner, Login, and Password fields. They will be needed later in this document. Once logged in, click the link towards the top of your screen that says download. Under the section labeled Payflow Pro Software Development Kit (SDK), will be a link for your operating system. I used the Linux version. Once you have downloaded the software, uncompress it. I uncompressed the file in my interchange users directory /home/interch/. You should now have a new subdirectory named verisign. I changed directories to /home/interch/verisign/payflowpro/linux/lib. The file libpfpro.so needs to be copied into $VENDROOT/lib. This may require root access on your system, depending on how it is set up. Next I changed directories to /home/interch/verisign/payflowpro/linux/bin. The file pfpro needs to be copied into $VENDROOT/bin. The last file that needs to be moved is found in /home/interch/verisign/payflowpro/linux/certs. It's a file named f73e89fd.0. first you need to make a directory in $VENDROOT/lib called certs. Then this file gets copied into the certs directory. Making the Payflow Pro SDK work with Interchange In order for interchange to know that you want to make the signio module your default payment gateway, there are some things that we must do. First, edit $VENDROOT/interchange.cfg. On the last line, add the the following: Require module Vend::Payment::Signio Next we need to set up some variables in $CATROOT/products/variables.txt. Things that you must know for this section include: VeriSign Login VeriSign Password VeriSign Partner We need to define these with the following lines in your variables.txt file. ***** IMPORTANT ***** Remember that the space between each item in a line, is a tab not a space. We will be forming 3 columns on each line, and they go in this format. VARIABLE_NAME<TAB>VARIABLE_VALUE<TAB>VARIABLE_CATEGORY<ENTER> The variables that we need to add here are as follows: MV_PAYMENT_MODE signio Payment SIGNIO_SERVER test-payflow.verisign.com Payment SIGNIO_ID $login Payment SIGNIO_PARTNER $partner Payment SIGNIO_SECRET $password Payment SIGNIO_VENDOR $login Payment Replace $login, $partner, and $password with the correct values that were given to you by VeriSign. Once this is done, you need to remove the variables.gdbm file. This tells interchange that it should re-create the variables.gdbm file from the new version of variables.txt that you have just created. Now we can restart interchange and we should have a new payment gateway up and running. Troubleshooting: If you still cannot get through the checkout process because it says there is an error, but interchange doesn't say what the error was, there are some things that you can do to figure out what has gone wrong. The best, if on your system you can modify interchange.cfg, is to uncomment the DEBUG line in your interchange.cfg. Once this is done, you need to edit $VENDROOT/lib/Vend/Payment/Signio.pm and uncomment the lines that start with ::logDebug. These calls will output debugging text into /tmp/icdebug on a normal install. Save the file, and then restart interchange. Now you can do something like tail -f /tmp/icdebug and watch the debugging text as it occurs while you are trying to place an order. Suggestions to the document: If you have suggestions for this document, or if I have left something out, please let me know by sending an email to signio_faq@davetotten.com --=-ZvIUpehq+30iawJuligE-- From: interchange-users at interchange.redhat.com (Laura Donnelly) Date: Wed Sep 26 16:13:00 2001 Subject: [ic] css sheet This may be a dumb question but I go to the preferences page in admin where it lays out the css. I cannot figure out how to change the css. I cannot find the file inthe file structure...and the "set css" button just refreshes the page so I don't know what that is for either. Please help. Where do I change this file? From: interchange-users at interchange.redhat.com (Jud Harris) Date: Wed Sep 26 16:21:01 2001 Subject: [ic] GPG troubles Leon, Make sure your 'interch' user is the one with the keys installed. If it's looking in your /home/cables dir, chances are it's not. su to interch, and gpg --list-keys.. if they're not there, move 'em over. interch is the user that's running gpg when you submit an order. Give that a shot.. and try gpg -eat --always-trust -r orders@cables.com from the command line as user interch - if it works, go from there. Good luck. -Jud On Wed, 2001-09-26 at 12:44, Leon Harris wrote: > Hi, > I am having hassles with using gpg to send encrypted credit card info. > > I create my selfsigned keys > gpg --key-gen > > I export the pub key to an orders.pub file. > I save the private key for use on my mail client (but not where gpg can > find it). > I remove all other files in ~/.gnupg > I import the orders.pub key into my gpg keyring > gpg --import orders.pub > > and I still get the message > gpg: key 9D1C5688: secret key without public key - skipped > Now there is no secret key where gpg can see it. > > A direct following of the gnu privacy handbook recipes for key creation > does not help me - it gives me a similar result. > > I am mailing to orders@cables.com, my gpg key is for orders@cables.com, > all cables.com traffic is sent elsewhere by a @cables.com directive in > sendmails virtusertable. > > logging in /tmp/icdebug tells me > > Vend::Order:debug: called pgp_encrypt key= cmd= > Vend::Order:debug: after pgp_encrypt key=/home/cables/.gnupg/keyring.pub > cmd=/usr/bin/gpg -ea --always-trust -r orders@cables.com 2>/dev/null > > error.log says > PGP failed with status 131072: > > WTF is going wrong ? > > any help much appreciated. > > Cheers, > leon. > [spits it and stomps off to bed] > > > > > > _______________________________________________ > 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 Sep 26 16:39:01 2001 Subject: [ic] css sheet The css is actually part of theme.cfg. Change directory to your catalog root and do this find . -name theme.cfg -print This should find you the file. Look at the bottom and you will notice the style information. The file is probably in <catalogroot>/foundation/theme.cfg unless you have renamed foundation to something else (as I have for purposes of clarity) I have found that you can force the changes to take effect by bouncing Interchange, but you may be able to use that "Set" button also. IC bounces pretty fast so I've never tried that :) Patrick >This may be a dumb question but I go to the preferences page in admin where >it lays out the css. I cannot figure out how to change the css. I cannot >find the file inthe file structure...and the "set css" button just refreshes >the page so I don't know what that is for either. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Sep 26 16:42:00 2001 Subject: [ic] css sheet Yikes. I was a little off. <catalogroot>/templates/foundation/theme.cfg By the way, the "foundation" is really the value of STYLE in <catalogroot>/products/variable.txt Patrick From: interchange-users at interchange.redhat.com (Mark Johnston) Date: Wed Sep 26 16:43:47 2001 Subject: [ic] css sheet I had similar problems but ended up finding a reference to it in my catalog.cfg file, here is the entry for my dokoni catalog ifndef STYLE Variable STYLE default endif include templates/__STYLE__/dokoni.cfg So looking in the templates/default/ catalog directory I found my dokoni.cfg which has a bunch of variables being set at the top and then at line 43 is the tag <STYLE TYPE="text/css"> starting the style sheet. Hope this helps. fin -----Original Message----- From: Laura Donnelly [mailto:LDonnelly@witness.com] Sent: Wednesday, September 26, 2001 1:13 PM To: 'interchange-users@interchange.redhat.com' Subject: [ic] css sheet This may be a dumb question but I go to the preferences page in admin where it lays out the css. I cannot figure out how to change the css. I cannot find the file inthe file structure...and the "set css" button just refreshes the page so I don't know what that is for either. Please help. Where do I change this 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 (Jud Harris) Date: Wed Sep 26 16:51:01 2001 Subject: [ic] Admin UI & order routes Hey gang, Are there any plans for a Admin UI interface to custom Order Routes? If not, there should be, eh? Also, is the 'encrypt_program __ENCRYPTOR__' line is missing from main order route in the foundation demo? I think it is... intentional? -Jud From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Sep 26 17:37:01 2001 Subject: [ic] [table-editor] not updating mysql I copied ship_addresses.html to foo.html. I created a new table called 'foo', and modified my new file to use it. This new page gets it's key from a field I added in 'userdb'. This information works as expected. All is well. I log in as a customer and open add_foo.html. Good. I enter a new record, noticing that my key (which is visible) is correctly set. Great. I hit okay. Excellent! I view the mysql table--no change. I'm thoroughly stumped. I'm using the [table-editor] tag to accomplish this feat. In fact, I'm basing as close as possible to the code found in shipping_addresses. I copied it, after all. I've also compared this to the code in several of the UI tables. Some of the relevant information follows: <FORM METHOD=GET ACTION="http://localhost/cgi-bin/foundation/add_foo"> <INPUT TYPE=hidden NAME=mv_todo VALUE="set"> <INPUT TYPE=hidden NAME=mv_click VALUE="process_filter"> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="add_foo"> <INPUT TYPE=hidden NAME=mv_data_table VALUE="foo"> <INPUT TYPE=hidden NAME=mv_data_key VALUE="foo_id"> <INPUT TYPE=hidden NAME=ui_hide_key VALUE="0"> <INPUT TYPE=hidden NAME=mv_update_empty VALUE="1"> <INPUT TYPE=hidden NAME=mv_data_function VALUE="update"> <INPUT TYPE=hidden NAME="mv_action" VALUE="back"> <INPUT TYPE=hidden NAME="mv_form_profile" VALUE="ui_profile"> [table-editor href="@@MV_PAGE@@" no_top=1 hidden.mv_action=back ui_hide_key=0 table=foo table_width="95%" auto_secure=1 reload=1 all_errors=1 check.foo_id="required We need a foo_id...." check.field1="required We need a field1...." check.field2="required We need a field2...." get=1 ui_data_fields="foo_id field1 field2" key="[scratch foo_id]"] The db_acl for this customer includes only 'foo'. Nothing show up in the error logs. TIA! Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Wed Sep 26 17:46:00 2001 Subject: [ic] Please help! Attributes cleared Quoting Racke > #::logDebug(...) > > by > > ::logDebug(...) > > set the DEBUG variable in interchange.cfg, restart interchange > and you'll see in the debug log file which happens to your > attributes. > > Bye > Racke OK I was able to get the debug options set and did a session which I will attach. I don't have a working debug to compare this bad one too so I am only guessing. Why would it say Found NO click Save_database. Can anyone look through this and give me hint as to what my problem may be. Sorry for the long post. Thanks Lewey Start DEBUG at Wed Sep 26 15:56:39 2001 main:debug: session='' cookie='' chost='' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=index main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: accesses=1 admin= main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=scan/fi=products/st=db/co=yes/sf=category/se=Bausch & Lomb/va=banner_image=/va=banner_text= main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=bl0009 main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: accesses=1 admin= main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=nothing main:debug: todo=refresh prior to mv_click=munge_quantity main:debug: Looking for click munge_quantity main:debug: Found scratch click munge_quantity = | [calc] $Scratch->{did_order} = 1; @q = split /\0/, $CGI->{mv_order_quantity}; for (@q) { next unless length $_; $_ = "=$_"; } @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; # If we have parms, means an individual buy. If we don't # we want to strip empty items unless (@parms) { @i = split "\0", $CGI->{mv_order_item}; for(my $i = 0; $i < @i; $i++) { next if length($q[$i]); $i[$i] = ''; } @i = grep length($_), @i; @q = grep length($_), @q; $CGI_array->{mv_order_quantity} = \@q; $CGI->{mv_order_quantity} = join "\0", @q; $CGI_array->{mv_order_item} = \@i; $CGI->{mv_order_item} = join "\0", @i; return; } my $item = $parms[0]; $item =~ /(\d+)/ or return; my $idx = $1; $idx--; $CGI->{mv_order_item} = $CGI->{$item}; $CGI->{mv_order_quantity} = "$q[$idx]"; return; [/calc] [bounce href="[history-scan exclude=nothing]"] | main:debug: todo=refresh after mv_click main:debug: todo=refresh after mv_click main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: accesses=2 admin= main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=bl0009 main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=ord/checkout main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=process main:debug: todo= prior to mv_click= main:debug: todo= after mv_click main:debug: todo=refresh after mv_click main:debug: adding modifiers main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => 'Flat', 'diameter' => '14.2', 'quantity' => '1', 'power' => '+20', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier power now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => 'Flat', 'diameter' => '14.2', 'quantity' => '1', 'power' => '', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier bcurve now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '14.2', 'quantity' => '1', 'power' => '', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier diameter now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier color now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } main:debug: CGI value= main:debug: line 0 modifier numberinbox now main:debug: updating line 0 quantity: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } main:debug: after update, cart is: [ { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '', 'mv_ip' => 0, 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } ] main:debug: after toss, cart is: [ { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '', 'mv_ip' => 0, 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } ] main:debug: Looking for click Save_database main:debug: Found NO click Save_database From: interchange-users at interchange.redhat.com (Brendan Crosser-McGay) Date: Wed Sep 26 18:18:00 2001 Subject: [ic] Error when saving in Admin Interface Has anyone else experienced the problem of having an internal server error 500 when they use the Admin interface Save button, or when using other features of the Admin Interface, I seem to get this message in my error log, and I under this error looks pretty simple but I don't know where the setting is that is making it do this: /cgi-bin/2002/admin/page_edit search error: your search file a valid database reference, was 'backup' I imagine theres a default setting that needs to be changed somewhere, but I can't for the life of me find it.. If someone can help thanks! -Brendan From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Sep 26 18:40:00 2001 Subject: [ic] What Does it Take to Create Wizards On Wed, 26 Sep 2001, Zack Johnson wrote: ZJ>>Many thanks! Once I downloaded 'te' (which I could only on Google's cache: ZJ>>http://www.google.com/search?q=cache:vf5RIgpu40Q:www.akopia.com/~jon/te+Jon+ ZJ>>interchange+te+editor&hl=en), it was a piece of cake. I found Ed's thread te is hard to find???? This is slicker than snot on a brass doorknob! Here it is! Cut and paste into a file and make it executable! ------------------------- #!/usr/bin/perl -w =pod =head1 NAME te - table editor front-end for tab-delimited ASCII databases =head1 SYNOPSIS B<te> I<file1> [ I<file2> ... ] =head1 DESCRIPTION This program makes it easier to edit tab-delimited ASCII databases, such as are used with Red Hat Interchange. It converts tab-delimited ASCII files that have one record per line into temporary files with one field per line, each line beginning with the field name. It then sends each file to your favorite text editor. After you exit your editor, it checks to see if you changed anything in the file, and if so, it converts the data back to the tab-delimited format with one record per line, and replaces the original file. The first line of each input file must contain the field names, tab-delimited, that apply for that file. Editing is pretty straightforward when you see it in action. The rules are: Empty lines and comment lines (beginning with C<#>) are ignored. Any space left after the field name and colon (like C<fieldname:>) will be included as part of the field. Any tabs you put in the field data itself will be converted to spaces (as they would corrupt the table otherwise). A new record begins immediately after the previous one ends; no special record-separation marker is used. All fields must be represented for each record, even fields with no data. A record can be deleted by removing all its fields. A new record can be added by inserting a new block of all fields at a record boundary. If any errors are encountered, such as non-existent field names, fields out of order, or lines that don't follow the prescribed format, processing aborts immediately and the original file is left untouched. You can edit several files in succession by naming each on the command line. The editor will be called for each one independently. If you start editing many files and decide you want to stop, add a line C<#DONE> anywhere in the temporary file and save it. The current file will be processed and saved, but the rest will be skipped. As is customary with many Unix applications, you can set the environment variable EDITOR to point to your favorite text editor. If EDITOR is not set, my favorite editor, B<vi>(1) is used. =head1 LIMITATIONS There is currently no way to add or delete entire columns from the file. I recommend using B<cut>(1) for this. =head1 AUTHOR Jon Jensen <jon@redhat.com> =head1 COPYRIGHT Copyright (C) 2001 Red Hat, Inc., http://www.redhat.com/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License at http://www.fsf.org/copyleft/gpl.html for more details. =head1 CHANGELOG 2001-04-26. Initial release. 2001-05-04. Make temporary file in working directory instead of using POSIX::tmpnam. Keep ownership and permissions of original file. Fixed bug that caused fields with number "0" to be output as empty strings. 2001-05-06. Fix problem with how temporary file names were generated. =cut use strict; use Digest::MD5 'md5'; use File::Basename 'fileparse'; die "Usage: $0 tablefile1 [tablefile2 ...]\n" unless @ARGV; my $EDITOR = $ENV{EDITOR} || 'vi'; # I tried keeping the whole file in memory instead of first writing to # disk, but doing it this way turned out to be about 5 times faster and # used 1/10th the memory on large files. (My benchmark was a 12 MB # products.txt database for Interchange.) for my $filename (@ARGV) { my (@fieldnames, $fieldcount, @fields); my ($name, $path, $tmpfile, $newfile, $digest1, $digest2); unless (-e $filename) { warn "Skipping '$filename': file does not exist\n"; next; } unless (-f $filename) { warn "Skipping '$filename': not a regular file\n"; next; } unless (open IN, "<$filename") { warn "Error 'opening' $filename for reading: $!\n"; next; } chomp ($_ = <IN>); die "Error in '$filename' header: null field name found\n" if /\t\t/; $fieldcount = tr/\t/\t/ + 1; @fieldnames = split /\t/, $_, $fieldcount; ($name, $path) = fileparse($filename); $tmpfile = "$path.$name.tmp.$$"; open OUT, ">$tmpfile" or die "Error opening '$tmpfile' for writing: $!\n"; print STDERR "Prettifying $filename\n"; print OUT <<EOF; # # This is a temporary file, automatically generated from the database file: # # $filename # # If you change anything in it, it will be converted back into the original # format and will replace the original file. # EOF while (<IN>) { chomp; @fields = split /\t/, $_, $fieldcount; for (my $i = 0; $i < @fieldnames; $i++) { print OUT $fieldnames[$i], ":", defined $fields[$i] ? $fields[$i] : '', "\n"; } print OUT "#\n"; } if (@fields) { print OUT <<EOF; # You can uncomment the following lines to use as a template for inserting # a new row into the table. Copy as many times as needed to add many rows. # EOF } else { print OUT <<EOF; # Your file was empty -- it had no data rows, only field definitions. # You can copy the following empty row template as many times as needed # to add new rows to the table. # EOF } print OUT join("\n", map { (@fields ? '#' : '') . $_ . ":" } @fieldnames); print OUT "\n#\n"; close IN; print OUT <<EOF; # end of file # EOF close OUT or die "Error closing '$tmpfile' after writing: $!\n"; { local $/; open IN, "<$tmpfile" or die "Error opening '$tmpfile' for reading: $!\n"; my $file = <IN>; close IN; $digest1 = md5($file); system ($EDITOR, $tmpfile) == 0 or die "Error calling editor '$EDITOR' with '$tmpfile': $!\n"; open IN, "<$tmpfile" or die "Error opening $tmpfile for reading: $!\n"; $file = <IN>; close IN; $digest2 = md5($file); } if ($digest1 eq $digest2) { print STDERR "No changes made; '$filename' untouched\n"; unlink $tmpfile; next; } open IN, "<$tmpfile" or die "Error opening '$tmpfile' for reading: $!\n"; print STDERR "Importing changes back into '$filename'\n"; $newfile = "$path.$name.new.$$"; open OUT, ">$newfile" or die "Error opening '$newfile' for writing: $!\n"; print OUT join("\t", @fieldnames), "\n"; my $tabcounter = 0; my $fieldpos = 0; my $done; @fields = (); while (<IN>) { $done = 1 if /^#\s*DONE/; next if /^\s*#/ || /^\s*$/; /^([^:]+):(.*)$/ or die "Error parsing '$tmpfile': line format unknown:\n$_"; $1 eq $fieldnames[$fieldpos] or die "Error parsing '$tmpfile': expected field name '$fieldnames[$fieldpos]', found '$1'\n"; $_ = $2; $tabcounter += s/\t/ /g; push @fields, $_; if (++$fieldpos >= $fieldcount) { print OUT join("\t", @fields), "\n"; @fields = (); $fieldpos = 0; } } print STDERR "$tabcounter tab character", $tabcounter == 1 ? ' was' : 's were', " found in the data! Each tab was replaced with a space.\n" if $tabcounter; close OUT or die "Error closing '$filename.new' after writing: $!\n"; close IN or die "Error closing '$tmpfile' after reading: $!\n"; my ($mode, $uid, $gid) = (stat($filename))[2,4,5]; chmod $mode, $newfile; chown $uid, $gid, $newfile if $> == 0; rename $newfile, $filename or die "Error renaming '$newfile' to '$filename': $!\n"; unlink $tmpfile; if ($done) { print STDERR "Found 'DONE' command; skipping rest of files.\n"; last; } } ------------------------------------- -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, September 26, 2001 at 18:40 PM: Birds are trapped by their feet, people by their tongues. ---------------------------------------------------------------- This Linux System has been up 49 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Wed Sep 26 19:33:00 2001 Subject: [ic] Combo boxes in Admin UI Is there a way to have IC retain the multiple selections made in a combo box? I have 8 options or so, in a combo box (which allows me to control/option click), but when I select any group of items and save changes, only the topmost item is saved. Thats a little obfuscated. Basically I would like to be able to store the values of those selections in the database. The values are defined as 2=2 day, 3=3 day, 4=4 day, 5=Small, 6=Medium, 7=Large, 8=Vinny Style Random Modifier If I choose 2 day, 3 day and 4 day, I would like to have "2 3 4" stored in the database - instead, only "2" is stored. Any suggestions? thanks, .cfg From: interchange-users at interchange.redhat.com (rainkid) Date: Wed Sep 26 23:10:01 2001 Subject: [ic] Shipping Method List Hello, I am trying to figure out why the shipping method field in the checkout page (process.html) is always empty. I have set a default shipping method, but it does not appear in the shipping method field, nor does other shipping options. I notice this on a live 4.6.5 site, and a test site i have running 4.8.1 and the IC demo site on Redhat. This causes other problems too - when the country is change from US to anything else (say Canada for example), the default shipping method also changed (to UPS canada in this example) and is not change back to the US default when the country is changed back to US. This results in an Invalid City/State/Zip Combination error. Any ideas? Thanks all. spam@neophaze.com (yes this email works) From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Thu Sep 27 00:54:01 2001 Subject: [ic] Segmentation fault - core dumped Well this is how it looks now.. It has to be some kind of perl thing but I have no clue.... Better than it was... but... 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...Using MySQL, DSN=dbi:mysql:test_foundation...done. Segmentation fault - core dumped From: interchange-users at interchange.redhat.com (Leon Harris) Date: Thu Sep 27 01:44:01 2001 Subject: [ic] 4.8.2 core dump try running strace ./bin/interchange -r >stracelog 2>&1 look in the end of stracelog to see where it died - you should be able to figure if you have any bad modules linked against absent libraries etc from this. If possible, maybe you can follow the advice on perl upgrade. If not ( some (few) apps eg, -hawk, spit,- WebCT are anal about only working with older versions of perl). Cheers, leon kbinx@kbinx.com wrote: > I'm running freebsd 4.2, perl 5.005 (& all required modules). I'm trying to install > IC 4.8.2 > IC 4.8.1 installed and ran without error (generally) > > interchange.cfg has two catalogs defined, foundation (no rdbms) and kbinxdemo > (mysql) > > the following occurs with both catalogs in interchange.cfg > > kbinx% ./bin/interchange -r > > ??? any ideas > Thanks - Kevin Scott > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Thu Sep 27 02:42:01 2001 Subject: [ic] 4.8.2 core dump This is what it gives me... I dunno... Best, Eddie borealis# strace ./bin/interchange -r >stracelog 2>&1 Ambiguous output redirect. ----- Original Message ----- From: "Leon Harris" <leon@quoll.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, September 26, 2001 10:44 PM Subject: Re: [ic] 4.8.2 core dump > try running > strace ./bin/interchange -r >stracelog 2>&1 > > look in the end of stracelog to see where it died - you should be able to figure if > you have any bad modules linked against absent libraries etc from this. > > > If possible, maybe you can follow the advice on perl upgrade. If not ( some (few) > apps eg, -hawk, spit,- WebCT are anal about only working with older versions of > perl). > > > Cheers, > leon > > > > > kbinx@kbinx.com wrote: > > > I'm running freebsd 4.2, perl 5.005 (& all required modules). I'm trying to install > > IC 4.8.2 > > IC 4.8.1 installed and ran without error (generally) > > > > interchange.cfg has two catalogs defined, foundation (no rdbms) and kbinxdemo > > (mysql) > > > > the following occurs with both catalogs in interchange.cfg > > > > kbinx% ./bin/interchange -r > > > > ??? any ideas > > Thanks - Kevin Scott > > _______________________________________________ > > 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 (Leon Harris) Date: Thu Sep 27 03:29:01 2001 Subject: [ic] 4.8.2 core dump Sorry, I assumed you were using /bin/bash as your shell I think in *csh family of shells it is strace ./bin/interchange -r >& stracelog or >&! if noclobber is set Cheers, leon Edward Rubottom wrote: > This is what it gives me... I dunno... > > Best, Eddie > > borealis# strace ./bin/interchange -r >stracelog 2>&1 > Ambiguous output redirect. > > ----- Original Message ----- > From: "Leon Harris" <leon@quoll.com> > To: <interchange-users@interchange.redhat.com> > Sent: Wednesday, September 26, 2001 10:44 PM > Subject: Re: [ic] 4.8.2 core dump > > > try running > > strace ./bin/interchange -r >stracelog 2>&1 > > > > look in the end of stracelog to see where it died - you should be able to > figure if > > you have any bad modules linked against absent libraries etc from this. > > > > > > If possible, maybe you can follow the advice on perl upgrade. If not ( > some (few) > > apps eg, -hawk, spit,- WebCT are anal about only working with older > versions of > > perl). > > > > > > Cheers, > > leon > > > > > > > > > > kbinx@kbinx.com wrote: > > > > > I'm running freebsd 4.2, perl 5.005 (& all required modules). I'm trying > to install > > > IC 4.8.2 > > > IC 4.8.1 installed and ran without error (generally) > > > > > > interchange.cfg has two catalogs defined, foundation (no rdbms) and > kbinxdemo > > > (mysql) > > > > > > the following occurs with both catalogs in interchange.cfg > > > > > > kbinx% ./bin/interchange -r > > > > > > ??? any ideas > > > Thanks - Kevin Scott > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Sep 27 03:41:01 2001 Subject: [ic] 4.8.2 core dump At 11:15 AM 9/25/01, you wrote: >I'm running freebsd 4.2, perl 5.005 (& all required modules). I'm trying >to install >IC 4.8.2 >IC 4.8.1 installed and ran without error (generally) > >interchange.cfg has two catalogs defined, foundation (no rdbms) and kbinxdemo >(mysql) I have a slightly older freebsd box laying around, tried the install of 4.8.2 and had the same problem with seg fault. I carefully tried changing 1 setting at a time, when I changed the traffic setting from low to high and the seg fault disappeared ! Don't know what this means, but may help you get going for now. Kyle From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Thu Sep 27 03:49:01 2001 Subject: [ic] Adding SKU to Itemeditor Hi List, one of our cutomer is changin his product-code and want's a entry in the itemeditor. But adding sku to the `FIELDS TO EDIT' has no effect (no bad idea course changeing the primary key is no good idea anyway, but i need to do). knows anybody a workaround? mit freundliche Grüßen -Tobias Henle _ _ _ __ __ ____ __ ____ __ _| |_| |_ (_)___ ___ ___ _ _ __ ___ _ __ \ V V /\ V V /\ V V / _| ' \| / -_|_-</ -_) ' \ _/ _/ _ \ ' \ \_/\_/ \_/\_/ \_/\_(_)__|_||_|_\___/__/\___|_||_(_)__\___/_|_|_| -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 27 03:56:01 2001 Subject: [ic] 4.8.2 core dump Hi Changing from low to high doesn't work for us. FreeBSD 4.2 Perl 5.6.1 IC 4.8.2 dbm pgsql - seg fault in perl Did you change anything else ? What versions FreeBSD & perl are you running ? Cheers Steve > -----Original Message----- > From: Kyle Cook [mailto:kyle@invisio.com] > Sent: Thursday, September 27, 2001 9:00 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] 4.8.2 core dump > > > At 11:15 AM 9/25/01, you wrote: > >I'm running freebsd 4.2, perl 5.005 (& all required > modules). I'm trying > >to install > >IC 4.8.2 > >IC 4.8.1 installed and ran without error (generally) > > > >interchange.cfg has two catalogs defined, foundation (no > rdbms) and kbinxdemo > >(mysql) > > I have a slightly older freebsd box laying around, tried the > install of > 4.8.2 and had > the same problem with seg fault. > > I carefully tried changing 1 setting at a time, when I changed > the traffic setting from low to high and the seg fault disappeared ! > > Don't know what this means, but may help you get going for now. > > Kyle > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Sep 27 04:24:00 2001 Subject: [ic] 4.8.2 core dump At 12:55 AM 9/27/01, you wrote: >Hi > >Changing from low to high doesn't work for us. >FreeBSD 4.2 Perl 5.6.1 IC 4.8.2 dbm pgsql - seg fault in perl >Did you change anything else ? >What versions FreeBSD & perl are you running ? > > >Cheers > > >Steve Actually it is a 4.2, but perl is 5.005_03 and using MySQL I just found that I did get a seg fault with high traffic. I de-activated the ui admin (in interchange.cfg) and now finally have it running (without the ui) Hmmm, strange that in catalog.cfg file it "requires" a usertag of "table_editor" but that usertag does not exist. Had to remove that from require also to finally get the IC server to start. I don't plan on using the ui on this dev box, so probably won't be able to add much more to this topic. Kyle From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 27 04:49:01 2001 Subject: [ic] 4.8.2 core dump Yup That works for us Thanks Steve > -----Original Message----- > From: Kyle Cook [mailto:kyle@invisio.com] > Sent: Thursday, September 27, 2001 9:43 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] 4.8.2 core dump > > > At 12:55 AM 9/27/01, you wrote: > >Hi > > > >Changing from low to high doesn't work for us. > >FreeBSD 4.2 Perl 5.6.1 IC 4.8.2 dbm pgsql - seg fault in perl > >Did you change anything else ? > >What versions FreeBSD & perl are you running ? > > > > > >Cheers > > > > > >Steve > > Actually it is a 4.2, but perl is 5.005_03 and using MySQL > > I just found that I did get a seg fault with high traffic. > > I de-activated the ui admin (in interchange.cfg) and now finally > have it running (without the ui) > > Hmmm, strange that in catalog.cfg file it "requires" a usertag > of "table_editor" but that usertag does not exist. Had to remove > that from require also to finally get the IC server to start. > > I don't plan on using the ui on this dev box, so probably won't > be able to add much more to this topic. > > 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: Thu Sep 27 06:11:01 2001 Subject: [ic] TIPS: Adding a new mysql table to IC Doug Alcorn <lathi@seapine.com> writes: > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > 6. Restart IC. Your table should now appear under Administration > > > Tables. > > Haven't we forgotten a step here. Maybe IC 4.8 has changed in this > respect (I still haven't upgraded yet). But I though you had to > create <catroot>/products/foo.txt before IC would pick up the new > table. Most specifically, I thought you needed all the column headers > in the foo.txt file: > > $ cat > <catroot>/products/foo.txt > id<tab>name<tab>atomic_number > <ctrl-d> > > I thought it was _this_ text file and not the one over in > <catroot>/dbconf/mysql/foo.txt that IC used to create tables from. I > thought just the column definitions came from the dbconf file. I don't think so. Even with 4.6 not. Usually I add a table within mysql, than an entry into catalog.cfg, reconfig the catalog and anything is in place. 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 (Lewey Taylor) Date: Thu Sep 27 07:08:01 2001 Subject: [ic] Please help! Attributes cleared I will try one last time. If someone does not have any clues why all my modifiers get tossed, I guess I'll have to pay someone to help me fix it. Don't know what else to do and I gotta get this site up. I did even try a new catalog with mysql but that didn't help either. I will post my debug again and again I apologize for the long post :) As always thanks, Start DEBUG at Wed Sep 26 15:56:39 2001 main:debug: session='' cookie='' chost='' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=index main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: accesses=1 admin= main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=scan/fi=products/st=db/co=yes/sf=category/se=Bausch & Lomb/va=banner_image=/va=banner_text= main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=bl0009 main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: accesses=1 admin= main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=nothing main:debug: todo=refresh prior to mv_click=munge_quantity main:debug: Looking for click munge_quantity main:debug: Found scratch click munge_quantity = | [calc] $Scratch->{did_order} = 1; @q = split /\0/, $CGI->{mv_order_quantity}; for (@q) { next unless length $_; $_ = "=$_"; } @parms = grep /^mv_oi\d+/ && $CGI->{$_}, keys %{$CGI}; # If we have parms, means an individual buy. If we don't # we want to strip empty items unless (@parms) { @i = split "\0", $CGI->{mv_order_item}; for(my $i = 0; $i < @i; $i++) { next if length($q[$i]); $i[$i] = ''; } @i = grep length($_), @i; @q = grep length($_), @q; $CGI_array->{mv_order_quantity} = \@q; $CGI->{mv_order_quantity} = join "\0", @q; $CGI_array->{mv_order_item} = \@i; $CGI->{mv_order_item} = join "\0", @i; return; } my $item = $parms[0]; $item =~ /(\d+)/ or return; my $idx = $1; $idx--; $CGI->{mv_order_item} = $CGI->{$item}; $CGI->{mv_order_quantity} = "$q[$idx]"; return; [/calc] [bounce href="[history-scan exclude=nothing]"] | main:debug: todo=refresh after mv_click main:debug: todo=refresh after mv_click main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: accesses=2 admin= main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=bl0009 main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=ord/checkout main:debug: session='auzWhmhC' cookie='MV_SESSION_ID=auzWhmhC:63.64.71.30' chost='63.64.71.30' main:debug: session name='auzWhmhC:63.64.71.30' main:debug: arg is main:debug: path=process main:debug: todo= prior to mv_click= main:debug: todo= after mv_click main:debug: todo=refresh after mv_click main:debug: adding modifiers main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => 'Flat', 'diameter' => '14.2', 'quantity' => '1', 'power' => '+20', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier power now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => 'Flat', 'diameter' => '14.2', 'quantity' => '1', 'power' => '', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier bcurve now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '14.2', 'quantity' => '1', 'power' => '', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier diameter now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => 'Clear' } main:debug: CGI value= main:debug: line 0 modifier color now main:debug: updating line 0 modifiers: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '6pack', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } main:debug: CGI value= main:debug: line 0 modifier numberinbox now main:debug: updating line 0 quantity: { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '', 'mv_ip' => '0', 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } main:debug: after update, cart is: [ { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '', 'mv_ip' => 0, 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } ] main:debug: after toss, cart is: [ { 'price_group' => '', 'code' => 'bl0009', 'gift_cert' => '', 'numberinbox' => '', 'mv_ip' => 0, 'mv_ib' => 'products', 'bcurve' => '', 'diameter' => '', 'quantity' => '1', 'power' => '', 'color' => '' } ] main:debug: Looking for click Save_database main:debug: Found NO click Save_database From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Sep 27 08:20:01 2001 Subject: [ic] Adding SKU to Itemeditor On Wed, 26 Sep 2001, Tobias Henle wrote: > Hi List, > > one of our cutomer is changin his product-code and want's a entry in the itemeditor. But > adding sku to the `FIELDS TO EDIT' has no effect (no bad idea course changeing the primary > key is no good idea anyway, but i need to do). > knows anybody a workaround? Yup. Get a list of old sku : new sku's, and change them all in the sql database (if you are running it). Otherwise, use search/replace in your text files. There are more locations change in besides the products database. grep -c sku /catalogdir/catalog/products/* | grep -v :0 will help ;) .cfg From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Sep 27 08:43:00 2001 Subject: [ic] Shipping Method List On Wed, 26 Sep 2001, rainkid wrote: r>>I am trying to figure out why the shipping method field in the checkout page r>>(process.html) is always empty. I have set a default shipping method, but it r>>does not appear in the shipping method field, nor does other shipping r>>options. You need to have a line like this in catalog.cfg: ValuesDefault mv_shipmode fdxg (For me, that's FedEx Ground) In products/country.txt, you need a line like this one: US US fdxg uspspm fdxa fdxb United States (4 fields, tabs between each field, spaces between shipping methods.) The order in which the shipping methods appear here determines the order that they will appear in in the drop-down box. The above results in my drop-down boxes reading: Ground Priority Mail FedEx Next Day FedEx 2nd Day Or, perhaps I don't understand your question? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 27, 2001 at 08:35 AM: Computer Lie #1: You'll never use all that disk space. ---------------------------------------------------------------- This Linux System has been up 62 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Thu Sep 27 09:09:00 2001 Subject: [ic] TIPS: Adding a new mysql table to IC racke@linuxia.de (Stefan Hornburg (Racke)) writes: > Doug Alcorn <lathi@seapine.com> writes: > > > "Zack Johnson" <zack@office.standardprinting.net> writes: > > > > > 6. Restart IC. Your table should now appear under Administration > > > > Tables. > > > > Haven't we forgotten a step here. Maybe IC 4.8 has changed in this > > respect (I still haven't upgraded yet). But I though you had to > > create <catroot>/products/foo.txt before IC would pick up the new > > table. Most specifically, I thought you needed all the column headers > > in the foo.txt file: > > > > $ cat > <catroot>/products/foo.txt > > id<tab>name<tab>atomic_number > > <ctrl-d> > > > > I thought it was _this_ text file and not the one over in > > <catroot>/dbconf/mysql/foo.txt that IC used to create tables from. I > > thought just the column definitions came from the dbconf file. > > I don't think so. Even with 4.6 not. Usually I add a table within > mysql, than an entry into catalog.cfg, reconfig the catalog and > anything is in place. I know I've fought this before. Like if you add a column in mysql and the catalog.cfg (or dbconf/mysql/*.sql) then restart, IC 4.6 won't see the new column untill you add it to the products/table.txt file. -- (__) 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 (interchange-users at interchange.redhat.com) Date: Thu Sep 27 09:21:01 2001 Subject: [ic] 4.8.2 core dump Quoting Kyle Cook (kyle@invisio.com): > At 11:15 AM 9/25/01, you wrote: > >I'm running freebsd 4.2, perl 5.005 (& all required modules). I'm trying > >to install > >IC 4.8.2 > >IC 4.8.1 installed and ran without error (generally) > > > >interchange.cfg has two catalogs defined, foundation (no rdbms) and kbinxdemo > >(mysql) > > I have a slightly older freebsd box laying around, tried the install of > 4.8.2 and had > the same problem with seg fault. > > I carefully tried changing 1 setting at a time, when I changed > the traffic setting from low to high and the seg fault disappeared ! I think I know what this means -- the DB_File module is core dumping. I bet you could go back to low traffic mode if you removed: Pragma dynamic_variables from templates/foundation/theme.cfg. I don't have any FreeBSD boxes around right now (I hate setting them up) and can't test, but I bet that is it. I will get one going pretty soon and test before we release next version. I think I am going to have to put some hints in for BSD again, sigh.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Thu Sep 27 09:25:01 2001 Subject: [ic] TIPS: Adding a new mysql table to IC > 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? Zack From: interchange-users at interchange.redhat.com (Kevin Manderson) Date: Thu Sep 27 09:43:01 2001 Subject: [ic] Hidden Admin Tables Having a significant problem with IC. Started with 4.8.2 and have been moving back to get round it, 4.7.2 looking at 4.6.5 at present. Problem with 4.8.2 and 4.7.2 in RH7.1. Initially installed and had it running. Able to administer and was looking good. Loaded via spreadsheet interface, 15000+ products. So far so good. Had to head out for an hour or so came back to upload the products and found a neat little error - Hidden Admin Tables. So now I can't acces the tables to upload any more. I tried removing 4.8.2, installing 4.7.2 and it has done the same thing. Just finished downloading 4.6.5 but would rather not due to tax problems (am in Australia with a national GST not a state based tax). Query - what causes the Hidden Admin Tables and how to revover so I can work and get this thing finished. I would really appreciate anyoine who knows the answer to send a direct email as well as to the list, as a resolution for me is quite urgent. I had a heap of problems installing the spreadsheet perl modules early on and eventually located the IO-stringy to get past that one, really should be in the documentation. Hoping for an answer. kevin --     Kevin Manderson MBA, ExecDipEnt          Strategic IT and E-Commerce  Specialising in IT and on-line strategies, database systems and consulting          http://gocdo.net.au or http://wso.nu   E-mail mailto:kevin@wso.nu         Main office:       PO Box 195, Launceston TAS 7250 Australia.               Telephone +61 0407 524 513. Ph/Fax +61 3 6331 9007 Sydney marketing: 8 Bright Street, Marrickville NSW 2204. Phone: +61 2 9564 6452. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 27 09:48:01 2001 Subject: [ic] 4.8.2 core dump Hi Hope this helps FreeBSD 4.2 IC 4.8.2 Perl 5.6.1 TRAFFIC low UI 1 core dump TRAFFIC high UI 1 core Dump TRAFFIC high #UI 1 OK TRAFFIC low #UI 1 Complains about a missing user tag but runs TRAFFIC low UI 1 #pragma in theme core dump ./restart killing... Low traffic Calling UI UI is loaded Interchange V4.8.2 ..........core dumps Steve > -----Original Message----- > From: mheins@redhat.com [mailto:mheins@redhat.com] > Sent: Thursday, September 27, 2001 3:21 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] 4.8.2 core dump > > > Quoting Kyle Cook (kyle@invisio.com): > > At 11:15 AM 9/25/01, you wrote: > > >I'm running freebsd 4.2, perl 5.005 (& all required > modules). I'm trying > > >to install > > >IC 4.8.2 > > >IC 4.8.1 installed and ran without error (generally) > > > > > >interchange.cfg has two catalogs defined, foundation (no > rdbms) and kbinxdemo > > >(mysql) > > > > I have a slightly older freebsd box laying around, tried > the install of > > 4.8.2 and had > > the same problem with seg fault. > > > > I carefully tried changing 1 setting at a time, when I changed > > the traffic setting from low to high and the seg fault disappeared ! > > I think I know what this means -- the DB_File module is core > dumping. I bet > you could go back to low traffic mode if you removed: > > Pragma dynamic_variables > > from templates/foundation/theme.cfg. > > I don't have any FreeBSD boxes around right now (I hate setting > them up) and can't test, but I bet that is it. I will get one going > pretty soon and test before we release next version. I think I am > going to have to put some hints in for BSD again, sigh.... > > -- > 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 > _______________________________________________ > 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 Sep 27 10:19:01 2001 Subject: [ic] 4.8.2 core dump On Thu, Sep 27, 2001 at 03:28:58PM +0800, Leon Harris wrote: > Sorry, I assumed you were using /bin/bash as your shell > > I think in *csh family of shells it is > strace ./bin/interchange -r >& stracelog > > or >&! if noclobber is set > Or just: strace ./bin/interchange -r -o stracelog -- Red Hat Professional Consulting Jason Kohles (703)786-8036 (cellular) jkohles@redhat.com From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Sep 27 10:22:00 2001 Subject: Tips and Tricks -- Modifying Columns (was Re: [ic] TIPS: Adding a 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 From: interchange-users at interchange.redhat.com (Laura Donnelly) Date: Thu Sep 27 10:32:00 2001 Subject: [ic] template code deletion I made a hex code change in my theme.cfg file ...when I clicked on apply changes in my admin area...I went to check and all of my template code was deleted. My site is gone. I was almost complete and just needed to change some css colors. Any ideas? I'm about to give up on Interchange. From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Thu Sep 27 10:38:01 2001 Subject: Tips and Tricks -- Modifying Columns (was Re: [ic] TIPS: Adding a new mysql table to IC) WOW! Thanks! > 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. . . From: interchange-users at interchange.redhat.com (Fred Pope) Date: Thu Sep 27 10:41:00 2001 Subject: [ic] template code deletion Don't give up on Interchange! It's a steep learning curve but an excellent application. Create another catalog if you do not have a test catalog already, and then copy the theme.cfg file from that catalog to the one that you just hosed up. I think this should work but only monkey curiosity will tell. I personally prefer just to edit those files using vi rather than using the admin. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Laura Donnelly Sent: Thursday, September 27, 2001 8:32 AM To: 'interchange-users@interchange.redhat.com' Subject: [ic] template code deletion I made a hex code change in my theme.cfg file ...when I clicked on apply changes in my admin area...I went to check and all of my template code was deleted. My site is gone. I was almost complete and just needed to change some css colors. Any ideas? I'm about to give up on Interchange. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jennifer Mahlmann) Date: Thu Sep 27 10:44:00 2001 Subject: [ic] Upcoming Interchange Training - US and Europe! Red Hat is once again offering Interchange training courses for those of you who would like to learn more about Interchange, faster, from our top Interchange developers: IC123: Interchange Developer Essentials Course (5 days) Dates and locations: 08-OCT-01 to 12-OCT-01 Durham, NC (Red Hat headquarters) 05-NOV-01 to 09-NOV-01 Guildford, UK (Red Hat's UK training center) 03-DEC-01 to 07-DEC-01 San Francisco, CA For a course description and pricing or to enroll in IC123: in the US - http://www.redhat.com/training/ebusiness/courses/ic123.html in Europe - http://www.europe.redhat.com/training/ebusiness/ic123_desc.php3 IC044: Interchange Fundamentals (1 day) 08-OCT-01 Durham, NC (Red Hat headquarters) 05-NOV-01 Guildford, UK (Red Hat's UK training center) 03-DEC-01 San Francisco, CA For a course description and pricing or to enroll in IC044: in the US - http://www.redhat.com/training/ebusiness/courses/ic044.html in Europe - http://www.europe.redhat.com/training/ebusiness/ic044_desc.php3 User list members may also contact me directly for more information. Jennifer Mahlmann Manager, Learning Services Red Hat, Inc. 11480 Sunset Hills Road, Suite 200E Reston, VA 20170 mahlmann@redhat.com www.redhat.com/training/ From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Thu Sep 27 10:47:00 2001 Subject: [ic] 4.8.2 core dump Well, commenting out the UI got the server started.. it still has errors but.. This is the farthest I've gotten.. Best, Eddie Killing Interchange server 17640 with TERM. Low traffic settings. Interchange V4.8.2 Configuring catalog foundation...Required UserTag table_editor not present. Aborting catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button foundation config error: Required UserTag table_editor not present. Aborting catalog. In line 11 of the configuration file 'catalog.cfg': Require UserTag email email_raw var loc table_editor button foundation: error in configuration. Skipping. foundation: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 17745) ----- Original Message ----- From: "Kyle Cook" <kyle@invisio.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 27, 2001 12:42 AM Subject: RE: [ic] 4.8.2 core dump > At 12:55 AM 9/27/01, you wrote: > >Hi > > > >Changing from low to high doesn't work for us. > >FreeBSD 4.2 Perl 5.6.1 IC 4.8.2 dbm pgsql - seg fault in perl > >Did you change anything else ? > >What versions FreeBSD & perl are you running ? > > > > > >Cheers > > > > > >Steve > > Actually it is a 4.2, but perl is 5.005_03 and using MySQL > > I just found that I did get a seg fault with high traffic. > > I de-activated the ui admin (in interchange.cfg) and now finally > have it running (without the ui) > > Hmmm, strange that in catalog.cfg file it "requires" a usertag > of "table_editor" but that usertag does not exist. Had to remove > that from require also to finally get the IC server to start. > > I don't plan on using the ui on this dev box, so probably won't > be able to add much more to this topic. > > 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 (Nathan D. Olmscheid) Date: Thu Sep 27 11:06:01 2001 Subject: ATTN: Ed Re: [ic] 4.8.2 core dump Ed, I don't want to be a nit pick, but can you please change your date on your computer to the correct month! You emails never come up at the bottom, they are hidden with old messages from July. Your date reads 7-27-01 right now instead of 9-27-01! Thanks!! :-) Nathan Edward Rubottom wrote: > Well, commenting out the UI got the server started.. > it still has errors but.. This is the farthest I've gotten.. > > Best, Eddie > > Killing Interchange server 17640 with TERM. > Low traffic settings. > Interchange V4.8.2 > Configuring catalog foundation...Required UserTag table_editor not present. > Aborting catalog. > In line 11 of the configuration file 'catalog.cfg': > Require UserTag email email_raw var loc table_editor button > > foundation config error: Required UserTag table_editor not present. Aborting > catalog. > In line 11 of the configuration file 'catalog.cfg': > Require UserTag email email_raw var loc table_editor button > > foundation: error in configuration. Skipping. > foundation: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 17745) > > ----- Original Message ----- > From: "Kyle Cook" <kyle@invisio.com> > To: <interchange-users@interchange.redhat.com> > Sent: Thursday, September 27, 2001 12:42 AM > Subject: RE: [ic] 4.8.2 core dump > > > At 12:55 AM 9/27/01, you wrote: > > >Hi > > > > > >Changing from low to high doesn't work for us. > > >FreeBSD 4.2 Perl 5.6.1 IC 4.8.2 dbm pgsql - seg fault in perl > > >Did you change anything else ? > > >What versions FreeBSD & perl are you running ? > > > > > > > > >Cheers > > > > > > > > >Steve > > > > Actually it is a 4.2, but perl is 5.005_03 and using MySQL > > > > I just found that I did get a seg fault with high traffic. > > > > I de-activated the ui admin (in interchange.cfg) and now finally > > have it running (without the ui) > > > > Hmmm, strange that in catalog.cfg file it "requires" a usertag > > of "table_editor" but that usertag does not exist. Had to remove > > that from require also to finally get the IC server to start. > > > > I don't plan on using the ui on this dev box, so probably won't > > be able to add much more to this topic. > > > > Kyle > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Thu Sep 27 11:22:00 2001 Subject: [ic] What Does it Take to Create Wizards On Wed, 26 Sep 2001, Jim Balcom wrote: > te is hard to find???? > > This is slicker than snot on a brass doorknob! Wow, with marketing like this I can position this as the next killer app! Just wait till we get a Palm OS version going. :) > Here it is! Cut and paste into a file and make it executable! That version was actually a little bit out of date -- the one in the 'eg' directory of Interchange 4.8 and later is current. Jon From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Thu Sep 27 12:00:01 2001 Subject: Ed Re: [ic] 4.8.2 core dump Sorry, It's fixed.... ----- Original Message ----- From: "Nathan D. Olmscheid" <nathan@namisolutions.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 27, 2001 8:02 AM Subject: ATTN: Ed Re: [ic] 4.8.2 core dump > Ed, > > I don't want to be a nit pick, but can you please change your date on your > computer to the correct month! You emails never come up at the bottom, they are > hidden with old messages from July. > > Your date reads 7-27-01 right now instead of 9-27-01! > > Thanks!! > > :-) > Nathan > > Edward Rubottom wrote: > > > Well, commenting out the UI got the server started.. > > it still has errors but.. This is the farthest I've gotten.. > > > > Best, Eddie > > > > Killing Interchange server 17640 with TERM. > > Low traffic settings. > > Interchange V4.8.2 > > Configuring catalog foundation...Required UserTag table_editor not present. > > Aborting catalog. > > In line 11 of the configuration file 'catalog.cfg': > > Require UserTag email email_raw var loc table_editor button > > > > foundation config error: Required UserTag table_editor not present. Aborting > > catalog. > > In line 11 of the configuration file 'catalog.cfg': > > Require UserTag email email_raw var loc table_editor button > > > > foundation: error in configuration. Skipping. > > foundation: config error. Skipping. > > Interchange server started in INET and UNIX mode(s) (process id 17745) > > > > ----- Original Message ----- > > From: "Kyle Cook" <kyle@invisio.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Thursday, September 27, 2001 12:42 AM > > Subject: RE: [ic] 4.8.2 core dump > > > > > At 12:55 AM 9/27/01, you wrote: > > > >Hi > > > > > > > >Changing from low to high doesn't work for us. > > > >FreeBSD 4.2 Perl 5.6.1 IC 4.8.2 dbm pgsql - seg fault in perl > > > >Did you change anything else ? > > > >What versions FreeBSD & perl are you running ? > > > > > > > > > > > >Cheers > > > > > > > > > > > >Steve > > > > > > Actually it is a 4.2, but perl is 5.005_03 and using MySQL > > > > > > I just found that I did get a seg fault with high traffic. > > > > > > I de-activated the ui admin (in interchange.cfg) and now finally > > > have it running (without the ui) > > > > > > Hmmm, strange that in catalog.cfg file it "requires" a usertag > > > of "table_editor" but that usertag does not exist. Had to remove > > > that from require also to finally get the IC server to start. > > > > > > I don't plan on using the ui on this dev box, so probably won't > > > be able to add much more to this topic. > > > > > > Kyle > > > > > > _______________________________________________ > > > 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 (Laura R Donnelly) Date: Thu Sep 27 12:14:00 2001 Subject: [ic] template code deletion Thanks... I decided to have my ISP reset my catalog (I did not install this...I was lucky to have an ISP that had it pre-installed for my use). I am starting again from scratch. I should be able to catch up quickly since I have done much of it already. When I add categories...I click apply changes...but they do not show up. Any suggestions? Is there something else that I am not aware of yet? As I have seen others say in the forums...the help files aren't much help. But the forum is great! Laura ----- Original Message ----- From: "Fred Pope" <fred@satcomresources.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 27, 2001 10:45 AM Subject: RE: [ic] template code deletion Don't give up on Interchange! It's a steep learning curve but an excellent application. Create another catalog if you do not have a test catalog already, and then copy the theme.cfg file from that catalog to the one that you just hosed up. I think this should work but only monkey curiosity will tell. I personally prefer just to edit those files using vi rather than using the admin. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Laura Donnelly Sent: Thursday, September 27, 2001 8:32 AM To: 'interchange-users@interchange.redhat.com' Subject: [ic] template code deletion I made a hex code change in my theme.cfg file ...when I clicked on apply changes in my admin area...I went to check and all of my template code was deleted. My site is gone. I was almost complete and just needed to change some css colors. Any ideas? I'm about to give up on Interchange. _______________________________________________ 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 (Mark Johnston) Date: Thu Sep 27 12:43:00 2001 Subject: [ic] Route logic Help Hello All - Could someone provide me with some help about the route logic. I have 4.8 running and everything works fine when checkingout using postal payment as the method, but when credit cards are used things get all screwed up. Here is what happens - The credit card gets processed through the gateway, and then the receipt page is displayed. Here is what is missing - No emails are sent to the customer or the __ORDERS_TO__ and the order is not recorded localy, also the contents of the cart are not emptied out. It seems like I am not passing the correct parameters for "payment_method" in checkout.html, but I am not sure. I have it as credit_card, should it be something else. Someone please help me before all my co-workers pitch in for my concrete shoes and send me on that diving trip. Thanks Mark From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 27 13:14:00 2001 Subject: [ic] template code deletion Quoting Laura R Donnelly (laura@smartaleck.com): > Thanks... > I decided to have my ISP reset my catalog (I did not install this...I was > lucky to have an ISP that had it pre-installed for my use). I am starting > again from scratch. I should be able to catch up quickly since I have done > much of it already. > Interchange will not delete files willy-nilly -- I think everyone will bear me out on that. Something else must have happened. Off the top of my head, I would say they are still there if you can get access to your system via the shell. If I had to guess what happened, it would be carriage returns in the configuration file.....causing the templates to *appear* to disappear. In any case, I am virtually positive the files are still there. -- 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 (Craig Bedard) Date: Thu Sep 27 15:32:01 2001 Subject: [ic] finding the admin area! hi, I have installed interchange 4.8 standard installation using mysql as the database. The foundation store is functioning properly... what I am having problems with it locating the admin area! In the example site Red Hat has up, there is an 'admin' link in the center of the page close to the Red Hat logo. In my installation, there is no such link. Has anyone had this problem before? am I not looking where I should be? Thanks for any comments you may have. cheers, Craig. From: interchange-users at interchange.redhat.com (John Cherbini) Date: Thu Sep 27 15:43:01 2001 Subject: [ic] finding the admin area! Craig, Simply go to http://yourserver/catalogname/ and you will see a link to the customer site and the admin site. Choose appropriately. JC On Thursday 27 September 2001 12:30 pm, Craig Bedard wrote: > hi, > > I have installed interchange 4.8 standard installation using mysql as the > database. The foundation store is functioning properly... what I am > having problems with it locating the admin area! In the example site Red > Hat has up, there is an 'admin' link in the center of the page close to the > Red Hat logo. In my installation, there is no such link. Has anyone had > this problem before? am I not looking where I should be? Thanks for any > comments you may have. > > cheers, > Craig. > > > _______________________________________________ > 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: Thu Sep 27 16:03:04 2001 Subject: [ic] No Default Search File RE: ProductFiles Hi folks; I have spent hours on this problem and no solutions yet, tried seaching and found similar questions posted but no definate answers. I have Interchange V4.6.1 running on RedHat Linux 7.1 Install completed OK and was able to setup users and admin. I tried to install a test catalog with minimum config variables as described in: http://ic.redhat.com/cgi-bin/ic/dev/iccattut.html?id=QdPk44gu and I get the error in /var/log/interchange/error.log tutorial config error: Directive ProductFiles returned default setting error: NO default search file! in line 0 of the configuration file'':ActionMap ui_edit <<EOR > > -- [tutorial: config error. Skipping -- START server (3283) (INET and UNIX) -- Accepting Connections from localhost|127\.0\.0\.1 --START Server (3286) (INET and UNIX) any clues? David From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 27 17:01:01 2001 Subject: [ic] Problems with [query] Resolution: The DBA put the tables in under one database user, but the sys admin person did the install as another database user. So we used Postgres to export all the data, change who owned the tables, and reimported them as the right user. Now things are happy and the query works as I need it to. Thanks for feedback on this issue. > >...table 'awt_section' failed: DBD::Pg::st execute failed: ERROR: >awt_section: Permission denied. at /apps/interchange/lib/Vend/Table/DBI.pm >line 1321. > From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Thu Sep 27 17:05:01 2001 Subject: [ic] Looking to pay for support I am looking to pay someone to help me fix the problem I am having with items getting tossed from my cart. I called RedHat and was gonna give the guys over there the business but can't justify spending $1440 ($180/8hour minimum) right now. I know the Redhat guys are worth every penny but I don't think this is an 8 hour problem. I know the balance is banked but it might take me forever to recoop the cost. So if anybody knows of interchange freelancers that charge by the hour with no minimum please let me know. From: interchange-users at interchange.redhat.com (Barry D. Hassler) Date: Thu Sep 27 17:12:00 2001 Subject: [ic] Interchange Developer wanted I'm looking for someone to develop a "new look" to an existing minivend site, and upgrade to the latest Interchange at the same time. My organization provides the hosting environment and support. Please reply to me directly, and I'll provide a non-disclosure agreement for your review and signature prior to providing further details about the site and requirements. Barry D. Hassler From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Thu Sep 27 17:19:01 2001 Subject: [ic] [table-editor] not updating db FWIW, icdebug has a bunch of entries: Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 674. Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 674. Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 674. Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 674. Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/lib/Vend/Data.pm line 674. Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Sep 27 17:20:01 2001 Subject: [ic] Interchange documentation set now available in Europe Dear All, Red Hat have now made the Interchange manuals available in Europe as a bundle, shipping from Ireland. This is considerably cheaper than having them shipped from the 'states. Descriptions below. Please visit http://www.europe.redhat.com/shop/en/books.php3 to place your order. Thanks to Racke and RH Europe for sorting this out. Jonathan Webmaint. === The Interchange Documentation is just what you need to get started with building your enterprise level e-business. The manuals lead you through every step of e-commerce site development, from installation to customization. Getting Started Guide: introduces you to the Interchange e-commerce platform. Administration Tool Guide: teaches you how to use the Interchange Administration Tool. Development Guide: provides technical information. Reference Guide: provides you with the building blocks for customizing your Interchange e-commerce site. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Sep 27 17:28:01 2001 Subject: [ic] Hidden Admin Tables > Having a significant problem with IC. Started with 4.8.2 and > have been moving > back to get round it, 4.7.2 looking at 4.6.5 at present. > > Problem with 4.8.2 and 4.7.2 in RH7.1. Initially installed and had it > running. Able to administer and was looking good. Loaded via > spreadsheet > interface, 15000+ products. So far so good. Had to head out > for an hour or so > came back to upload the products and found a neat little > error - Hidden Admin > Tables. So now I can't acces the tables to upload any more. I > tried removing > 4.8.2, installing 4.7.2 and it has done the same thing. > > Just finished downloading 4.6.5 but would rather not due to > tax problems (am > in Australia with a national GST not a state based tax). > > Query - what causes the Hidden Admin Tables and how to > revover so I can work > and get this thing finished. > > I would really appreciate anyoine who knows the answer to > send a direct email > as well as to the list, as a resolution for me is quite urgent. > > I had a heap of problems installing the spreadsheet perl > modules early on and > eventually located the IO-stringy to get past that one, > really should be in > the documentation. > > Hoping for an answer. > kevin For some, deleting their .gdbm databases before starting the daemon helped. (Maybe sure you have a recent export to .txt, and a backup first). The thread regarding this issue is attached. HTH, -Dan From: Peter Yoo <pyooic@yootopia.com> To: interchange-users@developer.akopia.com Subject: Re: [ic] Upgrading from 4.7.2 to 4.7.7 X-Mailer: Mutt 1.0.1i Sender: interchange-users-admin@developer.akopia.com X-BeenThere: interchange-users@lists.akopia.com X-Mailman-Version: 2.0.5 Reply-To: interchange-users@developer.akopia.com List-Help: <mailto:interchange-users-request@lists.akopia.com?subject=help> List-Post: <mailto:interchange-users@lists.akopia.com> List-Subscribe: <http://lists.akopia.com/mailman/listinfo/interchange-users>, <mailto:interchange-users-request@lists.akopia.com?subject=subscribe> List-Id: Interchange users discussion (high volume) <interchange-users.lists.akopia.com> List-Unsubscribe: <http://lists.akopia.com/mailman/listinfo/interchange-users>, <mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe> List-Archive: <http://lists.akopia.com/pipermail/interchange-users/> X-Original-Date: Wed, 1 Aug 2001 09:28:09 -0700 Date: Wed, 1 Aug 2001 09:28:09 -0700 I'd like to add more info on this problem. The only access user I have is the default account inter(in my case, interchange) with the intial password. I cannot even change the password for the default account. Where is this infomation kept? The infomation about the access user accounts with permissions? Can I manually create/modify accounts? I do not see them in the MySQL database that I'm useing... Thanks. Peter. On Wed, Aug 01, 2001 at 09:06:39AM -0400, Brian Kosick wrote: > Yes, I get that admin error also! Anybody want to throw any ideas on the > table? > > > At 11:36 PM 7/31/01 -0700, you wrote: > >OK, I believe that I'm almost there now.... upgrading from 4.7.2 to > >4.7.7 requires much more work than I expected. > > > >I was able to follow Brian Kosick's instructions to recover my tables > >being recognized by Admin pages and being able to export them to backup > >directory. Thanks, Brian. > > > >Now, Wizard works and etc... however, I cannot create new access users : > >Administration -> Access -> Create new user then type in Real name and > >user name(pyoo) then click on OK button, I get this message : > > > >FATAL error > >There is no row with index 'pyoo' at > >/usr/local/interchange/lib/Vend/Table/Common.pm line 258 > > > >Any idea why I'm getting this and how to fix it? > > > >I'm so close to get all of databases work on IC4.7.7..... > > > >Thanks. > > > > Peter. > > > >On Tue, Jul 31, 2001 at 10:03:28PM -0400, Brian Kosick wrote: > > > Both in interchange.cfg, AND catalog.cfg Take a look at the reference > > > manual, to see what options are available in each one. > > > > > > I was getting a "Runtime Error: Magic number checking" After the perl > > > upgrade. Did a search from that found out the listings in the > > > archives. Found out there is a Storable incompatibility problem, which > > > causes the gdbm files, to become unreadable. > > > Summary of solution -> delete all your old gdbm files, and let IC rebuild > > > them from the text files. > > > > > > Though if you're all ready using 5.6.x, I don't know how much this'll help. > > > > > > The way I deleted the gdbm files is "rm -rf products/*.gdbm" Since I'm > > > using the gdbm (GNU DataBase SomethingorOther) IC auto-magically > > > regenerates the missing gdbm file from the .txt, .asc files. Whether or > > > not this behavior is the same using db (Berkeley Database?) I dunno. I > > > would imagine so though. Make sure that you export the current db to > > their > > > respective text files before you go about deleting them, as it would suck, > > > if it rebuilt itself from old outdated info. > > > > > > At 06:28 PM 7/31/01 -0700, you wrote: > > > >Hello, > > > > > > > >Where do you enable DisplayErrors? in interchange.cfg file? > > > > > > > >I tried to search MailList Archive but couldn't find much about this > > problem. > > > > > > > >I'm running it with Perl5.6.1 on Solaris8... > > > > > > > >Can you please tell me more detail on what files I delete in products/? > > > >when you say gdbm files, do you mean *.db files? what about ichelp.db and > > > >icmenu.db file? > > > > > > > >Thanks again. > > > > > > > > Peter. > > > > > > > >On Tue, Jul 31, 2001 at 08:34:26PM -0400, Brian Kosick wrote: > > > > > I have/had the same problem, I couldn't figure it out either. Then, I > > > > > started running IC with > > > > > > > > > > DisplayErrors Yes > > > > > > > > > > Ran into a whole bunch of stuff that it was looking for, but > > couldn't find > > > > > (aka XSLoader.pm, etc) Did some research, found that it was only > > > > available > > > > > in the later versions of perl. > > > > > > > > > > I upgraded to perl 5.6.1, went through the headaches that were > > caused by > > > > > the upgrade. (Ie recompiling and installing interchange (4.8.0), then > > > > > deleting all the gdbm files in products/*, and finally rm -rf > > > > > session/*)(Make sure you make BACKUPS!!!!) For more info, search the > > > > > Archives on this. > > > > > > > > > > It appears that 90% of my problems are solved. Error messages > > almost down > > > > > to nothing, The tables in Administration->Info and > > Administration->Tables > > > > > are showing up, Checking out actually works now. > > > > > > > > > > I have two catalogs running under this version of IC. > > > > > > > > > > System > > > > > > > > > > Cobalt/Sun RaqXTR > > > > > Cobalt OS (modded version of RH6.2) > > > > > 256MB RAM > > > > > RAID 5 > > > > > Perl 5.6.1 (now at least, it was running 5.00504) > > > > > Interchange 4.8.0 > > > > > > > > > > > > > > > 1) I have been meticulously trying to update from MV3.04 to > > > > > IC(latest) Which now works great! One thing though..Nobodies written > > > > a MV > > > > > 3.04 userdb -> IC(latest) userdb script yet have they? just though I'd > > > > > check. This one is using gdbm > > > > > > > > > > ^^^^ Definitely NOT for the faint of heart ^^^^^^^^ > > > > > > > > > > 2) slightly modified demo catalog from IC 4.7.x (2 or 3 i don't > > > > > remember) Which unfortunately is still suffering from needing the > > > > &success > > > > > entry in the profiles.order file, and the basket won't empty on > > > > > checkout. This one is using pgsql. The table definitions have changed > > > > > since this ones been created. Definitely double check your table > > > > > definitions if you've created a catalog during the early version of > > 4.7.x > > > > > > > > > > > > > > > > > > > > > > > > > PS > > > > > I am planning once these projects are live, and I get some time, to > > make > > > > > rpms for cobalt raq's, because I've seen PLENTY of requests for them. > > > > > > > > > > At 04:55 PM 7/31/01 -0700, you wrote: > > > > > >Hello Again, > > > > > > > > > > > >I've backedup my 4.7.2 catalog and started with 4.7.7 template of > > > > foundation > > > > > >and gotten as far as getting everything working including Wizard! > > > > > > > > > > > >Except.... when I look at Info page(under admin) or Tables, I get no > > > > tables! > > > > > > > > > > > >Store-front works fine, I can add/edit items with no problem. I see > > > > the mysql > > > > > >database and there are all the tables. But I cannot access tables > > > > from Admin > > > > > >page. When I click on Tables, all it says is Table Manager - > > Database > > > > tables > > > > > >(no listing) - Hidden admin tables:(no listing) > > > > > > > > > > > >What do I do to fix this? > > > > > > > > > > > >Thanks. > > > > > > > > > > > > Peter. > > > > > > > > > > > >On Tue, Jul 31, 2001 at 03:45:05PM -0700, Peter Yoo wrote: > > > > > > > Hello All, > > > > > > > > > > > > > > I'm having some problems upgrading my server from 4.7.2 to 4.7.7 > > > > > > > I've added all of the additional fields in the tables my hand > > on a few > > > > > > > talbes to match with 4.7.7's tables, and created additional > > files that > > > > > > > are there in <catalog dir>/products/*.[txt|sql|db]. > > > > > > > > > > > > > > Store front-end works fine but once I went in to admin pages, > > things do > > > > > > > not work too well. > > > > > > > > > > > > > > I cannot export tables, I get this message in the log file: > > > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:42:46 > > -0700] > > > > > > LittleBebe /cgi-bin/littlebebe/admin/export_table Runtime error: > > Can't > > > > > > use string ("") as a HASH ref while "strict refs" in use at > > > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > > > > > when I try to go thru the Wizard, I get : > > > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:43:27 > > -0700] > > > > > > LittleBebe /cgi-bin/littlebebe/admin/wizard/step_company Runtime > > error: > > > > > > Can't use string ("") as a HASH ref while "strict refs" in use at > > > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > > > > > Can someone let me know what I did/didn't do correctly? > > > > > > > > > > > > > > Is there a document how to upgrade 4.7.2 to 4.7.7? > > > > > > > > > > > > > > I've made so many changes to <catalog dir>/pages/* files > > already and > > > > > > I'd like > > > > > > > to keep the changes that I've made. > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > Peter. > > > > > > > > > > > > > > _______________________________________________ > > > > > > > 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 > > > > > > > > > > Brian Kosick > > > > > Web Programmer > > > > > New Age Consulting Service, Inc. > > > > > 216-619-2000 > > > > > briank@nacs.net > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > > > Brian Kosick > > > Web Programmer > > > New Age Consulting Service, Inc. > > > 216-619-2000 > > > briank@nacs.net > > > > > > _______________________________________________ > > > 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 > > Brian Kosick > Web Programmer > New Age Consulting Service, Inc. > 216-619-2000 > briank@nacs.net > > _______________________________________________ > 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 (Dan Browning) Date: Thu Sep 27 17:30:01 2001 Subject: [ic] Please help! Attributes cleared > I will try one last time. If someone does not have any > clues why all my modifiers get tossed, I guess I'll have to > pay someone to help me fix it. Don't know what else to do > and I gotta get this site up. I did even try a new catalog > with mysql but that didn't help either. I will post my > debug again and again I apologize for the long post :) I would recommend you make a copy of your page and then try gutting all the HTML and everything down to only what is needed. Then, post that here. I'm wondering if there are problems with your [set Save_Database]. HTH, Dan Browning <danpb@mail.com> [snip debug] From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Thu Sep 27 17:32:01 2001 Subject: [ic] [table-editor] not updating db Tried a simple page without luck: [comment] ui_template: Yes ui_template_name: share [/comment] [set mv_data_enable]1[/set] [tag flag write]property_info[/tag] [table-editor href=@@MV_PAGE@@ table=property_info] Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Sep 27 18:16:00 2001 Subject: [ic] Please help! Attributes cleared "Lewey Taylor" <admin@triparish.net> writes: > I will try one last time. If someone does not have any > clues why all my modifiers get tossed, I guess I'll have to > pay someone to help me fix it. Don't know what else to do > and I gotta get this site up. I did even try a new catalog > with mysql but that didn't help either. I will post my > debug again and again I apologize for the long post :) I think it boils to a behaviour which reasoning eludes me at least partially (Mike ?). If you have item modifier and you don't use the select boxes for them in a form (cart, checkout), you need to use hidden elements like that (untested !!): <input type=hidden name="bcurve[calc][item-increment]-1[/calc]" value="[item-modifier bcurve]"> for any modifier you're using. Look how the modifier bcurve vanishes: > > main:debug: CGI value= > main:debug: line 0 modifier power now > main:debug: updating line 0 modifiers: { > 'price_group' => '', > 'code' => 'bl0009', > 'gift_cert' => '', > 'numberinbox' => '6pack', > 'mv_ip' => '0', > 'mv_ib' => 'products', > 'bcurve' => 'Flat', > 'diameter' => '14.2', > 'quantity' => '1', > 'power' => '', > 'color' => 'Clear' > } > > main:debug: CGI value= > main:debug: line 0 modifier bcurve now > main:debug: updating line 0 modifiers: { > 'price_group' => '', > 'code' => 'bl0009', > 'gift_cert' => '', > 'numberinbox' => '6pack', > 'mv_ip' => '0', > 'mv_ib' => 'products', > 'bcurve' => '', > 'diameter' => '14.2', > 'quantity' => '1', > 'power' => '', > 'color' => 'Clear' > } > 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 (Peter Yoo) Date: Thu Sep 27 18:23:00 2001 Subject: [ic] Bank of America(BofA)/VeriSign Payment Gateway Hello All, I've tried to use VeriSign Payflow Pro to do the CreditCard(CC) transactions on my site and at the last minute, I find out that I have to have a VeriSign Payflow Pro account as well as Bank of America(BofA)'s Merchant Services. This means that I will be paying two places to get my site to accept CCs. I was able to get my site working with VeriSign test server just fine, but when I try to activate my Payflow Pro account VeriSign Support person told me to get Vital Processor Number, Acquirer ID and Merchant ID from BofA and BofA told me that I have to have BofA's Merchant Service to get those numbers(?). Is that right? or am I just mis-lead by some vendors? If this information is correct, here is what I'd like to find out: BofA has its own Merchant Services which I believe that I can use with IC. Has anyone done this with IC4.8.x? Is there any document how to get BofA's Merchant Service intergrated with IC4.8.x? Any information would be appreciated. Thanks. Peter. P.S. I'm runnint IC4.8.2 on Sparc Solaris8 with Perl5.6.1/mySQL3.23.39 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Sep 27 18:35:01 2001 Subject: [ic] Please help! Attributes cleared Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > "Lewey Taylor" <admin@triparish.net> writes: > > > I will try one last time. If someone does not have any > > clues why all my modifiers get tossed, I guess I'll have to > > pay someone to help me fix it. Don't know what else to do > > and I gotta get this site up. I did even try a new catalog > > with mysql but that didn't help either. I will post my > > debug again and again I apologize for the long post :) > > I think it boils to a behaviour which reasoning eludes me > at least partially (Mike ?). > > If you have item modifier and you don't use the select > boxes for them in a form (cart, checkout), you need > to use hidden elements like that (untested !!): Depends on what is going on with UseModifier. If you use the new [item-options] stuff none of this should matter. If you try and mix the two you might have problems.... -- 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 (Ron Phipps) Date: Thu Sep 27 18:38:01 2001 Subject: [ic] Bank of America(BofA)/VeriSign Payment Gateway > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Peter Yoo > > Hello All, > > I've tried to use VeriSign Payflow Pro to do the CreditCard(CC) > transactions > on my site and at the last minute, I find out that I have to have a > VeriSign > Payflow Pro account as well as Bank of America(BofA)'s Merchant Services. > This means that I will be paying two places to get my site to accept CCs. > I was able to get my site working with VeriSign test server just fine, but > when I try to activate my Payflow Pro account VeriSign Support person told > me > to get Vital Processor Number, Acquirer ID and Merchant ID from BofA and > BofA > told me that I have to have BofA's Merchant Service to get those > numbers(?). > > Is that right? or am I just mis-lead by some vendors? > You do need all of those numbers. But the only thing you need from BofA is a merchant account, you do not need to pay for any of their special merchant services. We currently have two accounts setup with BofA and both use Verisign to interface with IC. We do not subscribe to monthly BofA Merchant Services. Please email me off the list if you would like the name of our account manager that setup the relationship with Verisign originally. Thanks, -Ron > If this information is correct, here is what I'd like to find out: > > BofA has its own Merchant Services which I believe that I can use with IC. > Has anyone done this with IC4.8.x? Is there any document how to get > BofA's > Merchant Service intergrated with IC4.8.x? > > Any information would be appreciated. > > Thanks. > > Peter. > > P.S. I'm runnint IC4.8.2 on Sparc Solaris8 with Perl5.6.1/mySQL3.23.39 > > _______________________________________________ > 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 Sep 27 18:43:01 2001 Subject: [ic] Please help! Attributes cleared At 12:16 AM 09/28/2001 +0200, you wrote: >"Lewey Taylor" <admin@triparish.net> writes: > > > I will try one last time. If someone does not have any > > clues why all my modifiers get tossed, I guess I'll have to > > pay someone to help me fix it. Don't know what else to do > > and I gotta get this site up. I did even try a new catalog > > with mysql but that didn't help either. I will post my > > debug again and again I apologize for the long post :) > >I think it boils to a behaviour which reasoning eludes me >at least partially (Mike ?). > >If you have item modifier and you don't use the select >boxes for them in a form (cart, checkout), you need >to use hidden elements like that (untested !!): > ><input type=hidden name="bcurve[calc][item-increment]-1[/calc]" >value="[item-modifier bcurve]"> Actually, I think you just about nailed it - somebody correct me if I am wrong (please!), but this should work: [item-list] ... [if-item-modifier foo] foo: [item-modifier foo] <!-- for display, if you wish --> <input type=hidden name="[modifier-name foo]" value="[item-modifier foo]"> [/if-item-modifier] ... [/item-list] That should preserve the modifier value when the cart (or checkout page) is recalculated. Lewey, give it a try before you pay anyone to help you. If it does work, then this is new behavior. I have a 4.6.5 catalog in which I use modifiers without the need to do this. Perhaps there is a directive to make the modifier value sticky by default? - Ed L. >for any modifier you're using. > >Look how the modifier bcurve vanishes: > > > > > main:debug: CGI value= > > main:debug: line 0 modifier power now > > main:debug: updating line 0 modifiers: { > > 'price_group' => '', > > 'code' => 'bl0009', > > 'gift_cert' => '', > > 'numberinbox' => '6pack', > > 'mv_ip' => '0', > > 'mv_ib' => 'products', > > 'bcurve' => 'Flat', > > 'diameter' => '14.2', > > 'quantity' => '1', > > 'power' => '', > > 'color' => 'Clear' > > } > > > > main:debug: CGI value= > > main:debug: line 0 modifier bcurve now > > main:debug: updating line 0 modifiers: { > > 'price_group' => '', > > 'code' => 'bl0009', > > 'gift_cert' => '', > > 'numberinbox' => '6pack', > > 'mv_ip' => '0', > > 'mv_ib' => 'products', > > 'bcurve' => '', > > 'diameter' => '14.2', > > 'quantity' => '1', > > 'power' => '', > > 'color' => 'Clear' > > } > > > >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 =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Thu Sep 27 18:54:01 2001 Subject: [ic] Bank of America(BofA)/VeriSign Payment Gateway On Thu, 27 Sep 2001, Peter Yoo wrote: > BofA has its own Merchant Services which I believe that I can use with IC. > Has anyone done this with IC4.8.x? Is there any document how to get BofA's > Merchant Service intergrated with IC4.8.x? I have no idea why your situation is so complicated with both Verisign and BofA. But I'm currently integrating Bank of America's Merchant Services with Interchange, so check back with me in a week or two and I'll let you the status. Jon From: interchange-users at interchange.redhat.com (Chris Jesseman) Date: Thu Sep 27 18:59:01 2001 Subject: [ic] Bank of America(BofA)/VeriSign Payment Gateway Peter, > > BofA has its own Merchant Services which I believe that I can use with IC. > Has anyone done this with IC4.8.x? Is there any document how to get BofA's > Merchant Service intergrated with IC4.8.x? Yes, we have had a BoA IC module in production for a few months now. We are planning to release it but have a few more hurdles to jump through with the module, BoA, and documentation. I hope I can be of more help in the future... -Chris From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Thu Sep 27 19:15:01 2001 Subject: [ic] Please help! Attributes cleared Quoting Ed > [item-list] > ... > [if-item-modifier foo] > foo: [item-modifier foo] <!-- for display, if you wish --> > <input type=hidden name="[modifier-name foo]" > value="[item-modifier foo]"> > [/if-item-modifier] > ... > [/item-list] > > That should preserve the modifier value when the cart (or > checkout page) is > recalculated. Lewey, give it a try before you pay anyone to help you. > > If it does work, then this is new behavior. I have a 4.6.5 > catalog in which > I use modifiers without the need to do this. Perhaps there > is a directive > to make the modifier value sticky by default? I will try this within the hour. Thanks all From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Thu Sep 27 19:25:00 2001 Subject: [ic] PREFIX-change for [query] ??? is there such a thing ? the manual says so, but so far I havent gotten it to work. Any ideas ? thanks! _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Kevin Manderson) Date: Thu Sep 27 19:31:00 2001 Subject: [ic] Hidden Admin Tables Thanks for that. I retried a 4.8.2 (yet again). reloaded the data. Like usual the tables were all hidden again after a short time. So I deleted the *.gdbm and restarted - voila back again. It will be a pain and be increasingly difficult to manage though as the tables disappear within a short time of a clean install. Interestingly they seem to progressively become 'hidden' from one PC no problem, 1/2 hour later from another about 6 tables were hidden and after another hour or so (inactivity so maybe afgter the autologout??) they were all gone. Is it the version of perl - for me 5.6.0, or one of the CPAN installs? Thanks for the pointer. A search of the lists didn't turn it up (at least for me) regards kevin -- Kevin Manderson MBA, ExecDipEnt Strategic IT and E-Commerce Specialising in IT and on-line strategies, database systems and consulting http://gocdo.net.au or http://wso.nu E-mail mailto:kevin@wso.nu PO Box 195, Launceston TAS 7250 Australia. Telephone +61 0407 524 513. Ph/Fax +61 3 6331 9007 Sydney office: 8 Bright Street, Marrickville NSW 2204. Phone: +61 2 9564 6452. From: interchange-users at interchange.redhat.com (Randy Moore) Date: Thu Sep 27 19:41:01 2001 Subject: [ic] UI processing tags I'm trying to use in Page Title Hello, I'm having a minor problem with the UI in Interchange 4.8.2. I'm trying to put some Interchange tags in a Page Title through the UI. The tags are accepted, saved properly, and work perfectly. But, the next time I load this page into the UI for editing, the tags are interpreted by the UI as the edit page is being displayed rather than simply showing the saved tags. This means that if I save again, the tags are gone and are replaced by whatever they evaluated to on the UI edit page. I found a way around this, but I'm hoping there is a more elegant solution. I added a Variable in my catalog.cfg file that stored the text of the tags I need in the Page Title, and then used __MYVARIABLE__ in the UI Page Title field. Specifically, in catalog.cfg I have: Variable CURRENTBRAND [filter op=namecase int][data session arg][/filter] Then, In the Page Title field in the UI, I put "__CURRENTBRAND__". I noticed that in the flypage, the UI does not interpret the "[item-description]" tag, so it seems there must be something I'm missing. Thanks for any suggestions. Randy Moore Axion Information Technologies, Inc. email ramoore@axion-it.net phone 301-408-1200 fax 301-445-3947 From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Thu Sep 27 19:43:00 2001 Subject: [ic] Please help! Attributes cleared Quoting Mike > Depends on what is going on with UseModifier. UseModifier power,bcurve,diameter,color,numberinbox > If you use the new> [item-options] stuff > none of this should matter. If you try and > mix the two you might have problems.... I started out using [item-options] back on 4.7 but could not get the options sorted when displayed. You said back then that you would probably add an option to the tag to sort. I am not on CVS so I don't know if you had a chance to do that yet. That's when I went back to the old way. This fixed the problem > Quoting EdL > [item-list] > ... > [if-item-modifier foo] > foo: [item-modifier foo] <!-- for display, if you wish --> > <input type=hidden name="[modifier-name foo]" value="[item-modifier foo]"> > [/if-item-modifier] > ... > [/item-list] But I am sure I did not have to do this on 4.6.5. But whatever works. Thanks again all. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Sep 27 20:11:00 2001 Subject: [ic] template code deletion On Thu, 27 Sep 2001, Laura Donnelly wrote: LD>>I made a hex code change in my theme.cfg file ...when I clicked on apply LD>>changes in my admin area...I went to check and all of my template code was LD>>deleted. My site is gone. I was almost complete and just needed to change LD>>some css colors. I have a cron event that backs up all of my store stuff to a different computer via NFS every night at midnight. It could just as easily go to a different place on the same computer. It has saved me more than once when I have done something stupid. I can go to last nights back up and retrieve what was working yesterday. (Actually, it doesn't copy everything, only that stuff that has changed since the last back-up) That's not going to help Laura with this disaster I'm sorry to say. But, it can provide a safety net for future endeavors. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 27, 2001 at 20:05 PM: Floggings will continue until morale improves. ---------------------------------------------------------------- This Linux System has been up 74 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Sep 27 20:13:01 2001 Subject: [ic] Upcoming Interchange Training - US and Europe! On Thu, 27 Sep 2001, Jennifer Mahlmann wrote: JM>>User list members may also contact me directly for more information. JM>> JM>>Jennifer Mahlmann JM>>Manager, Learning Services JM>>Red Hat, Inc. JM>>11480 Sunset Hills Road, Suite 200E JM>>Reston, VA 20170 JM>>mahlmann@redhat.com JM>>www.redhat.com/training/ When will you be having training sessions in Reston? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 27, 2001 at 20:10 PM: My cat likes to play Hide-And-Go-Poop. ---------------------------------------------------------------- This Linux System has been up 74 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Sep 27 20:33:01 2001 Subject: [ic] PREFIX-change for [query] ??? At 04:33 PM 9/27/01, you wrote: >is there such a thing ? the manual says so, but so >far I havent gotten it to work. > >Any ideas ? >thanks! Not sure what your looking for, but maybe this will help: (need to change the sql statement etc to match your data) [query more=1 list=1 ml=15 sql="SELECT man,cat ................ ORDER BY man,cat"] [on-match] spit out once before list starts [/on-match] [list] [sql-change 1] [condition][sql-param man][/condition] spit out when field man changes : [sql-param man]<br> [sql-change 2] [condition][sql-param category][/condition] spit out when field cat changes, but only if man changed also (nested): [sql-param man]<br> [/sql-change 2] [/sql-change 1] spit out for every match .......<br> [/list] [on-match] spit out this once list is complete [/on-match] [more-list] [decade-next][/decade-next][decade-prev][/decade-prev]<br> [match-count] matches found. Displaying [matches].<br> [more]<br> [/more-list] [no-match] Sorry, there were no matches found.<br> [/no-match] [/query] Kyle Cook From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Sep 27 20:40:01 2001 Subject: [ic] Bank of America(BofA)/VeriSign Payment Gateway On Thu, 27 Sep 2001, Peter Yoo wrote: WARNING: This information may be totally useless to you. PY>>I've tried to use VeriSign Payflow Pro to do the CreditCard(CC) transactions PY>>on my site and at the last minute, I find out that I have to have a VeriSign PY>>Payflow Pro account as well as Bank of America(BofA)'s Merchant Services. PY>>This means that I will be paying two places to get my site to accept CCs. PY>>I was able to get my site working with VeriSign test server just fine, but PY>>when I try to activate my Payflow Pro account VeriSign Support person told me PY>>to get Vital Processor Number, Acquirer ID and Merchant ID from BofA and BofA PY>>told me that I have to have BofA's Merchant Service to get those numbers(?). PY>> PY>>Is that right? or am I just mis-lead by some vendors? PY>> PY>>If this information is correct, here is what I'd like to find out: PY>> PY>>BofA has its own Merchant Services which I believe that I can use with IC. PY>>Has anyone done this with IC4.8.x? Is there any document how to get BofA's PY>>Merchant Service intergrated with IC4.8.x? I used to have my Merchant Account with Echo. I used a terminal with them. Thery did all of the processing and put my money In First Charter Bank. First Charter neither charged me for the account, nor did they pay me interest. Echo charged me assorted fees. A year ago I moved my merchant account to First Charter. They depend on EDS for all of the back room work. My terminal connects to EDS. I bought CyberCash (ICVerify) last spring. My POS system interacts with ICVerify. (I've not yet chosen to let all of this work automatically. I prefer to stay in close touch with my customers.) My POS uses ICVerify to call EDS, present the information, get the reply and inform the POS of the response. EDS puts the money directly into my First Charter Account. EDS does not charge me anything. Rather, they have the bank charge me assorted discounts and fees. My point is that I strongly doubt that you need Verisign for this. As far as I know, ICVerify will work directly with Echo, as well as EDS. You get your approvals from them, they collect the money and put it into a bank account of your choice. I suggest that you find a place that will set up a Merchant Account for you that is using a processor that will accept your CyberCash calls for transactions directly. If you want, you can e-mail me privately and I'll try to find phone numebrs for you for both ECHO and First Charter. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 27, 2001 at 20:25 PM: Procrastination: The art of keeping up with yesterday. ---------------------------------------------------------------- This Linux System has been up 74 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Peter Yoo) Date: Thu Sep 27 20:52:00 2001 Subject: [ic] Bank of America(BofA)/VeriSign Payment Gateway Hello Chris, Can I try out what you have so far? BofA's Merchant Service is cheaper than VeriSign's and if they work as good as VeriSign, I would rather use BofA's Merchant service on my site. Does anyone know the main difference betwen VeriSign and BofA's Merchant Service? I believe VeriSign's PayFlow Pro is almost twice more expensive than BofA's Thanks. Peter. On Thu, Sep 27, 2001 at 07:11:02PM -0400, Chris Jesseman wrote: > Peter, > > > > > BofA has its own Merchant Services which I believe that I can use with IC. > > Has anyone done this with IC4.8.x? Is there any document how to get BofA's > > Merchant Service intergrated with IC4.8.x? > > Yes, we have had a BoA IC module in production for a few months now. We are > planning to release it but have a few more hurdles to jump through with the > module, BoA, and documentation. I hope I can be of more help in the future... > > -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 (Michael Hall) Date: Fri Sep 28 00:13:01 2001 Subject: [ic] Errors (Unknown filter) I recently installed the 4.8.2 tarball and setup a few catalogs, two each of 'tools' and 'reports', one to keep original and the other for development. Seeing all kinds of these errors in all the individual catalog 'error.log', even the unmodified ones, nothing in the main 'error.log' though. Any ideas what these are from and how to fix the problem causing them? 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:47 -0700] 482-tools /cgi-bin/482-tools/admin/flex_select.html Unknown filter 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:38 -0700] 482-tools /cgi-bin/482-tools/ui Unknown filter 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:08:52 -0700] 482-tools /cgi-bin/482-tools/scan/MM=2851c7a206b416f673c18c5a97519e63:0:49:50 Unknown filter 209.102.66.12 nrprizB4:209.102.66.12 - [21/September/2001:00:28:36 -0700] 482-reports /cgi-bin/482-reports/admin/flex_select Unknown filter -- 9 out of 10 men who try camels, prefer women... Mike Hall, Unix Admin - Rock Island Communications <mikeh@rockisland.com> System Admin - riverside.org <mhall@riverside.org> From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Sep 28 00:40:00 2001 Subject: [ic] template code deletion > On Thu, 27 Sep 2001, Laura Donnelly wrote: > > LD>>I made a hex code change in my theme.cfg file ...when I > clicked on apply > LD>>changes in my admin area...I went to check and all of my > template code was > LD>>deleted. My site is gone. I was almost complete and just > needed to change > LD>>some css colors. > > I have a cron event that backs up all of my store stuff to a different > computer via NFS every night at midnight. It could just as > easily go to a > different place on the same computer. It has saved me more > than once when I > have done something stupid. I can go to last nights back up > and retrieve > what was working yesterday. (Actually, it doesn't copy > everything, only that > stuff that has changed since the last back-up) > > That's not going to help Laura with this disaster I'm sorry > to say. But, it > can provide a safety net for future endeavors. A backed-up CVS tree is also very convenient for fixing stuff. Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Peter Yoo) Date: Fri Sep 28 03:02:01 2001 Subject: [ic] [ic]4.8.2 is etc/profiles.order working? Hello All, IC4.8.2 on Sparc Solaris8, Perl5.6.1, mySQL 3.23.39 using foundation temp. I maybe doing something wrong here but even tough that I see these: __NAME__ account_change fname=required lname=required address1=required city=required country=required (etc....) in etc/profiles.order, I am able to create a new account with blank names! I don't have to put fname or lname, it will create an account as long as I put something in the login name and password. I would like some of the fields to be 'required' - just like what I have in etc/profiles.order I do also see lines in pages/account.html like : [error name=lname std_label="Last Name" required=1] what is this required ITL mean? how is it differ from lines in etc/profiles.order? Thanks. Peter. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 28 03:16:01 2001 Subject: [ic] Errors (Unknown filter) Michael Hall <mhall@riverside.org> writes: > I recently installed the 4.8.2 tarball and setup a few catalogs, two each > of 'tools' and 'reports', one to keep original and the other for development. > Seeing all kinds of these errors in all the individual catalog 'error.log', > even the unmodified ones, nothing in the main 'error.log' though. > > Any ideas what these are from and how to fix the problem causing them? > > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:47 -0700] 482-tools /cgi-bin/482-tools/admin/flex_select.html Unknown filter > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:38 -0700] 482-tools /cgi-bin/482-tools/ui Unknown filter > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:08:52 -0700] 482-tools /cgi-bin/482-tools/scan/MM=2851c7a206b416f673c18c5a97519e63:0:49:50 Unknown filter > > 209.102.66.12 nrprizB4:209.102.66.12 - [21/September/2001:00:28:36 -0700] 482-reports /cgi-bin/482-reports/admin/flex_select Unknown filter Besides filling the log the error is harmless. Someone calls Vend::Interpolate::filter_value without bothering to provide an actual filter name. Bye Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Fri Sep 28 06:49:01 2001 Subject: [ic] Hidden Admin Tables Hi Kevin, I suspect that you're using a user with superuser settings ? If so, go into the permissions section, and check all the options for that user. The important one for me was "List Tables" - seems IC forgot my users were superusers. I hope this helps. Ian Riddler Griffler Enterprises ----- Original Message ----- From: "Kevin Manderson" <kevin@gocdo.net.au> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 28, 2001 11:30 AM Subject: RE: [ic] Hidden Admin Tables > Thanks for that. > > I retried a 4.8.2 (yet again). reloaded the data. Like usual the tables > were all hidden again after a short time. So I deleted the *.gdbm and > restarted - voila back again. > > It will be a pain and be increasingly difficult to manage though as the > tables disappear within a short time of a clean install. Interestingly > they seem to progressively become 'hidden' from one PC no problem, 1/2 > hour later from another about 6 tables were hidden and after another > hour or so (inactivity so maybe afgter the autologout??) they were all > gone. > > Is it the version of perl - for me 5.6.0, or one of the CPAN installs? > > Thanks for the pointer. A search of the lists didn't turn it up (at > least for me) > > regards > kevin > > -- > Kevin Manderson MBA, ExecDipEnt Strategic IT and E-Commerce > Specialising in IT and on-line strategies, database systems and > consulting > http://gocdo.net.au or http://wso.nu E-mail mailto:kevin@wso.nu > PO Box 195, Launceston TAS 7250 Australia. > Telephone +61 0407 524 513. Ph/Fax +61 3 6331 9007 > Sydney office: 8 Bright Street, Marrickville NSW 2204. Phone: +61 2 9564 > 6452. > > _______________________________________________ > 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 Mangeng) Date: Fri Sep 28 11:19:01 2001 Subject: [ic] Modifier info gets lost Hi I`ve got a problem concerning the accessories system. for better understanding: I`ve a left frame which includes the shop navigation. In the main window (right hand side... you an find a short product description and (in the same frame) the shopping baskek. In the main window (flypage) is also a link which opens a submenu which shows subproducts of the selected one and shows the modifier and other selections...) The problem: After i`ve selected a category at the nav, the product gets displayed fine on the flypage. I`ve placed a "Order" button there which opens a window (ii`ve called it flypage2) with sub-products and their modifier. All works fine when i order a product... the ordered products and their modifiers get added correctly to the shopping basket (after refreshes of the basket page too).. BUT... as soon as i close the popup window, select another product and order it (with modifiers selected which get displyed correctly in the subwindow (sub products)), the modifiers do not get listed anymore in the basket. (If i do multiple orders on the same product.. all works fine as long as i do not change the product). The product gets displayed correctly.... but not the modifiers... The link which opens the submenu is simply a search which opens the subproduct window. i hope anybody can help me. thanx michael mangeng From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 28 11:22:00 2001 Subject: [ic] Bounce problem The following code works fine to protect most pages against non-members: [if !session logged_in] [set nextpage]dealings[/set] [bounce href="[area login]"] [/if] However, in conjunction with: [tag op=header]Content-Type: text/html Cache-Control: no-cache Pragma: no-cache Expires: 0[/tag] it quit working. Any ideas ? 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 (Mangeng Michael) Date: Fri Sep 28 11:23:28 2001 Subject: [ic] Modifier gets lost (addon1) i`ve forget to mention that only the modifier(s) of the newly added product do not get listed on the page (basket) sorry michael m. From: interchange-users at interchange.redhat.com (Korey G.) Date: Fri Sep 28 11:44:00 2001 Subject: [ic] how to set Shipping Database Adder to work with Pricing Shipping Cost Question, What would be the proper way to decrare an 'adder' in the shipping.asc database in a line-based format to work with pricing in complement to weight. Basically I want to have added 12 dollars to orders less than 100 dollars, Any help is always greatly appreciated, -Korey From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 28 11:50:01 2001 Subject: [ic] Bounce problem Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > The following code works fine to protect most pages against > non-members: > > [if !session logged_in] > [set nextpage]dealings[/set] > [bounce href="[area login]"] > [/if] > > However, in conjunction with: > > [tag op=header]Content-Type: text/html > Cache-Control: no-cache > Pragma: no-cache > Expires: 0[/tag] > > it quit working. *How* did it quit working? > > Any ideas ? > You are setting the header, and apparently adding the Status: and Location: keys doesn't work with in combination with what you set the header to. -- 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 (Ron Reed) Date: Fri Sep 28 12:37:01 2001 Subject: [ic] Tutorial Question I am fairly new to Interchange and I am stepping thru the tutorial now. I have ran into a problem and I can't seem to find the cause. I am sure that it is something simple that I am just not seeing, but I figured I would ask. I can't get past the order process page. I enter all the data and press submit, but then the missing field page comes up, but doesn't have a field listed on it. Any debugging tips? ---------------------------------------------------------------------------- --- Ronald Reed Linux System Administrator Southern Great Plains, ARM CART Site Phone: (580)388-4053 Fax: (580)388-4052 Email: ron.reed@arm.gov From: interchange-users at interchange.redhat.com (Bob Ramstad) Date: Fri Sep 28 12:49:01 2001 Subject: [ic] VeriSign Payflow Pro Howdy. Just a few comments about VeriSign Payflow Pro as there may be some confusion. VeriSign Payflow Pro is NOT a merchant account. Rather, it is an Internet payment gateway service which works with a variety of merchant banks. (VeriSign does have a partnership with a large merchant bank to offer merchant accounts, but this is something which is completely separate from Payflow Pro.) Many larger merchant banks have their own Internet payment gateway service. Some of them charge extra for it. Some of them charge nothing for it. Some of them have good services, some of them are not so good. (Good = secure, reliable, fast, easy to implement.) We use VeriSign Payflow Pro ourselves. Our merchant bank is NOVA/Onset. The flat monthly fee for sending transactions through VeriSign is fairly low -- I think something like $60 for a large number of transactions (5000?) per month. The Internet payment gateway offered by Nova/Onset had a $0.05 per transaction fee, and since we do about 2000 per month, it was actually cheaper to use VeriSign. Also, VeriSign offers eFalcon fraud scoring, which is relatively inexpensive ($0.15 per transaction) and we've found it useful. All that said, I will say that since mid May, we've had three problems with processing cards with VeriSign, and the customer service isn't great. YMMV. It does bring up the obvious point, though, which is that you get what you pay for... if you are using a freebie gateway with semi-unsupported software that came from the merchant bank, and all the cards for a day somehow don't end up settling in your bank account, is there someone you can call or email with the problem that can actually help you? (For those who are wondering, we have a system built in PHP3 which queues up approved credit cards and allows us to review each order manually for fraud before doing delayed captures. We don't currently run IC, though we will be someday, and so I don't have any tips on how to set up VeriSign Payflow Pro to do automatic card processing through IC.) -- Bob From: interchange-users at interchange.redhat.com (Laura) Date: Fri Sep 28 12:51:04 2001 Subject: [ic] template code deletion Jim, I can set cron jobs on my server. I am just not familiar with them. What command would I enter to do this? or would you need more info to determine this? Laura ----- Original Message ----- From: "Jim Balcom" <jim@idk-enterprises.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 27, 2001 8:12 PM Subject: Re: [ic] template code deletion On Thu, 27 Sep 2001, Laura Donnelly wrote: LD>>I made a hex code change in my theme.cfg file ...when I clicked on apply LD>>changes in my admin area...I went to check and all of my template code was LD>>deleted. My site is gone. I was almost complete and just needed to change LD>>some css colors. I have a cron event that backs up all of my store stuff to a different computer via NFS every night at midnight. It could just as easily go to a different place on the same computer. It has saved me more than once when I have done something stupid. I can go to last nights back up and retrieve what was working yesterday. (Actually, it doesn't copy everything, only that stuff that has changed since the last back-up) That's not going to help Laura with this disaster I'm sorry to say. But, it can provide a safety net for future endeavors. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, September 27, 2001 at 20:05 PM: Floggings will continue until morale improves. ---------------------------------------------------------------- This Linux System has been up 74 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 (Ed LaFrance) Date: Fri Sep 28 12:59:01 2001 Subject: [ic] IC 4.8.2 - Need permissions on table before table exists I've run across some reprehensible behavior in 4.8.2; so far I've only confirmed it with the default db: IC will not recognize at new table (build the binary, list the table in the Admin area, etc) unless at least one admin (superuser) has access permissions on that table *first*. This seems bass-ackwards in my opinion. It means that, besides creating the database definition for the table and the source text file, one must: 1. use the flex_editor to manually the new tablename to the yes_tables field for an admin; 2. reconfig the catalog or restart IC 3. login to the UI as that admin 4. display Administration->tables 5. Click on the edit icon for the new table ...only then will the table be built. This is all negative in my opinion - is there a reason for this? Is it part of some greater design, or just collateral damage? - 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: Fri Sep 28 13:36:00 2001 Subject: [ic] template code deletion > I can set cron jobs on my server. I am just not familiar with > them. What > command would I enter to do this? or would you need more info > to determine > this? > > Laura I would recommend asking general Unix admin issues like this on a more focused list, such as redhat-list@redhat.com, linux-newbies@kernel.org, etc. But FYI, you can edit your cron with: $crontab -e HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Fri Sep 28 13:49:01 2001 Subject: [ic] Error when saving in Admin Interface Quoting Brendan Crosser-McGay > > Has anyone else experienced the problem of having an internal server error > 500 when they use the Admin interface Save button, or when using other > features of the Admin Interface, I seem to get this message in my > error log, > and I under this error looks pretty simple but I don't know where the > setting is that is making it do this: > > /cgi-bin/2002/admin/page_edit search error: your search file a valid > database reference, was 'backup' > I am using IC 4.6.5. I have had the 500 error when adding categories from the admin UI. This was accompanied by a 'bad counter magic in /etc/cat.recordnumber' error in the catalog error log. I found it was a bad cat.recordnumber file in /your_cat/etc. I found this by copying a known working /etc directory into the catalog directory, which fixed it, and then changing one file at a time until I found the offending file. There is a folder called 'backup' in the catalog directory, perhaps it is at fault? Good luck! Curt Hauge From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Fri Sep 28 14:56:01 2001 Subject: [ic] Modifier info gets lost > subwindow (sub products)), the modifiers do not get listed > anymore in the I was having something kinda close to this that was answered yesterday on the list. Don't know if it applies to you or not but this fixed me. I run IC 4.8.2 > Quoting EdL > [item-list] > ... > [if-item-modifier foo] > foo: [item-modifier foo] <!-- for display, if you wish --> > <input type=hidden name="[modifier-name foo]" value="[item-modifier foo]"> > [/if-item-modifier] > ... > [/item-list] From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 28 15:24:00 2001 Subject: [ic] Using Postgres sequences for the admin interface As the subject indicates, my database is PostgreSQL and I have some tables which have a primary key which should be gotten from a sequence. I have added the table to the "Tables" interface and used the Meta data to make a nice form for entering things into the table. The problem is that when I try to save the item, it isn't actually saved and my suspicion is that I'm not setting the primary key. I looked in the 'products' directory and there is a file called <tablename>.autonumber, which seems to be keeping track of the ID's. Is there any way to make IC use the sequence out of the database, or to keep them in sync? I could just drop the sequence in Postgres but my DBA may soundly thrash me for it. Patrick Bennett http://www.ccgenesis.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 28 16:09:00 2001 Subject: [ic] Using Postgres sequences for the admin interface patrick.bennett@ccgenesis.com writes: > As the subject indicates, my database is PostgreSQL and > I have some tables which have a primary key which should > be gotten from a sequence. I have added the table to > the "Tables" interface and used the Meta data to make > a nice form for entering things into the table. The > problem is that when I try to save the item, it isn't > actually saved and my suspicion is that I'm not setting > the primary key. I looked in the 'products' directory > and there is a file called <tablename>.autonumber, which > seems to be keeping track of the ID's. > > Is there any way to make IC use the sequence out of the > database, or to keep them in sync? I could just drop > the sequence in Postgres but my DBA may soundly thrash > me for it. Presumably, Database <tablename> AUTO_SEQUENCE 1 will help here. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Sep 28 16:10:47 2001 Subject: Curious behaviour of Text::Parse::shellwords (was: [ic] Errors (Unknown filter) Michael Hall <mhall@riverside.org> writes: > I recently installed the 4.8.2 tarball and setup a few catalogs, two each > of 'tools' and 'reports', one to keep original and the other for development. > Seeing all kinds of these errors in all the individual catalog 'error.log', > even the unmodified ones, nothing in the main 'error.log' though. > > Any ideas what these are from and how to fix the problem causing them? > > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:47 -0700] 482-tools /cgi-bin/482-tools/admin/flex_select.html Unknown filter > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:38 -0700] 482-tools /cgi-bin/482-tools/ui Unknown filter > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:08:52 -0700] 482-tools /cgi-bin/482-tools/scan/MM=2851c7a206b416f673c18c5a97519e63:0:49:50 Unknown filter > > 209.102.66.12 nrprizB4:209.102.66.12 - [21/September/2001:00:28:36 -0700] 482-reports /cgi-bin/482-reports/admin/flex_select Unknown filter I traced it down to the following: flex_select for(@$line) { my $filter = $filter_show[$i] || ''; $filter .= ' encode_entities' unless $filter =~ /\b(?:encode_)?entities\b/; my $extra = ''; $extra .= " $1" while $filter =~ s/(v?align=\w+)//i; Log("$i filter = $filter"); $_ = $Tag->filter($filter, $_); s/\[/&#91;/g; $out .= "<TD$extra>$_</TD>"; $i++; } return $out . "\n"; if $filter_show[$i] is false, $filter becomes '' and in the next line ' encode_entities'. $filter is passed to Vend::Interpolate::filter_value and there we read: my @filters = Text::ParseWords::shellwords($filter); @filters evaluates to ('', 'encode_entities'). Duh !!! If I run 'set a b c' in the shell, I get $1='a'. Why returns T::P::shellwords two entries (Perl from the stone age, as you would say resp. 5.005). 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 (Zack Johnson) Date: Fri Sep 28 16:19:00 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! 1. Create and configure mysql table ----------------------------------- See my TIPS: Adding mysql tables for directions. 2. Open up a text editor. ------------------------- This one ought to be easy. If not, I'm sorry, but you'll have to put this down. 3. Add the basics to make this page look like one of your other pages. ---------------------------------------------------------------------- Type, copy or paste into your text editor: [comment] ui_template: Yes ui_template_name: leftonly [/comment] Please save. 4. Add the [table-editor] tag. ------------------------------ This tag makes your life easy by building the form, and updating the table as needed. [table-editor href=process mv_nextpage=@@MV_PAGE@@ table=foo key="bar" ui_data_fields="bar1 bar2 bar3..." ] You'll want to substitue your table name for 'foo'. The key value should be just that, the key value. This is how [table-editor] find the record your looking for. In ui_data_fields, you list the fields you want in the form. For example, let's suppose your new table is 'airport_codes'. I has two fields, 'airport_code' and 'name'. We want to edit record for 'JAX': [table-editor href=process mv_nextpage=@@MV_PAGE@@ table=airport_codes key="JAX" ui_data_fields="airport_code name" ] A page will then display which contains a form that lets us edit this record. When you submit the form, IC will update the DB record. 5. Set data restrictions. ------------------------- [table-editor] lets you perform data validation. Let's require the 'name' value. [table-editor href=process mv_nextpage=@@MV_PAGE@@ table=airport_codes key="JAX" ui_data_fields="airport_code name" check.name = "required Please enter a location name" ] 6. Customize the table layout. ------------------------------- [table-editor] features some nifty features. If your table includes more than just a few fields, it's going to start looking very unfriendly. You can break up the table using ui_break_before. This option inserts a colored band before a specified field. And, using ui_break_before_label, you can insert a nice section heading. In this example I will insert a break before each field: [table-editor href=process mv_nextpage=@@MV_PAGE@@ table=airport_codes key="JAX" ui_data_fields="airport_code name" check.name = "required Please enter a location name" ui_break_before = "airport_code name" ui_break_before_label = "airport_code=Airport Code,name=Airport Name" ] You will also notice a row of buttons at the TOP of your table. This might be unwanted. To turn them off, use no_top: [table-editor href=process mv_nextpage=@@MV_PAGE@@ table=airport_codes key="JAX" ui_data_fields="airport_code name" check.name = "required Please enter a location name" ui_break_before = "airport_code name" ui_break_before_label = "airport_code=Airport Code,name=Airport Name" no_top=1 ui_display_only="property_id" ] To turn off the display of the key field, use ui_hide_key: [table-editor href=process mv_nextpage=@@MV_PAGE@@ table=airport_codes key="JAX" ui_data_fields="airport_code name" check.name = "required Please enter a location name" ui_break_before = "airport_code name" ui_break_before_label = "airport_code=Airport Code,name=Airport Name" no_top=1 ui_display_only="property_id" ui_hide_key=1 ] You can also create wizards with [table-editor]. For information, take a look at the wizard directory under the admin pages. step_company.html will get you started. At the end of this page you'll find all of the options for [table-editor]. Many of them are self-explanatory. 7. Edit mv_metadata for your new table. --------------------------------------- If you want your table to look nice, you'll need to forray into mv_metadata. Don't groan, it's not so bad. We'll just do two things with it: one practical, the other practical too. First, we'll apply labels to the fields. This makes them look pretty. Second, we'll use the contents of a table to pull in options for a <select> HTML tag. 1. Pretty Labels If you haven't already, create a mv_metadata entry for your table. Go to Administration > Tables > mv_metadata > New Entry. In the first box, code (labelled 'Table::Column'), enter the name of your table. Under 'label', enter the label you would like for this field. For example: Table::Column new_table Label A New Table 2. Happy Select Boxes Let's say we want to let the user specify and airport_code in their userdb. Assume we've made the necessary modifications to userdb. If we want to pull in the values in our airport_codes table for our select box, we would modify userdb::airport_code in mv_metadata like so: Table::Column userdb::airport_code Type Select Box Lookup Table airport_codes Label Preferred Airport Lookup Select airport_code,name The last entry, Lookup Select, tells table_editor the values to pull out of airport_code for our select. Remeber, select only takes two items: the "value" and the "label". The value is what goes into the database, the label is what shows up in the dropdown. In the Lookup Select field, the first item becomes the value, the second becomes the label. In our example, the database records "JAX" when the user selects "Jacksonville, FL". Don't forget to "apply changes" after you made your modifications. Otherwise, mv_metadata will. Good luck! ******************************************* ALL OPTIONS: [table-editor table=ic_table cgi=1* item-id="key" across=n* noexport=1* wizard=1* next_text='Next -->'* cancel_text='Cancel'* back_text='<-- Back'* hidden.formvarname="value" item_id_left="keys remaining" mv_blob_field=column* mv_blob_nick=name* mv_blob_pointer="current name"* mv_blob_label="Label text" mv_blob_title="Title HTML" ui_break_before="field1 field2" ui_break_before_label="field1=Label 1, field2=Label 2" ui_data_fields="field1 field2 fieldn ..."* ui_data_fields_all=1* ui_display_only="no_set_field"* ui_hide_key=1* ui_meta_specific=1* ui_meta_view="viewname" ui_nextpage="next_destination" ui_prevpage="back_destination" ui_return_to="cancel_destination" ui_new_item=1* ui_sequence_edit=1* ui_clone_id="key" ui_clone_tables="table1 table2 ..." ui_delete_box=1* mv_update_empty=0* widget.field="select|text|any ic widget" label.field="Field Label" help.field="Help text" help-url.field="http://url/to/more/help" default.field="preset value"* override.field="forced value"* filter.field="filter1 filter2" pre-filter.field="filter1 filter2" error.field=1* height.field=N From: interchange-users at interchange.redhat.com (FixtureFactor.com) Date: Fri Sep 28 16:46:00 2001 Subject: [ic] ENCRYPTION - whats the easiest way? Hi everybody, Im ready to implement my online store that uses interchange, but now im to the big problem (lots of posts about it). Whats the easiest implementation of encryption for credit card numbers? This is the last thing I want to get working. I can currently do orders and they dont stay on the server, and get delivered in email. But I would like the added safety. Im really confused when i see all the posts about "pgp" and "gnupg" and much of the lingo that goes with it. So, if anybody can give me some good guidance that is pretty simple or some good resources on the matter, its much appreciated. Thanks a lot in advance! Sincerely, Aaron Hazelton FixtureFactor.com From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Fri Sep 28 16:57:01 2001 Subject: [ic] setting up gpg problems (error 131072)... I am trying to send a copy of the order to my email account. This is what I have done so far: 1. gpg --gen-key 2. gpg --list-keys and get the id of my pub key ("remove '1024/D'") 3. edit variable.txt and change the value of PGP_KEY to 0xMYIDHERE also change __ORDERS_TO__ to the email of my gpg key 4. edit route main from catalog.cfg: change encrypt to 1 add encrypt_program "/usr/bin/gpg -e -a -r %s" 5. restart IC when I make an order, the mail doesnt get sent to me and error log shows: PGP failed with status 131072: Am i missing something ? thanks in advance _________________________________________________________ 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: Fri Sep 28 17:08:01 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! Quoting Zack Johnson (zack@office.standardprinting.net): > 1. Create and configure mysql table > ----------------------------------- > > See my TIPS: Adding mysql tables for directions. As promised -- thank you! I would like to add these both to the HOWTO section. I will, if you permit, edit them to put them in POD format. -- 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 (Kevin Manderson) Date: Fri Sep 28 17:09:01 2001 Subject: [ic] Hidden Admin Tables Hi Ahh, here hoping. Have to rm the gdbm files and restart agin - been using it fine and the hidden admin and no table access again 5 minutes ago. Gee interchange is flakey. It hung on me this afternoon and I had to reinstall. Did not have time to spend hours finding out why it would not run. Logs me out ofter after apply changes, do the wisard and filll out every field and it errors with an empty field and the list goes on. Any other stable similar carts out there?? Regards > Hi Kevin, > > I suspect that you're using a user with superuser settings ? > > If so, go into the permissions section, and check all the options for that > user. > From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Sep 28 17:11:00 2001 Subject: [ic] Save Carts/Recurring Orders does not save info to DB Hello all, I've noticed that with IC 4.8.2 and postgresSQL 7.1.2, that a created user cannot save the cart to the database the "carts" field never gets filled in with anything more than "{}". After you've saved the cart, if you go back to load a saved cart, it shows up with the name and ID of the cart, but I believe that that is a session ?problem?/issue. The PGSQL userdb carts field is set as TEXT I have the same problem with an 4.8.2 using gdbm files. There are no errors being generated in the log files. And when I try to set Variable DEBUG 1 It doesn't recognize the catalogs any more, generating the error "Undefined Catalog" Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 28 17:12:01 2001 Subject: [ic] setting up gpg problems (error 131072)... Quoting Eduardo Dominguez (edmz@yahoo.com): > I am trying to send a copy of the order to my email account. > This is what I have done so far: > > 1. gpg --gen-key > 2. gpg --list-keys and get the id of my pub key ("remove '1024/D'") > 3. edit variable.txt and change the value of PGP_KEY to 0xMYIDHERE > also change __ORDERS_TO__ to the email of my gpg key > 4. edit route main from catalog.cfg: > change encrypt to 1 > add encrypt_program "/usr/bin/gpg -e -a -r %s" > 5. restart IC > > > when I make an order, the mail doesnt get sent to me and error > log shows: PGP failed with status 131072: > Yes. I did post about this last week, but I wonder if it got through. Don't do any of that stuff with encrypt_program. Remove all references to encrypt_program anywhere in catalog.cfg, and remove any current EncryptProgram setting. (GPG is the default encryptor, with appropriate settings inserted). Put in your catalog.cfg: EncryptKey 0xMYIDHERE If you want to override the encryption key, you can set "pgp_key" or "pgp_cc_key" as appropriate in the route. An example of this is in the 4.8.1 foundation catalog. If you get errors, look in tmp/*.err to see what they are. -- 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 (Zack Johnson) Date: Fri Sep 28 17:35:01 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! Please do! I appreciate your help getting there. If you think I missed any of the other cool features, besides wizards, please let me know. I was sort of curious about ui_display_only. I assume that it displays the content as plain text, rather than as an input box? Or just doesn't allow changes to go into db? I tried it, but did notice any difference in behaviour. THX, Zack ----- Original Message ----- From: <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 28, 2001 5:07 PM Subject: Re: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! > Quoting Zack Johnson (zack@office.standardprinting.net): > > 1. Create and configure mysql table > > ----------------------------------- > > > > See my TIPS: Adding mysql tables for directions. > > As promised -- thank you! I would like to add these both to > the HOWTO section. I will, if you permit, edit them to put > them in POD format. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Few blame themselves until they have exhausted all other possibilities. > -- anonymous > _______________________________________________ > interchange-users mailing list > interchange-users@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 Sep 28 18:41:01 2001 Subject: [ic] Hidden Admin Tables Quoting Kevin Manderson (kevin@gocdo.net.au): > Hi > > Ahh, here hoping. Have to rm the gdbm files and restart agin - been > using it fine and the hidden admin and no table access again 5 minutes > ago. > > Gee interchange is flakey. It hung on me this afternoon and I had to > reinstall. Did not have time to spend hours finding out why it would > not run. Logs me out ofter after apply changes, do the wisard and > filll out every field and it errors with an empty field and the list > goes on. Any other stable similar carts out there?? I think you mistake an unstable system for unstable software. Interchange is not flaky, as I would hope many users would echo. The databases don't just "disappear". I have been following your posts but have been unable to determine what you are saying -- I have seen no information about what your system platform is, what database you are using, etc. No one can help you if you don't supply appropriate information. Wild guess about your setup -- it is NFS mounted and the locking doesn't work. But it is a wild guess, since you don't give any information that allows anything but that. In any case, it is not Interchange causing the problem, otherwise you would be seeing hundreds of posts like yours. -- 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 (interchange-users at interchange.redhat.com) Date: Fri Sep 28 18:45:02 2001 Subject: Curious behaviour of Text::Parse::shellwords (was: [ic] Errors (Unknown filter) Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > Michael Hall <mhall@riverside.org> writes: > > If I run 'set a b c' in the shell, I get > $1='a'. Yes, but that does't use Perl's split. In any case, I just committed a change to CVS which avoids the error. -- 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 (Laura) Date: Fri Sep 28 20:25:01 2001 Subject: [ic] Image Path I am modifying pages through the admin. My image path under admin preferences shows /~tactics/cart/images/ which is correct. When I go into the page edit...IC places an "/Interchange/en_US/ path in from of my image paths....no matter how many times I remove them and save...they show up again. Can someone please advise me how to remove this? Thanks Laura From: interchange-users at interchange.redhat.com (Eduardo Dominguez) Date: Fri Sep 28 20:37:00 2001 Subject: [ic] All prices are zero.. db corruption ? After changing the products database to my own, all product prices are now zero. Could this be a database corruption ? I check the DB and the UI and I see that the prices are OK. Everything else is fine. Just the the prices are zero. What should I check to verify the DB is corrupted ? Are there other possible causes of this behaviour ? thanks in advance _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Sep 28 22:26:01 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off On Fri, 28 Sep 2001, Zack Johnson wrote: > 4. Add the [table-editor] tag. > ------------------------------ > > This tag makes your life easy by building the form, and updating the table > as needed. > > [table-editor > href=process > mv_nextpage=@@MV_PAGE@@ > > table=foo > key="bar" > ui_data_fields="bar1 bar2 bar3..." > > ] > Excellent! One hint, similar to how IC does it. ui_data_fields="__UI_YOURTABLENAME_FIELDS__" That way, you just need to edit a variable to add columns to edit, change the order they appear in etc. > before a specified field. And, using ui_break_before_label, you can insert > a nice section > > heading. In this example I will insert a break before each field: > > [table-editor > href=process > mv_nextpage=@@MV_PAGE@@ > > table=airport_codes > key="JAX" > ui_data_fields="airport_code name" > > check.name = "required Please enter a location name" > > ui_break_before = "airport_code name" > ui_break_before_label = "airport_code=Airport Code,name=Airport Name" > > ] Once again, an excellent place for a variable. :) Another useful trick is to restrict access to certain functions. If you are doing something out of the ordinary, you can use the if-mm tag. [if-mm !regen] [set ui_error]Not authorized to regenerate.[/set] [bounce page="__UI_BASE__/error"] [/if-mm] Unfortunately, I am not sure which table the regen field is checked in, probably access. Mike? Thanks for the tutorial :) .cfg From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Sep 28 22:44:01 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! Quoting Corey Gilmore (cfg@dln.uvm.edu): > On Fri, 28 Sep 2001, Zack Johnson wrote: > > 4. Add the [table-editor] tag. > > ------------------------------ > > > > This tag makes your life easy by building the form, and updating the table > > as needed. > > > > [table-editor > > href=process > > mv_nextpage=@@MV_PAGE@@ > > > > table=foo > > key="bar" > > ui_data_fields="bar1 bar2 bar3..." > > > > ] > > > > Excellent! One hint, similar to how IC does it. > ui_data_fields="__UI_YOURTABLENAME_FIELDS__" > > That way, you just need to edit a variable to add columns to edit, change > the order they appear in etc. There is also another, perhaps better way that is used in 4.8 by default. Try clicking the table name entry in the edit list (admin/flex_select?mv_data_table=foo) and you can set the default list of fields to edit. You will also note that this presents a different "view" into mv_metadata -- all tables can have different views for different forms. Once you set it up (with a record viewname::foo in mv_metadata) you can do: [table-editor view=viewname] and it will pick up all the proper fields, field labels, widgets, break_before, etc. In other words, you just prefix "viewname::" in front of all the records you created in the HOWTO. -- 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 (Joel Wylan) Date: Sat Sep 29 02:36:01 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! Ok, this is Ed Hed at J & E's... I'm a tech Iand I have no idea what the hell you are typing about.... this from Joel, golbidy golk = golbidy gook ----- Original Message ----- From: <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 28, 2001 10:43 PM Subject: Re: [ic] TIPS: Use [table-editor] + mv_metadata to take inches off your waist while you sleep! > Quoting Corey Gilmore (cfg@dln.uvm.edu): > > On Fri, 28 Sep 2001, Zack Johnson wrote: > > > 4. Add the [table-editor] tag. > > > ------------------------------ > > > > > > This tag makes your life easy by building the form, and updating the table > > > as needed. > > > > > > [table-editor > > > href=process > > > mv_nextpage=@@MV_PAGE@@ > > > > > > table=foo > > > key="bar" > > > ui_data_fields="bar1 bar2 bar3..." > > > > > > ] > > > > > > > Excellent! One hint, similar to how IC does it. > > ui_data_fields="__UI_YOURTABLENAME_FIELDS__" > > > > That way, you just need to edit a variable to add columns to edit, change > > the order they appear in etc. > > There is also another, perhaps better way that is used in 4.8 by > default. Try clicking the table name entry in the edit list > (admin/flex_select?mv_data_table=foo) and you can set the default list > of fields to edit. > > You will also note that this presents a different "view" into > mv_metadata -- all tables can have different views for different > forms. Once you set it up (with a record viewname::foo in mv_metadata) > you can do: > > [table-editor view=viewname] > > and it will pick up all the proper fields, field labels, widgets, > break_before, etc. In other words, you just prefix "viewname::" in > front of all the records you created in the HOWTO. > > -- > 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 (Joel Wylan) Date: Sat Sep 29 02:43:37 2001 Subject: [ic] TIPS: Use [table-editor] + mv_metadata to take inches offyour waist while you sleep! I sthis a double post ----- Original Message ----- From: "Corey Gilmore" <cfg@dln.uvm.edu> To: <interchange-users@interchange.redhat.com> Sent: Friday, September 28, 2001 10:24 PM Subject: Re: [ic] TIPS: Use [table-editor] + mv_metadata to take inches offyour waist while you sleep! > On Fri, 28 Sep 2001, Zack Johnson wrote: > > 4. Add the [table-editor] tag. > > ------------------------------ > > > > This tag makes your life easy by building the form, and updating the table > > as needed. > > > > [table-editor > > href=process > > mv_nextpage=@@MV_PAGE@@ > > > > table=foo > > key="bar" > > ui_data_fields="bar1 bar2 bar3..." > > > > ] > > > > Excellent! One hint, similar to how IC does it. > ui_data_fields="__UI_YOURTABLENAME_FIELDS__" > > That way, you just need to edit a variable to add columns to edit, change > the order they appear in etc. > > > > > before a specified field. And, using ui_break_before_label, you can insert > > a nice section > > > > heading. In this example I will insert a break before each field: > > > > [table-editor > > href=process > > mv_nextpage=@@MV_PAGE@@ > > > > table=airport_codes > > key="JAX" > > ui_data_fields="airport_code name" > > > > check.name = "required Please enter a location name" > > > > ui_break_before = "airport_code name" > > ui_break_before_label = "airport_code=Airport Code,name=Airport Name" > > > > ] > > Once again, an excellent place for a variable. :) > > > Another useful trick is to restrict access to certain functions. If you > are doing something out of the ordinary, you can use the if-mm tag. > > [if-mm !regen] > [set ui_error]Not authorized to regenerate.[/set] > [bounce page="__UI_BASE__/error"] > [/if-mm] > > Unfortunately, I am not sure which table the regen field is checked in, > probably access. Mike? > > Thanks for the tutorial :) > > > .cfg > > _______________________________________________ > 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 Sep 29 05:39:00 2001 Subject: [ic] Errors (Unknown filter) Michael Hall <mhall@riverside.org> writes: > I recently installed the 4.8.2 tarball and setup a few catalogs, two each > of 'tools' and 'reports', one to keep original and the other for development. > Seeing all kinds of these errors in all the individual catalog 'error.log', > even the unmodified ones, nothing in the main 'error.log' though. > > Any ideas what these are from and how to fix the problem causing them? > > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:47 -0700] 482-tools /cgi-bin/482-tools/admin/flex_select.html Unknown filter > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:38 -0700] 482-tools /cgi-bin/482-tools/ui Unknown filter > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:08:52 -0700] 482-tools /cgi-bin/482-tools/scan/MM=2851c7a206b416f673c18c5a97519e63:0:49:50 Unknown filter > > 209.102.66.12 nrprizB4:209.102.66.12 - [21/September/2001:00:28:36 -0700] 482-reports /cgi-bin/482-reports/admin/flex_select Unknown filter Fixed in CVS now :-) 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 (Jim Balcom) Date: Sat Sep 29 09:16:01 2001 Subject: [ic] All prices are zero.. db corruption ? On 28 Sep 2001, Eduardo Dominguez wrote: ED>>After changing the products database to my own, all product prices are ED>>now zero. Could this be a database corruption ? I check the DB ED>>and the UI and I see that the prices are OK. Everything else is fine. ED>>Just the the prices are zero. ED>> ED>>What should I check to verify the DB is corrupted ? Are there other ED>>possible causes of this behaviour ? Since I don't know how you generated the new one, one thought that comes to mind is that perhaps the fields are not tab-delimited, and perhaps you have spaces, instead of tabs, between the fields. Did you click on 'Apply Changes'? Did you restart the server? If you did all of those things, delete products.gdbm and then go back into the web page. The gdbm file should re-generate and you should have your prices. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, September 29, 2001 at 09:10 AM: Fer sell cheep: IBM spel chekker. Wurks grate. ---------------------------------------------------------------- This Linux System has been up 111 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Christopher Van Oosterhout) Date: Sat Sep 29 10:50:01 2001 Subject: [ic] Using the Script Name Variable Greetings All, When I use the dump tag, [dump], to get an idea of just what Interchange is collecting, I see a variable under ENVIRONMENT that may be useful to me. In particular I would like to the SCRIPT_NAME variable. I have tried to use the [data session SCRIPT_NAME] tag without success. It appear to me that the tag only works for "true" SESSION variables. I have two questions. First, is it possible to drawn out and use the SCRIPT_NAME and other ENVIRONMENTAL variables? If not, could you suggest a way to do the following: I have set up multiple script aliases to the same store. And it works expect I can not figure out how to reference links to the descriptions (flypages) of specific items in my site's search result page. Currently I am using something like: /cgi-bin/storename/[part number] I would like to replace the "/cgi-bin/storename/" section of the URL with SCRIPT_NAME. Any ideas? Christopher Van Oosterhout From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Sep 29 11:12:00 2001 Subject: [ic] Using the Script Name Variable On Sat, Sep 29, 2001 at 10:51:33AM -0400, Christopher Van Oosterhout wrote: > > Greetings All, > > When I use the dump tag, [dump], to get an idea of just what Interchange is > collecting, I see a variable under ENVIRONMENT that may be useful to me. > > In particular I would like to the SCRIPT_NAME variable. I have tried to > use the [data session SCRIPT_NAME] tag without success. It appear to me > that the tag only works for "true" SESSION variables. > > I have two questions. First, is it possible to drawn out and use the > SCRIPT_NAME and other ENVIRONMENTAL variables? > > If not, could you suggest a way to do the following: > > I have set up multiple script aliases to the same store. And it works > expect I can not figure out how to reference links to the descriptions > (flypages) of specific items in my site's search result page. Currently I > am using something like: > > /cgi-bin/storename/[part number] > > I would like to replace the "/cgi-bin/storename/" section of the URL with > SCRIPT_NAME. > > Any ideas? Search on SCRIPT_NAME at google and look at what is provided in a typical CGI environment. Many servers provide more than the standard requirements. cfm > > Christopher Van Oosterhout > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Sep 29 11:25:00 2001 Subject: [ic] All prices are zero.. db corruption ? Quoting Jim Balcom <jim@idk-enterprises.com>: > On 28 Sep 2001, Eduardo Dominguez wrote: > > ED>>After changing the products database to my own, all product prices > are > ED>>now zero. Could this be a database corruption ? I check the DB > ED>>and the UI and I see that the prices are OK. Everything else is > fine. > ED>>Just the the prices are zero. > ED>> > ED>>What should I check to verify the DB is corrupted ? Are there > other > ED>>possible causes of this behaviour ? > > Since I don't know how you generated the new one, one thought that comes > to > mind is that perhaps the fields are not tab-delimited, and perhaps you > have > spaces, instead of tabs, between the fields. > > Did you click on 'Apply Changes'? Did you restart the server? > > If you did all of those things, delete products.gdbm and then go back > into > the web page. The gdbm file should re-generate and you should have > your > prices. > > -= Jim =- Other possible causes which I have seen: - Changing the name of the price column without updating the catalog.cfg; - Carriage returns embedded in the file, usually caused by editing it on a Windows box; - Including the currency symbol in the database; ...and no doubt there are others. - Ed L. From: interchange-users at interchange.redhat.com (Webmaster of Infothai) Date: Sat Sep 29 11:52:00 2001 Subject: [ic] Error with globalsub Hello, I started getting this error message when I restart Interchange 4.6.5: - - - [29/September/2001:09:45:04 -0600] - - Bad GlobalSub 'planetpayment' > In line 196 of the configuration file 'globalsub/planetpayment': > GlobalSub <<EOS Line 196 is the EOS line that is the end of the 'wrapper' around the subroutine. If I strip off this wrapper, the subroutine can be compiled without error. The subroutine is a renamed and slightly modified version of the authorizenet globalsub that came with Interchange. So my question is: what other cause of this error can there be? Thanks, Mike webmaster@infothai.com http://www.infothai.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Sep 29 12:28:01 2001 Subject: [ic] Using the Script Name Variable Quoting Christopher Van Oosterhout <chris@vanoosterhout.com>: > > Greetings All, > > When I use the dump tag, [dump], to get an idea of just what Interchange > is > collecting, I see a variable under ENVIRONMENT that may be useful to > me. > > In particular I would like to the SCRIPT_NAME variable. I have tried to > > use the [data session SCRIPT_NAME] tag without success. It appear to me > > that the tag only works for "true" SESSION variables. > > I have two questions. First, is it possible to drawn out and use the > SCRIPT_NAME and other ENVIRONMENTAL variables? > > If not, could you suggest a way to do the following: > > I have set up multiple script aliases to the same store. And it works > > expect I can not figure out how to reference links to the descriptions > > (flypages) of specific items in my site's search result page. Currently > I > am using something like: > > /cgi-bin/storename/[part number] > > I would like to replace the "/cgi-bin/storename/" section of the URL > with > SCRIPT_NAME. > > Any ideas? > > Christopher Van Oosterhout I wrote a simple UserTag called [env] for obtaining http variables such as that which you seek, and posted it to this list. It was tested on 4.6.x but should be ok on 4.8.x as well - search the mail archives for it. - Ed L. From: interchange-users at interchange.redhat.com (Michael Hall) Date: Sat Sep 29 13:28:01 2001 Subject: Curious behaviour of Text::Parse::shellwords (was: [ic] Errors (Unknown filter) On Fri, Sep 28, 2001 at 06:44:23PM -0400, mheins@redhat.com wrote: > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > Michael Hall <mhall@riverside.org> writes: > > > > If I run 'set a b c' in the shell, I get > > $1='a'. > > Yes, but that does't use Perl's split. > > In any case, I just committed a change to CVS which avoids > the error. Cool, I just did a cvs update and dropped in the updated ../lib/Vend/Interpolate.pm and am now longer seeing the errors. Thanks! -- If there were no golf balls, how would we measure hail ? Mike Hall, Unix Admin - Rock Island Communications <mikeh@rockisland.com> System Admin - riverside.org <mhall@riverside.org> From: interchange-users at interchange.redhat.com (Michael Hall) Date: Sat Sep 29 13:31:02 2001 Subject: [ic] Errors (Unknown filter) On Sat, Sep 29, 2001 at 11:38:31AM +0200, Stefan Hornburg (Racke) wrote: > Michael Hall <mhall@riverside.org> writes: > > > I recently installed the 4.8.2 tarball and setup a few catalogs, two each > > of 'tools' and 'reports', one to keep original and the other for development. > > Seeing all kinds of these errors in all the individual catalog 'error.log', > > even the unmodified ones, nothing in the main 'error.log' though. > > > > Any ideas what these are from and how to fix the problem causing them? > > > > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:47 -0700] 482-tools /cgi-bin/482-tools/admin/flex_select.html Unknown filter > > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:14:38 -0700] 482-tools /cgi-bin/482-tools/ui Unknown filter > > 209.102.66.12 aYbZtxcI:209.102.66.12 - [21/September/2001:23:08:52 -0700] 482-tools /cgi-bin/482-tools/scan/MM=2851c7a206b416f673c18c5a97519e63:0:49:50 Unknown filter > > > > 209.102.66.12 nrprizB4:209.102.66.12 - [21/September/2001:00:28:36 -0700] 482-reports /cgi-bin/482-reports/admin/flex_select Unknown filter > > Fixed in CVS now :-) Saw that from Mike's message, thanks for the reply and looking into it. -- It's a great place, and the drinks are cold ! Mike Hall, Unix Admin - Rock Island Communications <mikeh@rockisland.com> System Admin - riverside.org <mhall@riverside.org> From: interchange-users at interchange.redhat.com (Guido Sohne) Date: Sat Sep 29 14:52:01 2001 Subject: [ic] PayPal integration code wanted Mike Heins wrote long ago ... > BTW, I have much of PayPal working, including interface to the "silent > post" for completion for orders. I just have to document it as an > Interchange extension. It is not suitable for a standard addition as > yet. and Jason Kohles also wrote ... > The paypal stuff I was working on has been pretty much abandoned, > as Mike has integrated paypal into 4.7, and from what I've seen of > it, it's a lot cleaner than my kludge was... I am having trouble finding this code. I am using Interchange 4.8.2 and am willing to take on alpha or beta code. Obviously, it would be nice if it were ready and working to the max. Looking through lib/Vend/Payment, I found AuthorizeNet.pm CCVS.pm CyberCash.pm Signio.pm Skipjack.pm iTransact.pm but no sign of PayPal. Not even grep helps. I looked on the mailing lists and read that it would go into 4.7 so I am a bit surprised it is not there. Search on interchange.redhat.com for paypal returns zilch. __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From: interchange-users at interchange.redhat.com (AWJ) Date: Sat Sep 29 16:55:00 2001 Subject: [ic] cart component questions I'm running into some strange issues with the components supplied with foundation. I have created a catalog based upon foundation, and I want to make some modifications to the supplied cart component. I've successfully added a comment to the body of the component, but I want to alter the admin interface for the component (I want to add at least one more option), so I've tried altering the [comment] at the top of the file. Unfortuneately none of the changes I make are taking effect. Neither adding an option or editing the current options is working. I've gone so far as to look for every occurance of the words "others who have bought this" in a file named cart on my file system and modified them all to see if the Admin UI would change...no luck. I've tried restarting the interchange server, re-logging in, etc. Nothing seems to work. I'm wondering if these options are cached in some fashion and the system needs to be notified explicitly of any changes or if there is something else that I am missing completely. For my changes, the simplest (and therefore most confusing) change that I have made that has not taken affect is merely changing the wording of the label for the "Others who bought this" component, but the label remains the same in the Admin UI. Can anyone help point me in the right direction? Here's some information that might be important: File modified : [catroot]/templates/components/cart Interchange Version : 4.8.2 (installed from RPMs downloaded from interchange.redhat.com) Thanks in advance for any help. Anthony W. Juckel From: interchange-users at interchange.redhat.com (Matthew Schick) Date: Sat Sep 29 20:44:00 2001 Subject: FIXED Re: [ic] Button problem On Fri, 2001-09-14 at 15:50, Kaare Rasmussen wrote: > This should be the clue. The question is -- how does the button tag know > when to display an image and when to display text? This is exactly the same problem I reported in my message with the subject "Button usertag". What I found strange is that it finds the recalculate_button.gif but not the checkout_button.gif, even though they have the same prefix (__THEME__). Just thought I would ad my .02 cents worth here..... I've noticed the same behavior on the the basket page (or more precisely, cart component), but only after hitting the recalculate button. The initial display is fine, but after that any graphic that was displayed with the button tag simply evaporates and is replaced by the plain button. The answer is to change the recalculate button from: <INPUT type="image" src="__THEME__/your_recalculatebutton_name.gif"> to: <INPUT type="image" src="__THEME__/your_recalculatebutton_name.gif" onClick="this.form.action='[process-target]', this.form.submit()"> Works like a champ for me now.... Matt From: interchange-users at interchange.redhat.com (Matthew Schick) Date: Sat Sep 29 21:54:00 2001 Subject: FIXED Re: [ic] Button problem -- Maybe not...... On Sat, 2001-09-29 at 19:58, Matthew Schick wrote: On Fri, 2001-09-14 at 15:50, Kaare Rasmussen wrote: > This should be the clue. The question is -- how does the button tag know > when to display an image and when to display text? This is exactly the same problem I reported in my message with the subject "Button usertag". What I found strange is that it finds the recalculate_button.gif but not the checkout_button.gif, even though they have the same prefix (__THEME__). Just thought I would ad my .02 cents worth here..... I've noticed the same behavior on the the basket page (or more precisely, cart component), but only after hitting the recalculate button. The initial display is fine, but after that any graphic that was displayed with the button tag simply evaporates and is replaced by the plain button. The answer is to change the recalculate button from: <INPUT type="image" src="__THEME__/your_recalculatebutton_name.gif"> to: <INPUT type="image" src="__THEME__/your_recalculatebutton_name.gif" onClick="this.form.action='[process-target]', this.form.submit()"> Works like a champ for me now.... Seems when I try and add a saved cart, this little glitch resurfaces.... -- Matthew Schick, BRP Internet Solutions matt@brightredproductions.com 601.798.3093 From: interchange-users at interchange.redhat.com (Christopher Van Oosterhout) Date: Sat Sep 29 22:32:00 2001 Subject: [ic] Ed's Solution for Using the Script Name Variable Ed and others ... thanks for your suggestions. Ed, I found what I think you are referring to at: http://developer2.akopia.com/archive/interchange-users/2001/msg05007.html It appears to me that all I have to do is include the code in this message within one of the .cfg files. From there, how would I call up a specific variable? Would I do something like this? [env SCRIPT_NAME] somewhere in an Interchanged parsed page? When I do can I expect the SCRIPT_NAME to be echoed where ever the tag is located? CV At 11:11 AM 9/29/2001 -0400, cfm@maine.com wrote: >On Sat, Sep 29, 2001 at 10:51:33AM -0400, Christopher Van Oosterhout wrote: > > > > Greetings All, > > > > When I use the dump tag, [dump], to get an idea of just what > Interchange is > > collecting, I see a variable under ENVIRONMENT that may be useful to me. > > > > In particular I would like to the SCRIPT_NAME variable. I have tried to > > use the [data session SCRIPT_NAME] tag without success. It appear to me > > that the tag only works for "true" SESSION variables. > > > > I have two questions. First, is it possible to drawn out and use the > > SCRIPT_NAME and other ENVIRONMENTAL variables? > > > > If not, could you suggest a way to do the following: > > > > I have set up multiple script aliases to the same store. And it works > > expect I can not figure out how to reference links to the descriptions > > (flypages) of specific items in my site's search result page. Currently I > > am using something like: > > > > /cgi-bin/storename/[part number] > > > > I would like to replace the "/cgi-bin/storename/" section of the URL with > > SCRIPT_NAME. > > > > Any ideas? > >Search on SCRIPT_NAME at google and look at what is provided >in a typical CGI environment. Many servers provide more than the >standard requirements. > > > >cfm > > > > > > Christopher Van Oosterhout > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > >-- > >Christopher F. Miller, Publisher cfm@maine.com >MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 >1.207.657.5078 http://www.maine.com/ >Content/site management, online commerce, internet integration, Debian linux >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Sat Sep 29 22:56:01 2001 Subject: [ic] PayPal integration code wanted > Mike Heins wrote long ago ... > > > BTW, I have much of PayPal working, including interface to the > "silent > > post" for completion for orders. I just have to document it as an > > Interchange extension. It is not suitable for a standard addition as > > yet. > > and Jason Kohles also wrote ... > > > The paypal stuff I was working on has been pretty much abandoned, > > as Mike has integrated paypal into 4.7, and from what I've seen of > > it, it's a lot cleaner than my kludge was... > > I am having trouble finding this code. I am using Interchange 4.8.2 > and am willing to take on alpha or beta code. Obviously, it would be > nice if it were ready and working to the max. > > Looking through lib/Vend/Payment, I found > > AuthorizeNet.pm CCVS.pm CyberCash.pm > Signio.pm Skipjack.pm iTransact.pm > > but no sign of PayPal. Not even grep helps. I looked on the mailing > lists and read that it would go into 4.7 so I am a bit surprised it > is not there. Search on interchange.redhat.com for paypal returns > zilch. Hi would search the archives better. This is from my personal archive. I have had paypal running on IC I just set up an account with them, went to their single payment system, made a form, transferred it onto the checkout page, modified it slightly so that the total-cost was submitted to paypal - worked fine: <form action="https://www.paypal.com/cgi-bin/webscr" methd="post"> <input type="hidden" name="amount" value="[total-cost noformat=1]"> <input type="image"src="http://images.paypal.com/images/x-click-but 6.gif" border="0" name="submit"> </form> From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Sun Sep 30 00:59:01 2001 Subject: [ic] 4.8.2 core dump Well I think I have located the problem, Were looking for SafeHole in the wrong place.. This machine has Perl 5.6.1... The only problem is I don't know how to fix it.. Any help would be really appriceated. Thanks, Eddie borealis# tail -20 stracelog open("/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Safe/Hole/DESTR OY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/site_perl/5.005/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/site_perl/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("./auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) sigprocmask(SIG_SETMASK, [], NULL) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 close(4) = 0 sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0 sigprocmask(SIG_SETMASK, [], NULL) = 0 write(1, "The Interchange server must not "..., 49The Interchange server must not be run as root. ) = 49 exit(255) = ? ----- Original Message ----- From: "Jason Kohles" <jkohles@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 27, 2001 7:18 AM Subject: Re: [ic] 4.8.2 core dump > On Thu, Sep 27, 2001 at 03:28:58PM +0800, Leon Harris wrote: > > Sorry, I assumed you were using /bin/bash as your shell > > > > I think in *csh family of shells it is > > strace ./bin/interchange -r >& stracelog > > > > or >&! if noclobber is set > > > Or just: > > strace ./bin/interchange -r -o stracelog > > -- > Red Hat Professional Consulting Jason Kohles > (703)786-8036 (cellular) jkohles@redhat.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 (Edward Rubottom) Date: Sun Sep 30 02:30:01 2001 Subject: [ic] 4.8.2 core dump Well I fixed the Perl directory problem reinstalled Safe Hole.. Run Interchange as interch.. And get this, $ ./restart 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...Using MySQL, DSN=dbi:mysql:test_foundation...done. Segmentation fault - core dumped This is the result of the strace.. sigprocmask(SIG_BLOCK, NULL, []) = 0 stat("/usr/local/interchange/lib/auto/Safe/Hole/DESTROY.al", 0x813c4a0) = -1 ENOENT (No such file or directory) open("/usr/local/interchange/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/interchange/lib/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/5.6.1/i386-freebsd/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/5.6.1/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/Safe/Hole/DESTR OY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/site_perl/5.6.1/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/perl5/site_perl/auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) open("./auto/Safe/Hole/DESTROY.al", O_RDONLY) = -1 ENOENT (No such file or directory) sigprocmask(SIG_SETMASK, [], NULL) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 close(4) = 0 sigprocmask(SIG_BLOCK, ~[ILL TRAP ABRT EMT FPE BUS SEGV SYS], []) = 0 sigprocmask(SIG_SETMASK, [], NULL) = 0 exit(255) = ? ----- Original Message ----- From: "Jason Kohles" <jkohles@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, September 27, 2001 7:18 AM Subject: Re: [ic] 4.8.2 core dump > On Thu, Sep 27, 2001 at 03:28:58PM +0800, Leon Harris wrote: > > Sorry, I assumed you were using /bin/bash as your shell > > > > I think in *csh family of shells it is > > strace ./bin/interchange -r >& stracelog > > > > or >&! if noclobber is set > > > Or just: > > strace ./bin/interchange -r -o stracelog > > -- > Red Hat Professional Consulting Jason Kohles > (703)786-8036 (cellular) jkohles@redhat.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 (Peter Yoo) Date: Sun Sep 30 02:43:00 2001 Subject: [ic] Payment Gateway/Setup Recommendation Needed. Hello All, I've been ready to launch my site for a while but had some issues with BofA(if you have seen my previous mails, you would know) merchant service and VeriSign PayFlow Pro service. Now, I'm writing this to get recommendations on what services from whom that I need to have a reliabily working payment gateway on IC4.8.2 At this point, I am willing to open up a new bank account if that's will make my life easier. Now I belive that VeriSign's PayFlow Pro is 'overkill' and a bit expensive for my site, but if it's worth to have, then I will go with VeriSign but I really hope someone can tell me what I really need from my bank(BofA) to enable my VeriSign account. When I called BofA to get my merchant ID, they told me that I have to buy BofA's merchant service... I've already asked before about BofA's Merchant support on IC4.8.2 but I guess it's not production-ready yet. If BofA's Merchant support is functioning, I'm willing to give it a try since it's very reasonablily priced. Please let me know how I can get BofA Merchant support enabled on my IC4.8.2. For those who already have payment gateway working on their site, can you tell me what you use? Which bank? Which company? and etc. I'm in California and my BofA branch people might not know what I need and maybe that's why they are trying to sell me their merchant service. However, since I do not know what I really need, I can't really tell them much. VeriSign customer support couldn't help me much other than telling me that I need to work with BofA to get 'Vital account #', 'merchant ID' and etc. I'm confused now and this is affecting my original schedule of my site launch. I would greatly appreciate if someone can tell me what he/she is using in detail so I can follow. Thank you. Peter. PS. my site won't do much good if I cannot accept any payments, right? From: interchange-users at interchange.redhat.com (Edward Rubottom) Date: Sun Sep 30 03:41:02 2001 Subject: [ic] Segmentation fault - Core Dump So.. I blew away the entire install of Interchange. Reinstalled created a new catalog, new database, the works.. It still hurls.. but the strace is diffrent. Any Ideas.. Please.. Not much hair left... Best, Eddie Heres the strace... bash$ tail -20 stracelog fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 lseek(5, 0, SEEK_END) = 0 write(5, "Sun Sep 30 07:40:26 2001\n", 25) = 25 flock(5, LOCK_UN) = 0 close(5) = 0 open("/usr/home/rubottom/catalogs/found_test/etc/status.found_test", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 flock(5, LOCK_EX) = 0 fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 lseek(5, 0, SEEK_END) = 0 write(5, "Sun Sep 30 07:40:26 2001\n", 25) = 25 flock(5, LOCK_UN) = 0 close(5) = 0 write(1, "done.\n", 6done. ) = 6 getpid() = 32116 (ppid 32115) __sysctl([kern.proc.args.32116], 4, 0, 0, "interchange\0", 12) = 0 --- SIGSEGV (Segmentation fault) --- --- SIGSEGV (Segmentation fault) --- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Sep 30 04:59:01 2001 Subject: [ic] Segmentation fault - Core Dump On Sun, 30 Sep 2001, Edward Rubottom wrote: ER>>So.. I blew away the entire install of Interchange. Reinstalled ER>>created a new catalog, new database, the works.. It still hurls.. ER>>but the strace is diffrent. ER>> ER>>Any Ideas.. Please.. Not much hair left... IC is written entirely in Perl and HTML. HTML can not cause a core dump. I am not aware of any application written in Perl that can cause a core dump. YMMV. Perl, on the other hand, is written in c/c++ and that can cause a core dump. Not only is it possible that you have a bad implementation of Perl - maybe it didn't compile correctly, maybe there was a power hiccup when it was compiling and it only thinks that it compiled fine, but in one place there is a '0' where there should be a '1'. Who knows? But, it also links against libraries that were installed by the operating system. One of them might be defective. Can you successfully re-compile the kernel on that machine. That is usually a reasonably good test to see if the libraries are functioning properly. I think that my next step in trouble shooting would be to compile the kernel. (This is not dangerous as long as you don't move the final binary outputted into a place where it can get booted.) If that gets completed sucessfully, I would get the latest and greatest Perl and compile and install that, and then try again. I think that you've got some problems on that machine that are far deeper than Interchange. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, September 30, 2001 at 04:15 AM: Hard work must have killed someone! ---------------------------------------------------------------- This Linux System has been up 130 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Schwedt) Date: Sun Sep 30 06:06:00 2001 Subject: [ic] Cookies and IE6 Hi all, you probably heard before, that the Internet Explorer 6 has now implemented a new feature of the W3C. It is called "privacy policy" and restricts the setting of cookies (also interchange-cookies are blocked). If you try to set a cookie via JavaScript, it is always accepted. Also other cookies, that come directly from a html-page won't be refused. Interchange uses the HTTP-header to set it's cookies. In that case, there must be another information in the HTTP-header that points to the privacy policy of the server. Does anyone know, if there is a way to solve this problem without modyfing the global HTTP-headers of the server and set optional HTTP-headers in the interchange-pages? I tried to write a small code, that checks, if a browser accept cookies or not. I used the following lines and executed the CGI-script them directly in my webbrowser. use CGI qw(:standard); use strict; my $cookie = cookie (-NAME => "test", -VALUE => "ok", -EXPORES => "+2y"); my $result = cookie("test"); if ($result =~ /ok/) { print "Cookie can be set and read"; } Paradoxically the cookie was set in IE6. So Interchange must use another way to set it's cookies, that they are always refused. Thank you for your help! Stefan Schwedt From: interchange-users at interchange.redhat.com (Guido Sohne) Date: Sun Sep 30 07:08:00 2001 Subject: [ic] PayPal integration code wanted > Hi would search the archives better. This is from my personal > archive. > I have had paypal running on IC > I just set up an account with them, went to their single payment > system, made a form, transferred it onto the checkout page, modified > it slightly so that the total-cost was submitted to paypal - worked > fine: I am aware of this method of integrating PayPal. I would consider this to be sending a customer through hoops and would prefer to go their shopping cart route. However, I would prefer that the user has as little interaction with PayPal as possible to ensure that the order is completed instead of the customer deciding not to bother after all. I am actually looking for the "silent post" functionality that was mentioned on the list. Jason Kohles mentioned having a kludge and mentioned that Mike Heins code was better. I am looking for code but will use the solution similar to that you described in the worst case. > <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> > <input type="hidden" name="amount" value="[total-cost noformat=1]"> > <input type="image"src="http://images.paypal.com/images/x-click- > but6.gif" border="0" name="submit"> > </form> __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From: interchange-users at interchange.redhat.com (Sameh Ghane) Date: Sun Sep 30 09:19:01 2001 Subject: [ic] 4.8.2 core dump Le (On) Thu, Sep 27, 2001 at 09:20:34AM -0400, mheins@redhat.com ecrivit (wrote): > > I think I know what this means -- the DB_File module is core dumping. I bet > you could go back to low traffic mode if you removed: > > Pragma dynamic_variables > > from templates/foundation/theme.cfg. Doesn't work. GDB indicates that perl cores dump at #0 0x2816a175 in setproctitle () from /usr/lib/libc.so.4 Fine. The only place where perl uses setproctitle is in mg.c. I recompiled perl, #undef'ining HAS_SETPROCTITLE, and now interchanges runs fine. perl is still version 5.005_03 built for i386-freebsd. If someone with more perl/interchange knowledge is interested in finding what calls setproctitle with bogus arguments, go for it ;) > I think I am > going to have to put some hints in for BSD again, sigh.... BSD-developped software have the same problem towards linux... -- Sameh From: interchange-users at interchange.redhat.com (Scott Kennedy) Date: Sun Sep 30 10:02:00 2001 Subject: [ic] Modular options I've searched the list archive trying to determine if modular options work or not. It isn't clear to me if this feature is usable. Also, are matrix options usable? What precisely is the difference between modular and matrix options? I'm kind of confused regarding the differences. It would be nice if the documentation showed actual examples of what it looks like to setup modular/matrix options in the options database and how to implement this in a store (code and all that). The docs for IC are pretty good for the most part in my opinion, however, it seems like in some cases they should more fully elaborate on things such as this where confusion can happen. Basically, what I'm trying to do is to create a set of product attributes that can be applied to multiple products. Setting of some of these options would cause the product price to increase. I was doing what I wanted using Interchange 4.6 but when I recently upgraded to 4.8 everything got messed up. I wasn't using the options database to accomplish this. Instead, I was the products database, pricing database, and UseModifier setting in catalog.cfg to make the price adjustments. In the flypage and on the basket page I am using the item accessories tag to display/set product attributes as follows, [item-accessories installation] Here is a sample entry of what I have in the price field in the products database, 292.00, ==installation:pricing, ==color_frames:pricing, ==low_e_glass_with_argon:pricing, ==grids:pricing, ==foam_filled_frames:pricing, ==double_strength_glass:pricing The URL for the store is, http://neatway.com/cgi-bin/neatway/index.html Here is the line for UseModifier in catalog.cfg, UseModifier installation, woodgrain, color_frames, v_groove_glass, low_e_glass_with_argon, grids, foam_filled_frames, double_strength_glass, double_hung When I attempt to set one of these product attributes, the price isn't affected at all. For a while there this wasn't a problem. The first problem I had was that the Perl code I wrote in the order receipt files failed to show what attributes were selected. I don't know what I did to cause this to not function at all. Anyway, I was unable to correct either one of these problems so I decided to use the options database instead. Right now I am testing this out with a sample storefront that I've setup. I've accomplished what I've wanted with simple options, however, I'd like to use modular options for this task as I feel that method would be a more appropriate choice. Any help or pointers someone could give me would be greatly appreciated. By the way, I'm fixing to write some code for PayPal on IC. My intention is to construct a payment module that is portable and reusable as possible. I'll share my results with the list once I'm done with it. Thanks in advance, Scott ===== ********************************************************************* Custom Web Promotions Get your own domain hosted and registered for less than $15 a month! Web hosting, website development, computer/Internet consulting, and web promotion. http://custom-web-promotions.com / 888-287-8932 / sales@custweb.com ********************************************************************* __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Sun Sep 30 11:50:01 2001 Subject: [ic] Payment Gateway/Setup Recommendation Needed. > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Peter Yoo > > Hello All, > > I've been ready to launch my site for a while but had some issues with > BofA(if you have seen my previous mails, you would know) merchant service > and VeriSign PayFlow Pro service. > > Now, I'm writing this to get recommendations on what services from whom > that I > need to have a reliabily working payment gateway on IC4.8.2 > > At this point, I am willing to open up a new bank account if that's will > make my life easier. Now I belive that VeriSign's PayFlow Pro is > 'overkill' > and a bit expensive for my site, but if it's worth to have, then I will > go with VeriSign but I really hope someone can tell me what I really need > from my bank(BofA) to enable my VeriSign account. When I called BofA to > get > my merchant ID, they told me that I have to buy BofA's merchant service... The only thing I'm aware that you will need is a "merchant" account. This is a bank account that can accept credit card transactions. We did receive a packet about BofA's different merchant services (they have a payment gateway like verisign, a ssl hosted shopping area, etc). We opted to not take any of these options > I've already asked before about BofA's Merchant support on IC4.8.2 but I > guess > it's not production-ready yet. If BofA's Merchant support is functioning, > I'm willing to give it a try since it's very reasonablily priced. Please > let me know how I can get BofA Merchant support enabled on my IC4.8.2. > > For those who already have payment gateway working on their site, can you > tell me what you use? Which bank? Which company? and etc. We currently run two sites. Both use BofA for the merchant account, Vital for the processor and Verisign as the payment Gateway. We are charged $15.00 a month by BofA to have a business merchant account with check writing capabilities. We are also charged $60.00 a month for the Verisign gateway. If this is too expensive then you may want to look into SkipJack or AuthorizeNet, I'm not sure on their pricing structure. Verisign has been a stable processor for us and the technical support has been "good". They are not the quickest to respond by email, but their phone support has worked well for us. They went as far as to help us find $10,000 that was missing in American Express transactions when it wasn't their problem, but a problem with how Amex setup their options for our account. I did not expect them to make the phone calls that they did to track down who's issue it was when they had already ruled that the transactions passed through them successfully. > > I'm in California and my BofA branch people might not know what I need and > maybe that's why they are trying to sell me their merchant service. > However, > since I do not know what I really need, I can't really tell them much. > VeriSign customer support couldn't help me much other than telling me that > I > need to work with BofA to get 'Vital account #', 'merchant ID' and etc. I offered to give you the contact information for our merchant account in Texas at BofA to see if he could help you out. Please contact me off the list for this information: rphipps@reliant-solutions.com . When we originally had a client choose BofA they were not on the list of supported merchant accounts at Verisign, however BofA and Verisign worked together to establish the relationship. It may be that your branch is not aware of what is needed by verisign, so please contact me if you would like that information. > I'm confused now and this is affecting my original schedule of my site > launch. > > I would greatly appreciate if someone can tell me what he/she is using in > detail so I can follow. > Launch time can be very frustrating, just ask me about our re-launch 2 weeks ago :) Keep your head up, you'll get there. -Ron From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Sun Sep 30 17:16:00 2001 Subject: [ic] AuthorizeNet.pm missing fields When you use Authorize.net as a CC gateway, at least the way my account is set up, you get a nice canned email from them for each successful order placed. I noticed that there are some fields missing. In particular, there are three variables called out in AuthorizeNet.pm that don't make it to the Anet email: x_Invoice_Num => $actual->{mv_order_number}, x_Company => $actual->{company}, x_Phone => $actual->{phone_day}, The x_Company line is commented out. Remove the comment and add 'company' to the map in Payment.pm, and it comes through. '$actual' was misspelled, preventing x_Phone from working, and correcting the spelling caused it to show up on the Anet email as well. But mv_order_number has me stumped. It's also missing from the map in Payment.pm, but adding it doesn't help. And of all the missing values in this email, this one is pretty key. Any ideas? TIA 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 (JT Justman) Date: Sun Sep 30 20:21:04 2001 Subject: [ic] PayPal integration code wanted I have been unable to find any other mention of this "silent post" as well. Even if it's not polished, could we see what there is? JT From: "Guido Sohne" <caught_one@yahoo.com> > I am actually looking for the "silent post" functionality that > was mentioned on the list. Jason Kohles mentioned having a kludge and > mentioned that Mike Heins code was better. I am looking for code but > will use the solution similar to that you described in the worst case.