From: jcarnahan at networq.com (Jeff Carnahan ) Date: Mon, 30 Apr 2001 13:50:22 -0700 Subject: [ic] Syntax for a link to order a product }<a href="[area href="order" form="mv_order_item=[item-code]"]" }class="myclass">Order</a> } The web-design guys on one of our sites don't know much about ICML syntax, so I created a page called add.html. It contains: [perl] $sku = $CGI->{'sku'}; $sku =~ s/[^\w\-_]//g; $Scratch->{'product'} = $sku; return ''; [/perl][bounce href="[area form=| mv_todo=refresh mv_order_item=[scratch product] mv_order_quantity=1 |]"] Now, they can use links like: <A HREF="/shop/add.html?sku=[item-code]"> ... </A> or <A HREF="/shop/add.html?sku=101010"> ... </A> This makes it easier for them (they're afriad of the [page] and [area] tags) and that makes it easier for us.. =) -- Jeff Carnahan - jcarnahan@networq.com From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Mon, 30 Apr 2001 23:57:39 +0300 Subject: [ic] How to use this simple tag? I have created in the a new field in the product page called "url" I want when i a write a url to display(in the flypage) it along with the word "url". If there is no url,i want not to display the word "url". I was thinking something like that below,but it doesn't work(this is from the mail.receipt page) [if-modifier url] url : [item-modifier url][/if-modifier] I use Interchange 4.6.5 Any ideas?? Thank you Thomas From: mat at booksellersolutions.com (Mat Jones - booksellersolutions.com ) Date: Mon, 30 Apr 2001 14:18:11 -0700 Subject: [ic] How to use this simple tag? [if-item-field url] URL: [item-field url][/if-item-field] Mat ----- Original Message ----- From: "Thomas N. Stefanidis" <thomas@prometheas.gr> To: "Interchange Mailing List" <interchange-users@lists.akopia.com> Sent: Monday, April 30, 2001 1:57 PM Subject: [ic] How to use this simple tag? > I have created in the a new field in the product page called "url" > I want when i a write a url to display(in the flypage) it along with the > word "url". > If there is no url,i want not to display the word "url". > I was thinking something like that below,but it doesn't work(this is > from the mail.receipt page) > > [if-modifier url] url : [item-modifier url][/if-modifier] > > > I use Interchange 4.6.5 > > Any ideas?? > > > Thank you > > Thomas > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jcarnahan at networq.com (Jeff Carnahan ) Date: Mon, 30 Apr 2001 14:22:40 -0700 Subject: [ic] How to use this simple tag? }[if-modifier url] url : [item-modifier url][/if-modifier] } }Any ideas?? } Visit: http://developer.akopia.com/ Click Documentation -- Reference Guide Click Interchange Templates Click Section 5.1 -- On-the-fly Catalog Pages check out the: [if-item-field ... ] tag. or go here: http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_23.html -- Jeff Carnahan - jcarnahan@networq.com From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Tue, 01 May 2001 00:25:53 +0300 Subject: [ic] __DISPLAYDATE__ I want to use this tag,but it's displalying in English. How can i use this in my locales? (Greek) Thomas From: jcarnahan at networq.com (Jeff Carnahan ) Date: Mon, 30 Apr 2001 14:33:43 -0700 Subject: [ic] __DISPLAYDATE__ }I want to use this tag,but it's displalying in English. }How can i use this in my locales? (Greek) } Yet another question that can easily be answered by taking a moment to read the documentation. Go to: http://developer.akopia.com/ Enter "locale date" in the search box. Look at the link it provides you.. It will be for the [time .. ] tag. or skip to: http://developer.akopia.com/cgi-bin/ic/dev/ictags_81.html -- Jeff Carnahan - jcarnahan@networq.com From: interchange at my-school.com (IC-Admin ) Date: Mon, 30 Apr 2001 18:06:48 -0400 (EDT) Subject: [ic] the online list archives It's not important, but I wonder, if anyone has realized that the online mail archives are a. screwed up with regards to their dates (as of April 17th) b. not displayed since May 8th (this should be April 24th) c. according to their calendar, we have today May 14th... just in case it slipped the attention. Or is it just me, who thinks that IC was always ahead of the crowd...so the dates shouldn't be a suprise... :-) BF From: map at hq.mycity.com (Michael Patton ) Date: Mon, 30 Apr 2001 18:28:40 -0400 (EDT) Subject: [ic] MySql Problem - additional fix info. Regarding: 4.7.1 using 'foundation' and MYSQL *almost* works. MOST of the tables > get created except for one. The error log says: > > -------------------- > table 'options' failed: connect failed (create) -- Access denied for > user: 'mandd@localhost' (Using password: NO) Jon replied: The SQLUSER and SQLPASS variables hadn't been set in the dbconf/options.mysql file -- it's a new table in 4.7 and that was overlooked. It's fixed in CVS. Thanks for reporting that. it's actually as easy as this: Database options USER __SQLUSER__ Database options PASS __SQLPASS__ for whatever you have SQLUSER/SQLPASS in the mysql.cfg file for that catalog. sorry if it's duplicated info. --There's a whole lotta ocean out there, and a whole lotta me in here *Me on a Monday Michael Patton, Web Developer www.mycity.com, map@mycity.com From: thomas at prometheas.gr (Thomas N. Stefanidis ) Date: Tue, 01 May 2001 02:08:37 +0300 Subject: [ic] simple if tag with photo Hello list, I have 2 small gifs i want to display along with every product. Those 2 little gifs depents on the product category. What i what to do is : If the category of the product is "A" then display the 1.gif else if category is "B" show the 2.gif Thomas From: jcarnahan at networq.com (Jeff Carnahan ) Date: Mon, 30 Apr 2001 16:47:48 -0700 Subject: [ic] simple if tag with photo }If the category of the product is "A" then display the 1.gif }else if category is "B" show the 2.gif } Thomas, again this is something you can figure out if you read the documentation. Follow the steps I referenced in my prior email (see below) -- If you continue to email the mailing list with questions such as these (where the answers are clearly documented) I suspect you will receive few responses (and perhaps some harsh criticisms). Please take a moment to read the documentation first, that's what it's there for. This mailing list isn't a subsitute for that. You can also try looking at the code for the Construct catalog. It's included with your Interchange installation. Visit: http://developer.akopia.com/ Click Documentation -- Reference Guide Click Interchange Templates Click Section 5.1 -- On-the-fly Catalog Pages check out the: [if-item-field ... ] tag. or go here: http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_23.html In your case, try: [if-item-field category eq "A"] ... [/if-item-field] -- Jeff Carnahan - jcarnahan@networq.com From: jeff at supertrucksunlimited.com (jeff at supertrucksunlimited.com ) Date: Mon, 30 Apr 2001 17:05:36 -0700 Subject: [ic] REMOVE ME!!! REMOVE ME!!! REMOVE ME!!! REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!! Will my e-mail me blocked automatically if I try to spam the mailing list? All I want is OUT of this darn list. Thanks! Jeff ----- Original Message ----- From: "Jeff Carnahan" <jcarnahan@networq.com> To: <interchange-users@lists.akopia.com> Sent: Monday, April 30, 2001 4:47 PM Subject: RE: [ic] simple if tag with photo > }If the category of the product is "A" then display the 1.gif > }else if category is "B" show the 2.gif > } > > Thomas, again this is something you can figure out if you read the > documentation. Follow the steps I referenced in my prior email (see > below) -- If you continue to email the mailing list with questions such as > these (where the answers are clearly documented) I suspect you will receive > few responses (and perhaps some harsh criticisms). > > Please take a moment to read the documentation first, that's what it's there > for. This mailing list isn't a subsitute for that. You can also try looking > at the code for the Construct catalog. It's included with your Interchange > installation. > > Visit: http://developer.akopia.com/ > > Click Documentation -- Reference Guide > > Click Interchange Templates > > Click Section 5.1 -- On-the-fly Catalog Pages > > check out the: > > [if-item-field ... ] > > tag. > > or go here: > > http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_23.html > > In your case, try: > > [if-item-field category eq "A"] > .. > [/if-item-field] > > -- > Jeff Carnahan - jcarnahan@networq.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: matt at brightredproductions.com (Matthew Schick ) Date: 30 Apr 2001 19:48:43 -0500 Subject: [ic] REMOVE ME!!! REMOVE ME!!! REMOVE ME!!! Maybe following the link at the bottom of all these messages could work???? You think???? <sarcasm off> On 30 Apr 2001 17:05:36 -0700, jeff@supertrucksunlimited.com wrote: > REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > ME!!! > > Will my e-mail me blocked automatically if I try to spam the mailing list? > All I want is OUT of this darn list. Thanks! > > Jeff > ----- Original Message ----- > From: "Jeff Carnahan" <jcarnahan@networq.com> > To: <interchange-users@lists.akopia.com> > Sent: Monday, April 30, 2001 4:47 PM > Subject: RE: [ic] simple if tag with photo > > > > }If the category of the product is "A" then display the 1.gif > > }else if category is "B" show the 2.gif > > } > > > > Thomas, again this is something you can figure out if you read the > > documentation. Follow the steps I referenced in my prior email (see > > below) -- If you continue to email the mailing list with questions such as > > these (where the answers are clearly documented) I suspect you will > receive > > few responses (and perhaps some harsh criticisms). > > > > Please take a moment to read the documentation first, that's what it's > there > > for. This mailing list isn't a subsitute for that. You can also try > looking > > at the code for the Construct catalog. It's included with your Interchange > > installation. > > > > Visit: http://developer.akopia.com/ > > > > Click Documentation -- Reference Guide > > > > Click Interchange Templates > > > > Click Section 5.1 -- On-the-fly Catalog Pages > > > > check out the: > > > > [if-item-field ... ] > > > > tag. > > > > or go here: > > > > http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_23.html > > > > In your case, try: > > > > [if-item-field category eq "A"] > > .. > > [/if-item-field] > > > > -- > > Jeff Carnahan - jcarnahan@networq.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: doug at lathi.net (Doug Alcorn ) Date: 30 Apr 2001 21:19:40 -0400 Subject: [ic] using the perl api for ord/basket Mike Heins <mikeh@minivend.com> writes: > Perhaps > > [mvasp tables="products pricing"] > > would help. Doh! That's what I get for coding at 4am. :( -- (__) Doug Alcorn <doug@lathi.net> http://www.lathi.net chat:lathinet@yahoo|aol oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: john at netrom.com (John Vozza ) Date: Mon, 30 Apr 2001 21:34:37 -0400 (EDT) Subject: [ic] REMOVE ME!!! REMOVE ME!!! REMOVE ME!!! The ignorance of some is underwhelming... ------------------------------------------------------------------------- NetRom Internet Services 973-208-1339 voice john@netrom.com 973-208-0942 fax http://www.netrom.com ------------------------------------------------------------------------- On 30 Apr 2001, Matthew Schick wrote: > Maybe following the link at the bottom of all these messages could > work???? You think???? <sarcasm off> > On 30 Apr 2001 17:05:36 -0700, jeff@supertrucksunlimited.com wrote: > > REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > ME!!! > > > > Will my e-mail me blocked automatically if I try to spam the mailing list? > > All I want is OUT of this darn list. Thanks! > > > > Jeff > > ----- Original Message ----- > > From: "Jeff Carnahan" <jcarnahan@networq.com> > > To: <interchange-users@lists.akopia.com> > > Sent: Monday, April 30, 2001 4:47 PM > > Subject: RE: [ic] simple if tag with photo > > > > > > > }If the category of the product is "A" then display the 1.gif > > > }else if category is "B" show the 2.gif > > > } > > > > > > Thomas, again this is something you can figure out if you read the > > > documentation. Follow the steps I referenced in my prior email (see > > > below) -- If you continue to email the mailing list with questions such as > > > these (where the answers are clearly documented) I suspect you will > > receive > > > few responses (and perhaps some harsh criticisms). > > > > > > Please take a moment to read the documentation first, that's what it's > > there > > > for. This mailing list isn't a subsitute for that. You can also try > > looking > > > at the code for the Construct catalog. It's included with your Interchange > > > installation. > > > > > > Visit: http://developer.akopia.com/ > > > > > > Click Documentation -- Reference Guide > > > > > > Click Interchange Templates > > > > > > Click Section 5.1 -- On-the-fly Catalog Pages > > > > > > check out the: > > > > > > [if-item-field ... ] > > > > > > tag. > > > > > > or go here: > > > > > > http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_23.html > > > > > > In your case, try: > > > > > > [if-item-field category eq "A"] > > > .. > > > [/if-item-field] > > > > > > -- > > > Jeff Carnahan - jcarnahan@networq.com > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: adi at adis.on.ca (Adi Linden ) Date: Mon, 30 Apr 2001 20:45:38 -0500 (CDT) Subject: [ic] REMOVE ME!!! REMOVE ME!!! REMOVE ME!!! Hi, Hmmm... I've been trying to unsubscribe a few times without success (don't want to fill my mailbox during travel). Can't do it from the web interface, can't do it via email... I can understand his frustrations... TTYL, Adi On Mon, 30 Apr 2001, John Vozza wrote: > The ignorance of some is underwhelming... > > ------------------------------------------------------------------------- > NetRom Internet Services 973-208-1339 voice > john@netrom.com 973-208-0942 fax > http://www.netrom.com > ------------------------------------------------------------------------- > > > On 30 Apr 2001, Matthew Schick wrote: > > > Maybe following the link at the bottom of all these messages could > > work???? You think???? <sarcasm off> > > On 30 Apr 2001 17:05:36 -0700, jeff@supertrucksunlimited.com wrote: > > > REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE > > > ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE ME!!!REMOVE From: jim at idk-enterprises.com (Jim Balcom ) Date: Mon, 30 Apr 2001 21:59:06 -0400 (EDT) Subject: [ic] REMOVE ME!!! REMOVE ME!!! REMOVE ME!!! On Mon, 30 Apr 2001, Adi Linden wrote: AL>>Hmmm... I've been trying to unsubscribe a few times without success AL>>(don't want to fill my mailbox during travel). Can't do it from the web AL>>interface, can't do it via email... AL>> AL>>I can understand his frustrations... I can't! Just go to the link and follow the instructions! What is so damned difficult about it? When you joined you got e-mail that tells you how to shut it off. It told you to save the instructions. Just go look at that message, and follow the instructions! This is NOT rocket science! Why do the rest of us have to put up with this stupidity? If the list wants stupidity, then I'll gladly supply all that it wants! I resent you intruding into my turf! I am the sole supplier of stupidity here. If you want to supply stupidity, then you have to pay me for the privilege! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, April 30, 2001 at 21:50 PM: The cream rises to the top. So does the scum... ---------------------------------------------------------------- This Linux System has been up 55 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: vze2b8qi at verizon.net (tom ) Date: Mon, 30 Apr 2001 23:24:09 -0400 Subject: [ic] options? Can someone please explain how I put options for a item? Im trying to put size in and i seem im not doing something right. as it dont show up in the cart. From: jbeima at reality.palb.com (John Beima ) Date: Mon, 30 Apr 2001 21:31:07 -0600 (MDT) Subject: [ic] How to use this simple tag? If I recall correctly you have to define the modified "url" in the catalog.cfg file... Take a look see in the docs for the catalog.cfg file. Or scan the catalog.cfg file for size color etc etc... John Beima Quoting "Thomas N. Stefanidis" <thomas@prometheas.gr>: > I have created in the a new field in the product page called "url" > I want when i a write a url to display(in the flypage) it along with the > word "url". > If there is no url,i want not to display the word "url". > I was thinking something like that below,but it doesn't work(this is > from the mail.receipt page) > > [if-modifier url] url : [item-modifier url][/if-modifier] > > > I use Interchange 4.6.5 > > Any ideas?? > > > Thank you > > Thomas > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: tom at redpepperracing.com (Tom Lichti ) Date: Mon, 30 Apr 2001 23:33:00 -0400 Subject: [ic] Ordering question Hello, IC users, I have checked the documentation, and searched the archives, but I couldn't find the answer to my question, although I am probably missing something obvious. What I want to do is change the order process such that no payment info is taken, but everything else is done normally. We are a small business (so far!) and although technology is great, we want to give our customers the 'personal touch'. I used the 'construct' catalog as my base. I have read through the catalog.cfg, and the documentation on the web, but haven't really found what I'm looking for. I am using IC 4.6.3. Any help would be greatly appreciated. Thanks Tom Lichti Red Pepper Racing From: jbeima at reality.palb.com (John Beima ) Date: Mon, 30 Apr 2001 21:33:50 -0600 (MDT) Subject: [ic] __DISPLAYDATE__ Geee looks like I am not the only one tired of stupid questions from people not even bothering to look at the docs! (-: John Beima Quoting Jeff Carnahan <jcarnahan@networq.com>: > }I want to use this tag,but it's displalying in English. > }How can i use this in my locales? (Greek) > } > > Yet another question that can easily be answered by taking a moment to > read > the documentation. > > Go to: http://developer.akopia.com/ > > Enter "locale date" in the search box. > > Look at the link it provides you.. It will be for the [time .. ] tag. > > or skip to: > > http://developer.akopia.com/cgi-bin/ic/dev/ictags_81.html > > -- > Jeff Carnahan - jcarnahan@networq.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: voodoo at idola.net.id (Voodoo) Date: Tue, 1 May 2001 11:02:53 +0700 Subject: [ic] How to use the other perl? Hi all, I have two different versions perl in my Cobalt RAQ-2 Linux (mipsel). One is /usr/bin/perl (5.00503) and the other one is /usr/local/bin/perl (5.6.1) Don't know why, but when I install interchange for the first time, it installed everything, including Perl 5.6.1 in /usr/local/bin/perl. And, the Interchange can only works with 5.6.1. (I copied /usr/local/bin/perl (5.6.1) to /usr/bin/) It won't work with the original /usr/bin/perl (5.00503) But another problems occured, that a lot of scripts do not work with 5.6.1 (when I replaced 5.00503 with 5.6.1 in /usr/bin/perl) So now I want to separate the perl needs, Interchange will use 5.6.1 in /usr/local/bin/perl, and all other scripts will use the regular 5.00503 in /usr/bin/perl. My question is, How to instruct the Interchange to use the "/usr/local/bin/perl"? instead of the regular /usr/bin/perl. Is it just as simple as changing a .cfg file? Or do I have to recompile the Interchange all over again? Or else? Any help would be very appreciated. Thank you, Didiek P. voodoo@idola.net.id From: tedly4 at home.com (tony edly) Date: Tue, 1 May 2001 01:33:25 -0400 Subject: [ic] cant install on freeBSD 4.2 I'd certainly appreciate any help on this. Thanks. Heres the where it ends: /usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i386- -I/usr/local/lib/perl5/5.6. 1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/restart Can't find string terminator "]" anywhere before EOF at -e line 4. *** Error code 255 Stop in /usr/files/interchange-4.6.5. PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i386- -I/u sr/local/lib/perl5/5.6.1 test.pl server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........ok 5 server/control........ok 6 6 tests run, all tests successful. Can't find string terminator "]" anywhere before EOF at -e line 4. *** Error code 255 From: me at briankohles.com (Brian Kohles) Date: Tue, 1 May 2001 03:04:29 -0600 Subject: [ic] DHTML magic popup menus for IC I saw a couple of posts recently of people asking for some cool DHTML type menus for Interchange, so I thought I'd write one. You can view the demo & download the package @ http://www.briankohles.com/interchange/construct.cgi the demo just uses the standard left side menu from the construct catalog & makes it into a popup menu. You can of course easily modify the code to work with any type of menu you can create in Interchange. Comments, questions, death threats, christmas lists, love letters, eviction notices, Dear Jon letters, etc. can be sent directly to me if they don't really relate to the list. Brian Kohles me@BrianKohles.com -- It's not a shooting star... It's an angel falling from heaven, and burning up in the earth's atmosphere. -me From: mikeofholmes at hotmail.com (Mike Holmes) Date: Tue, 01 May 2001 09:47:13 -0700 Subject: [ic] Hash for mv_order_size Hello List, On the flypage the size for an item is set using <name=mv_order_size value="size">... and once the item is added to the cart, size can be retreived with [item-modifier size]. How do I access the hash that holds this info. I've tried this with no luck. [calc] $Values{mv_order_size} = '[value new_size]'; [/calc] Thanks Mike Holmes _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: edl at newmediaems.com (Ed LaFrance) Date: Tue, 01 May 2001 09:56:11 -0700 Subject: [ic] Hash for mv_order_size At 09:47 AM 05/01/2001 -0700, you wrote: >Hello List, > >On the flypage the size for an item is set using ><name=mv_order_size value="size">... >and once the item is added to the cart, size can be retreived with >[item-modifier size]. How do I access the hash that holds this >info. > >I've tried this with no luck. >[calc] >$Values{mv_order_size} = '[value new_size]'; >[/calc] http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html ...take a look at the $Carts and $Items refs. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- 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: doug at lathi.net (Doug Alcorn) Date: 01 May 2001 12:49:55 -0400 Subject: [ic] Ordering question Tom Lichti <tom@redpepperracing.com> writes: > What I want to do is change the order process such that no payment > info is taken, but everything else is done normally. We are a small > business (so far!) and although technology is great, we want to give > our customers the 'personal touch'. It's not too hard to add new order methods. On one catalog I allowed for "Call In". Basically the order went on file and the store got the email. However, no payment terms were taken. Then either the store ro the customer made the phone call to finish the order. Is that what you're wanting? I would have to do some hunting to find out how I did that. They ultimately dropped this feature. I don't know if I still have the code or not. The place to start looking is for payment methods on the checkout page. I think there used to be a payment method of "Call me" or some such. I think what I had to do was restore some of the missing pieces for this "Call me" paymen method. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: doug at lathi.net (Doug Alcorn) Date: 01 May 2001 12:54:00 -0400 Subject: [ic] How to use the other perl? "Voodoo" <voodoo@idola.net.id> writes: > My question is, How to instruct the Interchange to use the > "/usr/local/bin/perl"? instead of the regular /usr/bin/perl. > > Is it just as simple as changing a .cfg file? Or do I have to > recompile the Interchange all over again? Or else? This may be too simple of an answer, but can you just modify the first line of your interchange daemon? Remember, it's just a perl script itself. On my system, the /usr/local/interchange/bin/interchange script starts like this: #!/usr/local/bin/perl If yours says "#!/usr/bin/perl" you should be able to chang it to the above without any problems. Then restore your perl 5.005 in /usr/bin. -- (__) 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: tom at redpepperracing.com (Tom Lichti) Date: Tue, 01 May 2001 13:41:43 -0400 Subject: [ic] Ordering question Yes that is exactly what I am looking for. I'll look for that stuff, and if you happen to find the code, even better! Tom --On Tuesday, May 01, 2001 12:49 PM -0400 Doug Alcorn <doug@lathi.net> wrote: > Tom Lichti <tom@redpepperracing.com> writes: > >> What I want to do is change the order process such that no payment >> info is taken, but everything else is done normally. We are a small >> business (so far!) and although technology is great, we want to give >> our customers the 'personal touch'. > > > It's not too hard to add new order methods. On one catalog I allowed > for "Call In". Basically the order went on file and the store got the > email. However, no payment terms were taken. Then either the store > ro the customer made the phone call to finish the order. Is that what > you're wanting? > > I would have to do some hunting to find out how I did that. They > ultimately dropped this feature. I don't know if I still have the > code or not. > > The place to start looking is for payment methods on the checkout > page. I think there used to be a payment method of "Call me" or some > such. I think what I had to do was restore some of the missing pieces > for this "Call me" paymen method. > -- > (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > |_/ If you're a capitalist and you have the best goods and they're > free, you don't have to proselytize, you just have to wait. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: joshnarins at narinsky.com (josh) Date: Tue, 1 May 2001 19:33:41 +0000 ( ) Subject: [ic] Extra userdb Fields I've changed the database [ALTER TABLE userdb ADD myfield char(16)] And added a <INPUT TYPE=checkbox NAME=myfield VALUE="[value myfield]"> and am getting two odd results. Firstly, the value the first time I load the page of the checkbox, using view source, is / The other result is not exactly odd, but undesirable. When the user selects "Save Acct Info" the new field is not inserted in the database (although all the standard stuff (fname, lname, etc.) works as expected). On this same topic, are there any issues I should know about using hidden input fields in the same way? ex. <INPUT type=hidden name="MyOtherNewField" value="[value MyOtherNewField]"> -Josh From: mikeofholmes at hotmail.com (Mike Holmes) Date: Tue, 01 May 2001 11:49:35 -0700 Subject: [ic] Hash for mv_order_size >From: Ed LaFrance <edl@newmediaems.com> >> >>On the flypage the size for an item is set using >><name=mv_order_size value="size">... >>and once the item is added to the cart, size can be retreived with >>[item-modifier size]. How do I access the hash that holds this >>info. >> >>I've tried this with no luck. >>[calc] >>$Values{mv_order_size} = '[value new_size]'; >>[/calc] > >http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html > >...take a look at the $Carts and $Items refs. > >- Ed L. Yes, $Carts->{main}['[line item number]']{size} = '[value edit_size]'; works... Thanks Ed _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: tails at xmission.com (tails) Date: Tue, 1 May 2001 13:13:03 -0600 (MDT) Subject: [ic] extra payment options Hey all I've been playing and tweeking with the construct demo and i've added a new payment choice however when I'm in the web interface under payment options I just have the normal Visa/Mc/Dis/Amex/Diners/Online Check/Cod/Postal/Po I don't see my choice in the list what do I need to do to link it? Any help would be great ~Greg From: jon at akopia.com (Jon Jensen) Date: Tue, 1 May 2001 16:45:10 -0500 (CDT) Subject: [ic] Need help on new ictags document Bill Dawkins from our professional services group just spent about 2 months on a new, completely rewritten tag reference for Interchange. He tried to track down all tags, options, and features by reading the code, and has done a great job. We're looking for a few people to help us proofread it before we release it. We could also use the help of a few experienced Interchange developers to finish documenting the standard Usertags that come with Interchange. If you'd like to help out, please email me privately. Thanks, Jon From: db at cyclonehq.dnsalias.net (Dan B) Date: Tue, 01 May 2001 15:20:56 -0700 Subject: [ic] Ordering question At 11:33 PM 4/30/2001 -0400, you wrote: >Hello, IC users, > >I have checked the documentation, and searched the archives, but I >couldn't find the answer to my question, although I am probably missing >something obvious. > >What I want to do is change the order process such that no payment info is >taken, but everything else is done normally. We are a small business (so >far!) and although technology is great, we want to give our customers the >'personal touch'. > >I used the 'construct' catalog as my base. I have read through the >catalog.cfg, and the documentation on the web, but haven't really found >what I'm looking for. I am using IC 4.6.3. > >Any help would be greatly appreciated. etc/profiles.order: remove the creditcard/etc. related stuff checkout.html: remove the HTML for related questions/form fields. That might do it. Have you gone through the tutorial? Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B) Date: Tue, 01 May 2001 15:24:52 -0700 Subject: [ic] Extra userdb Fields At 07:33 PM 5/1/2001 +0000, you wrote: >I've changed the database [ALTER TABLE userdb ADD myfield char(16)] >And added a <INPUT TYPE=checkbox NAME=myfield VALUE="[value myfield]"> Did you also modify the dbconf/xxsql/.xxsql file? The file format is self explanatory. >and am getting two odd results. > >Firstly, the value the first time I load the page of the checkbox, using >view source, is / > >The other result is not exactly odd, but undesirable. >When the user selects "Save Acct Info" the new field is not inserted in >the database (although all the standard stuff (fname, lname, etc.) works >as expected). > >On this same topic, are there any issues I should know about using hidden >input fields in the same way? > ex. <INPUT type=hidden > name="MyOtherNewField" > value="[value MyOtherNewField]"> Good luck, -Dan B. From: tech at khouse.org (Russ Mann) Date: Tue, 1 May 2001 16:52:25 -0600 Subject: [ic] Shipping Problem - USPS Shipping - Round 4 Hello List, Does anyone out there have a working IC 4.6 with a UPS Style look up for US Postal Service shipping option? Thanks, Russ Sent: Wednesday, April 25, 2001 11:23 AM To: Interchange Users Subject: [ic] Shipping Problem - USPS Shipping - Round 3 Does anyone have USPS shipping implemented in Interchange? Does anyone know the proper file format for UPS style lookup config files? Thanks Sent: Monday, April 23, 2001 12:26 PM To: Interchange Users Subject: [ic] Shipping Problem - USPS Shipping - Round 2 Sent: Friday, April 20, 2001 1:41 PM To: interchange-users@lists.akopia.com Subject: [ic] Shipping Problem - Full Details Enclosed, Does Anyone know how it works? Hello List, I am trying to set up USPS lookup shipping in IC 4.6.4. This is what I've done: shipping.asc file: code description criteria min max formula 0 No shipping weight 0 99999999 e No shipping mode selected. default No shipping weight 0 99999999 g PriceDivide upsg UPS Ground weight 0 0 e Nothing to ship! upsg UPS Ground weight 0 150 u Ground [value zip] upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS ups3 UPS Three Day weight 0 0 e Nothing to ship! ups3 UPS Three Day weight 0 150 u 3DaySelect [value zip] ups3 UPS Three Day weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS ups2 UPS Two Day weight 0 0 e Nothing to ship! ups2 UPS Two Day weight 0 150 u 2ndDayAir [value zip] ups2 UPS Two Day weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS upsbak UPS Two Day AK/HI weight 0 0 c A UPS products/AKHI.csv 5 1 upsbak UPS Two Day AK/HI weight -1 -1 o PriceDivide=0 upsbak UPS Two Day AK/HI weight 0 0 e Nothing to ship upsbak UPS Two Day AK/HI weight 0 150 A 2ndDayAir [value zip] upsbak UPS Two Day AK/HI weight 150 999999 e Not Available uspspm USPS Mail weight 0 0 c B products/usps838.csv uspspm USPS Mail weight -1 -1 o PriceDivide=0 uspspm USPS Mail weight 0 0 e Nothing to ship uspspm USPS Mail weight 0 70 B Priority [value zip] uspspm USPS Mail weight 70 999999 e @@TOTAL@@ lbs to heavy for USPS Mail. Priority.csv file: Weight,1,2,3,4,5,6,7,8 1,3.5,3.5,3.5,3.5,3.5,3.5,3.5,3.5 2,3.95,3.95,3.95,3.95,3.95,3.95,3.95,3.95 3,5.15,5.15,5.15,5.15,5.15,5.15,5.15,5.15 4,6.35,6.35,6.35,6.35,6.35,6.35,6.35,6.35 5,7.55,7.55,7.55,7.55,7.55,7.55,7.55,7.55 6,7.9,7.9,7.9,8.1,8.15,8.25,9.5,10.35 7,8.25,8.25,8.25,8.65,8.75,8.95,10.45,11.65 8,8.5,8.5,8.5,9.2,9.35,9.65,11.4,12.95 9,8.65,8.65,8.65,9.75,9.95,10.35,12.35,14.25 10,8.75,8.75,8.75,10.3,10.55,11.05,13.3,15.55 11,9,9,9,10.85,11.15,11.75,14.25,16.85 12,9.25,9.25,9.25,11.4,11.75,12.45,15.2,18.15 13,9.6,9.6,9.6,11.95,12.35,13.15,16.15,19.45 14,9.95,9.95,9.95,12.5,12.95,13.85,17.1,20.75 15,10.3,10.3,10.3,13.05,13.55,14.55,18.05,22.05 16,10.65,10.65,10.65,13.6,14.15,15.25,19,23.35 17,11,11,11,14.15,14.75,15.95,19.95,24.65 18,11.35,11.35,11.35,14.7,15.35,16.65,20.9,25.95 19,11.7,11.7,11.7,15.25,15.95,17.35,21.85,27.25 20,12.05,12.05,12.05,15.8,16.55,18.05,22.8,28.55 (It continues on to 70 lbs.) usps838.csv file: "ZONE CHART" "USPS Priority" Dest. ZIP, Priority 005-098, 8 100-212, 8 214-268, 8 270-342, 8 344, 8 346-347, 8 349-352, 8 354-355, 8 356-358, 7 359-369, 8 370-372, 7 373-374, 8 375, 7 376-379, 8 380-392, 7 393-395, 8 396-397, 7 399, 8 400-406, 7 407-409, 8 410, 7 411-412, 8 413-414, 7 415-418, 8 420-427, 7 430-438, 7 439, 8 440-443, 7 444-447, 8 448-456, 7 457, 8 458-497, 7 498-516, 6 520-528, 6 530-532, 7 534, 7 535, 6 537-551, 6 553-564, 6 565, 5 566, 6 567, 5 (Continues to all zip codes). This is the error I get when I restart the interchange daemon: - - - [20/April/2001:12:41:43 -0800] catalog - Bad shipping file for zone 'B', lookup disabled. This is the error I get when trying to check out (should be performing the lookup). 63.46.217.58 xLFAk3ru:63.46.217.58 - [20/April/2001:12:42:46 -0800] catalog /store/catalog/process.html products/usps838.csv lookup called, zone data not found UPS Shipping, and the AK/HI shipping, all work properly. I've read as many docs as I can, searched the mailing list, and tried many things by experimentation. Does anyone have any suggestions? Thanks, Russ _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance) Date: Tue, 01 May 2001 15:54:31 -0700 Subject: [ic] Need help on new ictags document At 04:45 PM 05/01/2001 -0500, you wrote: >Bill Dawkins from our professional services group just spent about 2 >months on a new, completely rewritten tag reference for Interchange. He >tried to track down all tags, options, and features by reading the code, >and has done a great job. > >We're looking for a few people to help us proofread it before we release >it. We could also use the help of a few experienced Interchange developers >to finish documenting the standard Usertags that come with Interchange. > >If you'd like to help out, please email me privately. > Jon - I would like to take a crack at this. I have a fairly busy consulting schedule, but this is important enough that I would make some time for it. Write me back with the how's and wherefor's. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- 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: edl at newmediaems.com (Ed LaFrance) Date: Tue, 01 May 2001 15:55:50 -0700 Subject: Fwd: Re: [ic] Need help on new ictags document Sorry all - that was supposed to go directly to Jon - Oops. - Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- 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: edl at newmediaems.com (Ed LaFrance) Date: Tue, 01 May 2001 16:00:54 -0700 Subject: [ic] Usertag env Hello all - Here is another Usertag which I trust some will find useful. - Ed L. # Interchange UserTag env - see documentation for more information # # Copyright 2001 by Ed LaFrance <edl@newmediaems.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA. # # # SUMMARY: Provides read only access to the http environment # variables; individually by name, or the full # list. # # USEAGE: to see a the full list as a table: # [env] # # to return one the value of one variable: # [env VARNAME] # [env arg="VARNAME"] # # NOTES: Works when configured in either catalog.cfg # or interchange.cfg. Thanks to Mike Heins and # the programming team at RH/Akopia for the # numerous examples in the demos and UI - I # don't think I could come up with stuff like # this without it. Usertag env Order arg Usertag env PosNumber 1 Usertag env Routine <<EOR sub { my $arg = shift; my $env = ::http()->{env}; my $out; if (! $arg) { $out = "<table cellpadding=2 cellspacing=1 border=1>\n"; foreach ((keys %$env)) { $out .= "<tr><td><b>$_\&nbsp;<\/b><\/td><td>"; $out .= "$env->{$_}\&nbsp;<\/td>\n<\/tr><tr>\n"; } $out .= "<\/table>\n"; } else { $out = $env->{$arg}; } return $out; } EOR =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- 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: phil at phil-taylor.com (Phil Taylor) Date: Wed, 2 May 2001 00:57:52 +0100 Subject: [ic] RaQ3 Has anyone suceeded in installing interchange on a cobalt raq3 ??? Help needed asap thanks. _Phil_ From: icottee at bluefountain.com (Ian J Cottee) Date: Wed, 2 May 2001 09:08:41 +0900 Subject: [ic] RaQ3 > Has anyone suceeded in installing interchange on a cobalt raq3 ??? > > Help needed asap > > thanks. > _Phil_ I installed it on a RAQ3 for somebody who appeared on irc asking for help. They had a 'friend' who had decided that interchange doesn't work on a RAQ3. After removing three different installations the friend had left and cleaning up the apache config file it worked well. What's the problem? Ian From: phil at phil-taylor.com (Phil Taylor) Date: Wed, 2 May 2001 01:15:59 +0100 Subject: [ic] RaQ3 IAN I am online now. can we chat over this please - I will pay you... Email phil@phil-taylor.com Thanks. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ian J Cottee Sent: 02 May 2001 01:09 To: interchange-users@lists.akopia.com Subject: RE: [ic] RaQ3 > Has anyone suceeded in installing interchange on a cobalt raq3 ??? > > Help needed asap > > thanks. > _Phil_ I installed it on a RAQ3 for somebody who appeared on irc asking for help. They had a 'friend' who had decided that interchange doesn't work on a RAQ3. After removing three different installations the friend had left and cleaning up the apache config file it worked well. What's the problem? Ian _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: vze2b8qi at verizon.net (tom) Date: Tue, 01 May 2001 20:29:01 -0400 Subject: [ic] options not showing in foundation demo I set up a couple of items and put this in options like this med, lg, x-lg. Options not showing up for item am i missing something or it dont work here. Im using interchange 4.7 version From: phil at phil-taylor.com (Phil Taylor) Date: Wed, 2 May 2001 01:23:18 +0100 Subject: [ic] RaQ3 The problem is well raised in the archives of this mailing list but nobody has posted a fix yet. The install went well (I am a windows man but I just about followed what was happening) I crated a catalog and saw the frong page load okay. Its all about cgi problems!! When clicking the admin link i get an internet explorer error 404 not found but the file is definatly there with right permissions. Looking back through the archives its something to do with pathinfo strings and stuff Please help this windows expert get linux (cobalt) working ;-) Phil. -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ian J Cottee Sent: 02 May 2001 01:09 To: interchange-users@lists.akopia.com Subject: RE: [ic] RaQ3 > Has anyone suceeded in installing interchange on a cobalt raq3 ??? > > Help needed asap > > thanks. > _Phil_ I installed it on a RAQ3 for somebody who appeared on irc asking for help. They had a 'friend' who had decided that interchange doesn't work on a RAQ3. After removing three different installations the friend had left and cleaning up the apache config file it worked well. What's the problem? Ian _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: tom at redpepperracing.com (Tom Lichti) Date: Tue, 01 May 2001 20:23:48 -0400 Subject: [ic] Ordering question I'll try that also. I haven't done the tutorial, I've been kind of faking my way through it so far! Thanks for the pointer. Tom --On Tuesday, May 01, 2001 3:20 PM -0700 Dan B <db@cyclonehq.dnsalias.net> wrote: > At 11:33 PM 4/30/2001 -0400, you wrote: > >> Hello, IC users, >> >> I have checked the documentation, and searched the archives, but I >> couldn't find the answer to my question, although I am probably missing >> something obvious. >> >> What I want to do is change the order process such that no payment info >> is taken, but everything else is done normally. We are a small business >> (so far!) and although technology is great, we want to give our >> customers the 'personal touch'. >> >> I used the 'construct' catalog as my base. I have read through the >> catalog.cfg, and the documentation on the web, but haven't really found >> what I'm looking for. I am using IC 4.6.3. >> >> Any help would be greatly appreciated. > > etc/profiles.order: remove the creditcard/etc. related stuff > checkout.html: remove the HTML for related questions/form fields. > > That might do it. Have you gone through the tutorial? > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: icottee at bluefountain.com (Ian J Cottee) Date: Wed, 2 May 2001 09:48:09 +0900 Subject: [ic] RaQ3 Phil - you don't need to pay me :-) First of all take a look at the cgi permissions in your apache.conf - what are they showing you? I seem to recall they caused some problems. Ian From: Joswe at email.msn.com (Joswe) Date: Tue, 1 May 2001 22:31:24 -0500 Subject: [ic] remove ----- Original Message ----- From: <interchange-users-admin@lists.akopia.com> To: <interchange-users@lists.akopia.com> Sent: Tuesday, May 01, 2001 5:54 PM Subject: Interchange-users digest, Vol 1 #480 - 21 msgs > > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. options? (tom) > 2. Re: How to use this simple tag? (John Beima) > 3. Ordering question (Tom Lichti) > 4. RE: __DISPLAYDATE__ (John Beima) > 5. How to use the other perl? (Voodoo) > 6. cant install on freeBSD 4.2 (tony edly) > 7. DHTML magic popup menus for IC (Brian Kohles) > 8. Hash for mv_order_size (Mike Holmes) > 9. Re: Hash for mv_order_size (Ed LaFrance) > 10. Re: Ordering question (Doug Alcorn) > 11. Re: How to use the other perl? (Doug Alcorn) > 12. Re: Ordering question (Tom Lichti) > 13. Extra userdb Fields (josh) > 14. Re: Hash for mv_order_size (Mike Holmes) > 15. extra payment options (tails) > 16. Need help on new ictags document (Jon Jensen) > 17. Re: Ordering question (Dan B) > 18. Re: Extra userdb Fields (Dan B) > 19. Shipping Problem - USPS Shipping - Round 4 (Russ Mann) > 20. Re: Need help on new ictags document (Ed LaFrance) > 21. Fwd: Re: [ic] Need help on new ictags document (Ed LaFrance) > > --__--__-- > > Message: 1 > Date: Mon, 30 Apr 2001 23:24:09 -0400 > From: tom <vze2b8qi@verizon.net> > To: interchange-users@lists.akopia.com > Subject: [ic] options? > Reply-To: interchange-users@lists.akopia.com > > Can someone please explain how I put options for a item? Im trying to > put size in and i seem im not doing something right. as it dont show up > in the cart. > > > --__--__-- > > Message: 2 > From: John Beima <jbeima@reality.palb.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] How to use this simple tag? > Date: Mon, 30 Apr 2001 21:31:07 -0600 (MDT) > Reply-To: interchange-users@lists.akopia.com > > If I recall correctly you have to define the modified "url" in the catalog.cfg > file... Take a look see in the docs for the catalog.cfg file. Or scan the > catalog.cfg file for size color etc etc... > > John Beima > > > Quoting "Thomas N. Stefanidis" <thomas@prometheas.gr>: > > > I have created in the a new field in the product page called "url" > > I want when i a write a url to display(in the flypage) it along with the > > word "url". > > If there is no url,i want not to display the word "url". > > I was thinking something like that below,but it doesn't work(this is > > from the mail.receipt page) > > > > [if-modifier url] url : [item-modifier url][/if-modifier] > > > > > > I use Interchange 4.6.5 > > > > Any ideas?? > > > > > > Thank you > > > > Thomas > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > --__--__-- > > Message: 3 > Date: Mon, 30 Apr 2001 23:33:00 -0400 > From: Tom Lichti <tom@redpepperracing.com> > To: interchange-users@lists.akopia.com > Subject: [ic] Ordering question > Reply-To: interchange-users@lists.akopia.com > > > Hello, IC users, > > I have checked the documentation, and searched the archives, but I couldn't > find the answer to my question, although I am probably missing something > obvious. > > What I want to do is change the order process such that no payment info is > taken, but everything else is done normally. We are a small business (so > far!) and although technology is great, we want to give our customers the > 'personal touch'. > > I used the 'construct' catalog as my base. I have read through the > catalog.cfg, and the documentation on the web, but haven't really found > what I'm looking for. I am using IC 4.6.3. > > Any help would be greatly appreciated. > > Thanks > Tom Lichti > Red Pepper Racing > > > > --__--__-- > > Message: 4 > From: John Beima <jbeima@reality.palb.com> > To: interchange-users@lists.akopia.com > Subject: RE: [ic] __DISPLAYDATE__ > Date: Mon, 30 Apr 2001 21:33:50 -0600 (MDT) > Reply-To: interchange-users@lists.akopia.com > > Geee looks like I am not the only one tired of stupid questions from people not > even bothering to look at the docs! (-: > > John Beima > > > > Quoting Jeff Carnahan <jcarnahan@networq.com>: > > > }I want to use this tag,but it's displalying in English. > > }How can i use this in my locales? (Greek) > > } > > > > Yet another question that can easily be answered by taking a moment to > > read > > the documentation. > > > > Go to: http://developer.akopia.com/ > > > > Enter "locale date" in the search box. > > > > Look at the link it provides you.. It will be for the [time .. ] tag. > > > > or skip to: > > > > http://developer.akopia.com/cgi-bin/ic/dev/ictags_81.html > > > > -- > > Jeff Carnahan - jcarnahan@networq.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > John Beima > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com > > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 > > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 > 2713B Spring Place SW, Decatur, Alabama, United States, 35603 > > --__--__-- > > Message: 5 > From: "Voodoo" <voodoo@idola.net.id> > To: <interchange-users@lists.akopia.com> > Date: Tue, 1 May 2001 11:02:53 +0700 > charset="iso-8859-1" > Subject: [ic] How to use the other perl? > Reply-To: interchange-users@lists.akopia.com > > Hi all, > > I have two different versions perl in my Cobalt RAQ-2 Linux (mipsel). > One is /usr/bin/perl (5.00503) and the other one is /usr/local/bin/perl > (5.6.1) > Don't know why, but when I install interchange for the first time, it > installed everything, including Perl 5.6.1 in /usr/local/bin/perl. > And, the Interchange can only works with 5.6.1. (I copied > /usr/local/bin/perl (5.6.1) to /usr/bin/) > It won't work with the original /usr/bin/perl (5.00503) > > But another problems occured, that a lot of scripts do not work with 5.6.1 > (when I replaced 5.00503 with 5.6.1 in /usr/bin/perl) > So now I want to separate the perl needs, Interchange will use 5.6.1 in > /usr/local/bin/perl, and all other scripts will use the regular 5.00503 in > /usr/bin/perl. > > My question is, How to instruct the Interchange to use the > "/usr/local/bin/perl"? instead of the regular /usr/bin/perl. > > Is it just as simple as changing a .cfg file? > Or do I have to recompile the Interchange all over again? > Or else? > > Any help would be very appreciated. > > Thank you, > Didiek P. > voodoo@idola.net.id > > > --__--__-- > > Message: 6 > From: "tony edly" <tedly4@home.com> > To: <interchange-users@lists.akopia.com> > Date: Tue, 1 May 2001 01:33:25 -0400 > charset="iso-8859-1" > Subject: [ic] cant install on freeBSD 4.2 > Reply-To: interchange-users@lists.akopia.com > > > I'd certainly appreciate any help on this. > Thanks. > Heres the where it ends: > > > /usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i386- -I/usr/local/lib/perl5/5.6. > 1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/restart > Can't find string terminator "]" anywhere before EOF at -e line 4. > *** Error code 255 > > Stop in /usr/files/interchange-4.6.5. > PERL_DL_NONLAZY=1 > /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i386- -I/u > sr/local/lib/perl5/5.6.1 test.pl > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........ok 5 > server/control........ok 6 > 6 tests run, all tests successful. > Can't find string terminator "]" anywhere before EOF at -e line 4. > *** Error code 255 > > > --__--__-- > > Message: 7 > From: "Brian Kohles" <me@briankohles.com> > To: <interchange-users@lists.akopia.com> > Date: Tue, 1 May 2001 03:04:29 -0600 > charset="iso-8859-1" > Subject: [ic] DHTML magic popup menus for IC > Reply-To: interchange-users@lists.akopia.com > > I saw a couple of posts recently of people asking for some cool DHTML > type menus for Interchange, so I thought I'd write one. > > You can view the demo & download the package @ > http://www.briankohles.com/interchange/construct.cgi the demo just uses the > standard left side menu from the construct catalog & makes it into a popup > menu. You can of course easily modify the code to work with any type of menu > you can create in Interchange. > > Comments, questions, death threats, christmas lists, love letters, > eviction notices, Dear Jon letters, etc. can be sent directly to me if they > don't really relate to the list. > > Brian Kohles > me@BrianKohles.com > -- > It's not a shooting star... > It's an angel falling from heaven, > and burning up in the earth's atmosphere. > -me > > > --__--__-- > > Message: 8 > From: "Mike Holmes" <mikeofholmes@hotmail.com> > To: interchange-users@minivend.com > Date: Tue, 01 May 2001 09:47:13 -0700 > Subject: [ic] Hash for mv_order_size > Reply-To: interchange-users@lists.akopia.com > > Hello List, > > On the flypage the size for an item is set using > <name=mv_order_size value="size">... > and once the item is added to the cart, size can be retreived with > [item-modifier size]. How do I access the hash that holds this > info. > > I've tried this with no luck. > [calc] > $Values{mv_order_size} = '[value new_size]'; > [/calc] > > Thanks > Mike Holmes > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > --__--__-- > > Message: 9 > Date: Tue, 01 May 2001 09:56:11 -0700 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] Hash for mv_order_size > Reply-To: interchange-users@lists.akopia.com > > At 09:47 AM 05/01/2001 -0700, you wrote: > >Hello List, > > > >On the flypage the size for an item is set using > ><name=mv_order_size value="size">... > >and once the item is added to the cart, size can be retreived with > >[item-modifier size]. How do I access the hash that holds this > >info. > > > >I've tried this with no luck. > >[calc] > >$Values{mv_order_size} = '[value new_size]'; > >[/calc] > > http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html > > ...take a look at the $Carts and $Items refs. > > - Ed L. > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > 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 > =============================================================== > > > --__--__-- > > Message: 10 > To: interchange-users@minivend.com > Subject: Re: [ic] Ordering question > From: Doug Alcorn <doug@lathi.net> > Date: 01 May 2001 12:49:55 -0400 > Reply-To: interchange-users@lists.akopia.com > > Tom Lichti <tom@redpepperracing.com> writes: > > > What I want to do is change the order process such that no payment > > info is taken, but everything else is done normally. We are a small > > business (so far!) and although technology is great, we want to give > > our customers the 'personal touch'. > > > It's not too hard to add new order methods. On one catalog I allowed > for "Call In". Basically the order went on file and the store got the > email. However, no payment terms were taken. Then either the store > ro the customer made the phone call to finish the order. Is that what > you're wanting? > > I would have to do some hunting to find out how I did that. They > ultimately dropped this feature. I don't know if I still have the > code or not. > > The place to start looking is for payment methods on the checkout > page. I think there used to be a payment method of "Call me" or some > such. I think what I had to do was restore some of the missing pieces > for this "Call me" paymen method. > -- > (__) 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. > > > --__--__-- > > Message: 11 > To: interchange-users@minivend.com > Subject: Re: [ic] How to use the other perl? > From: Doug Alcorn <doug@lathi.net> > Date: 01 May 2001 12:54:00 -0400 > Reply-To: interchange-users@lists.akopia.com > > "Voodoo" <voodoo@idola.net.id> writes: > > > My question is, How to instruct the Interchange to use the > > "/usr/local/bin/perl"? instead of the regular /usr/bin/perl. > > > > Is it just as simple as changing a .cfg file? Or do I have to > > recompile the Interchange all over again? Or else? > > This may be too simple of an answer, but can you just modify the first > line of your interchange daemon? Remember, it's just a perl script > itself. On my system, the /usr/local/interchange/bin/interchange > script starts like this: > > #!/usr/local/bin/perl > > If yours says "#!/usr/bin/perl" you should be able to chang it to the > above without any problems. Then restore your perl 5.005 in /usr/bin. > -- > (__) 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. > > > --__--__-- > > Message: 12 > Date: Tue, 01 May 2001 13:41:43 -0400 > From: Tom Lichti <tom@redpepperracing.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Ordering question > Reply-To: interchange-users@lists.akopia.com > > > Yes that is exactly what I am looking for. I'll look for that stuff, and if > you happen to find the code, even better! > > Tom > > --On Tuesday, May 01, 2001 12:49 PM -0400 Doug Alcorn <doug@lathi.net> > wrote: > > > Tom Lichti <tom@redpepperracing.com> writes: > > > >> What I want to do is change the order process such that no payment > >> info is taken, but everything else is done normally. We are a small > >> business (so far!) and although technology is great, we want to give > >> our customers the 'personal touch'. > > > > > > It's not too hard to add new order methods. On one catalog I allowed > > for "Call In". Basically the order went on file and the store got the > > email. However, no payment terms were taken. Then either the store > > ro the customer made the phone call to finish the order. Is that what > > you're wanting? > > > > I would have to do some hunting to find out how I did that. They > > ultimately dropped this feature. I don't know if I still have the > > code or not. > > > > The place to start looking is for payment methods on the checkout > > page. I think there used to be a payment method of "Call me" or some > > such. I think what I had to do was restore some of the missing pieces > > for this "Call me" paymen method. > > -- > > (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) > > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > > |_/ If you're a capitalist and you have the best goods and they're > > free, you don't have to proselytize, you just have to wait. > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > --__--__-- > > Message: 13 > Date: Tue, 1 May 2001 19:33:41 +0000 ( ) > From: josh <joshnarins@narinsky.com> > To: interchange-users@lists.akopia.com > Subject: [ic] Extra userdb Fields > Reply-To: interchange-users@lists.akopia.com > > > I've changed the database [ALTER TABLE userdb ADD myfield char(16)] > And added a <INPUT TYPE=checkbox NAME=myfield VALUE="[value myfield]"> > > and am getting two odd results. > > Firstly, the value the first time I load the page of the checkbox, using > view source, is / > > The other result is not exactly odd, but undesirable. > When the user selects "Save Acct Info" the new field is not inserted in > the database (although all the standard stuff (fname, lname, etc.) works > as expected). > > On this same topic, are there any issues I should know about using hidden > input fields in the same way? > ex. <INPUT type=hidden > name="MyOtherNewField" > value="[value MyOtherNewField]"> > > -Josh > > > --__--__-- > > Message: 14 > From: "Mike Holmes" <mikeofholmes@hotmail.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Hash for mv_order_size > Date: Tue, 01 May 2001 11:49:35 -0700 > Reply-To: interchange-users@lists.akopia.com > > >From: Ed LaFrance <edl@newmediaems.com> > > >> > >>On the flypage the size for an item is set using > >><name=mv_order_size value="size">... > >>and once the item is added to the cart, size can be retreived with > >>[item-modifier size]. How do I access the hash that holds this > >>info. > >> > >>I've tried this with no luck. > >>[calc] > >>$Values{mv_order_size} = '[value new_size]'; > >>[/calc] > > > >http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html > > > >...take a look at the $Carts and $Items refs. > > > >- Ed L. > > Yes, $Carts->{main}['[line item number]']{size} = '[value edit_size]'; > works... > > Thanks Ed > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > --__--__-- > > Message: 15 > To: Interchange-users@lists.akopia.com > Date: Tue, 1 May 2001 13:13:03 -0600 (MDT) > From: tails <tails@xmission.com> > Subject: [ic] extra payment options > Reply-To: interchange-users@lists.akopia.com > > Hey all I've been playing and tweeking with the construct demo and i've > added a new payment choice however when I'm in the web interface under > payment options I just have the normal Visa/Mc/Dis/Amex/Diners/Online > Check/Cod/Postal/Po I don't see my choice in the list what do I need to > do to link it? > > Any help would be great > > ~Greg > > > --__--__-- > > Message: 16 > Date: Tue, 1 May 2001 16:45:10 -0500 (CDT) > From: Jon Jensen <jon@akopia.com> > To: interchange-users@lists.akopia.com > Subject: [ic] Need help on new ictags document > Reply-To: interchange-users@lists.akopia.com > > Bill Dawkins from our professional services group just spent about 2 > months on a new, completely rewritten tag reference for Interchange. He > tried to track down all tags, options, and features by reading the code, > and has done a great job. > > We're looking for a few people to help us proofread it before we release > it. We could also use the help of a few experienced Interchange developers > to finish documenting the standard Usertags that come with Interchange. > > If you'd like to help out, please email me privately. > > Thanks, > Jon > > > --__--__-- > > Message: 17 > Date: Tue, 01 May 2001 15:20:56 -0700 > To: interchange-users@lists.akopia.com > From: Dan B <db@cyclonehq.dnsalias.net> > Subject: Re: [ic] Ordering question > Reply-To: interchange-users@lists.akopia.com > > At 11:33 PM 4/30/2001 -0400, you wrote: > > >Hello, IC users, > > > >I have checked the documentation, and searched the archives, but I > >couldn't find the answer to my question, although I am probably missing > >something obvious. > > > >What I want to do is change the order process such that no payment info is > >taken, but everything else is done normally. We are a small business (so > >far!) and although technology is great, we want to give our customers the > >'personal touch'. > > > >I used the 'construct' catalog as my base. I have read through the > >catalog.cfg, and the documentation on the web, but haven't really found > >what I'm looking for. I am using IC 4.6.3. > > > >Any help would be greatly appreciated. > > etc/profiles.order: remove the creditcard/etc. related stuff > checkout.html: remove the HTML for related questions/form fields. > > That might do it. Have you gone through the tutorial? > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > --__--__-- > > Message: 18 > Date: Tue, 01 May 2001 15:24:52 -0700 > To: interchange-users@lists.akopia.com > From: Dan B <db@cyclonehq.dnsalias.net> > Subject: Re: [ic] Extra userdb Fields > Reply-To: interchange-users@lists.akopia.com > > At 07:33 PM 5/1/2001 +0000, you wrote: > > >I've changed the database [ALTER TABLE userdb ADD myfield char(16)] > >And added a <INPUT TYPE=checkbox NAME=myfield VALUE="[value myfield]"> > > Did you also modify the dbconf/xxsql/.xxsql file? The file format is self > explanatory. > > > >and am getting two odd results. > > > >Firstly, the value the first time I load the page of the checkbox, using > >view source, is / > > > >The other result is not exactly odd, but undesirable. > >When the user selects "Save Acct Info" the new field is not inserted in > >the database (although all the standard stuff (fname, lname, etc.) works > >as expected). > > > >On this same topic, are there any issues I should know about using hidden > >input fields in the same way? > > ex. <INPUT type=hidden > > name="MyOtherNewField" > > value="[value MyOtherNewField]"> > > Good luck, > > -Dan B. > > > --__--__-- > > Message: 19 > From: "Russ Mann" <tech@khouse.org> > To: "Interchange Users" <interchange-users@lists.akopia.com> > Date: Tue, 1 May 2001 16:52:25 -0600 > charset="iso-8859-1" > Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > Reply-To: interchange-users@lists.akopia.com > > Hello List, > > Does anyone out there have a working IC 4.6 with a UPS Style look up for US > Postal Service shipping option? > > Thanks, > > Russ > > Sent: Wednesday, April 25, 2001 11:23 AM > To: Interchange Users > Subject: [ic] Shipping Problem - USPS Shipping - Round 3 > > > Does anyone have USPS shipping implemented in Interchange? Does anyone know > the proper file format for UPS style lookup config files? Thanks > > Sent: Monday, April 23, 2001 12:26 PM > To: Interchange Users > Subject: [ic] Shipping Problem - USPS Shipping - Round 2 > > > Sent: Friday, April 20, 2001 1:41 PM > To: interchange-users@lists.akopia.com > Subject: [ic] Shipping Problem - Full Details Enclosed, Does Anyone know how > it works? > > > Hello List, > > I am trying to set up USPS lookup shipping in IC 4.6.4. This is what I've > done: > > shipping.asc file: > > code description criteria min max formula > 0 No shipping weight 0 99999999 e No shipping mode > selected. > default No shipping weight 0 99999999 g PriceDivide > > upsg UPS Ground weight 0 0 e Nothing to ship! > upsg UPS Ground weight 0 150 u Ground [value zip] > upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs too heavy > for UPS > > ups3 UPS Three Day weight 0 0 e Nothing to ship! > ups3 UPS Three Day weight 0 150 u 3DaySelect [value zip] > ups3 UPS Three Day weight 150 999999 e @@TOTAL@@ lbs too heavy > for UPS > > ups2 UPS Two Day weight 0 0 e Nothing to ship! > ups2 UPS Two Day weight 0 150 u 2ndDayAir [value zip] > ups2 UPS Two Day weight 150 999999 e @@TOTAL@@ lbs too heavy > for UPS > > upsbak UPS Two Day AK/HI weight 0 0 c A UPS > products/AKHI.csv 5 1 > upsbak UPS Two Day AK/HI weight -1 -1 o PriceDivide=0 > upsbak UPS Two Day AK/HI weight 0 0 e Nothing to ship > upsbak UPS Two Day AK/HI weight 0 150 A 2ndDayAir [value > zip] > upsbak UPS Two Day AK/HI weight 150 999999 e Not Available > > uspspm USPS Mail weight 0 0 c B products/usps838.csv > uspspm USPS Mail weight -1 -1 o PriceDivide=0 > uspspm USPS Mail weight 0 0 e Nothing to ship > uspspm USPS Mail weight 0 70 B Priority [value zip] > uspspm USPS Mail weight 70 999999 e @@TOTAL@@ lbs to heavy for > USPS Mail. > > > Priority.csv file: > > Weight,1,2,3,4,5,6,7,8 > 1,3.5,3.5,3.5,3.5,3.5,3.5,3.5,3.5 > 2,3.95,3.95,3.95,3.95,3.95,3.95,3.95,3.95 > 3,5.15,5.15,5.15,5.15,5.15,5.15,5.15,5.15 > 4,6.35,6.35,6.35,6.35,6.35,6.35,6.35,6.35 > 5,7.55,7.55,7.55,7.55,7.55,7.55,7.55,7.55 > 6,7.9,7.9,7.9,8.1,8.15,8.25,9.5,10.35 > 7,8.25,8.25,8.25,8.65,8.75,8.95,10.45,11.65 > 8,8.5,8.5,8.5,9.2,9.35,9.65,11.4,12.95 > 9,8.65,8.65,8.65,9.75,9.95,10.35,12.35,14.25 > 10,8.75,8.75,8.75,10.3,10.55,11.05,13.3,15.55 > 11,9,9,9,10.85,11.15,11.75,14.25,16.85 > 12,9.25,9.25,9.25,11.4,11.75,12.45,15.2,18.15 > 13,9.6,9.6,9.6,11.95,12.35,13.15,16.15,19.45 > 14,9.95,9.95,9.95,12.5,12.95,13.85,17.1,20.75 > 15,10.3,10.3,10.3,13.05,13.55,14.55,18.05,22.05 > 16,10.65,10.65,10.65,13.6,14.15,15.25,19,23.35 > 17,11,11,11,14.15,14.75,15.95,19.95,24.65 > 18,11.35,11.35,11.35,14.7,15.35,16.65,20.9,25.95 > 19,11.7,11.7,11.7,15.25,15.95,17.35,21.85,27.25 > 20,12.05,12.05,12.05,15.8,16.55,18.05,22.8,28.55 > > (It continues on to 70 lbs.) > > usps838.csv file: > > "ZONE CHART" > "USPS Priority" > > Dest. ZIP, Priority > 005-098, 8 > 100-212, 8 > 214-268, 8 > 270-342, 8 > 344, 8 > 346-347, 8 > 349-352, 8 > 354-355, 8 > 356-358, 7 > 359-369, 8 > 370-372, 7 > 373-374, 8 > 375, 7 > 376-379, 8 > 380-392, 7 > 393-395, 8 > 396-397, 7 > 399, 8 > 400-406, 7 > 407-409, 8 > 410, 7 > 411-412, 8 > 413-414, 7 > 415-418, 8 > 420-427, 7 > 430-438, 7 > 439, 8 > 440-443, 7 > 444-447, 8 > 448-456, 7 > 457, 8 > 458-497, 7 > 498-516, 6 > 520-528, 6 > 530-532, 7 > 534, 7 > 535, 6 > 537-551, 6 > 553-564, 6 > 565, 5 > 566, 6 > 567, 5 > > (Continues to all zip codes). > > > > This is the error I get when I restart the interchange daemon: > > - - - [20/April/2001:12:41:43 -0800] catalog - Bad shipping file for zone > 'B', lookup disabled. > > This is the error I get when trying to check out (should be performing the > lookup). > > 63.46.217.58 xLFAk3ru:63.46.217.58 - [20/April/2001:12:42:46 -0800] catalog > /store/catalog/process.html products/usps838.csv lookup called, zone data > not found > > UPS Shipping, and the AK/HI shipping, all work properly. > > > I've read as many docs as I can, searched the mailing list, and tried many > things by experimentation. Does anyone have any suggestions? > > Thanks, > > Russ > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 20 > Date: Tue, 01 May 2001 15:54:31 -0700 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Re: [ic] Need help on new ictags document > Reply-To: interchange-users@lists.akopia.com > > At 04:45 PM 05/01/2001 -0500, you wrote: > >Bill Dawkins from our professional services group just spent about 2 > >months on a new, completely rewritten tag reference for Interchange. He > >tried to track down all tags, options, and features by reading the code, > >and has done a great job. > > > >We're looking for a few people to help us proofread it before we release > >it. We could also use the help of a few experienced Interchange developers > >to finish documenting the standard Usertags that come with Interchange. > > > >If you'd like to help out, please email me privately. > > > > Jon - > > I would like to take a crack at this. I have a fairly busy consulting > schedule, but this is important enough that I would make some time for > it. Write me back with the how's and wherefor's. > > - Ed L. > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > 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 > =============================================================== > > > --__--__-- > > Message: 21 > Date: Tue, 01 May 2001 15:55:50 -0700 > To: interchange-users@lists.akopia.com > From: Ed LaFrance <edl@newmediaems.com> > Subject: Fwd: Re: [ic] Need help on new ictags document > Reply-To: interchange-users@lists.akopia.com > > Sorry all - that was supposed to go directly to Jon - Oops. > > - Ed L. > > > > =============================================================== > **** Virtual Hosting w/private IC Installation, $65/month! **** > --------------------------------------------------------------- > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest From: racke at linuxia.de (Stefan Hornburg Racke) Date: 01 May 2001 18:05:30 +0200 Subject: [ic] How to use the other perl? "Voodoo" <voodoo@idola.net.id> writes: > Hi all, > > I have two different versions perl in my Cobalt RAQ-2 Linux (mipsel). > One is /usr/bin/perl (5.00503) and the other one is /usr/local/bin/perl > (5.6.1) > Don't know why, but when I install interchange for the first time, it > installed everything, including Perl 5.6.1 in /usr/local/bin/perl. > And, the Interchange can only works with 5.6.1. (I copied > /usr/local/bin/perl (5.6.1) to /usr/bin/) > It won't work with the original /usr/bin/perl (5.00503) > > But another problems occured, that a lot of scripts do not work with 5.6.1 > (when I replaced 5.00503 with 5.6.1 in /usr/bin/perl) > So now I want to separate the perl needs, Interchange will use 5.6.1 in > /usr/local/bin/perl, and all other scripts will use the regular 5.00503 in > /usr/bin/perl. > > My question is, How to instruct the Interchange to use the > "/usr/local/bin/perl"? instead of the regular /usr/bin/perl. Change all scripts in INSTALLDIR/bin so that the first line reads: #! /usr/local/bin/perl Ciao Racke -- Tech beats design - hold your breath for <B>http://fuckdotcom.de</B> 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: trond.arve at nordheim.no (Trond Arve Nordheim) Date: Wed, 2 May 2001 10:03:43 +0200 Subject: [ic] 'include' in catalog.cfg? Hi! I'm tring to include some external config-files for database-setup in my catalog.cfg. My syntax is: include dbconf/* ...as read in the reference guide When restarting interchange with that in my catalog-config, I get the following error: Configuring catalog testcatalog...Unknown directive 'include' In line 6 of the configuration file 'catalog.cfg': include dbconf/* testcatalog config error: Unknown directive 'include' In line 6 of the configuration file 'catalog.cfg': include dbconf/* What's up with that? The documentation clearly states that include is a valid keyword in catalog.cfg (http://developer.akopia.com/cgi-bin/ic/docfly.html?id=sFDPbMgL&mv_arg=iccon fig10%2e00&mv_pc=79), so why isn't this working? :) -- Trond Arve Nordheim From: racke at linuxia.de (Stefan Hornburg Racke) Date: 02 May 2001 10:13:19 +0200 Subject: [ic] 'include' in catalog.cfg? "Trond Arve Nordheim" <trond.arve@nordheim.no> writes: > Hi! > > I'm tring to include some external config-files for database-setup in my > catalog.cfg. My syntax is: > include dbconf/* Use: #include dbconf/* Ciao Racke -- Tech beats design - hold your breath for <B>http://fuckdotcom.de</B> 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: trond.arve at nordheim.no (Trond Arve Nordheim) Date: Wed, 2 May 2001 10:30:48 +0200 Subject: [ic] 'include' in catalog.cfg? Grmpfh... I always thought # was a comment ;P Anyway, something happened... but now I get this: Configuring catalog testcatalog...testcatalog config error: Can't call method "new" on an undefined value at /home/interchange/lib/Vend/Data.pm line 654. And I can't see any errors with the file I'm including, so I'm still pretty lost ;) -- Trond Arve Nordheim -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Stefan Hornburg (Racke) Sent: 2. mai 2001 10:13 To: interchange-users@lists.akopia.com Subject: Re: [ic] 'include' in catalog.cfg? "Trond Arve Nordheim" <trond.arve@nordheim.no> writes: > Hi! > > I'm tring to include some external config-files for database-setup in my > catalog.cfg. My syntax is: > include dbconf/* Use: #include dbconf/* Ciao Racke -- Tech beats design - hold your breath for <B>http://fuckdotcom.de</B> For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jojo at blackpoint.de (Joachim Leidinger) Date: Wed, 02 May 2001 10:41:33 +0200 Subject: [ic] 'include' in catalog.cfg? Trond Arve Nordheim wrote: > > Hi! > > I'm tring to include some external config-files for database-setup in my > catalog.cfg. My syntax is: > include dbconf/* > > ...as read in the reference guide > > When restarting interchange with that in my catalog-config, I get the > following error: > > Configuring catalog testcatalog...Unknown directive 'include' > In line 6 of the configuration file 'catalog.cfg': > include dbconf/* > > testcatalog config error: Unknown directive 'include' > In line 6 of the configuration file 'catalog.cfg': > include dbconf/* > > What's up with that? The documentation clearly states that include is a > valid keyword in catalog.cfg > (http://developer.akopia.com/cgi-bin/ic/docfly.html?id=sFDPbMgL&mv_arg=iccon > fig10%2e00&mv_pc=79), so why isn't this working? :) include dbconf/* should be written as #include dbconf/* Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: pl at xox.pl (=?iso-8859-2?B?TWFyY2luIK95s2EgQmlQUw==?=) Date: Wed, 2 May 2001 12:28:08 +0200 Subject: [ic] INTERNALIZATION Hi! How to change charset to ISO 8859-2? How to change "BUY NOW" to Kup teraz? How to change "Welcome __COMPANY__ " in templates na "Witamy w __COMPANY__ "? How to change Basket & create schiping forms: only one country (Poland) only one method (based on price 0-300PLN = __price__ + 19PLN, 301 PLN = no additional shiping cost )? Regards Marcin mzyla@xox.pl +48 501 661122 From: thomas at prometheas.gr (Thomas N. Stefanidis) Date: Wed, 02 May 2001 15:16:49 +0300 Subject: [ic] [discount ENTIRE_ORDER] I upgraded from 4.6.1 to 4.6.5. I use this in the basket : [discount ENTIRE_ORDER] $original = $s; $f =($s); if ($s <= 19999) { $discounted = $f * 1.00; } elsif ($s <= 49999) { $discounted = $f * 0.95; } elsif ($s <= 99999) { $discounted = $f * 0.90; } elsif ($s <= 249999) { $discounted = $f * 0.88; } elsif ($s >= 250000) { $discounted = $f * 0.85; } $difference = $original - $discounted; return $discounted; [/discount] But now when the total cost is over 19999, the total cost gets zero and the "This is your discount" get the value of the total cost. exaple. should be : total cost 28500 Discount 1500 it gets : total cost 0 Discount 30000 Any ideas how to solve this? Thomas From: JoshNarins at aol.com (JoshNarins at aol.com) Date: Wed, 02 May 2001 08:19:15 EDT Subject: [ic] Extra userdb Fields That wasn't the problem, any other suggestions? Dan B wrote: > > >I've changed the database [ALTER TABLE userdb ADD myfield char(16)] > >And added a <INPUT TYPE=checkbox NAME=myfield VALUE="[value myfield]"> > > > Did you also modify the dbconf/xxsql/.xxsql file? The file format is self > explanatory. Yes, I had modified that file before sending the original email. > >and am getting two odd results. > > > >Firstly, the value the first time I load the page of the checkbox, using > >view source, is / > > > >The other result is not exactly odd, but undesirable. > >When the user selects "Save Acct Info" the new field is not inserted in > >the database (although all the standard stuff (fname, lname, etc.) works > >as expected). > > > >On this same topic, are there any issues I should know about using hidden > >input fields in the same way? > > ex. <INPUT type=hidden > > name="MyOtherNewField" > > value="[value MyOtherNewField]"> Thanks again! -Josh Narins From: doug at lathi.net (Doug Alcorn) Date: 02 May 2001 09:28:18 -0400 Subject: [ic] How to use the other perl? "Voodoo" <voodoo@idola.net.id> writes: > I thought it was a binary, just like the catalog that reside in > cgi-bin dir. While we're on the subject. Let me waste some bandwidth explaining that binary in cgi-bin. It doesn't really do anything. It's whole purpose is just as a conduit between apache and the interchange daemon. The cgi-bin isn't responcible for anything that is catalog specific. What it does do is compile into the binary the location of either the socket file (/usr/local/interchange/etc/socket for instance) or the tcp port (I don't remember offhand which port it is). The reason I spell all this out is because sometime your cgi-bin file may get lost or corrupted. Armed with this information, you can just copy one of the other catalog binaries over. Also, in your interchange/src dir you will find your compiled binaries. In my directory, I see two files tlink.localhost.7786 and vlink._usr_local_interchange_etc_socket. This is to show that the tlink program is compiled to use tcp on port 7786 to the local host and vlink is compiled to use /usr/local/interchange/etc/socket. I've blathered enough about this. I hope I have't annoyed anyone. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: doug at lathi.net (Doug Alcorn) Date: 02 May 2001 09:39:20 -0400 Subject: [ic] 'include' in catalog.cfg? "Trond Arve Nordheim" <trond.arve@nordheim.no> writes: > Grmpfh... I always thought # was a comment ;P Normally it is. However, this is a holdover from the C days of preprocessing. '#' is a comment unless it isn't a comment ;) > Anyway, something happened... but now I get this: > Configuring catalog testcatalog...testcatalog config error: Can't call > method "new" on an undefined value at /home/interchange/lib/Vend/Data.pm > line 654. I don't know exactly what you've done since you didn't show the contents of dbconf. However, on my system the contents of dbconf are: default_db/ mysql/ oracle/ pgsql/ which are all directories. You might try doing something like: #include dbconf/mysql/* If your dbconf is different than mine, you might try showing what is in there. -- (__) 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: jon at akopia.com (Jon Jensen) Date: Wed, 2 May 2001 09:05:36 -0500 (CDT) Subject: [ic] 'include' in catalog.cfg? On 2 May 2001, Doug Alcorn wrote: > > Grmpfh... I always thought # was a comment ;P > > Normally it is. However, this is a holdover from the C days of > preprocessing. '#' is a comment unless it isn't a comment ;) Which is why, starting with 4.7, you can start leaving it off. You can use "include", "if(n)def", and "endif" all without "#" first. I think this should avoid confusion, at least for newcomers. Unfortunately, I think some of the new docs overwrote some of the old on the website. Starting with 4.7, check configuration option 'ConfigParseComments' for more details. Jon From: help at LoadUp.com (LoadUp (Cust Serv Dept)) Date: Wed, 02 May 2001 07:15:06 -0700 Subject: [ic] IC 4.7.1 shipping Has anyone noticed that IC 4.7.1 doesn't calculate or give any Shipping method in the drop down box on the checkout page. Note: No match found for mode 'upsg', quantity '', returning 0. I thought it might be a config error on my part, but the demo at Akopia has the same problem. -- Angelica Olins <angel@LOADUP.COM> "I am easily satisfied by the very best" - Winston Churchill From: jon at akopia.com (Jon Jensen) Date: Wed, 2 May 2001 12:07:11 -0500 (CDT) Subject: [ic] Training survey results You may remember that we took a survey several months ago to gauge interest in training for Interchange, Linux, and Perl. Merry Beekman from Red Hat summarized the survey results and has made her document available for those who are interested: http://www.akopia.com/2001-training-summary.pdf Jon From: edl at newmediaems.com (Ed LaFrance) Date: Wed, 02 May 2001 10:14:18 -0700 Subject: [ic] Training survey results At 12:07 PM 05/02/2001 -0500, you wrote: >You may remember that we took a survey several months ago to gauge >interest in training for Interchange, Linux, and Perl. Merry Beekman from >Red Hat summarized the survey results and has made her document available >for those who are interested: > >http://www.akopia.com/2001-training-summary.pdf > >Jon Cool - where's my T-shirt? - Ed L. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- 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: chris at vanoosterhout.com (Christopher VanOosterhout) Date: Wed, 02 May 2001 14:07:35 -0400 Subject: [ic] Search Term Mapping Today I was looking for information about search term mapping in the archives and found that the software used to search the archives does just what I am hoping I can do in my Interchange stores. When I search for search term mapping ... it actually searches for: Search results for '(search or searched or searching or searchings or searcher or searches or searchers) and (term or termed or terming or termer or terms or termly) and (mapping or mappings)' To me that is a good thing. I am not sure how this software does it (if it is manual mapping or if it just automatically enters potential endings to words to increase the search). After searching I have not found the answer about how this type of thing may be implemented in Interchange. If I have just missed it, please let me know and I will go back and review again. Has anyone here successfully implemented search mapping within an Interchange store? How did you do it? What I am trying to do is say if someone searches for WORDA, by default, the search would also return positive results for WORDB. So if someone searches for the word book as in PARTS BOOK it will also search for the words catalog and manual and any other word I map to the word BOOK. This means that if someone searches for PARTS BOOK, they will also get matches to PARTS CATALOG, PARTS MANUAL, etc. Or if someone searches for the word oil filters they will also get oil filter. Does that may sense? Any hints on how to accomplish it? Christopher From: doug at lathi.net (Doug Alcorn) Date: 02 May 2001 13:57:30 -0400 Subject: [ic] Training survey results Ed LaFrance <edl@newmediaems.com> writes: > >http://www.akopia.com/2001-training-summary.pdf > > > >Jon > > Cool - where's my T-shirt? I'm not a big fan of "me too" posts, but it's so appropriate here! So when's the formal announcement of training classe? I had heard something from someone in RedHat training about a class being offered in May/June in RTP. The cost of that course was definitely not inline with these survey results. -- (__) 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: jkohles at redhat.com (Jason Kohles) Date: Wed, 2 May 2001 14:08:07 -0400 Subject: [ic] Training survey results On Wed, May 02, 2001 at 01:57:30PM -0400, Doug Alcorn wrote: > > So when's the formal announcement of training classe? I had heard > something from someone in RedHat training about a class being offered > in May/June in RTP. The cost of that course was definitely not inline > with these survey results. > Keep in mind that the numbers in the survey result are cost per day, and most of the courses are more than one day. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: edl at newmediaems.com (Ed LaFrance) Date: Wed, 02 May 2001 11:17:42 -0700 Subject: [ic] Need an email address Dear RH/Akopia - I need the email address for the webmaster of developer.akopia.com. Please send it to me privately. Thanks, Ed L. =============================================================== **** Virtual Hosting w/private IC Installation, $65/month! **** --------------------------------------------------------------- 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: mikeh at minivend.com (Mike Heins) Date: Wed, 2 May 2001 14:40:36 -0400 Subject: [ic] Search Term Mapping Quoting Christopher VanOosterhout (chris@vanoosterhout.com): > > Today I was looking for information about search term mapping in the > archives and found that the software used to search the archives does just > what I am hoping I can do in my Interchange stores. > > When I search for search term mapping ... it actually searches for: > Search results for '(search or searched or searching or searchings or > searcher or searches or searchers) and (term or termed or terming or termer > or terms or termly) and (mapping or mappings)' > > To me that is a good thing. I am not sure how this software does it (if > it is manual mapping or if it just automatically enters potential endings > to words to increase the search). > > After searching I have not found the answer about how this type of thing > may be implemented in Interchange. If I have just missed it, please let me > know and I will go back and review again. > > Has anyone here successfully implemented search mapping within an > Interchange store? How did you do it? > > What I am trying to do is say if someone searches for WORDA, by default, > the search would also return positive results for WORDB. So if someone > searches for the word book as in PARTS BOOK it will also search for the > words catalog and manual and any other word I map to the word BOOK. > > This means that if someone searches for PARTS BOOK, they will also get > matches to PARTS CATALOG, PARTS MANUAL, etc. > > Or if someone searches for the word oil filters they will also get oil filter. > > Does that may sense? Any hints on how to accomplish it? > This is called stemming. Interchange doesn't support it -- the software that you see that does is htdig. On the other hand, I have done some things similar with interchange. What you do is: 1. Inside the [no-match] [/no-match] area, you pull apart the mv_searchspec value. 2. Examine your stemming list and look for pluralization or other stems. The Lingua::Stem module Perl module provides some methods, i.e.: @words = 'filters'; use Lingua::Stem qw(stem); my $stems = stem(@words); print join "\n", @$stems; This could easily be put into an Interchange global UserTag: UserTag stem Order words UserTag stem addAttr UserTag stem Routine <<EOR sub { my ($words) = @_; use Lingua::Stem qw/stem/; my @words = grep /\S/, split /\s+/, $words; my @stems; for(@words) { my $stem = stem($_); next if $stem eq $_; push @stems, $stem; } return join " ", @stems; } EOR At that point, you can call it in embedded Perl with: [no-match] [perl] return unless ref $Values->{mv_searchspec}; my @alt; for(@{$Values->{mv_searchspec}}) { my $stem = $Tag->stem($_); push @alt, $stem if $stem; } ## Rest of code which builds search links left as exercise ## for the user.... [/perl] [/no-match] 3a. Provide some clickable links that allow people to search for the alternate stems.... --or-- 3b. Do the alternate stem searches automatically via a [bounce ....]. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: zac at mediapc.com (Zachary Matthews) Date: Wed, 02 May 2001 11:54:46 -0700 Subject: [ic] Meta filters in Admin Interface to allow HTML code This concerns IC 4.6.4: One of my databases, 'careers' has a field, 'content' which contains HTML code. I have an administrative user who has permission to make new entries in this database. When she enters HTML code via the admin interface, the HTML gets converted ie: <br> -> &lt;br&gt; So I logged in as the Super User, and changed the META for this field, 'content', to use the filter 'simple text2html'. This fixed the problem, but only when I am logged in as the super user and make an entry with HTML code. However, when I log back in as an administrator without super user privileges, and make a new entry, the HTML code is getting encoded again. Anyone else had this problem? Is there a bug in the admin interface that doesn't read the filter field of mv_metadata? From: darren at torsion.co.uk (Darren Walker) Date: Wed, 02 May 2001 21:06:11 +0100 Subject: [ic] Undefined catalog error on RAQ3 Can u tell me how you disabled the cgi-wrap error. I dont know if my problem is similar below is a snip when i try to restart the server- I have assigned 500Mb and here is a df ----snip---- Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda1 743466 520097 223369 70% / /dev/hda3 198601 7371 191230 4% /var /dev/hda4 7059485 204200 6855285 3% /home ----snip---- Killing Interchange server 27724 with TERM. Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...construct config error: Could not create '/home/sites/home/users/darren/catalogs/construct/products/new_variable.gdbm ': Disk quota exceeded at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 66, <IN> chunk 1. construct: error in configuration. Skipping. construct: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 28100) regards darren From: giftbound1 at home.com (Gift Bound Gifts) Date: Wed, 02 May 2001 18:02:43 -0400 Subject: [ic] options simple Im using interchange 4.7.1. Is it just me or you can add a option simple in the foundation demo? When i try i only get clone options not the ability to add a option. Can someone please help me? From: tech at khouse.org (Russ Mann) Date: Wed, 2 May 2001 16:24:25 -0600 Subject: [ic] Item Editor - Field Search Selection Feature Request: On the Item Editor in the Admin, put a dropdown to select a field to search for the search box. Thanks, Russ From: g.gaskill at aboron.com (Greg Gaskill) Date: Wed, 2 May 2001 19:43:18 -0400 Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann > Sent: Tuesday, May 01, 2001 6:52 PM > To: Interchange Users > Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > > > Hello List, > > Does anyone out there have a working IC 4.6 with a UPS Style look > up for US > Postal Service shipping option? > I'm still working on this myself, but, did you make sure to add the Priority.csv file as a database in your 'dbconf' directory? I've got it looking up, but returning 0 - without giving any error message. Greg Gaskill <g.gaskill@aboron.com> > Thanks, > > Russ <Snip 4th repetition of same message> From: tech at khouse.org (Russ Mann) Date: Wed, 2 May 2001 18:01:23 -0600 Subject: [ic] Shipping Problem - USPS Shipping - Round 4 dbconf/mysql/Priority.dbm Database Priority Priority.csv CSV Database Priority GUESS_NUMERIC 1 -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Greg Gaskill Sent: Wednesday, May 02, 2001 5:43 PM To: interchange-users@lists.akopia.com Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4 > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann > Sent: Tuesday, May 01, 2001 6:52 PM > To: Interchange Users > Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > > > Hello List, > > Does anyone out there have a working IC 4.6 with a UPS Style look > up for US > Postal Service shipping option? > I'm still working on this myself, but, did you make sure to add the Priority.csv file as a database in your 'dbconf' directory? I've got it looking up, but returning 0 - without giving any error message. Greg Gaskill <g.gaskill@aboron.com> > Thanks, > > Russ <Snip 4th repetition of same message> _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jason_feingold at hotmail.com (Jason Feingold) Date: Thu, 03 May 2001 00:07:52 Subject: [ic] apache webroot /var Director? Hi All - When i type my .com address into the browsesrs url, its not letting me go directly to the /var/lib/interchange/ic/pages/index.html page. Does anyone know the httpd.conf settings i need to change? Thanks very much. jason _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: tech at khouse.org (Russ Mann) Date: Wed, 2 May 2001 18:34:43 -0600 Subject: [ic] Shipping Problem - USPS Shipping - Round 4 Dear List, I suspect the format of the usps838.csv file, due to the error message. Following is the file format, and error message. Russ usps838.csv looks like this: "ZONE CHART" "USPS Priority" Dest. ZIP, Priority 005-098, 8 100-212, 8 214-268, 8 270-342, 8 344, 8 346-347, 8 349-352, 8 354-355, 8 356-358, 7 359-369, 8 (lots more zones, of course) This is the error message I'm getting: [21/March/2001:13:50:01 -0800] catalog /store/catalog/process.html usps838.csv lookup called, zone data not found From: g.gaskill at aboron.com (Greg Gaskill) Date: Wed, 2 May 2001 20:52:50 -0400 Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann > Sent: Wednesday, May 02, 2001 8:01 PM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4 > > > dbconf/mysql/Priority.dbm > > Database Priority Priority.csv CSV > Database Priority GUESS_NUMERIC 1 > OK, I finally got it to work - sort of a kludge, but works exactly as it should. I have the Priority.csv in the products/ dir. But instead of defining my own lookup, I made pretend that 'Priority' was just another method of sending UPS. So I put these lines into shipping.asc: ( / means line continues) usps USPS Priority weight 0 0 e Nothing to ship! / {'adder' => "1",'ups' => "1",'table' => "Priority",'ui_ship_type' => / "UPSI",'geo' => "zip",'zone' => "450",} usps USPS Priority weight 0 70 u Priority [value name=zip / filter=digits default=45056] {} usps USPS Priority weight 70 999999 e @@TOTAL@@ lbs too / heavy for Priority Mail {} And then I modified my 450.csv file (or equivalent) to add Priority as an extra column, like so: "ZONES" Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day Air / Saver,Next Day Air,Priority 004-005,4,304,204,244,134,104,4 etc... and make sure to add 'usps' as a shipping method for US in the country.txt file - or via the UI. Then restart, and viola. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Greg > Gaskill > Sent: Wednesday, May 02, 2001 5:43 PM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4 > > > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann > > Sent: Tuesday, May 01, 2001 6:52 PM > > To: Interchange Users > > Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > > > > > > Hello List, > > > > Does anyone out there have a working IC 4.6 with a UPS Style look > > up for US > > Postal Service shipping option? > > > > I'm still working on this myself, but, did you make sure to add the > Priority.csv file as a database in your 'dbconf' directory? > > I've got it looking up, but returning 0 - without giving any > error message. > > Greg Gaskill > <g.gaskill@aboron.com> > > > > Thanks, > > > > Russ > <Snip 4th repetition of same message> From: spinnaweb at dmv.com (Spinn A Web.com) Date: Wed, 2 May 2001 20:52:17 -0400 Subject: [ic] Stumped! Here is my situation: I have a website hosted on a server that has Akopia Interchange on it as the shopping cart software. I love the admin interface and the ease of adding products, changing products and everything else the Admin section allows. Heres my question: I want to create my own online web-store using this software but do not have access directly to the Linux server to do the programming as stated in all of the downloadable PDF's for set-up, install, etc. I am very well versed in HTML programming and have been picking apart the 'Construct Something' templates and files to see how all the information comes together on the website. Know this, how much can I do by only having access (Admin & FTP (to get the template files, etc)) to these two areas and not the Linux server directly? I was doing pretty good up until I tested an order and it came back with an internal error. Any help will be appreciated. Brandee Diggs From: dan at mailturtle.com (Dan McFarland) Date: Wed, 2 May 2001 19:52:52 -0500 Subject: [ic] Stumped! Depends on the error. As long as the IC server is installed correctly and you have access to the config files, you shouldn't have a problem. I am guessing, but check to see if the error(s) you are getting are related to the SSL. That would be my guess. Dan M. ----- Original Message ----- From: Spinn A Web.com <spinnaweb@dmv.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, May 02, 2001 7:52 PM Subject: [ic] Stumped! > Here is my situation: > > I have a website hosted on a server that has Akopia Interchange on it as the > shopping cart software. I love the admin interface and the ease of adding > products, changing products and everything else the Admin section allows. > > Heres my question: > > I want to create my own online web-store using this software but do not have > access directly to the Linux server to do the programming as stated in all > of the downloadable PDF's for set-up, install, etc. I am very well versed > in HTML programming and have been picking apart the 'Construct Something' > templates and files to see how all the information comes together on the > website. Know this, how much can I do by only having access (Admin & FTP > (to get the template files, etc)) to these two areas and not the Linux > server directly? I was doing pretty good up until I tested an order and it > came back with an internal error. > > Any help will be appreciated. > > Brandee Diggs > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: shadowb at dmv.com (Brandee Diggs) Date: Wed, 2 May 2001 21:07:07 -0400 Subject: [ic] Stumped! Thanks Dan. I don't get any errors when I modify and view the changes I have done in the templates, I get the error when I click on the buy buttons (page <expire> not found) and when I click on the checkout button, I get an internal error. Question #2 to go along with the other: How do you set up credit card processing? Thanks Brandee -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan McFarland Sent: Wednesday, May 02, 2001 8:53 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] Stumped! Depends on the error. As long as the IC server is installed correctly and you have access to the config files, you shouldn't have a problem. I am guessing, but check to see if the error(s) you are getting are related to the SSL. That would be my guess. Dan M. ----- Original Message ----- From: Spinn A Web.com <spinnaweb@dmv.com> To: <interchange-users@lists.akopia.com> Sent: Wednesday, May 02, 2001 7:52 PM Subject: [ic] Stumped! > Here is my situation: > > I have a website hosted on a server that has Akopia Interchange on it as the > shopping cart software. I love the admin interface and the ease of adding > products, changing products and everything else the Admin section allows. > > Heres my question: > > I want to create my own online web-store using this software but do not have > access directly to the Linux server to do the programming as stated in all > of the downloadable PDF's for set-up, install, etc. I am very well versed > in HTML programming and have been picking apart the 'Construct Something' > templates and files to see how all the information comes together on the > website. Know this, how much can I do by only having access (Admin & FTP > (to get the template files, etc)) to these two areas and not the Linux > server directly? I was doing pretty good up until I tested an order and it > came back with an internal error. > > Any help will be appreciated. > > Brandee Diggs > > > _______________________________________________ > 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: db at m-and-d.com (DB) Date: Wed, 02 May 2001 21:23:10 -0400 Subject: [ic] 4.7.x page editor I have 4.7.1 running fine with MYSQL (after fixing the options.mysqlfile). I used the admin interface's page edit to edit only one word of the text in catalogs/.../pages/index.html. I then clicked Save and then Apply changes. But when I viewed the changes in the store, the lefthand contents were gone among other things. I saved a backup of the original index.html and compared it to the modified version. They were very different... the modified version was about 1/3 of the size. Am I missing something or is there a problem? I tried this same excersize on the akopia.com demo site and the same thing happened. I sent this before but got no reply so I tried to be more specific this time. If I'm missing something, please let me know. DB From: steveandpatti at wubs.org (Steve & Patti Getzinger) Date: Wed, 02 May 2001 20:38:12 -0500 Subject: [ic] Stumped! Basically all you should need is to have your admin do a makecat for you. If you build your own cat ask them to use it during the makecat. You can write straight perl to any of the pages using the UI so that portion should be no problem along with making vars and modifying present vars. Any problems you had with ordering were most likely due to you and your code and not something the server admin could fix but I am not saying it is not a problem with the server just most likely your code. Any mods you require to apache configs you will have to run through your admin first but any I have done are basically routine so that should be a no problem. The one that comes to mind is url rewrite. Naturally you are not able to setup SSL and you will require your server admin to handle that portion also but config to Interchange you can do. Any SQL creation will most likely have to be done through the admin also but once created and you have proper permissions all should be a no problem. Hope that helps Steve "Spinn A Web.com" wrote: > > Here is my situation: > > I have a website...appreciated. > > Brandee Diggs > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: steveandpatti at wubs.org (Steve & Patti Getzinger) Date: Wed, 02 May 2001 20:43:37 -0500 Subject: [ic] apache webroot /var Director? Assuming you have access to these settings. You can accomplish this several ways but I will list two common. Write a short redirect script that redirects automagically to the proper url. Make sure the only index you have in the root docs dir is the script (index.cgi) Next and a bit more involved is a url rewrite in the httpd.conf file and a search of the archives should locate this info. It is completely outlined. Try ReWrite as your search criteria. If you can not find it I will post the niceties of it. Steve Jason Feingold wrote: > > Hi All - > > When i type my .com address into the browsesrs url, its not letting me go > directly to the /var/lib/interchange/ic/pages/index.html page. Does anyone > know the httpd.conf settings i need to change? > > Thanks very much. jason > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: steveandpatti at wubs.org (Steve & Patti Getzinger) Date: Wed, 02 May 2001 20:46:38 -0500 Subject: [ic] apache webroot /var Director? You are aware you do not want to access directly correct? You need to go through the executable in your cgi-bin directory. There is a very special reason your pages are not in HTML space. They won't parse the IC tags, NO NO NO it is because of security. Steve Jason Feingold wrote: > > Hi All - > > When i type my .com address into the browsesrs url, its not letting me go > directly to the /var/lib/interchange/ic/pages/index.html page. Does anyone > know the httpd.conf settings i need to change? > > Thanks very much. jason > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: tom at redpepperracing.com (Tom Lichti) Date: Wed, 02 May 2001 21:54:43 -0400 Subject: [ic] 4.7.x page editor The only thing I have found is that you have to make sure that the template that is selected at the top is correct. I have found with 4.6.3, if you change it to 'Top, left, right, all selectable' and then save it, it's fine, but the next time you go in, it's back to the default, 'Top, left' or something like that. And yes, for those who will ask, I did check 'Save template in page' option at the bottom. It doesn't seem to make a difference. Tom --On Wednesday, May 02, 2001 9:23 PM -0400 DB <db@m-and-d.com> wrote: > I have 4.7.1 running fine with MYSQL (after fixing the > options.mysqlfile). I used the admin interface's page edit to edit only > one word of the text in catalogs/.../pages/index.html. I then clicked > Save and then Apply changes. > > But when I viewed the changes in the store, the lefthand contents were > gone among other things. I saved a backup of the original index.html and > compared it to the modified version. They were very different... the > modified version was about 1/3 of the size. Am I missing something or is > there a problem? > > I tried this same excersize on the akopia.com demo site and the same > thing happened. I sent this before but got no reply so I tried to be > more specific this time. If I'm missing something, please let me know. > > DB > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange at my-school.com (IC-Admin) Date: Wed, 2 May 2001 22:18:57 -0400 (EDT) Subject: [ic] face lift :-) Hi, IC developer's site got a new face lift. Nice ! Very cute you got the tip jar and Freecell (and coolpick.com) on the site. So, I would suggest that RH-IC automagically leads all those busy IC site builders to the tip jar, before they goof off on their "client's" cost to play some cards. :-) No such thing as playing without tipping, understood ? ...:-) You definitely should also read about the sure way to tease out a meaningful response from the tired RH-IC developers to all your shameless questions (see tip jar). I love it. For the international readers, please make yourself knowledgable about the generously sized tips any decent good ol' American gives without hesitation to us greedy Europeans, when they visit us. So don't make us exiled Europeans in the US feel bad. Give with full hands and wholeheartedly. It is really very nice to see how all this growing. Can't wait til the new docs are out. BF From: pawan at generalogic.com (pawan) Date: Thu, 3 May 2001 14:28:00 +0530 Subject: [ic] West Virginia not on states list Erm. Like it says. WV not in the list of states on the checkout. Trivial to fix. From: tech at khouse.org (Russ Mann) Date: Wed, 2 May 2001 22:52:19 -0600 Subject: [ic] Shipping I will try implementing USPS this way, but out of curiosity, why did the old way break? -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Greg Gaskill Sent: Wednesday, May 02, 2001 6:53 PM To: interchange-users@lists.akopia.com Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4 > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann > Sent: Wednesday, May 02, 2001 8:01 PM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4 > > > dbconf/mysql/Priority.dbm > > Database Priority Priority.csv CSV > Database Priority GUESS_NUMERIC 1 > OK, I finally got it to work - sort of a kludge, but works exactly as it should. I have the Priority.csv in the products/ dir. But instead of defining my own lookup, I made pretend that 'Priority' was just another method of sending UPS. So I put these lines into shipping.asc: ( / means line continues) usps USPS Priority weight 0 0 e Nothing to ship! / {'adder' => "1",'ups' => "1",'table' => "Priority",'ui_ship_type' => / "UPSI",'geo' => "zip",'zone' => "450",} usps USPS Priority weight 0 70 u Priority [value name=zip / filter=digits default=45056] {} usps USPS Priority weight 70 999999 e @@TOTAL@@ lbs too / heavy for Priority Mail {} And then I modified my 450.csv file (or equivalent) to add Priority as an extra column, like so: "ZONES" Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day Air / Saver,Next Day Air,Priority 004-005,4,304,204,244,134,104,4 etc... and make sure to add 'usps' as a shipping method for US in the country.txt file - or via the UI. Then restart, and viola. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Greg > Gaskill > Sent: Wednesday, May 02, 2001 5:43 PM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4 > > > > > -----Original Message----- > > From: interchange-users-admin@lists.akopia.com > > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann > > Sent: Tuesday, May 01, 2001 6:52 PM > > To: Interchange Users > > Subject: [ic] Shipping Problem - USPS Shipping - Round 4 > > > > > > Hello List, > > > > Does anyone out there have a working IC 4.6 with a UPS Style look > > up for US > > Postal Service shipping option? > > > > I'm still working on this myself, but, did you make sure to add the > Priority.csv file as a database in your 'dbconf' directory? > > I've got it looking up, but returning 0 - without giving any > error message. > > Greg Gaskill > <g.gaskill@aboron.com> > > > > Thanks, > > > > Russ > <Snip 4th repetition of same message> _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jason_feingold at hotmail.com (Jason Feingold) Date: Thu, 03 May 2001 11:10:31 Subject: [ic] httpd.conf settings? Please help.. Hi. I'm desperate for some help. This is my last stumbling block(hopefully) before i can go live, and I can't bang my head against the wall anymore cause I keep waking up my neighbors... I'm using RH linux 7.0, Apache, with the latest stable interchange engine. My WebDoc root is set to /var/www/html. When I type in 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in my etc/hosts file) - it doesnt take me directly to the var/lib/interchange/mr/pages/index.html file, which is where i want to go. I try to link from my /var/www/html/index.html, but i get a permissions error. I am running my interchange as interch. The Apache Redirect Directive doesnt seem to get me anywhere either. I want people to just be able to type in 'www.machinerunner.com', not 'www.machinerunner.com/cgi-bin/mr' all the time... Any suggestions?I very much appreciate your help. Thanks.jason _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: m.mescoli at omnibit.nu (Marco Mescoli) Date: Thu, 3 May 2001 13:19:32 +0200 Subject: [ic] httpd.conf settings? Please help.. > > I'm using RH linux 7.0, Apache, with the latest stable interchange engine. > > My WebDoc root is set to /var/www/html. When I type in > 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in > my etc/hosts file) - it doesnt take me directly to the > var/lib/interchange/mr/pages/index.html file, which is where i want to go. > I try to link from my /var/www/html/index.html, but i get a permissions > error. I am running my interchange as interch. The Apache > Redirect Directive doesnt seem to get me anywhere either. The problem is Apache web server. Look at conf file /etc/httpd/conf/httpd.conf and verify permission on /var/www/html/index.html. When Apache daemon answer then from this file make link to cgi-bin executable to lead your clients to IC pages. _____________________________ Marco Mescoli Omnibit piccola scrl, Italy, Modena via Emilia ovest n.101 Tel, Fax +39-059-828278 http://www.omnibit.nu From: racke at linuxia.de (Stefan Hornburg Racke) Date: 03 May 2001 13:26:10 +0200 Subject: [ic] httpd.conf settings? Please help.. "Jason Feingold" <jason_feingold@hotmail.com> writes: > Hi. I'm desperate for some help. This is my last stumbling block(hopefully) > before i can go live, and I can't bang my head against the wall anymore > cause I keep waking up my neighbors... > > I'm using RH linux 7.0, Apache, with the latest stable interchange engine. > > My WebDoc root is set to /var/www/html. When I type in > 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in > my etc/hosts file) - it doesnt take me directly to the > var/lib/interchange/mr/pages/index.html file, which is where i want to go. > I try to link from my /var/www/html/index.html, but i get a permissions > error. I am running my interchange as interch. The Apache > Redirect Directive doesnt seem to get me anywhere either. > > I want people to just be able to type in 'www.machinerunner.com', not > 'www.machinerunner.com/cgi-bin/mr' all the time... RedirectMatch permanent ^/$ http://www.machinerunner.com/cgi-bin/mr Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: marco.bozzoli at amvtec.it (Marco Bozzoli) Date: Thu, 3 May 2001 13:52:06 +0200 Subject: [ic] info install. x Marco Mescoli or all user Marco, finalmente qualcuno che parla italiano, Ho visto questo programma e mi è molto piaciuto. Sarei intenzionato ad installarlo nello spazio del server che abbiamo affittato, ma non sono ancora così pratico di programmazione in perl e, se per favore, potresti darmi qualche dritta su dove trovare della documentazione in italiano su INTERCHANGE, o eventualmente darmi qualche dritta sulla configurazione. Nello spazio server la path per i file cgi o pl è la seguente /usr/local/plesk/apache/vhosts/nomesito.it/cgi-bin mentre quella per i file html ecc. è /usr/local/plesk/apache/vhosts/nomesito.it/httpdocs premesso che nella directory cgi-bin posso impostare i diritti dei file a 775 e non a 777, per la tua eperienza è possibile intallarlo in questa situazione ? Molte , molte molte grazie Marco Bozzoli -----Messaggio originale----- Da: Marco Mescoli <m.mescoli@omnibit.nu> A: interchange-users@lists.akopia.com <interchange-users@lists.akopia.com> Data: giovedì 3 maggio 2001 13.25 Oggetto: Re: [ic] httpd.conf settings? Please help.. >> >> I'm using RH linux 7.0, Apache, with the latest stable interchange engine. >> >> My WebDoc root is set to /var/www/html. When I type in >> 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in >> my etc/hosts file) - it doesnt take me directly to the >> var/lib/interchange/mr/pages/index.html file, which is where i want to go. >> I try to link from my /var/www/html/index.html, but i get a permissions >> error. I am running my interchange as interch. The Apache >> Redirect Directive doesnt seem to get me anywhere either. > >The problem is Apache web server. Look at conf file >/etc/httpd/conf/httpd.conf >and verify permission on /var/www/html/index.html. When Apache daemon answer >then from this file make link to cgi-bin executable to lead your clients to >IC pages. > > >_____________________________ >Marco Mescoli >Omnibit piccola scrl, >Italy, Modena via Emilia ovest n.101 >Tel, Fax +39-059-828278 >http://www.omnibit.nu > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > From: thomas at prometheas.gr (Thomas N. Stefanidis) Date: Thu, 03 May 2001 15:00:36 +0300 Subject: [ic] Double reload on every page(Netscape) Hello, On Explorer everything works just fine. But on Netscape when i enter a page,it reloads twice... Any ideas? Thomas From: DB at M-and-D.com (DB) Date: Thu, 03 May 2001 08:29:13 -0400 Subject: [ic] 4.7.x page editor Ok I see what you mean... tried it on the 4.6 demo. But on the 4.7/4.8 demo the dropdown list of templates is different. I tried each template in turn and they all caused the category list on the left to vanish. Is the correct template missing from the list? I hope this doesn't just happen to me! DB > > The only thing I have found is that you have to make sure that the template > that is selected at the top is correct. I have found with 4.6.3, if you > change it to 'Top, left, right, all selectable' and then save it, it's > fine, but the next time you go in, it's back to the default, 'Top, left' or > something like that. And yes, for those who will ask, I did check 'Save > template in page' option at the bottom. It doesn't seem to make a > difference. > > Tom > > --On Wednesday, May 02, 2001 9:23 PM -0400 DB <db@m-and-d.com> wrote: > > > I have 4.7.1 running fine with MYSQL (after fixing the > > options.mysqlfile). I used the admin interface's page edit to edit only > > one word of the text in catalogs/.../pages/index.html. I then clicked > > Save and then Apply changes. > > > > But when I viewed the changes in the store, the lefthand contents were > > gone among other things. I saved a backup of the original index.html and > > compared it to the modified version. They were very different... the > > modified version was about 1/3 of the size. Am I missing something or is > > there a problem? > > > > I tried this same excersize on the akopia.com demo site and the same > > thing happened. I sent this before but got no reply so I tried to be > > more specific this time. If I'm missing something, please let me know. > > > > DB From: Armin.Costa at unibz.it (Costa Armin (Student Econ99)) Date: Thu, 3 May 2001 14:36:31 +0200 Subject: [ic] httpd.conf settings? Please help.. I'd suggest you to install "Webmin", a freeware administration program. This will enable you to do certain tasks much quicklier in future, without any kind of troubleshooting. Saluti dall'Alta Badia (Provincia di BZ) Armin -----Original Message----- From: Marco Mescoli [mailto:m.mescoli@omnibit.nu] Sent: Donnerstag, 3. Mai 2001 13:20 To: interchange-users@lists.akopia.com Subject: Re: [ic] httpd.conf settings? Please help.. > > I'm using RH linux 7.0, Apache, with the latest stable interchange engine. > > My WebDoc root is set to /var/www/html. When I type in > 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in > my etc/hosts file) - it doesnt take me directly to the > var/lib/interchange/mr/pages/index.html file, which is where i want to go. > I try to link from my /var/www/html/index.html, but i get a permissions > error. I am running my interchange as interch. The Apache > Redirect Directive doesnt seem to get me anywhere either. The problem is Apache web server. Look at conf file /etc/httpd/conf/httpd.conf and verify permission on /var/www/html/index.html. When Apache daemon answer then from this file make link to cgi-bin executable to lead your clients to IC pages. _____________________________ Marco Mescoli Omnibit piccola scrl, Italy, Modena via Emilia ovest n.101 Tel, Fax +39-059-828278 http://www.omnibit.nu _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: jon at akopia.com (Jon Jensen) Date: Thu, 3 May 2001 07:54:58 -0500 (CDT) Subject: [ic] West Virginia not on states list On Thu, 3 May 2001, pawan wrote: > Erm. Like it says. WV not in the list of states on the checkout. Thanks! Fixed in CVS. It was nothing personal. :) Jon From: jason_feingold at hotmail.com (Jason Feingold) Date: Thu, 03 May 2001 13:25:11 Subject: [ic] httpd.conf settings? Please help.. > > I'm using RH linux 7.0, Apache, with the latest stable interchange >engine. > > My WebDoc root is set to /var/www/html. When I type in > >'www.machinerunner.com' - (DNS is not set yet but is set locally for me in > > my etc/hosts file) - it doesnt take me directly to the > >var/lib/interchange/mr/pages/index.html file, which is where i want to go. > > I try to link from my /var/www/html/index.html, but i get a permissions > > error. I am running my interchange as interch. The Apache > Redirect >Directive doesnt seem to get me anywhere either. > >The problem is Apache web server. Look at conf file >/etc/httpd/conf/httpd.conf and verify permission on >/var/www/html/index.html. When Apache daemon answer then from this file >make link to cgi-bin executable to lead your clients to IC pages. I can get to the /var/www/html/index.html file fine. When i change this to a link to the executable, the browser gives me an error saying i cant access the directory...Any ideas? > > >_____________________________ Marco Mescoli Omnibit piccola scrl, Italy, >Modena via Emilia ovest n.101 Tel, Fax +39-059-828278 http://www.omnibit.nu > > >_______________________________________________ Interchange-users mailing >list Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ Interchange-users mailing >list Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: jason_feingold at hotmail.com (Jason Feingold) Date: Thu, 03 May 2001 13:41:46 Subject: [ic] httpd.conf settings? Please help.. > > I want people to just be able to type in 'www.machinerunner.com', not > > 'www.machinerunner.com/cgi-bin/mr' all the time... > >RedirectMatch permanent ^/$ http://www.machinerunner.com/cgi-bin/mr > I added the above line, but httpd wouldnt start... I tried Redirect http://www.machinerunner.com http://www.machinerunner.com/cgi-bin/mr as well, but no luck.... Idea?Thanks.jason >Ciao > Racke > >-- >Master of Swiss Web 2001: http://www.zweifel.ch/ > >For projects and other business stuff please refer to COBOLT NetServices >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: irrgang at SC-Networks.de (Heiko Irrgang) Date: Thu, 3 May 2001 15:08:03 +0200 Subject: [ic] Starting problem Hello, I really have big problems with the documentation provieded with intrechange. I'm not finding anything in there. Where for example are the parameters for searches with [loop search="crypticstuffthatnobodyunderstands"]... ? I have problems getting into interchange too, all i want for example is listing every item from a table to generate a menu... So I have a table "categories": id|name|parent 1|Smoerebroed|1 2|Senslessnamedentry|1 3|CFX|1 ... And in the HTML source i do: - [loop search="ra=yes/fi=categories"] [loop-field name] - [/loop] I would expect the upper search to deliver the following result: - Smoerebroed - Senslessnamedentry - CFX - ...but the upper search seems to ignore the "fi" wich is AFAIK the parameter for the sourcefile (isn't it?) and gets the entries from the products file. BTW: I'm using Interchange 4.6.5 on Linux with Perl 5.6.0 Could anyone help a frustrated newbie please? Thanx, Heiko From: tpernell at bellsouth.net (Tommie & Melissa Pernell) Date: Thu, 3 May 2001 10:10:13 -0400 Subject: [ic] runtime error at checkout I am encountering a runtime error when I go to check out. Any link or button that calls the process.html page results in the following error: pernelle /~pernelle/cgi bin/cart.cgi/process.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdpar ty/interchange/lib/SQL/Statement.pm line 379 Does anyone have any ideas on how to correct the problem? Tommie From: greg at valuemedia.com (Greg Hanson) Date: Thu, 3 May 2001 07:21:07 -0700 Subject: [ic] httpd.conf settings? Please help.. Jason A simple alternative is to put the following into your index.html that is located in your /var/www/html/index.html; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Machinerunner.com If you dont mind waiting a second or so while it redirects... I just leave the page blank as above so there is just a short wait while it redirects, you can put the infamous "Please wait.... or some such.." if you prefer. Greg Greg Hanson Valuemedia.com 14355 Fern Dell Lane La Pine, OR 97739 541-536-2446 541-536-9407 Fax greg@valuemedia.com > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Jason > Feingold > Sent: Thursday, May 03, 2001 1:42 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] httpd.conf settings? Please help.. > > > > > > I want people to just be able to type in 'www.machinerunner.com', not > > > 'www.machinerunner.com/cgi-bin/mr' all the time... > > > >RedirectMatch permanent ^/$ http://www.machinerunner.com/cgi-bin/mr > > > I added the above line, but httpd wouldnt start... > I tried Redirect http://www.machinerunner.com > http://www.machinerunner.com/cgi-bin/mr as well, but no luck.... > Idea?Thanks.jason > > >Ciao > > Racke > > > >-- > >Master of Swiss Web 2001: http://www.zweifel.ch/ > > > >For projects and other business stuff please refer to COBOLT NetServices > >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: > 0041-1-3884400) > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: JoshNarins at aol.com (JoshNarins at aol.com) Date: Thu, 03 May 2001 10:25:46 EDT Subject: [ic] httpd.conf settings? Please help.. I think you are looking for # in httpd.conf Alias / "/real/path/to/cgi-bin/mr" HTH From: racke at linuxia.de (Stefan Hornburg Racke) Date: 03 May 2001 17:02:34 +0200 Subject: [ic] httpd.conf settings? Please help.. "Jason Feingold" <jason_feingold@hotmail.com> writes: > > > I want people to just be able to type in 'www.machinerunner.com', not > > > 'www.machinerunner.com/cgi-bin/mr' all the time... > > > >RedirectMatch permanent ^/$ http://www.machinerunner.com/cgi-bin/mr > > > I added the above line, but httpd wouldnt start... > I tried Redirect http://www.machinerunner.com > http://www.machinerunner.com/cgi-bin/mr as well, but no luck.... What are Apache's error messages ? Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: xisco at wmega.es (Xisco Canyellas) Date: Thu, 03 May 2001 19:27:52 -0400 Subject: [ic] New field in new account Hello, I need to add a new field when create a new account. I add new column in userdb.txt table and a new field in account.html but it don't save in userdb. Can someone help me? Thanks, Xisco From: todd at ehawaiigov.org (Todd Benson) Date: Thu, 3 May 2001 07:51:27 -1000 Subject: [ic] New field in new account How do I get off the Interchange mailing list? Todd ----- Original Message ----- From: "Xisco Canyellas" <xisco@wmega.es> To: <interchange-users@lists.akopia.com> Sent: Thursday, May 03, 2001 1:27 PM Subject: [ic] New field in new account > Hello, > I need to add a new field when create a new account. I add new column in > userdb.txt table and a new field in account.html but it don't save in > userdb. Can someone help me? > > Thanks, > > Xisco > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: steveandpatti at wubs.org (Steve & Patti Getzinger) Date: Thu, 03 May 2001 14:50:45 -0500 Subject: [ic] httpd.conf settings? Please help.. Here is what you want: ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" RewriteEngine On RewriteRule ^$ /cgi-bin/demo/index.html [PT,L] RewriteRule ^/$ /cgi-bin/demo/index.html [PT,L] RewriteRule ^/index\.html$ /cgi-bin/demo/index.html [PT,L] RewriteRule ^/cgi-bin/demo/.* - [PT,L] RewriteRule ^/.*images/.* - [PT,L] RewriteRule ^/(.*) /cgi-bin/demo/$1 [PT,L] Add this between your <virtualhost> tags for that domain name. Replace demo with your cat name. You are welcome and as I stated earlier it is in the archives. Steve Marco Mescoli wrote: > > > > > I'm using RH linux 7.0, Apache, with the latest stable interchange engine. > > > > My WebDoc root is set to /var/www/html. When I type in > > 'www.machinerunner.com' - (DNS is not set yet but is set locally for me in > > my etc/hosts file) - it doesnt take me directly to the > > var/lib/interchange/mr/pages/index.html file, which is where i want to go. > > I try to link from my /var/www/html/index.html, but i get a permissions > > error. I am running my interchange as interch. The Apache > > Redirect Directive doesnt seem to get me anywhere either. > > The problem is Apache web server. Look at conf file > /etc/httpd/conf/httpd.conf > and verify permission on /var/www/html/index.html. When Apache daemon answer > then from this file make link to cgi-bin executable to lead your clients to > IC pages. > > _____________________________ > Marco Mescoli > Omnibit piccola scrl, > Italy, Modena via Emilia ovest n.101 > Tel, Fax +39-059-828278 > http://www.omnibit.nu > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- ========================================================= WDI Steve & Patti Getzinger 702 Lincolnway West steveandpatti@wubs.org South Bend, IN 46616 http://www.wubs.org/ 219-287-4700 (Main Office) 317-535-0239 (Direct Line) ========================================================= From: jojo at blackpoint.de (Joachim Leidinger) Date: Thu, 03 May 2001 21:52:10 +0200 Subject: [ic] Trouble with Document->send() Hi list, i try [loop arg="1 2 3" send=1] [perl] my $out = " "; $Document->hot(1); my $i = 0; for ($i = 1; $i <= 10; $i++) { $out .= " $i "; select(undef,undef,undef,1.000); } $out .= "<br> Next process <BR> "; $Document->send($out); # flush buffer return ''; [/perl] [/loop] and i want to display 1 2 3 4 5 6 7 8 9 10 Next process three times immediately every 10 seconds. But i get 1 2 3 4 5 6 7 8 9 10 Next process 1 2 3 4 5 6 7 8 9 10 Next process 1 2 3 4 5 6 7 8 9 10 Next process *after* 30 seconds. Why is $Document->send(); # Send write buffer array to output, done # automatically upon end of ASP, clears buffer # and invalidates $Document->header() $Document->hot(1); # Cause writes to send immediately not working? Have anyone a right codes as an example to send any output to the user agent immediately? I have a long running process and any feedback to the user agent (for example a counter) is very important. Any tips and helps are very welcome! Thank you! ciao Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interch at web3.valley-internet.com (interch) Date: Thu, 3 May 2001 13:36:10 -0700 (PDT) Subject: [ic] Tutorial problem I have the tutorial working except for one thing I cannot figure out. When I submit an order it always wants to bring up failed.html, but at the same time it sends the email receipt and the order is actually processed, shows up in the admin, etc.. Here is an excerpt from error.log if that helps. Note that it logs that it is unable to send email when in fact it is able to send the email message. Chris 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process checking profile 0: var=&fatal val= yes Fatal=0 Final=0 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process profile 0 check result: var= val='1 ' message='' Fatal=1 Final=0 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process check returned val='1' var=UNDEF 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process checking profile 0: var=&final val= yes Fatal=1 Final=0 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process profile 0 check result: var= val='1 ' message='' Fatal=1 Final=1 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process check returned val='1' var=UNDEF 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process FINISH checking profile 0: Fatal=1 Final=1 Status=1 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process found body length 0 in values->mv_o rder_report 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process found body length 508 in OrderRepor t 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process Productbase: 'Vend::Table::DB_File= ARRAY(0x8e39e58)' --> { > 'Vend::Table::DB_File=ARRAY(0x8d91054)' => 'products', > 'Vend::Table::DB_File=ARRAY(0x8e39e58)' => 'products' > } > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process Now ready to track order, number=nW FhHDp8.988851803 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process finished track order, number=nWFhHD p8.988851803 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process Now ready to send mail, subject=ORD ER nWFhHDp8.988851803 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process send_mail: to=chris@paymentonline.c om subj=ORDER nWFhHDp8.988851803 r= mime= > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test /cgi-bin/test/process Unable to send mail using /usr/sbin /sendmail > To: chris@paymentonline.com > Subject: ORDER nWFhHDp8.988851803 > > > Name: chris ochs > Address: 601 Union St > 5454 sdfsdf > City, State, etc.: seattle, WA 98101 US > > Credit Card #: 5454545454545454 > Expiration Date: 09/09 > > > ************ ORDER ************ > From: interch at web3.valley-internet.com (interch) Date: Thu, 3 May 2001 14:09:10 -0700 (PDT) Subject: [ic] Tutorial problem Ok problem solved, sort of. I had this installed in a freebsd jail where newaliases had never been run and sendmail was complaining about it, but it was still sending out the email. It seems like the code in Order.pm doesn't distinguish between fatal and non fatal error messages from sendmail? Anyways problem solved... Chris On Thu, 3 May 2001, interch wrote: > > > I have the tutorial working except for one thing I cannot figure > out. When I submit an order it always wants to bring up failed.html, but > at the same time it sends the email receipt and the order is actually > processed, shows up in the admin, etc.. Here is an excerpt from > error.log if that helps. Note that it logs that it is unable to send > email when in fact it is able to send the email message. > > > Chris > > > > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process checking profile 0: var=&fatal val= > yes Fatal=0 Final=0 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process profile 0 check result: var= val='1 > ' message='' Fatal=1 Final=0 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process check returned val='1' var=UNDEF > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process checking profile 0: var=&final val= > yes Fatal=1 Final=0 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process profile 0 check result: var= val='1 > ' message='' Fatal=1 Final=1 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process check returned val='1' var=UNDEF > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process FINISH checking profile 0: Fatal=1 > Final=1 Status=1 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process found body length 0 in values->mv_o > rder_report > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process found body length 508 in OrderRepor > t > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process Productbase: 'Vend::Table::DB_File= > ARRAY(0x8e39e58)' --> { > > 'Vend::Table::DB_File=ARRAY(0x8d91054)' => 'products', > > 'Vend::Table::DB_File=ARRAY(0x8e39e58)' => 'products' > > } > > > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process Now ready to track order, number=nW > FhHDp8.988851803 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process finished track order, number=nWFhHD > p8.988851803 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process Now ready to send mail, subject=ORD > ER nWFhHDp8.988851803 > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process send_mail: to=chris@paymentonline.c > om subj=ORDER nWFhHDp8.988851803 r= mime= > > > 63.228.109.101 nWFhHDp8:63.228.109.101 - [03/May/2001:01:03:23 +0000] test > /cgi-bin/test/process Unable to send mail using /usr/sbin > /sendmail > > To: chris@paymentonline.com > > Subject: ORDER nWFhHDp8.988851803 > > > > > > Name: chris ochs > > Address: 601 Union St > > 5454 sdfsdf > > City, State, etc.: seattle, WA 98101 US > > > > Credit Card #: 5454545454545454 > > Expiration Date: 09/09 > > > > > > ************ ORDER ************ > > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: martin at chaossolutions.org (martin) Date: Thu, 03 May 2001 17:15:46 -0400 Subject: [ic] newbie problem Hello. As I had a spare mandrake workstation, I installed and tested apache, checked perl for the correct version, installed inetrchange from the RPM as it was available. It put it into /usr/lib/ I have printed out ALL the docs, put them into a binder, read and re-read them. Following the "Interchange installation" page 6 section 3.2 cd to interchange directory diff -r construct catalogs/construct comes back with catalogs/construct: file/directory not found. Why wasn`t it created ? The instructions don`t say anything about creating the directory manually. I haven`t used diff before so am following this part blindly, although the man page seems to indicate it compares files directories. This implies that catalogs/construct should already exist but it doesn`t. I never liked RPM`s. Perhap`s I should download the tar.gz and start again. Regards...Martin From: dan at mailturtle.com (Dan McFarland) Date: Thu, 3 May 2001 16:13:58 -0500 Subject: [ic] newbie problem Did you run "makecat" ?? ----- Original Message ----- From: martin <martin@chaossolutions.org> To: <interchange-users@lists.akopia.com> Sent: Thursday, May 03, 2001 4:15 PM Subject: [ic] newbie problem > Hello. > > As I had a spare mandrake workstation, I installed and tested apache, > checked perl for the correct version, installed inetrchange from the RPM as > it was available. > > It put it into /usr/lib/ > > I have printed out ALL the docs, put them into a binder, read and re-read them. > > Following the "Interchange installation" page 6 section 3.2 > > cd to interchange directory > > diff -r construct catalogs/construct > > comes back with catalogs/construct: file/directory not found. > > Why wasn`t it created ? > > The instructions don`t say anything about creating the directory manually. > > I haven`t used diff before so am following this part blindly, although > the man page seems to indicate it compares files directories. This implies > that catalogs/construct should already exist but it doesn`t. > > I never liked RPM`s. Perhap`s I should download the tar.gz and start again. > > Regards...Martin > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jon at akopia.com (Jon Jensen) Date: Thu, 3 May 2001 16:38:23 -0500 (CDT) Subject: [ic] newbie problem On Thu, 3 May 2001, martin wrote: > cd to interchange directory > > diff -r construct catalogs/construct > > comes back with catalogs/construct: file/directory not found. > > Why wasn`t it created ? Check /usr/doc/interchange-4.6.?/README.rpm for RPM-specific file locations. (Or possibly /usr/share/doc/..., depending on your system.) (Hint: /var/lib/interchange/catalogname) Jon From: steveandpatti at wubs.org (Steve & Patti Getzinger) Date: Thu, 03 May 2001 16:48:06 -0500 Subject: [ic] newbie problem Well let's start with the obvious :) I would rpm -e the $%#@ thing and let it do it's own thing with rpm -ivh blah.rpm. Now we should have an install in /usr/lib/interchange and upon running makecat you should (assuming you just accept defaults) make you a catalog in /var/lib/interchange/catalogs. It will be named construct. You should be able to access that catalog via a browser with: http://your.domain.com/cgi-bin/consruct Now you have a working (should have) catalog. Once you have accomplished that and see how the pieces are on your machine (all the pieces) you can play as much as you want. You can place catalogs wherever you want and you can install wherever you want but first make sure you have an understanding and a working model to follow. Steve martin wrote: > > Hello. > > As I had a spare mandrake workstation, I installed and tested apache, > checked perl for the correct version, installed inetrchange from the RPM as > it was available. > > It put it into /usr/lib/ > > I have printed out ALL the docs, put them into a binder, read and re-read them. > > Following the "Interchange installation" page 6 section 3.2 > > cd to interchange directory > > diff -r construct catalogs/construct > > comes back with catalogs/construct: file/directory not found. > > Why wasn`t it created ? > > The instructions don`t say anything about creating the directory manually. > > I haven`t used diff before so am following this part blindly, although > the man page seems to indicate it compares files directories. This implies > that catalogs/construct should already exist but it doesn`t. > > I never liked RPM`s. Perhap`s I should download the tar.gz and start again. > > Regards...Martin > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- ========================================================= WDI Steve & Patti Getzinger 702 Lincolnway West steveandpatti@wubs.org South Bend, IN 46616 http://www.wubs.org/ 219-287-4700 (Main Office) 317-535-0239 (Direct Line) ========================================================= From: db at cyclonehq.dnsalias.net (Dan B) Date: Thu, 03 May 2001 15:10:50 -0700 Subject: [ic] Starting problem At 03:08 PM 5/3/2001 +0200, you wrote: >Hello, > >I really have big problems with the documentation provieded with intrechange. >I'm not finding anything in there. Where for example are the parameters >for searches with [loop search="crypticstuffthatnobodyunderstands"]... ? Read the "database" reference on searching. That did it for me. Have you done the tutorial yet? >I have problems getting into interchange too, all i want for example >is listing every item from a table to generate a menu... > >So I have a table "categories": >id|name|parent >1|Smoerebroed|1 >2|Senslessnamedentry|1 >3|CFX|1 >... > >And in the HTML source i do: >- [loop search="ra=yes/fi=categories"] >[loop-field name] - >[/loop] > >I would expect the upper search to deliver the following result: >- Smoerebroed - Senslessnamedentry - CFX - > >...but the upper search seems to ignore the "fi" wich is AFAIK the >parameter for the sourcefile (isn't it?) and gets the entries from >the products file. Maybe you need st=db? (If you are using SQL database). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: webmaster at dreward.com (Webmaster at Dreward.com) Date: Thu, 3 May 2001 17:59:21 -0500 Subject: [ic] runtime error at checkout When that happened to me, Tommie, it was because my host hadn't installed Bundle::Interchange correctly. Give that a try and see if it works. bri -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Tommie & Melissa Pernell Sent: Thursday, May 03, 2001 9:10 AM To: interchange-users@lists.akopia.com Subject: [ic] runtime error at checkout I am encountering a runtime error when I go to check out. Any link or button that calls the process.html page results in the following error: pernelle /~pernelle/cgi bin/cart.cgi/process.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdpar ty/interchange/lib/SQL/Statement.pm line 379 Does anyone have any ideas on how to correct the problem? Tommie _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: shadowb at dmv.com (Brandee Diggs) Date: Thu, 3 May 2001 19:56:24 -0400 Subject: [ic] Help Please - Errors Can someone go here and look at my error log and tell me what is wrong? http://frasesbutchershop.com/~frasesbu/cgi-bin/cart.cgi/admin/do_view.html?m v_arg=error%2elog&mv_pc=70 If not, let me know what you need to help. Thanks. Brandee From: giftbound1 at home.com (Gift Bound Gifts) Date: Thu, 03 May 2001 22:05:00 -0400 Subject: [ic] options missing in interchange 4.7? Did anyone notice that in options:simple you cant add a new option as the button for create a new option is missing. Does anyone have a fix for this? From: shadowb at dmv.com (Brandee Diggs) Date: Thu, 3 May 2001 22:18:42 -0400 Subject: [ic] Keep Getting Errors Hello Group: I keep getting this error when I try to check out with products in the cart, can anyone help? ------------ 64.45.138.58 Bi7DdkzJ:64.45.138.58 - [03/May/2001:22:19:40 -0400] frasesbu /~frasesbu/cgi-bin/cart.cgi/process.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379. > ------------- Any help will be appreciated. Thanks, Brandee From: webhosting at indiespace.com (Indiespace Web Hosting) Date: Fri, 04 May 2001 21:16:50 -0700 Subject: [ic] Displaying credit card info on ic orders/customers screen Hi: Thanks for all the help thus far with our store from the list. Now I have one that's really a stumper. My current client is experienced with Intershop. Instead of email the credit card info with the order, he wants to log in as administrator and see it in the customer field. This way he can do everything via the web. I assume the store by default does not store this information, and is not set up to allow its addition to the administrative screens for customer and/or order. Does anyone have comments on whether this is possible? I've discussed the problems with storing cc info on the server but he wants to try.... Pete Markiewicz, CTO Indiespace Web Hosting - http://indiespace.com/webhosting Indiespace (http://indiespace.com) PO Box 5458 Santa Monica, CA 90409 310-399-4349 (v) 310-396-5489 (f) webhosting@indiespace.com From: doug at lathi.net (Doug Alcorn) Date: 04 May 2001 00:51:56 -0400 Subject: [ic] searching for this or that and the_other The way MySQL interprets it, I can do select code from products where addl_category like something or addl_category = 'something else' and category = 'another'; this is the same as ({(a =~ /something/) or (b = 'something else)) and (c = 'another')). i can't seem to get this to work in IC. here's my sameple little test page: [set dka_model]NOK6100[/set] [seti addlcat_profile] sf=addl_category op=rm se=[scratch dka_model] os=yes sf=addl_category se=universal [/seti] [bounce href="[area href=|scan| arg=| fi=products st=db sp=results2 mp=addlcat_profile os=no sf=category se=Cases | ]"] The above works fine as long as i leave out the os=yes/sf=addl_category/se=universal. When I put it in, the search says that there is nothing that matches. mathematically, shouldn't the return set always be larger with an ORed clause? -- (__) Doug Alcorn <doug@lathi.net> http://www.lathi.net chat:lathinet@yahoo|aol oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: g.gaskill at aboron.com (Greg Gaskill) Date: Fri, 4 May 2001 00:56:26 -0400 Subject: [ic] httpd.conf settings? Please help.. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Steve & > Patti Getzinger > Sent: Thursday, May 03, 2001 3:51 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] httpd.conf settings? Please help.. > > > Here is what you want: > > ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > RewriteEngine On > RewriteRule ^$ /cgi-bin/demo/index.html [PT,L] > RewriteRule ^/$ /cgi-bin/demo/index.html [PT,L] > RewriteRule ^/index\.html$ /cgi-bin/demo/index.html > [PT,L] > RewriteRule ^/cgi-bin/demo/.* - [PT,L] > RewriteRule ^/.*images/.* - [PT,L] > RewriteRule ^/(.*) /cgi-bin/demo/$1 [PT,L] > > Add this between your <virtualhost> tags for that domain name. Replace > demo with your cat name. You are welcome and as I stated earlier it is > in the archives. All I did for my site was add this: DirectoryIndex /cgi-bin/construct/index.html to my <virtualhost> section. I figure the odds are really slim that this will ever match anything in another subdirectory. Greg > > Steve > > Marco Mescoli wrote: > > > > > > > > I'm using RH linux 7.0, Apache, with the latest stable > interchange engine. <Chop> From: rene at hertell.com (Rene Hertell) Date: Fri, 4 May 2001 10:55:23 +0300 Subject: [ic] httpd.conf settings? Please help.. > All I did for my site was add this: > > DirectoryIndex /cgi-bin/construct/index.html > > to my <virtualhost> section. I figure the odds are really slim that this > will ever match anything in another subdirectory. > You could put the same line into a .htaccess file (/var/www/html/.htaccess). All RewriteRule stuff should also work from this file. I'm not sure, but I guess that if you make changes to the httpd.conf file, then the apache server has to be restarted... With the .htaccess file you don't have to do that :) René From: sp9wzx at post.pl (=?iso-8859-2?B?TWFyY2luIK95s2EgQmlQUw==?=) Date: Fri, 4 May 2001 12:54:31 +0200 Subject: [ic] Import product table - Problems (BIG PROBLEM) Hi. How to import table contents product list to interchange? 1. Download products list | tables | Individual Table Export | file009 2. Import file009 = error: gdbm store returned -1, errno 0, key "k " at file://usr/lib/interchange/lib/Vend/Table/Common.pm line 327, line 2. Progress to date: Using fields from file: 'sku title template_page comment display image price wholesale category nontaxable weight size color gift_cert related featured download dl_type dl_location inactive' Adding record ' '. Any ideas? Regards Marcin mzyla@xox.pl +48501661122 From: cfm at maine.com (cfm at maine.com) Date: Fri, 4 May 2001 07:58:12 -0400 Subject: [ic] Displaying credit card info on ic orders/customers screen Roll the archives back maybe 6 weeks for the same thread. On Fri, May 04, 2001 at 09:16:50PM -0700, Indiespace Web Hosting wrote: > Hi: > > Thanks for all the help thus far with our store from the list. Now I have > one that's really a stumper. My current client is experienced with > Intershop. Instead of email the credit card info with the order, he wants to > log in as administrator and see it in the customer field. This way he can do > everything via the web. > > I assume the store by default does not store this information, and is not > set up to allow its addition to the administrative screens for customer > and/or order. Does anyone have comments on whether this is possible? I've > discussed the problems with storing cc info on the server but he wants to > try.... > > Pete Markiewicz, CTO > Indiespace Web Hosting - http://indiespace.com/webhosting > Indiespace (http://indiespace.com) > PO Box 5458 > Santa Monica, CA 90409 > 310-399-4349 (v) > 310-396-5489 (f) > webhosting@indiespace.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: DB at M-and-D.com (DB) Date: Fri, 04 May 2001 08:51:24 -0400 Subject: [ic] 4.7.1 secure server I have 4.7.1 installed using 'foundation'. The variable SECURE_SERVER is set to https://mydomain.com and SECURE_ENABLE is set to 1. But when I go to the Admin interface and look at Info, it shows the Secure URL as http://mydomain.com/cgi-bin/foundation (not https). When I hit Checkout in the store it is not in secure mode. Can anyone tell me what I'm missing? I have my own secure certificate installed for https://mydomain.com. DB From: rene at hertell.com (Rene Hertell) Date: Fri, 4 May 2001 16:28:23 +0300 Subject: [ic] Can I use the same catalogue with two different link-programs? Hi list, I was wondering if it is possible to use the same catalogue from two different directories (e.g. /home/dir1/public_html/shop.cgi and /home/dir2/public_html/shop.cgi)? What kind of problems could this bring or is it just to rock & roll? Regards, René ----------------------- Energizer bunny arrested, charged with battery From: jon at akopia.com (Jon Jensen) Date: Fri, 4 May 2001 08:47:31 -0500 (CDT) Subject: [ic] Table editor I doubt anyone was using that table editor program 'te' I mentioned for anything serious. But if you were, you ought to get the revised version from the same URL ( http://www.akopia.com/~jon/te ). There was a bug that output fields with just '0' as empty strings. And it now keeps ownership and permissions of the original file. I'm not going to mention it here again as it's kind of off-topic, so if you're actually using it you may want to email me so I can send you updates. Jon From: racke at linuxia.de (Stefan Hornburg Racke) Date: 04 May 2001 16:06:33 +0200 Subject: [ic] Can I use the same catalogue with two different link-programs? "Rene Hertell" <rene@hertell.com> writes: > Hi list, > > I was wondering if it is possible to use the same catalogue from two > different directories (e.g. /home/dir1/public_html/shop.cgi and > /home/dir2/public_html/shop.cgi)? What kind of problems could this bring or > is it just to rock & roll? As long as you add the other URL to interchange.cfg it will work. BTW, it isn't a good idea to install CGIs in public directories. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: g.gaskill at aboron.com (Greg Gaskill) Date: Fri, 4 May 2001 10:03:23 -0400 Subject: [ic] httpd.conf settings? Please help.. > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene > Hertell > Sent: Friday, May 04, 2001 3:55 AM > To: interchange-users@lists.akopia.com > Subject: RE: [ic] httpd.conf settings? Please help.. > > > > All I did for my site was add this: > > > > DirectoryIndex /cgi-bin/construct/index.html > > > > to my <virtualhost> section. I figure the odds are really slim > that this > > will ever match anything in another subdirectory. > > > > You could put the same line into a .htaccess file > (/var/www/html/.htaccess). > All RewriteRule stuff should also work from this file. I'm not sure, but I > guess that if you make changes to the httpd.conf file, then the apache > server has to be restarted... With the .htaccess file you don't have to do > that :) Yes, I do have to restart apache to get the changes to be active; however, if you do: kill -USR1 (apache's pid) then apache never stops serving reqests and just updates the config, killing off the old-configed processes as they finish their current requests. Greg Gaskill > > René > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: brianmac at brimac.com (Brian) Date: Fri, 04 May 2001 07:30:16 -0700 Subject: [ic] httpd.conf settings? Please help.. On Fri, 4 May 2001 10:55:23 +0300 "Rene Hertell" <rene@hertell.com> wrote: Rene> > All I did for my site was add this: Rene> > Rene> > DirectoryIndex /cgi-bin/construct/index.html Rene> > Rene> > to my <virtualhost> section. I figure the odds are really slim that this Rene> > will ever match anything in another subdirectory. Rene> > Rene> Rene> You could put the same line into a .htaccess file (/var/www/html/.htaccess). Rene> All RewriteRule stuff should also work from this file. I'm not sure, but I Rene> guess that if you make changes to the httpd.conf file, then the apache Rene> server has to be restarted... With the .htaccess file you don't have to do Rene> that :) Rene> Rene> René Rene> Yes, you'll have to restart httpd if you make changes to the httpd.conf file. -- Brian - brianmac@brimac.com My Home Page: http://www.brimac.com/~brianmac Art for Sale: http://www.artbrowser.com Classified Advertising: http://www.sellit2000.com The name Jeep came from the abbreviation used in the army for the "General Purpose" vehicle, G.P. From: rene at hertell.com (Rene Hertell) Date: Fri, 4 May 2001 17:30:01 +0300 Subject: [ic] Can I use the same catalogue with two different link-programs? > As long as you add the other URL to interchange.cfg it will work. Is there any danger that the session and temp-files will get mixed up? > BTW, it isn't a good idea to install CGIs in public directories. Why not? It makes the URL shorter if I don't have to use the cgi-bin dir... Rene From: racke at linuxia.de (Stefan Hornburg Racke) Date: 04 May 2001 16:35:25 +0200 Subject: [ic] httpd.conf settings? Please help.. "Greg Gaskill" <g.gaskill@aboron.com> writes: [...] > > Yes, I do have to restart apache to get the changes to be active; however, > if > you do: > > kill -USR1 (apache's pid) > > then apache never stops serving reqests and just updates the config, killing > off the old-configed processes as they finish their current requests. I recommend to use "apachectl graceful", so you actually see if you've made sth wrong in the config. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: jojo at blackpoint.de (Joachim Leidinger) Date: Fri, 04 May 2001 17:11:58 +0200 Subject: [ic] How to flush puffer with IC? Hi list, a perl script like #!/usr/bin/perl $|=1; print "\r\nContent-Type: text/html\r\n"; $out = "a \n"; print $out; sleep (1); $out = "b \n"; print $out; sleep (1); $out = "c \n"; print $out; etc. display a b c d immediatly with 1 second pause between each chars. I try the same with [mvasp] <% my $out = " "; $Document->hot(1); $Document->send("\r\nContent-Type: text/html\r\n"); $out = "a \n"; $Document->send($out); select(undef,undef,undef,1.000); $out = "b \n"; $Document->send($out); select(undef,undef,undef,1.000); $out = "c \n"; %> [/mvasp] and get the whole page at once. It seems to me, IC did not flush the puffer. I've did try $Document->header("Content-type: text/plain", { replace => 1 } ); or $Document->header("\r\nContent-type: text/plain\r\n", { replace => 1 } with no success! What is the cause? Tanks! Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: martin at chaossolutions.org (martin) Date: Fri, 04 May 2001 11:20:44 -0400 Subject: [ic] Term:ReadLine module not installed Hello. I have the basic system up in part. I did note it gave me a warning (see subject) during the makecat. Where do I get this from ? I also have errors when I check the administration so it appears that Bundle:Interchange wasn`t installed. Off to CPAN now :-) Regards...martin From: bill at worldwideimpact.com (bill at worldwideimpact.com) Date: Fri, 4 May 2001 11:28:00 -0400 Subject: [ic] perl in interchange.cfg or catalog.cfg? Is there an easy way to embed perl in the interchange.cfg or catalog.cfg files similar to <perl> sections in httpd.conf (apache/mod_perl)? I am trying to link my interchange configuration with my mysql database. I found a way but it involved making changes to Vend/Config.pm. I am using 4.7.1. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: mikeh at minivend.com (Mike Heins) Date: Fri, 4 May 2001 11:29:27 -0400 Subject: [ic] Trouble with Document->send() Quoting Joachim Leidinger (jojo@blackpoint.de): > Hi list, > > i try > > [loop arg="1 2 3" send=1] > [perl] > my $out = " "; > $Document->hot(1); > my $i = 0; > for ($i = 1; $i <= 10; $i++) > { > $out .= " $i "; > select(undef,undef,undef,1.000); > } > $out .= "<br> Next process <BR> "; > $Document->send($out); # flush buffer > return ''; > [/perl] > [/loop] > > and i want to display > > 1 2 3 4 5 6 7 8 9 10 > Next process > > three times immediately every 10 seconds. But i get > > 1 2 3 4 5 6 7 8 9 10 > Next process > 1 2 3 4 5 6 7 8 9 10 > Next process > 1 2 3 4 5 6 7 8 9 10 > Next process > > *after* 30 seconds. > > Why is > > $Document->send(); # Send write buffer array to output, > done > # automatically upon end of ASP, clears > buffer > # and invalidates $Document->header() > $Document->hot(1); # Cause writes to send immediately > > not working? Because there is a buffer that needs to fill up via the vlink/tlink program. One way to fill it is to send 1024 characters of whitespace at the end of what you want to send. Also, your HTTP server may have ideas about what to do with output when it is not in NPH mode. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: racke at linuxia.de (Stefan Hornburg Racke) Date: 04 May 2001 17:26:30 +0200 Subject: [ic] Can I use the same catalogue with two different link-programs? "Rene Hertell" <rene@hertell.com> writes: > > As long as you add the other URL to interchange.cfg it will work. > Is there any danger that the session and temp-files will get mixed up? No, all accesses are mapped to the same directory. > > > BTW, it isn't a good idea to install CGIs in public directories. > Why not? It makes the URL shorter if I don't have to use the cgi-bin dir... Ouch. ScriptAlias is your friend. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: bill at worldwideimpact.com (bill at worldwideimpact.com) Date: Fri, 4 May 2001 11:37:30 -0400 Subject: [ic] Term:ReadLine module not installed Try: perl -MCPAN -e 'CPAN::Shell->install("Term::ReadLine")' Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 martin <martin@chaossolutions.org> Sent by: interchange-users-admin@lists.akopia.com 05/04/2001 11:20 AM Please respond to interchange-users To: interchange-users <interchange-users@lists.akopia.com> cc: Subject: [ic] Term:ReadLine module not installed Hello. I have the basic system up in part. I did note it gave me a warning (see subject) during the makecat. Where do I get this from ? I also have errors when I check the administration so it appears that Bundle:Interchange wasn`t installed. Off to CPAN now :-) Regards...martin _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: db at cyclonehq.dnsalias.net (Dan B) Date: Fri, 04 May 2001 08:39:06 -0700 Subject: [ic] Trouble with Document->send() At 11:29 AM 5/4/2001 -0400, you wrote: >Quoting Joachim Leidinger (jojo@blackpoint.de): > > Hi list, > > > > i try > > > > [loop arg="1 2 3" send=1] > > [perl] > > my $out = " "; > > $Document->hot(1); > > my $i = 0; > > for ($i = 1; $i <= 10; $i++) > > { > > $out .= " $i "; > > select(undef,undef,undef,1.000); > > } > > $out .= "<br> Next process <BR> "; > > $Document->send($out); # flush buffer > > return ''; > > [/perl] > > [/loop] > > > > and i want to display > > > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > > > three times immediately every 10 seconds. But i get > > > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > > > *after* 30 seconds. > > > > Why is > > > > $Document->send(); # Send write buffer array to output, > > done > > # automatically upon end of ASP, clears > > buffer > > # and invalidates $Document->header() > > $Document->hot(1); # Cause writes to send immediately > > > > not working? > >Because there is a buffer that needs to fill up via the vlink/tlink >program. One way to fill it is to send 1024 characters of whitespace at >the end of what you want to send. > >Also, your HTTP server may have ideas about what to do with output when >it is not in NPH mode. Does mod_interchange behave any differently in that respect? (E.g. does it automatically flush buffers without 1024 chars filled first?) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: jfoster at augustmail.com (John Foster) Date: Fri, 04 May 2001 10:40:14 -0500 Subject: [ic] Term:ReadLine module not installed martin wrote: > > Hello. > > I have the basic system up in part. > > I did note it gave me a warning (see subject) during the makecat. Where > do I get this from ? > > I also have errors when I check the administration so it appears that > Bundle:Interchange wasn`t installed. > > Off to CPAN now :-) --------------------------------------------------------------- I have been getting this same error warning for years even though I have all of the necessary modules installed. Apparently Debian style perl modules are not readily recognized by IC. At any rate it has not caused any problems with my progress. Best wishes. John From: giftbound1 at home.com (Gift Bound Gifts) Date: Fri, 4 May 2001 11:47:35 -0400 Subject: [ic] 4.7.1 secure server I think this is a bug of 4.7 you can go to catalog.cfg and put in your url for your secure server. ----- Original Message ----- From: "DB" <DB@M-and-D.com> To: <interchange-users@lists.akopia.com> Sent: Friday, May 04, 2001 8:51 AM Subject: [ic] 4.7.1 secure server > I have 4.7.1 installed using 'foundation'. The variable SECURE_SERVER is > set to https://mydomain.com and SECURE_ENABLE is set to 1. But when I go > to the Admin interface and look at Info, it shows the Secure URL as > http://mydomain.com/cgi-bin/foundation (not https). When I hit Checkout > in the store it is not in secure mode. Can anyone tell me what I'm > missing? I have my own secure certificate installed for > https://mydomain.com. > > DB > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: martin at chaossolutions.org (martin) Date: Fri, 04 May 2001 11:57:23 -0400 Subject: [ic] Term:ReadLine module not installed John Foster wrote: > > martin wrote: > > > > Hello. > > > > I have the basic system up in part. > > > > I did note it gave me a warning (see subject) during the makecat. Where > > do I get this from ? > > > > I also have errors when I check the administration so it appears that > > Bundle:Interchange wasn`t installed. > > > > Off to CPAN now :-) > --------------------------------------------------------------- > I have been getting this same error warning for years even though I have > all of the necessary modules installed. Apparently Debian style perl > modules are not readily recognized by IC. At any rate it has not caused > any problems with my progress. Best wishes. > John tell me about it. I knew I should have put interchange on a BSD machine and not a Linux RPM one. Unfortuantely, Mandrake was available and virtually unused. According to the RPMDrake, it IS installed. Further, even though all the perl files were installed (V5.6.0) at installation during a full Mandrake install, and RPMDrake sees them and they obviously work (with perl -v) and I have a basic interchange working, trying to install Bundle::Interchange gives me a lot of 'can`t find perl,not installed in usual places, abort on to next one, ditto ad mauseum ad infinitum.' I think I`ll try openBSD, as that`s the one I plan to use anyway. I`ll have to get another hard drive and do a fresh install Regards...Martin From: rene at hertell.com (Rene Hertell) Date: Fri, 4 May 2001 18:58:46 +0300 Subject: [ic] Can I use the same catalogue with two different link-programs? > > > BTW, it isn't a good idea to install CGIs in public directories. > > Why not? It makes the URL shorter if I don't have to use the > cgi-bin dir... > > Ouch. ScriptAlias is your friend. I forgot to mention that my systems runs on virtual hosts (provided by my ISP), and therefore I don't have any cgi-bins specified. I have made some before own script-dirs with execute rights... The only way I can make fast specifications is via the .htaccess, so all directives should be specifiable via the .htaccess file. Should I then create a separate dir with proper rights for the link-program? If I don't, will there be any safety risks? Rene From: jojo at blackpoint.de (Joachim Leidinger) Date: Fri, 04 May 2001 18:00:38 +0200 Subject: [ic] Trouble with Document->send() Mike Heins wrote: > > Quoting Joachim Leidinger (jojo@blackpoint.de): > > Hi list, > > > > i try > > > > [loop arg="1 2 3" send=1] > > [perl] > > my $out = " "; > > $Document->hot(1); > > my $i = 0; > > for ($i = 1; $i <= 10; $i++) > > { > > $out .= " $i "; > > select(undef,undef,undef,1.000); > > } > > $out .= "<br> Next process <BR> "; > > $Document->send($out); # flush buffer > > return ''; > > [/perl] > > [/loop] > > > > and i want to display > > > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > > > three times immediately every 10 seconds. But i get > > > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > > > *after* 30 seconds. > > > > Why is > > > > $Document->send(); # Send write buffer array to output, > > done > > # automatically upon end of ASP, clears > > buffer > > # and invalidates $Document->header() > > $Document->hot(1); # Cause writes to send immediately > > > > not working? > > Because there is a buffer that needs to fill up via the vlink/tlink > program. One way to fill it is to send 1024 characters of whitespace at > the end of what you want to send. > > Also, your HTTP server may have ideas about what to do with output when > it is not in NPH mode. Thank you a lot! But [mvasp] <% my $out = " "; my $filler = ""; $i = 0; for ($i = 1; $i <= 1024; $i++) { $filler .= " "; } $filler .= "<BR>"; $Document->hot(1); $out = "a" . $filler; $Document->send($out); select(undef,undef,undef,1.000); $out = "b" . $filler; $Document->send($out); select(undef,undef,undef,1.000); $out = "c" . $filler; $Document->send($out); $out = "d" . $filler; $Document->send($out); select(undef,undef,undef,1.000); $out = "e" . $filler; $Document->send($out); select(undef,undef,undef,1.000); $out = "f" . $filler; $Document->send($out); %> [/mvasp] did not work! Changing for ($i = 1; $i <= 1024; $i++) { $filler .= " "; } to for ($i = 1; $i <= 1700; $i++) { $filler .= " "; } make the work! What is the right max. number? Once more...THANK YOU!!! :-)) Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: help at LoadUp.com (LoadUp (Cust Serv Dept)) Date: Fri, 04 May 2001 09:11:35 -0700 Subject: [ic] subscribing on this page doesnt work Hello, subscribing on this page doesnt work http://lists.akopia.com/mailman/listinfo/interchange-users Can someone email me and explain whats wrong with it. -- Angelica Olins <angel@LOADUP.COM> "I am easily satisfied by the very best" - Winston Churchill From: giftbound1 at home.com (Gift Bound Gifts) Date: Fri, 04 May 2001 12:28:07 -0400 Subject: [ic] Interchane 4.7.1 options:simple missing please help. Did anyone notice that in interchange 4.7.1 that you cant create a option as the create a option button is missing? Does anyone have a fix for this? Im using DBM Database. Try it create a item then go to options then click ok then you will no what im talking about. Anyone please help. From: db at cyclonehq.dnsalias.net (Dan B) Date: Fri, 04 May 2001 09:35:58 -0700 Subject: [ic] subscribing on this page doesnt work At 09:11 AM 5/4/2001 -0700, you wrote: >Hello, > >subscribing on this page doesnt work >http://lists.akopia.com/mailman/listinfo/interchange-users > >Can someone email me and explain whats wrong with it. The mail administrators are currently trying to fix the many i-D10-T errors that are reported to the list every few days. In the mean time, I suggest that you use the OFFICIAL Unsubscribe Kit (tm): Call your ISP and ask them to Mail you an Unsubscribe Kit. It should be the standard no-fault type. Depending on your requirements, System A and/or System B can be used. When operating System A, depress lever and a plastic dalkron unsubscriber will be dispensed through the slot immediately underneath. When you have fastened the adhesive lip, attach connection marked by the large "X" outlet hose. Twist the silver-colored ring one inch below the connection point until you feel it lock. The kit is now ready for use. The Cin-Eliminator is activated by the small switch on the lip. When securing, twist the ring back to its initial condition, so that the two orange lines meet. Disconnect. Place the dalkron unsubscriber in the vacuum receptacle to the rear. Activate by pressing the blue button. The controls for System B are located on the opposite side. The red release switch places the Cin-Eliminator into position; it can be adjusted manually up or down by pressing the blue manual release button. The opening is self-adjusting. To secure after use, press the green button, which simultaneously activates the evaporator and returns the Cin-Eliminator to its storage position. You may log off if the green exit light is on over the evaporator. If the red light is illuminated, one of the Cin-Eliminator requirements has not been properly implemented. Press the "List Guy" call button on the right of the evaporator. He will secure all facilities from his control panel. To use the Auto-Unsub, first undress and place all your clothes in the clothes rack. Put on the velcro slippers located in the cabinet immediately below. Enter the shower, taking the entire kit with you. On the control panel to your upper right upon entering you will see a "Shower seal" button. Press to activate. A green light will then be illuminated immediately below. On the intensity knob, select the desired setting. Now depress the Auto-Unsub activation lever. Bathe normally. The Auto-Unsub will automatically go off after three minutes unless you activate the "Manual off" override switch by flipping it up. When you are ready to leave, press the blue "Shower seal" release button. The door will open and you may leave. Please remove the velcro slippers and place them in their container. If you prefer the ultrasonic log-off mode, press the indicated blue button. When the twin panels open, pull forward by rings A & B. The knob to the left, just below the blue light, has three settings, low, medium or high. For normal use, the medium setting is suggested. After these settings have been made, you can activate the device by switching to the "ON" position the clearly marked red switch. If during the unsubscribing operation, you wish to change the settings, place the "manual off" override switch in the "OFF" position. You may now make the change and repeat the cycle. When the green exit light goes on, you may log off and have lunch. Please close the door behind you. (Composed by Randall Woodman) Thank you, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com PS. Apologies for off-topic post, but this must make at least one round per mailing list per year. :-) From: edl at newmediaems.com (Ed LaFrance) Date: Fri, 04 May 2001 09:38:09 -0700 Subject: [ic] perl in interchange.cfg or catalog.cfg? At 11:28 AM 05/04/2001 -0400, you wrote: >Is there an easy way to embed perl in the interchange.cfg or catalog.cfg >files similar to <perl> sections in httpd.conf (apache/mod_perl)? I am >trying to link my interchange configuration with my mysql database. I >found a way but it involved making changes to Vend/Config.pm. I am using >4.7.1. > >Bill Carr >Worldwide Impact >bill@worldwideimpact.com >413.253.6700 Hmmm...take a look at the docs on User defined tags, and also the Globalsub directive for interchange.cfg (Config docs). You've lost me (and no doubt others) with 'link my interchange configuration with my mysql database' - Interchange supports mySQL for databases via the Perl DBI - did you read the docs for 'Interchange Database'? 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: dbauer at rttinc.com (DALE) Date: Fri, 4 May 2001 10:49:01 -0700 Subject: [ic] Akopia Developers Hi I am looking for a Akopia/Interchange developer to help me get my brick and mortar supplement store on-line. Preference will be given to Canadian developers. (No offence to my US brothers. Exchange rate. I'm sure you understand.) Send contact info off list to dbauer@rttinc.com Regards Dale From: db at cyclonehq.dnsalias.net (Dan B) Date: Fri, 04 May 2001 09:53:31 -0700 Subject: [ic] perl in interchange.cfg or catalog.cfg? At 09:38 AM 5/4/2001 -0700, you wrote: >At 11:28 AM 05/04/2001 -0400, you wrote: >>Is there an easy way to embed perl in the interchange.cfg or catalog.cfg >>files similar to <perl> sections in httpd.conf (apache/mod_perl)? I am >>trying to link my interchange configuration with my mysql database. I >>found a way but it involved making changes to Vend/Config.pm. I am using >>4.7.1. >> >>Bill Carr >>Worldwide Impact >>bill@worldwideimpact.com >>413.253.6700 > >Hmmm...take a look at the docs on User defined tags, and also the >Globalsub directive for interchange.cfg (Config docs). > >You've lost me (and no doubt others) with 'link my interchange >configuration with my mysql database' - Interchange supports mySQL for >databases via the Perl DBI - did you read the docs for 'Interchange Database'? I think what Bill is trying to do sounds interesting, e.g.: (psuedocode) Catalog.cfg: [perl] if (date() == Tuesday){ query_msyql("SELECT catalog_cfg FROM catalogs_config_files WHERE use_date="tuesday"); } return results; [/perl] Which would allow you to use a given set of configuration depending on arbitrary perl code (such as database contents via the day of the week). There's probably a way to do this already, but I don't know it. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: itelevise at yahoo.com (k b) Date: Fri, 4 May 2001 10:11:40 -0700 (PDT) Subject: [ic] unsubscribe.......get me off this list please __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: chc at mninter.net (Curt Hauge) Date: Fri, 4 May 2001 12:34:48 -0500 Subject: [ic] unsubscribe.......get me off this list please Dear Akopia, Is it possible to make it easier to understand how to unsubscribe from the list, such as using CAPS at the bottom of the page, such as: "UNSUBSCRIBE BY CLICKING HERE --> http://lists.akopia.com/mailman/listinfo/interchange-users, then scroll to the bottom and unsubscribe." For some reason (and I won't comment), some people just don't get it. =) Just my 2 cents. Thanks and good luck. Curt Hauge From: mikeh at minivend.com (Mike Heins) Date: Fri, 4 May 2001 13:40:33 -0400 Subject: [ic] 4.7.1 secure server Quoting DB (DB@M-and-D.com): > I have 4.7.1 installed using 'foundation'. The variable SECURE_SERVER is > set to https://mydomain.com and SECURE_ENABLE is set to 1. But when I go > to the Admin interface and look at Info, it shows the Secure URL as > http://mydomain.com/cgi-bin/foundation (not https). When I hit Checkout > in the store it is not in secure mode. Can anyone tell me what I'm > missing? I have my own secure certificate installed for > https://mydomain.com. Actually, there is a mismatch between SECURE_ENABLED and SECURE_ENABLE in the variables file. Either change the setting in preferences to match the one in catalog.cfg, or vice versa. The latest CVS version should have this fixed.... -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: jon at akopia.com (Jon Jensen) Date: Fri, 4 May 2001 12:45:59 -0500 (CDT) Subject: [ic] perl in interchange.cfg or catalog.cfg? On Fri, 4 May 2001, Dan B wrote: > I think what Bill is trying to do sounds interesting, e.g.: > (psuedocode) > Catalog.cfg: > [perl] > if (date() == Tuesday){ > query_msyql("SELECT catalog_cfg FROM catalogs_config_files > WHERE use_date="tuesday"); > } > return results; > [/perl] > > Which would allow you to use a given set of configuration depending on > arbitrary perl code (such as database contents via the day of the week). > > There's probably a way to do this already, but I don't know it. "Watch points" may be just what you're looking for. They only work in catalog.cfg, but they're quite cool: http://developer2.akopia.com/cgi-bin/ic/dev/icconfig_80.html Jon From: interch at web3.valley-internet.com (interch) Date: Fri, 4 May 2001 10:56:49 -0700 (PDT) Subject: [ic] Errors not showing in needfield.html What else can I do to see what the error is that is causing needfield.html to be displayed besides the following? The error tag is not returning anything at all. Chris [error all=1 show_var=1 show_error=1 keep=1 joiner='<br>'] From: bill at worldwideimpact.com (bill at worldwideimpact.com) Date: Fri, 4 May 2001 14:03:39 -0400 Subject: [ic] perl in interchange.cfg or catalog.cfg? Check out http://www.modperl.com/book/chapters/ch8.html#Configuring_Apache_with_Perl That is how I am configuring Apache. I am using exim for MTA which provides a means to do sql in it's configuration files. I want to keep all of my configuration in the mysql database for apache,exim,bind and ic. I am building a ui to the database using ic. I will have a central web based control center for all of my virtual domains and the services provided for each. I made a hack to Vend/Config.pm around line 1031 link this: if (-f $configfile) { if ($configfile =~ /\.pl$/) { open(GLOBAL, "$configfile 2>/dev/null |"); } else { open(GLOBAL, "< $configfile"); } } unless (-f GLOBAL || -p GLOBAL) basically if I #include a file in interchange.cfg that ends in .pl run the command on the system and catch STDOUT. This works but I'd prefer a way that doesn't involve a change to the code. I just couldn't find out how. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 Dan B <db@cyclonehq.dnsalias.net> Sent by: interchange-users-admin@lists.akopia.com 05/04/2001 12:53 PM Please respond to interchange-users To: interchange-users@lists.akopia.com cc: Subject: Re: [ic] perl in interchange.cfg or catalog.cfg? At 09:38 AM 5/4/2001 -0700, you wrote: >At 11:28 AM 05/04/2001 -0400, you wrote: >>Is there an easy way to embed perl in the interchange.cfg or catalog.cfg >>files similar to <perl> sections in httpd.conf (apache/mod_perl)? I am >>trying to link my interchange configuration with my mysql database. I >>found a way but it involved making changes to Vend/Config.pm. I am using >>4.7.1. >> >>Bill Carr >>Worldwide Impact >>bill@worldwideimpact.com >>413.253.6700 > >Hmmm...take a look at the docs on User defined tags, and also the >Globalsub directive for interchange.cfg (Config docs). > >You've lost me (and no doubt others) with 'link my interchange >configuration with my mysql database' - Interchange supports mySQL for >databases via the Perl DBI - did you read the docs for 'Interchange Database'? I think what Bill is trying to do sounds interesting, e.g.: (psuedocode) Catalog.cfg: [perl] if (date() == Tuesday){ query_msyql("SELECT catalog_cfg FROM catalogs_config_files WHERE use_date="tuesday"); } return results; [/perl] Which would allow you to use a given set of configuration depending on arbitrary perl code (such as database contents via the day of the week). There's probably a way to do this already, but I don't know it. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: adi at adis.on.ca (Adi Linden) Date: Fri, 4 May 2001 13:34:38 -0500 (CDT) Subject: [ic] unsubscribe.......get me off this list please Hi, To clarify first, I am not associated with the sender of the "RE: [ic] unsubscribe.......get me off this list please" message nor do I agree with his method of attracting attention... BUT Prior to going on long trips I usually unsubscribe from mailing lists to cut down on the messages I have to download via landline modem. The last 2 times I went traveling I have been unsuccessful in unsubscribing by both methods I know of, sending an 'unsubscribe' message to 'Interchange-announce-request@lists.akopia.com' and by accessing 'http://lists.akopia.com/mailman/listinfo/interchange-users' In both instances I received confirmation that I was unsubscribed but messages are still coming in... To me it's just been a minor annoyance. And hey, worst case scenary I just add the list address to my spamblock. A rather rude way to unsubscribe but it'll stop the messages from reaching my mailbox if all else fails... TTYL, Adi On Fri, 4 May 2001, Curt Hauge wrote: > Dear Akopia, > > Is it possible to make it easier to understand how to unsubscribe from the > list, such as using CAPS at the bottom of the page, such as: > > "UNSUBSCRIBE BY CLICKING HERE --> > http://lists.akopia.com/mailman/listinfo/interchange-users, then scroll to > the bottom and unsubscribe." > > For some reason (and I won't comment), some people just don't get it. =) > > Just my 2 cents. > > Thanks and good luck. > > Curt Hauge > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: shadowb at dmv.com (Brandee Diggs) Date: Fri, 4 May 2001 14:45:51 -0400 Subject: [ic] MySQL Database Question: In order to process to the checkout area with items in the cart, do we need to have a database (i.e. MySQL) to process. I keep getting errors. Any suggestions? Thanks Brandee From: cfm at maine.com (cfm at maine.com) Date: Fri, 4 May 2001 15:14:05 -0400 Subject: [ic] perl in interchange.cfg or catalog.cfg? On Fri, May 04, 2001 at 02:03:39PM -0400, bill@worldwideimpact.com wrote: > Check out > http://www.modperl.com/book/chapters/ch8.html#Configuring_Apache_with_Perl > That is how I am configuring Apache. I am using exim for MTA which > provides a means to do sql in it's configuration files. I want to keep all > of my configuration in the mysql database for apache,exim,bind and ic. I > am building a ui to the database using ic. I will have a central web based > control center for all of my virtual domains and the services provided for > each. > > I made a hack to Vend/Config.pm around line 1031 link this: > > if (-f $configfile) { > if ($configfile =~ /\.pl$/) { > open(GLOBAL, "$configfile 2>/dev/null |"); > } else { > open(GLOBAL, "< $configfile"); > } > } > unless (-f GLOBAL || -p GLOBAL) > > basically if I #include a file in interchange.cfg that ends in .pl run the > command on the system and catch STDOUT. This works but I'd prefer a way > that doesn't involve a change to the code. I just couldn't find out how. There is nothing wrong with hacking the code. Do, however, try to keep your hacks small and well organized so you can minimize the patches and pain of upgrading. We did look at doing what you write about but abandoned it. Even if we configured from sql there was still a requirement to create directory structures and pages. We did not want that so instead we now build "sub catalogs" within an existing catalog. While those sub-catalogs are entirely dynamic they use the directory structure of the "master" catalog. > > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 > > > > > Dan B <db@cyclonehq.dnsalias.net> > Sent by: interchange-users-admin@lists.akopia.com > 05/04/2001 12:53 PM > Please respond to interchange-users > > > To: interchange-users@lists.akopia.com > cc: > Subject: Re: [ic] perl in interchange.cfg or catalog.cfg? > > > At 09:38 AM 5/4/2001 -0700, you wrote: > >At 11:28 AM 05/04/2001 -0400, you wrote: > >>Is there an easy way to embed perl in the interchange.cfg or catalog.cfg > >>files similar to <perl> sections in httpd.conf (apache/mod_perl)? I am > >>trying to link my interchange configuration with my mysql database. I > >>found a way but it involved making changes to Vend/Config.pm. I am using > >>4.7.1. > >> > >>Bill Carr > >>Worldwide Impact > >>bill@worldwideimpact.com > >>413.253.6700 > > > >Hmmm...take a look at the docs on User defined tags, and also the > >Globalsub directive for interchange.cfg (Config docs). > > > >You've lost me (and no doubt others) with 'link my interchange > >configuration with my mysql database' - Interchange supports mySQL for > >databases via the Perl DBI - did you read the docs for 'Interchange > Database'? > > I think what Bill is trying to do sounds interesting, e.g.: > (psuedocode) > Catalog.cfg: > [perl] > if (date() == Tuesday){ > query_msyql("SELECT catalog_cfg FROM > catalogs_config_files > WHERE use_date="tuesday"); > } > return results; > [/perl] > > Which would allow you to use a given set of configuration depending on > arbitrary perl code (such as database contents via the day of the week). > > There's probably a way to do this already, but I don't know it. > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: bill at worldwideimpact.com (bill at worldwideimpact.com) Date: Fri, 4 May 2001 15:42:34 -0400 Subject: [ic] single column tables IC 4.7.1 Vend/Table/DBI.pm Line 323 die "DBI: no column names returned for $tablename\n" unless defined $config->{NAME}[1]; Why must a table have at least two columns? Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: doug at lathi.net (Doug Alcorn) Date: 04 May 2001 16:49:51 -0400 Subject: [ic] Training survey results Jason Kohles <jkohles@redhat.com> writes: > On Wed, May 02, 2001 at 01:57:30PM -0400, Doug Alcorn wrote: > > > > So when's the formal announcement of training classe? I had heard > > something from someone in RedHat training about a class being offered > > in May/June in RTP. The cost of that course was definitely not inline > > with these survey results. > > > Keep in mind that the numbers in the survey result are cost per day, and > most of the courses are more than one day. I guess I didn't read the survey very well then. -- (__) 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: tech at khouse.org (Russ Mann) Date: Fri, 4 May 2001 15:14:00 -0600 Subject: [ic] set a userdb value on mv_click Dear List, In the context of storing CC#'s for the user (encrypted), this is what I have so far: mv_credit_card_info is saved to the userdb by some file in /etc. When a person gets to my checkout.html page (after requiring a login/account), an [if value mv_credit_card_info] determines whether they get a cc info input box, or this: ------------- Note: A valid visa number is on file. The current Credit Card number can be identified by this: visa - Expires: 3/01 - CC# Identifier:1111 If you wish to change your Credit Card for this purchase, please click this button. ------------- The question I have is how to make clicking this button set mv_credit_card_info to nothing, and refresh the page, bringing us back to the [if value mv_credit_card_info] question which will now display input boxes. Thanks, Russ From: giftbound1 at home.com (Gift Bound Gifts) Date: Fri, 04 May 2001 17:29:35 -0400 Subject: [ic] cvs problem When i try to use cvs. I get premature end of file from server. What could be the problem here? From: jim at idk-enterprises.com (Jim Balcom) Date: Fri, 4 May 2001 20:08:56 -0400 (EDT) Subject: [ic] single column tables On Fri, 4 May 2001 bill@worldwideimpact.com wrote: >>IC 4.7.1 Vend/Table/DBI.pm Line 323 >> >> die "DBI: no column names returned for $tablename\n" >> unless defined $config->{NAME}[1]; >> >>Why must a table have at least two columns? Because if it is only one column it is a list and not a table ???? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, May 04, 2001 at 20:05 PM: Oxymoron: Somewhat Incompatible. ---------------------------------------------------------------- This Linux System has been up 149 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: jimtoro at hoflink.com (jimtoro at hoflink.com) Date: Fri, 4 May 2001 20:26:00 -0400 (EDT) Subject: [ic] Updating tables via form I am using MV4.04a and I am trying to do a update of a database as per the "Updating Minivend database tables with a form" from the manual. In the first page, I have the user enter the CODE for the item in question with: ------------------------ <form method=post action="[process]"> <input type=hidden name="mv_doit" value="return"> <input type=hidden name="mv_nextpage" value="update_bookdata"> Booking Code Number <input type=text size=9 name="update_code" value="[value update_code]"> <input type=submit name="mv_submit" value="Edit Booked Date"> </form> ------------------------ Which seems to take the data fine, then it calls a page which includes the following code: ---------------------------- [set mv_data_enable]1[/set] [tag flag write]bookeddates[/tag] <form method=post action="[process-target]"> <input type=hidden name="mv_data_table" value="bookeddates"> <input type=hidden name="mv_data_key" value="code"> <input type=hidden name="mv_data_function" value="update"> <input type=hidden name="mv_nextpage" value="updated"> <input type=hidden name="mv_data_fields" value="code,dbstartdate,dbbookdate,dbbookoccasion,dbbookrfirstname,dbbookrlastname,dbbookaddr1,dbbookaddr2,dbbookaddr3,dbbookrtown,dbbookrstate,dbbookrzipcode,dbbookcardonly,dbbookvendor,dbbookvenphone,dbbookitemno,dbbookitemdesc,dbbookmaxprice,dbbookuser,dbbookcardno,dbbookdesc,dbbookcardprice,dbbookcardwrite,dbbookcallme,dbbookgiftwrap,dbbcancelcode"> <pre> [loop arg="[value update_code]"] Booking ID Code: [loop-code] Booking Created on <input type=text name="dbstartdate" size=20 value="[loop-field dbstartdate]"> Booked Date <input type=text name="dbbookdate" size=20 value="[loop-field dbbookdate]"> ---(note- deleted all other fields just to save space in this message)--- [/loop] </pre> <input type=hidden name="mv_todo" value="set"> <input type=submit value="Update Booking"> </form> ------------------------------ The problem is when the I use the above to edit a record it shows the CODE for the item and then all the other fields show the text to the left of the <INPUT> statements but empty values from the database in each box. If I look at the source of the page in the browser the values for each of the input lines comes up as 'value=""' instead of the fields data. If I edit any field and hit submit it will then update the data in the database as normal. I verify this by going to minimate and using the database edit function to view the record. The new data shows up in the field for that record. How come I dont see the data for any of the fields when trying to update them via the above code but if I update a field it does the update in the database and keeps all other fields with their original information?. ------------------------------------------ House Of Files Internet Web Consulting, Design and Hosting 516-938-2421 http://www.hofweb.com From: db at m-and-d.com (DB) Date: Fri, 04 May 2001 22:00:12 -0400 Subject: [ic] 4.7.1 secure server Ok, editing that variable name in catalog.cfg indeed caused the correct Secure URL to be displayed in the Admin interface's Info section. But when I go into the store and click Checkout, it appears to be looking for the correct URL but it just sits for about 15sec before giving this message: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. I have my own secure certificate installed, and 4.6.5 work fine with it. As do all my other web pages and cgi scripts if I just change http to https. No errors show up in ~/catalogs/foundation/error.log or in ~/interchange/error.log. And if I replace the http: in the URL it is looking for with http:, the (non secure) checkout page pops right up. So now what? DB > From: Mike Heins <mikeh@minivend.com> > > Quoting DB (DB@M-and-D.com): > > I have 4.7.1 installed using 'foundation'. The variable SECURE_SERVER is > > set to https://mydomain.com and SECURE_ENABLE is set to 1. But when I go > > to the Admin interface and look at Info, it shows the Secure URL as > > http://mydomain.com/cgi-bin/foundation (not https). When I hit Checkout > > in the store it is not in secure mode. Can anyone tell me what I'm > > missing? I have my own secure certificate installed for > > https://mydomain.com. > > Actually, there is a mismatch between SECURE_ENABLED and SECURE_ENABLE > in the variables file. Either change the setting in preferences to > match the one in catalog.cfg, or vice versa. > > The latest CVS version should have this fixed.... > > -- From: giftbound1 at home.com (Gift Bound Gifts) Date: Fri, 04 May 2001 22:22:22 -0400 Subject: [ic] cvs help Im having a problem using cvs I typed this CVSROOT=:pserver:anon_cvs@cvs.akopia.com:/anon_cvs/repository export CVSROOT cvs login I get premature end of scripts. am i doing something wrong here? From: giftbound1 at home.com (Gift Bound Gifts) Date: Fri, 04 May 2001 22:32:17 -0400 Subject: [ic] how can i? I found out that cvs is not supported on my server is there a way for me to get the updates of interchange? From: giftbound1 at home.com (Gift Bound Gifts) Date: Fri, 04 May 2001 23:21:29 -0400 Subject: [ic] why isnt this working? in interchange 4.7.1 I noticed that in options:simple that theres no button create a option so i added this: <INPUT TYPE="submit" NAME="mv_click" VALUE="Commit Changes"> </TD><TD><PRE> </PRE></TD><TD VALIGN=TOP> <B>Create a new option:</B><BR> Name: <INPUT TYPE=text SIZE=20 NAME="opt_group_" VALUE=""><BR> <TEXTAREA ROWS=5 COLS=30 NAME="opt_value_"></TEXTAREA> <BR> <INPUT TYPE="submit" NAME="mv_click" VALUE="Create option"> <BR><BR> [seti o_value][perl] my @vals = split(',','[sql-param o_value]'); [/perl][/seti] <HR> however it dont work. Can someone tell me why? From: interch at web3.valley-internet.com (interch) Date: Fri, 4 May 2001 20:46:29 -0700 (PDT) Subject: [ic] Need clarification on license/GPL I am a little unclear on a few things when it comes to Interchange and the GPL license, any feedback would be appreciated. I am evaluating Interchange as a platform for our company to use for providing ecommerce applications and where the line is drawn as to when our applications being built with interchange would fall under the GPL are a little unclear to me. In other words, I am assuming that any html templates or files that are called via say Route, that execute a series of Interchange tags, would not in themselves automatically be GPL. But at what point would our code snippets fall under the GPL? What about User defined tags, or a user defined tag that then overrides an existing Interchange subroutine? Our strategy would include intentionally adding to the source code and of course making that available, but part of what we wold want to do is create custom templates using stock Interchange tags and features that we would want to sell for profit, much like Red Hat I assume will be doing. I am glad to see that Red Hat picked up Akopia and Interchange. For a lot of business reasons companies like ours that are public and liked Interchange couldn't really use it anywhere in our product lines or application development because using any GPL software that wasn't backed by a larger company would hurt valuation. I'm curious to see how many companies start using Interchange now. If Red Hat puts the resources behind it I think it could really take off. There is a huge gap in the market between solutions like Miva and Intershop that I think Interchange could fill nicely. Chris Ochs Product Manager Payment Online Inc http://www.paymentonline.com From: mheins at redhat.com (Mike Heins) Date: Sat, 5 May 2001 10:41:21 -0400 Subject: [ic] Term:ReadLine module not installed Quoting martin (martin@chaossolutions.org): > Hello. > > I have the basic system up in part. > > I did note it gave me a warning (see subject) during the makecat. Where > do I get this from ? > > I also have errors when I check the administration so it appears that > Bundle:Interchange wasn`t installed. > > Off to CPAN now :-) Term::ReadLine::Perl is not at all important. It is only used during "makecat" and the installation script. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: mikeh at minivend.com (Mike Heins) Date: Sat, 5 May 2001 10:44:27 -0400 Subject: [ic] single column tables Quoting bill@worldwideimpact.com (bill@worldwideimpact.com): > IC 4.7.1 Vend/Table/DBI.pm Line 323 > > die "DBI: no column names returned for $tablename\n" > unless defined $config->{NAME}[1]; > > Why must a table have at least two columns? > I guess that is a good question. But I don't know the answer....never seen the need for a key-only list before. 8-) -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: mikeh at minivend.com (Mike Heins) Date: Sat, 5 May 2001 10:52:05 -0400 Subject: [ic] Need clarification on license/GPL Quoting interch (interch@web3.valley-internet.com): > > > I am a little unclear on a few things when it comes to Interchange and the > GPL license, any feedback would be appreciated. > > I am evaluating Interchange as a platform for our company to use for > providing ecommerce applications and where the line is drawn as to when > our applications being built with interchange would fall under the GPL are > a little unclear to me. In other words, I am assuming that any html > templates or files that are called via say Route, that execute a series of > Interchange tags, would not in themselves automatically be GPL. But at > what point would our code snippets fall under the GPL? What about User > defined tags, or a user defined tag that then overrides an existing > Interchange subroutine? > > Our strategy would include intentionally adding to the source code and of > course making that available, but part of what we wold want to do is > create custom templates using stock Interchange tags and features that we > would want to sell for profit, much like Red Hat I assume will be doing. > As long as you recognize I am not the ultimate authority anymore, here are my thoughts. If you don't hack the distributed software and redistribute it, you can do basically anything you want. Using the GlobalSub, UserTag, and other features to override core routines is just fine, and is even the recommended method in the documentation. If you clip code out of the software and use that as the basis of your routines, they should then be GPLed. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Light travels faster than sound. This is why some people appear bright until you hear them speak. -- unknown From: jean-pierre.parent at bridgepoint-intl.com (jean-pierre.parent at bridgepoint-intl.com) Date: Sat, 5 May 2001 11:48:49 -0400 Subject: [ic] mv_check vs. mv_click ? I've been playing with mv_check but I also fell on mv_click...I have problems to differentiate them. I've been reading the doc but all i can retrieve is that mv_click "might" be the same except that it will occur before...(before what?). I also saw in the doc somewhere they talk about mv_click but the example involves an mv_check. It is the last example of the "One-Click Multiple Variables" section. So can anyone help me clarify this? Thanks... J.-P. From: buyourcrap at yahoo.com (q q) Date: Sat, 5 May 2001 09:28:52 -0700 (PDT) Subject: [ic] Interchange hosting needed We need managed interchange hosting on a fast server with near 100% uptime. We would like one that is actively involved in keeping the version on the site upgraded to the most recent stable version of interchange and who will be upgrading to 4.8 (incredibly impressive) as soon as it is reasonably safe to do so. Additionally, we will need secure server access for checkouts, some mailing list capabilities, and would like to have a few of the other basics like cgi/form mail and the such. It is also important that this host have 24/7 tech support as this is something that the host who we are leaving is sorely lacking. Please respond as soon as possible as we are looking to make this move very quickly. Thanks, Timmy __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: jean-pierre.parent at bridgepoint-intl.com (jean-pierre.parent at bridgepoint-intl.com) Date: Sat, 5 May 2001 15:20:39 -0400 Subject: [ic] order profiles questions Hi again, Browsing the demo etc/profiles.order I saw a few weird things that I searched both mailing list and doc without any success. I even checked the source code for comments. Does anyone know where i could get info on the syntax and small description for the following: &and, &or, &setcheck, &charge, &calc, &fail, &success, etc Is this stuff deprecated or going to be replaced? I needed to dig into Order.pm for some of them... Thanks a lot... J.-P. From: db at cyclonehq.dnsalias.net (Dan B) Date: Sat, 05 May 2001 15:26:26 -0700 Subject: [ic] cvs help At 10:22 PM 5/4/2001 -0400, you wrote: >Im having a problem using cvs I typed this >CVSROOT=:pserver:anon_cvs@cvs.akopia.com:/anon_cvs/repository >export CVSROOT >cvs login >I get premature end of scripts. am i doing something wrong here? Are you typing that from a unix shell prompt? Try this (one line): export CVSROOT=:pserver:anon_cvs@cvs.akopia.com:/anon_cvs/repository; cvs login Check out cvshome.org Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B) Date: Sat, 05 May 2001 15:27:41 -0700 Subject: [ic] how can i? At 10:32 PM 5/4/2001 -0400, you wrote: >I found out that cvs is not supported on my server is there a way for me >to get the updates of interchange? Download the CVS from another computer, then zip it up (tar cvzf source.tgz /dir/of/source) and upload it to your server. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B) Date: Sat, 05 May 2001 15:38:05 -0700 Subject: [ic] single column tables At 10:44 AM 5/5/2001 -0400, you wrote: >Quoting bill@worldwideimpact.com (bill@worldwideimpact.com): > > IC 4.7.1 Vend/Table/DBI.pm Line 323 > > > > die "DBI: no column names returned for $tablename\n" > > unless defined $config->{NAME}[1]; > > > > Why must a table have at least two columns? > > > >I guess that is a good question. But I don't know the answer....never >seen the need for a key-only list before. 8-) Some people build tables without keys. Think states: WA OR UT ... (Except apply to an example where the single column table had thousands or millions of rows). It usually comes up when you know you will always select the entire list (no WHERE clauses), and for some reason need to keep it in the database (verses an in-memory or other convenient method). That said, I still recommend adding a primary key anyway. (What's a few bytes per row going to cost, anyway?) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: db at cyclonehq.dnsalias.net (Dan B) Date: Sat, 05 May 2001 15:45:59 -0700 Subject: [ic] mv_check vs. mv_click ? At 11:48 AM 5/5/2001 -0400, you wrote: >I've been playing with mv_check but I also fell on mv_click...I have >problems to differentiate them. > >I've been reading the doc but all i can retrieve is that mv_click "might" >be the same except that it will occur before...(before what?). > >I also saw in the doc somewhere they talk about mv_click but the example >involves an mv_check. >It is the last example of the "One-Click Multiple Variables" section. > >So can anyone help me clarify this? Nope. But I can tell you what I learned regarding the "when" and "before what": mv_click seems to happen before everything else. I.e. form values have not been updated to the users' browser session input. This is where you can do something before everything else, but *after* the user clicked. I think of it as just happening at the same time the page loads, but after the user clicks. mv_check seems to happen after everything else, but before processing (i.e. moving to mv_nextpage, etc.). For me, that's the time to mess with user inputs (which are now updated into [value ...]) and other things. BTW, the above is probably nonsensical and horribly incorrect. :-) Let me state, "I stand corrected" now so that I don't have to do it when Ed, CFM, or Mike corrects me. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: matt at newvisionwebconcepts.com (Matthew Schumacher) Date: Sat, 5 May 2001 20:00:37 -0500 Subject: [ic] Interchange hosting needed I'll bite on this one! www.newvisionwebconcepts.com My name is matt and I'm the account manager. My admin is Brad. We have near 24 hour support but do have to sleep. We manage to stay up when nobody else seems to be able to. Although nobody is perfect we strive to give our clients what they need...customer service..feel welcome to take alook around and get back to me if interested. We use UUNET for our backbone and they guarantee us 99.9% uptime but do also have their rough times since we all deal with man-made electrical parts something is bound to fail sooner or later Thanks Matt Account Manager www.newvisionwebconcepts.com 641 592 1335 ----- Original Message ----- From: "q q" <buyourcrap@yahoo.com> To: <interchange-users@lists.akopia.com> Sent: Saturday, May 05, 2001 11:28 AM Subject: [ic] Interchange hosting needed > We need managed interchange hosting on a fast server > with near 100% uptime. We would like one that is > actively involved in keeping the version on the site > upgraded to the most recent stable version of > interchange and who will be upgrading to 4.8 > (incredibly impressive) as soon as it is reasonably > safe to do so. Additionally, we will need secure > server access for checkouts, some mailing list > capabilities, and would like to have a few of the > other basics like cgi/form mail and the such. It is > also important that this host have 24/7 tech support > as this is something that the host who we are leaving > is sorely lacking. Please respond as soon as possible > as we are looking to make this move very quickly. > > Thanks, > Timmy > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: admin at ctdesigns.com (Dan Johnson) Date: Sat, 5 May 2001 20:26:17 -0500 Subject: [ic] Interchange hosting needed You think its real? ----- Original Message ----- From: "Matthew Schumacher" <matt@newvisionwebconcepts.com> To: <interchange-users@lists.akopia.com> Sent: Saturday, May 05, 2001 8:00 PM Subject: Re: [ic] Interchange hosting needed > I'll bite on this one! > > www.newvisionwebconcepts.com > > My name is matt and I'm the account manager. My admin is Brad. We have > near 24 hour support but do have to sleep. We manage to stay up when nobody > else seems to be able to. Although nobody is perfect we strive to give our > clients what they need...customer service..feel welcome to take alook around > and get back to me if interested. We use UUNET for our backbone and they > guarantee us 99.9% uptime but do also have their rough times since we all > deal with man-made electrical parts something is bound to fail sooner or > later > > Thanks > > Matt > Account Manager > www.newvisionwebconcepts.com > 641 592 1335 > > ----- Original Message ----- > From: "q q" <buyourcrap@yahoo.com> > To: <interchange-users@lists.akopia.com> > Sent: Saturday, May 05, 2001 11:28 AM > Subject: [ic] Interchange hosting needed > > > > We need managed interchange hosting on a fast server > > with near 100% uptime. We would like one that is > > actively involved in keeping the version on the site > > upgraded to the most recent stable version of > > interchange and who will be upgrading to 4.8 > > (incredibly impressive) as soon as it is reasonably > > safe to do so. Additionally, we will need secure > > server access for checkouts, some mailing list > > capabilities, and would like to have a few of the > > other basics like cgi/form mail and the such. It is > > also important that this host have 24/7 tech support > > as this is something that the host who we are leaving > > is sorely lacking. Please respond as soon as possible > > as we are looking to make this move very quickly. > > > > Thanks, > > Timmy > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Auctions - buy the things you want at great prices > > http://auctions.yahoo.com/ > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: parentjp at videotron.ca (Jean-Pierre Parent) Date: Sat, 5 May 2001 21:51:32 -0400 Subject: [ic] mv_check vs. mv_click ? Thanks...you talked a lot for someone who started with "Nope." =) ----- Original Message ----- From: "Dan B" <db@cyclonehq.dnsalias.net> To: <interchange-users@lists.akopia.com> Sent: Saturday, May 05, 2001 6:45 PM Subject: Re: [ic] mv_check vs. mv_click ? > At 11:48 AM 5/5/2001 -0400, you wrote: > >I've been playing with mv_check but I also fell on mv_click...I have > >problems to differentiate them. > > > >I've been reading the doc but all i can retrieve is that mv_click "might" > >be the same except that it will occur before...(before what?). > > > >I also saw in the doc somewhere they talk about mv_click but the example > >involves an mv_check. > >It is the last example of the "One-Click Multiple Variables" section. > > > >So can anyone help me clarify this? > > Nope. But I can tell you what I learned regarding the "when" and "before > what": > > mv_click seems to happen before everything else. I.e. form values have not > been updated to the users' browser session input. This is where you can do > something before everything else, but *after* the user clicked. I think of > it as just happening at the same time the page loads, but after the user > clicks. > > mv_check seems to happen after everything else, but before processing (i.e. > moving to mv_nextpage, etc.). For me, that's the time to mess with user > inputs (which are now updated into [value ...]) and other things. > > BTW, the above is probably nonsensical and horribly incorrect. :-) Let me > state, "I stand corrected" now so that I don't have to do it when Ed, CFM, > or Mike corrects me. > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: davew at webmast.com (Dave 'Duke of URL' Weiner) Date: Sun, 6 May 2001 00:52:25 -0400 Subject: [ic] Using DJB's daemontools Hi all! I've starting moving a number of my daemons over to using Dan Bernstein's Daemontools. I've tried getting Interchange to run under supervise, but without any luck. I've searched the Interchange site and the mail archives, and it doesn't look like anybody has ever mentioned this before. So, has anybody out there gotten minivend or interchange to run under DJB's supervise? If so, what did you have to do? TIA, Dave From: c.gaudin at ifrance.com (Gaudin christophe) Date: Sun, 6 May 2001 12:53:11 +0200 Subject: [ic] How can I unsuscribe ? Hello, I certainly make mistake but for the second time I can't unsuscribe. Is somebody could tell me how must I do ? Thanks. Tom From: mikeh at minivend.com (Mike Heins) Date: Sun, 6 May 2001 11:05:16 -0400 Subject: [ic] mv_check vs. mv_click ? Quoting Dan B (db@cyclonehq.dnsalias.net): > At 11:48 AM 5/5/2001 -0400, you wrote: > >I've been playing with mv_check but I also fell on mv_click...I have > >problems to differentiate them. > > > >I've been reading the doc but all i can retrieve is that mv_click "might" > >be the same except that it will occur before...(before what?). > > > >I also saw in the doc somewhere they talk about mv_click but the example > >involves an mv_check. > >It is the last example of the "One-Click Multiple Variables" section. > > > >So can anyone help me clarify this? > > Nope. But I can tell you what I learned regarding the "when" and "before > what": > > mv_click seems to happen before everything else. I.e. form values have not > been updated to the users' browser session input. This is where you can do > something before everything else, but *after* the user clicked. I think of > it as just happening at the same time the page loads, but after the user > clicks. > > mv_check seems to happen after everything else, but before processing (i.e. > moving to mv_nextpage, etc.). For me, that's the time to mess with user > inputs (which are now updated into [value ...]) and other things. > > BTW, the above is probably nonsensical and horribly incorrect. :-) Let me > state, "I stand corrected" now so that I don't have to do it when Ed, CFM, > or Mike corrects me. Actually, you are correct. So you should "stand correct". The best way to see what is happening is actually to look at the subroutine "do_process" in bin/interchange -- it will show: 1. Every form action does an mv_click, which happens before anything (except mv_form_profile in 4.7.x). 2. The form action is determined, and its subroutine pulled from the %form_action hash. 3. If the form action calls an "update_user", then mv_check is called at the end of that routine. Actually, I wrote what I thought was a fair description of this process but cannot now find it in the docs. Sigh. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: mikeh at minivend.com (Mike Heins) Date: Sun, 6 May 2001 11:20:00 -0400 Subject: [ic] searching for this or that and the_other Quoting Doug Alcorn (doug@lathi.net): > The way MySQL interprets it, I can do > > select code from products where addl_category like something or > addl_category = 'something else' and category = 'another'; > > this is the same as ({(a =~ /something/) or (b = 'something else)) and > (c = 'another')). i can't seem to get this to work in IC. here's my > sameple little test page: > > [set dka_model]NOK6100[/set] > [seti addlcat_profile] > sf=addl_category > op=rm > se=[scratch dka_model] > os=yes > sf=addl_category > se=universal > [/seti] > [bounce href="[area href=|scan| arg=| > fi=products > st=db > sp=results2 > mp=addlcat_profile > os=no > sf=category > se=Cases > | > ]"] > > The above works fine as long as i leave out the > os=yes/sf=addl_category/se=universal. When I put it in, the search > says that there is nothing that matches. mathematically, shouldn't > the return set always be larger with an ORed clause? Not when you have conflicting os=no and os=yes. Unless it is a coordinated search, the first setting takes. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: help at LoadUp.com (LoadUp (Cust Serv Dept)) Date: Sun, 06 May 2001 09:41:11 -0700 Subject: [ic] IC 4.7.1 shipping <% IC 4.7.1 shipping on checkout page. %> Has anyone got shipping to calculate on the checkout page yet? I can't get rid of this error: Note: No match found for mode 'upsg', quantity '', returning 0. Even if I add upsg with the admin interface, I still get stuck on 'upsb' -- Angelica Olins <angel@LOADUP.COM> From: chc at mninter.net (Curt Hauge) Date: Sun, 6 May 2001 12:54:13 -0500 Subject: [ic] How can I unsuscribe ? Quoting Gaudin christophe and many others > > I certainly make mistake but for the second time I can't unsuscribe. > Is somebody could tell me how must I do ? > "UNSUBSCRIBE BY CLICKING HERE --> http://lists.akopia.com/mailman/listinfo/interchange-users, then scroll to the bottom and unsubscribe." Of course the link at the bottom of this email will work also. Good luck. Curt Hauge From: jojo at blackpoint.de (Joachim Leidinger) Date: Sun, 06 May 2001 21:09:36 +0200 Subject: [ic] MySQL Database Brandee Diggs wrote: > > Question: > > In order to process to the checkout area with items in the cart, do we need > to have a database (i.e. MySQL) to process. I keep getting errors. > > Any suggestions? Tell us the error message /.../catalogs/yourcatalog/error.log or .../interchange/error.log) Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: jojo at blackpoint.de (Joachim Leidinger) Date: Sun, 06 May 2001 21:25:11 +0200 Subject: [ic] Updating tables via form jimtoro@hoflink.com wrote: > > I am using MV4.04a and I am trying to do a update of a database as per > the "Updating Minivend database tables with a form" from the manual. > > In the first page, I have the user enter the CODE for the item in question > with: > > ------------------------ > <form method=post action="[process]"> > <input type=hidden name="mv_doit" value="return"> > <input type=hidden name="mv_nextpage" value="update_bookdata"> > Booking Code Number <input type=text size=9 name="update_code" value="[value update_code]"> > <input type=submit name="mv_submit" value="Edit Booked Date"> > </form> > ------------------------ > > Which seems to take the data fine, then it calls a page which includes the following > code: > > ---------------------------- > [set mv_data_enable]1[/set] > [tag flag write]bookeddates[/tag] > <form method=post action="[process-target]"> > <input type=hidden name="mv_data_table" value="bookeddates"> > <input type=hidden name="mv_data_key" value="code"> > <input type=hidden name="mv_data_function" value="update"> > <input type=hidden name="mv_nextpage" value="updated"> > <input type=hidden name="mv_data_fields" > value="code,dbstartdate,dbbookdate,dbbookoccasion,dbbookrfirstname,dbbookrlastname,dbbookaddr1,dbbookaddr2,dbbookaddr3,dbbookrtown,dbbookrstate,dbbookrzipcode,dbbookcardonly,dbbookvendor,dbbookvenphone,dbbookitemno,dbbookitemdesc,dbbookmaxprice,dbbookuser,dbbookcardno,dbbookdesc,dbbookcardprice,dbbookcardwrite,dbbookcallme,dbbookgiftwrap,dbbcancelcode"> > <pre> > [loop arg="[value update_code]"] > Booking ID Code: [loop-code] > Booking Created on <input type=text name="dbstartdate" size=20 value="[loop-field dbstartdate]"> > Booked Date <input type=text name="dbbookdate" size=20 value="[loop-field dbbookdate]"> > ---(note- deleted all other fields just to save space in this message)--- > [/loop] > </pre> > <input type=hidden name="mv_todo" value="set"> > <input type=submit value="Update Booking"> > </form> > ------------------------------ > > The problem is when the I use the above to edit a record it shows the > CODE for the item and then all the other fields show the text to the left > of the <INPUT> statements but empty values from the database in each box. > If I look at the source of the page in the browser the values for each of > the input lines comes up as 'value=""' instead of the fields data. If I > edit any field and hit submit it will then update the data in the > database as normal. I verify this by going to minimate and using > the database edit function to view the record. The new data shows up in > the field for that record. > > How come I dont see the data for any of the fields when trying to update > them via the above code but if I update a field it does the update in the > database and keeps all other fields with their original information?. Any message from the both error.log files? Hmmm...it seems to me, the data or the text is not in the products table. It seems to me, all that stuff is in another table "bookeddates". Try [loop arg="fi/bookeddates/se=[value update_code]"] (mv_search_file fi S Sets the file(s) to be searched) or Booking Created on <input type=text name="dbstartdate" size=20 value="[data table="bookeddates" column="dbstartdate" key="[loop-code]"]"> instead of Booking Created on <input type=text name="dbstartdate" size=20 value="[loop-field dbstartdate]"> (not tested) Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: jojo at blackpoint.de (Joachim Leidinger) Date: Sun, 06 May 2001 21:36:14 +0200 Subject: [ic] Need clarification on license/GPL Mike Heins wrote: > > Quoting interch (interch@web3.valley-internet.com): > > > > > > I am a little unclear on a few things when it comes to Interchange and the > > GPL license, any feedback would be appreciated. > > > > I am evaluating Interchange as a platform for our company to use for > > providing ecommerce applications and where the line is drawn as to when > > our applications being built with interchange would fall under the GPL are > > a little unclear to me. In other words, I am assuming that any html > > templates or files that are called via say Route, that execute a series of > > Interchange tags, would not in themselves automatically be GPL. But at > > what point would our code snippets fall under the GPL? What about User > > defined tags, or a user defined tag that then overrides an existing > > Interchange subroutine? > > > > Our strategy would include intentionally adding to the source code and of > > course making that available, but part of what we wold want to do is > > create custom templates using stock Interchange tags and features that we > > would want to sell for profit, much like Red Hat I assume will be doing. > > > > As long as you recognize I am not the ultimate authority anymore, here are > my thoughts. > > If you don't hack the distributed software and redistribute it, you > can do basically anything you want. Using the GlobalSub, UserTag, and > other features to override core routines is just fine, and is even the > recommended method in the documentation. > > If you clip code out of the software and use that as the basis of your > routines, they should then be GPLed. I'm unsure, because my englisch is not good. Which code did you mean? The code, which is a part of the distributed software or the code, which is a part of the GlobalSub, Usertag, and so on? It is important for me, to know the answer. The reason is, if I've a fine GlobalSub, UserTag and so on to get a special fine features for MV/IC and there are a lot of user, who need that features. Am I allowed to get money for that features by the GlobalSub, UserTag and so on? Thank you for your time and answer! Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: jojo at blackpoint.de (Joachim Leidinger) Date: Sun, 06 May 2001 21:51:30 +0200 Subject: [ic] Trouble with Document->send() Mike Heins wrote: > > Quoting Joachim Leidinger (jojo@blackpoint.de): > > Hi list, > > > > i try > > > > [loop arg="1 2 3" send=1] > > [perl] > > my $out = " "; > > $Document->hot(1); > > my $i = 0; > > for ($i = 1; $i <= 10; $i++) > > { > > $out .= " $i "; > > select(undef,undef,undef,1.000); > > } > > $out .= "<br> Next process <BR> "; > > $Document->send($out); # flush buffer > > return ''; > > [/perl] > > [/loop] > > > > and i want to display > > > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > > > three times immediately every 10 seconds. But i get > > > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > 1 2 3 4 5 6 7 8 9 10 > > Next process > > > > *after* 30 seconds. > > > > Why is > > > > $Document->send(); # Send write buffer array to output, > > done > > # automatically upon end of ASP, clears > > buffer > > # and invalidates $Document->header() > > $Document->hot(1); # Cause writes to send immediately > > > > not working? > > Because there is a buffer that needs to fill up via the vlink/tlink > program. One way to fill it is to send 1024 characters of whitespace at > the end of what you want to send. Filling the rest of the empty buffer with "a" make the job! Filling the rest of the empty buffer with a whitespace make not the job! It make the job only, if I fill the buffer with more than 1024 whitespace. What is the cause? > Also, your HTTP server may have ideas about what to do with output when > it is not in NPH mode. I was searching the for that via the search engine like www.google.com and so on. But I'm unable to find the right informations. Can someone point me to the right direction? URL? Thank you a lot! Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: giftbound1 at home.com (Gift Bound Gifts) Date: Sun, 6 May 2001 17:02:17 -0400 Subject: [ic] cvs help my hosting company dont have cvs on there server. I got CS_RCS which is supposed to work with windows. Im a little confused though it asks me for work root what do i put here? also asks me repository root what do i put here. Please help! ----- Original Message ----- From: "Dan B" <db@cyclonehq.dnsalias.net> To: <interchange-users@lists.akopia.com> Sent: Saturday, May 05, 2001 6:26 PM Subject: Re: [ic] cvs help > At 10:22 PM 5/4/2001 -0400, you wrote: > >Im having a problem using cvs I typed this > >CVSROOT=:pserver:anon_cvs@cvs.akopia.com:/anon_cvs/repository > >export CVSROOT > >cvs login > >I get premature end of scripts. am i doing something wrong here? > > Are you typing that from a unix shell prompt? > > Try this (one line): > > export CVSROOT=:pserver:anon_cvs@cvs.akopia.com:/anon_cvs/repository; cvs login > > Check out cvshome.org > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jason_feingold at hotmail.com (Jason Feingold) Date: Sun, 06 May 2001 23:25:30 Subject: [ic] Sorting results page by prodcut price or description Hi All - I'ld like to find out how to sort the search results page by price and by description. I would like to have the sort by price the default, then have the user be able to click the product description to sort by that, if desired. Thanks for the help. Much appreciated. jason _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: webmaster at seeshopgo.com (Craig A. Carman) Date: Sun, 6 May 2001 18:36:21 -0500 Subject: [ic] Can't use global @_ in "my" - authorize.net problems My problems are accumulating. I started out Friday with my new authorizenet account info to set up set up credit card processing in interchange 4.6.4 which was working well until my changes. I am happy to preface this request for help with: I don't pretend to be a perl programmer, I have made great effort to read every post to this list for the last 2 months, I read through the docs (much went over my head) and have spent more than 10 hours since Friday searching for self help options in the list archives. I am stuck without a solution and a dysfunctional shopping cart. The checkout page now returns a page not found error. I followed Mike Heinz instructions in authorizenet 1. Modify interchange.cfg to use this file. #include globalsub/authorizenet 2. Modify catalog.cfg to set the server and your Authorize.Net account info # Username and password Variable MV_PAYMENT_ID YourAuthorizeNetID Variable MV_PAYMENT_SECRET YourAuthorizeNetPassword Variable MV_PAYMENT_MODE custom authorizenet Variable MV_PAYMENT_REFERER A valid referering url (match this with your setting on secure.authorize.net 3. Make sure CreditCardAuto is off (default in Interchange demos) 4. Restart Interchange. First, I got errors regarding "bad globalsub" I found archives that led me to use MCPAN to update Bundle::Interchange and get Net::SSLeay. That exercise was quite impressive to me and seemed to work properly even though I didn't know (for sure) what I was doing. I was getting the following error but these updates have eliminated the error but not solved the problem. No longer getting any errors. 209.205.191.97 jF4uH7y7:209.205.191.97 - [04/May/2001:18:58:07 -0500] sell /cgi-bin/sell/admin/genconfig.html Can't read file '/var/lib/interchange/sell/etc/status.sell' with NoAbsolute set I found an archive that suggested an authorizenet testing procedure that said: ++++++++++++++++++ 3. Test your authorizenet module as follows: - create a copy - edit the copy to remove the globalsub <<EOF line and the EOF line near the bottom - run perl against the module: perl testfilename - fix any errors in the module. Install any perl modules that are called for. - make the same fixes to your actual authorizenet file - try again Step 3 was the one that showed me my problems. If the globalsub does not compile properly, for any reason, you will get the "BAD GLOBALSUB" error. So, find the errors and fix them. ++++++++++++++++++ When I do that my results are as follows: [craig@shop globalsub]$ ls authorizenet authorizenettest [craig@shop globalsub]$ perl authorizenettest syntax error at authorizenettest line 35, near "sub authorizenet " Can't use global @_ in "my" at authorizenettest line 36, near "= @_" BEGIN not safe after errors--compilation aborted at authorizenettest line 154. [craig@shop globalsub]$ line 35 and line 36 are: sub authorizenet { my ($user, $secret, $amount) = @_; line 154 is: use Net::SSLeay qw(post_https make_form make_headers); HELP! I don't have any clue what to look for next. What can I do to fix the checkout page and how did globalsub/authorizenet disable me? Should I scrap all my customizing efforts on "construct" and delete it all to try new version 4.7.1? Thanks for any help, Craig Carman http://shop.seeshopgo.com Toll Free 1-866-342-7467 M-F From: mike at 4host.com (Mike Zimmerman) Date: Sun, 06 May 2001 17:04:25 -0400 Subject: [ic] CVS access to 4.7.x tree Hey everyone, Whats the proper way to access the 4.7.x code tree through CVS? Thanks, Mike From: sacsgrp2 at bellsouth.net (JDB) Date: Sun, 6 May 2001 20:55:28 -0400 Subject: [ic] Login I reset the interch passwd and i tried to login as the rpm install user niether works. Any Ideas? From: res087jh at verizon.net (Dan Garwood) Date: Sun, 6 May 2001 21:02:32 -0400 Subject: [ic] Can't use global @_ in "my" - authorize.net problems in the authorizenet module that comes with interchange you have to change two of the variable names in it to match what is being sent from check out page in the construct demo. Do a search I put the instruction on the list in the last few weeks. Dan E-Profit Designs ----- Original Message ----- From: "Craig A. Carman" <webmaster@seeshopgo.com> To: "Interchange-Users" <interchange-users@lists.akopia.com> Sent: Sunday, May 06, 2001 7:36 PM Subject: [ic] Can't use global @_ in "my" - authorize.net problems > My problems are accumulating. I started out Friday with my new authorizenet > account info to set up set up credit card processing in interchange 4.6.4 > which was working well until my changes. I am happy to preface this request > for help with: I don't pretend to be a perl programmer, I have made great > effort to read every post to this list for the last 2 months, I read through > the docs (much went over my head) and have spent more than 10 hours since > Friday searching for self help options in the list archives. I am stuck > without a solution and a dysfunctional shopping cart. The checkout page now > returns a page not found error. > > I followed Mike Heinz instructions in authorizenet > 1. Modify interchange.cfg to use this file. > > #include globalsub/authorizenet > > 2. Modify catalog.cfg to set the server and your Authorize.Net account > info > > # Username and password > Variable MV_PAYMENT_ID YourAuthorizeNetID > Variable MV_PAYMENT_SECRET YourAuthorizeNetPassword > Variable MV_PAYMENT_MODE custom authorizenet > Variable MV_PAYMENT_REFERER A valid referering url (match this with > your setting on secure.authorize.net > > 3. Make sure CreditCardAuto is off (default in Interchange demos) > 4. Restart Interchange. > > First, I got errors regarding "bad globalsub" I found archives that led me > to use MCPAN to update Bundle::Interchange and get Net::SSLeay. That > exercise was quite impressive to me and seemed to work properly even though > I didn't know (for sure) what I was doing. I was getting the following > error but these updates have eliminated the error but not solved the > problem. No longer getting any errors. > > 209.205.191.97 jF4uH7y7:209.205.191.97 - [04/May/2001:18:58:07 -0500] sell > /cgi-bin/sell/admin/genconfig.html Can't read file > '/var/lib/interchange/sell/etc/status.sell' with NoAbsolute set > > I found an archive that suggested an authorizenet testing procedure that > said: > ++++++++++++++++++ > 3. Test your authorizenet module as follows: > - create a copy > - edit the copy to remove the globalsub <<EOF line > and the EOF line near the bottom > - run perl against the module: > perl testfilename > - fix any errors in the module. Install any perl > modules that are called for. > - make the same fixes to your actual authorizenet > file > - try again > > Step 3 was the one that showed me my problems. If the > globalsub does not compile properly, for any reason, > you will get the "BAD GLOBALSUB" error. So, find the > errors and fix them. > ++++++++++++++++++ > When I do that my results are as follows: > [craig@shop globalsub]$ ls > authorizenet authorizenettest > [craig@shop globalsub]$ perl authorizenettest > syntax error at authorizenettest line 35, near "sub authorizenet " > Can't use global @_ in "my" at authorizenettest line 36, near "= @_" > BEGIN not safe after errors--compilation aborted at authorizenettest line > 154. > [craig@shop globalsub]$ > > line 35 and line 36 are: > sub authorizenet { > my ($user, $secret, $amount) = @_; > > line 154 is: > use Net::SSLeay qw(post_https make_form make_headers); > > HELP! I don't have any clue what to look for next. > What can I do to fix the checkout page and how did globalsub/authorizenet > disable me? > Should I scrap all my customizing efforts on "construct" and delete it all > to try new version 4.7.1? > > Thanks for any help, > Craig Carman > http://shop.seeshopgo.com > Toll Free 1-866-342-7467 M-F > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: shadowb at dmv.com (Brandee Diggs) Date: Sun, 6 May 2001 21:26:07 -0400 Subject: [ic] MySQL Database Here is the error message: 64.45.138.58 Bi7DdkzJ:64.45.138.58 - [03/May/2001:22:19:40 -0400] frasesbu /~frasesbu/cgi-bin/cart.cgi/process.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379. > Thanks, Brandee -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Joachim Leidinger Sent: Sunday, May 06, 2001 3:10 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] MySQL Database Brandee Diggs wrote: > > Question: > > In order to process to the checkout area with items in the cart, do we need > to have a database (i.e. MySQL) to process. I keep getting errors. > > Any suggestions? Tell us the error message /.../catalogs/yourcatalog/error.log or .../interchange/error.log) Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: chad at shire.net (Chad Leigh, Shire.Net LLC) Date: Sun, 06 May 2001 21:57:58 -0400 Subject: [ic] adding Frontbase SQL database support I am wanting to add FrontBase (www.frontbase.com) SQL database support. I have the DBD driver for FrontBase and interchange server will log in but the postgres SQL is malformed for FrontBase. I want to go in and add FrontBase support. I cannot find where the "template" files for SQL generation are kept so it knows to add a ";" and stuff like that and what types to use for things (VARCHAR2 for Oracle versus VARCHAR or CHAR on other DBs for example). I did find some files in my first catalogs area of the interchange installation, but they were in the first catalog named area and I suspect there should be some system wide definitions somewhere? Any hints on where to start to add this support would be welcome and appreciated. Thanks Chad From: cfm at maine.com (cfm at maine.com) Date: Sun, 6 May 2001 22:29:15 -0400 Subject: [ic] adding Frontbase SQL database support On Sun, May 06, 2001 at 09:57:58PM -0400, Chad Leigh, Shire.Net LLC wrote: > I am wanting to add FrontBase (www.frontbase.com) SQL database support. I > have the DBD driver for FrontBase and interchange server will log in but > the postgres SQL is malformed for FrontBase. I want to go in and add > FrontBase support. > > I cannot find where the "template" files for SQL generation are kept so it > knows to add a ";" and stuff like that and what types to use for things > (VARCHAR2 for Oracle versus VARCHAR or CHAR on other DBs for example). I > did find some files in my first catalogs area of the interchange > installation, but they were in the first catalog named area and I suspect > there should be some system wide definitions somewhere? > > Any hints on where to start to add this support would be welcome and > appreciated. See lib/Vend/Data.pm, lib/Vend/Table, and lib/Vend/Table/DBI.pm in particular. > > Thanks > Chad > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interch at viehweg.net (Interchange Admin) Date: Sun, 6 May 2001 21:32:26 -0500 Subject: [ic] weird flypage glitch On Mon, Apr 30, 2001 at 06:13:32AM -0400, Mike Heins wrote: > Quoting Interchange Admin (interch@viehweg.net): > > I have a very (very!) simple store I set up somewhat based on the > > tutorial. > > > > "flypage.html" was working fine until I added the following to my > > catalog.cfg file and restarted interchange: > > > > Database products WRITE_CONTROL 1 > > > > Now, if I click the same thing that used to call flypage and show me > > what I expected, I get this error from Apache: > > > > [Sun Apr 29 21:11:13 2001] [error] [client 123.123.123.123] Premature end of script headers: /home/storehaus/cgi-local/store > > > > and this error from Interchange: > > > > 123.123.123.123 JVWb4IoJ:123.123.123.123 - [29/April/2001:21:11:12 -0500] store /cgi-bin/store/0-0001.html Runtime error: Could not tie to '/home/storehaus/interchange/store/products/products.gdbm': Resource temporarily unavailable at //usr/lib/interchange/lib/Vend/Table/GDBM.pm line 105. > > > > I will check this out, but the default for GDBM database is WRITE_CONTROL, > so you don't need it. You would want it for SQL databases, though. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <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 Any news on this problem? Thanks. jaime -- interch | I read recently that human beings use only 15% @ Jaime Viehweg | of their brains capacity. Makes you wonder viehweg.net | what they do with the other 75%. From: kxue at netlink.com.au (Australian NetLink) Date: Mon, 07 May 2001 12:42:10 +1000 Subject: [ic] Separate Items Hi, list, I tried to use the codes [if-item-data products color] [set mv_separate_items]1[/set] Color: [item-accessories color] [else] [set mv_separate_items]0[/set] [/else] [/if-item-data] to separate my item with color order and non-separate items without color. However, it gives me an unstable list. Can anybody help? Thanks, Kathy ------------------------------------- A u s t r a l i a n N e t L i n k Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- From: giftbound1 at home.com (Gift Bound Gifts) Date: Sun, 6 May 2001 23:02:44 -0400 Subject: [ic] CVS access to 4.7.x tree the tag is DEV_4_7_0 ----- Original Message ----- From: "Mike Zimmerman" <mike@4host.com> To: <interchange-users@lists.akopia.com> Sent: Sunday, May 06, 2001 5:04 PM Subject: [ic] CVS access to 4.7.x tree > Hey everyone, > > Whats the proper way to access the 4.7.x code tree through CVS? > > > Thanks, > > Mike > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: mike at 4host.com (Mike Zimmerman) Date: Sun, 06 May 2001 23:00:45 -0400 Subject: [ic] CVS access to 4.7.x tree Ok, I know that. The question what are the commands I need to use? Thanks. At 11:02 PM 5/6/2001 -0400, you wrote: >the tag is DEV_4_7_0 >----- Original Message ----- >From: "Mike Zimmerman" <mike@4host.com> >To: <interchange-users@lists.akopia.com> >Sent: Sunday, May 06, 2001 5:04 PM >Subject: [ic] CVS access to 4.7.x tree > > > > Hey everyone, > > > > Whats the proper way to access the 4.7.x code tree through CVS? > > > > > > Thanks, > > > > Mike > > > > > > _______________________________________________ > > 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: dingdong.sobida at q-linux.com (dingdong) Date: Mon, 07 May 2001 13:59:58 -0800 Subject: [ic] MySQL Database Brandee I think you have a module which is needed by SQL::Statement or another module needed by Interchange which may have been corrupted of not currently installed. please check all components HTH yo Brandee Diggs wrote: > Here is the error message: > > 64.45.138.58 Bi7DdkzJ:64.45.138.58 - [03/May/2001:22:19:40 -0400] frasesbu > /~frasesbu/cgi-bin/cart.cgi/process.html Runtime error: Can't locate object > method "dup" via package "SQL::Parser" at > /usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379. > > > > Thanks, > > Brandee > > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Joachim > Leidinger > Sent: Sunday, May 06, 2001 3:10 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] MySQL Database > > Brandee Diggs wrote: > > > > Question: > > > > In order to process to the checkout area with items in the cart, do we > need > > to have a database (i.e. MySQL) to process. I keep getting errors. > > > > Any suggestions? > > Tell us the error message /.../catalogs/yourcatalog/error.log or > .../interchange/error.log) > > Joachim > > -- > -------------<BPA FreeBsd>---------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: jcarnahan at networq.com (Jeff Carnahan) Date: Mon, 7 May 2001 01:10:19 -0700 Subject: [ic] CVS access to 4.7.x tree } }Ok, I know that. The question what are the commands I need to use? Thanks. } Try visiting http://developer.akopia.com/ click on the Download link. Look at the bottom of the page, there is a link to instructions clearly labeled. -- Jeff Carnahan - jcarnahan@networq.com From: rene at hertell.com (Rene Hertell) Date: Mon, 7 May 2001 12:39:14 +0300 Subject: [ic] Login > I reset the interch passwd and i tried to login as the rpm install user > niether works. Any Ideas? The answer is in the docs: http://developer2.akopia.com/cgi-bin/ic/docfly.html?mv_arg=icinstall05.00 (section 26) You can also check the valid users and passwords from products/userdb.txt René From: racke at linuxia.de (Stefan Hornburg Racke) Date: 07 May 2001 12:24:10 +0200 Subject: [ic] Trouble with Document->send() Joachim Leidinger <jojo@blackpoint.de> writes: [...] > > > > Also, your HTTP server may have ideas about what to do with output when > > it is not in NPH mode. > > I was searching the for that via the search engine like www.google.com > and so on. But I'm unable to find the right informations. Can someone > point me to the right direction? URL? Apache docs CGI.pm docs Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: jerry at digitalfm.com (Jerry) Date: Mon, 7 May 2001 06:52:42 -0400 Subject: [ic] CVS access to 4.7.x tree > }Ok, I know that. The question what are the commands I need to > use? Thanks. Go here: http://developer.akopia.com/cgi-bin/ic/download.html Follow the instructions near the bottom of the page. EXCEPT, change the last line from: cvs checkout -P interchange to cvs checkout -r DEV_4_7_0 -P interchange I think this is what you were looking for. Jerry From: mikeh at minivend.com (Mike Heins) Date: Mon, 7 May 2001 08:31:17 -0400 Subject: [ic] adding Frontbase SQL database support Quoting cfm@maine.com (cfm@maine.com): > On Sun, May 06, 2001 at 09:57:58PM -0400, Chad Leigh, Shire.Net LLC wrote: > > I am wanting to add FrontBase (www.frontbase.com) SQL database support. I > > have the DBD driver for FrontBase and interchange server will log in but > > the postgres SQL is malformed for FrontBase. I want to go in and add > > FrontBase support. > > > > I cannot find where the "template" files for SQL generation are kept so it > > knows to add a ";" and stuff like that and what types to use for things > > (VARCHAR2 for Oracle versus VARCHAR or CHAR on other DBs for example). I > > did find some files in my first catalogs area of the interchange > > installation, but they were in the first catalog named area and I suspect > > there should be some system wide definitions somewhere? > > > > Any hints on where to start to add this support would be welcome and > > appreciated. > > See lib/Vend/Data.pm, lib/Vend/Table, and lib/Vend/Table/DBI.pm in > particular. > None of that should be, nor should need to be, edited. If it is crucial to override routines in there, you should use the GlobalSub method of direct override. My guess is all that should need to be changed is the dbconf/*/* files. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: jkohles at redhat.com (Jason Kohles) Date: Mon, 7 May 2001 09:02:09 -0400 Subject: [ic] Undefined catalog error on RAQ3 On Wed, May 02, 2001 at 09:06:11PM +0100, Darren Walker wrote: > Can u tell me how you disabled the cgi-wrap error. > > I dont know if my problem is similar below is a snip when i try to restart > the server- It's not. > > I have assigned 500Mb and here is a df > > Configuring catalog construct...construct config error: Could not create > '/home/sites/home/users/darren/catalogs/construct/products/new_variable.gdbm > ': Disk quota exceeded at /usr/local/interchange/lib/Vend/Table/GDBM.pm line > 66, <IN> chunk 1. > df doesn't mean anything if you have a quota, look at the output of 'quota -v' to see how much disk space you are using and how much you are allowed to use. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: darren at torsion.co.uk (Darren Walker) Date: Mon, 07 May 2001 14:27:35 +0100 Subject: Subject: Re: [ic] Undefined catalog error on RAQ3 Thanks for getting back to me Jason, I am on the point of giving up to be honest and maybe trying to build a different server. I have spent 2 weeks on it and I dont know if its the Raq or me Heres the output as the user anyhow ---snip--- Disk quotas for user darren (uid 132): Filesystem blocks quota limit grace files quota limit grace /dev/hda4 1096 819201 819200 344 0 0 ---snip--- cheers darren Date: Mon, 7 May 2001 09:02:09 -0400 From: Jason Kohles <jkohles@redhat.com> To: interchange-users@lists.akopia.com Subject: Re: [ic] Undefined catalog error on RAQ3 Reply-To: interchange-users@lists.akopia.com On Wed, May 02, 2001 at 09:06:11PM +0100, Darren Walker wrote: > Can u tell me how you disabled the cgi-wrap error. > > I dont know if my problem is similar below is a snip when i try to restart > the server- It's not. > > I have assigned 500Mb and here is a df > > Configuring catalog construct...construct config error: Could not create > '/home/sites/home/users/darren/catalogs/construct/products/new_variable.gdbm > ': Disk quota exceeded at /usr/local/interchange/lib/Vend/Table/GDBM.pm line > 66, <IN> chunk 1. > df doesn't mean anything if you have a quota, look at the output of 'quota -v' to see how much disk space you are using and how much you are allowed to use. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: jkohles at redhat.com (Jason Kohles) Date: Mon, 7 May 2001 09:26:25 -0400 Subject: [ic] options missing in interchange 4.7? On Thu, May 03, 2001 at 10:05:00PM -0400, Gift Bound Gifts wrote: > Did anyone notice that in options:simple you cant add a new option as > the button for create a new option is missing. Does anyone have a fix > for this? > I did a lot of testing on the new interface for this before putting it into CVS, and never saw this happen, is just the button missing, or are the input boxes missing as well? Do you see this on all the items you try to change the options for, or just certain items? -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: jkohles at redhat.com (Jason Kohles) Date: Mon, 7 May 2001 09:45:38 -0400 Subject: [ic] how can i? On Fri, May 04, 2001 at 10:32:17PM -0400, Gift Bound Gifts wrote: > I found out that cvs is not supported on my server is there a way for me > to get the updates of interchange? > You can install a CVS client on your own computer and checkout interchange to there, then transfer the files to your server when you need to using ftp, or whatever you are using now. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: jkohles at redhat.com (Jason Kohles) Date: Mon, 7 May 2001 09:52:53 -0400 Subject: [ic] why isnt this working? On Fri, May 04, 2001 at 11:21:29PM -0400, Gift Bound Gifts wrote: > in interchange 4.7.1 I noticed that in options:simple that theres no > button create a option so i added this: > A lot more code went into fixing this than just this bit of html, you should update to 4.7.2 to get all the changes. > <INPUT TYPE="submit" NAME="mv_click" VALUE="Commit Changes"> > > </TD><TD><PRE> </PRE></TD><TD VALIGN=TOP> > > <B>Create a new option:</B><BR> > Name: <INPUT TYPE=text SIZE=20 NAME="opt_group_" VALUE=""><BR> > > <TEXTAREA ROWS=5 COLS=30 NAME="opt_value_"></TEXTAREA> > <BR> > <INPUT TYPE="submit" NAME="mv_click" VALUE="Create option"> > <BR><BR> > [seti o_value][perl] > my @vals = split(',','[sql-param o_value]'); > [/perl][/seti] > <HR> > > however it dont work. Can someone tell me why? > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: jkohles at redhat.com (Jason Kohles) Date: Mon, 7 May 2001 10:09:06 -0400 Subject: Subject: Re: [ic] Undefined catalog error on RAQ3 On Mon, May 07, 2001 at 02:27:35PM +0100, Darren Walker wrote: > Thanks for getting back to me Jason, > > I am on the point of giving up to be honest and maybe trying to build a > different server. I have spent 2 weeks on it and I dont know if its the Raq > or me > There has been enough discussion on installing on Raq's that I don't think it is entirely you. > Heres the output as the user anyhow > > ---snip--- > Disk quotas for user darren (uid 132): > Filesystem blocks quota limit grace files quota limit > grace > /dev/hda4 1096 819201 819200 344 0 0 > There would seem to be something seriously wrong with the machine if you are getting quota exceeded errors here, according the output here you are allowed to use 1096 blocks on drive /dev/hda4 (the 'blocks' column), and your quota is 819201, so you are way under your quota, assuming that you really are running interchange as user 'darren', if not you should check this command for the user actually running interchange. > > > ---snip--- > > > cheers > > > darren > > > > Date: Mon, 7 May 2001 09:02:09 -0400 > From: Jason Kohles <jkohles@redhat.com> > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Undefined catalog error on RAQ3 > Reply-To: interchange-users@lists.akopia.com > > On Wed, May 02, 2001 at 09:06:11PM +0100, Darren Walker wrote: > > Can u tell me how you disabled the cgi-wrap error. > > > > I dont know if my problem is similar below is a snip when i try to restart > > the server- > It's not. > > > > > I have assigned 500Mb and here is a df > > > > Configuring catalog construct...construct config error: Could not create > > '/home/sites/home/users/darren/catalogs/construct/products/new_variable.gdbm > > ': Disk quota exceeded at /usr/local/interchange/lib/Vend/Table/GDBM.pm line > > 66, <IN> chunk 1. > > > df doesn't mean anything if you have a quota, look at the output of 'quota > -v' > to see how much disk space you are using and how much you are allowed to > use. > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: jkohles at redhat.com (Jason Kohles) Date: Mon, 7 May 2001 10:22:43 -0400 Subject: Subject: Re: [ic] Undefined catalog error on RAQ3 On Mon, May 07, 2001 at 10:09:06AM -0400, Jason Kohles wrote: > On Mon, May 07, 2001 at 02:27:35PM +0100, Darren Walker wrote: > > Disk quotas for user darren (uid 132): > > Filesystem blocks quota limit grace files quota limit > > grace > > /dev/hda4 1096 819201 819200 344 0 0 > > > There would seem to be something seriously wrong with the machine if you are > getting quota exceeded errors here, according the output here you are allowed > to use 1096 blocks on drive /dev/hda4 (the 'blocks' column), and your quota is > 819201, so you are way under your quota, assuming that you really are running > interchange as user 'darren', if not you should check this command for the > user actually running interchange. > Jet lag is a terrible thing, this should say that you _are_ using 1096, and are _allowed_ to use 819201. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: mike at 4host.com (Mike Zimmerman) Date: Mon, 07 May 2001 11:09:05 -0400 Subject: [ic] CVS access to 4.7.x tree Thanks. At 06:52 AM 5/7/2001 -0400, you wrote: > > }Ok, I know that. The question what are the commands I need to > > use? Thanks. > >Go here: http://developer.akopia.com/cgi-bin/ic/download.html >Follow the instructions near the bottom of the page. >EXCEPT, change the last line from: >cvs checkout -P interchange > >to > >cvs checkout -r DEV_4_7_0 -P interchange > >I think this is what you were looking for. > >Jerry > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: edl at newmediaems.com (Ed LaFrance) Date: Mon, 07 May 2001 09:38:38 -0700 Subject: [ic] Separate Items At 12:42 PM 05/07/2001 +1000, you wrote: >Hi, list, >I tried to use the codes > > [if-item-data products color] > [set mv_separate_items]1[/set] > Color: [item-accessories color] > [else] > [set mv_separate_items]0[/set] > [/else] > [/if-item-data] > >to separate my item with color order and non-separate items without color. >However, it gives me an unstable list. > >Can anybody help? > >Thanks, > >Kathy > AFAIK, mv_separate_items is a session-wide setting - it can't be applied on an item-by-item basis. There may be some undocumented features or directives for what you want to do... Failing that, you will probably have to resort to manipulating the cart with Perl. - 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: mikeh at minivend.com (Mike Heins) Date: Mon, 7 May 2001 12:51:17 -0400 Subject: [ic] Separate Items Quoting Ed LaFrance (edl@newmediaems.com): > At 12:42 PM 05/07/2001 +1000, you wrote: > >Hi, list, > >I tried to use the codes > > > > [if-item-data products color] > > [set mv_separate_items]1[/set] > > Color: [item-accessories color] > > [else] > > [set mv_separate_items]0[/set] > > [/else] > > [/if-item-data] > > > >to separate my item with color order and non-separate items without color. > >However, it gives me an unstable list. > > > >Can anybody help? > > > >Thanks, > > > >Kathy > > > > AFAIK, mv_separate_items is a session-wide setting - it can't be applied on > an item-by-item basis. There may be some undocumented features or > directives for what you want to do... Failing that, you will probably have > to resort to manipulating the cart with Perl. This is correct, but there are better ways. [set mv_separate_items]1[/set] is kind of deprecated anyway, as the kind of action-at-a-distance thing we try to avoid these days. [if-item-data products color] Color: [item-accessories color] Order: [page href=order form=" mv_order_item=[item-code] mv_separate_items=1 "]Order now[/page] [else] Order: [page href=order form=" mv_order_item=[item-code] mv_separate_items=0 "]Order now[/page] [/else] [/if-item-data] -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I don't want to get to the end of my life and find I have just lived the length of it. I want to have lived the width of it as well. -- Diane Ackerman From: interch at web3.valley-internet.com (interch) Date: Mon, 7 May 2001 10:52:30 -0700 (PDT) Subject: [ic] How to do this? Basically what I want to do is to have the equivalent of the Route command for the admin interface and have the Route command triggered not on an order, but on an update or some even in the admin interface. Specific example would be when you update a product from Pending to Shipped, to have that trigger a capture request to a payment module. Chris From: chc at mninter.net (Curt Hauge) Date: Mon, 7 May 2001 13:20:15 -0500 Subject: [ic] Sorting results page by prodcut price or description Quoting Jason Feingold > I'ld like to find out how to sort the search results page by price and by > description. I would like to have the sort by price the default, > then have > the user be able to click the product description to sort by that, if > desired. Check out the page item.html in the admin area. It has several examples in place of how this can be done. Item.html is located in /usr/lib/interchange/lib/UI/pages/admin/item.html or possibly /path/to/interchange/lib/UI/pages/admin/item.html. Also, check out this page http://developer2.akopia.com/cgi-bin/ic/docfly.html?mv_arg=iccattut14%2e05. Good luck! Curt Hauge From: James_Thoms at mcgraw-hill.com (Thoms, James) Date: Mon, 7 May 2001 15:23:29 -0400 Subject: [ic] More Listing Is it possible to use a more list when doing a [query] call. meaning query something like select * from product where color = 'red' Then use a more list to allow the user to navigate through the pages. From: chad at shire.net (Chad Leigh, Shire.Net LLC) Date: Mon, 07 May 2001 16:11:19 -0400 Subject: [ic] changing column name really changes things (trying to get frontbase Hi All I am new to this tool and am trying to get interchange to work with FrontBase (www.frontbase.com). I have set up a demo construct catalog. I have set the DSN appropriately and it does log in to my database. I get the following error because "name" is a reserved sql92 identifier: -------------- Do you want me to start it as 'interch' now? [y] Killing Interchange server 53179 with TERM. Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...Using PostgreSQL, DSN=dbi:FB:dbname=construct+pwd;host=myhost.mycom.com. perl in free(): warning: modified (chunk-) pointer. bad table creation statement: create table country ( code CHAR(3) NOT NULL PRIMARY KEY, selector CHAR(3) NOT NULL, shipmodes CHAR(64), name CHAR(32) NOT NULL ) Error: Syntax error 022. Expected ')' not found. Syntax error 108. Expected ';' not found. Exception 363. Transaction rollback. --------------- So I go into dbconf/pgsql/ and find country.pgsql: Database country country.txt __SQLDSN__ #ifdef SQLUSER Database country USER __SQLUSER__ #endif #ifdef SQLPASS Database country PASS __SQLPASS__ #endif Database country COLUMN_DEF "code=CHAR(3) NOT NULL PRIMARY KEY" Database country COLUMN_DEF "selector=CHAR(3) NOT NULL" Database country COLUMN_DEF "shipmodes=CHAR(64)" Database country COLUMN_DEF "name=CHAR(32) NOT NULL" Database country ChopBlanks 1 I modify the Database country COLUMN_DEF "name=CHAR(32) NOT NULL" line to be Database country COLUMN_DEF "cname=CHAR(32) NOT NULL" So now when I try and restart (to finish config) I get: -------------------------- Do you want me to start it as 'interch' now? [y] Killing Interchange server 53179 with TERM. Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...Using PostgreSQL, DSN=dbi:FB:dbname=construct+goShire2001;host=myhost.mycom.com. dbname = construct+pwd/frogmorton.shire.net perl in free(): warning: modified (chunk-) pointer. bad table creation statement: create table country ( code CHAR(3) NOT NULL PRIMARY KEY, selector CHAR(3) NOT NULL, shipmodes CHAR(64), name char(128) ) Error: Syntax error 022. Expected ')' not found. Syntax error 108. Expected ';' not found. Exception 363. Transaction rollback. --------------------------- my "cname" got morphed into "name=char(128)" notice it is still "name" and the CHAR(32) is now char(128) and the NOT NULL is missing. What did I do wrong and how do I go about changing the column name definition? Thanks Chad From: bill at worldwideimpact.com (bill at worldwideimpact.com) Date: Mon, 7 May 2001 16:15:13 -0400 Subject: [ic] More Listing Yes. [query table=leads list=1 ml=25 more=1 sql=| SELECT * FROM leads WHERE business_name LIKE '%[cgi query]%' | ] <table> [list] <tr> <td><a href=[area href=devo/sales/detail form=|leadid=[sql-param id]|]>[sql-param business_name]</a></td> <td>[sql-param city]</td> <td>[sql-param state]</td> </tr> [/list] </table> [no-match] No matches [/no-match] [more-list] [more] [/more-list] [/query] Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 "Thoms, James" <James_Thoms@mcgraw-hill.com> Sent by: interchange-users-admin@lists.akopia.com 05/07/2001 03:23 PM Please respond to interchange-users To: "'interchange-users@lists.akopia.com'" <interchange-users@lists.akopia.com> cc: Subject: [ic] More Listing Is it possible to use a more list when doing a [query] call. meaning query something like select * from product where color = 'red' Then use a more list to allow the user to navigate through the pages. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: kyle at invisio.com (kyle at invisio.com) Date: Mon, 07 May 2001 13:21:11 -0400 Subject: [ic] More Listing At 03:23 PM 5/7/01 , you wrote: >Is it possible to use a more list when doing a [query] call. >meaning query something like select * from product where color = 'red' >Then use a more list to allow the user to navigate through the pages. If you are using query, then you need to control the paging system with LIMIT in your SQL query. You would have to use IC search capability to be able to use the paging features in IC. Kyle (KC) PS: If your comfortable with calc tags maybe this will give you some ideas for query paging (not complete but gives you an idea): [calc] # number of results per page $paging = 25; # set your sql from statement here # probably using input from a form etc... $sql = "FROM product where color = 'red'"; $limit = ' [value limit]' || '0'; $sql_limit = $sql . " LIMIT $limit,".$paging; return ''; [/calc] [query list=1 sql="SELECT code,ETC [calc]$sql_limit[/calc]"] Do your thing here to display what you want.<br> item [sql-param code]<br> [/query] [comment]Below I used a drop down to select a page range to display, but you could set up links, just be sure to pass along limit in the link. [/comment] [query list=1 sql="SELECT count(*) AS junk [calc]$sql[/calc]"] [calc]$numrows = '[sql-param junk]'; return '';[/calc] [/query] <FORM ACTION="[process]" METHOD=POST> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="YOURPAGE"> [calc] $out = $numrows . ' Matches found'; $page = 0; if ($numrows > $paging) { $out .= ', displaying range:<SELECT NAME="limit">'; $pages = $numrows/25; while ($page < $pages) { $val = $page * $paging; $sel = ($val eq '[value limit]') ? " selected" : ""; $low = $val + 1; $hi = $low + $paging - 1; $hi = ($hi < $numrows) ? $hi : $numrows; $out .= "<option value=\"$val\"$sel>Pages: $low - $hi\n"; $page++; } $out .= '</select> <input type="Submit" name="submit" value="Show Range">'; } return $out; [/calc] </form> From: edl at newmediaems.com (Ed LaFrance) Date: Mon, 07 May 2001 13:23:40 -0700 Subject: [ic] changing column name really changes things (trying to At 04:11 PM 05/07/2001 -0400, you wrote: >Hi All > >I am new to this tool and am trying to get interchange to work with >FrontBase (www.frontbase.com). > >I have set up a demo construct catalog. > >I have set the DSN appropriately and it does log in to my database. > >I get the following error because "name" is a reserved sql92 identifier: > [del] >So I go into dbconf/pgsql/ and find country.pgsql: > [del] >I modify the >Database country COLUMN_DEF "name=CHAR(32) NOT NULL" >line to be >Database country COLUMN_DEF "cname=CHAR(32) NOT NULL" > >So now when I try and restart (to finish config) I get: > >-------------------------- >Do you want me to start it as 'interch' now? [y] >Killing Interchange server 53179 with TERM. >Low traffic settings. >Calling UI.... >...UI is loaded.... >Interchange V4.6.5 >Configuring catalog construct...Using PostgreSQL, >DSN=dbi:FB:dbname=construct+goShire2001;host=myhost.mycom.com. >dbname = construct+pwd/frogmorton.shire.net >perl in free(): warning: modified (chunk-) pointer. >bad table creation statement: >create table country ( >code CHAR(3) NOT NULL PRIMARY KEY, >selector CHAR(3) NOT NULL, >shipmodes CHAR(64), >name char(128) >) > [del] >my "cname" got morphed into "name=char(128)" >notice it is still "name" and the CHAR(32) is now char(128) and the NOT >NULL is missing. > >What did I do wrong and how do I go about changing the column name definition? > You must also change the column header 'name' to 'cname' in country.txt. - 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: chad at shire.net (Chad Leigh, Shire.Net LLC) Date: Mon, 07 May 2001 16:36:46 -0400 Subject: [ic] changing column name really changes things (trying to get --==========1410952024========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks. That gets me a little (maybe a lot) further... --On Monday, May 07, 2001 1:23 PM -0700 Ed LaFrance <edl@newmediaems.com> = wrote: > > You must also change the column header 'name' to 'cname' in country.txt. > > - Ed L. --==========1410952024========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: Mulberry PGP Plugin v2.0 Comment: processed by Mulberry PGP Plugin iQA/AwUBOvcHX5Tz5Jfdw0hKEQLmmACgo3RDIyAe93u+lwVejb3g6z/Yuy8AoK/A 2JKTNJ0WDETzTAPNeSc1o51I =lemt -----END PGP SIGNATURE----- --==========1410952024==========-- From: tech at khouse.org (Russ Mann) Date: Mon, 7 May 2001 15:14:33 -0600 Subject: [ic] item-next Dear List, I'm trying to modify the action of the [item-next] routine to work correctly. Can someone point me in the direction of the item-next code or the search results code. Thanks, Russ From: interchange-users at lists.akopia.com (Greg Gaskill) Date: Mon May 7 22:42:01 2001 Subject: [ic] Optional display of items on secure pages I've got a service called Human Click on the LEFTONLY_TOP section of our web site, but since it is an external link, it will cause a problem when customers go to the check-out page. Is there an [if secure] type tag to optionally display an image, based on the security of the page that it is going to be shown in? Thanks, Greg From: interchange-users at lists.akopia.com (DB) Date: Mon May 7 23:17:01 2001 Subject: [ic] Secure server and 4.7.1 again Ok, editing that variable name in catalog.cfg indeed caused the correct Secure URL to be displayed in the Admin interface's Info section. But when I go into the store and click Checkout, it appears to be looking for the correct URL but it just sits for about 15sec before giving this message: We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. I have my own secure certificate installed, and 4.6.5 work fine with it. As do all my other web pages and cgi scripts if I just change http to https. No errors show up in ~/catalogs/foundation/error.log or in ~/interchange/error.log. And if I replace the http: in the URL it is looking for with http:, the (non secure) checkout page pops right up. So now what? DB > From: Mike Heins <mikeh@minivend.com> > > Quoting DB (DB@M-and-D.com): > > I have 4.7.1 installed using 'foundation'. The variable SECURE_SERVER is > > set to https://mydomain.com and SECURE_ENABLE is set to 1. But when I go > > to the Admin interface and look at Info, it shows the Secure URL as > > http://mydomain.com/cgi-bin/foundation (not https). When I hit Checkout > > in the store it is not in secure mode. Can anyone tell me what I'm > > missing? I have my own secure certificate installed for > > https://mydomain.com. > > Actually, there is a mismatch between SECURE_ENABLED and SECURE_ENABLE > in the variables file. Either change the setting in preferences to > match the one in catalog.cfg, or vice versa. > > The latest CVS version should have this fixed.... > > -- From: interchange-users at lists.akopia.com (jeff chasick) Date: Mon May 7 23:25:00 2001 Subject: [ic] UPS and USPS API integration As a newbie to this list I have a typical newbie question: Has anyone succeeded in integrating and using the UPS and USPS API's? From: interchange-users at lists.akopia.com (Webmaster at Dreward.com) Date: Mon May 7 23:31:00 2001 Subject: [ic] MySQL Database Install Bundle::Interchange would be my suggestion. Seems to take care of this every time. bri -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Brandee Diggs Sent: Sunday, May 06, 2001 8:26 PM To: Interchange Users Subject: RE: [ic] MySQL Database Here is the error message: 64.45.138.58 Bi7DdkzJ:64.45.138.58 - [03/May/2001:22:19:40 -0400] frasesbu /~frasesbu/cgi-bin/cart.cgi/process.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379. > Thanks, Brandee -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Joachim Leidinger Sent: Sunday, May 06, 2001 3:10 PM To: interchange-users@lists.akopia.com Subject: Re: [ic] MySQL Database Brandee Diggs wrote: > > Question: > > In order to process to the checkout area with items in the cart, do we need > to have a database (i.e. MySQL) to process. I keep getting errors. > > Any suggestions? Tell us the error message /.../catalogs/yourcatalog/error.log or .../interchange/error.log) Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Chad Leigh, Shire.Net LLC) Date: Mon May 7 23:53:00 2001 Subject: [ic] IC_TEST_CREATE table --==========1437271731========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi In the configuration of a new catalog (using SQL database, in my case = trying to use FrontBase), it apperas to create a table called = IC_TEST_CREATE with the columns of the real table it wants to create. It = then appears to try and create the real table. My problem is that the = IC_TEST_CREATE from the table creation before hand is still in my database = when it tries to go through the cycle again for the next table. I have tried using Oracle and Postgres as my "databases" with actually = being logged into FrontBase, after changing the appropriate table column = definition files. What is the actual work going on behind he scenes with this IC_TEST_CREATE = table? Here is a sample log Do you want me to start it as 'interch' now? [y] Killing Interchange server 54648 with TERM. Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...Using PostgreSQL, = DSN=3Ddbi:FB:dbname=3Dconstruct;host=3Dmyhost.myhost.me. perl in free(): warning: modified (chunk-) pointer. table country created: create table country ( code CHAR(3) NOT NULL PRIMARY KEY, selector CHAR(3) NOT NULL, shipmodes CHAR(64), countryname CHAR(32) NOT NULL ) table country index failed: Semantic error 249. Index already defined. Exception 363. Transaction rollback. perl in free(): warning: modified (chunk-) pointer. perl in free(): warning: modified (chunk-) pointer. bad table creation statement: create table gift_certs ( code char(14) NOT NULL PRIMARY KEY, username CHAR(20) default '' NOT NULL, order_date varchar(32) NOT NULL, original_amount float(4) NOT NULL, redeemed_amount float(4) NOT NULL, available_amount float(4) NOT NULL, passcode CHAR(20) NOT NULL, active CHAR(3), redeemed CHAR(3), update_date timestamp ) Error: Semantic error 085. Table name - IC_TEST_CREATE - exists. Exception 363. Transaction rollback. construct config error: No database object for table: gift_certs . Thanks Chad --==========1437271731========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: Mulberry PGP Plugin v2.0 Comment: processed by Mulberry PGP Plugin iQA/AwUBOvduOZTz5Jfdw0hKEQJMYgCeM2zsyQghow0aqF/cARoAot0NUeIAoP/N kgaJ+IipgV4CQ1LTQeQHJgRI =5MhG -----END PGP SIGNATURE----- --==========1437271731==========-- From: interchange-users at lists.akopia.com (Interchange Admin) Date: Tue May 8 00:02:00 2001 Subject: [ic] read-only products database I can not seem to set Interchange up to allow me to write to the products database with or without tags. The line I am using is as follows: [data base=products column=avail key=[item-code] value="no"] >From the manual, if I assume that the permission "is equivalent to: Database products WRITE_CONTROL 1 Database products WRITE_TAGGED 1" I get the following error whether I use "[tag flag write]products[/tag]" or not: [formatting mine] 123.456.789.012 TRVokDm8:123.456.789.012 - [07/May/2001:22:39:15 -0500] store /cgi-bin/store/ord/basket Attempt to set products::avail::0-0001 in read-only table If I add the following to catalog.cfg, I can, indeed write to the products database using [tag.../tag]: Database products WRITE_CONTROL 1 Database products WRITE_TAGGED 1 but then "flypage.html" does not work. Apache says: [formatting mine] [Mon May 7 22:42:57 2001] [error] [client 123.456.789.012] Premature end of script headers: /home/thestore/cgi-local/store and interchange says: [formatting mine] 123.456.789.012 TRVokDm8:123.456.789.012 - [07/May/2001:22:42:57 -0500] store /cgi-bin/store/0-0003 Runtime error: Could not tie to '/home/thestore/interchange /store/products/products.gdbm': Resource temporarily unavailable at //usr/lib/interchange/lib/Vend/Table/GDBM.pm line 105. The only way around this that I can see (but haven't tested yet) is to have another table that is not products that has only the sku and the "avail" that I need to update. But this implies that you can not use "flypage" and have write access to your products table. Any tips, clues, etc.?? This is a MAJOR problem at this point. RedHat Linux:::::::: 6.2 interchange version: interchange-4.6.5-1.rh6 perl version:::::::: perl-5.00503-10 Thanks. jaime -- interch | I read recently that human beings use only 15% @ Jaime Viehweg | of their brains capacity. Makes you wonder viehweg.net | what they do with the other 75%. From: interchange-users at lists.akopia.com (Australian NetLink) Date: Tue May 8 00:31:00 2001 Subject: [ic] Keeping selected choices when continue shopping Hi, list, I should say 'Thank You' to Mike Heins (minivend) to give me some specific solution for separate items (see the subject: Separate Items). It works good. Here is anthor question: Everytime when I click 'continue shopping', the color I chose in my Cart previously will change back to default (the first item in drop down menu). And also the quantity change back to '1'. The question is how can I keep those value I made changes. PS. The 'contiune shopping' acts like you click 'Back' on your browser. Thanks, Kathy ------------------------------------- A u s t r a l i a n N e t L i n k Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- From: interchange-users at lists.akopia.com (Darren Bayliss) Date: Tue May 8 05:47:00 2001 Subject: [ic] Can't install 4.64 on irix 6.5 Hello, I have downloaded 4.7.1 and ran the 'configure' script. This is part of the error message i received; Manifying blib/man1/interchange.1 PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib -I/usr/freewarel server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......The Interchange server is already running (process id 298) ok 4 link/inetmode.........ok 5 server/control........not ok 6 ok 6 6 tests run -- 1/6 failed. *** Error code 1 (bu21) 6# This is one better than before, which is a partial success. I then changed 'lockType' to specify 'fcnctl' but then the script wouldn't run at all (NOT SAFE was the error). Also it was suggested that i run a 'makecat' to see if i could get interchange running, this isn't possible, as the script requires interchange to be installed (?); (from makecat.PL) #$self = { # INSTALLPRIVLIB => '/usr/local/interchange/lib', # INSTALLARCHLIB => '/usr/local/interchange', whereas nothing is installed after i have ran the configure script. Some pointers would be great. If the problem is a scripting error, could people please be specific as it is not really my forte (couldn't get the accent to work, sorry). by the way, my system is running NFS. Regards, Darren Bayliss e-SP darrenb@spgroup.co.uk > ---------- > From: Mike Heins > Reply To: interchange-users@lists.akopia.com > Sent: Thursday, April 5, 2001 2:08 pm > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Can't install 4.64 on irix 6.5 > > Quoting Darren Bayliss (darrenb@spgroup.co.uk): > > Hello, > > I am unabled to get beyond the 'configure' script as i get getting the > > following error; > > > > Manifying blib/man1/offline.1 > > Manifying blib/man1/update.1 > > Manifying blib/man3/icintro.8 > > /usr/freeware/bin/pod2man: Improper man page - no dash in NAME header in > > paragrd > > /usr/freeware/bin/pod2man: pod/icintro.pod is missing required section: > > DESCRIPN > > Manifying blib/man1/restart.1 > > Manifying blib/man1/expireall.1 > > Manifying blib/man3/ictemplates.8 > > /usr/freeware/bin/pod2man: Improper man page - no dash in NAME header in > > paragrd > > /usr/freeware/bin/pod2man: pod/ictemplates.pod is missing required > section: > > DESN > > All harmless. > > > Manifying blib/man1/interchange.1 > > PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib > > -I/usr/freewarel > > server/unixmode.......The previous Interchange server was not running > and > > probay > > terminated with an error. > > ok 1 > > server/startup........ok 2 > > link/unixmode.........ok 3 > > server/inetmode.......The Interchange server is already running (process > id > > 260) > > ok 4 > > link/inetmode.........not ok 5 > > server/control........not ok 6 > > 6 tests run -- 2/6 failed. > > *** Error code 1 (bu21) > > [snip] > > > I am trying to install on a silicon graphics origin200, running irix 6.5 > > with Netscape FastTrack server. Perl 5005_03 is installed(origin 42# > perl -v > > > > This is perl, version 5.005_03 built for irix-n32). > > > > Can anyone please help ?? > > Are you sure your Perl passes "make test" 100%? This looks like a Perl > with > locking and possibly socket problems. If you are on an NFS file system, > you will need to get 4.7.x and set "LockType fcntl" in interchange.cfg. > > Also, it looks like it may work in UNIX mode despite the failed tests. Try > a "make install" and see if you can make a catalog and get it going. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > For a successful technology, reality must take precedence over public > relations, for Nature cannot be fooled. -- Dick Feynman > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (Sergey Sheykin) Date: Tue May 8 07:21:00 2001 Subject: [ic] [sql-param this_field_value] Hi, know anybody, how can I set [sql-param this_field_value] value to a perl-variable ? This : [perl arg="scratch" interpolate="1"] $this_field_value="[sql-param this_field_value]"; $Safe{'scratch'}{'this_field_value'}=$this_field_value; [/perl] not work, if a value contains a quote(") simbol. Something like : $Safe{'query'}{'this_field_value'}? Thank's, Sergei. From: interchange-users at lists.akopia.com (Mike Heins) Date: Tue May 8 09:41:01 2001 Subject: [ic] IC_TEST_CREATE table Quoting Chad Leigh, Shire.Net LLC (chad@shire.net): > Hi > > In the configuration of a new catalog (using SQL database, in my case trying to use FrontBase), it apperas to create a table called IC_TEST_CREATE with the columns of the real table it wants to create. It then appears to try and create the real table. My problem is that the IC_TEST_CREATE from the table creation before hand is still in my database when it tries to go through the cycle again for the next table. > > I have tried using Oracle and Postgres as my "databases" with actually being logged into FrontBase, after changing the appropriate table column definition files. > > What is the actual work going on behind he scenes with this IC_TEST_CREATE table? > It is designed to see if the table is failing because we are unable to create/drop tables. If we don't do this, the error is inscrutable. A workaround is to create a valid SQL creation statement and put it in the parameter CREATE_SQL: Database country CREATE_SQL <<EOF CREATE TABLE country ( code char(3) NOT NULL default '', sorder char(128) default NULL, region char(128) default NULL, selector char(3) default NULL, shipmodes char(64) default NULL, name char(32) NOT NULL default '', iso char(3) NOT NULL default '', isonum char(3) NOT NULL default '', PRIMARY KEY (code), KEY name (name), KEY country_code (code) ) EOF -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at lists.akopia.com (Chad Leigh, Shire.Net LLC) Date: Tue May 8 10:13:01 2001 Subject: [ic] IC_TEST_CREATE table --==========1474446717========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi mike The question is, why doesn't it go away again? The program can reely = create and drop tables but it doesn't seem to be dropping this so the next = time around it is still there. I understand why it is there. I want to = understand how to make it work the way you intended. Thansk Chad --On Tuesday, May 08, 2001 9:43 AM -0400 Mike Heins <mikeh@minivend.com> = wrote: > Quoting Chad Leigh, Shire.Net LLC (chad@shire.net): >> Hi >> >> In the configuration of a new catalog (using SQL database, in my case >> trying to use FrontBase), it apperas to create a table called >> IC_TEST_CREATE with the columns of the real table it wants to create. >> It then appears to try and create the real table. My problem is that >> the IC_TEST_CREATE from the table creation before hand is still in my >> database when it tries to go through the cycle again for the next table. >> >> I have tried using Oracle and Postgres as my "databases" with actually >> being logged into FrontBase, after changing the appropriate table column >> definition files. >> >> What is the actual work going on behind he scenes with this >> IC_TEST_CREATE table? >> > > It is designed to see if the table is failing because we are unable > to create/drop tables. If we don't do this, the error is inscrutable. > > A workaround is to create a valid SQL creation statement and put it > in the parameter CREATE_SQL: > > Database country CREATE_SQL <<EOF > CREATE TABLE country ( > code char(3) NOT NULL default '', > sorder char(128) default NULL, > region char(128) default NULL, > selector char(3) default NULL, > shipmodes char(64) default NULL, > name char(32) NOT NULL default '', > iso char(3) NOT NULL default '', > isonum char(3) NOT NULL default '', > PRIMARY KEY (code), > KEY name (name), > KEY country_code (code) > ) > EOF > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > People who want to share their religious views with you > almost never want you to share yours with them. -- Dave Barry > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > --==========1474446717========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: Mulberry PGP Plugin v2.0 Comment: processed by Mulberry PGP Plugin iQA/AwUBOvf/a5Tz5Jfdw0hKEQK3OQCbBFKy1yjxMTcHmxW37B519uytOqwAoP1S ntFJJFgUnBSRbEOQtEAQTDCB =ZDfj -----END PGP SIGNATURE----- --==========1474446717==========-- From: interchange-users at lists.akopia.com (Marco Mescoli) Date: Tue May 8 10:51:00 2001 Subject: [ic] Construct: stock-alert product display error Demo catalog construct Error for mv_arg from flypage.html to stock-alert.html: flypage.html line ~ 43 NO [loop-code] YES [item-code] From: interchange-users at lists.akopia.com (Jon Jensen) Date: Tue May 8 11:09:00 2001 Subject: [ic] Construct: stock-alert product display error On Tue, 8 May 2001, Marco Mescoli wrote: > Demo catalog construct > Error for mv_arg from flypage.html to stock-alert.html: > > flypage.html line ~ 43 > NO [loop-code] > YES [item-code] I couldn't find anything like this in Interchange 4.6/construct, but I did find the problem in 4.7/foundation, and fixed it there. Thanks. Jon From: interchange-users at lists.akopia.com (Kestutis Lasys) Date: Tue May 8 11:17:00 2001 Subject: [ic] UPS Additional shipping calculation > > I am 99.7% positive I am doing this correct, but here it is anyhow - > > > > In the user interface: Shipping options: edit method upsg (the default UPS > > Ground in Construct Something) to add an additional percentage to the total > > shipping cost I have tried the following: > > > > Additional shipping calculation: > > x = x + (x * .85) > > x = x + ( x * .85 ) > > x=x+(x*.85) > > x = x * 1.85 > > and so on...... > > > > Nothing seems to change this caculation > > > > Any ideas? Is it a bug - according to the docs this is how it is done - just > > won't work for me. > > Bug in the docs. For the internal UPS calculation, all you can do > is add some fixed number. > > If you use the external lookup, you could do "* .85" and it should > work. Hello, I am just interesting how it should work? That is still written in the user interface help: ------------------ "You can enter any valid mathematical expression and you can reuse the "x" variable as many times as you need to ..." ... "even a UPS weight based calculation" ... "It is important to note that you must specify some sort of equality on the left hand side of the equation." ------------------ Mike wrote: "For the internal UPS calculation, all you can do is add some fixed number". In program: Interpolate.pm ------------------------------------------------- return '' if $final == 0; $o->{adder} =~ s/\bx\b/$final/g; $o->{adder} =~ s/\@\@TOTAL\@\\?\@/$final/g; $o->{adder} = $ready_safe->reval($o->{adder}); $final += $o->{adder} if $o->{adder}; $final = POSIX::ceil($final) if is_yes($o->{round}); -------------------------------------------------- i.e. you can use any valid mathematical expression, but without left hand side of the equation. Sorry, if I miss something. Kestutis Lasys From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 8 11:44:00 2001 Subject: [ic] [sql-param this_field_value] At 03:30 PM 05/08/2001 +0400, you wrote: >Hi, > >know anybody, how can I set [sql-param this_field_value] value >to a perl-variable ? > >This : > >[perl arg="scratch" interpolate="1"] >$this_field_value="[sql-param this_field_value]"; >$Safe{'scratch'}{'this_field_value'}=$this_field_value; >[/perl] > >not work, if a value contains a quote(") simbol. Try using generalized quoting: $this_field_value=q{[sql-param this_field_value]}; - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Sergey Sheykin) Date: Tue May 8 11:52:01 2001 Subject: [ic] ls Hi, can I use commands in `` in the [perl] $files = `ls -c *.*`; [/perl] ? From: interchange-users at lists.akopia.com (Thomas Swinney) Date: Tue May 8 14:40:00 2001 Subject: [ic] peachtree integration I have seen talk long ago about peachtree integration. http://developer2.akopia.com/archive/interchange-users/2000/msg00157.html I really need this in a shopping cart. If interchange allready has it thats great. I just can't find much talk about it. If anybody knows something about accounting software integration into something else from akopia let me know as well. I have found an activex tool that might be able to do it. (maybe not.) anyhow let me know. Thanks, Thomas Swinney From: interchange-users at lists.akopia.com (Jean-Pierre Parent) Date: Tue May 8 15:16:00 2001 Subject: [ic] Forms validation I'm confused between order profiles and [error] for forms validation... Does anyone can send me code samples other than the demo? What if its not for an order... Lets say a login or another form that will just gather info. What "tools" would one use? I'll search in the doc when I'll know what to search for =) That whole forms thing is hard to swallow...I wish someone could explain it to me. I've used forms for YEARS with ASP and PHP and I just cant understand why its [process] instead of [process-target] as the action...nor what is the difference between "submit", "return", "cancel" that you put in an mv_todo or mv_doit or mv_click? or whatever...etc. It looks like a completely different approach... If someone thinks he can write something on the subject PLEASE use me as a cobaye as I'm sure others will benefit a lot from this. Thank you. J.-P. From: interchange-users at lists.akopia.com (fallouNdiaye) Date: Tue May 8 16:05:01 2001 Subject: [ic] (no subject) Hello I try to configure interchange in with my server Web of which I am customer without the permission root. After several attempts, I note that I do not have the permission suitable i.e. root. Somebody little to say to me how to make for launching to launch the commade configures in being in root mode. Thank you for your assistance. I have this message: [secannet@walden interchange-4.6.4]$ ./configure Akopia Interchange Version 4.6.x Configuration Copyright 1996-2000 Akopia, Inc, <support@akopia.com> Interchange was originally based on Vend 0.2 Copyright 1995 Andrew M. Wilcox <awilcox@maine.com> Portions from Vend 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License, see the file Copying for license information. Found Perl 5.00503 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.00503/FindBin.pm line 14 3 Can't write uid file: Permission denied make: *** No targets. Stop. make: *** No rule to make target `test'. Stop. From: interchange-users at lists.akopia.com (Lamine) Date: Tue May 8 16:18:01 2001 Subject: [ic] I got error if run ./configure for interchange 6.4: Permission Hello I try to configure interchange in with my server Web of which I am customer without the permission root. After several attempts, I note that I do not have the permission suitable i.e. root. Somebody little to say to me how to make for launching to launch the commade configures in being in root mode. Thank you for your assistance. I have this message: [secannet@walden interchange-4.6.4]$ ./configure Akopia Interchange Version 4.6.x Configuration Copyright 1996-2000 Akopia, Inc, <support@akopia.com> Interchange was originally based on Vend 0.2 Copyright 1995 Andrew M. Wilcox <awilcox@maine.com> Portions from Vend 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License, see the file Copying for license information. Found Perl 5.00503 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.00503/FindBin.pm line 14 3 Can't write uid file: Permission denied make: *** No targets. Stop. make: *** No rule to make target `test'. Stop. From: interchange-users at lists.akopia.com (Mark Lehman) Date: Tue May 8 16:26:01 2001 Subject: [ic] Oracle and Categories Hello, I am using Interchange 4.6.5 on Solaris 2.6, with Oracle DB. My problem is with the Interchange admin, under items: I am having a problem with the Category field when I edit(or create) an item. The Category field is not available to "type" or "select" from. It just says "Enter in box for new category." -- without any boxes. This only happens when I use my Oracle database, it works fine when I use text files. Otherwise, the Oracle database works fine... Did anyone have this problem before??? Thankyou for any help... --Mark From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 8 17:41:01 2001 Subject: [ic] ls I'm pretty sure I read that no backticks, system, or exec calls are allowed. So, no. -jsn -------------------------------------------------- Tue, 8 May 2001 12:17:33 PM Eastern Daylight Time "Sergey Sheykin" <sheich@mosinfo.ru> Hi, can I use commands in `` in the [perl] $files = `ls -c *.*`; [/perl] From: interchange-users at lists.akopia.com (Xiaowen Wu) Date: Tue May 8 17:55:00 2001 Subject: problem for [ic] UPS shipping I'm new to minivend, and I just setup my shopping cart, and now I want to setup the shipping fee which is based on UPS's cvs tables. I know I can put a "adder" to add a fixed amount to the shipping cost, but I would like to multiple the shipping cost by a factor, I don't know how to do it ? I search the minivend mailing list, and found the similar questions posted, but I cannot found the answer. > 2. I want to modify the shipping charges for my "construct" store such > that: A. UPS Shipping charges are multiplied by a factor (like 1.15 > for a 15% markup), as well as B. Add a base amount (like $3). > I would be appreciated if anybody can give me some hints. Thanks in advanced. Best Wen From: interchange-users at lists.akopia.com (Mike Heins) Date: Tue May 8 19:03:01 2001 Subject: [ic] UPS Additional shipping calculation Quoting Kestutis Lasys (kestutis.lasys@delfi.lt): > > > Additional shipping calculation: > > > x = x + (x * .85) > > > x = x + ( x * .85 ) > > > x=x+(x*.85) > > > x = x * 1.85 > > > and so on...... > > > > > > Nothing seems to change this caculation > > > > > > Any ideas? Is it a bug - according to the docs this is how it is done - just > > > won't work for me. > > > > Bug in the docs. For the internal UPS calculation, all you can do > > is add some fixed number. > > > > If you use the external lookup, you could do "* .85" and it should > > work. > > I am just interesting how it should work? > > That is still written in the user interface help: > ------------------ > "You can enter any valid mathematical expression > and you can reuse the "x" variable as many times > as you need to ..." > ... > "even a UPS weight based calculation" > ... > "It is important to note that you must specify some > sort of equality on the left hand side of the equation." The "x" thing works, but is really, really deprecated. It should come out of the docs. > ------------------ > > Mike wrote: > "For the internal UPS calculation, all you can do is add some fixed > number". > > In program: Interpolate.pm > ------------------------------------------------- > return '' if $final == 0; > $o->{adder} =~ s/\bx\b/$final/g; > $o->{adder} =~ s/\@\@TOTAL\@\\?\@/$final/g; > $o->{adder} = $ready_safe->reval($o->{adder}); > $final += $o->{adder} if $o->{adder}; > $final = POSIX::ceil($final) if > is_yes($o->{round}); > -------------------------------------------------- > i.e. you can use any valid mathematical expression, > but without left hand side of the equation. Since I don't know what you are trying to add, it is pretty hard to come up with a formula. You have found the code that matters; the thing you need to do is come up with a formula. My guess from what you have is: @@TOTAL@@ * .85 for the adder. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at lists.akopia.com (Dan B) Date: Tue May 8 20:40:00 2001 Subject: [ic] Forms validation At 03:16 PM 5/8/2001 -0400, you wrote: >I'm confused between order profiles and [error] for forms validation... > >Does anyone can send me code samples other than the demo? What if its not >for an order... > >Lets say a login or another form that will just gather info. What "tools" >would one use? >I'll search in the doc when I'll know what to search for =) > >That whole forms thing is hard to swallow...I wish someone could explain it >to me. I've used forms for YEARS with ASP and PHP and I just cant understand >why its [process] instead of [process-target] as the action...nor what is >the difference between "submit", "return", "cancel" that you put in an >mv_todo or mv_doit or mv_click? or whatever...etc. > >It looks like a completely different approach... > >If someone thinks he can write something on the subject PLEASE use me as a >cobaye as I'm sure others will benefit a lot from this. > >Thank you. > >J.-P. Yes, J.-P., I hope as well that someone will be inspired to write "Introduction to Forms the Interchange Way 101". Barring that, the following reading might be a great primer: http://developer2.akopia.com/cgi-bin/ic/dev/ictemplates_26.html http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_34.html http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_37.html http://developer2.akopia.com/cgi-bin/ic/dev/icdatabase_44.html Later, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Tue May 8 20:42:01 2001 Subject: [ic] 500 internal error? Im getting a internal error when going to add a option for item using interchange 4.7.2 trying to create a option simple but keep getting 500 internal error is this a bug? From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 8 20:59:00 2001 Subject: [ic] ls On Tue, May 08, 2001 at 05:43:24PM -0400, JoshNarins@aol.com wrote: > > I'm pretty sure I read that no backticks, system, or exec calls are > allowed. > > So, no. > > -jsn Look at SafeUntrap. I'm not sure the syntax to untrap a backtic :-) but you could write it in perl, readdir etc... > > -------------------------------------------------- > > Tue, 8 May 2001 12:17:33 PM Eastern Daylight Time > "Sergey Sheykin" <sheich@mosinfo.ru> > > Hi, > > can I use commands in `` in the > [perl] > $files = `ls -c *.*`; > [/perl] > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 8 21:44:01 2001 Subject: [ic] Forms validation On Tue, May 08, 2001 at 05:42:14PM -0700, Dan B wrote: > At 03:16 PM 5/8/2001 -0400, you wrote: > >I'm confused between order profiles and [error] for forms validation... > > > >Does anyone can send me code samples other than the demo? What if its not > >for an order... > > > >Lets say a login or another form that will just gather info. What "tools" > >would one use? > >I'll search in the doc when I'll know what to search for =) > > > >That whole forms thing is hard to swallow...I wish someone could explain it > >to me. I've used forms for YEARS with ASP and PHP and I just cant understand > >why its [process] instead of [process-target] as the action...nor what is > >the difference between "submit", "return", "cancel" that you put in an > >mv_todo or mv_doit or mv_click? or whatever...etc. That's a really good question; it's a difficult part. For all the years we've used minivend I don't understand much of it but here's how we treat it now as a rule: mv_click lets you select any one of the click actions... <FORM ACTION="[process-target _self ]" METHOD=POST> <INPUT NAME="mv_doit" TYPE=HIDDEN VALUE=refresh> <INPUT NAME="mv_order_profile" TYPE=HIDDEN VALUE="basket_profile"> <DIV ALIGN=CENTER><INPUT NAME="mv_click" TYPE=SUBMIT VALUE="Browse"> <INPUT NAME="mv_click" TYPE=SUBMIT VALUE=Recalculate> <INPUT NAME="mv_click" TYPE=SUBMIT VALUE="Cancel All"> <INPUT NAME="mv_click" TYPE=SUBMIT VALUE="Check Out"></DIV> [set Browse] mv_todo=return mv_nextpage=catalog [/set] [set Cancel All] mv_todo=return mv_nextpage=mv/cancel [/set] [set Check Out] mv_todo=submit [/set] [set Recalculate] mv_todo=return mv_nextpage=basket [/set] </FORM>[set basket_profile] [profile]basket[/profile] [/set] I don't even know if all the todo and doits are needed. :-) I just wanted to point out that this very small subset of the possibilities allows us to do everything. It used to bother me that I did not know the differences between all the various options. :-) cfm > > > >It looks like a completely different approach... > > > >If someone thinks he can write something on the subject PLEASE use me as a > >cobaye as I'm sure others will benefit a lot from this. > > > >Thank you. > > > >J.-P. > > Yes, J.-P., I hope as well that someone will be inspired to write > "Introduction to Forms the Interchange Way 101". > > Barring that, the following reading might be a great primer: > > http://developer2.akopia.com/cgi-bin/ic/dev/ictemplates_26.html > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_34.html > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_37.html > > http://developer2.akopia.com/cgi-bin/ic/dev/icdatabase_44.html > > Later, > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Tue May 8 22:23:00 2001 Subject: [ic] new item errors? when i try to go to options and click update i keep getting a internal error. Im using interchange 4.7.2. heres whats in my error log. Any ideas? 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:41:37 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_edit.html in ui_sequence_edit click 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:42:18 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store returned -1, errno 2, key "k000005" at /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:42:48 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store returned -1, errno 2, key "k000005" at /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > 24.4.252.68 ZjZ2gIvy:24.4.252.69 - [08/May/2001:18:52:26 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store returned -1, errno 2, key "k000005" at /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > From: interchange-users at lists.akopia.com (IC-Admin) Date: Tue May 8 22:52:01 2001 Subject: [ic] Forms validation On Tue, 8 May 2001 cfm@maine.com wrote: > On Tue, May 08, 2001 at 05:42:14PM -0700, Dan B wrote: > > At 03:16 PM 5/8/2001 -0400, you wrote: > > >I'm confused between order profiles and [error] for forms validation... > > > > > >Does anyone can send me code samples other than the demo? What if its not > > >for an order... > > > > > >Lets say a login or another form that will just gather info. What "tools" > > >would one use? > > >I'll search in the doc when I'll know what to search for =) > > > > > >That whole forms thing is hard to swallow...I wish someone could explain it > > >to me. I've used forms for YEARS with ASP and PHP and I just cant understand > > >why its [process] instead of [process-target] as the action...nor what is > > >the difference between "submit", "return", "cancel" that you put in an > > >mv_todo or mv_doit or mv_click? or whatever...etc. > > That's a really good question; it's a difficult part. For > all the years we've used minivend I don't understand much of > it but here's how we treat it now as a rule: > > mv_click lets you select any one of the click actions... > > <FORM ACTION="[process-target _self ]" METHOD=POST> > <INPUT NAME="mv_doit" TYPE=HIDDEN VALUE=refresh> > <INPUT NAME="mv_order_profile" TYPE=HIDDEN VALUE="basket_profile"> > > <DIV ALIGN=CENTER><INPUT NAME="mv_click" TYPE=SUBMIT VALUE="Browse"> > <INPUT NAME="mv_click" TYPE=SUBMIT VALUE=Recalculate> > <INPUT NAME="mv_click" TYPE=SUBMIT VALUE="Cancel All"> > <INPUT NAME="mv_click" TYPE=SUBMIT VALUE="Check Out"></DIV> > [set Browse] > mv_todo=return > mv_nextpage=catalog > [/set] > [set Cancel All] > mv_todo=return > mv_nextpage=mv/cancel > [/set] > [set Check Out] > mv_todo=submit > [/set] > [set Recalculate] > mv_todo=return > mv_nextpage=basket > [/set] > </FORM>[set basket_profile] > [profile]basket[/profile] > [/set] > > I don't even know if all the todo and doits are needed. :-) > > I just wanted to point out that this very small subset of the > possibilities allows us to do everything. It used to bother > me that I did not know the differences between all the various > options. :-) > > cfm > I mean, if both, you and Dan Browning, are commenting this way, I really wonder, why either the documenters or developers don't try to write something up, which makes it a little bit clearer. Contrary to you, I haven't even seriously tried, because in my case it just doesn't make sense to do so. But it always bothers me if old timers like you both, are making those comments. It makes me believe you have valid reasons to say so, and I think they should be taken into account. Let's hope, someone from the documentation team, thinks the same way or at least understands what you think is missing. BF > > > > > > > > >It looks like a completely different approach... > > > > > >If someone thinks he can write something on the subject PLEASE use me as a > > >cobaye as I'm sure others will benefit a lot from this. > > > > > >Thank you. > > > > > >J.-P. > > > > Yes, J.-P., I hope as well that someone will be inspired to write > > "Introduction to Forms the Interchange Way 101". > > > > Barring that, the following reading might be a great primer: > > > > http://developer2.akopia.com/cgi-bin/ic/dev/ictemplates_26.html > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_34.html > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_37.html > > > > http://developer2.akopia.com/cgi-bin/ic/dev/icdatabase_44.html > > > > Later, > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (Scott Moat) Date: Wed May 9 00:54:01 2001 Subject: [ic] installing mod-interchange Well I installed mod-interchange and did changes to the interchange.cfg, catalog.cfg, httpd.conf, and changed permissions on the socket file. Well I get a 500 internal error. Does anyone have any ideas? Scott From: interchange-users at lists.akopia.com (Russ Mann) Date: Wed May 9 01:23:00 2001 Subject: [ic] CC Info/ lost mail Dear List, Stupidity overcame me and I managed to lose my email from the month of April. Consequently, the solution sent to me by someone on the list for storing CC info in the userdb and transactions db was lost, and I can't find it on the list archive. So, if anyone has any info on the steps for saving (encrypted already) CC info in the userdb or transactions, please send them to me. Thanks, Russ From: interchange-users at lists.akopia.com (Kestutis Lasys) Date: Wed May 9 04:26:01 2001 Subject: problem for [ic] UPS shipping Xiaowen Wu wrote: > > I'm new to minivend, and I just setup my shopping cart, and now I want to > setup the shipping fee which is based on UPS's cvs tables. I know I can > put a "adder" to add a fixed amount to the shipping cost, but I would like > to multiple the shipping cost by a factor, I don't know how to do it ? > > I search the minivend mailing list, and found the similar questions > posted, but I cannot found the answer. > > > 2. I want to modify the shipping charges for my "construct" store such > > that: A. UPS Shipping charges are multiplied by a factor (like 1.15 > > for a 15% markup), as well as B. Add a base amount (like $3). > > > > I would be appreciated if anybody can give me some hints. Thanks in > advanced. > > Best > > Wen First Interchange calculate the shipping charges based on UPS (let say result in $total), then evaluate your valid mathematical expression from the adder and add a result to $total. i.e. $total += <your valid mathematical expression from the adder> In expression you can use @@TOTAL@@ or x. They will be substituted by $total before the evaluation of expression. In the described case you can try: @@TOTAL@@ * 0.15 + 3 or x * 0.15 + 3 I would use the last expr, but Mike wrote: > The "x" thing works, but is really, really deprecated. > It should come out of the docs. Kestutis Lasys From: interchange-users at lists.akopia.com (Kekes Stamatis) Date: Wed May 9 04:29:00 2001 Subject: [ic] Problem with Greek language in the admin interface. Hello from Athens - Greece. We had successfuly installed the akopia software in our web server with postgresql 7. But there is a problem with the admin interface. When I am adding new items with Greek Description it acceps that successfuly but when I am edditing that item in order to add some quantity it changes the Greek characters of the greek description with the "?" symbol. Why it is happening ?? Is there any solution for that ?? The internationalization is has been done and in the e-shop interface I have not any problem with the Greek characters. Best regards from Greece Stamatis Kekes Technical Director of Kosmoslink LTD. From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 9 08:24:00 2001 Subject: [ic] Forms validation On Tue, May 08, 2001 at 11:11:38PM -0400, IC-Admin wrote: > > > > I just wanted to point out that this very small subset of the > > possibilities allows us to do everything. It used to bother > > me that I did not know the differences between all the various > > options. :-) > > > > cfm > > > > I mean, if both, you and Dan Browning, are commenting this way, > I really wonder, why either the documenters or developers don't > try to write something up, which makes it a little bit clearer. > > Contrary to you, I haven't even seriously tried, because in > my case it just doesn't make sense to do so. But it always bothers me > if old timers like you both, are making those comments. It > makes me believe you have valid reasons to say so, and I think > they should be taken into account. > > Let's hope, someone from the documentation team, thinks the same > way or at least understands what you think is missing. > Vend -> minivend -> ic is now a huge animal. We developed an early taste for a few choice parts and they work just fine. The rest we leave. Don't read that to mean there is a problem with the documentation. It means that there is more than one way to do it. TIMTOWTDI. That was what I wanted to point out more than anything. cfm > BF > > > > > > > > > > > > > > >It looks like a completely different approach... > > > > > > > >If someone thinks he can write something on the subject PLEASE use me as a > > > >cobaye as I'm sure others will benefit a lot from this. > > > > > > > >Thank you. > > > > > > > >J.-P. > > > > > > Yes, J.-P., I hope as well that someone will be inspired to write > > > "Introduction to Forms the Interchange Way 101". > > > > > > Barring that, the following reading might be a great primer: > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/ictemplates_26.html > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_34.html > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_37.html > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/icdatabase_44.html > > > > > > Later, > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Jason Kohles) Date: Wed May 9 09:13:01 2001 Subject: [ic] new item errors? On Tue, May 08, 2001 at 10:33:43PM -0400, Gift Bound Gifts wrote: > when i try to go to options and click update i keep getting a internal > error. Im using interchange 4.7.2. heres whats in my error log. Any ideas? > If you have already tried restarting Interchange, let me know exactly what you were doing when the error occured, I ran into this same problem yesterday, but while I was trying to track it down it mysteriously started working correctly, I haven't been able to reproduce it since then, so I haven't been able to fix it. > 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:41:37 -0700] > foundation /cgi-giftbound/cart.cgi/admin/item_edit.html in > ui_sequence_edit click > 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:42:18 -0700] > foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: > gdbm store returned -1, errno 2, key "k000005" at > /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > > > 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:42:48 -0700] > foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: > gdbm store returned -1, errno 2, key "k000005" at > /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > > > 24.4.252.68 ZjZ2gIvy:24.4.252.69 - [08/May/2001:18:52:26 -0700] > foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: > gdbm store returned -1, errno 2, key "k000005" at > /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (predrag) Date: Wed May 9 11:03:01 2001 Subject: [ic] UPS shipping surcharges Did anyone implemented surcharges for UPS shipping within Canada? Any hints would be appreciated ! Pedja IO-TEK predrag.micevic@io-tek.com From: interchange-users at lists.akopia.com (Dave Jenkins) Date: Wed May 9 11:42:01 2001 Subject: [ic] case study questionnaire Red Hat Interchange Site Developer Training Course Calling for Developer's Case Studies: Questionnaire -------------------------- Red Hat will soon be launching the Interchange site developers course. Course descriptions and class dates will be posted on the Red Hat site soon. As part of the course, We would like to showcase sites developed on Interchange. We thought what better way to show students the vast possibilities of Interchange then by showcasing the work of talented developers in the Interchange community as well as sites built by Red Hat Professional Services Group. Rest assured that your work will receive recognition and credit as we discuss your project. In order to submit a site for consideration, please provide the following information: 1. Site Name 2. Site URL 3. Brief description of business (60 words or less) 4. Hardware and OS architectures (dedicated, virtual host, Linux platform) 5. Database platform 6. Site highlights: what functionality marks this site as a shining example of Interchange functionality? i.e. inventory control, customer personalization, order tracking, fulfillment reporting 7. What scripts have you modified/customized to reach your development goals for this site? 8. If you have written specific scripts for this site, may we show the code for those scripts? 9. Do you have any documentation (flowcharts, technical requirements) that you produced for this site? Would you allow us to share those with the class? NOTES: - Not every case study that is submitted will be used. We are looking for solid interchange implementations that will provide good fodder for discussion. - Please keep it short. We are not looking for incredible 5-page perl scripts (no matter how genius) yet. If you spend more than 15 minutes writing the case study, it may be too long . . . - PLEASE SEND THESE DIRECTLY TO djenkins@redhat.com SO WE DON'T CROWD THE LIST. Thanks! Dave -- ----------------------- Dave Jenkins Project Manager - Professional Services Group Red Hat, Inc. http://www.redhat.com djenkins@redhat.com TEL: 703-456-2944 ----------------------- From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 9 12:35:00 2001 Subject: [ic] mv_click I am trying to adjust the main Search function in the Templates. I'd like, if the user enters a number, to limit the mv_search_field to just the SKU field in that case. In Perl, it seems that is as simple as, if ( $CGI_array->{'mv_searchspec'}[1] =~ /^\d+$/ ) { $CGI_array->{'mv_search_field'}[1] = "sku"; } And it seems like I am supposed to use mv_click to make it happen. The problem is that the submit button is an image, and even when I name it mv_click, it does not seem to execute the code wrapped in... [set mv_click] [perl] Perl code mentioned above. [/perl] [/set] Am I correct in trying to set this up in the templates? I would imagine pages/results.html would be too late to try to change something like mv_search_field... Any help would be appreciated. Thanks, -jsn From: interchange-users at lists.akopia.com (Ron Phipps) Date: Wed May 9 12:50:00 2001 Subject: [ic] mv_click > The problem is that the submit button is an image, and even when I name > it mv_click, it does not seem to execute the code wrapped in... > [set mv_click] > [perl] > Perl code mentioned above. > [/perl] > [/set] > Try using a normal submit button first, once your code works then look at using the 'button' tag to use an image as a submit button. Good luck! -Ron From: interchange-users at lists.akopia.com (ben schlaver) Date: Wed May 9 12:57:01 2001 Subject: [IC] surepay integration part II This seems to be a question "how do i get my custom globalsub to read from the shopping cart each line item's description, price, color etc"! but in this case, integrating SurePay XML gateway and SDK into a global sub. well it took some time and a lot of work on the Order.pm but below is a globalsub for SurePay that will comminicate to the provided SDK and then surepay's servers. the problem: surepay requires line item variables to be passed from the cart... which works except item price, color, size... so from lines 226~240 there are logdebugs that we've used to see if the variables are making it, right now the price is hardcoded in at a $1 and it follow thru fine with the order from there... the logdebug's are commmented with "works" and "doesn't work"... so any help to this one last hump would be great! ben schlaver chris fulton chris@closetgenius.com # Connection routine for Surepay # Variable SUREPAY_HELP <<EOV 1. Modify interchange.cfg to use this file. #include globalsub/surepay 2. Modify catalog.cfg to set the server and your Surepay account info # Username and password Variable MV_PAYMENT_ID Your Surepay ID Variable MV_PAYMENT_SECRET Your Surepay Password # Use xml.surepay.com for testing Variable MV_PAYMENT_SERVER xml.surepay.com Variable MV_PAYMENT_PORT 443 Variable MV_PAYMENT_PATH / 3. Set the payment mode in catalog.cfg: Variable MV_PAYMENT_MODE custom surepay 4. You must have the following modules installed LWP::UserAgent HTTP::Request HTTP::Request::Common Crypt::SSLeay 5. Modify the Order.pm (/usr/local/interchange/lib/Vend/Order.pm) to add the 'email' and 'phone_day' mappings. 6. Restart Interchange. EOV GlobalSub <<EOS sub surepay { use PurePaymentsSDK; my $gtype = 'https'; # (http|https|test) my $numitems = 10; # Max number of line items to allow my $securitytype = '07'; ###timeout defaults -- see alarm below #local($timeout) = 15; #local($SIG{ALRM}) = sub { die "$timeout sec timeout"; }; ###end config ##get environment stuff my ($user, $secret, $amount) = @_; my (%actual) = Vend::Order::map_actual(); if(! $user ) { $user = $::Variable->{MV_PAYMENT_ID} or return undef; } #::logDebug("surepay user $user"); if(! $secret) { $secret = $::Variable->{MV_PAYMENT_SECRET} or return undef; } #::logDebug("surepay secret $secret"); my $server = $::Variable->{MV_PAYMENT_SERVER} || 'xml.surepay.com'; my $port = $::Variable->{MV_PAYMENT_PORT} || 443; my $path = $::Variable->{MV_PAYMENT_PATH} || '/'; my $precision = $::Variable->{MV_PAYMENT_PRECISION} || 2; $actual{mv_credit_card_exp_month} =~ s/\D//g; $actual{mv_credit_card_exp_month} =~ s/^0+//; $actual{mv_credit_card_exp_year} =~ s/\D//g; $actual{mv_credit_card_exp_year} =~ s/\d\d(\d\d)/$1/; $actual{mv_credit_card_number} =~ s/\D//g; my $exp = sprintf '%02d%s%02d', $actual{mv_credit_card_exp_month}, "/", $actual{mv_credit_card_exp_year}; $actual{cyber_mode} = 'S' unless $actual{cyber_mode}; my %type_map = ( qw/ mauthcapture S mauthonly C mauthdelay D mauthreturn V S S C C D D V V / ); if (defined $type_map{$actual{cyber_mode}}) { $actual{cyber_mode} = $type_map{$actual{cyber_mode}}; } else { $actual{cyber_mode} = 'S'; } if(! $amount) { $amount = Vend::Interpolate::total_cost(); $amount = sprintf("%.${precision}f", $amount); } my($orderID); # my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time()); # We'll make an order ID based on date, time, and MiniVend session # $mon is the month index where Jan=0 and Dec=11, so we use # $mon+1 to get the more familiar Jan=1 and Dec=12 # $orderID = sprintf("%02d%02d%02d%02d%02d%05d%s", # $year + 1900,$mon + 1,$mday,$hour,$min,$Vend::SessionName); $orderID=Vend::Interpolate::tag_counter('etc/order.number'); ::logDebug("surepay orderID= $orderID"); # Join first and last name my($fullname); $fullname = sprintf($actual{b_fname} . " " . $actual{b_lname}); eval { my $reqManager = RequestManager::new($gtype,$server,$port,$path,'0',''); my $billAddress = Address::new('billing', 'fullname' => $fullname, 'email' => $actual{email}, 'eveningphone' => $actual{b_phone}, 'fax' => $actual{b_fax}, 'address1' => $actual{b_address1}, 'address2' => $actual{b_address2}, 'address3' => $actual{b_address3}, 'city' => $actual{b_city}, 'state' => $actual{b_state}, 'country' => $actual{b_country}, 'zip' => $actual{b_zip}); my $shipAddress = Address::new('shipping', 'fullname' => $fullname, 'email' => $actual{email}, 'eveningphone' => $actual{phone_day}, 'fax' => $actual{fax}, 'address1' => $actual{address1}, 'address2' => $actual{address2}, 'address3' => $actual{address3}, 'city' => $actual{city}, 'state' => $actual{state}, 'country' => $actual{country}, 'zip' => $actual{zip}); #::logDebug("surepay billAddress= $billAddress"); #::logDebug("surepay shipAddress= $shipAddress"); #::logDebug("surepay city= $actual{city}"); #::logDebug("surepay fullname= $fullname"); #::logDebug("surepay email= $actual{email}"); #::logDebug("surepay phone= $actual{phone_day}"); my ($pi,$id); $pi = CreditCard::new($actual{mv_credit_card_number},$exp,'','1',$billAddress); my $ptype = $pi->getPaymentType; my ($i,$lineitem,@lineitems); #::logDebug("surepay items $actual{items}"); #my $numlineitems = return scalar @{$Carts->{main}}; #my $numlineitems = return scalar @{$Vend::Session->{carts}{main}}; #::logDebug("surepay carthash= $Carts->{main}[1]{code}"); #::logDebug("surepay item0code= $Vend::Session->{carts}{main}[1]{code}"); #::logDebug("surepay item1code= $Vend::Session->{carts}{main}[0]{code}"); #::logDebug("surepay item0title= $Vend::Session->{carts}{main}[0]{title}"); #::logDebug("surepay item0price= $Vend::Session->{carts}{main}[0]{price}"); #::logDebug("surepay item0desc= $Vend::Session->{carts}{main}[0]{description}"); #::logDebug("surepay item0weight= $Vend::Session->{carts}{main}[0]{weight}"); #::logDebug("surepay item1qty= $Vend::Session->{carts}{main}[1]{quantity}"); #::logDebug("surepay item0qty= $Vend::Session->{carts}{main}[0]{quantity}"); #::logDebug("surepay numlineitems= $numlineitems"); #::logDebug("surepay mv_cartname= $actual{mv_cartname}"); my ($temdesc); foreach $i (0..(@{$Vend::Session->{carts}{main}}-1)) { ####these work ::logDebug("surepay itemicode= $Vend::Session->{carts}{main}[$i]{code}"); ::logDebug("surepay itemtotalcost= $amount"); ::logDebug("surepay item1mvib= $Vend::Session->{carts}{main}[$i]{mv_ib}"); ::logDebug("surepay itemiqty= $Vend::Session->{carts}{main}[$i]{quantity}"); ###these dont work #$temdesc=Vend::Tags::item_description('R02298-035', 'description'); #::logDebug("surepay temdesc1= $temdesc"); ::logDebug("surepay itemdesc1= $Vend::Tags->tag_data('products', 'description', 'R02298-035')"); ::logDebug("surepay itemidescr2= $Vend::Data::item_description->{('R02298-035', 'description')}"); ::logDebug("surepay itemidesc2= $Vend::Parse::do_tag('data', 'products', 'description', 'R02298-035')"); ::logDebug("surepay itemidescz= $Vend::Data->{products}{description}{'R02298-035'}"); ::logDebug("surepay itemidesczt= $Vend::Data->{products}{description}{$Vend::Session->{carts}{main}[$i]{code} }"); #::logDebug("surepay itemicode= $Vend::Tag->{data}{products}{description}{R02298-035}"); #::logDebug("surepay itemicode= $Vend::Data->{data('products', 'description', $Vend::Session->{carts}{main}[$i]{code})}"); ::logDebug("surepay itemidesc= $Vend::Session->{carts}{main}[$i]{product_description}"); ::logDebug("surepay itemisize= $Vend::Session->{carts}{main}[$i]{size}"); ::logDebug("surepay item1color= $Vend::Session->{carts}{main}[$i]{color}"); ::logDebug("surepay item1price= $Vend::Session->{carts}{main}[1]{item_field_price}"); ::logDebug("surepay item1price= $Vend::Session->{carts}{main}[1]{item_fi1}"); ::logDebug("surepay itemititle= $Vend::Session->{carts}{main}[$i]{title}"); # next unless $actual{sku.$i} && $actual{quantity.$i}; $lineitem = LineItem::new($Vend::Session->{carts}{main}[$i]{code},'description',$Vend::S ession->{carts}{main}[$i]{quantity},0,'1.00'); # $extAmt += $lineitem->getQuantity * $lineitem->getUnitPrice; push(@lineitems,$lineitem); } #::logDebug("surepay quantity1 $actual{quantity1}"); my $obj; $obj = Auth::new($orderID,$orderID,'','','','','','', '','', 'E-Commerce',$securitytype, $shipAddress,$pi); my $totalAmt = $amount; foreach $lineitem (@lineitems) { $obj->addLineItem($lineitem); } if ($amount && $amount != $totalAmt) { $obj->setTotal($amount); } my $total = $obj->getTotal; #my $numlineitems = return scalar @{$Carts->{main}}; my $req = Request::new('','','',$user,$secret,$obj); #alarm $timeout; my $res = $reqManager->submit($req); #alarm 0; my $ores = $res->getFirstResponse; my $pres = ref $ores; my $failure = $ores->getFailure; # true/false my $failureMsg = $ores->getFailureMsg; # message if failure=true my($status,$authCode,$avs,$cvv2result,$tid,$fee,$due,$exc,$pid); if ($pres eq 'AuthResponse') { $status = $ores->getAuthStatus; # status if failure=false $authCode = $ores->getAuthCode; # authorization code if transaction approved $avs = $ores->getAVS; # avs $cvv2result = $ores->getcvv2result; # CVV2 result $tid = $ores->getTransactionID; # transaction id $status ||= 'ERROR'; $status .= ": " . $failureMsg if $failure eq 'true'; } elsif ($pres eq 'ComputeFeeResponse') { $fee = $ores->getFeeAmount; $due = $ores->getDueAmount; $exp = $ores->getExpirationDate; $exc = $ores->getExchangeRate; $pid = ''; $tid = 'compute fee only'; $status = ($failure eq 'true')? $failureMsg : ''; } elsif ($pres eq 'InitiatePaymentResponse') { $fee = $ores->getFeeAmount; $due = $ores->getDueAmount; $exp = $ores->getExpirationDate; $exc = $ores->getExchangeRate; $pid = $ores->getPayID; $tid = $ores->getTransactionID; $status = ($failure eq 'true')? $failureMsg : ''; } ::logDebug("surepay failureMsg=$failureMsg"); ::logDebug("surepay pres=$pres"); }; ##end the eval statement ##pick up any errors returned by eval $@ =~ s/ at .*//; my $status = "ERROR: $@\n" if $@; ###end of it i think ::logDebug("surepay status=$status"); # Minivend names are on the left, Surepay on the right my %result_map = ( qw/ MStatus status pop.status status MErrMsg failureMSG pop.error-message failureMSG order-id tid pop.order-id tid pop.auth-code authCode / ); my %result; for (keys %result_map) { $result{$_} = $result{$result_map{$_}} if defined $result{$result_map{$_}}; } $Vend::Session->{cybercash_result} = $Vend::Session->{payment_result} = \%result; delete $Vend::Session->{cybercash_error}; delete $Vend::Session->{payment_error}; ::logDebug("surepay MStatus=$result{MStatus}"); ::logDebug("surepay responsemsg=$result{RESPMSG}"); ::logDebug("surepay authcode=$result{authCode}"); if ($result{'pop.auth-code'} eq "") { $result{'pop.status'} = $result{'MStatus'} = 'failed'; $Vend::Session->{cybercash_error} = $Vend::Session->{payment_error} = $result{RESPMSG}; my $msg = errmsg("Surepay error: %s %s. Please call in your order or try again.", $result{RESULT} , $result{RESPMSG}, ); $Vend::Session->{errors}{mv_credit_card_valid} = $msg; } else { $result{'pop.status'} = $result{'MStatus'} = 'success'; $Vend::Session->{payment_id} = $result{'pop.order-id'}; $Vend::Session->{cybercash_error} = $Vend::Session->{payment_error} = $result{RESPMSG}; } return %result; } EOS also here is the tail of the logdebug...: Start DEBUG at Tue May 8 23:57:38 2001 Vend::Order:debug: called _charge: ref=HASH(0x83fee6c) params=custom surepay message= Vend::Order:debug: cyber_charge, mode val= cgi= actual= Vend::Config:debug: surepay orderID= 000121 Vend::Config:debug: surepay mv_cartname= Vend::Config:debug: surepay itemicode= case001 Vend::Config:debug: surepay itemtotalcost= 128.58 Vend::Config:debug: surepay itemdesc1= ->tag_data('products', 'description', 'R02298-035') Vend::Config:debug: surepay itemidescr2= Vend::Config:debug: surepay itemidesc2= ('data', 'products', 'description', 'R02298-035') Vend::Config:debug: surepay itemidescz= Vend::Config:debug: surepay itemidesczt= Vend::Config:debug: surepay itemiqty= 1 Vend::Config:debug: surepay itemidesc= Vend::Config:debug: surepay itemisize= Vend::Config:debug: surepay item1color= Vend::Config:debug: surepay item1mvib= products Vend::Config:debug: surepay item1price= Vend::Config:debug: surepay item1price= Vend::Config:debug: surepay itemicode= B02298-032 Vend::Config:debug: surepay itemtotalcost= 128.58 Vend::Config:debug: surepay itemdesc1= ->tag_data('products', 'description', 'R02298-035') Vend::Config:debug: surepay itemidescr2= Vend::Config:debug: surepay itemidesc2= ('data', 'products', 'description', 'R02298-035') Vend::Config:debug: surepay itemidescz= Vend::Config:debug: surepay itemidesczt= Vend::Config:debug: surepay itemiqty= 2 Vend::Config:debug: surepay itemidesc= Vend::Config:debug: surepay itemisize= Vend::Config:debug: surepay item1color= Vend::Config:debug: surepay item1mvib= products Vend::Config:debug: surepay item1price= Vend::Config:debug: surepay item1price= Text:debug: surepay xml ordertext <pp.ordertext type="description"><![CDATA[000121]]></pp.ordertext> Vend::Config:debug: surepay failureMsg=Card declined Vend::Config:debug: surepay pres=AuthResponse Vend::Config:debug: surepay status= Vend::Config:debug: surepay MStatus= Vend::Config:debug: surepay responsemsg= Vend::Config:debug: surepay authcode= Vend::Order:debug: charge result: result= params=custom surepay message=Charge operation '' failed From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 9 13:16:00 2001 Subject: [ic] mv_click At 12:37 PM 05/09/2001 -0400, you wrote: >I am trying to adjust the main Search function in the Templates. > >I'd like, if the user enters a number, to limit the mv_search_field to >just the SKU field in that case. > >In Perl, it seems that is as simple as, > if ( $CGI_array->{'mv_searchspec'}[1] =~ /^\d+$/ ) { > $CGI_array->{'mv_search_field'}[1] = "sku"; > } > >And it seems like I am supposed to use mv_click to make it happen. > >The problem is that the submit button is an image, and even when I name >it mv_click, it does not seem to execute the code wrapped in... >[set mv_click] > [perl] > Perl code mentioned above. > [/perl] >[/set] > >Am I correct in trying to set this up in the templates? >I would imagine pages/results.html would be too late to try to change >something like mv_search_field... > Your right. It seems that the input type 'image' does not recognize a name or value attribute - though browsers will be tolerant if you give if one. You will have to resort to a 'click_map' or a javascript trick (see the 'Checkout' button on the construct demo basket page) for this. Take a look at the docs on Forms (Interchange Templates is the correct section, I think) for info on click maps. - Ed L. New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Bill Randle) Date: Wed May 9 13:22:00 2001 Subject: [ic] mv_click On May 9, 12:37pm, JoshNarins@aol.com wrote: } Subject: [ic] mv_click } } I am trying to adjust the main Search function in the Templates. } } I'd like, if the user enters a number, to limit the mv_search_field to just } the SKU field in that case. } } In Perl, it seems that is as simple as, } if ( $CGI_array->{'mv_searchspec'}[1] =~ /^\d+$/ ) { } $CGI_array->{'mv_search_field'}[1] = "sku"; } } } } And it seems like I am supposed to use mv_click to make it happen. } } The problem is that the submit button is an image, and even when I name } it mv_click, it does not seem to execute the code wrapped in... } [set mv_click] } [perl] } Perl code mentioned above. } [/perl] } [/set] } } Am I correct in trying to set this up in the templates? } I would imagine pages/results.html would be too late to try to change } something like mv_search_field... } } Any help would be appreciated. Try setting your mv_click value as a hidden field in the form. E.g.: <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> Then name your mv_click block: [set Check for Number] [perl] # your perl code [/perl] [/set] -Bill From: interchange-users at lists.akopia.com (IC-Admin) Date: Wed May 9 14:00:01 2001 Subject: [ic] Forms validation On Wed, 9 May 2001 cfm@maine.com wrote: > > Vend -> minivend -> ic is now a huge animal. We developed an early > taste for a few choice parts and they work just fine. The rest we > leave. > > Don't read that to mean there is a problem with the documentation. It > means that there is more than one way to do it. TIMTOWTDI. That > was what I wanted to point out more than anything. > > cfm > OK, got you. And I am relieved that you are clarifying this. I think huge efforts have been made to solve the problem of the "problem of blaming the documentation" for the "problem of not recognizing where the real problems hide." :-) Thanks. BF From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 9 15:47:01 2001 Subject: [ic] mv_click Ed LaFrance <edl@newmediaems.com> wrote... }Your right. It seems that the input type 'image' does not recognize a name }or value attribute - though browsers will be tolerant if you give if }one. You will have to resort to a 'click_map' or a javascript trick (see }the 'Checkout' button on the construct demo basket page) for this. Take a }look at the docs on Forms (Interchange Templates is the correct section, I }think) for info on click maps. Which is where I will be going, but I thought I'd mention that the following does not work. }Try setting your mv_click value as a hidden field in the form. E.g.: } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> } } Then name your mv_click block: } } [set Check for Number] } [perl] } # your perl code } [/perl] } [/set] And, for completeness, in case you joined us more lately, the original question... }} }} Subject: [ic] mv_click }} }} I am trying to adjust the main Search function in the Templates. }} }} I'd like, if the user enters a number, to limit the mv_search_field to just }} the SKU field in that case. }} }} In Perl, it seems that is as simple as, }} if ( $CGI_array->{'mv_searchspec'}[1] =~ /^\d+$/ ) { }} $CGI_array->{'mv_search_field'}[1] = "sku"; }} } }} }} And it seems like I am supposed to use mv_click to make it happen. }} }} The problem is that the submit button is an image, and even when I name }} it mv_click, it does not seem to execute the code wrapped in... }} [set mv_click] }} [perl] }} Perl code mentioned above. }} [/perl] }} [/set] }} }} Am I correct in trying to set this up in the templates? }} I would imagine pages/results.html would be too late to try to change }} something like mv_search_field... }} }} Any help would be appreciated. From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 9 15:59:00 2001 Subject: [ic] new item errors? I created a new item then clicked on options at the menu i checked simple options then clicked update I get a 500 internal error. I restarted interchange could it be a permission problem? Whats the permissions supposed to be in ui? Jason Kohles wrote: > On Tue, May 08, 2001 at 10:33:43PM -0400, Gift Bound Gifts wrote: > >> when i try to go to options and click update i keep getting a internal >> error. Im using interchange 4.7.2. heres whats in my error log. Any ideas? >> > If you have already tried restarting Interchange, let me know exactly what you > were doing when the error occured, I ran into this same problem yesterday, but > while I was trying to track it down it mysteriously started working correctly, > I haven't been able to reproduce it since then, so I haven't been able to fix > it. > >> 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:41:37 -0700] >> foundation /cgi-giftbound/cart.cgi/admin/item_edit.html in >> ui_sequence_edit click >> 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:42:18 -0700] >> foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: >> gdbm store returned -1, errno 2, key "k000005" at >> /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. >> > >> 65.15.104.28 9o3GEkpV:65.15.104.28 - [08/May/2001:17:42:48 -0700] >> foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: >> gdbm store returned -1, errno 2, key "k000005" at >> /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. >> > >> 24.4.252.68 ZjZ2gIvy:24.4.252.69 - [08/May/2001:18:52:26 -0700] >> foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: >> gdbm store returned -1, errno 2, key "k000005" at >> /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. >> > >> >> _______________________________________________ >> Interchange-users mailing list >> Interchange-users@lists.akopia.com >> http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 9 16:16:00 2001 Subject: [ic] mysql help? my hosting company tells me i need to put this line in to connect to mysql mysql -h hostsite -u username -p password. Question is in makecat where do i put this at? From: interchange-users at lists.akopia.com (Bill Randle) Date: Wed May 9 17:54:00 2001 Subject: [ic] mv_click On May 9, 3:46pm, JoshNarins@aol.com wrote: } Subject: Re: [ic] mv_click } } Ed LaFrance <edl@newmediaems.com> wrote... } } }Your right. It seems that the input type 'image' does not recognize a name } }or value attribute - though browsers will be tolerant if you give if } }one. You will have to resort to a 'click_map' or a javascript trick (see } }the 'Checkout' button on the construct demo basket page) for this. Take a } }look at the docs on Forms (Interchange Templates is the correct section, I } }think) for info on click maps. } } Which is where I will be going, but I thought I'd mention that the } following does not work. } } }Try setting your mv_click value as a hidden field in the form. E.g.: } } } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> } } } } Then name your mv_click block: } } } } [set Check for Number] } } [perl] } } # your perl code } } [/perl] } } [/set] I just ran a test on this and it really does work - at least with Minivend 4.04. I took an existing, known working form and modified it slightly to use an image instead of a text submit button. I used feedback.html from the mv4 "simple" demo and made the following simple changes: 37c37 < [if !value feedback_message] --- > [if !cgi feedback_message] 40c40 < [elsif !value feedback_subject] --- > [elsif !cgi feedback_subject] 65c65 < <INPUT TYPE=hidden NAME=mv_check VALUE=check_form> --- > <INPUT TYPE=hidden NAME=mv_click VALUE=check_form> 73c73 < : <INPUT TYPE=submit VALUE=Send> --- > : <INPUT TYPE=image SRC="new.png"> which effectively changes a mv_check into a mv_click (just so we're talking apples and apples) and replaces the submit button with a handy image. I then loaded the feedback.html page, entered some text, leaving the email and message fields blank, and clicked on the "new" image. Minivend properly displayed the form page with text (in red) at the top of the page telling me to enter a message. To me, this means it worked. Now I haven't looked at the latest Interchange demos, but I'll refer you to the results.html page in the IC 4.6.3 "construct" demo. That page uses a hidden input type to set the mv_click value to pre-process the form results. This page uses a standard submit button, rather than an image, but unless something changed between mv4 and IC4.6 in the way forms are processed, it should work equally well using an image. Note that I'm not commenting on whether your Perl script is correct or not - only on being able to invoke a mv_click method using a image as a submit button. As another person said earlier, make sure your basic processing is working correctly first, then change the text submit button to an image. Everything should continue to work just fine. } And, for completeness, in case you joined us more lately, the original } question... } }} } }} Subject: [ic] mv_click } }} } }} I am trying to adjust the main Search function in the Templates. } }} } }} I'd like, if the user enters a number, to limit the mv_search_field to just } }} the SKU field in that case. } }} } }} In Perl, it seems that is as simple as, } }} if ( $CGI_array->{'mv_searchspec'}[1] =~ /^\d+$/ ) { } }} $CGI_array->{'mv_search_field'}[1] = "sku"; } }} } } }} } }} And it seems like I am supposed to use mv_click to make it happen. } }} } }} The problem is that the submit button is an image, and even when I name } }} it mv_click, it does not seem to execute the code wrapped in... } }} [set mv_click] } }} [perl] } }} Perl code mentioned above. } }} [/perl] } }} [/set] } }} } }} Am I correct in trying to set this up in the templates? } }} I would imagine pages/results.html would be too late to try to change } }} something like mv_search_field... -Bill P.S. Don't name your image "mv_click", either. From: interchange-users at lists.akopia.com (Víctor Romero) Date: Wed May 9 18:07:01 2001 Subject: [ic] Debian problems Im just instaled Interchange in debian sid, and followed the instructions of /usr/share/doc/interchange but I get this when try to login into the shop : No responseWe're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. The error.log reports this : [10/mayo/2001:00:05:24 +2600] - - STOP server (4894) on signal TERM - - - [10/mayo/2001:00:05:26 +2600] - - Low traffic settings. - - - [10/mayo/2001:00:05:26 +2600] - - Calling UI.... - - - [10/mayo/2001:00:05:26 +2600] - - ...UI is loaded.... - - - [10/mayo/2001:00:05:26 +2600] - - Interchange V4.6.5 - - - [10/mayo/2001:00:05:26 +2600] - - Config 'construct' at server startup - - - [10/mayo/2001:00:05:26 +2600] - - Using default DBM database. - - - [10/mayo/2001:00:05:26 +2600] - - START server (5175) (INET and UNIX) - - - [10/mayo/2001:00:05:27 +2600] - - Accepting connections from localhost|127\.0\.0\.1 - - - [10/mayo/2001:00:05:27 +2600] - - START server (5181) (INET and UNIX) So, dont know wheres the problem ;'( Greetings From: interchange-users at lists.akopia.com (Dan B) Date: Wed May 9 18:36:01 2001 Subject: [ic] mysql help? At 04:26 PM 5/9/2001 -0400, you wrote: >my hosting company tells me i need to put this line in to connect to mysql > >mysql -h hostsite -u username -p password. Question is in makecat where do >i put this at? The above could be used at the command prompt to access the MySQL database with their console front end. What you really need is to discover the correct DBI connection string, and put it in catalog.cfg (which has a simple format and should be easy to find where it goes with a little browsing). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 9 18:43:01 2001 Subject: [ic] mv_click On Wed, May 09, 2001 at 02:56:35PM -0700, Bill Randle wrote: > On May 9, 3:46pm, JoshNarins@aol.com wrote: > } Subject: Re: [ic] mv_click > } > } Ed LaFrance <edl@newmediaems.com> wrote... > } > } }Your right. It seems that the input type 'image' does not recognize a name > } }or value attribute - though browsers will be tolerant if you give if > } }one. You will have to resort to a 'click_map' or a javascript trick (see > } }the 'Checkout' button on the construct demo basket page) for this. Take a > } }look at the docs on Forms (Interchange Templates is the correct section, I > } }think) for info on click maps. > } > } Which is where I will be going, but I thought I'd mention that the > } following does not work. > } > } }Try setting your mv_click value as a hidden field in the form. E.g.: > } } > } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> > } } > } } Then name your mv_click block: > } } > } } [set Check for Number] > } } [perl] > } } # your perl code > } } [/perl] > } } [/set] > > I just ran a test on this and it really does work - at least with > Minivend 4.04. I took an existing, known working form and modified > it slightly to use an image instead of a text submit button. Seems to me that what you are doing with the hidden variable is **always** setting mv_click and that in turn runs the perl. Couldn't you just use a profile for this? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Jean-Pierre Parent) Date: Wed May 9 18:57:00 2001 Subject: [ic] Forms validation > On Tue, May 08, 2001 at 11:11:38PM -0400, IC-Admin wrote: > > > > > > I just wanted to point out that this very small subset of the > > > possibilities allows us to do everything. It used to bother > > > me that I did not know the differences between all the various > > > options. :-) > > > > > > cfm > > > > > > > I mean, if both, you and Dan Browning, are commenting this way, > > I really wonder, why either the documenters or developers don't > > try to write something up, which makes it a little bit clearer. > > > > Contrary to you, I haven't even seriously tried, because in > > my case it just doesn't make sense to do so. But it always bothers me > > if old timers like you both, are making those comments. It > > makes me believe you have valid reasons to say so, and I think > > they should be taken into account. > > > > Let's hope, someone from the documentation team, thinks the same > > way or at least understands what you think is missing. > > > > Vend -> minivend -> ic is now a huge animal. We developed an early > taste for a few choice parts and they work just fine. The rest we > leave. > > Don't read that to mean there is a problem with the documentation. It > means that there is more than one way to do it. TIMTOWTDI. That > was what I wanted to point out more than anything. > > cfm >> BF How do you avoid using forms? =) While still using a database and input from clients of course *grin*. My point is I need to know how it works. I know I'll do it with months of playing and the actual documentation but time is an issue for most of us. If you got the knowledge please pass it on...For my part i'll gladly take over for others if you dont feel like doing it on large scale... J.-P. (aka Izo on #interchange@irc.vensnews.com) > > > > > > > > > >It looks like a completely different approach... > > > > > > > > > >If someone thinks he can write something on the subject PLEASE use me as a > > > > >cobaye as I'm sure others will benefit a lot from this. > > > > > > > > > >Thank you. > > > > > > > > > >J.-P. > > > > > > > > Yes, J.-P., I hope as well that someone will be inspired to write > > > > "Introduction to Forms the Interchange Way 101". > > > > > > > > Barring that, the following reading might be a great primer: > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/ictemplates_26.html > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_34.html > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_37.html > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/icdatabase_44.html > > > > > > > > Later, > > > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > > > From: interchange-users at lists.akopia.com (Bill Randle) Date: Wed May 9 19:58:00 2001 Subject: [ic] mv_click On May 9, 6:46pm, cfm@maine.com wrote: } Subject: Re: [ic] mv_click } On Wed, May 09, 2001 at 02:56:35PM -0700, Bill Randle wrote: } > On May 9, 3:46pm, JoshNarins@aol.com wrote: } > } Subject: Re: [ic] mv_click [snip] } > } Which is where I will be going, but I thought I'd mention that the } > } following does not work. } > } } > } }Try setting your mv_click value as a hidden field in the form. E.g.: } > } } } > } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> } > } } } > } } Then name your mv_click block: } > } } } > } } [set Check for Number] } > } } [perl] } > } } # your perl code } > } } [/perl] } > } } [/set] } > } > I just ran a test on this and it really does work - at least with } > Minivend 4.04. I took an existing, known working form and modified } > it slightly to use an image instead of a text submit button. } } Seems to me that what you are doing with the hidden variable is **always** } setting mv_click and that in turn runs the perl. Couldn't you just } use a profile for this? Yes, it will always run the mv_click block when the form is submitted. I guess it depends on the design of the form and the alternative actions a user can take, if any. I don't really know anything about the application Josh was writing about. It may be that using a search profile would work - especially in IC where, if I remember correctly what I read, the use of profiles has been extended somewhat over MV. -Bill From: interchange-users at lists.akopia.com (Australian NetLink) Date: Wed May 9 21:01:00 2001 Subject: [ic] Can a dropdown menu be put in Results.html Hi, list, I tried to put a dropdown menu in results.html page: Code one: [if-item-data products color] <font face="Arial" size="2"><b><font color=804000>COLOR:</b></font> [item-accessories color] [comment] I understand this code should work between [item-list] and [/item-list] [/comment] [else] [/else] [/if-item-data] Code two: [if data products::color::[item-code]] <SELECT name="mv_order_color" size="1"> [loop delimiter="," arg=[item-field color]] <OPTION value="[loop-code]">[loop-code]</OPTION> [/loop] </SELECT> [/if] However, none of them gives me a dropdown menu, but only a list. How can I get a dropdown menu in results.html page? Thanks, Kathy PS. cods is put between [search-list][/search-list]. ------------------------------------- A u s t r a l i a n N e t L i n k Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- From: interchange-users at lists.akopia.com (Australian NetLink) Date: Wed May 9 21:14:01 2001 Subject: [ic] Dropdown menu works Sorry for the last email. My mistake! Dropdown menu works with my code! Thanks anyway. Kathy ------------------------------------- A u s t r a l i a n N e t L i n k Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 9 21:23:00 2001 Subject: [ic] bug issue in interchange 4.7.2 when you create a new item and try to add a option and select a option and click the update button I get a 500 internal error. This is what my error.log says: 24.4.252.86 fsv76kNP:24.4.252.86 - [09/May/2001:17:13:10 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store returned -1, errno 2, key "k000005" at /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > From: interchange-users at lists.akopia.com (Ken Payne) Date: Wed May 9 23:53:01 2001 Subject: [ic] Help! Checked the FAQ and search archives but still clueless! The problem I'm having is apparently a common one since it appears several times in the archives. I've tried what I found in the FAQ and archives and still no go.... Non-secure domain: http://www.motorhaven.com/cgi-bin/construct Secure domain: https://secure.motorhaven.com/cgi-bin/construct Everything works fine until check out. When checking out, the cart contents are lost. I've tried putting the following in interchange.cfg: DomainTail No IpHead Yes and also: SessionExpire 10 minutes WideOpen Yes Well, it *does* do something, but not what is desired! I get the following: Internal Server Error Any help that anyone can offer would be greatly appreciated, I've been at this for 10 hours and I've run out of solutions to try. -Ken Payne From: interchange-users at lists.akopia.com (Jason Ballou) Date: Thu May 10 02:44:00 2001 Subject: [ic] Help! Checked the FAQ and search archives but still clueless! You should find that if you have your secure checkout set to https://www.motorhaven.com/cgi-bin/construct, that it will work fine. I have no idea why (as I'm pretty damn new to all of this) but I have tried it with several servers and found this problem on all of them. It seems that the www.domainname.com/blah/blah must be the same with the http:// as with the https:// or some browser versions will drop the cart contents, especially the newer versions of IE. I even tried the sessionexpire and wideopen stuff too. I had to switch hosts several times to find one that had their secure server setup in a way that would allow the cart contents to be passed and I found that many hosts didn't even realize that the problem existed until I bitched and complained many, many times. But hey, if anyone knows a way around it, I would love to hear about it. Jason --- Ken Payne <kpayne@ford-trucks.com> wrote: > The problem I'm having is apparently a common one > since it appears > several times in the archives. I've tried what I > found in the FAQ > and archives and still no go.... > > Non-secure domain: > http://www.motorhaven.com/cgi-bin/construct > > Secure domain: > https://secure.motorhaven.com/cgi-bin/construct > > Everything works fine until check out. When > checking out, the > cart contents are lost. > > I've tried putting the following in interchange.cfg: > DomainTail No > IpHead Yes > > and also: > > SessionExpire 10 minutes > WideOpen Yes > > Well, it *does* do something, but not what is > desired! I get the > following: > > Internal Server Error > > Any help that anyone can offer would be greatly > appreciated, I've > been at this for 10 hours and I've run out of > solutions to try. > > -Ken Payne > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Dennis Schoen) Date: Thu May 10 03:26:00 2001 Subject: [ic] Debian problems On Thu, 10 May 2001 00:09:41 +0200, Víctor Romero <romero@kde.org> wrote: > > Im just instaled Interchange in debian sid, and followed the instructions of /usr/share/doc/interchange > but I get this when try to login into the shop : Have you installed the tar.gz package or the debian package? > No responseWe're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. Thats a FAQ -> go to developer.akopia.com and search for it. > So, dont know wheres the problem ;'( Hint: look at the permission of the cgi binary... Dennis -- "Contrary to popular belief, UNIX is a user-friendly Operating System. It's just choosy about who its friends are." From: interchange-users at lists.akopia.com (Dennis Schoen) Date: Thu May 10 03:29:00 2001 Subject: [ic] mysql help? On Wed, 09 May 2001 16:26:30 -0400, Gift Bound Gifts <giftbound1@home.com> wrote: > my hosting company tells me i need to put this line in to connect to mysql > > mysql -h hostsite -u username -p password. Question is in makecat where > do i put this at? > In catalog.cfg try: Variable SQLDSN»»···»···dbi:mysql:hostsite Variable SQLPASS»···»···password Variable SQLUSER»···»···username Dennis -- "Contrary to popular belief, UNIX is a user-friendly Operating System. It's just choosy about who its friends are." From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 10 03:49:00 2001 Subject: [ic] Debian problems Víctor Romero <romero@kde.org> writes: > Im just instaled Interchange in debian sid, and followed the instructions of /usr/share/doc/interchange > > but I get this when try to login into the shop : > > No responseWe're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. > > The error.log reports this : > > [10/mayo/2001:00:05:24 +2600] - - STOP server (4894) on signal TERM > - - - [10/mayo/2001:00:05:26 +2600] - - Low traffic settings. > - - - [10/mayo/2001:00:05:26 +2600] - - Calling UI.... > - - - [10/mayo/2001:00:05:26 +2600] - - ...UI is loaded.... > - - - [10/mayo/2001:00:05:26 +2600] - - Interchange V4.6.5 > - - - [10/mayo/2001:00:05:26 +2600] - - Config 'construct' at server startup > - - - [10/mayo/2001:00:05:26 +2600] - - Using default DBM database. > - - - [10/mayo/2001:00:05:26 +2600] - - START server (5175) (INET and UNIX) > - - - [10/mayo/2001:00:05:27 +2600] - - Accepting connections from localhost|127\.0\.0\.1 > - - - [10/mayo/2001:00:05:27 +2600] - - START server (5181) (INET and UNIX) The permissions of the CGI link program are probably wrong (see the FAQ for that). Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 10 07:04:00 2001 Subject: [ic] Interchange in Austria Hello, IC developers and users ! During the Linuxdays in St.Pölten I'll perform a track about Interchange, perhaps followed by a little workshop. If you have any suggestions for the themes covered by the track, please write me. The track will be based on my MiniVend track hold at the Linux-Tage in Stuttgart. You find the presentation (subject to updates and improvements) at http://www.linuxia.de/icpres/index.html Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Ken Payne) Date: Thu May 10 09:18:01 2001 Subject: [ic] Help! Checked the FAQ and search archives but still At 02:47 AM 5/10/2001, you wrote: >You should find that if you have your secure checkout >set to https://www.motorhaven.com/cgi-bin/construct, >that it will work fine. I can't. Server certs, unless registered as wild-cards (more expensive), point to a specific sub-domain. On our system, its secure.motorhaven.com. >I have no idea why (as I'm >pretty damn new to all of this) but I have tried it >with several servers and found this problem on all of >them. For some reason, the session id is not passed via a form variable. I'm not sure (yet) how Interchange keeps tracks of carts. >It seems that the www.domainname.com/blah/blah >must be the same with the http:// as with the https:// >or some browser versions will drop the cart contents, >especially the newer versions of IE. I even tried the >sessionexpire and wideopen stuff too. I had to switch >hosts several times to find one that had their secure >server setup in a way that would allow the cart >contents to be passed and I found that many hosts >didn't even realize that the problem existed until I >bitched and complained many, many times. But hey, if >anyone knows a way around it, I would love to hear >about it. The problem is with Interchange. There's no reason why it should not be able to pass the cart session id from one page to another, regardless of domains and whether cookies are turned on (it can be passed as a form variable). I've being doing this for years with "Web Store" from Extropia.com using a different sub- domain (now) and a completely different domain (before we got a dedicated machine). I finally DID get it working last night, using secure.motorhaven.com for the secure and insecure cart but it turned out it was a compile/install problem with SQL::Statement. Later, Ken From: interchange-users at lists.akopia.com (Christopher VanOosterhout) Date: Thu May 10 09:50:00 2001 Subject: [ic] Scarey -- Can Not Identify Error Greetings All, I just had a customer inquiry about not getting an order shipped. Sure enough I had no record of getting the order or processing it. The Interchange system did send him a confirmation so there was and order number and I was able to find the following entry in the error log file: 134.134.248.27 rcuwRkIH:134.134.248.27 - [19/April/2001:10:45:48 -0400] universal /cgi-bin/universal/process 0 AND The first line of the customer's order confirmation said: UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR Do you have any idea what may have happened to send a confirmation to the customer but nothing to me as the store administrator, when I usually get a copy of the orders? This of course is a major concern ... since I hate the ideas that customers are out there ordering products and not being serviced. Any assistance you can give me would be appreciated. Thanks, Christopher Van Oosterhout From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 10 10:19:00 2001 Subject: [ic] Scarey -- Can Not Identify Error On Thu, May 10, 2001 at 09:52:44AM -0400, Christopher VanOosterhout wrote: > > Greetings All, > > I just had a customer inquiry about not getting an order shipped. Sure > enough I had no record of getting the order or processing it. > > The Interchange system did send him a confirmation so there was and order > number and I was able to find the following entry in the error log file: > > 134.134.248.27 rcuwRkIH:134.134.248.27 - [19/April/2001:10:45:48 -0400] > universal /cgi-bin/universal/process 0 > > AND > > The first line of the customer's order confirmation > said: UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR > > > Do you have any idea what may have happened to send a confirmation to the > customer but nothing to me as the store administrator, when I usually get a > copy of the orders? I'd guess the garbage in the input created something that could not be processed at some point down the line. We filter everything to clean ASCII at various points. Since we typically print packing lists and invoices with TeX, now and then a printout will silently die on some special combination of characters. We add that combination to our filter. But a simple null char in a form can kill it too. Suppose you stack two addresses; mv will return them null delimited. Depending on what you try to do with that you can kill your process/output/whatever. > > This of course is a major concern ... since I hate the ideas that customers > are out there ordering products and not being serviced. We don't use the minivend order email, but trigger a process that looks in the database to send the confirmation so it **must** be in hand before a confirmation goes out. I'd expect the internal minivend order email would work same way for same reasons. Aren't you saying that **you** did not get notification? I'd bet you can find the order in etc/something. You just need some way of verifying that what goes into your order stream is what comes out. Like if you hand the shipping clerk 50 outgoing orders you would expect some sort of handshake confirming 50 (and the same 50) orders went out. Did I write that clearly? cfm > > Any assistance you can give me would be appreciated. > > Thanks, > > Christopher Van Oosterhout > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Darren Bayliss) Date: Thu May 10 10:21:00 2001 Subject: [ic] still can't install 4.7.1 on irix 6.5 Hello, I have downloaded 4.7.1 and ran the 'configure' script. This is part of the error message i received; Manifying blib/man1/interchange.1 PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib -I/usr/freewarel server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......The Interchange server is already running (process id 298) ok 4 link/inetmode.........ok 5 server/control........not ok 6 ok 6 6 tests run -- 1/6 failed. *** Error code 1 (bu21) 6# This is one better than before, which is a partial success. I then changed 'lockType' to specify 'fcnctl' but then the script wouldn't run at all (NOT SAFE was the error). Also it was suggested that i run a 'makecat' to see if i could get interchange running, this isn't possible, as the script requires interchange to be installed (?); (from makecat.PL) #$self = { # INSTALLPRIVLIB => '/usr/local/interchange/lib', # INSTALLARCHLIB => '/usr/local/interchange', whereas nothing is installed after i have ran the configure script. Some pointers would be great. If the problem is a scripting error, could people please be specific as it is not really my forte (couldn't get the accent to work, sorry). by the way, my system is running NFS. Regards, Darren Bayliss e-SP darrenb@spgroup.co.uk > ---------- > From: Mike Heins > Reply To: interchange-users@lists.akopia.com > Sent: Thursday, April 5, 2001 2:08 pm > To: interchange-users@lists.akopia.com > Subject: Re: [ic] Can't install 4.64 on irix 6.5 > > Quoting Darren Bayliss (darrenb@spgroup.co.uk): > > Hello, > > I am unabled to get beyond the 'configure' script as i get getting the > > following error; > > > > Manifying blib/man1/offline.1 > > Manifying blib/man1/update.1 > > Manifying blib/man3/icintro.8 > > /usr/freeware/bin/pod2man: Improper man page - no dash in NAME header in > > paragrd > > /usr/freeware/bin/pod2man: pod/icintro.pod is missing required section: > > DESCRIPN > > Manifying blib/man1/restart.1 > > Manifying blib/man1/expireall.1 > > Manifying blib/man3/ictemplates.8 > > /usr/freeware/bin/pod2man: Improper man page - no dash in NAME header in > > paragrd > > /usr/freeware/bin/pod2man: pod/ictemplates.pod is missing required > section: > > DESN > > All harmless. > > > Manifying blib/man1/interchange.1 > > PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib > > -I/usr/freewarel > > server/unixmode.......The previous Interchange server was not running > and > > probay > > terminated with an error. > > ok 1 > > server/startup........ok 2 > > link/unixmode.........ok 3 > > server/inetmode.......The Interchange server is already running (process > id > > 260) > > ok 4 > > link/inetmode.........not ok 5 > > server/control........not ok 6 > > 6 tests run -- 2/6 failed. > > *** Error code 1 (bu21) > > [snip] > > > I am trying to install on a silicon graphics origin200, running irix 6.5 > > with Netscape FastTrack server. Perl 5005_03 is installed(origin 42# > perl -v > > > > This is perl, version 5.005_03 built for irix-n32). > > > > Can anyone please help ?? > > Are you sure your Perl passes "make test" 100%? This looks like a Perl > with > locking and possibly socket problems. If you are on an NFS file system, > you will need to get 4.7.x and set "LockType fcntl" in interchange.cfg. > > Also, it looks like it may work in UNIX mode despite the failed tests. Try > a "make install" and see if you can make a catalog and get it going. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > For a successful technology, reality must take precedence over public > relations, for Nature cannot be fooled. -- Dick Feynman > > _______________________________________________ > 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 Darren Bayliss e-SP Direct Line&Voice Mail: +44 (0)1527 50 8305 fax: 01527 508001 darrenb@spgroup.co.uk From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Thu May 10 10:22:00 2001 Subject: [ic] "Bad key specification" @ IC startup --=-=-= I've got a problem when making some changes to the products table. My client wants to use the column name 'part' instead of 'sku' (along with some other column changes). Previously he was using gdbm files. For various reasons I am switching him over to mysql. On my local dev box I was able to do this without any problems. I'm running IC 4.6.5 and MySQL 3.23.36. As far as I know, he's running MySQL 3.22.27 and IC 4.6.0. My products.mysql file looks mostly like this: Database products KEY part Database products COLUMN_DEF "part=char(30) NOT NULL PRIMARY KEY" Database products COLUMN_DEF "category=VARCHAR(64) NOT NULL, index(category)" Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" ... Attached is the error message that IC gives when starting up. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <larry@pageprovider.com> Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by velma.lathi.net (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id HAA03234 for <doug@lathi.net>; Thu, 10 May 2001 07:56:06 -0400 Received: from [63.205.136.162] by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GD4001GLBWTYK@mta6.snfc21.pbi.net> for doug@lathi.net; Thu, 10 May 2001 04:58:05 -0700 (PDT) Date: Thu, 10 May 2001 04:58:55 -0700 From: Larry Roma <larry@pageprovider.com> Subject: IC Config error To: Doug Alcorn <doug@lathi.net> Message-id: <B71FD08F.1E68%larry@pageprovider.com> User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Doug, I restarted IC this morning and here's the error I received: Configuring catalog wcc...Using MySQL, DSN=dbi:mysql:digitel. wcc config error: Bad key specification: part[ 'sku', 'description', 'title', 'template_page', 'comment', 'display', 'image', 'price', 'wholesale', 'category', 'nontaxable', 'weight', 'size', 'color', 'gift_cert', 'related', 'featured', 'download', 'dl_type', 'dl_location', 'inactive' ] { 'related' => 15, 'title' => 2, 'image' => 6, 'wholesale' => 8, 'description' => 1, 'dl_location' => 19, 'weight' => 11, 'nontaxable' => 10, 'featured' => 16, 'dl_type' => 18, 'inactive' => 20, 'sku' => '0', 'comment' => 4, 'price' => 7, 'display' => 5, 'gift_cert' => 14, 'download' => 17, 'template_page' => 3, 'size' => 12, 'category' => 9, 'color' => 13 } wcc: error in configuration. Skipping. wcc: config error. Skipping. -- Larry What do you call a drug ring in Dallas? -- a huddle -- --=-=-= -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. --=-=-=-- From: interchange-users at lists.akopia.com (Christopher VanOosterhout) Date: Thu May 10 10:47:01 2001 Subject: [ic] Scarey -- (More Info) Can Not Identify Error Thanks so much for your input on this ... I do have a couple of follow ups that may help me ... if you could. > > The first line of the customer's order confirmation > > said: UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR What I mean is that the confirmation email the customer received had the line (shown above). > > Do you have any idea what may have happened to send a confirmation to the > > customer but nothing to me as the store administrator, when I usually > get a > > copy of the orders? > >I'd guess the garbage in the input created something that could not >be processed at some point down the line. You mean before Interchange sent me a confirmation? It seems like if a user can enter anything "illegal" that would cause a users order to not be processed or not sent on to the store administrator, that it should be caught and filtered or refused back to the customer asking for clarification. >We filter everything to clean ASCII at various points. Since we typically >print packing lists and invoices with TeX, now and then a printout will >silently die on some special combination of characters. We add that >combination >to our filter. But a simple null char in a form can kill it too. Suppose you >stack two addresses; mv will return them null delimited. Depending on what >you try to do with that you can kill your process/output/whatever. Could you give me more information on this? Is the filtering of clean ASCII happening before email order notices would be sent to the administrator (if you were using that option)? I probably did not make it clear ... I never received an order confirmation on this order via email and is "sounds" like what you are talking about may happen sometime after that. > > This of course is a major concern ... since I hate the ideas that > customers > > are out there ordering products and not being serviced. > >We don't use the minivend order email, Is there a reason you do not use it? Do you feel it is some way unreliable or do you have another concern? Or just do not want to mess with PGP? Why? From: interchange-users at lists.akopia.com (Chad Leigh, Shire.Net LLC) Date: Thu May 10 11:03:00 2001 Subject: [ic] IC_TEST_CREATE table Hi --On Tuesday, May 08, 2001 9:43 AM -0400 Mike Heins <mikeh@minivend.com> wrote: > A workaround is to create a valid SQL creation statement and put it > in the parameter CREATE_SQL: > > Database country CREATE_SQL <<EOF > CREATE TABLE country ( > code char(3) NOT NULL default '', <snip> > KEY country_code (code) > ) > EOF I have been working to try and get FrontBase (www.frontbase.com) to work with interchange (4.6.5). FrontBase is a strict SQL92 database and I am running into problems with less strict syntax. FrontBase support tells me to follow the SQL92 standard and I am OK. As an example, the IC_TEST_CREATE table was not being dropped when configuring the database because the "drop table ic_test_creste" statement is not SQL92 compliant, according to the FrontBase support team. It needs to be "drop table ic_test_create cascade" or "drop table ic_test_create restrict". Is there a way with interchange to specify, similar to the abpve CREATE_SQL parameter, a DROP_SQL type parameter to specify howto drop the IC_TEST_CREATE table? Additionally, inserting sample values. TIMESTAMP or DATE values, according to QL92 standard as outlined by FrontBase support, needs to be: "INSERT INTO FOO(COL) VALUES (DATE '2001-05-02')" or whatever and not "INSERT INTO FOO(COL) VALUES ('2001-05-02')" (no DATE specifier) Is there a way to give hints to the interchange config scripts on how to construct the SQL insert statements with the sample data? They reference the latest CJ Date SQL book as containing the SQL92 standard. I don't have tatbook available so I have to take their word for it. Is there a document somewhere that outlines all the various parameters and configuration possibilities for an SQL database? Thanks in advance. best regards Chad From: interchange-users at lists.akopia.com (Loy Ellen Gross) Date: Thu May 10 11:33:00 2001 Subject: [ic] Help with [modifier-name ...] pls Hi, all: I have a form that looks like this: <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh"> <INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="profile3"> ... <INPUT TYPE="checkbox" NAME="mv_order_item" VALUE="3007"> ... <INPUT TYPE="checkbox" NAME="mv_order_item" VALUE="3250"> ... (etc ... there are up to nine items on a page) <INPUT TYPE=submit VALUE="Continue to Next Page &gt;&gt;"> </FORM> Which orders an item and sends the user on to the next page in the profile (this is successful). What I am trying to add is: <INPUT TYPE="text" NAME="[modifier-name pagetitle]"> so that I can have the user set the modifiers as s/he goes along. There is one for each item. This does not work ... does not show up on the basket page and is not even in the session when I go through the /etc/session file. In fact, the source file shows the tag which tells me it isn't even being parsed even though I copied it exactly from the documentation. (Before you ask, the modifier is set up in catalog.cfg and works correctly when saved on the basket page as [item-modifier pagetitle].) What am I doing wrong and is there a solution to this? What I need to do is tag each item ordered with a text identifier that the user types in BEFORE they get to the basket. We are currently using mv4.04a, plan to upgrade to ic4.6 shortly. Thanks!!! -- Loy -- Loy Ellen Gross - 716-614-8000 x358 - fax 716-614-8010 - <lgross@thebiz.net> New Media West - BiznessOnline.com - 2810 Sweet Home Rd - Amherst NY 14226 From: interchange-users at lists.akopia.com (Renato Enea) Date: Thu May 10 11:48:00 2001 Subject: [ic] Many to many price schema I have to create a price schema according to my database. This is the problem...for any product the customer can insert various prices according to item quantity for any users or for a specifical user. So i have a many to many relationship table with products and userdb tables with the following structure: COUNTER - SKU - USER ID - QUANTITY RANGE - PRICE So i can have for a single product (example: sku=1) many prices according to quantity and users.... 1 - 1 - 1 - 0,10 - 100 SKU=1 PRICE=100 QUANTITY RANGE = from 0 to 10 price specific for USERID = 1 2 - 1 - - 0,10 - 110 SKU=1 PRICE=110 QUANTITY RANGE = from 0 to 10 price for any users (except for userid =1) 3 - 1 - 1 - 10,20 - 90 SKU=1 PRICE=90 QUANTITY RANGE = from 10 to 20 price specific for USERID = 1 4 - 1 - - 10,20 - 100 SKU=1 PRICE=100 QUANTITY RANGE = from 10 to 20 price for any users (except for userid =1) and so on.... How can i solve this problem ?? Best Regards Renato Enea From: interchange-users at lists.akopia.com (Mark Lehman) Date: Thu May 10 11:49:12 2001 Subject: [ic] Oracle and Category Hello, I am using Interchange 4.6.5 on Solaris 2.6, with Oracle DB. My problem is with the Interchange admin, under items: I am having a problem with the Category field when I edit(or create) an item. The Category field is not available to "type" or "select" from. It just says "Enter in box for new category." -- without any boxes. This only happens when I use my Oracle database, it works fine when I use text files. Otherwise, the Oracle database works fine... Did anyone have this problem before??? Thankyou for any help... --Mark From: interchange-users at lists.akopia.com (ANBFarma Suporte) Date: Thu May 10 11:51:01 2001 Subject: [ic] Problems with 4.7 configure When I try to run ./configure the errors below apear and I can't continue? Does anybody can help me ? PS.: This is only a part o screen Manifying blib/man3/iccattut.8 /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 of pod/iccattut.pod /usr/bin/pod2man: pod/iccattut.pod is missing required section: DESCRIPTION Manifying blib/man3/icdatabase.8 /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 of pod/icdatabase.pod /usr/bin/pod2man: pod/icdatabase.pod is missing required section: DESCRIPTION Manifying blib/man3/icconfig.8 /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 of pod/icconfig.pod /usr/bin/pod2man: bad option in paragraph 1615 of pod/icconfig.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 1617 of pod/icconfig.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: pod/icconfig.pod is missing required section: DESCRIPTION Manifying blib/man3/icinstall.8 /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 of pod/icinstall.pod /usr/bin/pod2man: bad option in paragraph 96 of pod/icinstall.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 303 of pod/icinstall.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 303 of pod/icinstall.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: bad option in paragraph 307 of pod/icinstall.pod: ``-r'' should be [CB]<-r> /usr/bin/pod2man: pod/icinstall.pod is missing required section: DESCRIPTION Manifying blib/man3/icbackoffice.8 /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 of pod/icbackoffice.pod Thanks Alvaro L Del Valle ANB Farma - Brazil From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 10 11:53:01 2001 Subject: [ic] Help! Checked the FAQ and search archives but still At 09:13 AM 05/10/2001 -0400, you wrote: >At 02:47 AM 5/10/2001, you wrote: > >You should find that if you have your secure checkout > >set to https://www.motorhaven.com/cgi-bin/construct, > >that it will work fine. > >I can't. Server certs, unless registered as wild-cards (more >expensive), point to a specific sub-domain. On our system, >its secure.motorhaven.com. > > >I have no idea why (as I'm > >pretty damn new to all of this) but I have tried it > >with several servers and found this problem on all of > >them. > >For some reason, the session id is not passed via a form >variable. I'm not sure (yet) how Interchange keeps tracks >of carts. I have always used the http://www.domain.com & https://www.domain.com scenario. Having said that, ensure that all forms in your catalog contain this input: <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]"> ...it may help with your problem, and it is an absolute necessity if you want your catalog to work for users who have disabled cookie support in their browsers. - Ed L. > >It seems that the www.domainname.com/blah/blah > >must be the same with the http:// as with the https:// > >or some browser versions will drop the cart contents, > >especially the newer versions of IE. I even tried the > >sessionexpire and wideopen stuff too. I had to switch > >hosts several times to find one that had their secure > >server setup in a way that would allow the cart > >contents to be passed and I found that many hosts > >didn't even realize that the problem existed until I > >bitched and complained many, many times. But hey, if > >anyone knows a way around it, I would love to hear > >about it. > >The problem is with Interchange. There's no reason >why it should not be able to pass the cart session id from >one page to another, regardless of domains and whether >cookies are turned on (it can be passed as a form >variable). I've being doing this for years with >"Web Store" from Extropia.com using a different sub- >domain (now) and a completely different domain (before >we got a dedicated machine). I finally DID get it >working last night, using secure.motorhaven.com for >the secure and insecure cart but it turned out it >was a compile/install problem with SQL::Statement. > > >Later, >Ken > > > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Richard Eicher II) Date: Thu May 10 12:02:14 2001 Subject: [ic] Admin errors? Hello, I am get errors on admin/login that act like I do not have Bundle::Interchange installed. For example: SQL::Statement not found. IMPORTANT: UI Database editors will not work properly. Safe::Hole not found. IMPORTANT: SQL and some tags will not work in embedded Perl. After trying "perl -MCPAN -e 'install Bundle::Interchange'" with no success, I have downloaded and installed Bundle::Minivend and Bundle::Interchange. ( I think Bundle::Minivend is a super-set of Bundle::Interchange). But I am still getting the error. Any one run in to this? I am running redhat 7.1 and Interchange 4.6. Thank you for your time, Richard Eicher II __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Jon Jensen) Date: Thu May 10 12:04:00 2001 Subject: [ic] Problems with 4.7 configure On Thu, 10 May 2001, ANBFarma Suporte wrote: > When I try to run ./configure the errors below apear and I can't continue? > Does anybody can help me ? > PS.: This is only a part o screen Yes, and not the important part. :) Ignore those POD errors -- the important errors would be after that. Jon From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 10 12:05:09 2001 Subject: [ic] Help with [modifier-name ...] pls At 11:39 AM 05/10/2001 -0400, you wrote: >Hi, all: > >I have a form that looks like this: > ><FORM ACTION="[process-target]" METHOD=POST> ><INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh"> ><INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="profile3"> > ... ><INPUT TYPE="checkbox" NAME="mv_order_item" VALUE="3007"> > ... ><INPUT TYPE="checkbox" NAME="mv_order_item" VALUE="3250"> > ... (etc ... there are up to nine items on a page) > ><INPUT TYPE=submit VALUE="Continue to Next Page &gt;&gt;"> ></FORM> > >Which orders an item and sends the user on to the next page in the >profile (this is successful). What I am trying to add is: > ><INPUT TYPE="text" NAME="[modifier-name pagetitle]"> [modifier-name] only works within an [item-list][/item-list] construct - it is not apparent from your message that you are using it that way. It also may not be the modifier tag that you want - check here for more info: http://developer2.akopia.com/cgi-bin/ic/dev/ictags_44.html - Ed L. >so that I can have the user set the modifiers as s/he goes along. >There is one for each item. This does not work ... does not show >up on the basket page and is not even in the session when I go >through the /etc/session file. In fact, the source file shows the >tag which tells me it isn't even being parsed even though I copied >it exactly from the documentation. (Before you ask, the modifier >is set up in catalog.cfg and works correctly when saved on the >basket page as [item-modifier pagetitle].) > >What am I doing wrong and is there a solution to this? What I need >to do is tag each item ordered with a text identifier that the user >types in BEFORE they get to the basket. > >We are currently using mv4.04a, plan to upgrade to ic4.6 shortly. > >Thanks!!! > > -- Loy > >-- >Loy Ellen Gross - 716-614-8000 x358 - fax 716-614-8010 - <lgross@thebiz.net> >New Media West - BiznessOnline.com - 2810 Sweet Home Rd - Amherst NY 14226 > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 10 12:07:00 2001 Subject: [ic] "Bad key specification" @ IC startup At 10:21 AM 05/10/2001 -0400, you wrote: >I've got a problem when making some changes to the products table. My >client wants to use the column name 'part' instead of 'sku' (along >with some other column changes). Previously he was using gdbm files. >For various reasons I am switching him over to mysql. On my local dev >box I was able to do this without any problems. I'm running IC 4.6.5 >and MySQL 3.23.36. As far as I know, he's running MySQL 3.22.27 and >IC 4.6.0. > >My products.mysql file looks mostly like this: > >Database products KEY part >Database products COLUMN_DEF "part=char(30) NOT NULL PRIMARY KEY" >Database products COLUMN_DEF "category=VARCHAR(64) NOT NULL, >index(category)" >Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" >... > >Attached is the error message that IC gives when starting up. > >Return-Path: <larry@pageprovider.com> >Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) > by velma.lathi.net (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id > HAA03234 > for <doug@lathi.net>; Thu, 10 May 2001 07:56:06 -0400 >Received: from [63.205.136.162] by mta6.snfc21.pbi.net > (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) > with ESMTP id <0GD4001GLBWTYK@mta6.snfc21.pbi.net> for doug@lathi.net; Thu, > 10 May 2001 04:58:05 -0700 (PDT) >Date: Thu, 10 May 2001 04:58:55 -0700 >From: Larry Roma <larry@pageprovider.com> >Subject: IC Config error >To: Doug Alcorn <doug@lathi.net> >Message-id: <B71FD08F.1E68%larry@pageprovider.com> >User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 >MIME-Version: 1.0 >Content-Type: text/plain; charset=us-ascii > >Hi Doug, > >I restarted IC this morning and here's the error I received: >Configuring catalog wcc...Using MySQL, DSN=dbi:mysql:digitel. >wcc config error: Bad key specification: part[ > 'sku', > 'description', > 'title', > 'template_page', > 'comment', > 'display', > 'image', > 'price', > 'wholesale', > 'category', > 'nontaxable', > 'weight', > 'size', > 'color', > 'gift_cert', > 'related', > 'featured', > 'download', > 'dl_type', > 'dl_location', > 'inactive' >] >{ > 'related' => 15, > 'title' => 2, > 'image' => 6, > 'wholesale' => 8, > 'description' => 1, > 'dl_location' => 19, > 'weight' => 11, > 'nontaxable' => 10, > 'featured' => 16, > 'dl_type' => 18, > 'inactive' => 20, > 'sku' => '0', > 'comment' => 4, > 'price' => 7, > 'display' => 5, > 'gift_cert' => 14, > 'download' => 17, > 'template_page' => 3, > 'size' => 12, > 'category' => 9, > 'color' => 13 >} > >wcc: error in configuration. Skipping. >wcc: config error. Skipping. > Did you change the key column name in products.txt as well? - Ed L. New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Jason Feingold) Date: Thu May 10 12:42:00 2001 Subject: [ic] creating static pages Hi ALl - i would like to create static pages for every item we sell. I have changed the catalog.cfg file - static/staticall/staticfly to yes. I restarted the catalog, which is set on high volume. I cant find the item pages anywhere. Am i missing something?Thanks very much for your help.jason _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: interchange-users at lists.akopia.com (Jody Aadland) Date: Thu May 10 12:59:01 2001 Subject: [ic] RE: Interchange-users digest, Vol 1 #496 - 13 msgs Please remove me from this list. Thanks and good day. Jody Aadland -----Original Message----- From: interchange-users-request@lists.akopia.com [mailto:interchange-users-request@lists.akopia.com] Sent: Thursday, May 10, 2001 1:27 AM To: interchange-users@lists.akopia.com Subject: Interchange-users digest, Vol 1 #496 - 13 msgs Send Interchange-users mailing list submissions to interchange-users@lists.akopia.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.akopia.com/mailman/listinfo/interchange-users or, via email, send a message with subject or body 'help' to interchange-users-request@lists.akopia.com You can reach the person managing the list at interchange-users-admin@lists.akopia.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Interchange-users digest..." Today's Topics: 1. mysql help? (Gift Bound Gifts) 2. Re: mv_click (Bill Randle) 3. Debian problems (=?iso-8859-1?q?V=EDctor=20Romero?=) 4. Re: mysql help? (Dan B) 5. Re: mv_click (cfm@maine.com) 6. Re: Forms validation (Jean-Pierre Parent) 7. Re: mv_click (Bill Randle) 8. Can a dropdown menu be put in Results.html (Australian NetLink) 9. Dropdown menu works (Australian NetLink) 10. bug issue in interchange 4.7.2 (Gift Bound Gifts) 11. Help! Checked the FAQ and search archives but still clueless! (Ken Payne) 12. Re: Help! Checked the FAQ and search archives but still clueless! (Jason Ballou) 13. Re: Debian problems (Dennis Schoen) --__--__-- Message: 1 Date: Wed, 09 May 2001 16:26:30 -0400 From: Gift Bound Gifts <giftbound1@home.com> To: interchange-users@lists.akopia.com Subject: [ic] mysql help? Reply-To: interchange-users@lists.akopia.com my hosting company tells me i need to put this line in to connect to mysql mysql -h hostsite -u username -p password. Question is in makecat where do i put this at? --__--__-- Message: 2 From: "Bill Randle" <billr@exgate.tek.com> Date: Wed, 9 May 2001 14:56:35 -0700 To: interchange-users@lists.akopia.com Subject: Re: [ic] mv_click Reply-To: interchange-users@lists.akopia.com On May 9, 3:46pm, JoshNarins@aol.com wrote: } Subject: Re: [ic] mv_click } } Ed LaFrance <edl@newmediaems.com> wrote... } } }Your right. It seems that the input type 'image' does not recognize a name } }or value attribute - though browsers will be tolerant if you give if } }one. You will have to resort to a 'click_map' or a javascript trick (see } }the 'Checkout' button on the construct demo basket page) for this. Take a } }look at the docs on Forms (Interchange Templates is the correct section, I } }think) for info on click maps. } } Which is where I will be going, but I thought I'd mention that the } following does not work. } } }Try setting your mv_click value as a hidden field in the form. E.g.: } } } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> } } } } Then name your mv_click block: } } } } [set Check for Number] } } [perl] } } # your perl code } } [/perl] } } [/set] I just ran a test on this and it really does work - at least with Minivend 4.04. I took an existing, known working form and modified it slightly to use an image instead of a text submit button. I used feedback.html from the mv4 "simple" demo and made the following simple changes: 37c37 < [if !value feedback_message] --- > [if !cgi feedback_message] 40c40 < [elsif !value feedback_subject] --- > [elsif !cgi feedback_subject] 65c65 < <INPUT TYPE=hidden NAME=mv_check VALUE=check_form> --- > <INPUT TYPE=hidden NAME=mv_click VALUE=check_form> 73c73 < : <INPUT TYPE=submit VALUE=Send> --- > : <INPUT TYPE=image SRC="new.png"> which effectively changes a mv_check into a mv_click (just so we're talking apples and apples) and replaces the submit button with a handy image. I then loaded the feedback.html page, entered some text, leaving the email and message fields blank, and clicked on the "new" image. Minivend properly displayed the form page with text (in red) at the top of the page telling me to enter a message. To me, this means it worked. Now I haven't looked at the latest Interchange demos, but I'll refer you to the results.html page in the IC 4.6.3 "construct" demo. That page uses a hidden input type to set the mv_click value to pre-process the form results. This page uses a standard submit button, rather than an image, but unless something changed between mv4 and IC4.6 in the way forms are processed, it should work equally well using an image. Note that I'm not commenting on whether your Perl script is correct or not - only on being able to invoke a mv_click method using a image as a submit button. As another person said earlier, make sure your basic processing is working correctly first, then change the text submit button to an image. Everything should continue to work just fine. } And, for completeness, in case you joined us more lately, the original } question... } }} } }} Subject: [ic] mv_click } }} } }} I am trying to adjust the main Search function in the Templates. } }} } }} I'd like, if the user enters a number, to limit the mv_search_field to just } }} the SKU field in that case. } }} } }} In Perl, it seems that is as simple as, } }} if ( $CGI_array->{'mv_searchspec'}[1] =~ /^\d+$/ ) { } }} $CGI_array->{'mv_search_field'}[1] = "sku"; } }} } } }} } }} And it seems like I am supposed to use mv_click to make it happen. } }} } }} The problem is that the submit button is an image, and even when I name } }} it mv_click, it does not seem to execute the code wrapped in... } }} [set mv_click] } }} [perl] } }} Perl code mentioned above. } }} [/perl] } }} [/set] } }} } }} Am I correct in trying to set this up in the templates? } }} I would imagine pages/results.html would be too late to try to change } }} something like mv_search_field... -Bill P.S. Don't name your image "mv_click", either. --__--__-- Message: 3 From: =?iso-8859-1?q?V=EDctor=20Romero?= <romero@kde.org> To: interchange-users@lists.akopia.com Date: Thu, 10 May 2001 00:09:41 +0200 Subject: [ic] Debian problems Reply-To: interchange-users@lists.akopia.com Im just instaled Interchange in debian sid, and followed the instructions of /usr/share/doc/interchange but I get this when try to login into the shop : No responseWe're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. The error.log reports this : [10/mayo/2001:00:05:24 +2600] - - STOP server (4894) on signal TERM - - - [10/mayo/2001:00:05:26 +2600] - - Low traffic settings. - - - [10/mayo/2001:00:05:26 +2600] - - Calling UI.... - - - [10/mayo/2001:00:05:26 +2600] - - ...UI is loaded.... - - - [10/mayo/2001:00:05:26 +2600] - - Interchange V4.6.5 - - - [10/mayo/2001:00:05:26 +2600] - - Config 'construct' at server startup - - - [10/mayo/2001:00:05:26 +2600] - - Using default DBM database. - - - [10/mayo/2001:00:05:26 +2600] - - START server (5175) (INET and UNIX) - - - [10/mayo/2001:00:05:27 +2600] - - Accepting connections from localhost|127\.0\.0\.1 - - - [10/mayo/2001:00:05:27 +2600] - - START server (5181) (INET and UNIX) So, dont know wheres the problem ;'( Greetings --__--__-- Message: 4 Date: Wed, 09 May 2001 15:38:03 -0700 To: interchange-users@lists.akopia.com From: Dan B <db@cyclonehq.dnsalias.net> Subject: Re: [ic] mysql help? Reply-To: interchange-users@lists.akopia.com At 04:26 PM 5/9/2001 -0400, you wrote: >my hosting company tells me i need to put this line in to connect to mysql > >mysql -h hostsite -u username -p password. Question is in makecat where do >i put this at? The above could be used at the command prompt to access the MySQL database with their console front end. What you really need is to discover the correct DBI connection string, and put it in catalog.cfg (which has a simple format and should be easy to find where it goes with a little browsing). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com --__--__-- Message: 5 From: cfm@maine.com Date: Wed, 9 May 2001 18:46:23 -0400 To: interchange-users@lists.akopia.com Subject: Re: [ic] mv_click Reply-To: interchange-users@lists.akopia.com On Wed, May 09, 2001 at 02:56:35PM -0700, Bill Randle wrote: > On May 9, 3:46pm, JoshNarins@aol.com wrote: > } Subject: Re: [ic] mv_click > } > } Ed LaFrance <edl@newmediaems.com> wrote... > } > } }Your right. It seems that the input type 'image' does not recognize a name > } }or value attribute - though browsers will be tolerant if you give if > } }one. You will have to resort to a 'click_map' or a javascript trick (see > } }the 'Checkout' button on the construct demo basket page) for this. Take a > } }look at the docs on Forms (Interchange Templates is the correct section, I > } }think) for info on click maps. > } > } Which is where I will be going, but I thought I'd mention that the > } following does not work. > } > } }Try setting your mv_click value as a hidden field in the form. E.g.: > } } > } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> > } } > } } Then name your mv_click block: > } } > } } [set Check for Number] > } } [perl] > } } # your perl code > } } [/perl] > } } [/set] > > I just ran a test on this and it really does work - at least with > Minivend 4.04. I took an existing, known working form and modified > it slightly to use an image instead of a text submit button. Seems to me that what you are doing with the hidden variable is **always** setting mv_click and that in turn runs the perl. Couldn't you just use a profile for this? -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux --__--__-- Message: 6 From: "Jean-Pierre Parent" <parentjp@videotron.ca> To: <interchange-users@lists.akopia.com> Subject: Re: [ic] Forms validation Date: Wed, 9 May 2001 19:01:14 -0400 Reply-To: interchange-users@lists.akopia.com > On Tue, May 08, 2001 at 11:11:38PM -0400, IC-Admin wrote: > > > > > > I just wanted to point out that this very small subset of the > > > possibilities allows us to do everything. It used to bother > > > me that I did not know the differences between all the various > > > options. :-) > > > > > > cfm > > > > > > > I mean, if both, you and Dan Browning, are commenting this way, > > I really wonder, why either the documenters or developers don't > > try to write something up, which makes it a little bit clearer. > > > > Contrary to you, I haven't even seriously tried, because in > > my case it just doesn't make sense to do so. But it always bothers me > > if old timers like you both, are making those comments. It > > makes me believe you have valid reasons to say so, and I think > > they should be taken into account. > > > > Let's hope, someone from the documentation team, thinks the same > > way or at least understands what you think is missing. > > > > Vend -> minivend -> ic is now a huge animal. We developed an early > taste for a few choice parts and they work just fine. The rest we > leave. > > Don't read that to mean there is a problem with the documentation. It > means that there is more than one way to do it. TIMTOWTDI. That > was what I wanted to point out more than anything. > > cfm >> BF How do you avoid using forms? =) While still using a database and input from clients of course *grin*. My point is I need to know how it works. I know I'll do it with months of playing and the actual documentation but time is an issue for most of us. If you got the knowledge please pass it on...For my part i'll gladly take over for others if you dont feel like doing it on large scale... J.-P. (aka Izo on #interchange@irc.vensnews.com) > > > > > > > > > >It looks like a completely different approach... > > > > > > > > > >If someone thinks he can write something on the subject PLEASE use me as a > > > > >cobaye as I'm sure others will benefit a lot from this. > > > > > > > > > >Thank you. > > > > > > > > > >J.-P. > > > > > > > > Yes, J.-P., I hope as well that someone will be inspired to write > > > > "Introduction to Forms the Interchange Way 101". > > > > > > > > Barring that, the following reading might be a great primer: > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/ictemplates_26.html > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_34.html > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/iccattut_37.html > > > > > > > > http://developer2.akopia.com/cgi-bin/ic/dev/icdatabase_44.html > > > > > > > > Later, > > > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > > > > > > > --__--__-- Message: 7 From: "Bill Randle" <billr@exgate.tek.com> Date: Wed, 9 May 2001 16:59:56 -0700 To: interchange-users@lists.akopia.com Subject: Re: [ic] mv_click Reply-To: interchange-users@lists.akopia.com On May 9, 6:46pm, cfm@maine.com wrote: } Subject: Re: [ic] mv_click } On Wed, May 09, 2001 at 02:56:35PM -0700, Bill Randle wrote: } > On May 9, 3:46pm, JoshNarins@aol.com wrote: } > } Subject: Re: [ic] mv_click [snip] } > } Which is where I will be going, but I thought I'd mention that the } > } following does not work. } > } } > } }Try setting your mv_click value as a hidden field in the form. E.g.: } > } } } > } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number"> } > } } } > } } Then name your mv_click block: } > } } } > } } [set Check for Number] } > } } [perl] } > } } # your perl code } > } } [/perl] } > } } [/set] } > } > I just ran a test on this and it really does work - at least with } > Minivend 4.04. I took an existing, known working form and modified } > it slightly to use an image instead of a text submit button. } } Seems to me that what you are doing with the hidden variable is **always** } setting mv_click and that in turn runs the perl. Couldn't you just } use a profile for this? Yes, it will always run the mv_click block when the form is submitted. I guess it depends on the design of the form and the alternative actions a user can take, if any. I don't really know anything about the application Josh was writing about. It may be that using a search profile would work - especially in IC where, if I remember correctly what I read, the use of profiles has been extended somewhat over MV. -Bill --__--__-- Message: 8 Date: Thu, 10 May 2001 11:03:58 +1000 To: interchange-users@lists.akopia.com From: Australian NetLink <kxue@netlink.com.au> Subject: [ic] Can a dropdown menu be put in Results.html Reply-To: interchange-users@lists.akopia.com Hi, list, I tried to put a dropdown menu in results.html page: Code one: [if-item-data products color] <font face="Arial" size="2"><b><font color=804000>COLOR:</b></font> [item-accessories color] [comment] I understand this code should work between [item-list] and [/item-list] [/comment] [else] [/else] [/if-item-data] Code two: [if data products::color::[item-code]] <SELECT name="mv_order_color" size="1"> [loop delimiter="," arg=[item-field color]] <OPTION value="[loop-code]">[loop-code]</OPTION> [/loop] </SELECT> [/if] However, none of them gives me a dropdown menu, but only a list. How can I get a dropdown menu in results.html page? Thanks, Kathy PS. cods is put between [search-list][/search-list]. ------------------------------------- A u s t r a l i a n N e t L i n k Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- --__--__-- Message: 9 Date: Thu, 10 May 2001 11:17:10 +1000 To: interchange-users@lists.akopia.com From: Australian NetLink <kxue@netlink.com.au> Subject: [ic] Dropdown menu works Reply-To: interchange-users@lists.akopia.com Sorry for the last email. My mistake! Dropdown menu works with my code! Thanks anyway. Kathy ------------------------------------- A u s t r a l i a n N e t L i n k Phone: (03) 9690 0660 Fax: (03) 9690 0668 Email: web@netlink.com.au Website: www.netlink.com.au ------------------------------------- --__--__-- Message: 10 Date: Wed, 09 May 2001 21:33:26 -0400 From: Gift Bound Gifts <giftbound1@home.com> To: interchange-users@lists.akopia.com Subject: [ic] bug issue in interchange 4.7.2 Reply-To: interchange-users@lists.akopia.com when you create a new item and try to add a option and select a option and click the update button I get a 500 internal error. This is what my error.log says: 24.4.252.86 fsv76kNP:24.4.252.86 - [09/May/2001:17:13:10 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store returned -1, errno 2, key "k000005" at /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > --__--__-- Message: 11 Date: Wed, 09 May 2001 23:54:13 -0400 To: interchange-users@lists.akopia.com From: Ken Payne <kpayne@ford-trucks.com> Subject: [ic] Help! Checked the FAQ and search archives but still clueless! Reply-To: interchange-users@lists.akopia.com The problem I'm having is apparently a common one since it appears several times in the archives. I've tried what I found in the FAQ and archives and still no go.... Non-secure domain: http://www.motorhaven.com/cgi-bin/construct Secure domain: https://secure.motorhaven.com/cgi-bin/construct Everything works fine until check out. When checking out, the cart contents are lost. I've tried putting the following in interchange.cfg: DomainTail No IpHead Yes and also: SessionExpire 10 minutes WideOpen Yes Well, it *does* do something, but not what is desired! I get the following: Internal Server Error Any help that anyone can offer would be greatly appreciated, I've been at this for 10 hours and I've run out of solutions to try. -Ken Payne --__--__-- Message: 12 Date: Wed, 9 May 2001 23:47:20 -0700 (PDT) From: Jason Ballou <jasonballou1@yahoo.com> Subject: Re: [ic] Help! Checked the FAQ and search archives but still clueless! To: interchange-users@lists.akopia.com Reply-To: interchange-users@lists.akopia.com You should find that if you have your secure checkout set to https://www.motorhaven.com/cgi-bin/construct, that it will work fine. I have no idea why (as I'm pretty damn new to all of this) but I have tried it with several servers and found this problem on all of them. It seems that the www.domainname.com/blah/blah must be the same with the http:// as with the https:// or some browser versions will drop the cart contents, especially the newer versions of IE. I even tried the sessionexpire and wideopen stuff too. I had to switch hosts several times to find one that had their secure server setup in a way that would allow the cart contents to be passed and I found that many hosts didn't even realize that the problem existed until I bitched and complained many, many times. But hey, if anyone knows a way around it, I would love to hear about it. Jason --- Ken Payne <kpayne@ford-trucks.com> wrote: > The problem I'm having is apparently a common one > since it appears > several times in the archives. I've tried what I > found in the FAQ > and archives and still no go.... > > Non-secure domain: > http://www.motorhaven.com/cgi-bin/construct > > Secure domain: > https://secure.motorhaven.com/cgi-bin/construct > > Everything works fine until check out. When > checking out, the > cart contents are lost. > > I've tried putting the following in interchange.cfg: > DomainTail No > IpHead Yes > > and also: > > SessionExpire 10 minutes > WideOpen Yes > > Well, it *does* do something, but not what is > desired! I get the > following: > > Internal Server Error > > Any help that anyone can offer would be greatly > appreciated, I've > been at this for 10 hours and I've run out of > solutions to try. > > -Ken Payne > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ --__--__-- Message: 13 To: interchange-users@lists.akopia.com From: dennis@cobolt.net (Dennis Schoen) Subject: Re: [ic] Debian problems Date: Thu, 10 May 2001 07:24:47 GMT Reply-To: interchange-users@lists.akopia.com On Thu, 10 May 2001 00:09:41 +0200, Víctor Romero <romero@kde.org> wrote: > > Im just instaled Interchange in debian sid, and followed the instructions of /usr/share/doc/interchange > but I get this when try to login into the shop : Have you installed the tar.gz package or the debian package? > No responseWe're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon. Thats a FAQ -> go to developer.akopia.com and search for it. > So, dont know wheres the problem ;'( Hint: look at the permission of the cgi binary... Dennis -- "Contrary to popular belief, UNIX is a user-friendly Operating System. It's just choosy about who its friends are." --__--__-- _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users End of Interchange-users Digest From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 10 13:07:00 2001 Subject: [ic] Scarey -- (More Info) Can Not Identify Error On Thu, May 10, 2001 at 10:50:25AM -0400, Christopher VanOosterhout wrote: > > Thanks so much for your input on this ... I do have a couple of follow ups > that may help me ... if you could. > > > > > The first line of the customer's order confirmation > > > said: UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR > > What I mean is that the confirmation email the customer received had the > line (shown above). > > > > > Do you have any idea what may have happened to send a confirmation to the > > > customer but nothing to me as the store administrator, when I usually > > get a > > > copy of the orders? > > > >I'd guess the garbage in the input created something that could not > >be processed at some point down the line. ??? That **is** my idea (or guess if you prefer). > > You mean before Interchange sent me a confirmation? It seems like if a > user can enter anything "illegal" that would cause a users order to not be > processed or not sent on to the store administrator, that it should be > caught and filtered or refused back to the customer asking for clarification. > > >We filter everything to clean ASCII at various points. Since we typically > >print packing lists and invoices with TeX, now and then a printout will > >silently die on some special combination of characters. We add that > >combination > >to our filter. But a simple null char in a form can kill it too. Suppose you > >stack two addresses; mv will return them null delimited. Depending on what > >you try to do with that you can kill your process/output/whatever. > > Could you give me more information on this? Is the filtering of clean > ASCII happening before email order notices would be sent to the > administrator (if you were using that option)? I probably did not make it > clear ... I never received an order confirmation on this order via email > and is "sounds" like what you are talking about may happen sometime after that. I was just using that as example. Anything in the input data that kills a print/email/whatever process is NOT going to kill the order. The order is already placed before the confirm goes out. Regardless, the important issue is establishing a process to catch those exceptions. > > > > This of course is a major concern ... since I hate the ideas that > > customers > > > are out there ordering products and not being serviced. > > > >We don't use the minivend order email, > > Is there a reason you do not use it? Do you feel it is some way unreliable > or do you have another concern? Or just do not want to mess with PGP? Why? System reasons. Nothing to do with reliability. I mentioned that for context/version. What breaks us might well not break minivend/ic. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Lamine) Date: Thu May 10 13:35:01 2001 Subject: [ic] Permission denied when i run configure Hello friends. I need really a blow of hand in order to finalize the configuration of IC. After several attempts, each time I launch the command configures, I obtain an error message which is associated with a permission's problem of iud. If somebody could help me, that would be sympathetic. Thank you in advance I got this message: Found Perl 5.00503 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.00503/FindBin.pm line 143 Can't write uid file: Permission denied make: *** No targets. Stop. make: *** No rule to make target `test'. Stop. From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 10 13:51:01 2001 Subject: [ic] Many to many price schema "Renato Enea" <renea@enter.it> writes: > I have to create a price schema according to my database. > This is the problem...for any product the customer can insert various prices > according to item quantity for any users or for a specifical user. > So i have a many to many relationship table with products and userdb tables > with the following structure: > > COUNTER - SKU - USER ID - QUANTITY RANGE - PRICE > > So i can have for a single product (example: sku=1) many prices according to > quantity and users.... > > 1 - 1 - 1 - 0,10 - 100 SKU=1 PRICE=100 QUANTITY RANGE = from 0 to 10 price > specific for USERID = 1 > 2 - 1 - - 0,10 - 110 SKU=1 PRICE=110 QUANTITY RANGE = from 0 to 10 price > for any users (except for userid =1) > > 3 - 1 - 1 - 10,20 - 90 SKU=1 PRICE=90 QUANTITY RANGE = from 10 to 20 price > specific for USERID = 1 > 4 - 1 - - 10,20 - 100 SKU=1 PRICE=100 QUANTITY RANGE = from 10 to 20 > price for any users (except for userid =1) > > and so on.... > > How can i solve this problem ?? I don't know if this is the best solution for your problem, but you can define your own price calculator like this: # Pricing UserTag calc_price Order code quantity UserTag calc_price Routine <<EOF sub { my ($code, $quantity); if ($Vend::Interpolate::item) { $code = $Vend::Interpolate::item->{code}; $quantity = $Vend::Interpolate::item->{quantity}; } else { ($code, $quantity) = @_; } # sanity check if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) { Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity"); return; } my $db = Vend::Data::database_exists_ref('price'); my $keys = $db->query ("select price,min from price where component_idf = $code order by min"); my $price; if (@$keys) { # fallback price $price = $keys->[0]->[0]; # check for appropriate price for (my $i = 0; $i < @$keys; $i++) { if ($quantity > $keys->[$i]->[1]) { $price = $keys->[$i]->[0]; } } } $price * 1.95583; } EOF CommonAdjust [calc_price] Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Russ Mann) Date: Thu May 10 14:10:00 2001 Subject: [ic] CC Info in Transactions, but not in userdb Dear List, Encrypted CC Info is storing in transactions, but not in the userdb. This is what I've done: In etc/log_transaction, this is under the import table line: mv_credit_card_type: [value name=mv_credit_card_type] mv_credit_card_exp_month: [value name=mv_credit_card_exp_month] mv_credit_card_exp_year: [value name=mv_credit_card_exp_year] mv_credit_card_xref: [value name=mv_credit_card_xref] mv_credit_card_info: [value filter=mac name=mv_credit_card_info] And it works - the transactions DB has all this info in it. However, I also have this, but it doesn't work. Any ideas?: etc/log_entry Update userdb: [perl table=userdb] my $id = $Values->{username} = $Values->{customer_id}; @always = qw/ company fname lname address1 address2 city state zip country phone_day mv_shipmode mv_credit_card_type mv_credit_card_exp_month mv_credit_card_exp_year mv_credit_card_xref mv_credit_card_info email phone_night fax_order email_copy mail_list /; @sometimes = qw/ password b_fname b_lname b_address1 b_address2 b_city b_state b_zip b_country b_phone fax credit_limit /; my $db = $Db{userdb}; if(! $db->record_exists($id)) { $db->set_row($id); $db->set_field($id, 'password', $Values->{password}); } for(@always) { Log("$_: $Values->{$_}"); $db->set_field($id, $_, $Values->{$_}); } for (@sometimes) { Log("$_: $Values->{$_}"); next unless $Values->{$_} =~ /\S/; $db->set_field($id, $_, $Values->{$_}); } return "Updated customer record."; [/perl] From: interchange-users at lists.akopia.com (Victor Nolton) Date: Thu May 10 14:32:00 2001 Subject: [ic] Permission denied when i run configure run ./configure as root Ven >Hello friends. I need really a blow of hand in order to finalize the >configuration of IC. After several attempts, each time I launch the >command configures, I obtain an error message which is associated >with a permission's problem of iud. If somebody could help me, that >would be sympathetic. Thank you in advance >I got this message: >Found Perl 5.00503 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.00503/FindBin.pm line 143 >Can't write uid file: Permission denied >make: *** No targets. Stop. >make: *** No rule to make target `test'. Stop. > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (Jeff Philapy) Date: Thu May 10 14:36:01 2001 Subject: [ic] The Raq4 Interchange Question Is there anyone on this list that has succesfully installed and runs interchange on their Raq 3 or 4? If so please let me know how you did it. Thanks, Jeff __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (ANBFarma Suporte) Date: Thu May 10 14:43:00 2001 Subject: Jon Re: [ic] Problems with 4.7 configure Thanks Jon, but with this erros I can run Make test and install. Below I show the rest of screen with the errors. Note that the message that the previous interchange server was not running is true but and if I don't have interchange before ( this is not the situation). I have interchange instaled as rpm nad now I want to generate my own version in portuguese so I turn off the interchange server to use this that I'm tring to use. Manifying blib/man1/interchange.1 PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/ usr/lib/perl5/5.00503 test.pl server/unixmode.......The previous Interchange server was not running and probably terminated with an error. ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........not ok 5 server/control........not ok 6 6 tests run -- 2/6 failed. make: *** [test_dynamic] Error 1 Thanks alvaro From: interchange-users at lists.akopia.com (Jason Korkin) Date: Thu May 10 14:45:01 2001 Subject: [ic] The Raq4 Interchange Question Yes; we have done so for customers in the past... mainly on Raq3's though. We essentially did the following: *Create new user called "interchange" *Create a "bin" directory under this acct's home dir. *Install the new version of PERL into this "bin" directory; install the Interchange CPAN bundle there as well. *Create a new cgi-script handler in the httpd.conf file; don't use CGI wrap - it caused too many problems. We did something like .ic for the cgi-script handlers exension. If you have more questions, email me off the list. :-) Jason. President Korksoft LLC http://www.korksoft.com ----- Original Message ----- From: "Jeff Philapy" <jphilapy@yahoo.com> To: <interchange-users@lists.akopia.com> Sent: Thursday, May 10, 2001 2:39 PM Subject: [ic] The Raq4 Interchange Question > Is there anyone on this list that has succesfully > installed and runs interchange on their Raq 3 or 4? > If so please let me know how you did it. > > Thanks, > > Jeff > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Víctor Romero) Date: Thu May 10 15:05:01 2001 Subject: [ic] Debian problems t' at server > > startup - - - [10/mayo/2001:00:05:26 +2600] - - Using default DBM > > database. - - - [10/mayo/2001:00:05:26 +2600] - - START server (5175) > > (INET and UNIX) - - - [10/mayo/2001:00:05:27 +2600] - - Accepting > > connections from localhost|127\.0\.0\.1 - - - [10/mayo/2001:00:05:27 > > +2600] - - START server (5181) (INET and UNIX) > > The permissions of the CGI link program are probably wrong > (see the FAQ for that). :(..... sorrryyyyy.... Its a faq and I didnt found it before ask here.... Im quite shamed ;) From: interchange-users at lists.akopia.com (Loy Ellen Gross) Date: Thu May 10 15:07:00 2001 Subject: [ic] Help with [modifier-name ...] pls On Thu, 10 May 2001, Ed LaFrance wrote: >><FORM ACTION="[process-target]" METHOD=POST> >><INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh"> >><INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="profile3"> >> ... >><INPUT TYPE="checkbox" NAME="mv_order_item" VALUE="3007"> >> ... >><INPUT TYPE="checkbox" NAME="mv_order_item" VALUE="3250"> >> ... (etc ... there are up to nine items on a page) >> >><INPUT TYPE=submit VALUE="Continue to Next Page &gt;&gt;"> >></FORM> >> >>Which orders an item and sends the user on to the next page in the >>profile (this is successful). What I am trying to add is: >> >><INPUT TYPE="text" NAME="[modifier-name pagetitle]"> > >[modifier-name] only works within an [item-list][/item-list] construct - it >is not apparent from your message that you are using it that way. It also >may not be the modifier tag that you want - check here for more info: > >http://developer2.akopia.com/cgi-bin/ic/dev/ictags_44.html Ok, after reading that page, it is clear that modifier-name only works within the item-list construct. What I had originally read was this: http://developer2.akopia.com/cgi-bin/ic/docfly.html?mv_arg=icconfig16%2e04 which states only that modifier-name may be used within forms (I assumed any form). >>What am I doing wrong and is there a solution to this? What I need >>to do is tag each item ordered with a text identifier that the user >>types in BEFORE they get to the basket. Does anybody know a way to do this? It doesn't have to be an item-modifer (no price variation or anything of that nature), it just has to stick with the item throughout the checkout process the way a modifier does. -- Loy -- Loy Ellen Gross - 716-614-8000 x358 - fax 716-614-8010 - <lgross@thebiz.net> New Media West - BiznessOnline.com - 2810 Sweet Home Rd - Amherst NY 14226 From: interchange-users at lists.akopia.com (Víctor Romero) Date: Thu May 10 15:22:00 2001 Subject: [ic] Debian problems > Have you installed the tar.gz package or the debian package? The deb package, I always try to use the deb package before any other thing... > > > No responseWe're sorry, the Interchange server is unavailable... We > > are out of service or may be experiencing high system demand, please try > > again soon. > > Thats a FAQ -> go to developer.akopia.com and search for it. > > > So, dont know wheres the problem ;'( > > Hint: look at the permission of the cgi binary... The strange thing about this is the faq page doenst work... but a search of "unavailable" return this : We're sorry, the Interchange server is unavailable... (The following assumes that you were able to start the Interchange server.) This could be almost anything, but with a properly configured Interchange it is almost undoubtedly due to your cgi-bin and/or your Interchange directory being located on a different filesystem than the actua machine that is executing the program. VLINK uses UNIX-domain sockets, which don't work on NFS-mounted filesystems. Iserver.com and other systems which use chroot HTTP servers require quite a bit of extra configuration to get going. If you have not been careful to set permissions properly when running in VLINK/UNIX mode, the link CGI will not be able to communicate with the Interchange server. Please read the documentation that covers this in detail. You can run in INET mode with the tlink link program to prevent those problems. So Im still at the beggining, Im sure the cgi permisions are ok, and I have just a root partition, and a /boot partition, so the partitions and nfs shouldnt be the problem. In the other side I have that may be interchange server are not correctly running, but : victor@kenny:~$ ps aux | grep interchange 108 363 0.0 0.4 16888 556 ? S 17:31 0:00 interchange victor 2602 0.0 0.5 1616 700 pts/2 S 21:24 0:00 grep interchange I think im going to install it from the tgz package :( From: interchange-users at lists.akopia.com (interch) Date: Thu May 10 15:30:01 2001 Subject: Jon Re: [ic] Problems with 4.7 configure Had this same thing happen to me. Fix is to install differently. perl Makefile.PL, make, make install... This way it bypasses the make test. Chris On Thu, 10 May 2001, ANBFarma Suporte wrote: > Thanks Jon, but with this erros I can run Make test and install. Below I > show the rest of screen with the errors. Note that the message that the > previous interchange server was not running is true but and if I don't have > interchange before ( this is not the situation). I have interchange instaled > as rpm nad now I want to generate my own version in portuguese so I turn off > the interchange server to use this that I'm tring to use. > > Manifying blib/man1/interchange.1 > PERL_DL_NONLAZY=1 > /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/ > usr/lib/perl5/5.00503 test.pl > server/unixmode.......The previous Interchange server was not running and > probably > terminated with an error. > ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........not ok 5 > server/control........not ok 6 > 6 tests run -- 2/6 failed. > make: *** [test_dynamic] Error 1 > > Thanks > > alvaro > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 10 15:41:01 2001 Subject: [ic] Debian problems Víctor Romero <romero@kde.org> writes: > > Have you installed the tar.gz package or the debian package? > > The deb package, I always try to use the deb package before any other thing... > > > > > > No responseWe're sorry, the Interchange server is unavailable... We > > > are out of service or may be experiencing high system demand, please try > > > again soon. > > > > Thats a FAQ -> go to developer.akopia.com and search for it. > > > > > So, dont know wheres the problem ;'( > > > > Hint: look at the permission of the cgi binary... > > The strange thing about this is the faq page doenst work... but a search of "unavailable" return this : > > > We're sorry, the Interchange server is unavailable... > > (The following assumes that you were able to start the Interchange server.) > > This could be almost anything, but with a properly configured Interchange it is almost undoubtedly due to your cgi-bin and/or your Interchange directory being located on a different filesystem than the actua machine that is executing the program. VLINK uses UNIX-domain sockets, which don't work on NFS-mounted filesystems. > > Iserver.com and other systems which use chroot HTTP servers require quite a bit of extra configuration to get going. If you have not been careful to set permissions properly when running in VLINK/UNIX mode, the link CGI will not be able to communicate with the Interchange server. Please read the documentation that covers this in detail. > > You can run in INET mode with the tlink link program to prevent those problems. > > > So Im still at the beggining, Im sure the cgi permisions are ok, and I have just a root partition, and a /boot partition, so the partitions and nfs shouldnt be the problem. > > In the other side I have that may be interchange server are not correctly running, but : > > victor@kenny:~$ ps aux | grep interchange > 108 363 0.0 0.4 16888 556 ? S 17:31 0:00 interchange > victor 2602 0.0 0.5 1616 700 pts/2 S 21:24 0:00 grep interchange Seems to be running. Please post the output of /etc/init.d/interchange restart and ls -l /where/your/cgi/are What is your interchange user ? Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Lamine) Date: Thu May 10 15:56:00 2001 Subject: [ic] Permission denied when i run configure I d'ont't have the root permission in my server hoting At 14:33 01-05-10 -0400, you wrote: >run ./configure as root > >Ven > >>Hello friends. I need really a blow of hand in order to finalize the >>configuration of IC. After several attempts, each time I launch the >>command configures, I obtain an error message which is associated with a >>permission's problem of iud. If somebody could help me, that would be >>sympathetic. Thank you in advance >>I got this message: >>Found Perl 5.00503 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.00503/FindBin.pm >>line 143 >>Can't write uid file: Permission denied >>make: *** No targets. Stop. >>make: *** No rule to make target `test'. Stop. >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users > >-- > >http://www.vensnews.com > >Victor "Ven" Nolton __________________________ http://www.VensNews.com >http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com > > All HTML Encoded email will be ignored. Learn Standards. > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Víctor Romero) Date: Thu May 10 16:17:00 2001 Subject: [ic] Debian problems El Jue 10 May 2001 21:38, escribiste: > Víctor Romero <romero@kde.org> writes: > > > Have you installed the tar.gz package or the debian package? > > > > The deb package, I always try to use the deb package before any other > > thing... > > > > > > No responseWe're sorry, the Interchange server is unavailable... > > > > We are out of service or may be experiencing high system demand, > > > > please try again soon. > > > > > > Thats a FAQ -> go to developer.akopia.com and search for it. > > > > > > > So, dont know wheres the problem ;'( > > > > > > Hint: look at the permission of the cgi binary... > > > > The strange thing about this is the faq page doenst work... but a search > > of "unavailable" return this : > > > > > > We're sorry, the Interchange server is unavailable... > > > > (The following assumes that you were able to start the Interchange > > server.) > > > > This could be almost anything, but with a properly configured Interchange > > it is almost undoubtedly due to your cgi-bin and/or your Interchange > > directory being located on a different filesystem than the actua machine > > that is executing the program. VLINK uses UNIX-domain sockets, which > > don't work on NFS-mounted filesystems. > > > > Iserver.com and other systems which use chroot HTTP servers require quite > > a bit of extra configuration to get going. If you have not been careful > > to set permissions properly when running in VLINK/UNIX mode, the link CGI > > will not be able to communicate with the Interchange server. Please read > > the documentation that covers this in detail. > > > > You can run in INET mode with the tlink link program to prevent those > > problems. > > > > > > So Im still at the beggining, Im sure the cgi permisions are ok, and I > > have just a root partition, and a /boot partition, so the partitions and > > nfs shouldnt be the problem. > > > > In the other side I have that may be interchange server are not > > correctly running, but : > > > > victor@kenny:~$ ps aux | grep interchange > > 108 363 0.0 0.4 16888 556 ? S 17:31 0:00 > > interchange victor 2602 0.0 0.5 1616 700 pts/2 S 21:24 > > 0:00 grep interchange > > Seems to be running. Please post the output of > > /etc/init.d/interchange restart Restarting Interchange Server: interchange. Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog bytez...Using MySQL, DSN=dbi:mysql:test_bytez. done. Interchange server started in INET and UNIX mode(s) (process id 1466) kenny:~# > > and > > ls -l /where/your/cgi/are victor@kenny:~$ ls -l /usr/lib/cgi-bin/bytez -rwxr-xr-x 1 intercha intercha 7948 may 10 22:08 /usr/lib/cgi-bin/bytez > > What is your interchange user ? interchange > Bye Well... I have just fixed the problem using tcp sockets intstead unix sockets... may be a kernel problem or so... the fact is now it works at last ;) Thx all From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 10 16:30:01 2001 Subject: [ic] Setting a catalog variable on a page How can I set a catalog variable from a page and have it persist? I want to do something like this: page1.html: [perl] $Variable->{sql_select_items} = 'SELECT * FROM items'; return; [/perl] page2.html: __sql_select_items__ Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 10 16:40:01 2001 Subject: [ic] Debian problems Víctor Romero <romero@kde.org> writes: [...] > > > > Seems to be running. Please post the output of > > > > /etc/init.d/interchange restart > > Restarting Interchange Server: interchange. > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog bytez...Using MySQL, DSN=dbi:mysql:test_bytez. > done. > Interchange server started in INET and UNIX mode(s) (process id 1466) Fine. No obvious problem here. > kenny:~# > > > > > > and > > > > ls -l /where/your/cgi/are > > victor@kenny:~$ ls -l /usr/lib/cgi-bin/bytez > -rwxr-xr-x 1 intercha intercha 7948 may 10 22:08 /usr/lib/cgi-bin/bytez Try chmod u+s /usr/lib/cgi-bin/bytez. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 10 16:59:01 2001 Subject: [ic] Export/Upload/Download in 4.7.x IMHO the Export/Upload/Download table stuff is quite clumsy and confusing: 1) Downloading of pure SQL databases is impossible resp. you got old stuff. 2) To download XLS you have to go through export => multiple table export. I'm quite sure that rather few UI users realizes this For the first point I made a patch for 4.6.x, should we try this ? The second point let me suggest to think over the whole gentable page. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 10 17:01:01 2001 Subject: [ic] All you people who consider to unsubscribe from this list, read this! My 2 cents for those who can't unsubscribe from this list: While helping a guy to unsubscribe in noticed that the mailing-list program is case-sensitive. So, for being sure that the unsubscribe-action will succeed, look in the headers from a recent message to check how you did spell your e-mail address. By using the same case you'll probably succeed in unsubscribing from the list... René ----------------------- Energizer bunny arrested, charged with battery From: interchange-users at lists.akopia.com (Barry Steinman) Date: Thu May 10 17:18:01 2001 Subject: [ic] affiliates How does interchange keep track of affiliates? Does it only keep track of total sales for affiliates? Can it keep track of what specific products were sold thru the affiliate? Does it let you enter a percentage of sales for each affiliate? If so is there any way to assign a specific affiliate commission per product, if you don't want a flat percentage paid. Barry -- Barry Steinman Discount Christian Software & Books P.O. Box 4201, Carlsbad, CA 92018-4201 Sales@DiscountChristian.Com Call Toll Free: 1-888-WordSoft 1-888-967-3763 http://www.DiscountChristian.Com fax & voice: 1-760-722-6180 From: interchange-users at lists.akopia.com (Victor Nolton) Date: Thu May 10 17:26:01 2001 Subject: [ic] All you people who consider to unsubscribe from this You sure about this? By going to edit options I tried 'VeN@InNa.Net' and it brought up my account, and it worked for 'ven@inna.net' as well. Password however is case-sensitive, but if you don't know what your password is or the sensitivity, you hit the "Email My Password To Me" button. Ven >My 2 cents for those who can't unsubscribe from this list: > >While helping a guy to unsubscribe in noticed that the mailing-list program >is case-sensitive. So, for being sure that the unsubscribe-action will >succeed, look in the headers from a recent message to check how you did >spell your e-mail address. By using the same case you'll probably succeed in >unsubscribing from the list... > >René -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu May 10 17:28:01 2001 Subject: [ic] Permission denied when i run configure On Thu, 10 May 2001, Lamine wrote: L>>Date: Thu, 10 May 2001 16:01:14 -0400 L>>From: Lamine <lamine@secan.net> L>>Reply-To: interchange-users@lists.akopia.com L>>To: interchange-users@lists.akopia.com L>>Subject: Re: [ic] Permission denied when i run configure L>> L>>I d'ont't have the root permission in my server hoting L>>At 14:33 01-05-10 -0400, you wrote: L>>>run ./configure as root Then you need to get your Sysadmin to install IC for you, or find a different hosting company - preferably one that already has the IC server running. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, May 10, 2001 at 17:30 PM: Canadian DOS prompt: EH?\> ---------------------------------------------------------------- This Linux System has been up 290 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu May 10 17:43:00 2001 Subject: [ic] All you people who consider to unsubscribe from this list, On Fri, 11 May 2001, Rene Hertell wrote: RH>>While helping a guy to unsubscribe in noticed that the mailing-list program RH>>is case-sensitive. So, for being sure that the unsubscribe-action will RH>>succeed, look in the headers from a recent message to check how you did RH>>spell your e-mail address. By using the same case you'll probably succeed in RH>>unsubscribing from the list... Of course it's case-sensitive! EVERYthing in Unix is case-sensitive. Some applications will internally convert everything - like Bill Gates does. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, May 10, 2001 at 17:30 PM: Canadian DOS prompt: EH?\> ---------------------------------------------------------------- This Linux System has been up 290 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Houman Akhavan) Date: Thu May 10 18:13:00 2001 Subject: [ic] Static Regen Times Out I am running Interchange 4.6.3. When doing a large static regen of my dynamic pages using the Interchange Admin. The Admin page times out or dies. But when I modify the regen to do a lesser amount of pages, it works fine. Is there some time out setting I can modify so the regen fully completes before dying. Thanks, Houman From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 10 18:22:00 2001 Subject: [ic] All you people who consider to unsubscribe from this list, read this! > You sure about this? Yep, he tried to unsub many times. > By going to edit options I tried 'VeN@InNa.Net' and it brought up my > account, and it worked for 'ven@inna.net' as well. I guess this affects only when you want to remove yourself from the list... I flamed this guy first, but when he told me that he seriously tried to unsub, I noticed that he had spelled his address with mixed case, so I figured out that if he unsubs with the same case, he might succeed. I told him to do that, and tadaa, it worked :) In my opinion this is a quite serious bug in the mailman system, and it should be fixed ASAP. René From: interchange-users at lists.akopia.com (Houman Akhavan) Date: Thu May 10 18:24:01 2001 Subject: [ic] Static Regen Times Out I am running Interchange 4.6.3. When doing a large static regen of my dynamic pages using the Interchange Admin. The Admin page times out or dies. But when I modify the regen to do a lesser amount of pages, it works fine. Is there some time out setting I can modify so the regen fully completes before dying. Thanks, Houman From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Thu May 10 19:04:01 2001 Subject: [ic] interchange 4.7.2 is this a bug? Im using the default database. I keep getting a internal error when creating a new item then going to options and click the update button. I looked in my error log and it says runtime error at common.pm. Has anyone else had this problem? Is this being looked at? From: interchange-users at lists.akopia.com (LoadUp (Cust Serv Dept)) Date: Thu May 10 20:13:01 2001 Subject: [ic] 4.7.2 minor changes to etc/receipt.html Some changes for 4.7.2 etc/receipt.html (1) line 44 should be: <th align=right> not <th> (2) line 327 should be: [total-cost] not [handling] -- Angelica Olins <angel@LOADUP.COM> From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 10 20:47:00 2001 Subject: [ic] Setting a catalog variable on a page At 04:33 PM 5/10/2001 -0400, you wrote: >How can I set a catalog variable from a page and have it persist? > >I want to do something like this: > >page1.html: >[perl] > $Variable->{sql_select_items} = 'SELECT * FROM items'; > return; >[/perl] > >page2.html: >__sql_select_items__ Does this do anything for ya, or is there a special reason why it needs to be $Variable? page1.html: [perl] $Scratch->{sql_select_items} = 'SELECT * FROM items'; return; [/perl] page2.html: [scratch sql_select_items] Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 10 20:59:00 2001 Subject: [ic] All you people who consider to unsubscribe from this At 01:22 AM 5/11/2001 +0300, you wrote: > > You sure about this? >Yep, he tried to unsub many times. > > > By going to edit options I tried 'VeN@InNa.Net' and it brought up my > > account, and it worked for 'ven@inna.net' as well. >I guess this affects only when you want to remove yourself from the list... > >I flamed this guy first, but when he told me that he seriously tried to >unsub, I noticed that he had spelled his address with mixed case, so I >figured out that if he unsubs with the same case, he might succeed. I told >him to do that, and tadaa, it worked :) > >In my opinion this is a quite serious bug in the mailman system, and it >should be fixed ASAP. Please, no! I so enjoy the tortured beleaguering cries of the unwillingly subscribed. We, the ruling class, need minions over which we can exhort our complete and utter ruthless dominion. Without them, the Lords of IC would be ridden with petty wars of fiefdoms one against another in flame wars. It is far better to allow the flames to flow in one direction: down, down, down, towards the unwillingly subscribed, enslaved in their torturous state for all eternity! (Yes, I will put down Edgar Allen Poe's "Conqueror Worm" now) Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu May 10 21:09:01 2001 Subject: [ic] All you people who consider to unsubscribe from this list, On Thu, 10 May 2001, Dan B wrote: DB>>Please, no! I so enjoy the tortured beleaguering cries of the unwillingly DB>>subscribed. We, the ruling class, need minions over which we can exhort DB>>our complete and utter ruthless dominion. Without them, the Lords of IC DB>>would be ridden with petty wars of fiefdoms one against another in flame DB>>wars. It is far better to allow the flames to flow in one direction: down, DB>>down, down, towards the unwillingly subscribed, enslaved in their torturous DB>>state for all eternity! TRE-&*^&%ing-MENDOUS!!!!! Thanks! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, May 10, 2001 at 21:10 PM: [If you can't hear me, it's because I'm in parentheses] ---------------------------------------------------------------- This Linux System has been up 294 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 10 21:25:00 2001 Subject: [ic] Setting a catalog variable on a page On Thu, May 10, 2001 at 05:49:06PM -0700, Dan B wrote: > At 04:33 PM 5/10/2001 -0400, you wrote: > >How can I set a catalog variable from a page and have it persist? > > > >I want to do something like this: > > > >page1.html: > >[perl] > > $Variable->{sql_select_items} = 'SELECT * FROM items'; > > return; > >[/perl] If you are referring to the "Catalog Variable" as one might use in the catalog.cfg, you can't (easily). By the time mv gets to the page it has forked and whatever you set will die with that fork. Let me guess, you are trying to redefine your catalog on the fly according to user/merchant/product? If my guess is wrong, I probably misread your question and the answer might be wrong too. If not, I'll share what we do: There already is Vend::Session->{values}. We store in that a number of items, a hash %M as $values->{M}, an overall configuration as $values->{SC}. These get dragged around (yeah, SC is big) with the session. SC will someday get loaded at start up, but we never seem to get out of prototype.... Anyway, SC, (site_config) is pretty much what you might use Catalog Variables for. It defines page layout, image sizes, tables available, templates - a lot of the things in the typical catalog.cfg. M is a lot lighter, it defines a merchant, their names and payment types, fine print, address block. It overrides some things within the larger context defined by SC. (That makes sense to me. :-)...) So rather than setting a catalog variable, we have an init routine for each page psuedo code: load_M(asdf) unless($values->{M}); load_SC(asdf) unless($values->{SC}); I've not looked into AUTOLOAD; that might well be appropriate. Anyway, if you learn how to stuff a hash into the session and retrieve it you can do anything. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Thu May 10 21:59:01 2001 Subject: [ic] has anyone figured this out? when you go to create options and click the update button you get a internal error in interchange 4.7.2. This is whats in the error log: 24.4.252.86 qb9imasV:24.4.252.86 - [10/May/2001:18:34:48 -0700] foundation /cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store returned -1, errno 2, key "kgift_cert" at /home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > Whats going on? Please help. From: interchange-users at lists.akopia.com (LoadUp (Cust Serv Dept)) Date: Thu May 10 22:19:00 2001 Subject: [ic] 4.7.2 no total on receipt page /catalogs/foundation/etc/receipt.html line 354, order total is [handling]? <tr> <td colspan=3> &nbsp; </td> <td> ORDER TOTAL </td> <td align=right> [handling] </td> </tr> -- Angelica Olins <angel@LOADUP.COM> From: interchange-users at lists.akopia.com (Jake Thompson) Date: Thu May 10 23:26:00 2001 Subject: [ic] latest CVS 4.7.x Broke? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I have checked out 4.7.2 from CVS and created the RPM packages using the SPEC file. A couple of problems.... 1. Init script will not start interchange, must use restart or interchange -r 2. Once interchange is running, it seems that catalogs are not connecting to server. I perpetually get that interchange is temporarily unvailable or having high load averages. Has anyone else seen these same issues? Am I missing something stupid? RH 7.0 with a clean interchange install from RPM. Freshly compiled 4.7.2 rpm's with no compile errors. Thanks, Jake T. - ---------------------------------------- Jake Thompson jthompson@ztechnet.com jthompson@allezsoftware.com - -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP Personal Privacy 6.5.8 mQGiBDpRB+4RBADqtaaMrB6VVPghC/kkOdp1xO9PvH3nAfcTZChxDiLlTTHtOBQ1 5GpoejA0diOR9JSboHRaRJ+8JGk/C54chBgIsR9YYw1EAC3kNW13iHlJE6wie0LM 8sEeSM6+niadHNzbBFRmWdyyPmbHEGv/zEif0ckGEANKTWQTj7nzcZbePQCg/5Gn MdkeyfYYcMhLuAPAWjy9FSkEAMBBgqjB9yGnmVI39vrRfmGMtRrLWWlSwQZpjyFW YwfZT6FZvH6Re1DLWanblmmaHDAAVCETKoNfN1uCQX5Lg7egzl0IQ6nE9Uw51Wma XFFNv9ERBoSsdqM6G8pWkmXMChLlFlT364pZaxBk22/UD6bWRaUday4W764S3I/2 sv5FBAC8dXMS7cxtAfn7+rZShnrgRuhuqT5QE69uRJQ4j6+cdZrwJw+KUhZPlp8I DkoOklh0Qk3mOqTMf8SaYpvWVJ/YrSpktCPNyVIHcFbxNPAFBAuz6YUafA0VlZnM y4mwavvf8lutnOmkQXxdlg0a1lOmPqO0DyzHHP4IzYU8PsDm5rQmSmFrZSBUaG9t cHNvbiA8anRob21wc29uQHp0ZWNobmV0LmNvbT6JAE4EEBECAA4FAjpRB+4ECwMC AQIZAQAKCRBp4LYFW7wAgYFUAJ0QuLCM0hzxrC9V3tgmE5T2prLOEgCfXai/AZGF g/aJxi+yiSQLEevEmc65Ag0EOlEH7hAIAPZCV7cIfwgXcqK61qlC8wXo+VMROU+2 8W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D49Vlf3HZS Tz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNbno2gpXI6 1Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbzySPAQ/Cl WxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLWhsQDGcgH KXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsAAgIIAMSw AJTV8NZi2/5J/o8+dgPyjPMR6UlDm2pv4+RZj3tX6M2b39/qzwvuT/diLOhb6RyA jqdMF/a9P6JZ3uOukGvAnUaxsfAKeuG++YgH9uCijo6a/dkjLoszpuM6vzY9FBaw IO2Cizf1hwPa6VNc+GQE8qy9GR1X+H3P+2yJ2OQCdu4l5AaiKnalCe4K3/vdH01p TxbzrcaDJ949J/AkjOkg83lVwKcg9idYLpKKvkY8Vi1X79IZFUM5avqpZXsVXoVC pYMrOUlDG232VoijiMpBhauwPqFKr5MWyiCC0zLbZBwNeXeeDiO6ZNxzXEoHHjwN bWwAzey4DmD2lwnUc1CJAEYEGBECAAYFAjpRB+4ACgkQaeC2BVu8AIHNkwCfTd0U CYuhdCzijgYBlMGf03wIc1MAn0RAoBZD3/9CJbhSPcgjrdjGONXl =8vUO - -----END PGP PUBLIC KEY BLOCK----- -----BEGIN PGP SIGNATURE----- Version: PGP Personal Privacy 6.5.8 iQA/AwUBOvtd62ngtgVbvACBEQKA0QCcCOFrJvHgN4QohrNqgi05l2Fl9KEAoOZq CLpe/xJ+ppdMlNmbTVlSAw6H =Tmzm -----END PGP SIGNATURE----- From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri May 11 03:03:00 2001 Subject: [ic] affiliates Barry Steinman <Barry@DiscountChristian.Com> writes: > How does interchange keep track of affiliates? It doesn't per default, the demo catalog stores it in the transaction/orderline databases. > > Does it only keep track of total sales for affiliates? > No. > Can it keep track of what specific products were sold thru the affiliate? All data is there, you have to mine it :-) > > Does it let you enter a percentage of sales for each affiliate? > > If so is there any way to assign a specific affiliate commission per > product, if you don't want a flat percentage paid. There is no commission implemented, but it can be done (in fact I worked on such a system, mail me for more info). Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Renato Enea) Date: Fri May 11 03:27:00 2001 Subject: [ic] Many to many price schema Hello, thank you for reply. The suggestion is good but i think that this routine is useful using the [order] tag. But i have a result page with a single form to order items using mv_order_item and mv_order_quantity, so what do you suggest me ?? It is necessary to change the result page using always the [order] tag ?? Regards Renato ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@lists.akopia.com> Sent: Thursday, May 10, 2001 7:48 PM Subject: Re: [ic] Many to many price schema > "Renato Enea" <renea@enter.it> writes: > > > I have to create a price schema according to my database. > > This is the problem...for any product the customer can insert various prices > > according to item quantity for any users or for a specifical user. > > So i have a many to many relationship table with products and userdb tables > > with the following structure: > > > > COUNTER - SKU - USER ID - QUANTITY RANGE - PRICE > > > > So i can have for a single product (example: sku=1) many prices according to > > quantity and users.... > > > > 1 - 1 - 1 - 0,10 - 100 SKU=1 PRICE=100 QUANTITY RANGE = from 0 to 10 price > > specific for USERID = 1 > > 2 - 1 - - 0,10 - 110 SKU=1 PRICE=110 QUANTITY RANGE = from 0 to 10 price > > for any users (except for userid =1) > > > > 3 - 1 - 1 - 10,20 - 90 SKU=1 PRICE=90 QUANTITY RANGE = from 10 to 20 price > > specific for USERID = 1 > > 4 - 1 - - 10,20 - 100 SKU=1 PRICE=100 QUANTITY RANGE = from 10 to 20 > > price for any users (except for userid =1) > > > > and so on.... > > > > How can i solve this problem ?? > > I don't know if this is the best solution for your problem, > but you can define your own price calculator like this: > > # Pricing > UserTag calc_price Order code quantity > UserTag calc_price Routine <<EOF > sub { > my ($code, $quantity); > > if ($Vend::Interpolate::item) { > $code = $Vend::Interpolate::item->{code}; > $quantity = $Vend::Interpolate::item->{quantity}; > } else { > ($code, $quantity) = @_; > } > > # sanity check > if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) { > Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity"); > return; > } > > my $db = Vend::Data::database_exists_ref('price'); > my $keys = $db->query ("select price,min from price where component_idf = $code order by min"); > my $price; > > if (@$keys) { > # fallback price > $price = $keys->[0]->[0]; > # check for appropriate price > for (my $i = 0; $i < @$keys; $i++) { > if ($quantity > $keys->[$i]->[1]) { > $price = $keys->[$i]->[0]; > } > } > } > $price * 1.95583; > } > EOF > > CommonAdjust [calc_price] > > Ciao > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Renato Enea) Date: Fri May 11 04:36:00 2001 Subject: [ic] Error creating new tables Hello... I am trying to create a new table (prezzi), i have created prezzi.pgsql under dbconf/pgsql and prezzi.txt under products. Reconfiguring catalog i have this error on log file: - - - [11/May/2001:10:31:29 +0200] - - Using PostgreSQL, DSN=dbi:Pg:dbname=infot o. - - - [11/May/2001:10:31:32 +0200] - - infoto config error: No database object f or table: prezzi > > Probable mismatch of Database directive to database type, > for example calling DBI without proper modules or database > access. - - - [11/May/2001:10:31:32 +0200] - - Error reconfiguring catalog /cgi-bin/info to from running server (883) > Regards Renato Enea From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri May 11 04:40:00 2001 Subject: [ic] Many to many price schema "Renato Enea" <renea@enter.it> writes: > Hello, thank you for reply. > The suggestion is good but i think that this routine is useful using the > [order] tag. No, the output of [item-price] and friends is calculated by this routine, so it may indeed useful for you. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Fri May 11 07:04:01 2001 Subject: [ic] Setting a catalog variable on a page I have built a table, queries, for storing my SQL queries with names for them. At interchange startup the queries table is read and a Variable is set to hold the value of the SQL statement like this: Variable sql_select_items SELECT * FROM items Now we can say things like this: [query list=1 table=items sql=|__sql_select_items__| ] [list]some stuff<br>[/list] [/query] We did this because many of the SQL queries were getting long and complicated and we wanted an easier way to handle them. Now a developer would like to change the query using a IC page. We are able to make updates to the query table of course but how do we change the value of the Variable and have it be available catalog wide? I just tried using &Vend::Control::add_catalog("Catalog catalog") and it will reconfig the catalog and therefore set my catalog variables with their new values. Is this my best bet? Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 cfm@maine.com Sent by: interchange-users-admin@developer.akopia.com 05/10/2001 09:28 PM Please respond to interchange-users To: interchange-users@developer.akopia.com cc: Subject: Re: [ic] Setting a catalog variable on a page On Thu, May 10, 2001 at 05:49:06PM -0700, Dan B wrote: > At 04:33 PM 5/10/2001 -0400, you wrote: > >How can I set a catalog variable from a page and have it persist? > > > >I want to do something like this: > > > >page1.html: > >[perl] > > $Variable->{sql_select_items} = 'SELECT * FROM items'; > > return; > >[/perl] If you are referring to the "Catalog Variable" as one might use in the catalog.cfg, you can't (easily). By the time mv gets to the page it has forked and whatever you set will die with that fork. Let me guess, you are trying to redefine your catalog on the fly according to user/merchant/product? If my guess is wrong, I probably misread your question and the answer might be wrong too. If not, I'll share what we do: There already is Vend::Session->{values}. We store in that a number of items, a hash %M as $values->{M}, an overall configuration as $values->{SC}. These get dragged around (yeah, SC is big) with the session. SC will someday get loaded at start up, but we never seem to get out of prototype.... Anyway, SC, (site_config) is pretty much what you might use Catalog Variables for. It defines page layout, image sizes, tables available, templates - a lot of the things in the typical catalog.cfg. M is a lot lighter, it defines a merchant, their names and payment types, fine print, address block. It overrides some things within the larger context defined by SC. (That makes sense to me. :-)...) So rather than setting a catalog variable, we have an init routine for each page psuedo code: load_M(asdf) unless($values->{M}); load_SC(asdf) unless($values->{SC}); I've not looked into AUTOLOAD; that might well be appropriate. Anyway, if you learn how to stuff a hash into the session and retrieve it you can do anything. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Fri May 11 07:49:00 2001 Subject: [ic] Setting a catalog variable on a page bill@worldwideimpact.com wrote: > > I have built a table, queries, for storing my SQL queries with names for > them. At interchange startup the queries table is read and a Variable is > set to hold the value of the SQL statement like this: > Variable sql_select_items SELECT * FROM > items > Now we can say things like this: > [query > list=1 > table=items > sql=|__sql_select_items__| > ] > [list]some stuff<br>[/list] > [/query] > > We did this because many of the SQL queries were getting long and > complicated and we wanted an easier way to handle them. > > Now a developer would like to change the query using a IC page. We are > able to make updates to the query table of course but how do we change the > value of the Variable and have it be available catalog wide? > > I just tried using &Vend::Control::add_catalog("Catalog catalog") and it > will reconfig the catalog and therefore set my catalog variables with > their new values. Is this my best bet? > > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 [DEL] Why not creating a file like --------snip etc/sqlquery.txt-------- SELECT * FROM --------snip etc/sqlquery.txt-------- and using the codes like [seti sqlstring][file etc/sqlquery.txt][/seti] in your index or another first page to set the scratch variable first and you are able to overide it with [seti sqlstring]SELECT ANYFIELD FROM ANYTABLE etc.[/seti] ? ciao Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interchange-users at lists.akopia.com (Sergey Sheykin) Date: Fri May 11 09:16:00 2001 Subject: [ic] [sql-param this_field_value] Thank you! > -----Original Message----- > From: interchange-users-admin@lists.akopia.com > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Ed LaFrance > Sent: Tuesday, May 08, 2001 7:48 PM > To: interchange-users@lists.akopia.com > Subject: Re: [ic] [sql-param this_field_value] > > > At 03:30 PM 05/08/2001 +0400, you wrote: > >Hi, > > > >know anybody, how can I set [sql-param this_field_value] value > >to a perl-variable ? > > > >This : > > > >[perl arg="scratch" interpolate="1"] > >$this_field_value="[sql-param this_field_value]"; > >$Safe{'scratch'}{'this_field_value'}=$this_field_value; > >[/perl] > > > >not work, if a value contains a quote(") simbol. > > Try using generalized quoting: > > $this_field_value=q{[sql-param this_field_value]}; > > - Ed L. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Renato Enea) Date: Fri May 11 09:53:00 2001 Subject: [ic] Many to many price schema Hi again...i modified your routine according to my database structure: UserTag calc_price Order code quantity UserTag calc_price Routine <<EOF sub { my ($code, $quantity); if ($Vend::Interpolate::item) { $code = $Vend::Interpolate::item->{code}; $quantity = $Vend::Interpolate::item->{quantity}; } else { ($code, $quantity) = @_; } # sanity check if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) { Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity"); return; } my $db = Vend::Data::database_exists_ref('products'); my $keys = $db->query ("select price from prezzi where sku='$code' and nome = '$Vend::Session->{username}' and min<='$quantity' and max>='$quantity'"); my $price; if (@$keys) { # fallback price $price = $keys->[0]->[0]; # check for appropriate price #for (my $i = 0; $i < @$keys; $i++) { #if ($quantity > $keys->[$i]->[1]) { #$price = $keys->[$i]->[0]; #} #} } else { my $keys = $db->query ("select price from prezzi where sku='$code' and nome is null and min<='$quantity' and max>='$quantity'"); $price = $keys->[0]->[0]; } } EOF CommonAdjust [calc_price] and using the tag: [calc_price code="405153283" quantity="1"] works well... the problem is now that the tag [item-price] does not show the correct prize and ordering the product the basket does not show the correct price. How can i do to show always the prize calculated by the routine ?? Regards Renato Enea ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@developer.akopia.com> Sent: Friday, May 11, 2001 10:04 AM Subject: Re: [ic] Many to many price schema > "Renato Enea" <renea@enter.it> writes: > > > Hello, thank you for reply. > > The suggestion is good but i think that this routine is useful using the > > [order] tag. > > No, the output of [item-price] and friends is calculated by this > routine, so it may indeed useful for you. > > Bye > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri May 11 10:37:00 2001 Subject: [ic] Many to many price schema "Renato Enea" <renea@enter.it> writes: > Hi again...i modified your routine according to my database structure: > > UserTag calc_price Order code quantity > UserTag calc_price Routine <<EOF > sub { > my ($code, $quantity); > > if ($Vend::Interpolate::item) { > $code = $Vend::Interpolate::item->{code}; > $quantity = $Vend::Interpolate::item->{quantity}; > } else { > ($code, $quantity) = @_; > } > > # sanity check > if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) { > Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity"); > return; > } > my $db = Vend::Data::database_exists_ref('products'); > my $keys = $db->query ("select price from prezzi where sku='$code' and nome > = '$Vend::Session->{username}' and min<='$quantity' and max>='$quantity'"); > my $price; > > if (@$keys) { > # fallback price > $price = $keys->[0]->[0]; > # check for appropriate price > #for (my $i = 0; $i < @$keys; $i++) { > #if ($quantity > $keys->[$i]->[1]) { > #$price = $keys->[$i]->[0]; > #} > #} > } > else { > my $keys = $db->query ("select price from prezzi where sku='$code' and nome > is null and min<='$quantity' and max>='$quantity'"); > $price = $keys->[0]->[0]; > } > > > } > EOF > > CommonAdjust [calc_price] > > and using the tag: > > [calc_price code="405153283" quantity="1"] > > works well... > > the problem is now that the tag [item-price] does not show the correct prize > and ordering the product the basket does not show the correct price. > How can i do to show always the prize calculated by the routine ?? Hmm, maybe this works only with IC 4.7.x. Check if you get the correct code and quantity into calc_price and look for the SQL statements in your database logs. Maybe you need [perl tables="prezzi"][/perl] on top of your basket page. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Renato Enea) Date: Fri May 11 11:13:00 2001 Subject: [ic] Many to many price schema Hi...it works well....i need only to delete the price value on the products table. Thank you very much !! Regards Renato Enea ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@developer.akopia.com> Sent: Friday, May 11, 2001 4:33 PM Subject: Re: [ic] Many to many price schema > "Renato Enea" <renea@enter.it> writes: > > > Hi again...i modified your routine according to my database structure: > > > > UserTag calc_price Order code quantity > > UserTag calc_price Routine <<EOF > > sub { > > my ($code, $quantity); > > > > if ($Vend::Interpolate::item) { > > $code = $Vend::Interpolate::item->{code}; > > $quantity = $Vend::Interpolate::item->{quantity}; > > } else { > > ($code, $quantity) = @_; > > } > > > > # sanity check > > if ($code !~ /^\d+$/ || $quantity !~ /^\d+$/) { > > Log ("Wrong input for calc_price: CODE $code QUANTITY $quantity"); > > return; > > } > > my $db = Vend::Data::database_exists_ref('products'); > > my $keys = $db->query ("select price from prezzi where sku='$code' and nome > > = '$Vend::Session->{username}' and min<='$quantity' and max>='$quantity'"); > > my $price; > > > > if (@$keys) { > > # fallback price > > $price = $keys->[0]->[0]; > > # check for appropriate price > > #for (my $i = 0; $i < @$keys; $i++) { > > #if ($quantity > $keys->[$i]->[1]) { > > #$price = $keys->[$i]->[0]; > > #} > > #} > > } > > else { > > my $keys = $db->query ("select price from prezzi where sku='$code' and nome > > is null and min<='$quantity' and max>='$quantity'"); > > $price = $keys->[0]->[0]; > > } > > > > > > } > > EOF > > > > CommonAdjust [calc_price] > > > > and using the tag: > > > > [calc_price code="405153283" quantity="1"] > > > > works well... > > > > the problem is now that the tag [item-price] does not show the correct prize > > and ordering the product the basket does not show the correct price. > > How can i do to show always the prize calculated by the routine ?? > > Hmm, maybe this works only with IC 4.7.x. Check if you get the correct > code and quantity into calc_price and look for the SQL statements > in your database logs. > > Maybe you need [perl tables="prezzi"][/perl] on top of your basket > page. > > Bye > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Mike Heins) Date: Fri May 11 11:19:01 2001 Subject: [ic] still can't install 4.7.1 on irix 6.5 Quoting Darren Bayliss (darrenb@spgroup.co.uk): > Hello, > > I have downloaded 4.7.1 and ran the 'configure' script. This is part of the > error message i received; > > Manifying blib/man1/interchange.1 > PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib > -I/usr/freewarel > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......The Interchange server is already running (process id > 298) > ok 4 > link/inetmode.........ok 5 > server/control........not ok 6 > ok 6 > 6 tests run -- 1/6 failed. > *** Error code 1 (bu21) > 6# > > This is one better than before, which is a partial success. I then changed > 'lockType' to specify 'fcnctl' but then the script wouldn't run at all (NOT > SAFE was the error). Also it was suggested that i run a 'makecat' > to see if i could get interchange running, this isn't possible, as the > script requires interchange to be installed (?); > (from makecat.PL) > #$self = { > # INSTALLPRIVLIB => '/usr/local/interchange/lib', > # INSTALLARCHLIB => '/usr/local/interchange', > > whereas nothing is installed after i have ran the configure script. > > Some pointers would be great. If the problem is a scripting error, could > people please be specific as it is not really my forte (couldn't get the > accent to work, sorry). > by the way, my system is running NFS. > Regards, > Try just doing a "make install" anyway, and then build a catalog using UNIX mode as the link method. There are several reasons the inet mode test can fail (firewalls, wrong system libs, etc.). -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: interchange-users at lists.akopia.com (Mike Heins) Date: Fri May 11 11:26:01 2001 Subject: [ic] IC_TEST_CREATE table Quoting Chad Leigh, Shire.Net LLC (chad@shire.net): > As an example, the IC_TEST_CREATE table was not being dropped when > configuring the database because the "drop table ic_test_creste" statement > is not SQL92 compliant, according to the FrontBase support team. It needs > to be "drop table ic_test_create cascade" or "drop table ic_test_create > restrict". Is there a way with interchange to specify, similar to the > abpve CREATE_SQL parameter, a DROP_SQL type parameter to specify howto drop > the IC_TEST_CREATE table? Sure -- add it to the code, which is quite easy. It would pretty much be: my $drop_statement = $config->{IC_DROP_TEST_SQL} || "drop table _TABLE_"; $drop_statement =~ s/\b_TABLE_\b/$table/g; > > Additionally, inserting sample values. TIMESTAMP or DATE values, according > to QL92 standard as outlined by FrontBase support, needs to be: > > "INSERT INTO FOO(COL) VALUES (DATE '2001-05-02')" or whatever > and not "INSERT INTO FOO(COL) VALUES ('2001-05-02')" (no DATE specifier) > > Is there a way to give hints to the interchange config scripts on how to > construct the SQL insert statements with the sample data? > > They reference the latest CJ Date SQL book as containing the SQL92 > standard. I don't have tatbook available so I have to take their word for > it. > Hmm. Never heard of that one. This is a much more difficult issue, as it essentially has to "filter" an insert value. Hard to do, but I have looked at ways to do this in the past. There is even some filter capability that is there, but I am not sure it would work on table creation. This seems to be more properly a DBD driver issue, as placeholders need to be able to generate statements like this. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: interchange-users at lists.akopia.com (Mike Heins) Date: Fri May 11 11:29:00 2001 Subject: [ic] Setting a catalog variable on a page Quoting bill@worldwideimpact.com (bill@worldwideimpact.com): > How can I set a catalog variable from a page and have it persist? > > I want to do something like this: > > page1.html: > [perl] > $Variable->{sql_select_items} = 'SELECT * FROM items'; > return; > [/perl] > > page2.html: > __sql_select_items__ In 4.6 you can't. And you don't mention whether it is just to be for this user -- if it is you could never do that. In 4.7 variables can be dynamic from a database or file; you keep it in the "variable" table and just change the value. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> In character, in manners, in style, in all things, the supreme excellence is simplicity. -- Longfellow From: interchange-users at lists.akopia.com (Darren Bayliss) Date: Fri May 11 12:32:01 2001 Subject: [ic] still can't install 4.7.1 on irix 6.5 i have tried the 'make install' and it just terminates suddenly; origin2 6# perl Makefile.PL make install Interchange cannot be run as root. Which user should run Interchange? [interch] Interchange V4.7.1 Copyright (C) 1996-2001 Red Hat, Inc. <info@akopia.com> Interchange is free under the terms of the GNU General Public License. Where is your Interchange to be installed? [/usr/local/interchange] Writing Makefile for Interchange origin2 7# And that's it, no errors no nothing. Has anyone else installed on irix 6.5 ?? Regards Darren Bayliss e-SP darrenb@spgroup.co.uk > ---------- > From: Mike Heins > Reply To: interchange-users@developer.akopia.com > Sent: Friday, May 11, 2001 4:22 pm > To: interchange-users@developer.akopia.com > Subject: Re: [ic] still can't install 4.7.1 on irix 6.5 > > Quoting Darren Bayliss (darrenb@spgroup.co.uk): > > Hello, > > > > I have downloaded 4.7.1 and ran the 'configure' script. This is part of > the > > error message i received; > > > > Manifying blib/man1/interchange.1 > > PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib > > -I/usr/freewarel > > server/unixmode.......ok 1 > > server/startup........ok 2 > > link/unixmode.........ok 3 > > server/inetmode.......The Interchange server is already running (process > id > > 298) > > ok 4 > > link/inetmode.........ok 5 > > server/control........not ok 6 > > ok 6 > > 6 tests run -- 1/6 failed. > > *** Error code 1 (bu21) > > 6# > > > > This is one better than before, which is a partial success. I then > changed > > 'lockType' to specify 'fcnctl' but then the script wouldn't run at all > (NOT > > SAFE was the error). Also it was suggested that i run a 'makecat' > > to see if i could get interchange running, this isn't possible, as the > > script requires interchange to be installed (?); > > (from makecat.PL) > > #$self = { > > # INSTALLPRIVLIB => '/usr/local/interchange/lib', > > # INSTALLARCHLIB => '/usr/local/interchange', > > > > whereas nothing is installed after i have ran the configure script. > > > > Some pointers would be great. If the problem is a scripting error, could > > people please be specific as it is not really my forte (couldn't get the > > accent to work, sorry). > > by the way, my system is running NFS. > > Regards, > > > > Try just doing a "make install" anyway, and then build a catalog > using UNIX mode as the link method. There are several reasons > the inet mode test can fail (firewalls, wrong system libs, etc.). > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > If you like what you're gettin', keep doin' what you're doin'. -- Hector > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (Darren Bayliss) Date: Fri May 11 12:59:01 2001 Subject: [ic] Has anyone installed Interchange on irix 6.5?? Hello, Has anyone managed to install interchange onto irix 6.5, or any other irix version for that matter. I would be gratefull for any info. See 'can't install onto irix 6.5' in the interchange mailing archive for further info. cheers, Darren Bayliss e-SP darrenb@spgroup.co.uk From: interchange-users at lists.akopia.com (Jason Korkin) Date: Fri May 11 13:07:00 2001 Subject: [ic] Has anyone installed Interchange on irix 6.5?? Darren, We've install it on several occasions... do this: configure make make install Skip the make test and it should install okay. Jason. Darren Bayliss wrote: > > Hello, > Has anyone managed to install interchange onto irix 6.5, or any other irix > version for that matter. > I would be gratefull for any info. > See 'can't install onto irix 6.5' in the interchange mailing archive for > further info. > > cheers, > > Darren Bayliss > e-SP > darrenb@spgroup.co.uk > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (Jon Jensen) Date: Fri May 11 13:29:01 2001 Subject: [ic] latest CVS 4.7.x Broke? On Thu, 10 May 2001, Jake Thompson wrote: > I have checked out 4.7.2 from CVS and created the RPM packages using > the SPEC file. > A couple of problems.... > 1. Init script will not start interchange, must use restart or > interchange -r > 2. Once interchange is running, it seems that catalogs are not > connecting to server. I perpetually get that interchange is > temporarily unvailable or having high load averages. Thanks for the report; I've changed quite a bit on the RPMs for 4.7 and they haven't been tested yet. I'll take a look at these problems. Jon From: interchange-users at lists.akopia.com (Barry Steinman) Date: Fri May 11 13:49:00 2001 Subject: [ic] static regen of my dynamic pages Does anyone have a site up and running or a demo running of an interchange based shop where they have used static regeneration of dynamic pages. I would like to see what it looks like. Barry -- Barry Steinman Discount Christian Software & Books P.O. Box 4201, Carlsbad, CA 92018-4201 Sales@DiscountChristian.Com Call Toll Free: 1-888-WordSoft 1-888-967-3763 http://www.DiscountChristian.Com fax & voice: 1-760-722-6180 From: interchange-users at lists.akopia.com (Jon Jensen) Date: Fri May 11 13:56:01 2001 Subject: [ic] Alpha test version 4.7.2 available A new development version of Interchange is available for testing. Many new features are included, and numerous bugfixes have been made, but this is still experimental and NOT FOR PRODUCTION USE. Read what's new at: http://developer.akopia.com/pub/interchange/alpha/WHATSNEW Download it from: http://developer.akopia.com/pub/interchange/alpha/interchange-4.7.2.tar.gz Jon From: interchange-users at lists.akopia.com (Jason Korkin) Date: Fri May 11 13:59:00 2001 Subject: [ic] UserDB Question Hi everyone... The UserDB doc's state that we can use essentially any table for the userDB. Here is what I'm attempting to do: [set Login] mv_todo=return mv_nextpage=manage/mainmenu.html [userdb function=login database="vendor_account"] [/set] After we post the form, I go to test to see if the customer is then logged in, [if session logged_in] You are logged in! [else] Please login [/else] [/if] It always comes back saying "Please login." Am I missing something here? We're using Interchange 4.6.0. Any ideas? Regards, 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 http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Fri May 11 15:18:18 2001 Subject: [ic] Socket problems with old MV-3.14 catalog Perhaps someone will be able to offer some insight on this? Perl: version 5.005_03 OS: Red Hat Linux release 6.2 (Zoot) Kernel 2.2.14-5.0smp on an i686 MV: 3.14 Apache: 1.3.19 No changes have been made to the above configuration; however, a client's catalog, running in a virtual domain with its own MV installation, suddenly took ill within the last 24 hours. Any attempts to pull up the catalog result in a 500 error, or 'We're Sorry,...unavailable' when a locale path construct is used. Nothing in the catalog or mvend error logs. Apache's error log is filled with messages like this since the problem manifested itself: ALERT: MiniVend /cgi-bin/catname.cgi signal: Broken pipe (0) ALERT: MiniVend server (216.10.1.117 7781) not running for /cgi-bin/catname.cgi [Fri May 11 09:43:28 2001] [error] [client 212.155.248.22] Premature end of script headers: /home/username/html/cgi-bin/catname.cgi I've tried the usual list of Minivend and *nix-related fixes, to no avail. Obviously something has changed, but my bag of tricks is empty. Other MV installs (same version) in other virtual domains on the other server are running fine. I have not yet reinstalled MV for this user - that will be my next act, baring any better insights. Perhaps someone has been down this road before? Any suggestions, no matter how seemingly obvious, will be appreciated! Thanks in advance - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri May 11 15:41:01 2001 Subject: [ic] UserDB Question Jason Korkin <jkorkin@korksoft.com> writes: > Hi everyone... > > The UserDB doc's state that we can use essentially any table for the > userDB. Here is what I'm attempting to do: > > [set Login] > mv_todo=return > mv_nextpage=manage/mainmenu.html > [userdb function=login database="vendor_account"] > [/set] At least you have to check the success of the login, this works with 4.7.x: [set Login] [if type=explicit compare="[userdb function=login database=access]"] [seti welcome][L]Herzlich willkommen[/L], [data base="company" key="[data session username]" col=name foreign=login][/seti] [seti email][data base="company" key="[data session username]" col=email foreign=login][/seti] [value name=email set="[scratchd email]" hide=1] mv_nextpage=internal/index [else] mv_nextpage=login_failed [/else] [/if] [/set] Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Ryan Hertz) Date: Fri May 11 16:26:00 2001 Subject: [ic] Admin errors? I'm not certain of this, but you may need to restart IC. At 09:03 AM 5/10/01 , you wrote: >Hello, > >I am get errors on admin/login that act like I do >not have Bundle::Interchange installed. For >example: > >SQL::Statement not found. >IMPORTANT: UI Database editors will not work >properly. > >Safe::Hole not found. >IMPORTANT: SQL and some tags will not work in >embedded Perl. > >After trying "perl -MCPAN -e 'install >Bundle::Interchange'" with no success, I have >downloaded and installed Bundle::Minivend and >Bundle::Interchange. ( I think Bundle::Minivend >is a super-set of Bundle::Interchange). But I am >still getting the error. > >Any one run in to this? I am running redhat 7.1 >and Interchange 4.6. > >Thank you for your time, >Richard Eicher II > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Auctions - buy the things you want at great prices >http://auctions.yahoo.com/ >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: interchange-users at lists.akopia.com (Ryan Hertz) Date: Fri May 11 16:29:02 2001 Subject: [ic] has anyone figured this out? At 07:10 PM 5/10/01 , Gift Bound Gifts wrote: >when you go to create options and click the update button you get a >internal error in interchange 4.7.2. This is whats in the error log: > >24.4.252.86 qb9imasV:24.4.252.86 - [10/May/2001:18:34:48 -0700] foundation >/cgi-giftbound/cart.cgi/admin/item_option.html Runtime error: gdbm store >returned -1, errno 2, key "kgift_cert" at >/home/giftbound/interchange/lib/Vend/Table/Common.pm line 387. > > > >Whats going on? Please help. I think I saw that this is in bugzilla. (i.e. it will be fixed) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: interchange-users at lists.akopia.com (Toni Mueller) Date: Fri May 11 17:14:00 2001 Subject: [ic] CVS problem? Hello, today I get "access denied" when trying to log into the CVS server. It says: $ cvs login (Logging in to anon_cvs@cvs.akopia.com) CVS password: cvs [login aborted]: authorization failed: server cvs.akopia.com rejected access when following the instructions on http://developer.akopia.com/cgi-bin/ic/cvs.html. What gives? Best Regards, --Toni++ From: interchange-users at lists.akopia.com (Jim Balcom) Date: Fri May 11 17:37:01 2001 Subject: [ic] CVS problem? On Fri, 11 May 2001, Toni Mueller wrote: TM>>today I get "access denied" when trying to log into the CVS server. TM>>It says: TM>> TM>>$ cvs login TM>>(Logging in to anon_cvs@cvs.akopia.com) TM>>CVS password: TM>>cvs [login aborted]: authorization failed: server cvs.akopia.com rejected access TM>> TM>>when following the instructions on http://developer.akopia.com/cgi-bin/ic/cvs.html. Jon has been moving some stuff around over there. I suspect that he hasn't gotten the links or DNS entries set up right yet. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, May 11, 2001 at 17:40 PM: Oxymoron: Whole Half. ---------------------------------------------------------------- This Linux System has been up 314 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Ben Mirecki) Date: Fri May 11 17:52:00 2001 Subject: [ic] RE: Interchange-users -- confirmation of subscription -- request 932694 -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of interchange-users-request@developer.akopia.com Sent: Friday, May 11, 2001 5:50 PM To: ben@quadrantfive.com Subject: Interchange-users -- confirmation of subscription -- request 932694 Interchange-users -- confirmation of subscription -- request 932694 We have received a request from 216.189.14.41 for subscription of your email address, <ben@quadrantfive.com>, to the interchange-users@lists.akopia.com mailing list. To confirm the request, please send a message to interchange-users-request@lists.akopia.com, and either: - maintain the subject line as is (the reply's additional "Re:" is ok), - or include the following line - and only the following line - in the message body: confirm 932694 (Simply sending a 'reply' to this message should work from most email interfaces, since that usually leaves the subject line in the right form.) If you do not wish to subscribe to this list, please simply disregard this message. Send questions to interchange-users-admin@lists.akopia.com. From: interchange-users at lists.akopia.com (Dan B) Date: Fri May 11 18:27:00 2001 Subject: [ic] Error creating new tables At 10:43 AM 5/11/2001 +0200, you wrote: >Hello... >I am trying to create a new table (prezzi), i have created prezzi.pgsql >under dbconf/pgsql and prezzi.txt under products. >Reconfiguring catalog i have this error on log file: > >- - - [11/May/2001:10:31:29 +0200] - - Using PostgreSQL, >DSN=dbi:Pg:dbname=infot >o. >- - - [11/May/2001:10:31:32 +0200] - - infoto config error: No database >object f >or table: prezzi > > > > Probable mismatch of Database directive to database type, > > for example calling DBI without proper modules or database > > access. >- - - [11/May/2001:10:31:32 +0200] - - Error reconfiguring catalog >/cgi-bin/info >to from running server (883) I don't know why that's not working for you, it sounds like a problem in your .pgsql file. You could rule out that it's not your .txt file by CREATE'ing the table by hand and 'touch'ing a prezzi.sql file in the products/ directory. (That would narrow it down to a problem with your .pgsql file at least). Let me know how it goes, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (ben schlaver) Date: Fri May 11 21:17:00 2001 Subject: [ic] using the perl api for ord/basket I am in the situation below, however regarding a globalsub. So how in PERL do we: [mvasp tables="products pricing"] in the globalsub? ben ------ Forwarded Message From: Mike Heins <mikeh@minivend.com> Reply-To: interchange-users@lists.akopia.com Date: Mon, 30 Apr 2001 04:52:29 -0400 To: interchange-users@lists.akopia.com Subject: Re: [ic] using the perl api for ord/basket Quoting Doug Alcorn (doug@lathi.net): > for various reasons i'm trying to redo the ord/basket using mvasp > instead of iml. However, i'm having some fundamental problems > accessing some of the data. basically I have a block that looks like > this: > > [mvasp] > <% > foreach my $item (@{$Items}) { > my $itemcode = $item->{code}; > my $table = $item->{mv_ib}; > my $itemdesc = $Tag->data({table=>$table, field=>'description', key=>$itemcode}); > # my $itemdesc = $Tag->description({code=>$itemcode}); > my $price = $Tag->data({table=>$table, field=>'price', $key=>$itemcode}); > HTML "$itemcode, $table, $itemdesc, $price<br>"; > } > %> > [/mvasp] > > I can get out the correct $itemcode and $table with this. I just > can't seem to get the $itemdesc and $price. I must be missing > something simple. It's way too late in this coding session for me to > see it. Perhaps [mvasp tables="products pricing"] would help. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users ------ End of Forwarded Message From: interchange-users at lists.akopia.com (Russ Mann) Date: Fri May 11 23:50:01 2001 Subject: [ic] CC Info in UserDB Dear List, Well, i havn't had any response to my previous question on this topic, but I did find out some useful stuff and have more questions. This part of checkout.html: <input type="hidden" name="mv_order_route" value="[either]__ORDER_ROUTES__[or]log log_entry main copy_user[/either]"> does not normally have log_entry in it. I added it here, and to the ORDER_ROUTES variable. Now the file in /etc/log_entry is being run when I checkout. The contents of it are currently: #### begin [value mv_order_number] ##### [seti transaction_record] [tag flag write]userdb inventory[/tag] [if cgi new_customer_id] [or !cgi customer_id] Add new customer: [value name=customer_id set="[counter etc/customer.number]"] Set password: [value name=password set="[value name=zip filter='word uc']"] [/if] Update userdb: [perl table=userdb] my $id = $Values->{username} = $Values->{customer_id}; my $op = "mac"; @always = qw/ company fname lname address1 address2 city state zip country phone_day mv_shipmode mv_credit_card_type mv_credit_card_exp_month mv_credit_card_exp_year mv_credit_card_xref mv_credit_card_info email phone_night fax_order email_copy mail_list /; @sometimes = qw/ password b_fname b_lname b_address1 b_address2 b_city b_state b_zip b_country b_phone fax credit_limit /; my $db = $Db{userdb}; if(! $db->record_exists($id)) { $db->set_row($id); $db->set_field($id, 'password', $Values->{password}); } for(@always) { $Tag->filter($op, $Values->{$_}); Log("Always: $_: $Values->{$_}"); $db->set_field($id, $_, $Values->{$_}); } for (@sometimes) { next unless $Values->{$_} =~ /\S/; $Tag->filter($op, $Values->{$_}); Log("Sometimes: $_: $Values->{$_}"); $db->set_field($id, $_, $Values->{$_}); } return "Updated customer record."; [/perl] [comment][perl] Log("Starting entry."); [/perl][/comment] #### end [value mv_order_number] ##### I added the Log entries to debug the script, and everything goes through and shows up in the log file, including mv_credit_card_info, which is a PGP encrypted field. I added the $Tag->filter to accommodate the cc info field. Everything EXCEPT mv_credit_card_info is appropriately updated and saved in the userdb. I know the mv_credit_card_info is still set in the session, because when I go back to the checkout section without logging out, it is still in there. So, any ideas folks? Thanks, Russ From: interchange-users at lists.akopia.com (Russ Mann) Date: Sat May 12 00:18:01 2001 Subject: [ic] CC Info in UserDB Dear List, Ok, one more thing. When I go throught the order process a 2nd time w/o logging out, the mv_credit_card_info is still in the session, and it doesn't try to set it again (based on some logic i have in the profile.order, which says "if !value mv_credit_card_info then try to verify CC and set mv_credit_card_info").. when it goes through the 2nd time the log_entry code actually DOES set it in the userdb. So, what causes the mv_credit_card_info variable to be empty when i just put in the CC# + expire, then run the log_entry route, but it is NOT empty the next time around? Thanks, Russ -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Russ Mann Sent: Friday, May 11, 2001 9:53 PM To: Interchange-Users Subject: [ic] CC Info in UserDB Dear List, Well, i havn't had any response to my previous question on this topic, but I did find out some useful stuff and have more questions. This part of checkout.html: <input type="hidden" name="mv_order_route" value="[either]__ORDER_ROUTES__[or]log log_entry main copy_user[/either]"> does not normally have log_entry in it. I added it here, and to the ORDER_ROUTES variable. Now the file in /etc/log_entry is being run when I checkout. The contents of it are currently: #### begin [value mv_order_number] ##### [seti transaction_record] [tag flag write]userdb inventory[/tag] [if cgi new_customer_id] [or !cgi customer_id] Add new customer: [value name=customer_id set="[counter etc/customer.number]"] Set password: [value name=password set="[value name=zip filter='word uc']"] [/if] Update userdb: [perl table=userdb] my $id = $Values->{username} = $Values->{customer_id}; my $op = "mac"; @always = qw/ company fname lname address1 address2 city state zip country phone_day mv_shipmode mv_credit_card_type mv_credit_card_exp_month mv_credit_card_exp_year mv_credit_card_xref mv_credit_card_info email phone_night fax_order email_copy mail_list /; @sometimes = qw/ password b_fname b_lname b_address1 b_address2 b_city b_state b_zip b_country b_phone fax credit_limit /; my $db = $Db{userdb}; if(! $db->record_exists($id)) { $db->set_row($id); $db->set_field($id, 'password', $Values->{password}); } for(@always) { $Tag->filter($op, $Values->{$_}); Log("Always: $_: $Values->{$_}"); $db->set_field($id, $_, $Values->{$_}); } for (@sometimes) { next unless $Values->{$_} =~ /\S/; $Tag->filter($op, $Values->{$_}); Log("Sometimes: $_: $Values->{$_}"); $db->set_field($id, $_, $Values->{$_}); } return "Updated customer record."; [/perl] [comment][perl] Log("Starting entry."); [/perl][/comment] #### end [value mv_order_number] ##### I added the Log entries to debug the script, and everything goes through and shows up in the log file, including mv_credit_card_info, which is a PGP encrypted field. I added the $Tag->filter to accommodate the cc info field. Everything EXCEPT mv_credit_card_info is appropriately updated and saved in the userdb. I know the mv_credit_card_info is still set in the session, because when I go back to the checkout section without logging out, it is still in there. So, any ideas folks? Thanks, Russ _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Mike Zimmerman) Date: Sat May 12 02:31:01 2001 Subject: [ic] Gift certificate page generator? I'm trying to locate the template that controls how the gift certificate page (accessed from the gift certificate link on the left hand menu in the foundation store) is generated. Currently, a bug exists where the form is closed before the submit button is output, making it non functional. This is in the latest 4.7.x CVS. Thanks. From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sat May 12 11:49:00 2001 Subject: [ic] UserTag table_editor 4.7.2 Hi I\'m getting this error [interch@village interchange]$ bin/interchange -r Killing Interchange server 11666 with TERM. Low traffic settings. Calling UI...Interchange V4.7.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 24599) I\'ve looked everywhere for UserTag table_editor and can\'t find it any ideas where to look or what to do I\'m really stuck Many thanks Paul Sent from Leicestershirelink ----- Get involved at http://www.leicestershirelink.co.uk From: interchange-users at lists.akopia.com (Jeromie Clark) Date: Sat May 12 15:11:01 2001 Subject: [ic] Voiding A Transaction Doesn't Return Product To Inventory Hello - I'm running Interchange 4.6. We sell concert tickets with Interchange, and are trying to use the inventory control to maintain an accurate count of tickets to prevent us from overselling an event. The problem is that when we void a transaction, or a transaction isn't completely processed, the product is still removed from inventory. The thing that really surprised me was that the inventory wasn't updated when we set a transaction status to void. Do I need to build a void feature, or is there a facility that already does this in interchange. I don't want to reinvent the wheel if I don't have to. TIA, Jeromie Clark __________________________________ Jeromie Clark Vice President - Information Technology http://www.smoothjazz.com/ Office Line: 831.649.1223 Direct Line: 877.626.9694 __________________________________ From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sat May 12 18:17:01 2001 Subject: [ic] perl mods does anyone know of a way to install mods to a virt server I have tried the PREFIX thing and it makes then tests but when i go to install it tells me it doesn't have permission any help would be appreciated HotPies ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. From: interchange-users at lists.akopia.com (Jim Balcom) Date: Sat May 12 18:36:00 2001 Subject: [ic] perl mods >>does anyone know of a way to install mods to a virt server >> >>I have tried the PREFIX thing and it makes then tests but when i go to >>install it tells me it doesn't have permission any help would be >>appreciated Are you playing with the server itself? Do you have root access? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, May 12, 2001 at 18:40 PM: Enter that again, just a little slower. ---------------------------------------------------------------- This Linux System has been up 339 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Rene Hertell) Date: Sun May 13 02:28:00 2001 Subject: [ic] perl mods > >>does anyone know of a way to install mods to a virt server > >> > >>I have tried the PREFIX thing and it makes then tests but when i go to > >>install it tells me it doesn't have permission any help would be > >>appreciated > > Are you playing with the server itself? > > Do you have root access? > If you dont have root-access, then use the cpan_local_install script found in the interchange-dir. Rene From: interchange-users at lists.akopia.com (wayne kerrxp) Date: Sun May 13 03:04:00 2001 Subject: [ic] mysql options reqd for std RH 7.1 Hi List, I have a redHat 7.1 intel box intended to be a platform for interchange-4.6.5-1.rh7.i386.rpm. Th RedHat installation is completely standard, actually I installed everything, and mysql and apache are started automagically on start up. So far so good. Everything is kewl until I run makecat contruct, the I get confused about possible options for mysql. As follows: <config> Set to 1 if you want to use MySQL, PostgreSQL, or Oracle: ..1 You can select this to use MySQL in your test catalog. Careful! This requires the ability to create a database named "test_construct", and is highly dependent on your Perl and MySQL configuration. Don't be too surprised if this doesn't work. Set to 1 if you want to use MySQL: ...............1 Database to use (will be created): ...............test_construct DBI DSN to use: ..................................dbi:mysql:test_construct Username for MySQL (if any): ..................... Password for MySQL (if any): ..................... We can try and use mysqladmin to create the database in MySQL. In many default MySQL distributions, any user can create a database beginning with "test". Use the next option to add parameters. If your MySQL is password-protected (and you know the password) you may want to add "-u root -p". Set to 1 to create 'test_construct' with mysqladmin: ..1 To create the database you may need to supply a password and username. To do that, add the option "-u USERNAME -p", where USERNAME is a MySQL user with permission to create databases. This is often the user "root". Extra options for creation: ...................... You can use Interchange's companion configuration interface, to do upload/download of files, manipulation of the database, reconfiguration of the catalog, and much more. To enable the UI, you will need a "super-user" account name that has full access. The initial password is "pass". CHANGE IT! You can do this by going to the admin menu and selecting the superuser and then "Change password". Account name that will control this catalog: .....interchange Administrative password: .........................pass Found system commands to run. Since you selected the MySQL option, you need to create a database named "test_construct". In a default MySQL configuration, any user may create and drop and modify test_* databases, but some administrators disable this. run "mysqladmin create test_construct"? y mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)' </config> Oh Dear, I'm gonna read the fine mysql manual quite soon, but I have a guy waiting for his interchange machine, and if it's available Mon morning he'll be exstatic, if not, the opposite. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sun May 13 03:55:00 2001 Subject: [ic] can't restart... out of memory is there any way to use less memory in 4.7.2 ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Sun May 13 05:54:01 2001 Subject: [ic] can't restart... out of memory hotpies@juno.com writes: > is there any way to use less memory in 4.7.2 How many memory is available ? Do you use SQL databases ? Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Dave Bizzigotti) Date: Sun May 13 11:53:00 2001 Subject: [ic] help Please help i'm getting this server/misconfiguration error(500) 24.4.252.64 kViabcGw:24.4.252.80 - [11/May/2001:21:11:21 -0400] copytone /~copytone/cgi-bin/cart.cgi/scan/.html Bad SQL, query was: > SELECT sku,timed_promotion,start_date,finish_date > FROM merchandising > WHERE featured = 'specials' > 24.4.252.64 kViabcGw:24.4.252.80 - [11/May/2001:21:11:34 -0400] copytone /~copytone/cgi-bin/cart.cgi/process.html Runtime error: Can't locate object method "dup" via package "SQL::Parser" at /usr/local/cpanel/3rdparty/interchange/lib/SQL/Statement.pm line 379. > From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sun May 13 17:59:01 2001 Subject: [ic] re: can't restart... out of memory no I am not using SQL I am using the default and when it tries to start it stops and says it is out of memory any help would be appreciated HotPies ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Sun May 13 18:49:00 2001 Subject: [ic] cart contents empty in ssl? Im using interchange 4.7.3 heres whats going on in ssl mode cart contents are empty. Whats going on? From: interchange-users at lists.akopia.com (Leah Zhang Packett) Date: Sun May 13 20:25:01 2001 Subject: [ic] verisign payflow link intergration hi all, I am new with interchange, I have setup a website call www.giftblossom.com. and now I am trying to get the payflow link to work with Interchange, and having some problem with it. Do you have any instructions on how to implement pay flow link from verisign to work with Interchange? Thanks, Leah Z. Packett Compuwerx International Inc. www.compuwerx.com 708-447-8319 From: interchange-users at lists.akopia.com (Scott Moat) Date: Sun May 13 22:10:00 2001 Subject: [ic] check out link doesnt work on some systems I am having a weird problem. I upgraded everything (interchange, linux, apache, ect.) and setup mod-interchange. But the check out button doesnt work on some systems. (like mine) It will work sometimes and it will always work when I use open link in new window. I appears like it tries a few times and then comes up I have tried this on a few other systems with IE and most of those will actually get to the checkout page and then get a different error. All of them that I have tried that have problems are either behind a firewall or my system is on through a proxy server. Any thoughts this is the error in the ssl-error.log [Sun May 13 20:19:59 2001] [error] mod_ssl: SSL error on writing data (OpenSSL library error follows) [Sun May 13 20:19:59 2001] [error] OpenSSL: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry [Sun May 13 20:19:59 2001] [error] access to /store/process.html failed for 192.168.0.16, reason: error while sending response [Sun May 13 20:19:59 2001] [error] (104)Connection reset by peer: access to /store/process.html failed for 192.168.0.16, reason: error sending headers to client it was suggested before that I may not have the ssl virtual server setup properly. i think it is but I am not 100% sure I seen this from Mike in an email message answering this question but I unfortunately need it to be laid out a little clearer. I have my own certificate. If I need to do the 3 steps, how do I do them I am still a newbie at all this. Thanks, Scott I have been dealing with this one for four years and I am still waiting... 8-) As far as I can tell, the problem is the splitting of the domains. There are situations with proxy servers, cookies, and such that cannot be dealt with to my knowledge. The best I have been able to come up with is: 1. Use "WideOpen Yes" (catalog.cfg) to ignore the host-qualification Accompany this with "SessionExpire 20 minutes" to make security better. 2. Use GET method on the basket form for transitioning to checkout. 3. Use the "Mall Yes" (minivend.cfg) directive to cover the case where people get cookies from more than one store on your servers. What really solves it is getting an SSL cert and keeping everything in the same domain. I strongly recommend this to my clients, telling them they will easily eat up the cost in consulting time and lost business. Trying to save $125 by not buying a cert is a very false economy. From: interchange-users at lists.akopia.com (Scott Moat) Date: Sun May 13 22:47:00 2001 Subject: [ic] check out link doesnt work on some systems oh here is the interchange error log 192.168.0.16 7jnURDqv:192.168.0.16 - [13/May/2001:21:44:57 -0400] casesandcables /store/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, probably search group without search specification. at /usr/local/interchange/lib/Vend/Search.pm line 703. > 192.168.0.16 7jnURDqv:192.168.0.16 - [13/May/2001:21:44:57 -0400] casesandcables /store/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, probably search group without search specification. at /usr/local/interchange/lib/Vend/Search.pm line 703. > 192.168.0.16 7jnURDqv:192.168.0.16 - [13/May/2001:21:44:57 -0400] casesandcables /store/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, probably search group without search specification. at /usr/local/interchange/lib/Vend/Search.pm line 703. > ----- Original Message ----- From: "Scott Moat" <smoat@dtgnet.com> To: <interchange-users@developer.akopia.com> Sent: Sunday, May 13, 2001 9:19 PM Subject: [ic] check out link doesnt work on some systems > I am having a weird problem. I upgraded everything (interchange, linux, > apache, ect.) and setup mod-interchange. But the check out button doesnt > work on some systems. (like mine) It will work sometimes and it will always > work when I use open link in new window. I appears like it tries a few > times and then comes up I have tried this on a few other systems with IE and > most of those will actually get to the checkout page and then get a > different error. All of them that I have tried that have problems are > either behind a firewall or my system is on through a proxy server. Any > thoughts this is the error in the ssl-error.log > > [Sun May 13 20:19:59 2001] [error] mod_ssl: SSL error on writing data > (OpenSSL library error follows) > [Sun May 13 20:19:59 2001] [error] OpenSSL: error:1409F07F:SSL > routines:SSL3_WRITE_PENDING:bad write retry > [Sun May 13 20:19:59 2001] [error] access to /store/process.html failed for > 192.168.0.16, reason: error while sending response > [Sun May 13 20:19:59 2001] [error] (104)Connection reset by peer: access to > /store/process.html failed for 192.168.0.16, reason: error sending headers > to client > > it was suggested before that I may not have the ssl virtual server setup > properly. i think it is but I am not 100% sure > > I seen this from Mike in an email message answering this question but I > unfortunately need it to be laid out a little clearer. I have my own > certificate. If I need to do the 3 steps, how do I do them I am still a > newbie at all this. > > Thanks, > > Scott > > > I have been dealing with this one for four years and I am still waiting... > 8-) > > As far as I can tell, the problem is the splitting of the domains. > There are situations with proxy servers, cookies, and such that cannot > be dealt with to my knowledge. > > The best I have been able to come up with is: > > 1. Use "WideOpen Yes" (catalog.cfg) to ignore the host-qualification > Accompany this with "SessionExpire 20 minutes" to make security > better. > 2. Use GET method on the basket form for transitioning to > checkout. > 3. Use the "Mall Yes" (minivend.cfg) directive to cover the case > where people get cookies from more than one store on your servers. > > What really solves it is getting an SSL cert and keeping everything > in the same domain. I strongly recommend this to my clients, telling > them they will easily eat up the cost in consulting time and lost > business. Trying to save $125 by not buying a cert is a very false > economy. > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Chris Fulton) Date: Mon May 14 00:35:00 2001 Subject: [ic] perl object for price description Hello Interchange Users, How do you use the price and descriptions of items in a globalsub? Surepay requires each line item be sent to the payment gateway with the order. I have a globalsub "surepay" with the following loop to get the items in the cart, but only sku and quantity show up. >>>>>>>>>>>>>>>> foreach $i (0..(@{$Vend::Session->{carts}{main}}-1)) { ####these work ::logDebug("surepay itemicode= $Vend::Session->{carts}{main}[$i]{code}"); ::logDebug("surepay itemimvib= $Vend::Session->{carts}{main}[$i]{mv_ib}"); ::logDebug("surepay itemiqty= $Vend::Session->{carts}{main}[$i]{quantity}"); ###these don't work ::logDebug("surepay itemiprice= $Vend::Session->{carts}{main}[$i]{price}"); ::logDebug("surepay itemidesc= $Vend::Session->{carts}{main}[$i]{description}"); #::logDebug("surepay itemisize= $Vend::Session->{carts}{main}[$i]{size}"); #::logDebug("surepay itemicolor= $Vend::Session->{carts}{main}[$i]{color}"); #::logDebug("surepay itemititle= $Vend::Session->{carts}{main}[$i]{title}"); ###this part works, had to hardcode 1.00 for price and fake decription as well $lineitem = LineItem::new($Vend::Session->{carts}{main}[$i]{code},'description', #longline $Vend::Session->{carts}{main}[$i]{quantity},0,'1.00'); # $extAmt += $lineitem->getQuantity * $lineitem->getUnitPrice; push(@lineitems,$lineitem); } <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Chris and Ben From: interchange-users at lists.akopia.com (Stefano Nota) Date: Mon May 14 06:28:01 2001 Subject: [ic] help with locale please Hi, in the firts page i set locale to it_IT ([set mv_locale]it_IT[/set])and both the description field and price field are changed in italian. It works!! But if i want to do it with comment field or any other field what i should write in the catalog.cfg? For description field it works, but for comment field no: Locale it_IT CoomentField comment. What's wrong with it? someone can help me From: interchange-users at lists.akopia.com (Thomas N. Stefanidis) Date: Mon May 14 07:23:01 2001 Subject: [ic] What does the file in the cgi-bin contain? Hello list, When u build a store,Interchange creates a file based on the name of the store and places it on the cgi-bin folder.(let's say "store") What exactly does that file contains? Just curiosity. Thomas From: interchange-users at lists.akopia.com (Marco Mescoli) Date: Mon May 14 07:33:01 2001 Subject: [ic] mysql options reqd for std RH 7.1 A similar problem for me on RH 7.0 with MySql. With some manual adjust on mysql DB (access for user and host) i can create DB test_construct but persist table creation error. Read down my help request to IC mailing list. All OK building my catalog template on internal IC database but this error Building simple construct demo on MySQL DB server. [ic] config error: failed (create) Can't connect to MySQL ... (111) ./makecat via mysqladmin creates DB test_construct but IC cannot create tables inside. I test manually mysql and i can create without user pass or hostname DATABASE, TABLE and COLUMN. I have digged mail archives several times and i have tried all suggestions that, in many other case, give me the correct and precious solution. For this great help many many thanks to all you. But now in my new server i try all but cazzacchiona! (italian coloured imprecation) with RH7.0 i cannot still work with IC and MySQL. Enviroment: - ReadHat 7.0 Linux version 2.2.16-22smp - Apache/1.3.12 (Unix) (Red Hat/Linux) - MySQL 3.23.22-beta-log - Interchange:4.6.4 (RPM RedHat Linux 7.0) - perl, v5.6.0 built for i386-linux MIME::Base64 is up to date. URI is up to date. Net::FTP is up to date. MIME::Base64 is up to date. Digest::MD5 is up to date. HTML::Tagset is up to date. HTML::Parser is up to date. HTML::HeadParser is up to date. LWP is up to date. Term::ReadKey is up to date. Term::ReadLine::Perl is up to date. Business::UPS is up to date. SQL::Statement is up to date. Storable is up to date. DBI is up to date. Safe::Hole is up to date. Bundle summary: The following items in bundle Bundle::Interchange had installation problems: MD5 DBD::mysql is up to date. ----- Original Message ----- From: "wayne kerrxp" <waynekerrxp@hotmail.com> To: <interchange-users@developer.akopia.com> Sent: Sunday, May 13, 2001 9:07 AM Subject: [ic] mysql options reqd for std RH 7.1 > Hi List, > I have a redHat 7.1 intel box intended to be a platform for > interchange-4.6.5-1.rh7.i386.rpm. > Th RedHat installation is completely standard, actually I installed > everything, and mysql and apache are started automagically on start up. > So far so good. Everything is kewl until I run makecat contruct, the I get > confused about possible options for mysql. > As follows: > <config> > Set to 1 if you want to use MySQL, PostgreSQL, or Oracle: ..1 > > You can select this to use MySQL in your test catalog. Careful! > This requires the ability to create a database named "test_construct", > and is highly dependent on your Perl and MySQL configuration. Don't > be too surprised if this doesn't work. > > Set to 1 if you want to use MySQL: ...............1 > Database to use (will be created): ...............test_construct > DBI DSN to use: ..................................dbi:mysql:test_construct > Username for MySQL (if any): ..................... > Password for MySQL (if any): ..................... > > We can try and use mysqladmin to create the database in > MySQL. In many default MySQL distributions, any user can create > a database beginning with "test". > > Use the next option to add parameters. If your MySQL is password-protected > (and you know the password) you may want to add "-u root -p". > > Set to 1 to create 'test_construct' with mysqladmin: ..1 > > To create the database you may need to supply a password and > username. To do that, add the option "-u USERNAME -p", where > USERNAME is a MySQL user with permission to create databases. > This is often the user "root". > > Extra options for creation: ...................... > > You can use Interchange's companion configuration > interface, to do upload/download of files, manipulation of > the database, reconfiguration of the catalog, and much more. > > To enable the UI, you will need a "super-user" account > name that has full access. > > The initial password is "pass". CHANGE IT! You can do this > by going to the admin menu and selecting the superuser and > then "Change password". > > Account name that will control this catalog: .....interchange > Administrative password: .........................pass > > Found system commands to run. > > Since you selected the MySQL option, you need to create > a database named "test_construct". In a default MySQL > configuration, any user may create and drop and modify > test_* databases, but some administrators disable this. > > run "mysqladmin create test_construct"? y > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: 'root@localhost' (Using password: NO)' > </config> > Oh Dear, I'm gonna read the fine mysql manual quite soon, but I have a guy > waiting for his interchange machine, and if it's available Mon morning he'll > be exstatic, if not, the opposite. > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 14 08:08:01 2001 Subject: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > Hi, > > in the firts page i set locale to it_IT ([set mv_locale]it_IT[/set])and both > the description field and price field are changed in italian. > It works!! > > But if i want to do it with comment field or any other field what i should > write in the catalog.cfg? > For description field it works, but for comment field no: Locale it_IT > CoomentField comment. > What's wrong with it? There is no CommentField directive. You can do: [loc][item-field comment][/loc] Please remember this may decrease the performance. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Thomas N. Stefanidis) Date: Mon May 14 08:16:01 2001 Subject: [ic] simple mail_receipt file question Hello, In the mail_receipt file,can i change the line : [if-modifier size]Size-->[item-modifier size][/if-modifier] to something like : [if-modifier size]Size-->[item-accessories size][/if-modifier] ? Will the above work? Thank you. Thomas From: interchange-users at lists.akopia.com (Stefano Nota) Date: Mon May 14 08:22:01 2001 Subject: R: [ic] help with locale please Thanks but i can't uderstand what [loc][item-field comment][/loc] do I should manage to make appear a comment of the article in italian if the langauge is italian and in another language if it is in english Can you give me a suggestion to this problem? Thanks -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: lunedì 14 maggio 2001 14.06 A: interchange-users@developer.akopia.com Oggetto: Re: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > Hi, > > in the firts page i set locale to it_IT ([set mv_locale]it_IT[/set])and both > the description field and price field are changed in italian. > It works!! > > But if i want to do it with comment field or any other field what i should > write in the catalog.cfg? > For description field it works, but for comment field no: Locale it_IT > CoomentField comment. > What's wrong with it? There is no CommentField directive. You can do: [loc][item-field comment][/loc] Please remember this may decrease the performance. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 14 08:37:01 2001 Subject: R: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > Thanks but i can't uderstand what [loc][item-field comment][/loc] do > I should manage to make appear a comment of the article in italian if the > langauge is italian and in another language if it is in english ?? I don't understand your setup. Please explain more thoroughly. Maybe you need sth like that. UserTag language-field Order field code UserTag language-field Routine <<EOF sub { my ($field, $code) = @_; my $data; my $locale = $Scratch->{mv_locale}; if ($locale) { $data = $Tag->data('products',"${field}_$locale",$code); return $data if $data =~ /\S/; } $Tag->data('products',$field,$code); } EOF You call this with [language-field comment [item-code]]. Explanation: The language is set to it_IT, so if there is a field comment_it_IT with a text for this product, it display this, otherwise the contents of the field comment. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Mike Heins) Date: Mon May 14 09:05:01 2001 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: interchange-users at lists.akopia.com (Dave Jenkins) Date: Mon May 14 09:08:00 2001 Subject: [ic] Call for: Interchange Case Studies Red Hat Interchange Site Developer Training Course Calling for Developer's Case Studies: Questionnaire -------------------------- Red Hat will soon be launching the Interchange site developers course. Course descriptions and class dates will be posted on the Red Hat site soon. As part of the course, We would like to showcase sites developed on Interchange. We thought what better way to show students the vast possibilities of Interchange then by showcasing the work of talented developers in the Interchange community as well as sites built by Red Hat Professional Services Group. Rest assured that your work will receive recognition and credit as we discuss your project. In order to submit a site for consideration, please provide the following information: 1. Site Name 2. Site URL 3. Brief description of business (60 words or less) 4. Hardware and OS architectures (dedicated, virtual host, Linux platform) 5. Database platform 6. Site highlights: what functionality marks this site as a shining example of Interchange functionality? i.e. inventory control, customer personalization, order tracking, fulfillment reporting 7. What scripts have you modified/customized to reach your development goals for this site? 8. If you have written specific scripts for this site, may we show the code for those scripts? 9. Do you have any documentation (flowcharts, technical requirements) that you produced for this site? Would you allow us to share those with the class? NOTES: - Not every case study that is submitted will be used. We are looking for solid interchange implementations that will provide good fodder for discussion. - Please keep it short. We are not looking for incredible 5-page perl scripts (no matter how genius) yet. If you spend more than 15 minutes writing the case study, it may be too long . . . - PLEASE SEND THESE DIRECTLY TO djenkins@redhat.com SO WE DON'T CROWD THE LIST. Thanks! Dave -- ----------------------- Dave Jenkins Project Manager - Professional Services Group Red Hat, Inc. http://www.redhat.com djenkins@redhat.com TEL: 703-456-2944 ----------------------- From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Mon May 14 09:45:00 2001 Subject: [ic] Problem with slovenian language just read this : Hello from Athens - Greece. We had successfuly installed the akopia software in our web server with postgresql 7. But there is a problem with the admin interface. When I am adding new items with Greek Description it acceps that successfuly but when I am edditing that item in order to add some quantity it changes the Greek characters of the greek description with the "?" symbol. Why it is happening ?? Is there any solution for that ?? The internationalization is has been done and in the e-shop interface I have not any problem with the Greek characters. Best regards from Greece Stamatis Kekes Technical Director of Kosmoslink LTD. " and now I realise that akopia made a product entirely based on the iso-8859-1 charset.I tried getting help months ago but you just claimed that this had to be an installation problem or a perl problem.But since I can see that a lot of people from Europe who would like to use this product because it is very good can't do so since it is totally useles when used with europian languages such as greek slovenian serbian croatian.So if its not 2 much trouble could one of the developers take the time and make a small page explaining how to use the TAGS and make interchange change out characters to a format that it and perl can understand and display correctly(in our language). The only was we've been able to use interchange is by using the import interface and importing files that had the characters in question changed to a format that interchange will use and find when searching for it.But still we are unable to use the admin interface.We have a few companies that would love to have the same shop but we can't say that they should use it and we can't host them since we have absolutely no way to promis them a working product if they in fact try to use our language. Since I've seen plenty of perl products that work just fine with non iso-8859-1 charsets I'm asking one more time.Can somebody help us? From: interchange-users at lists.akopia.com (Stefano Nota) Date: Mon May 14 09:58:01 2001 Subject: R: R: [ic] help with locale please I think that your explanation is rigth. But i'm new in using IC so i have some difficulties. The code you wrote i complete? Sholud i change anything?Maybe like field with commen_it. And, it could be used with all fields? Thanks a lot stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: lunedì 14 maggio 2001 14.35 A: interchange-users@developer.akopia.com Oggetto: Re: R: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > Thanks but i can't uderstand what [loc][item-field comment][/loc] do > I should manage to make appear a comment of the article in italian if the > langauge is italian and in another language if it is in english ?? I don't understand your setup. Please explain more thoroughly. Maybe you need sth like that. UserTag language-field Order field code UserTag language-field Routine <<EOF sub { my ($field, $code) = @_; my $data; my $locale = $Scratch->{mv_locale}; if ($locale) { $data = $Tag->data('products',"${field}_$locale",$code); return $data if $data =~ /\S/; } $Tag->data('products',$field,$code); } EOF You call this with [language-field comment [item-code]]. Explanation: The language is set to it_IT, so if there is a field comment_it_IT with a text for this product, it display this, otherwise the contents of the field comment. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 14 10:07:01 2001 Subject: R: R: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > I think that your explanation is rigth. > But i'm new in using IC so i have some difficulties. That's naturally. > > The code you wrote i complete? ?? > Sholud i change anything?Maybe like field with commen_it. The field names should be comment, comment_it_IT, comment_de_DE etc., otherwise the code wouldn't work. > > > And, it could be used with all fields? Yes. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Ben Mirecki) Date: Mon May 14 10:14:01 2001 Subject: [ic] SQL Query in UserTag Hi! I'm trying to create a UserTag that does a field value lookup from an arbitrary table. The UserTag will be called from CommonAdjust as part of the pricing method. Here's the code I have. UserTag calc_price Order UserTag calc_price Routine <<EOR sub { my $dbh = $Sql{framestyles}; my $sql_query = "SELECT price FROM framestyles WHERE sku = 9848"; my $sth = $dbh->prepare($sql_query) or return error_message("Error..."); my $rc = $sth->execute() or return HTML("Error..."); return 0; } EOR Ignore the return value for now. Simply trying to execute the query, I get the following error message: Runtime error: Can't call method "prepare" on an undefined value at (eval 227) line 5. Any idea why is this happening? Thanks, Ben From: interchange-users at lists.akopia.com (Stefano Nota) Date: Mon May 14 10:29:00 2001 Subject: R: R: R: [ic] help with locale please Something like this is rigth? UserTag language-field Order field code UserTag language-field Routine <<EOF sub { my ($comment_it_IT, $code) = @_; my $data; my $locale = $Scratch->{mv_locale}; if ($locale) { $data = $Tag->data('products',"${comment_it_IT}_$locale",$code); return $data if $data =~ /\S/; } $Tag->data('products',$comment_it_IT,$code); } EOF If i've done errors, could you correct it please? It's not so simple, i'm not so expert. Thanks stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: lunedì 14 maggio 2001 16.05 A: interchange-users@developer.akopia.com Oggetto: Re: R: R: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > I think that your explanation is rigth. > But i'm new in using IC so i have some difficulties. That's naturally. > > The code you wrote i complete? ?? > Sholud i change anything?Maybe like field with commen_it. The field names should be comment, comment_it_IT, comment_de_DE etc., otherwise the code wouldn't work. > > > And, it could be used with all fields? Yes. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 14 10:40:00 2001 Subject: [ic] Nested loop problem I have the following code: [loop prefix=cat search="st=db/fi=merchandising/tf=featured/rf=featured,sku/un=1/ra=yes"] [cat-param featured]<br> [loop prefix=comp search="st=db fi=merchandising sf=featured se=[cat-param featured] rf=sku"] <a href="[comp-param sku]" class="navigationrechts">[field partnumber [comp-param sku]]</a></br> [/loop] [/loop] It works fine but in one the case. If [cat-param featured] contains ", the inner loop broke and [loop ...] gets displayed itself. Anything I can do about it (this is 4.7.latest) Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (David Totten) Date: Mon May 14 10:41:58 2001 Subject: [ic] SQL Query in UserTag --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 14, 2001 at 10:21:40AM -0400, Ben Mirecki wrote: > Hi! >=20 > I'm trying to create a UserTag that does a field value lookup from an > arbitrary table. The UserTag will be called from CommonAdjust as part of = the > pricing method. I just did this, so perhaps I can help :) >=20 > Here's the code I have. >=20 > UserTag calc_price Order > UserTag calc_price Routine <<EOR > sub { > my $dbh =3D $Sql{framestyles}; > my $sql_query =3D "SELECT price FROM framestyles WHERE sku =3D 9848"; > my $sth =3D $dbh->prepare($sql_query) or return error_message("Error...= "); > my $rc =3D $sth->execute() or return HTML("Error..."); >=20 > return 0; > } > EOR >=20 You can't access %Sql like that from a usertag. I wrote a small sub-routine to get me a database handle. my $get_dbh =3D sub { my ($table_name) =3D @_; my $db =3D Vend::Data::database_exists_ref($table_name); return $db->[$Vend::Table::DBI::DBI]; }; I define this at the top of my user tag, and then I use it like this: my $dbh =3D $get_dbh->('database_name'); You should now be able to replace your line my $dbh =3D $Sql{framestyles}; with my line my $dbh =3D $get_dbh->('framestyles'); and it should work the way you think it will. --=20 Start random buzzword text: Thus, the product configuration baseline adds overriding performance constr= aints to gain the full benefts of the client-server archetecture.=20 --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6/+wb6NZLqYh7hkwRAqNpAJ42DH+nQ3CneWVcemzlfGw+4YqUDACghlnb K3ayEnwlV/p7xAcuX/1UxMc= =K7jM -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq-- From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 14 10:51:01 2001 Subject: R: R: R: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > Something like this is rigth? > > UserTag language-field Order field code > UserTag language-field Routine <<EOF > sub { > my ($comment_it_IT, $code) = @_; > my $data; > my $locale = $Scratch->{mv_locale}; > > if ($locale) { > $data = $Tag->data('products',"${comment_it_IT}_$locale",$code); > return $data if $data =~ /\S/; > } > $Tag->data('products',$comment_it_IT,$code); > } > EOF > > If i've done errors, could you correct it please? > It's not so simple, i'm not so expert. No, I think this leads into the wrong direction. Lets start with the database setup, then we talk about applying this function. I assume you have something like that as products database: sku comment comment_it_IT whatever whatever_it_IT 11111 English Comment Commentare Italiano Bye Ciao Now, if you use my original function and [language-field comment [item-code]] resp. [language-field whatever [item-code]] You get the text of comment_it_IT resp. whatever_it_IT if the selected language is it_IT, otherwise the text from comment resp. whatever. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Mon May 14 10:58:01 2001 Subject: [ic] SQL Query in UserTag Try this to get a handle on your database: my $db = &Vend::Data::database_exists_ref('framestyles'); my $dbh = $db->[$Vend::Table::DBI::DBI]; unless ($dbh) { &Log("Unable to get DB handle framestyles: $!\n"); return; } Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 "Ben Mirecki" <ben@quadrantfive.com> Sent by: interchange-users-admin@developer.akopia.com 05/14/2001 10:21 AM Please respond to interchange-users To: <interchange-users@developer.akopia.com> cc: Subject: [ic] SQL Query in UserTag Hi! I'm trying to create a UserTag that does a field value lookup from an arbitrary table. The UserTag will be called from CommonAdjust as part of the pricing method. Here's the code I have. UserTag calc_price Order UserTag calc_price Routine <<EOR sub { my $dbh = $Sql{framestyles}; my $sql_query = "SELECT price FROM framestyles WHERE sku = 9848"; my $sth = $dbh->prepare($sql_query) or return error_message("Error..."); my $rc = $sth->execute() or return HTML("Error..."); return 0; } EOR Ignore the return value for now. Simply trying to execute the query, I get the following error message: Runtime error: Can't call method "prepare" on an undefined value at (eval 227) line 5. Any idea why is this happening? Thanks, Ben _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Mike Heins) Date: Mon May 14 12:58:00 2001 Subject: [ic] Nested loop problem Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > I have the following code: > > [loop prefix=cat search="st=db/fi=merchandising/tf=featured/rf=featured,sku/un=1/ra=yes"] > [cat-param featured]<br> > [loop prefix=comp search="st=db > fi=merchandising > sf=featured > se=[cat-param featured] > rf=sku"] > <a href="[comp-param sku]" class="navigationrechts">[field partnumber [comp-param sku]]</a></br> > [/loop] > [/loop] > > It works fine but in one the case. If [cat-param featured] contains ", > the inner loop broke and [loop ...] gets displayed itself. > > Anything I can do about it (this is 4.7.latest) You can use | or ' to quote, too. Or you can do: [set something][cat-param featured][/set] search=" se=[scratch something] " -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 14 13:31:01 2001 Subject: [ic] Nested loop problem Mike Heins <mikeh@minivend.com> writes: > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > > > I have the following code: > > > > [loop prefix=cat search="st=db/fi=merchandising/tf=featured/rf=featured,sku/un=1/ra=yes"] > > [cat-param featured]<br> > > [loop prefix=comp search="st=db > > fi=merchandising > > sf=featured > > se=[cat-param featured] > > rf=sku"] > > <a href="[comp-param sku]" class="navigationrechts">[field partnumber [comp-param sku]]</a></br> > > [/loop] > > [/loop] > > > > It works fine but in one the case. If [cat-param featured] contains ", > > the inner loop broke and [loop ...] gets displayed itself. > > > > Anything I can do about it (this is 4.7.latest) > > You can use | or ' to quote, too. Or you can do: > > [set something][cat-param featured][/set] > > search=" > se=[scratch something] > " Yes, the last is the best solution for me, because I have no control on the characters used in the featured field, but the hint about the alternative quotes was good to. Thanks, Mike !! -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Victor Nolton) Date: Mon May 14 13:54:01 2001 Subject: [ic] re: can't restart... out of memory Sounds stupid but... Maybe add more ram? Ram is not that expensive. 256 meg dimms are around $67 right now. if you have some 128 megs sticks in the box you could replace one or more with 256. Just a thought. Ven >no I am not using SQL I am using the default and when it tries to start >it stops and says it is out of memory any help would be appreciated > > > HotPies >________________________________________________________________ >GET INTERNET ACCESS FROM JUNO! >Juno offers FREE or PREMIUM Internet access for less! >Join Juno today! For your FREE software, visit: >http://dl.www.juno.com/get/tagj. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (Thomas Swinney) Date: Mon May 14 14:25:00 2001 Subject: [ic] (no subject) I have ic 4.6 is there anyway to get the construct something demo from 4.7 into 4.6? I would like to use it as my beginning point to modify rather than the one thats with my 4.6. Is there an easy way to do this? From: interchange-users at lists.akopia.com (predrag) Date: Mon May 14 14:26:45 2001 Subject: [ic] Re: Interchange-users digest, Vol 1 #508 - 14 msgs ----- Original Message ----- From: <interchange-users-request@developer.akopia.com> To: <interchange-users@developer.akopia.com> Sent: Monday, May 14, 2001 10:01 AM Subject: Interchange-users digest, Vol 1 #508 - 14 msgs > Send Interchange-users mailing list submissions to > interchange-users@lists.akopia.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.akopia.com/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@lists.akopia.com > > You can reach the person managing the list at > interchange-users-admin@lists.akopia.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Interchange-users digest..." > > > Today's Topics: > > 1. Interchange-users guidelines [semi-monthly posting] (Mike Heins) > 2. Call for: Interchange Case Studies (Dave Jenkins) > 3. Problem with slovenian language (admin@franconi.si) > 4. R: R: [ic] help with locale please (Stefano Nota) > 5. Re: R: R: [ic] help with locale please (Stefan Hornburg Racke > ) > 6. SQL Query in UserTag (Ben Mirecki) > 7. R: R: R: [ic] help with locale please (Stefano Nota) > 8. Nested loop problem (Stefan Hornburg Racke > ) > 9. Re: SQL Query in UserTag (David Totten) > 10. Re: R: R: R: [ic] help with locale please (Stefan Hornburg Racke > ) > 11. Re: SQL Query in UserTag (bill@worldwideimpact.com) > > --__--__-- > > Message: 1 > Date: Mon, 14 May 2001 09:09:00 -0400 > From: Mike Heins <mheins@redhat.com> > To: interchange-users@developer.akopia.com > Subject: [ic] Interchange-users guidelines [semi-monthly posting] > Reply-To: interchange-users@lists.akopia.com > > interchange-users@lists.akopia.com is a list for users who have questions about > configuring, setting up, and fine tuning Interchange catalogs. Other topics > will include: > > - announcements of Interchange releases and fixes > - notification and submission of Interchange bugs > - distributing pages which implement Interchange functions > - discussing the future development of Interchange > - any other topic relating *directly* to Interchange > > The list started January 5, 1997 as minivend-users. For an archive of past > articles, see: > > http://developer.akopia.com/archive/interchange-users/ > > Also, because the list has high volume for one of its type, before > posting to the list it is recommended that you use the search feature at: > > http://developer.akopia.com/ > > Many questions can be answered by trying some keywords at this > facility. Try more than one combination. > > It is common courtesy when posting to a forum such as this to: > > 1. Include the version of software you are using, i.e. > Interchange 4.6.1. Bugs are fixed and deficiencies corrected > in each release of Interchange, as with almost any software. > > 2. Include relevant information where appropriate. > The operating system in question is often relevant, as > is the Perl version and database type in use. > > 3. When talking about tag problems, include a snippet of ITL > tags which illustrates the problem. > > 4. When posting about PGP, Glimpse, or anything else that > uses an external command, you need to state what happens > when you run the same thing from the command line. > > 5. Include error log entries or a statement that there > are none. > > If a post to this list doesn't include the relevant information, not only > are you unlikely to get a reasonable answer, you will add to the volume of > the list and make it less likely that reasonable questions are answered. > > All entries are archived and available via a web gateway. The > "X-No-Archive: Yes" header is honored if you choose to use it. > > List etiquette issues: > > -- No HTML mail is allowed. Besides being improper email netiquette, > it destroys the digest. > > -- Please try to keep your line size less than 80 characters. > > -- No PGP signatures should be used. This is not a legal record. > > -- No flame wars are tolerated. > > -- No "courtesy copies" unless specifically requested. It > can be annoying to some people to receive two copies of > the same message. > > -- If you must munge, make sure you mention this in the > BODY of the message and not buried incomprehensibly in > the header or in a cluttered signature attachment. > > -- The list changes the Reply-To: header to point to the > list. While this is by popular demand, it is recognized that it > is not always the best mode of operation. You should reply by email > directly to the sender if the post will not be of general use. > > For more information see the Netiquette RFC: > > http://www.faqs.org/rfcs/rfc1855.html > > Thanks for your cooperation. We believe we have one of the best user > lists going, and we would like to keep it useful and pleasant to use. > > > --__--__-- > > Message: 2 > Date: Mon, 14 May 2001 09:12:55 -0400 > From: Dave Jenkins <djenkins@redhat.com> > Organization: Red Hat Professional Services Group > To: Interchange List <interchange-users@developer.akopia.com> > Subject: [ic] Call for: Interchange Case Studies > Reply-To: interchange-users@lists.akopia.com > > Red Hat Interchange Site Developer Training Course > Calling for Developer's Case Studies: Questionnaire > -------------------------- > > Red Hat will soon be launching the Interchange site developers course. > Course descriptions and class dates will be posted on the Red Hat site > soon. > > As part of the course, We would like to showcase sites developed on > Interchange. We thought what better way to show students the vast > possibilities of Interchange then by showcasing the work of talented > developers in the Interchange community as well as sites built by Red > Hat Professional Services Group. > > Rest assured that your work will receive recognition and credit as we > discuss your project. In order to submit a site for consideration, > please provide the following information: > > 1. Site Name > > 2. Site URL > > 3. Brief description of business (60 words or less) > > 4. Hardware and OS architectures (dedicated, virtual host, Linux > platform) > > 5. Database platform > > 6. Site highlights: what functionality marks this site as a shining > example of Interchange functionality? i.e. inventory control, customer > personalization, order tracking, fulfillment reporting > > 7. What scripts have you modified/customized to reach your development > goals for this site? > > 8. If you have written specific scripts for this site, may we show the > code for those scripts? > > 9. Do you have any documentation (flowcharts, technical requirements) > that you produced for this site? Would you allow us to share those with > > the class? > > NOTES: > - Not every case study that is submitted will be used. We are looking > for solid interchange implementations that will provide good fodder for > discussion. > > - Please keep it short. We are not looking for incredible 5-page perl > scripts (no matter how genius) yet. If you spend more than 15 minutes > writing the case study, it may be too long . . . > > - PLEASE SEND THESE DIRECTLY TO djenkins@redhat.com SO WE DON'T CROWD > THE LIST. > > Thanks! > > Dave > > -- > ----------------------- > Dave Jenkins > Project Manager - Professional Services Group > Red Hat, Inc. http://www.redhat.com > djenkins@redhat.com > TEL: 703-456-2944 > ----------------------- > > > > --__--__-- > > Message: 3 > Date: Mon, 14 May 2001 11:51:16 +0200 (CEST) > From: <admin@franconi.si> > To: <interchange-users@developer.akopia.com> > Subject: [ic] Problem with slovenian language > Reply-To: interchange-users@lists.akopia.com > > just read this : > > Hello from Athens - Greece. > We had successfuly installed the akopia software in our web server with > postgresql 7. But there is a problem with the admin interface. When I am > adding > new items with Greek Description it acceps that successfuly but when I am > edditing that item in order to add some quantity it changes the Greek > characters of the greek description with the "?" symbol. > Why it is happening ?? Is there any solution for that ?? > The internationalization is has been done and in the e-shop interface I > have > not any problem with the Greek characters. > Best regards from Greece > Stamatis Kekes > Technical Director of Kosmoslink LTD. > > " > > and now I realise that akopia made a product entirely based on the > iso-8859-1 charset.I tried getting help months ago but you just claimed > that this had to be an installation problem or a perl problem.But since I > can see that a lot of people from Europe who would like to use this > product because it is very good can't do so since it is totally useles > when used with europian languages such as greek slovenian serbian > croatian.So if its not 2 much trouble could one of the developers take the > time and make a small page explaining how to use the TAGS and make > interchange change out characters to a format that it and perl can > understand and display correctly(in our language). > The only was we've been able to use interchange is by using the import > interface and importing files that had the characters in question changed > to a format that interchange will use and find when searching for it.But > still we are unable to use the admin interface.We have a few companies > that would love to have the same shop but we can't say that they should > use it and we can't host them since we have absolutely no way to promis > them a working product if they in fact try to use our language. > Since I've seen plenty of perl products that work just fine with non > iso-8859-1 charsets I'm asking one more time.Can somebody help us? > > > > --__--__-- > > Message: 4 > From: "Stefano Nota" <stefano@register.it> > To: <interchange-users@developer.akopia.com> > Subject: R: R: [ic] help with locale please > Date: Mon, 14 May 2001 15:56:49 +0200 > Reply-To: interchange-users@lists.akopia.com > > I think that your explanation is rigth. > But i'm new in using IC so i have some difficulties. > > The code you wrote i complete? > Sholud i change anything?Maybe like field with commen_it. > > > And, it could be used with all fields? > > Thanks a lot stefano > > > > > > -----Messaggio originale----- > Da: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan > Hornburg (Racke) > Inviato: lunedì 14 maggio 2001 14.35 > A: interchange-users@developer.akopia.com > Oggetto: Re: R: [ic] help with locale please > > > "Stefano Nota" <stefano@register.it> writes: > > > Thanks but i can't uderstand what [loc][item-field comment][/loc] do > > I should manage to make appear a comment of the article in italian if the > > langauge is italian and in another language if it is in english > > ?? I don't understand your setup. Please explain more thoroughly. > Maybe you need sth like that. > > UserTag language-field Order field code > UserTag language-field Routine <<EOF > sub { > my ($field, $code) = @_; > my $data; > my $locale = $Scratch->{mv_locale}; > > if ($locale) { > $data = $Tag->data('products',"${field}_$locale",$code); > return $data if $data =~ /\S/; > } > $Tag->data('products',$field,$code); > } > EOF > > You call this with [language-field comment [item-code]]. > > Explanation: The language is set to it_IT, so if there is a field > comment_it_IT with a text for this product, it display this, > otherwise the contents of the field comment. > > Bye > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 5 > To: interchange-users@developer.akopia.com > Subject: Re: R: R: [ic] help with locale please > From: racke@linuxia.de (Stefan Hornburg (Racke)) > Date: 14 May 2001 16:05:12 +0200 > Reply-To: interchange-users@lists.akopia.com > > "Stefano Nota" <stefano@register.it> writes: > > > I think that your explanation is rigth. > > But i'm new in using IC so i have some difficulties. > > That's naturally. > > > > > The code you wrote i complete? > > ?? > > > Sholud i change anything?Maybe like field with commen_it. > > The field names should be comment, comment_it_IT, comment_de_DE > etc., otherwise the code wouldn't work. > > > > > > > And, it could be used with all fields? > > Yes. > > Bye > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > > --__--__-- > > Message: 6 > From: "Ben Mirecki" <ben@quadrantfive.com> > To: <interchange-users@developer.akopia.com> > Date: Mon, 14 May 2001 10:21:40 -0400 > Subject: [ic] SQL Query in UserTag > Reply-To: interchange-users@lists.akopia.com > > Hi! > > I'm trying to create a UserTag that does a field value lookup from an > arbitrary table. The UserTag will be called from CommonAdjust as part of the > pricing method. > > Here's the code I have. > > UserTag calc_price Order > UserTag calc_price Routine <<EOR > sub { > my $dbh = $Sql{framestyles}; > my $sql_query = "SELECT price FROM framestyles WHERE sku = 9848"; > my $sth = $dbh->prepare($sql_query) or return error_message("Error..."); > my $rc = $sth->execute() or return HTML("Error..."); > > return 0; > } > EOR > > > Ignore the return value for now. Simply trying to execute the query, I get > the following error message: > > Runtime error: Can't call method "prepare" on an undefined value at (eval > 227) line 5. > > Any idea why is this happening? > > Thanks, > Ben > > > --__--__-- > > Message: 7 > From: "Stefano Nota" <stefano@register.it> > To: <interchange-users@developer.akopia.com> > Subject: R: R: R: [ic] help with locale please > Date: Mon, 14 May 2001 16:27:44 +0200 > Reply-To: interchange-users@lists.akopia.com > > Something like this is rigth? > > UserTag language-field Order field code > UserTag language-field Routine <<EOF > sub { > my ($comment_it_IT, $code) = @_; > my $data; > my $locale = $Scratch->{mv_locale}; > > if ($locale) { > $data = $Tag->data('products',"${comment_it_IT}_$locale",$code); > return $data if $data =~ /\S/; > } > $Tag->data('products',$comment_it_IT,$code); > } > EOF > > If i've done errors, could you correct it please? > It's not so simple, i'm not so expert. > > Thanks stefano > > -----Messaggio originale----- > Da: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan > Hornburg (Racke) > Inviato: lunedì 14 maggio 2001 16.05 > A: interchange-users@developer.akopia.com > Oggetto: Re: R: R: [ic] help with locale please > > > "Stefano Nota" <stefano@register.it> writes: > > > I think that your explanation is rigth. > > But i'm new in using IC so i have some difficulties. > > That's naturally. > > > > > The code you wrote i complete? > > ?? > > > Sholud i change anything?Maybe like field with commen_it. > > The field names should be comment, comment_it_IT, comment_de_DE > etc., otherwise the code wouldn't work. > > > > > > > And, it could be used with all fields? > > Yes. > > Bye > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > --__--__-- > > Message: 8 > To: interchange-users@minivend.com > From: racke@linuxia.de (Stefan Hornburg (Racke)) > Date: 14 May 2001 16:37:57 +0200 > Subject: [ic] Nested loop problem > Reply-To: interchange-users@lists.akopia.com > > > I have the following code: > > [loop prefix=cat search="st=db/fi=merchandising/tf=featured/rf=featured,sku/un=1/ra=yes"] > [cat-param featured]<br> > [loop prefix=comp search="st=db > fi=merchandising > sf=featured > se=[cat-param featured] > rf=sku"] > <a href="[comp-param sku]" class="navigationrechts">[field partnumber [comp-param sku]]</a></br> > [/loop] > [/loop] > > It works fine but in one the case. If [cat-param featured] contains ", > the inner loop broke and [loop ...] gets displayed itself. > > Anything I can do about it (this is 4.7.latest) > > Ciao > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > > --__--__-- > > Message: 9 > Date: Mon, 14 May 2001 10:30:51 -0400 > From: David Totten <dstotten@davetotten.com> > To: interchange-users@developer.akopia.com > Subject: Re: [ic] SQL Query in UserTag > Reply-To: interchange-users@lists.akopia.com > > > --V88s5gaDVPzZ0KCq > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Mon, May 14, 2001 at 10:21:40AM -0400, Ben Mirecki wrote: > > Hi! > >=20 > > I'm trying to create a UserTag that does a field value lookup from an > > arbitrary table. The UserTag will be called from CommonAdjust as part of = > the > > pricing method. > > I just did this, so perhaps I can help :) > > >=20 > > Here's the code I have. > >=20 > > UserTag calc_price Order > > UserTag calc_price Routine <<EOR > > sub { > > my $dbh =3D $Sql{framestyles}; > > my $sql_query =3D "SELECT price FROM framestyles WHERE sku =3D 9848"; > > my $sth =3D $dbh->prepare($sql_query) or return error_message("Error...= > "); > > my $rc =3D $sth->execute() or return HTML("Error..."); > >=20 > > return 0; > > } > > EOR > >=20 > > You can't access %Sql like that from a usertag. I wrote a small sub-routine > to get me a database handle. > > my $get_dbh =3D sub { > my ($table_name) =3D @_; > my $db =3D Vend::Data::database_exists_ref($table_name); > return $db->[$Vend::Table::DBI::DBI]; > }; > > I define this at the top of my user tag, and then I use it like this: > > my $dbh =3D $get_dbh->('database_name'); > > > You should now be able to replace your line > > my $dbh =3D $Sql{framestyles}; > > with my line > > my $dbh =3D $get_dbh->('framestyles'); > > and it should work the way you think it will. > > --=20 > Start random buzzword text: > Thus, the product configuration baseline adds overriding performance constr= > aints to gain the full benefts of the client-server archetecture.=20 > > --V88s5gaDVPzZ0KCq > Content-Type: application/pgp-signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE6/+wb6NZLqYh7hkwRAqNpAJ42DH+nQ3CneWVcemzlfGw+4YqUDACghlnb > K3ayEnwlV/p7xAcuX/1UxMc= > =K7jM > -----END PGP SIGNATURE----- > > --V88s5gaDVPzZ0KCq-- > > --__--__-- > > Message: 10 > To: interchange-users@developer.akopia.com > Subject: Re: R: R: R: [ic] help with locale please > From: racke@linuxia.de (Stefan Hornburg (Racke)) > Date: 14 May 2001 16:49:15 +0200 > Reply-To: interchange-users@lists.akopia.com > > "Stefano Nota" <stefano@register.it> writes: > > > Something like this is rigth? > > > > UserTag language-field Order field code > > UserTag language-field Routine <<EOF > > sub { > > my ($comment_it_IT, $code) = @_; > > my $data; > > my $locale = $Scratch->{mv_locale}; > > > > if ($locale) { > > $data = $Tag->data('products',"${comment_it_IT}_$locale",$code); > > return $data if $data =~ /\S/; > > } > > $Tag->data('products',$comment_it_IT,$code); > > } > > EOF > > > > If i've done errors, could you correct it please? > > It's not so simple, i'm not so expert. > > No, I think this leads into the wrong direction. Lets start with the > database setup, then we talk about applying this function. > > I assume you have something like that as products database: > > sku comment comment_it_IT whatever whatever_it_IT > 11111 English Comment Commentare Italiano Bye Ciao > > Now, if you use my original function and > > [language-field comment [item-code]] > > resp. > > [language-field whatever [item-code]] > > You get the text of comment_it_IT resp. whatever_it_IT if the selected > language is it_IT, otherwise the text from comment resp. whatever. > > Bye > Racke > > -- > Master of Swiss Web 2001: http://www.zweifel.ch/ > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > > --__--__-- > > Message: 11 > To: interchange-users@developer.akopia.com > Subject: Re: [ic] SQL Query in UserTag > From: bill@worldwideimpact.com > Date: Mon, 14 May 2001 11:02:09 -0400 > Reply-To: interchange-users@lists.akopia.com > > Try this to get a handle on your database: > > my $db = &Vend::Data::database_exists_ref('framestyles'); > my $dbh = $db->[$Vend::Table::DBI::DBI]; > unless ($dbh) { > &Log("Unable to get DB handle framestyles: $!\n"); > return; > } > > > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 > > > > > "Ben Mirecki" <ben@quadrantfive.com> > Sent by: interchange-users-admin@developer.akopia.com > 05/14/2001 10:21 AM > Please respond to interchange-users > > > To: <interchange-users@developer.akopia.com> > cc: > Subject: [ic] SQL Query in UserTag > > > Hi! > > I'm trying to create a UserTag that does a field value lookup from an > arbitrary table. The UserTag will be called from CommonAdjust as part of > the > pricing method. > > Here's the code I have. > > UserTag calc_price Order > UserTag calc_price Routine <<EOR > sub { > my $dbh = $Sql{framestyles}; > my $sql_query = "SELECT price FROM framestyles WHERE sku = 9848"; > my $sth = $dbh->prepare($sql_query) or return error_message("Error..."); > my $rc = $sth->execute() or return HTML("Error..."); > > return 0; > } > EOR > > > Ignore the return value for now. Simply trying to execute the query, I get > the following error message: > > Runtime error: Can't call method "prepare" on an undefined value at (eval > 227) line 5. > > Any idea why is this happening? > > Thanks, > Ben > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > --__--__-- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > > End of Interchange-users Digest > From: interchange-users at lists.akopia.com (Jon Jensen) Date: Mon May 14 14:43:00 2001 Subject: [ic] (no subject) On Mon, 14 May 2001, Thomas Swinney wrote: > I have ic 4.6 is there anyway to get the construct something demo from 4.7 > into 4.6? I would like to use it as my beginning point to modify rather > than the one thats with my 4.6. Is there an easy way to do this? No. Sorry, but you'll need to use 4.7 with Foundation. Jon From: interchange-users at lists.akopia.com (Ben Mirecki) Date: Mon May 14 15:01:00 2001 Subject: [ic] SQL Query in UserTag Ok, now here's what my code looks like: UserTag calc_price Order sku framesize frametype UserTag calc_price Interpolate UserTag calc_price HasEndTag UserTag calc_price Routine <<EOR sub { my $get_dbh = sub { my ($table_name) = @_; my $db = Vend::Data::database_exists_ref($table_name); return $db->[$Vend::Table::DBI::DBI]; }; my $dbh = $get_dbh->('framestyles'); my $sql_query = "SELECT price FROM framestyles WHERE sku = '9848'"; my $sth = $dbh->prepare($sql_query) or return error_message("Can't open framestyles database"); return $dbh; } EOR It is in fact creating the handle and returning it, but I'm getting an error saying, "Runtime error: Can't call method "prepare" on unblessed reference at (eval 233) line 11." That disappears when I comment out the my $sth... line. On Mon, May 14, 2001 at 10:21:40AM -0400, Ben Mirecki wrote: > Hi! >=20 > I'm trying to create a UserTag that does a field value lookup from an > arbitrary table. The UserTag will be called from CommonAdjust as part of = the > pricing method. I just did this, so perhaps I can help :) >=20 > Here's the code I have. >=20 > UserTag calc_price Order > UserTag calc_price Routine <<EOR > sub { > my $dbh =3D $Sql{framestyles}; > my $sql_query =3D "SELECT price FROM framestyles WHERE sku =3D 9848"; > my $sth =3D $dbh->prepare($sql_query) or return error_message("Error...= "); > my $rc =3D $sth->execute() or return HTML("Error..."); >=20 > return 0; > } > EOR >=20 You can't access %Sql like that from a usertag. I wrote a small sub-routine to get me a database handle. my $get_dbh =3D sub { my ($table_name) =3D @_; my $db =3D Vend::Data::database_exists_ref($table_name); return $db->[$Vend::Table::DBI::DBI]; }; I define this at the top of my user tag, and then I use it like this: my $dbh =3D $get_dbh->('database_name'); You should now be able to replace your line my $dbh =3D $Sql{framestyles}; with my line my $dbh =3D $get_dbh->('framestyles'); and it should work the way you think it will. --=20 Start random buzzword text: Thus, the product configuration baseline adds overriding performance constr= aints to gain the full benefts of the client-server archetecture.=20 From: interchange-users at lists.akopia.com (Sim Zacks) Date: Mon May 14 15:17:00 2001 Subject: [ic] interchange hosts Can someone give me a list, or tell me where to find one, of interchange web hosts? I am looking for a web host that already has Interchange installed, and I want to host my catalog with them. Sim From: interchange-users at lists.akopia.com (Jeff Philapy) Date: Mon May 14 16:09:01 2001 Subject: [ic] Static Page Generation Does anyone know if Interchange will generate static product pages? I am confused as to what the static page generation actually does, can someone explain to this to me. Jeff __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Jacques Williams) Date: Mon May 14 16:25:00 2001 Subject: [ic] Trouble accessing PostgreSQL on RedHat 6.2; postgresql-7.1.0 test.pl has no trouble connecting to the database. When I start Akopia, I get the following error: >Configuring catalog construct...Using PostgreSQL, DSN=dbi:Pg:dbname=test_construct. >construct config error: connect failed (create) -- unknown error. Driver 'Pg' installed? Evidently, Interchange is not find the database driver. The interchange user has these environment settings: >export PATH=$PATH:/usr/local/pgsql/bin >export PGDATA=/usr/local/pgsql/data >export LD_LIBRARY_PATH=/usr/local/pgsql/lib >export PGLIB=/usr/local/pgsql/lib Are other environment settings needed, or is there something in the config file that needs changing, or what? TIA, Jacques Williams From: interchange-users at lists.akopia.com (Dan B) Date: Mon May 14 17:01:01 2001 Subject: [ic] Trouble accessing PostgreSQL At 04:26 PM 5/14/2001 -0400, you wrote: >on RedHat 6.2; postgresql-7.1.0 >test.pl has no trouble connecting to the database. >When I start Akopia, I get the following error: > > >Configuring catalog construct...Using PostgreSQL, > DSN=dbi:Pg:dbname=test_construct. > >construct config error: connect failed (create) -- unknown error. Driver > 'Pg' installed? > >Evidently, Interchange is not find the database driver. The interchange user >has these environment settings: > > >export PATH=$PATH:/usr/local/pgsql/bin > >export PGDATA=/usr/local/pgsql/data > >export LD_LIBRARY_PATH=/usr/local/pgsql/lib > >export PGLIB=/usr/local/pgsql/lib > >Are other environment settings needed, or is there something in the config >file that needs changing, or what? > >TIA, >Jacques Williams Sounds like DBD::Pg isn't installed. Barring the use of Bundle::Interchange, one can download DBD::Pg manually from search.cpan.org (which I think is the easiest way), and then tar zxvf ..., then perl Makefile.PL make make test make install And that's it. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (David Totten) Date: Mon May 14 17:10:00 2001 Subject: [ic] SQL Query in UserTag On Mon, May 14, 2001 at 03:58:12PM -0400, Ben Mirecki wrote: > Hi David, > > Thanks for your reply to my Interchange question! I modified my code so that > it now looks like this.... No problem.. just glad to help > UserTag calc_price Order sku framesize frametype > UserTag calc_price Interpolate > UserTag calc_price HasEndTag > UserTag calc_price Routine <<EOR > sub { > > my $get_dbh = sub { > my ($table_name) = @_; > my $db = Vend::Data::database_exists_ref($table_name); > return $db->[$Vend::Table::DBI::DBI]; > }; > > my $dbh = $get_dbh->('framestyles'); > my $sql_query = "SELECT price FROM framestyles WHERE sku = '9848'"; > my $sth = $dbh->prepare($sql_query) or return error_message("Can't open > framestyles database"); > > return $dbh; > } > EOR > > > > The one thing I forgot to mention is.. this database is a text file (gdbm) > format, not a SQL database. Does that make a difference? All I need to do is > a simple field lookup based on some criteria and preferably using an SQL > statement. I am such a newbie at Perl so it seems very confusing to me :) I don't think that this code will work for you. It returns an sql database handle, so I don't know that this will work with a gdbm database. Although, I was looking through some of the new 4.8 docs (found at http://developer.akopia.com/cgi-bin/ic/dev-4.8/ictags) and thought that you could probably use the query tag. Here is what the docs say: my $sql = "select * from products order by price"; my $result_array = $Tag->query( { sql => $sql, }, $body ); my ($same_results, $col_name_hash, $col_name_array) = $Tag->query( { sql => $sql, }, $body ); my $result_hasharray = $Tag->query( { sql => $sql, hashref => 'my_results', }, $body ); or similarly with positional parameters, $Tag->query( $sql, $attribute_hash_reference, $body); Doing your query like this should work. -- Start random buzzword text: In particular, initiation of critical subsystem development mandates staff-meeting-level attention to the distributed e-commerce solution. From: interchange-users at lists.akopia.com (kyle at invisio.com) Date: Mon May 14 19:06:00 2001 Subject: [ic] Long running process Hey list, Hope everyone is doing well! I currently have developed a long running (5-10 min) php script to update inventory and 7 other tables ( extended data specifications etc.) I now need to make this update script useable by the customer so they can run updates. The question is: If I were to attempt to make this a user tag, would I run into "housecleaning" which would kill this process after the set time. If so is there a way to over-ride this check on this process only (via the usertag)? Thanks for any input. Kyle From: interchange-users at lists.akopia.com (Jim Balcom) Date: Mon May 14 19:16:00 2001 Subject: [ic] Re: Interchange-users digest, Vol 1 #508 - 14 msgs On Mon, 14 May 2001, predrag wrote: You quoted ALL 14 messages without adding a thing. Was there a reasonable reason for doing this? (Other than to annoy me) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, May 14, 2001 at 19:15 PM: Useless Invention: Waterproof teabags. ---------------------------------------------------------------- This Linux System has been up 388 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Mon May 14 19:20:00 2001 Subject: [ic] Static Page Generation On Mon, 14 May 2001, Jeff Philapy wrote: JP>>Date: Mon, 14 May 2001 13:12:49 -0700 (PDT) JP>>From: Jeff Philapy <jphilapy@yahoo.com> JP>>Reply-To: interchange-users@developer.akopia.com JP>>To: interchange-users@developer.akopia.com JP>>Subject: [ic] Static Page Generation May I suggest that if you want to get some help that you find an e-mail address that is more closely associated with the project that you are working on? Using 'yahoo', 'hotmail', 'juno', and other anonymous e-mail addresses raises MANY questions and tends to raise an 'IGNORE' flag. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, May 14, 2001 at 19:20 PM: All computers wait at the same speed. ---------------------------------------------------------------- This Linux System has been up 388 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Ian J Cottee) Date: Mon May 14 19:57:00 2001 Subject: [ic] Static Page Generation > Does anyone know if Interchange will generate static > product pages? I am confused as to what the static > page generation actually does, can someone explain to > this to me. Try this previous posting as a starting point http://lists.akopia.com/pipermail/interchange-users/2000-September/000365.ht ml - don't think the Demo site exists any more but it gives you a little info. Also in 4.6.5 there is a link on the Administration section in Preferences for Static Pages. If you look in there it has some online help. Never tried it but a starting point - I'm sure you'll let us know if it doesn't work :-) > Jeff Ian From: interchange-users at lists.akopia.com (Ian J Cottee) Date: Mon May 14 19:58:53 2001 Subject: [ic] Static Page Generation > On Mon, 14 May 2001, Jeff Philapy wrote: > > JP>>Date: Mon, 14 May 2001 13:12:49 -0700 (PDT) > JP>>From: Jeff Philapy <jphilapy@yahoo.com> > JP>>Reply-To: interchange-users@developer.akopia.com > JP>>To: interchange-users@developer.akopia.com > JP>>Subject: [ic] Static Page Generation > > May I suggest that if you want to get some help that you find an e-mail > address that is more closely associated with the project that you are > working on? Quite right Jim! In future NOBODY is to post to this list unless their email address ends with interchange.com. Frankly if you are using a public webmail it is obvious that you are some form of criminal or deviant and you must be punished. Expect changes to the GPL shortly to take these facts into account. > Using 'yahoo', 'hotmail', 'juno', and other anonymous e-mail addresses > raises MANY questions and tends to raise an 'IGNORE' flag. Well, why didn't you ignore it then? Mike Heins has recommended hotmail.com in a previous post by the way - so I shall be insisting he is removed from the list immediately. Ian Cottee icottee@hotandsweatycriminals.com From: interchange-users at lists.akopia.com (Bobby G. Brown, Jr.) Date: Mon May 14 20:10:00 2001 Subject: [ic] interchange hosts Sim, Just noticed your message on the interchange-users message board. I am the owner / sysadmin of a webhosting and webdesign company. We have a couple of catalogs on our system now and would be more than happy to help you with hosting. Just give me a call at (903) 577-0478 or visit us on the web at http://www.superiorsites.net for any information you may need. Bobby G. Brown, Jr. bobby@superiorsites.net sysadmin@superiorsites.net ----- Original Message ----- From: "Sim Zacks" <Szacks@co.wayne.mi.us> To: <interchange-users@developer.akopia.com> Sent: Monday, May 14, 2001 2:20 PM Subject: [ic] interchange hosts > Can someone give me a list, or tell me where to find one, of interchange web hosts? > I am looking for a web host that already has Interchange installed, and I want to host my catalog with them. > > Sim > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Mon May 14 20:18:01 2001 Subject: [ic] Truncating Search Results Hi, I am currently displaying the category (custom field), description and comment fields. Unfortuantely, some of my comment fields are very long, and I would like to truncate them to ~100 characters or so. Anyone know of a way to do this? thanks, .cfg From: interchange-users at lists.akopia.com (Jeff Philapy) Date: Mon May 14 21:04:00 2001 Subject: [ic] Static Page Generation Thanks you! Jeff --- Ian J Cottee <icottee@bluefountain.com> wrote: > > Does anyone know if Interchange will generate > static > > product pages? I am confused as to what the static > > page generation actually does, can someone explain > to > > this to me. > > Try this previous posting as a starting point > http://lists.akopia.com/pipermail/interchange-users/2000-September/000365.ht > ml - don't think the Demo site exists any more but > it gives you a little > info. Also in 4.6.5 there is a link on the > Administration section in > Preferences for Static Pages. If you look in there > it has some online help. > > Never tried it but a starting point - I'm sure > you'll let us know if it > doesn't work :-) > > > Jeff > > Ian > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (kyle at invisio.com) Date: Mon May 14 21:07:00 2001 Subject: [ic] Truncating Search Results Maybe something like: [calc] $max_length = 100; $out = q{[PREFIX-description]}; if (length($out) > $max_length) { # chop it down to max length $out = substr($out,0,$max_length); # now remove any char's up to & include last space # because we may have chopped up word $out =~ s/ [^ ]*$//; # now tack on ' ...' to indicate there is more. return $out . " ..."; } return $out; [/calc] Could make it a user-tag if you need to reference it in many places. Kyle (KC) At 07:22 PM 5/14/01 , you wrote: >Hi, > >I am currently displaying the category (custom field), description and >comment fields. Unfortuantely, some of my comment fields are very long, >and I would like to truncate them to ~100 characters or so. Anyone know >of a way to do this? > >thanks, >.cfg > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Dan B) Date: Mon May 14 22:24:01 2001 Subject: [ic] Truncating Search Results At 07:22 PM 5/14/2001 -0400, you wrote: >I am currently displaying the category (custom field), description and >comment fields. Unfortuantely, some of my comment fields are very long, >and I would like to truncate them to ~100 characters or so. Anyone know >of a way to do this? Let me know if you can't find a solution with [filter] (read up on it). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Stefano Nota) Date: Tue May 15 02:47:00 2001 Subject: R: R: R: R: [ic] help with locale please Ok it works, now i understand, thanks a lot Racke stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: lunedì 14 maggio 2001 16.49 A: interchange-users@developer.akopia.com Oggetto: Re: R: R: R: [ic] help with locale please "Stefano Nota" <stefano@register.it> writes: > Something like this is rigth? > > UserTag language-field Order field code > UserTag language-field Routine <<EOF > sub { > my ($comment_it_IT, $code) = @_; > my $data; > my $locale = $Scratch->{mv_locale}; > > if ($locale) { > $data = $Tag->data('products',"${comment_it_IT}_$locale",$code); > return $data if $data =~ /\S/; > } > $Tag->data('products',$comment_it_IT,$code); > } > EOF > > If i've done errors, could you correct it please? > It's not so simple, i'm not so expert. No, I think this leads into the wrong direction. Lets start with the database setup, then we talk about applying this function. I assume you have something like that as products database: sku comment comment_it_IT whatever whatever_it_IT 11111 English Comment Commentare Italiano Bye Ciao Now, if you use my original function and [language-field comment [item-code]] resp. [language-field whatever [item-code]] You get the text of comment_it_IT resp. whatever_it_IT if the selected language is it_IT, otherwise the text from comment resp. whatever. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 15 03:28:00 2001 Subject: [ic] re:can't restart... out of memory i have it installed on a web server and there is no possible way to increase ram...please no more idiotic replies...either you have a way to reconfigure to lessen ram use or not ...but no more ridiculous answers...like add ram ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. From: interchange-users at lists.akopia.com (Stefano Nota) Date: Tue May 15 03:49:01 2001 Subject: R: [ic] re:can't restart... out of memory What kind of operating system do you have? maybe i can help you. i got the same problem -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di hotpies@juno.com Inviato: martedì 15 maggio 2001 9.32 A: interchange-users@developer.akopia.com Oggetto: [ic] re:can't restart... out of memory i have it installed on a web server and there is no possible way to increase ram...please no more idiotic replies...either you have a way to reconfigure to lessen ram use or not ...but no more ridiculous answers...like add ram ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Dave Barr) Date: Tue May 15 08:25:01 2001 Subject: [ic] How do I kill [data session source] ? (IC 4.6.5, Debian 2.2-17, MySQL 3.22, Perl 5.005-03) Hi people... I'm integrating some 'advanced' levels of affiliate control, ie changing the Coporate 'look & feel' on-the-fly by use of mv_pc=*affiliate* and called using [data session source]. I checked the pdfs and developer.akopia.com but cannot find how to zero/blank/kill this data if called incorrectly...eg: if.. the affiliate does not exist the affiliate was spelled incorrectly the affiliate has been purged from the db How do I reassign [data session source] to be the default of 0/blank etc? The following (is just the first run) and works a treat: <<SNIP>> [if session source] [perl tables=affiliate interpolate=1] my $key = '[data session source]'; $key =~ s/\s+//g; my $darkcol = tag_data('affiliate', 'darkcolour', $key); my $litecol = tag_data('affiliate', 'litecolour', $key); $Values->{darkcolour} = $darkcol; $Values->{litecolour} = $litecol; return; [/perl] [else] [calc] $Values->{darkcolour} = "000099"; $Values->{litecolour} = "3399FF"; return; [/calc] [/else][/if] <</SNIP>> So what I intend to do next is a whole slue of error checking, and if any errors are encountered basically blank the affiliate data and run with default, but, how do I do this? Hope some of that made sense :P Thanks... "D" From: interchange-users at lists.akopia.com (Jason Kohles) Date: Tue May 15 09:14:01 2001 Subject: [ic] How do I kill [data session source] ? On Tue, May 15, 2001 at 01:27:52PM +0100, Dave Barr wrote: > > I'm integrating some 'advanced' levels of affiliate control, ie > changing the Coporate 'look & feel' on-the-fly by use of > mv_pc=*affiliate* and called using > [data session source]. I checked the pdfs and developer.akopia.com > but cannot find how to zero/blank/kill this data if called > incorrectly...eg: > The easiest way I can think of off the top of my head is: [calc]delete $Session->{source}; return;[/calc] -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Robert Trembath) Date: Tue May 15 09:24:01 2001 Subject: [ic] Where is the interchange.cfg file in 4.7.2 I looked in /etc but all that's there is the old file remarked out. I cannot find the interchange.cfg file that's being used. Please help. Robert From: interchange-users at lists.akopia.com (Dave Barr) Date: Tue May 15 10:08:00 2001 Subject: [ic] How do I kill [data session source] ? At 09:09 -0400 15/5/01, Jason Kohles wrote: >On Tue, May 15, 2001 at 01:27:52PM +0100, Dave Barr wrote: >> >> I'm integrating some 'advanced' levels of affiliate control, ie >> changing the Coporate 'look & feel' on-the-fly by use of >> mv_pc=*affiliate* and called using >> [data session source]. I checked the pdfs and developer.akopia.com >> but cannot find how to zero/blank/kill this data if called >> incorrectly...eg: >> >The easiest way I can think of off the top of my head is: >[calc]delete $Session->{source}; return;[/calc] arrgghhh... of course.... ;-) cheers Jason! too many hours without sleep, that'll do it every time. "D" From: interchange-users at lists.akopia.com (David Totten) Date: Tue May 15 11:40:01 2001 Subject: [ic] SQL Query in UserTag On Tue, May 15, 2001 at 10:20:22AM -0400, Ben Mirecki wrote: > David, > > Please forgive my ignorance, but I still can't seem to get this working. At > this point, I have no desire to understand how this works :) All I need is a > [calc_price] tag that I can pass a sku, framesize, and frametype to that > will do a simple lookup and return a price value. That's it. hehe.. I know how frustrating this can be at times. > > With the code below, the tag doesn't even return 5 (the hard coded value) > which suggests to me that something is majorly wrong. Instead, I see the > actual tag code (ie. "[calc_price 9848 8x10]") in the html output. > yeah, there are problems with the code.. I posted a "working on my system" usage of $Tag->query() > If we ever get this working, I'll have to buy you a coffee for sure! I'm > from the Toronto area, but I travel often so maybe we could hook up > sometime. hehe.. thanks for the offer, but not neccessary > UserTag calc_price Order sku framesize frametype > UserTag calc_price Interpolate > UserTag calc_price HasEndTag > UserTag calc_price Routine <<EOR > sub { > > my $sql = "SELECT price FROM framestyles WHERE sku = 9848"; > my $result_array = $Tag->query( { sql => $sql, }, $body ); > my ($same_results, $col_name_hash, $col_name_array) = $Tag->query( { sql > => $sql, }, $body); > my $result_hasharray = $Tag->query( { sql => $sql, hashref => > 'my_results', }, $body ); > > return 5.00; # test value > } > EOR Since I didn't have a copy of your database, I just did a simple query of select price from products. UserTag calc_price Order framesize frametype UserTag calc_price Interpolate UserTag calc_price HasEndTag UserTag calc_price Routine <<EOR sub { my $return = ""; my $sql = "select price from products"; #here you must use the wantarray => 1, cause the documentation says so :) #The documentation also says that using that will return an arrayref of your #results, a hashref of the column names, and an arrayref of the column names. my ($results,$colname_hashref,$colname_arrayref) = $Tag->query({ wantarray => 1,sql => $sql, } ); #take the arrayref, and convert to an array @results, which is an array of #arrayrefs. my @results = @{$results}; foreach my $ref (@results) { my @tmp = @{$ref}; #dereference each arrayref foreach my $test (@tmp) { #@temp now holds actual (dereferenced) results $return .= "$test\n"; } } return $return; } EOR Dave Totten -- Start random buzzword text: Interestingly enough, an enterprise java beans based solution maximizes the probability of project success, yet minimizes cost and time required for the corporate intranet. From: interchange-users at lists.akopia.com (Thomas N. Stefanidis) Date: Tue May 15 12:52:00 2001 Subject: [ic] Orders missing from mail that goes to customer. Hello, I have a strange problem. Some time,when someone orders some products,he gets a mail that lists what he got.(it works fine). But on the mail (it's the "report" file inside the /etc folder) that the shop onwers gets,sometimes a second product is missing. Anyone had a problem like that? Thomas From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 15 13:26:00 2001 Subject: [ic] Perl modules Hello: When I try to run the admin interface, it warns me that I need several perl modules. I have a standar RedHat 6.2 installation. Is there a rpm with most of the modules needed or I have to get them from CPAN? Thanks for any help. I am not yet suscribed to this list. Alejandro Sierra From: interchange-users at lists.akopia.com (Victor Nolton) Date: Tue May 15 13:40:00 2001 Subject: [ic] re:can't restart... out of memory I don't think the comment of adding more ram is "ridiculous" Okay so you somehow manage to get interchange to use less ram so you can restart. What happens when you need to run something else (cronjob, webstats, backups...), it won't have anymore ram. $67 for 256 megs is not unreasonable. Ven >i have it installed on a web server and there is no possible way to >increase ram...please no more idiotic replies...either you have a way to >reconfigure to lessen ram use or not ...but no more ridiculous >answers...like add ram >________________________________________________________________ >GET INTERNET ACCESS FROM JUNO! >Juno offers FREE or PREMIUM Internet access for less! >Join Juno today! For your FREE software, visit: >http://dl.www.juno.com/get/tagj. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (wayne kerrxp) Date: Tue May 15 14:03:01 2001 Subject: [ic] Perl modules I did one of these to install some needed perl bits, perl -MCPAN -e 'install Bundle::Interchange' it updated lots of thing at the same time, but it worked just fine afterwards... Frivolous email addresses? justifiably deprecated... >From: alsierra@ce.net.mx >Reply-To: interchange-users@developer.akopia.com >To: interchange-users@developer.akopia.com >Subject: [ic] Perl modules >Date: Tue, 15 May 2001 17:38:39 GMT > > >Hello: > >When I try to run the admin interface, it warns me that I need several perl >modules. I have a standar RedHat 6.2 installation. Is there a rpm with most >of the modules needed or I have to get them from CPAN? > >Thanks for any help. I am not yet suscribed to this list. > >Alejandro Sierra >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Tue May 15 15:00:01 2001 Subject: [ic] Variable quantity pricing Hi, I am selling conferences, video packages, streams, and other related materials. Where I run into trouble is with the quantity pricing. It is totally dependent on the medium. A conference may have discounted prices beginning with 4 registrations, while a stream may begin the discounts at 15, varying up to 30. Is there an easy to ONLY show the checkpoints, so to speak? Right now I have <font __FFACE__>2 Qty [item-price 2]</font> (from the default flypage). It shows 2, 3, 5, 10, 25. Is there a way of checking to see if a certain item-price exists? thanks .cfg From: interchange-users at lists.akopia.com (Thomas Swinney) Date: Tue May 15 15:23:00 2001 Subject: [ic] general questions little background first. I want to use akopia for a site. The customer I am building this site for uses peachtree accounting for is administration. Now I have found a program that can act in the middle to update peachtree's records and inventory. 1. Is there a way to pause the shopping cart from taking orders to allow for site updates and inventory changes? 2. Does anybody have a good guide on how to build some page templates in netobjects fusion for use in ic? My server does support ssi if that might be of help. 3. Is it possible to use the same shopping cart data for 2 different sites at the same time? i.e. Site A sells the same stuff supplied by site B. Site A and Site B want to work together. Peachtree Accounting runs on the background of Site B. Can 2 seperate sites use the same sql table data? From: interchange-users at lists.akopia.com (Thomas Swinney) Date: Tue May 15 15:28:00 2001 Subject: [ic] schedule generation of the transactions table Is there a way to schedule a cron job for generation of a cvs file from the transactions table say at certain times of the day? Thanks Thomas Swinney From: interchange-users at lists.akopia.com (wayne kerrxp) Date: Tue May 15 15:30:01 2001 Subject: [ic] UK payment systems? Hi list, I've gotta get, initially, a few items, actually gsm modems with gps, and accessories, up there for sale in cyber space. I've done the tutorial (works well thanks guys) and now I'm wondering what to do next. The initial sale is in the UK ie GBP sterling. I'm sure there's a hard way and a very hard way to do this. Any pointers to do it the hard way. I can just about hack the apache ITL stuff but hooks into payments systems are currently a bit mysterious. Any advice on how to proceed in a UK context would be extra welcome. TIA Wayne _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: interchange-users at lists.akopia.com (Bob Puff at NLE) Date: Tue May 15 15:52:00 2001 Subject: [ic] Constant search errors in log Hello, I am getting -tons- of the following errors in my error.log: 64.12.104.38 M97S4wii:64.12.104.38 - [12/April/2001:18:30:52 -0400] tlistore /solux/cgi-bin/tlistore/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, probably search group without search specification. at /usr/local/interchange/lib/Vend/Search.pm line 703. Ideas? Bob From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Tue May 15 17:02:00 2001 Subject: [ic] cart contents empty in secure mode. Please someone help. When i go to check out the cart contents are empty in secure mode but if i use my domain name its okay. The secure server is on a different machine. It worked in previous versions of interchange but not interchange -4.7.3. Is there something I have to do? From: interchange-users at lists.akopia.com (Chris Rapier) Date: Tue May 15 17:42:01 2001 Subject: [ic] Upgraded from MV to IC: WHat about CyberCash? I went through no small amount of magic to get cybercash to function properly with MV 4.x. This included hacking the cybercash modules as described on the minivend list over the years. Is this still necessary with interchange or should it simply work out of the box now? From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 15 18:07:00 2001 Subject: [ic] user-dependent products.txt hi list here´s a problem that has me stumped but someone else could possibly (and hopefully) solve with a quick glance. I have a pulldown menu generated from the area.txt which retrieves the data from the products.txt.. but to complicate things :) we would like to specify a set list of products dependent on who the user is logged in as... eg. we have a products.txt with 100 articles.. all of which are viewable by USERA but 50 viewable by USERB here´s the pulldown: <FORM NAME="myform"> <SELECT NAME="dest" SIZE=1 ONCHANGE="leapto(this.form)"> <option SELECTED value=""><font color=ffffff>Choose a product:</option> [loop search=" fi=area.txt tf=sort ra=yes rf=code,name un=yes sf=which_page op=rm [if scratch page_class] se=all|[scratch page_class][set page_class][/set] [else] se=all|@@MV_PAGE@@ [/else] [/if] " prefix=box] <option value="[area href=scan search=' sf=category se=[box-code] va=category=[box-code] ']">[box-param name]</option> [/loop] </select> </form> the above code is in it´s own frame called menu.html which only gets accessed after the initial login! So the bit i´m stumped at it.. Do i specify in the login page which menu.html gets loaded dependent on who´s logged in? Or do i put a restriction in the pulldown menu with some kind of fancy if logged/then loop? Or do i filter the return of ALL products in the results.html? And lastly is what i´d like to do at all possible with minivend and if so then how? any clues or hints much appreciated! thanks, alasdair -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Tue May 15 19:34:01 2001 Subject: [ic] user-dependent products.txt On Wed, May 16, 2001 at 12:10:28AM +0200, alasdair@gmx.net wrote: > hi list > > here?s a problem that has me stumped but someone else could possibly (and > hopefully) solve with a quick glance. > > I have a pulldown menu generated from the area.txt which retrieves the data > from the products.txt.. but to complicate things :) we would like to specify > a set list of products dependent on who the user is logged in as... > eg. we have a products.txt with 100 articles.. all of which are viewable by > USERA but 50 viewable by USERB Seems to me the key to this is your database schema and what makes sense for that. There are probably different solutions for n users with x products where n is large or n is very small. One could do this in a generalized way with a usual products table and a second user_products table that consisted of only: id product_code Then do a JOIN on that table and the products table to build any queries. cfm > > here?s the pulldown: > > <FORM NAME="myform"> > <SELECT NAME="dest" SIZE=1 ONCHANGE="leapto(this.form)"> > <option SELECTED value=""><font color=ffffff>Choose a product:</option> > [loop search=" > fi=area.txt > tf=sort > ra=yes > rf=code,name > un=yes > > sf=which_page > op=rm > [if scratch page_class] > se=all|[scratch page_class][set page_class][/set] > [else] > se=all|@@MV_PAGE@@ > [/else] > [/if] > " prefix=box] > <option value="[area > href=scan > search=' > sf=category > se=[box-code] > va=category=[box-code] > ']">[box-param name]</option> > [/loop] > </select> > </form> > > the above code is in it?s own frame called menu.html which only gets > accessed after the initial login! > > So the bit i?m stumped at it.. > Do i specify in the login page which menu.html gets loaded dependent on > who?s logged in? > Or do i put a restriction in the pulldown menu with some kind of fancy if > logged/then loop? > Or do i filter the return of ALL products in the results.html? > And lastly is what i?d like to do at all possible with minivend and if so > then how? > > any clues or hints much appreciated! > > thanks, > alasdair > > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Matthew Schick) Date: Tue May 15 19:56:01 2001 Subject: [ic] Orders missing from mail that goes to customer. I came across that same problem (or one like it) in a client's site. It seems to only pop up when the '&' sign is in the title or short description.... Hope this helps.... Matt On 15 May 2001 19:56:08 +0300, Thomas N. Stefanidis wrote: > Hello, > I have a strange problem. > Some time,when someone orders some products,he gets a mail that lists > what he got.(it works fine). > But on the mail (it's the "report" file inside the /etc folder) that the > shop onwers gets,sometimes a second product is missing. > Anyone had a problem like that? > > Thomas > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Trond Arve Nordheim) Date: Wed May 16 07:28:00 2001 Subject: [ic] Interchange server is unavailable Hi. I suddenly got some problems with the Interchange-server i'm working on here. Just a couple of days ago it was working fine. Now, every time I try to enter the shop I get: We're sorry, the Interchange server is unava ilable... We are out of service or may be experiencing high system demand, please try again soon. I've checked every logfile I could find (both from Apache and Interchange) without finding anything. I've tried restarting apache, i've tried restarting interchange, i even tried restarting the whole server, but no matter what I do I still get that error. The strange thing is that this happened without me touching anything (at least I can't remember touching anything ;). Anyone have some hints for where I could look for errors? -- Trond Arve Nordheim From: interchange-users at lists.akopia.com (Dennis Schoen) Date: Wed May 16 07:41:00 2001 Subject: [ic] Interchange server is unavailable On Wed, 16 May 2001 13:36:32 +0200, Trond Arve Nordheim <trond.arve@nordheim.no> wrote: > Hi. > > I suddenly got some problems with the Interchange-server i'm working on > here. Just a couple of days ago it was working fine. Now, every time I try > to enter the shop I get: > > We're sorry, the Interchange server is unava ilable... > We are out of service or may be experiencing high system demand, please try > again soon. > > I've checked every logfile I could find (both from Apache and Interchange) > without finding anything. I've tried restarting apache, i've tried > restarting interchange, i even tried restarting the whole server, but no > matter what I do I still get that error. The strange thing is that this > happened without me touching anything (at least I can't remember touching > anything ;). > > Anyone have some hints for where I could look for errors? You checked the permission of the cgi executable? Dennis -- "The Idea Is Good But The World Isn't Ready Yet" - Tocotronic (The Hamburg Years - 1998) From: interchange-users at lists.akopia.com (Rene Hertell) Date: Wed May 16 07:43:01 2001 Subject: [ic] Interchange server is unavailable > I suddenly got some problems with the Interchange-server i'm working on > here. Just a couple of days ago it was working fine. Now, every time I try > to enter the shop I get: > > We're sorry, the Interchange server is unava ilable... > We are out of service or may be experiencing high system demand, > please try > again soon. I guess that the owner and group for the link-file is not correct (should be the same as interchange engine) René From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 16 07:46:40 2001 Subject: [ic] Interchange server is unavailable Check your link program and it's permissions. The link program is in your cgi-bin directory. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 "Trond Arve Nordheim" <trond.arve@nordheim.no> Sent by: interchange-users-admin@developer.akopia.com 05/16/2001 07:36 AM Please respond to interchange-users To: <interchange-users@developer.akopia.com> cc: Subject: [ic] Interchange server is unavailable Hi. I suddenly got some problems with the Interchange-server i'm working on here. Just a couple of days ago it was working fine. Now, every time I try to enter the shop I get: We're sorry, the Interchange server is unava ilable... We are out of service or may be experiencing high system demand, please try again soon. I've checked every logfile I could find (both from Apache and Interchange) without finding anything. I've tried restarting apache, i've tried restarting interchange, i even tried restarting the whole server, but no matter what I do I still get that error. The strange thing is that this happened without me touching anything (at least I can't remember touching anything ;). Anyone have some hints for where I could look for errors? -- Trond Arve Nordheim _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Trond Arve Nordheim) Date: Wed May 16 07:48:01 2001 Subject: SV: [ic] Interchange server is unavailable Yikes. Damn. That didn't even get -close- to entering my mind. Thanks! :) Trond -----Opprinnelig melding----- Fra: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]På vegne av Rene Hertell Sendt: 16. mai 2001 13:45 Til: interchange-users@developer.akopia.com Emne: RE: [ic] Interchange server is unavailable > I suddenly got some problems with the Interchange-server i'm working on > here. Just a couple of days ago it was working fine. Now, every time I try > to enter the shop I get: > > We're sorry, the Interchange server is unava ilable... > We are out of service or may be experiencing high system demand, > please try > again soon. I guess that the owner and group for the link-file is not correct (should be the same as interchange engine) René _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Robert Trembath) Date: Wed May 16 09:25:00 2001 Subject: FW: [ic] Where is the interchange.cfg file in 4.7.2 I posted this yesterday and need some help. I would like to continue testing 4.7.2 but cannot without this info. Robert -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert Trembath Sent: Tuesday, May 15, 2001 8:28 AM To: Interchange-Users@Lists.Akopia.Com (E-mail) Subject: [ic] Where is the interchange.cfg file in 4.7.2 I looked in /etc but all that's there is the old file remarked out. I cannot find the interchange.cfg file that's being used. Please help. Robert _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Lord Valankar) Date: Wed May 16 09:53:00 2001 Subject: [ic] Perl modules alsierra@ce.net.mx wrote: > > Hello: > > When I try to run the admin interface, it warns me that I need several perl > modules. I have a standar RedHat 6.2 installation. Is there a rpm with most > of the modules needed or I have to get them from CPAN? I had all kinds of trouble with CPAN, I ended up DLing the source for the modules and manualy compiling them. Only one glitch after that, and that was term::readline on make cat.. I think it's a bug thou. > Thanks for any help. I am not yet suscribed to this list. You should subscribe even if you just lurk, it's amazing what you will learn. BTW avoid the RPM install.. lots of people having weird problems with it. Compile from CVS. > Alejandro Sierra *snip* Dwagon - valankar@core.com From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 16 09:55:00 2001 Subject: [ic] how do i? Im trying to get the secure mode to work. I keep getting cart contents empty when i go to the secure mode. The ssl is located on a different machine. When i ran makecat this is what i did. domain name is located at www.giftbound.com and the ssl is located at https://https.candledark.net server name www.giftbound.com document root /home/giftbound/www cgi dir /home/giftbound/www/cgi-bin cgi url /cgi-giftbound/cart.cgi aliases /giftbound/cgi-bin/cart.cgi catalog root /home/giftbound/catalogs What if anything am i doing wrong here? From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 16 09:57:01 2001 Subject: FW: [ic] Where is the interchange.cfg file in 4.7.2 its in the debian folder. Robert Trembath wrote: > I posted this yesterday and need some help. I would like to continue testing > 4.7.2 but cannot without this info. > Robert > > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Robert > Trembath > Sent: Tuesday, May 15, 2001 8:28 AM > To: Interchange-Users@Lists.Akopia.Com (E-mail) > Subject: [ic] Where is the interchange.cfg file in 4.7.2 > > > I looked in /etc but all that's there is the old file remarked out. I cannot > find the interchange.cfg file that's being used. Please help. > Robert > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (David Totten) Date: Wed May 16 10:03:00 2001 Subject: FW: [ic] Where is the interchange.cfg file in 4.7.2 On Wed, May 16, 2001 at 08:29:35AM -0500, Robert Trembath wrote: > I posted this yesterday and need some help. I would like to continue testing > 4.7.2 but cannot without this info. > Robert interchange.cfg is located in the directory that you installed interchange to. Basically if you can find the makecat program, cd .. and do an ls and you should see interchange.cfg > I looked in /etc but all that's there is the old file remarked out. I cannot > find the interchange.cfg file that's being used. Please help. > Robert -- Start random buzzword text: Similarly, a constant flow of effective communication presents extremely interesting challenges to the sophisticated hardware. From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Wed May 16 10:11:00 2001 Subject: FW: [ic] Where is the interchange.cfg file in 4.7.2 Gift Bound Gifts <giftbound1@home.com> writes: > its in the debian folder. No ! This file is only for Debian packages. The generic default file can be found as dist/interchange.cfg.dist in the sources. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Mike Heins) Date: Wed May 16 10:29:01 2001 Subject: [ic] 4.7.2 minor changes to etc/receipt.html Quoting LoadUp (Cust Serv Dept) (help@LoadUp.com): > Some changes for 4.7.2 etc/receipt.html > > (1) line 44 should be: > <th align=right> > not > <th> > > (2) line 327 should be: > [total-cost] > not > [handling] > Thanks for finding this, Angelica. Change made in CVS. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 16 10:52:00 2001 Subject: [ic] product page error? Im using interchange-4.7.3. When i go to click the product in the category listing and enter a qty and click buy i get sorry the page expired not found. Isnt this supposed to add to the cart? I think it does add it but theres something wrong. From: interchange-users at lists.akopia.com (Stefano Nota) Date: Wed May 16 11:07:01 2001 Subject: [ic] pass variables Hello, Someone can help me or teach me how to pass variable throw pages. Example: <form action="page" method="POST"> <input type="text" name="lan" value="en"> <nput type="Submit> </form> How in a page a can get lan's value in another page ? bye stefano From: interchange-users at lists.akopia.com (Jason Korkin) Date: Wed May 16 11:13:00 2001 Subject: [ic] pass variables [value lan] should do it! Jason Korkin Korksoft LLC http://www.korksoft.com Stefano Nota wrote: > > Hello, > > Someone can help me or teach me how to pass variable throw pages. > > Example: > > <form action="page" method="POST"> > <input type="text" name="lan" value="en"> > <nput type="Submit> > </form> > > How in a page a can get lan's value in another page ? > > bye stefano > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (Rene Hertell) Date: Wed May 16 11:22:00 2001 Subject: [ic] pass variables > Hello, > > > Someone can help me or teach me how to pass variable throw pages. > > Example: > > <form action="page" method="POST"> > <input type="text" name="lan" value="en"> > <nput type="Submit> I guess this should help... [set To The Next Page] language=eng [/set] <INPUT TYPE=submit NAME=mv_click VALUE="To The Next Page"> René From: interchange-users at lists.akopia.com (Stefano Nota) Date: Wed May 16 11:36:00 2001 Subject: R: [ic] pass variables Thanks but i can't get the value in the other page -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Rene Hertell Inviato: mercoledì 16 maggio 2001 17.24 A: interchange-users@developer.akopia.com Oggetto: RE: [ic] pass variables > Hello, > > > Someone can help me or teach me how to pass variable throw pages. > > Example: > > <form action="page" method="POST"> > <input type="text" name="lan" value="en"> > <nput type="Submit> I guess this should help... [set To The Next Page] language=eng [/set] <INPUT TYPE=submit NAME=mv_click VALUE="To The Next Page"> René _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jason Korkin) Date: Wed May 16 11:44:00 2001 Subject: R: [ic] pass variables Use this instead... <FORM ACTION="[process-target]" METHOD="POST"> <INPUT TYPE=HIDDEN NAME="mv_doit" VALUE="return"> <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="pagename.html"> <INPUT TYPE=TEXT NAME="lan" VALUE="eng"> <INPUT TYPE=SUBMIT VALUE="NEXT!"> </FORM> Then, on the next page (pagename.html), use [value lan] and it will produce the value equal to eng. Regards, 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 http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (Curt Hauge) Date: Wed May 16 11:56:00 2001 Subject: [ic] Constant search errors in log Quoting Bob Puff@NLE > I am getting -tons- of the following errors in my error.log: > > 64.12.104.38 M97S4wii:64.12.104.38 - [12/April/2001:18:30:52 -0400] > tlistore /solux/cgi-bin/tlistore/process.html search error: Limit > subroutine creation: bad limit creation code in coordinated search, > probably search group without search specification. at > /usr/local/interchange/lib/Vend/Search.pm line 703. > I, too, get these same errors, although they don't seem to cause any problem. If you or anyone figures this out, please let me know. Thanks, Curt Hauge IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 From: interchange-users at lists.akopia.com (Bobby G. Brown, Jr.) Date: Wed May 16 11:58:01 2001 Subject: [ic] more demo stores I'm looking for some more demo stores to use with interchange 4.6.x. I've seen the new one that Redhat is using with the beta versions of 4.7 and 4.8, but i don't know if they will work with older version. On top of that I can't seem to find it for download. I thought there use to be a section in developer.akopia.com that had some extra demos, but i can't seem to find them Bobby G. Brown, Jr. bobby@superiorsites.net sysadmin@superiorsites.net From: interchange-users at lists.akopia.com (Bobby G. Brown, Jr.) Date: Wed May 16 12:00:01 2001 Subject: [ic] (no subject) I've got a small problem. I've just created a new store using the construct demo and am wanting to load my products into it, but i've got alot of the same product in different colors. Right now the only way I know how to put them into the catalog is to put each individual color in as a seperate item. Is there a way to put in just one item and make it so that the user can select the color they want with some kind of check box or drop down box? Bobby G. Brown, Jr. bobby@superiorsites.net sysadmin@superiorsites.net From: interchange-users at lists.akopia.com (k b) Date: Wed May 16 13:26:01 2001 Subject: [ic] ................. iTelevise.com ...... launched !.................. even though it's a beta launch , and i am still wrestling with akopia cart behind the scenes , i am launching the site in "beta mode" and offering : ---a free 1 minute movie over the web every day !!--- please give it a look and let me know what you think. http://www.iTelevise.com k __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Darren Bayliss) Date: Wed May 16 14:19:00 2001 Subject: [ic] still can't install on irix 6.5 Hello, I mailed the list a week or so ago and had no reply, so i'm trying again. So far i have been unabled to install interchange onto our server. It is an origin200 with irix 6.5 installed running Netscape fastTrack. It is also running NFS. I have installed perl 5.005.03; origin2 2# perl -v This is perl, version 5.005_03 built for irix-n32 Copyright 1987-1999, Larry Wall I have a copy of interchange -4.7.1, as this was recommended for our server, which for some reason fails on the last test; > > > Manifying blib/man1/interchange.1 > > PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib > > -I/usr/freewarel > > server/unixmode.......ok 1 > > server/startup........ok 2 > > link/unixmode.........ok 3 > > server/inetmode.......The Interchange server is already running (process > id > > 298) > > ok 4 > > link/inetmode.........ok 5 > > server/control........not ok 6 > > ok 6 > > 6 tests run -- 1/6 failed. > > *** Error code 1 (bu21) > > 6# It was suggested that i install using the Makefile.PL, this also terminates before any install is complete; nothing is installed in /usr/local/ after any of the install scripts have been ran; origin2 6# perl Makefile.PL make install Interchange cannot be run as root. Which user should run Interchange? [interch] Interchange V4.7.1 Copyright (C) 1996-2001 Red Hat, Inc. <info@akopia.com> Interchange is free under the terms of the GNU General Public License. Where is your Interchange to be installed? [/usr/local/interchange] Writing Makefile for Interchange origin2 7# This is probably the last attempt at resolving this, i will probably have to buy something off the shelf. Can anyone help ???????? Regards, Darren Bayliss darrenb@spgroup.co.uk From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 16 14:50:00 2001 Subject: [ic] still can't install on irix 6.5 did you try a different version of interchange? ----- Original Message ----- From: "Darren Bayliss" <darrenb@spgroup.co.uk> To: "'interchange-users@lists.akopia.com'" <interchange-users@developer.akopia.com> Sent: Wednesday, May 16, 2001 2:23 PM Subject: [ic] still can't install on irix 6.5 > Hello, > I mailed the list a week or so ago and had no reply, so i'm trying again. > > So far i have been unabled to install interchange onto our server. > It is an origin200 with irix 6.5 installed running Netscape fastTrack. It is > also running NFS. I have installed perl 5.005.03; > > origin2 2# perl -v > > This is perl, version 5.005_03 built for irix-n32 > > Copyright 1987-1999, Larry Wall > > I have a copy of interchange -4.7.1, as this was recommended for our > server, which for some reason fails on the last test; > > > > > > Manifying blib/man1/interchange.1 > > > PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib > > > -I/usr/freewarel > > > server/unixmode.......ok 1 > > > server/startup........ok 2 > > > link/unixmode.........ok 3 > > > server/inetmode.......The Interchange server is already running (process > > id > > > 298) > > > ok 4 > > > link/inetmode.........ok 5 > > > server/control........not ok 6 > > > ok 6 > > > 6 tests run -- 1/6 failed. > > > *** Error code 1 (bu21) > > > 6# > > It was suggested that i install using the Makefile.PL, this also terminates > before any install is complete; nothing is installed in /usr/local/ after > any of the install scripts have been ran; > > origin2 6# perl Makefile.PL make install > Interchange cannot be run as root. Which user should run Interchange? > [interch] > > Interchange V4.7.1 > > Copyright (C) 1996-2001 Red Hat, Inc. <info@akopia.com> > > Interchange is free under the terms of the GNU General Public License. > > Where is your Interchange to be installed? [/usr/local/interchange] > > Writing Makefile for Interchange > origin2 7# > > This is probably the last attempt at resolving this, i will probably have to > buy something off the shelf. > > Can anyone help ???????? > > Regards, > > Darren Bayliss > darrenb@spgroup.co.uk > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jon Jensen) Date: Wed May 16 15:20:01 2001 Subject: [ic] more demo stores On Wed, 16 May 2001, Bobby G. Brown, Jr. wrote: > I'm looking for some more demo stores to use with interchange 4.6.x. I've > seen the new one that Redhat is using with the beta versions of 4.7 and 4.8, > but i don't know if they will work with older version. On top of that I > can't seem to find it for download. I thought there use to be a section in > developer.akopia.com that had some extra demos, but i can't seem to find > them http://ftp.akopia.com/interchange/demos/ Jon From: interchange-users at lists.akopia.com (Bobby G. Brown, Jr.) Date: Wed May 16 15:36:00 2001 Subject: [ic] more demo stores is there anywhere i can see what these look like? ----- Original Message ----- From: "Jon Jensen" <jon@redhat.com> To: "Interchange Users Group" <interchange-users@developer.akopia.com> Sent: Wednesday, May 16, 2001 2:25 PM Subject: Re: [ic] more demo stores > On Wed, 16 May 2001, Bobby G. Brown, Jr. wrote: > > > I'm looking for some more demo stores to use with interchange 4.6.x. I've > > seen the new one that Redhat is using with the beta versions of 4.7 and 4.8, > > but i don't know if they will work with older version. On top of that I > > can't seem to find it for download. I thought there use to be a section in > > developer.akopia.com that had some extra demos, but i can't seem to find > > them > > http://ftp.akopia.com/interchange/demos/ > > Jon > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Xiaowen Wu) Date: Wed May 16 16:22:00 2001 Subject: [ic] shipping to Hawaii and Alaska Hi, I had a problem with the shipping to Hawaii and Alaska, the MV always return 0 for shose areas, I looked at the 450.csv, but didn't know how to fix it, any idea ? Also I don't want to let user select the UPS Ground (upsg) and UPGO (Three days) to these area. If they did, then I will select the UPS Two days ( upsb) for them, I add the following code into the shopping cart and checkout page, but it always change the shipmode, did I do something wrong. [calc] my $z = [value name=zip]; my $m = [value name="mv_shipmode"]; if (($z ge "95000") && ($z le "99999") && (($m eq "upsg") || ($m eq "upso"))) { [value name="mv_shipmode" set="upsb" hide=1]; } [/calc] Your help are very appreciated. Thanks Wen From: interchange-users at lists.akopia.com (Dave Jenkins) Date: Wed May 16 16:58:00 2001 Subject: [ic] online malls using Interchange? As part of an ongoing research and training project, I am looking for example/case studies of anyone who has used Interchange to build an online mall. This could be: 1) one implementation of Interchange with separate products (controlled by separate vendors) but a unified shopping cart and checkout OR 2) separate implementations of Interchange with separate products, carts, and checkouts but sharing a common starting interface 3) some variation of the 'online mall' model. I realize that the mall concept may be outdated, but we are researching models for presentation to our training course. Any examples may be sent directly to my email address: djenkins@redhat.com TIA, Dave -- ----------------------- Dave Jenkins Project Manager - Professional Services Group Red Hat, Inc. http://www.redhat.com djenkins@redhat.com TEL: 703-456-2944 ----------------------- From: interchange-users at lists.akopia.com (Randy Moore) Date: Wed May 16 17:45:01 2001 Subject: [ic] Encrypting CC# after using custom payment (PayflowPro) Hi All, Using Interchange 4.64 Redhat Linux 7.0 I'm setting up a store that uses Verisign PayflowPro for real time credit card processing for the first time. I have successfully setup the globalsub for signio and my test transactions are going through perfectly. But, I haven't been able to figure out how to get Interchange to encrypt the credit card # AFTER the signio module is done with it. Ideally, I would like it to put the encrypted CC# in mv_credit_card_info, just like the built-in CyberCash routine. Is there a reasonably easy way to do this? I realize that it is not necessarily desirable to save the credit card number (even encrypted) after doing a real-time charge. I'm really just trying to see what is possible. 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 lists.akopia.com (Guy Soudant) Date: Wed May 16 18:02:01 2001 Subject: [ic] Display Options on products page Hi, How do I show the options (size / color) on the products page, so that people can select which type of product they want? And how could one implement additional costs for these options. In the standard version I noticed that customers can only select options when they check out, and that there is no standard functionality for adding additional costs for these options (a red shirt might be more expensive than a blue shirt, etc.) Hopefull someone can point me into the right directions. Kind regards Guy Soudant From: interchange-users at lists.akopia.com (Chris Jesseman) Date: Wed May 16 18:17:01 2001 Subject: [ic] Display Options on products page http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=ictags03%2e01 Size: [item-accessories size] It may take some getting used to- HTH -- Chris Quoting Guy Soudant <guy@soudant.net>: > Hi, > > How do I show the options (size / color) on the products page, so that > people can select which type of product they want? And how could one > implement additional costs for these options. > > In the standard version I noticed that customers can only select options > when they check out, and that there is no standard functionality for adding > additional costs for these options (a red shirt might be more expensive > than > a blue shirt, etc.) > > Hopefull someone can point me into the right directions. > > Kind regards > > Guy Soudant > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Dan B) Date: Wed May 16 21:22:00 2001 Subject: [ic] how do i? At 10:07 AM 5/16/2001 -0400, you wrote: >Im trying to get the secure mode to work. I keep getting cart contents >empty when i go to the secure mode. The ssl is located on a different machine. >When i ran makecat this is what i did. >domain name is located at www.giftbound.com and the ssl is located at >https://https.candledark.net > >server name www.giftbound.com >document root /home/giftbound/www >cgi dir /home/giftbound/www/cgi-bin >cgi url /cgi-giftbound/cart.cgi >aliases /giftbound/cgi-bin/cart.cgi >catalog root /home/giftbound/catalogs > >What if anything am i doing wrong here? http://developer2.akopia.com/archive/interchange-users/2001/msg03734.html http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=icconfig14%2e09 HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Christopher VanOosterhout) Date: Wed May 16 22:53:00 2001 Subject: [ic] Why IC won't create all of my comma field INDEX databases Greetings all, I have the following entries in my catalog.cfg file: Database products products.txt TAB Database userdb userdb.txt TAB Database products INDEX category:c Database products INDEX engines:c Database area area.txt TAB Database cat cat.txt TAB Database products INDEX sku It is my understanding that this should create three individual databases especially for enhanced binary searching on the fields: category, engines and sku. The first two do not NOW have more than one comma delimited entry per field but may in the future. For some reason Interchange is only creating the supplemental database for sku and not for category or engines. Any ideas why this would be? The configuration information above is a direct copy (spaces, etc all left in tact). Christopher From: interchange-users at lists.akopia.com (Gabe Burt) Date: Wed May 16 23:44:00 2001 Subject: [ic] customizing IC's default SQL database tables I'm attempting to customize Interchange to fit my needs - namely adding fields in the products and userdb database tables - and am having poor luck. I'm using Postgresql-7.x on a Red Hat 6.2 machine. I've been using the "construct" store template to make my database changes on, but I'm confused about what I need to edit to make the changes and have Interchange register them and still work. Is this the best way to go about setting up Interchange to work with a customized database setup? If so, what files should I be editing? I tried changing, relative to construct's root, /dbconf/pgsql/*.pgsql, but wasn't successful with that. Then I tried to make a file with the plain SQL statements for the creation of the database, and scratched the .pgsql files altogether. I've also edited the /products/*.txt files to match my customized database definitions. I then loaded my sql to postgres, but when I tried to load interchange it dies with an error in the configuration. Here is the exact error message when I entered "interchange -i": Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog testcat...Using MySQL, DSN=dbi:Pg:dbname=test_db. Using PostgreSQL, DSN=dbi:Pg:dbname=test_db. Directive ProductFiles returned default setting error: No default search file! In line 0 of the configuration file '': ActionMap ui_edit <<EOR testcat config error: Directive ProductFiles returned default setting error: No default search file! In line 0 of the configuration file '': ActionMap ui_edit <<EOR testcat: error in configuration. Skipping. testcat: config error. Skipping. Interchange server started in INET mode(s) (process id 2973) I have no idea what the "ActionMap ui_edit" error is. Also, I've looked in the source code (Vend::Config.pm) and can't decipher what the ProductFiles error is about. Can somebody please enlighten me? I think my level of understanding of how Interchange works is not quite enough to get me past this problem. I would assume that customizing the database is a pretty frequently desired thing with Interchange, but I can't find any documentation or mailing list archives related to it. Examples, links to documentation, etc, would be much appreciated. Thanks greatly for any help you can provide me. Gabe __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 17 00:00:01 2001 Subject: [ic] customizing IC's default SQL database tables At 08:48 PM 5/16/2001 -0700, you wrote: >I'm attempting to customize Interchange to fit my needs - namely adding >fields in the products and userdb database tables - and am having poor >luck. I'm using Postgresql-7.x on a Red Hat 6.2 machine. > >I've been using the "construct" store template to make my database >changes on, but I'm confused about what I need to edit to make the >changes and have Interchange register them and still work. > >Is this the best way to go about setting up Interchange to work with a >customized database setup? > >If so, what files should I be editing? > >I tried changing, relative to construct's root, /dbconf/pgsql/*.pgsql, >but wasn't successful with that. Then I tried to make a file with the >plain SQL statements for the creation of the database, and scratched >the .pgsql files altogether. I've also edited the /products/*.txt files >to match my customized database definitions. I then loaded my sql to >postgres, but when I tried to load interchange it dies with an error in >the configuration. Here is the exact error message when I entered >"interchange -i": [spurious error messages deleted] Try this: 1. start with default template construct 2. add one field to database psql -c "ALTER TABLE products ADD COLUMN foo VARCHAR(64);" 3. add said field to dbconf/pgsql/products.pgsql 4. make sure you're not importing from text db touch products/products.sql 5. restart interchange You can often skip step 2 if you replace step 4 with "add another column to products/products.txt". HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Chris Jesseman) Date: Thu May 17 00:15:00 2001 Subject: [ic] Blank usernames and new_account Hi I just had a situation on a IC 4.6.4 (based on construct) cart where the username.counter file was set to an earlier number (by a version control mishap) and IC was being asked to create a userid that already existed. When customers ordered, IC created an empty username in the mysql database, which was reused for subsequent orders where a userid was not supplied by the user. The reuse caused a leak of some data, as described in earlier 'blank username' incidents reported on the list. No errors are logged when the create fails. Should there be some failsafe in new_account (or somewhere) to prevent '' from ever being used as a username? -- Chris Jesseman From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Thu May 17 00:55:00 2001 Subject: [ic] more demo stores "Bobby G. Brown, Jr." <mailinglist@superiorsites.net> writes: > is there anywhere i can see what these look like? > > > > http://ftp.akopia.com/interchange/demos/ > > Not to be facetious, but if you already have interchange installed it's pretty simple to create a new catalog based on a different demo. If you install the demo files into your interchange home directory, when you run makecat it will prompt you for what template to use. If you have readline support you should be able to cycle through all the demos you have installed. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (Minivend) Date: Thu May 17 02:46:01 2001 Subject: [ic] Interchange - Webmin - MakeCat Mike Heins- Info & Problem/Question: I have written an interface to your makecat that integrates with the Webmin Software (webmin.com) so that it makes it EXTREMELY easy to add new stores... It builds a list of domains from apache, then after selecting one, it makes pretty good assumptions as to the layout of the store etc... I will be releasing this module to the Public soon at www.ThirdPartyModules.com/webmin, but.. and here is the Problem part.. I have it working from the command line perfectly, except I cannot add it with a mysql DB. I can create the Db programmatically (by making foreign calls to the Webmin mysql module for example) and add a user as well, but what can I pass to makecat (I can't find anything) to setup the store pre-configured to that mysql DB. Can we add something to makecat to handle this? or is there a "postcommand/precommand" I need to run to make this happen? Thanks for your help! And (since all programmers like kudos..) THANKS FOR A GREAT PIECE OF SOFTWARE! (I am a Long time user.. since MV 2x-3x-4x->IC) I appreciate your help, and hopefully this module I have written will make it easier for all those "Non-techies" or people who should not ever really have shell access (like some of the people who work for me), but need the ability to add new stores, etc. I am going to add a bunch of functionality to this module as time goes on, including the ability to edit the /etc/interchange.cfg file (Delete stores, change variables,etc) and handle some Master Administration stuff I've done at the Command Line for SOO long. I plan on updating this to continue to work with your future releases, as I have made it Extemely Modular for me to build onto. I also plan on adding some functionality into it, so clients of mine who want to add a store on their account, can just log-in to their web interface, and click "Add E-Commerce Software Interchange to my account", and it makes all the right assumptions, and sets them up. Voila. Again, thanks for the software and your help! Anyone else on the list who would like to help test this as I near completion / suggest ideas / Work on some development, email me at richt@teachout.com off this list. Oh yeah, and one more thing.. This Module is of course GPL! - Richard Teachout 1-877-385-8634 +--------------------------------------------+ | JRT Consulting, L.L.C. | | Web Design / E-Commerce / Programming | /) richt@teachout.com JRTconsulting.net | / )Voicemail: 314-579-3838 909-494-5408 | _( (+-------------------------------------------+ (((\ \) /_) (\\\\ \_/ / \ / \ __/ | | | | From: interchange-users at lists.akopia.com (Javier Martin) Date: Thu May 17 05:42:01 2001 Subject: [ic] basket & refresh Hello everyone... I'm new to the list and I'm just starting up with IC, so bear with me if they are just plain stupid questions: 1. How do I programatically add an item to the basket? For example, imagine that you click to buy a photograph camera, but camera needs batteries and a charger to work, so you also add these to the cart for the user, leaving them the option of cancelling the items if they want. 2. If I refresh the basket page, the last item adds and adds again to the cart, how do I avoid that? Thanks, Javier Martin From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Thu May 17 06:08:01 2001 Subject: [ic] basket & refresh Javier Martin wrote: [DEL] > 2. If I refresh the basket page, the last item adds and adds again to the > cart, how do I avoid that? Have you SeparateItems Yes in your catalog.cfg? Try SeparateItems No Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interchange-users at lists.akopia.com (Murray Gibbins) Date: Thu May 17 06:16:00 2001 Subject: [ic] online malls using Interchange? Dave Jenkins wrote: > > As part of an ongoing research and training project, I am looking for > example/case studies of anyone who has used Interchange to build an online > mall. This could be: I an using Interchange in this way, it the moment the system is in fnal testing stage before being rolled out. > > 1) one implementation of Interchange with separate products (controlled by > separate vendors) but a unified shopping cart and checkout Yep, done this, even got serarate custom ordering and route,shipping etc sorted. It even runs over different domains, and different cataloges. I wrote an entire suite of tolls in perl to automate the install. Most of it is object orientated and there are a few "pages" of interchange code that plug into normal pages to tur nthem into malls. Hoever this might be best discussed on the dedicated interchange mall discusion list. http://www.minivend.com/minivend-mall/ > > OR > > 2) separate implementations of Interchange with separate products, carts, and > checkouts but sharing a common starting interface > > 3) some variation of the 'online mall' model. I realize that the mall concept > may be outdated, but we are researching models for presentation to our > training course. Any examples may be sent directly to my email address: > djenkins@redhat.com > > TIA, > > Dave > > -- > ----------------------- > Dave Jenkins > Project Manager - Professional Services Group > Red Hat, Inc. http://www.redhat.com > djenkins@redhat.com > TEL: 703-456-2944 > ----------------------- > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: interchange-users at lists.akopia.com (Greg Cope) Date: Thu May 17 06:41:00 2001 Subject: [ic] online malls using Interchange? Murray Gibbins wrote: > > Dave Jenkins wrote: > > > > As part of an ongoing research and training project, I am looking for > > example/case studies of anyone who has used Interchange to build an online > > mall. This could be: > > I an using Interchange in this way, it the moment the system is in fnal testing > stage before being rolled out. > > > > > 1) one implementation of Interchange with separate products (controlled by > > separate vendors) but a unified shopping cart and checkout > > Yep, done this, even got serarate custom ordering and route,shipping etc sorted. > It even runs over different domains, and different cataloges. I wrote an entire > suite of tolls in perl to automate the install. Most of it is object orientated > and there are a few "pages" of interchange code that plug into normal pages to > tur nthem into malls. Hoever this might be best discussed on the dedicated > interchange mall discusion list. > > http://www.minivend.com/minivend-mall/ > This gave me an empty screen for the 2000 link. Murry, can you shed any more info ? Greg From: interchange-users at lists.akopia.com (Murray Gibbins) Date: Thu May 17 06:50:00 2001 Subject: [ic] online malls using Interchange? Greg Cope wrote: > This gave me an empty screen for the 2000 link. > > Murry, can you shed any more info ? > > Greg sure, the list was set up by Mike after I requested it, but has not yet been moved over the new site. Mainly it was a forum to discuss the scalabilty issues that arise when you try to make a mall out of interchange. If you want more info please email Mike and ask him to do something about it. Some if the issues discussed ( like internal limits in interchange) have now been sorted. howver shipping is still a problem see http://www.morpheux.org/minivend/shipd/shipd.html Yours Murray -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: interchange-users at lists.akopia.com (Stefano Nota) Date: Thu May 17 08:28:00 2001 Subject: [ic] pass variables don't work rigth Hi, In a page i created this link: <a href="[area href=index_new arg=2]">Italiano</a> I receive the variable arg with [data session arg]. But i want it to be tested so i wrote this: [set var][data session arg][/set] [if var = 1] [then] do something [/then] [else] do something else [/else] [/if] This doesn't work, how i can test the variable passed? Thanks stefano From: interchange-users at lists.akopia.com (Jason Korkin) Date: Thu May 17 08:35:01 2001 Subject: [ic] pass variables don't work rigth I believe you'll want to put 'scratch' before the 'var' in your if construct. Jason. Stefano Nota wrote: > > [set var][data session arg][/set] > [if var = 1] > [then] > do something > [/then] > [else] > do something else > [/else] > [/if] -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 08:36:00 2001 Subject: [ic] pass variables don't work rigth Try something like this: [if data session arg] do something [else] do something else [/else] [/if] Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 "Stefano Nota" <stefano@register.it> Sent by: interchange-users-admin@developer.akopia.com 05/17/2001 08:30 AM Please respond to interchange-users To: <interchange-users@developer.akopia.com> cc: Subject: [ic] pass variables don't work rigth Hi, In a page i created this link: <a href="[area href=index_new arg=2]">Italiano</a> I receive the variable arg with [data session arg]. But i want it to be tested so i wrote this: [set var][data session arg][/set] [if var = 1] [then] do something [/then] [else] do something else [/else] [/if] This doesn't work, how i can test the variable passed? Thanks stefano _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 08:37:01 2001 Subject: [ic] basket & refresh On Thu, May 17, 2001 at 12:13:01PM +0200, Joachim Leidinger wrote: > Javier Martin wrote: > [DEL] > > 2. If I refresh the basket page, the last item adds and adds again to the > > cart, how do I avoid that? That depends on what you mean by "refresh". If you mean you order an item, then click "reload" and do NOT want another item to show up, then you are sunk. Bottom line, you have no realistic way of knowing if that is a valid additional item or not. Try to think through the logic of the http requests. Check back through the mailing list. This has been discussed several times in last year. Might be a little hard to find the right terms to pull it up. SeparateItems will prevent the new item from **adding** to an existing item count, eg give the new item its own line item. > > Have you > > SeparateItems Yes > > in your catalog.cfg? Try > > SeparateItems No > > Joachim > > > -- > -------------<BPA FreeBsd>---------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Thu May 17 08:39:00 2001 Subject: [ic] pass variables don't work rigth > [set var][data session arg][/set] > [if var = 1] ------^ try [if scratch var = 1] Jonathan Webmaint From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 08:52:00 2001 Subject: [ic] re:can't restart... out of memory stephan...openBSD i386 stephan I am on a virtual server running openBSD i386..just e-mail me at bbbob@hotpop.com to get any further needed input ... ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 17 08:53:01 2001 Subject: [ic] pass variables don't work rigth "Stefano Nota" <stefano@register.it> writes: > Hi, > > In a page i created this link: > <a href="[area href=index_new arg=2]">Italiano</a> > > I receive the variable arg with [data session arg]. > But i want it to be tested so i wrote this: > > [set var][data session arg][/set] use [seti var][data session arg][seti] or [tmp var][data session arg][/tmp] instead. > [if var = 1] sorry, but this is a complete failure. You can use [if session arg == 1] or with the scratch variable above [if scratch arg == 1] Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefano Nota) Date: Thu May 17 09:02:01 2001 Subject: R: [ic] pass variables don't work rigth I've solved the problem in thi way: [if value lan eq 1] [then] Yeah okay okay. I will send mail to appropriate people. [/then] [else] <B> Form fill out mistake. I think i will have to shoot you now. </B> [/else] [/if] The variable is passed in this way: <form action="[process-target]" method="POST"> <INPUT TYPE="text" NAME="lan" VALUE="1"><br> <input type="Submit" name="mv_submit" value="Send"> <input type="Hidden" name="mv_doit" value="return"> <input type="Hidden" name="mv_nextpage" value="index_new"> </form> I tried also an image instead of a button for submit: <input type="image" src="webmail3-4.gif" width="15" height="15" border="0" name="mv_submit" value="Send"> Thanks all the same stefano From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 17 09:20:00 2001 Subject: [ic] Bug in Traffic Statistics (IC CVS) ? Hello, I defined TrackFile logs/usertrack in my catalog.cfg. The file exists is looks fine, but I get the following error when viewing the traffic statistics: snowflake.linuxia.de v7IGkP2e:racke racke [17/May/2001:15:10:50 +0200] matstock /cgi-bin/ic/matstock/admin/reports/traffic/ByAffiliate Couldn't open search file '/home/racke/matstock/products/logs/usertrack': No such file or directory Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefano Nota) Date: Thu May 17 09:21:01 2001 Subject: R: [ic] pass variables don't work rigth it works, but there is a little error in [seti var][data session arg][seti], second [seti] must be [/seti] otherwise [data session arg]'s value will be shown. There should be an error while typing Thanks now i have 2 solution for my question stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: giovedì 17 maggio 2001 14.52 A: interchange-users@developer.akopia.com Oggetto: Re: [ic] pass variables don't work rigth "Stefano Nota" <stefano@register.it> writes: > Hi, > > In a page i created this link: > <a href="[area href=index_new arg=2]">Italiano</a> > > I receive the variable arg with [data session arg]. > But i want it to be tested so i wrote this: > > [set var][data session arg][/set] use [seti var][data session arg][seti] or [tmp var][data session arg][/tmp] instead. > [if var = 1] sorry, but this is a complete failure. You can use [if session arg == 1] or with the scratch variable above [if scratch arg == 1] Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Costa Armin (Student Econ99)) Date: Thu May 17 09:35:01 2001 Subject: [ic] question about Internationalization Hi guys, Who can give me some hints, about how to desplay EURO pricing? I tried to follow the instructions on www.akopia.com but no avail, it didn't work. After having set the appropiate tags in catalog.cfg, what should I do? Should I restart the interchange server? bye Rusty From: interchange-users at lists.akopia.com (Costa Armin (Student Econ99)) Date: Thu May 17 09:38:00 2001 Subject: [ic] internationalization? Hi guys, Who can give me some hints, about how to desplay EURO pricing? I tried to follow the instructions on www.akopia.com but no avail, it didn't work. After having set the appropiate tags in catalog.cfg, what should I do? Should I restart the interchange server? bye Rusty From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 17 09:45:01 2001 Subject: R: [ic] pass variables don't work rigth "Stefano Nota" <stefano@register.it> writes: > it works, > > but there is a little error in [seti var][data session arg][seti], > second [seti] must be [/seti] otherwise [data session arg]'s value will be > shown. Yes, sorry that was a typo. > There should be an error while typing > > Thanks now i have 2 solution for my question Typically there are several solutions within IC, you have to find the most convenient and fastest. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Thu May 17 09:47:00 2001 Subject: [ic] question about Internationalization "Costa Armin (Student Econ99)" <Armin.Costa@unibz.it> writes: > Hi guys, > > Who can give me some hints, about how to desplay EURO pricing? > I tried to follow the instructions on www.akopia.com but no avail, it didn't > work. After having set the appropiate tags in catalog.cfg, what should I do? > Should I restart the interchange server? At least $ICROOT/bin/interchange --reconfig=$CATALOG What are the relevant settings in your catalog.cfg ? Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Christopher VanOosterhout) Date: Thu May 17 09:50:00 2001 Subject: [ic] Binary Search Indexes Not Being Created Greetings all, I am not able to get Interchange to index certain fields in my database for the quick binary search. I would like to create three fields in the product table to be searched that way. I have the following entries in my catalog.cfg file: Database products products.txt TAB Database userdb userdb.txt TAB Database products INDEX category:c Database products INDEX engines:c Database area area.txt TAB Database cat cat.txt TAB Database products INDEX sku It is my understanding that this should create three individual databases especially for enhanced binary searching on the fields: category, engines and sku. All of the files were listed in catalog.cfg file originally except for the last one. I added the last one recently and that indexed ... the other two INDEX designations never have indexed and still are not. The first two do not NOW have more than one comma delimited entry per field but may in the future. For some reason Interchange is only creating the supplemental database for sku and not for category or engines. Any ideas why this would be? The configuration information above is a direct copy (spaces, etc all left in tact). Christopher - Christopher VanOosterhout Torresen Marine, Inc. Internet Division http://www.torresen.com 3126 Lake Shore Drive Muskegon, Michigan 49441 231-759-8596 From: interchange-users at lists.akopia.com (Christopher VanOosterhout) Date: Thu May 17 09:50:50 2001 Subject: [ic] Binary Search Indexes Not Being Created Greetings all, I am not able to get Interchange to index certain fields in my database for the quick binary search. I would like to create three fields in the product table to be searched that way. I have the following entries in my catalog.cfg file: Database products products.txt TAB Database userdb userdb.txt TAB Database products INDEX category:c Database products INDEX engines:c Database area area.txt TAB Database cat cat.txt TAB Database products INDEX sku It is my understanding that this should create three individual databases especially for enhanced binary searching on the fields: category, engines and sku. All of the files were listed in catalog.cfg file originally except for the last one. I added the last one recently and that indexed ... the other two INDEX designations never have indexed and still are not. The first two do not NOW have more than one comma delimited entry per field but may in the future. For some reason Interchange is only creating the supplemental database for sku and not for category or engines. Any ideas why this would be? The configuration information above is a direct copy (spaces, etc all left in tact). Christopher From: interchange-users at lists.akopia.com (Stefano Nota) Date: Thu May 17 09:57:00 2001 Subject: R: [ic] question about Internationalization If you have set appropriate tag, you must restart interchange -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Costa Armin (Student Econ99) Inviato: giovedì 17 maggio 2001 15.43 A: 'Interchange-users@lists.akopia.com' Oggetto: [ic] question about Internationalization Hi guys, Who can give me some hints, about how to desplay EURO pricing? I tried to follow the instructions on www.akopia.com but no avail, it didn't work. After having set the appropiate tags in catalog.cfg, what should I do? Should I restart the interchange server? bye Rusty _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Thu May 17 09:58:00 2001 Subject: [ic] Binary Search Indexes Not Being Created > > Database products products.txt TAB > Database userdb userdb.txt TAB > Database products INDEX category:c > Database products INDEX engines:c > Database area area.txt TAB > Database cat cat.txt TAB > Database products INDEX sku > > For some reason Interchange is only creating the supplemental > database for > sku and not for category or engines. As far as I recall from minivend days, using dbm databases, you can only have one separate index. Jonathan Webmaint. From: interchange-users at lists.akopia.com (Costa Armin (Student Econ99)) Date: Thu May 17 10:18:00 2001 Subject: [ic] question about Internationalization I've those settings: (but I'm not sure they're correct) please give some comments Locale eur_EUR LC_CTYPE eur_EUR Locale eur_EUR currency_symbol "<IMG src="/path/to/image/euro.gif">" Is there an other way to display the EUR other than including the euro.gif so that it can be view anyware? Thx Rusty -----Original Message----- From: racke@linuxia.de [mailto:racke@linuxia.de] Sent: Donnerstag, 17. Mai 2001 15:45 To: interchange-users@developer.akopia.com Subject: Re: [ic] question about Internationalization "Costa Armin (Student Econ99)" <Armin.Costa@unibz.it> writes: > Hi guys, > > Who can give me some hints, about how to desplay EURO pricing? > I tried to follow the instructions on www.akopia.com but no avail, it didn't > work. After having set the appropiate tags in catalog.cfg, what should I do? > Should I restart the interchange server? At least $ICROOT/bin/interchange --reconfig=$CATALOG What are the relevant settings in your catalog.cfg ? Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 10:45:01 2001 Subject: [ic] Dynamically setting PageDir How can I set the PageDir based on the $ENV{HTTP_HOST}? >From catalog.cfg This works: VendURL http://__SERVER_NAME____CGI_URL__ VendURL <&EOF sub { return "$ENV{HTTP_HOST}__CGI_URL__"; } EOF But this does not: PageDir /www/__DOMAIN_NAME__/htdocs/ic PageDir <&EOF sub { return q{/www/__DOMAIN_NAME__/htdocs/ic} if ($ENV{HTTP_HOST} =~ /^(www|devo)/); return qq{/home/$1/www/__DOMAIN_NAME__/htdocs/ic} if ($ENV{HTTP_HOST} =~ /^(bill|eli|fyl|larry)/); return q{../htdocs/ic}; } EOF I have set up a separate development environment for each of our developers. Each developer has their own IC catalog. The only differences between the developer catalogs is the PageDir. I would like to eliminate the separate developer catalogs and just set the PageDir on the fly based on the requested URL. If the requested URL is bill.worldwideimpact.com/ic then the PageDir should be /home/bill/www/worldwideimpact.com/htdocs/ic. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at lists.akopia.com (Ian J Cottee) Date: Thu May 17 10:47:00 2001 Subject: [ic] question about Internationalization You can use &euro; > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Costa > Armin (Student Econ99) > Sent: 17 May 2001 23:26 > To: 'interchange-users@developer.akopia.com' > Subject: RE: [ic] question about Internationalization > > > I've those settings: (but I'm not sure they're correct) please give some > comments > > Locale eur_EUR LC_CTYPE eur_EUR > Locale eur_EUR currency_symbol "<IMG > src="/path/to/image/euro.gif">" > > > Is there an other way to display the EUR other than including the euro.gif > so that it can be view anyware? > > > Thx > Rusty From: interchange-users at lists.akopia.com (Costa Armin (Student Econ99)) Date: Thu May 17 10:50:01 2001 Subject: R: [ic] pass variables don't work rigth sorry to trouble you again, I didn't understand much about the variables listened below. Can you please give me detailed instructions about how to do display EURO? Bye Rusty -----Original Message----- From: racke@linuxia.de [mailto:racke@linuxia.de] Sent: Donnerstag, 17. Mai 2001 15:44 To: interchange-users@developer.akopia.com Subject: Re: R: [ic] pass variables don't work rigth "Stefano Nota" <stefano@register.it> writes: > it works, > > but there is a little error in [seti var][data session arg][seti], > second [seti] must be [/seti] otherwise [data session arg]'s value will be > shown. Yes, sorry that was a typo. > There should be an error while typing > > Thanks now i have 2 solution for my question Typically there are several solutions within IC, you have to find the most convenient and fastest. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Stefano Nota) Date: Thu May 17 11:15:00 2001 Subject: R: R: [ic] pass variables don't work rigth It's a way to pass variable. For euro, have you changed locale database adding eur_EUR? -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Costa Armin (Student Econ99) Inviato: giovedì 17 maggio 2001 16.58 A: 'interchange-users@developer.akopia.com' Oggetto: RE: R: [ic] pass variables don't work rigth sorry to trouble you again, I didn't understand much about the variables listened below. Can you please give me detailed instructions about how to do display EURO? Bye Rusty -----Original Message----- From: racke@linuxia.de [mailto:racke@linuxia.de] Sent: Donnerstag, 17. Mai 2001 15:44 To: interchange-users@developer.akopia.com Subject: Re: R: [ic] pass variables don't work rigth "Stefano Nota" <stefano@register.it> writes: > it works, > > but there is a little error in [seti var][data session arg][seti], > second [seti] must be [/seti] otherwise [data session arg]'s value will be > shown. Yes, sorry that was a typo. > There should be an error while typing > > Thanks now i have 2 solution for my question Typically there are several solutions within IC, you have to find the most convenient and fastest. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 12:01:01 2001 Subject: [ic] user-dependent products.txt hi list here´s a problem that has me stumped but someone else could possibly (and hopefully) solve with a quick glance. I have a pulldown menu generated from the area.txt which retrieves the data from the products.txt.. but to complicate things :) we would like to specify a set list of products dependent on who the user is logged in as... eg. we have a products.txt with 100 articles.. all of which are viewable by USERA but 50 viewable by USERB here´s the pulldown: <FORM NAME="myform"> <SELECT NAME="dest" SIZE=1 ONCHANGE="leapto(this.form)"> <option SELECTED value=""><font color=ffffff>Choose a product:</option> [loop search=" fi=area.txt tf=sort ra=yes rf=code,name un=yes sf=which_page op=rm [if scratch page_class] se=all|[scratch page_class][set page_class][/set] [else] se=all|@@MV_PAGE@@ [/else] [/if] " prefix=box] <option value="[area href=scan search=' sf=category se=[box-code] va=category=[box-code] ']">[box-param name]</option> [/loop] </select> </form> the above pulldown (in menu.html) is only processed AFTER!! the user logs in So the bit i´m stumped at it.. Do i specify in the login page which menu.html gets loaded dependent on who´s logged in? Or do i put a restriction in the pulldown menu with some kind of fancy if logged/then loop? Or do i filter the return of ALL products in the results.html? And lastly is what i´d like to do at all possible with minivend and if so then how? any clues or hints much appreciated! thanks, alasdair -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 17 12:07:01 2001 Subject: [ic] Blank usernames and new_account At 12:17 AM 05/17/2001 -0400, you wrote: >Hi > >I just had a situation on a IC 4.6.4 (based on construct) cart where the >username.counter file was set to an earlier number (by a version control >mishap) and IC was being asked to create a userid that already existed. When >customers ordered, IC created an empty username in the mysql database, which >was reused for subsequent orders where a userid was not supplied by the user. >The reuse caused a leak of some data, as described in earlier 'blank >username' >incidents reported on the list. No errors are logged when the create fails. > >Should there be some failsafe in new_account (or somewhere) to prevent '' >from >ever being used as a username? That auto-account creating is performed in etc/log_transaction, I believe. The code could probably be expounded on to prevent your problem from occurring... or you might consider blowing it away. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 17 12:19:01 2001 Subject: [ic] basket & refresh At 12:13 PM 05/17/2001 +0200, you wrote: >Javier Martin wrote: >[DEL] > > 2. If I refresh the basket page, the last item adds and adds again to the > > cart, how do I avoid that? > >Have you > >SeparateItems Yes > >in your catalog.cfg? Try > >SeparateItems No > >Joachim > Then the qty will increase each time you refresh, instead of adding another line item. The reason this happens is that the basket page is displayed as the direct result of an (order) form submission. Each time you refresh/reload the page, you are submitting the form again - thus another unit goes in the basket. One way around this is to make a page like basket_bounce.html, and make that your default basket page (in catalog.cfg) SpecialPage order ord/basket_bounce.html The contents of basket_bounce.html would be: [tag op=header interpolate=1] Status: 302 moved Content-type: text/html Location: [area ord/basket] [/tag][set mv_no_cache]1[/set] ...the redirect separates the form submission from the display of the basket page, so refreshing it will not force duplicates into the basket. To my memory I have only done this in MV3 catalogs but it should work in Interchange, as it is more of a CGI issue than specifically IC-related. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 12:42:00 2001 Subject: [ic] Dynamically setting PageDir I must have had a typo earlier. This works fine: PageDir /www/__DOMAIN_NAME__/htdocs/ic PageDir <&EOF sub { if ($ENV{HTTP_HOST} =~ /^(bill|joe|sally|frank)/) { return qq{/home/$1/www/__DOMAIN_NAME__/htdocs/ic}; } return q{/www/__DOMAIN_NAME__/htdocs/ic}; } EOF It would be nice if the include tag could read a file relative to PageDir. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 bill@worldwideimpact.com Sent by: interchange-users-admin@developer.akopia.com 05/17/2001 10:49 AM Please respond to interchange-users To: interchange-users@developer.akopia.com cc: Subject: [ic] Dynamically setting PageDir How can I set the PageDir based on the $ENV{HTTP_HOST}? >From catalog.cfg This works: VendURL http://__SERVER_NAME____CGI_URL__ VendURL <&EOF sub { return "$ENV{HTTP_HOST}__CGI_URL__"; } EOF But this does not: PageDir /www/__DOMAIN_NAME__/htdocs/ic PageDir <&EOF sub { return q{/www/__DOMAIN_NAME__/htdocs/ic} if ($ENV{HTTP_HOST} =~ /^(www|devo)/); return qq{/home/$1/www/__DOMAIN_NAME__/htdocs/ic} if ($ENV{HTTP_HOST} =~ /^(bill|eli|fyl|larry)/); return q{../htdocs/ic}; } EOF I have set up a separate development environment for each of our developers. Each developer has their own IC catalog. The only differences between the developer catalogs is the PageDir. I would like to eliminate the separate developer catalogs and just set the PageDir on the fly based on the requested URL. If the requested URL is bill.worldwideimpact.com/ic then the PageDir should be /home/bill/www/worldwideimpact.com/htdocs/ic. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (apom) Date: Thu May 17 13:09:01 2001 Subject: [ic] translation problem Hi all, Do you know how to translate this : [L] [item-field category] [/L] the result of this is : C.Category and C.Category is a code into my locale.txt, but the translation doesn't worked. If i use directly [L] C.Category [/L] it's OK ! the result is : alpha (but it depends of mv_locale)... sorry for my english and thanks for your help ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif From: interchange-users at lists.akopia.com (interch) Date: Thu May 17 13:18:00 2001 Subject: [ic] Not working in 4.7.2 This works in 4.6.5 but not 4.7.2: [perl tables=products] $items = $Tag->item_list({ }, "[item-code];[item-description];[item-field item_type];S;[item-price noformat];;[item-quantity]|"); chop($items); $Values->{item_list} = $items; return(); [/perl] The item_type field does exist, and I get the same error even if I take out the [item-field item_type] parameter. The error in error.log is as follows: 63.228.109.101 2hhpBQM8:63.228.109.101 - [17/May/2001:16:53:03 +0000] pol /cgi-bin/pol/checkout.html Safe: Can't call method "open_t able" on an undefined value at /usr/local/interchange/4.7/lib/Vend/Data.pm line 902. > > > $items = $Tag->item_list({ }, "[item-code];[item-description];S;[item-price noformat];;[item-quantity]|"); > chop($items); > $Values->{item_list} = $items; > return(); > > 63.228.109.101 2hhpBQM8:63.228.109.101 - [17/May/2001:16:58:46 +0000] pol /cgi-bin/pol/checkout.html Safe: Can't call method "open_t able" on an undefined value at /usr/local/interchange/4.7/lib/Vend/Data.pm line 902. > > > $items = $Tag->item_list({ }, "[item-code];[item-description];[item-field item_type];S;[item-price noformat];;[item-quantity]|"); > chop($items); > $Values->{item_list} = $items; > return(); > From: interchange-users at lists.akopia.com (Torresen Marine Diesel Direct) Date: Thu May 17 13:38:01 2001 Subject: Only One Binary Search Database? RE: [ic] Binary Search Thanks for your comment Jonathan. Can someone confirm if Interchange will only allow one INDEX database like Jonathan noted about Minivend? Is this one per store? Or one per database? Christopher At 03:00 PM 5/17/01 +0100, Jonathan Clark wrote: > > > > Database products products.txt TAB > > Database userdb userdb.txt TAB > > Database products INDEX category:c > > Database products INDEX engines:c > > Database area area.txt TAB > > Database cat cat.txt TAB > > Database products INDEX sku > > > > For some reason Interchange is only creating the supplemental > > database for > > sku and not for category or engines. > > >As far as I recall from minivend days, using dbm databases, you can only >have one separate index. > >Jonathan >Webmaint. > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users - Thank you for your subscription to the Marine Diesel Direct Update. The content of this newsletter is for informational purposes only. It is always wise to consult with an authorized sales and service center for information tailored to your local conditions and your specific application. We are pleased to provide this newsletter as a service to sailors and mariners around the world and always look forward to your comments, suggestions and even criticisms as we work to make this publication better. We only send out this newsletter to addresses where there has been a specific request. If however you did not subscribe, or would like to be removed from this list, we will do so promptly. HOW TO UNSUBSCRIBE: Simply send an email to mailinglists@sailboatbrokers.com and we will remove your name from this list promptly. You may also update your subscription information by visiting Newsletter Central at <http://www.torresen.com/newsletters/> HOW TO SUBSCRIBE: If this message was sent to you by a third-party or if you are reading someone else's copy, you can get your own by simply signing up at Torresen Newsletter Central at <http://www.torresen.com/newletters/> or sending an email to mailinglists@marinedieseldirect.com and we will get you signed up right away. YOUR PRIVACY IS IMPORTANT TO US We do not sell, share or rent your names with any third party. For complete information about Torresen / Marine Diesel Direct privacy standards, please visit our privacy statement online at <http://www.marinedieseldirect.com/privacy.html> From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 17 13:57:00 2001 Subject: [ic] basket & refresh > One way around this is to make a page like basket_bounce.html, and make > that your default basket page (in catalog.cfg) > > SpecialPage order ord/basket_bounce.html > > The contents of basket_bounce.html would be: > > [tag op=header interpolate=1] > Status: 302 moved > Content-type: text/html > Location: [area ord/basket] > [/tag][set mv_no_cache]1[/set] > Ed, This was a really great idea! I have sometimes asked the same question on the minivend list, but at that time I got no answer... Anyway, Thanks again! :) Rene From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 17 13:58:00 2001 Subject: [ic] translation problem > Do you know how to translate this : [L] [item-field category] [/L] > the result of this is : C.Category > and C.Category is a code into my locale.txt, but the translation doesn't > worked. Have you tried [loc][item-field category][/loc] ? René From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 17 14:06:00 2001 Subject: [ic] Why IC won't create all of my comma field INDEX At 11:07 PM 05/16/2001 -0400, you wrote: >Greetings all, > >I have the following entries in my catalog.cfg file: > >Database products products.txt TAB >Database userdb userdb.txt TAB >Database products INDEX category:c >Database products INDEX engines:c >Database area area.txt TAB >Database cat cat.txt TAB >Database products INDEX sku > >It is my understanding that this should create three individual databases >especially for enhanced binary searching on the fields: category, engines >and sku. > >The first two do not NOW have more than one comma delimited entry per >field but may in the future. > >For some reason Interchange is only creating the supplemental database for >sku and not for category or engines. > >Any ideas why this would be? The configuration information above is a >direct copy (spaces, etc all left in tact). > >Christopher The format for the INDEX option of the Database directive is not fully documented, but this question has been answered on the list before. Basically, it is stored as a scalar, so you can only have one instance of the directive in catalog.cfg. So if you want to build multiple indexes, it must look like this: Database products INDEX category:c engines:c sku ...hopefully this will play well with the ':c' option - I have never tried it. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 17 14:06:41 2001 Subject: Only One Binary Search Database? RE: [ic] Binary Search At 12:49 PM 05/17/2001 -0400, you wrote: >Thanks for your comment Jonathan. > >Can someone confirm if Interchange will only allow one INDEX database like >Jonathan noted about Minivend? > >Is this one per store? Or one per database? > >Christopher The format for the INDEX option of the Database directive is not fully documented, but this question has been answered on the list before. Basically, it is stored as a scalar, so you can only have one instance of the directive in catalog.cfg. So if you want to build multiple indexes, it must look like this: Database products INDEX category:c engines:c sku ...hopefully this will play well with the ':c' option - I have never tried it. - Ed L. >At 03:00 PM 5/17/01 +0100, Jonathan Clark wrote: >> > >> > Database products products.txt TAB >> > Database userdb userdb.txt TAB >> > Database products INDEX category:c >> > Database products INDEX engines:c >> > Database area area.txt TAB >> > Database cat cat.txt TAB >> > Database products INDEX sku >> > >> > For some reason Interchange is only creating the supplemental >> > database for >> > sku and not for category or engines. >> >> >>As far as I recall from minivend days, using dbm databases, you can only >>have one separate index. >> >>Jonathan >>Webmaint. >> >> >> >>_______________________________________________ >>Interchange-users mailing list >>Interchange-users@lists.akopia.com >>http://lists.akopia.com/mailman/listinfo/interchange-users > >- >Thank you for your subscription to the Marine Diesel Direct Update. > >The content of this newsletter is for informational purposes only. It is >always wise to consult with an authorized sales and service center for >information tailored to your local conditions and your specific >application. We are pleased to provide this newsletter as a service to >sailors and mariners around the world and always look forward to your >comments, suggestions and even criticisms as we work to make this >publication better. > >We only send out this newsletter to addresses where there has been a >specific request. If however you did not subscribe, or would like to be >removed from this list, we will do so promptly. > >HOW TO UNSUBSCRIBE: >Simply send an email to mailinglists@sailboatbrokers.com and we will >remove your name from this list promptly. You may also update your >subscription information by visiting Newsletter Central at ><http://www.torresen.com/newsletters/> > >HOW TO SUBSCRIBE: >If this message was sent to you by a third-party or if you are reading >someone else's copy, you can get your own by simply signing up at Torresen >Newsletter Central at <http://www.torresen.com/newletters/> or sending an >email to mailinglists@marinedieseldirect.com and we will get you signed up >right away. > >YOUR PRIVACY IS IMPORTANT TO US >We do not sell, share or rent your names with any third party. For >complete information about Torresen / Marine Diesel Direct privacy >standards, please visit our privacy statement online at ><http://www.marinedieseldirect.com/privacy.html> > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Brian Hanley) Date: Thu May 17 14:16:01 2001 Subject: [ic] Problem List: I'm trying to migrate one of my catalogs from Minivend 3 to Interchange 4.6. Everything is working except the order processing--that is, when I click "place order" it just bounces back to the checkout page rather than going to the completed page, and the order is not placed. There are no errors in the error log, and everything is filled out on the form. I went through the upgrade procedure, but its very possible that I missed something since my catalog was so old. Interchange is working fine for two other catalogs. Could anyone give me any suggestions either on fixing the problem or on debugging it? Is there a way to turn up the logging to find out what exactly is going on w/ every page load? Thanks in advance, Brian Hanley brian@hanley.net From: interchange-users at lists.akopia.com (Chetan) Date: Thu May 17 14:32:01 2001 Subject: [ic] Interchange Installation steps Hello, I'm trying to install interchange interchange-4.6.5-1.rh6 on a redhat 6.2 machine. I have following perl rpms installed: perl-5.00503-10, postgresql-perl-6.5.3-6, mod_perl-1.23-3. I will be using postgres sql as my db server. I installed the rpm. Now what further steps are required to make a demo store running. I have not installed the perl-bundle. would it make a difference? TIA Chetan From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 14:51:01 2001 Subject: [ic] Dynamically setting PageDir On Thu, May 17, 2001 at 10:49:04AM -0400, bill@worldwideimpact.com wrote: > How can I set the PageDir based on the $ENV{HTTP_HOST}? > > >From catalog.cfg > This works: > VendURL http://__SERVER_NAME____CGI_URL__ > VendURL <&EOF > sub { > return "$ENV{HTTP_HOST}__CGI_URL__"; > } > EOF > > But this does not: > PageDir /www/__DOMAIN_NAME__/htdocs/ic > PageDir <&EOF > sub { > return q{/www/__DOMAIN_NAME__/htdocs/ic} if ($ENV{HTTP_HOST} =~ > /^(www|devo)/); > return qq{/home/$1/www/__DOMAIN_NAME__/htdocs/ic} if ($ENV{HTTP_HOST} > =~ /^(bill|eli|fyl|larry)/); > return q{../htdocs/ic}; > } > EOF Hmmm, I had a hard time getting something similar to work with process pages but I was not setting PageDir. Why not just run different catalogs? http://__SERVER_NAME__/bill/__CGI_URL__ http://__SERVER_NAME__/joe/__CGI_URL__ http://__SERVER_NAME__/bob/__CGI_URL__ > > I have set up a separate development environment for each of our > developers. Each developer has their own IC catalog. The only differences > between the developer catalogs is the PageDir. I would like to eliminate > the separate developer catalogs and just set the PageDir on the fly based > on the requested URL. If the requested URL is bill.worldwideimpact.com/ic > then the PageDir should be /home/bill/www/worldwideimpact.com/htdocs/ic. > > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 17 14:54:01 2001 Subject: [ic] Interchange Installation steps > as my db server. I installed the rpm. Now what further steps are > required to make a demo store running. I have not installed the I suggest you Read The Fine Manual... This link should help you: http://developer.akopia.com/cgi-bin/ic/dev/index.html Rene From: interchange-users at lists.akopia.com (Kristina Pullon) Date: Thu May 17 15:07:00 2001 Subject: [ic] Expired Page Not Found After clicking "Buy" or "Buy List" - Interchange takes me to a page that reads: Sorry, the page (expired) was not found The requested item (expired) was not found. You can return to browsing our catalog, if you wish. The items I select ARE in my basket though - and I can "Check Out". This happens when I am at work and at home on my new Cable modem - is this a problem with networked connections? I didn't have this problem with my dial up service. Please help =) Kristina _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 17 15:31:01 2001 Subject: [ic] Problem At 02:21 PM 05/17/2001 -0400, you wrote: >List: > >I'm trying to migrate one of my catalogs from Minivend 3 to Interchange 4.6. >Everything is working except the order processing--that is, when I click >"place order" it just bounces back to the checkout page rather than going to >the completed page, and the order is not placed. There are no errors in the >error log, and everything is filled out on the form. I went through the >upgrade procedure, but its very possible that I missed something since my >catalog was so old. Interchange is working fine for two other catalogs. > >Could anyone give me any suggestions either on fixing the problem or on >debugging it? Is there a way to turn up the logging to find out what >exactly is going on w/ every page load? Verify that the Place Order button is setting mv_todo=submit, usually via an mv_click: <input type=submit name=mv_click value="Place Order"> [set Place Order] mv_todo=submit [/set] ...also check to make sure the checkout form is referencing a valid mv_order_profile which contains a &final=yes statement. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 15:51:00 2001 Subject: [ic] Problem On Thu, May 17, 2001 at 12:36:33PM -0700, Ed LaFrance wrote: > At 02:21 PM 05/17/2001 -0400, you wrote: > >List: > > > >I'm trying to migrate one of my catalogs from Minivend 3 to Interchange 4.6. > >Everything is working except the order processing--that is, when I click > >"place order" it just bounces back to the checkout page rather than going to > >the completed page, and the order is not placed. There are no errors in the > >error log, and everything is filled out on the form. I went through the > >upgrade procedure, but its very possible that I missed something since my > >catalog was so old. Interchange is working fine for two other catalogs. > > > >Could anyone give me any suggestions either on fixing the problem or on > >debugging it? Is there a way to turn up the logging to find out what > >exactly is going on w/ every page load? > > Verify that the Place Order button is setting mv_todo=submit, usually via > an mv_click: > > <input type=submit name=mv_click value="Place Order"> > > [set Place Order] > mv_todo=submit > [/set] > > ...also check to make sure the checkout form is referencing a valid > mv_order_profile which contains a &final=yes statement. > > - Ed L. Also check that it's finding report page and receipt page. See SpecialPageDir. It might do that too if the report or receipt page are not specified. Ed's comment on the profile is probably the most likely. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Chetan) Date: Thu May 17 16:08:01 2001 Subject: [ic] Interchange Installation steps Hi, This is the send time I'm installing after reading the fine manual(s) and nothing there tells you how to interface with postgres. They are mysql examples. It doesn't tell you how to use interchange's internal database. Thanks Rene Hertell wrote: > > > as my db server. I installed the rpm. Now what further steps are > > required to make a demo store running. I have not installed the > > I suggest you Read The Fine Manual... > This link should help you: > http://developer.akopia.com/cgi-bin/ic/dev/index.html > > Rene From: interchange-users at lists.akopia.com (Stan Crump) Date: Thu May 17 16:22:00 2001 Subject: [ic] Can I run Minivend AND Interchange on the same machine? Can anyone please tell me whether or not I can safely install Interchange on a Redhat 6.2 machine which is currently running several Minivend catalogs? I'm not an expert and would be more comfortable if I knew that I could keep each catalog running under MV-3.14 and address incompatibility issues as I upgrade the catalogs to IC-4.6.5 one at a time. Or... is this line of thinking completely off track? Thanks in advance! - Stan Crump From: interchange-users at lists.akopia.com (Jason Kohles) Date: Thu May 17 16:39:01 2001 Subject: [ic] Can I run Minivend AND Interchange on the same machine? On Thu, May 17, 2001 at 03:26:53PM -0500, Stan Crump wrote: > Can anyone please tell me whether or not I can safely install Interchange on > a Redhat 6.2 machine which is currently running several Minivend catalogs? > > I'm not an expert and would be more comfortable if I knew that I could keep > each catalog running under MV-3.14 and address incompatibility issues as I > upgrade the catalogs to IC-4.6.5 one at a time. > As long as you install them in different directories it will work fine, on my development machine right now I have 2 different versions of minivend, and half a dozen different versions of interchange that I am working on for various projects. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Chetan) Date: Thu May 17 16:48:01 2001 Subject: [ic] Interchange Installation steps Here is the exact point where I'm stuck --------------------------------------------------------------- [root@html /root]# su interch bash$ /usr/lib/interchange/bin/interchange -r The Interchange server was not running (//usr/lib/interchange/etc/interchange.pid). Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...Using default DBM database. done. bash$ -------------------------------------------------------------- now when I load the page from browser it presents a welcome screen and gives me a link to enter as customer. The link to enter as customer doesn't work. It seems that the interchange process is not running. ------------------------------------------ bash$ /etc/rc.d/init.d/interchange status interchange is stopped bash$ ------------------------------------------ /var/log/interchange/error.log - - - [17/May/2001:12:42:43 -0700] - - Low traffic settings. - - - [17/May/2001:12:42:43 -0700] - - Calling UI.... - - - [17/May/2001:12:42:43 -0700] - - ...UI is loaded.... - - - [17/May/2001:12:42:44 -0700] - - Interchange V4.6.5 - - - [17/May/2001:12:42:44 -0700] - - Config 'construct' at server startup - - - [17/May/2001:12:42:44 -0700] - - Using default DBM database. - - - [17/May/2001:12:42:44 -0700] - - Couldn't open '//usr/lib/interchange/etc/interchange.pid': Permission denied > ----------------------------------------- Any pointers would be appreciated... From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 17 17:00:01 2001 Subject: [ic] Can I run Minivend AND Interchange on the same At 03:26 PM 05/17/2001 -0500, you wrote: >Can anyone please tell me whether or not I can safely install Interchange on >a Redhat 6.2 machine which is currently running several Minivend catalogs? > >I'm not an expert and would be more comfortable if I knew that I could keep >each catalog running under MV-3.14 and address incompatibility issues as I >upgrade the catalogs to IC-4.6.5 one at a time. > >Or... is this line of thinking completely off track? > >Thanks in advance! > - Stan Crump Stan - I have multiple vintages of Minivend and Interchange running on the same server, and in a few cases, as the same user, and it has not been a problem. Bear in mind that, for various reasons, I choose to run a separate installation if the MV/IC server for each customer/instance, rather than sharing one server install for several customer catalogs. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (ACC&S) Date: Thu May 17 17:36:00 2001 Subject: [ic] translation problem Thanks a lot René. It's good. ----- Original Message ----- From: Rene Hertell <rene@hertell.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, May 17, 2001 8:01 PM Subject: RE: [ic] translation problem > > Do you know how to translate this : [L] [item-field category] [/L] > > the result of this is : C.Category > > and C.Category is a code into my locale.txt, but the translation doesn't > > worked. > Have you tried [loc][item-field category][/loc] ? > > René > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Jason Kohles) Date: Thu May 17 17:44:01 2001 Subject: [ic] Interchange Installation steps On Thu, May 17, 2001 at 01:56:56PM -0700, Chetan wrote: > Here is the exact point where I'm stuck > - - - [17/May/2001:12:42:44 -0700] - - Couldn't open > '//usr/lib/interchange/etc/interchange.pid': Permission denied > > Any pointers would be appreciated... The error message is pretty clear, the interchange user does not have permission to write to /usr/lib/interchange/etc, check the permissions on the directories. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Chetan Bhargava) Date: Thu May 17 18:20:00 2001 Subject: [ic] Interchange Installation steps I figured that out. I started interchange as root and it works but it now complains about the Bundle::Interchange I tried using perl -MCPAN -e'install Bundle::Interchange' but unfortunately selected a bad url (ftp.freesoftware.com) and now that url is saved in some config file and doesn't work. Is there any other way to get that bundle? or to fix this? Thanks for the help. ----- Original Message ----- From: "Jason Kohles" <jkohles@redhat.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, May 17, 2001 2:39 PM Subject: Re: [ic] Interchange Installation steps > On Thu, May 17, 2001 at 01:56:56PM -0700, Chetan wrote: > > Here is the exact point where I'm stuck > > - - - [17/May/2001:12:42:44 -0700] - - Couldn't open > > '//usr/lib/interchange/etc/interchange.pid': Permission denied > > > > Any pointers would be appreciated... > > The error message is pretty clear, the interchange user does not have > permission to write to /usr/lib/interchange/etc, check the permissions > on the directories. > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Gabe Burt) Date: Thu May 17 18:42:01 2001 Subject: [ic] customizing IC's default SQL database tables Thanks a lot for the advice, Dan. Two more things - what about making new database tables? What about changing the default tables? Can I just edit the .pgsql files? Also, should I delete the .txt files in /products? And one more thing - how much can I change the databases without them breaking on me? I would like to implement table key ID's using database sequences. Okay, I lied, one more thing. How did you figure out how to do this? I appreciate your help. Gabe --- Dan B <db@cyclonehq.dnsalias.net> wrote: > At 08:48 PM 5/16/2001 -0700, you wrote: > >I'm attempting to customize Interchange to fit my needs - namely > adding > >fields in the products and userdb database tables - and am having > poor > >luck. I'm using Postgresql-7.x on a Red Hat 6.2 machine. > > > >I've been using the "construct" store template to make my database > >changes on, but I'm confused about what I need to edit to make the > >changes and have Interchange register them and still work. > > > >Is this the best way to go about setting up Interchange to work with > a > >customized database setup? > > > >If so, what files should I be editing? > > > >I tried changing, relative to construct's root, > /dbconf/pgsql/*.pgsql, > >but wasn't successful with that. Then I tried to make a file with > the > >plain SQL statements for the creation of the database, and scratched > >the .pgsql files altogether. I've also edited the /products/*.txt > files > >to match my customized database definitions. I then loaded my sql to > >postgres, but when I tried to load interchange it dies with an error > in > >the configuration. Here is the exact error message when I entered > >"interchange -i": > > [spurious error messages deleted] > > Try this: > > 1. start with default template construct > 2. add one field to database > psql -c "ALTER TABLE products ADD COLUMN foo VARCHAR(64);" > 3. add said field to dbconf/pgsql/products.pgsql > 4. make sure you're not importing from text db > touch products/products.sql > 5. restart interchange > > You can often skip step 2 if you replace step 4 with "add another > column to > products/products.txt". > > HTH, > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Thu May 17 18:55:00 2001 Subject: [ic] expire page not found fix. Look in your catalog.cfg file look for RobotLimit set this to 0. From: interchange-users at lists.akopia.com (Leon Harris) Date: Thu May 17 19:35:00 2001 Subject: [ic] flypage fails due to not building a complete url Hi. I am having a problem with a simple site I am working on. I have a section of code to list all products: [loop search="ra=yes/fi=products"] <tr> <td>[loop-code]</td> <td><a href="[loop-code].html"> [loop-field description]</a></td> <td align=right>[loop-field price]</td> </tr> [/loop] when I look at the html source this generates for an item, I get something like this: <tr> <td>CAB602</td> <td><a href="CAB602.html"> APPLE MODEM CABLE</a></td> <td align=right>$13.00 </td> </tr> When I look at the url in my browser, I get http://www.myhost.com/cgi-bin/CAB802.html ^^^------------------- the name of the vlink program is missing As a result of this missing vlink name, the flypage doesn't work. When I put the vlink name in, so that it becomes http://www.myhost.com/cgi-bin/tutorial/CAB802.html , the flypages work. Can anyone please tell me why this happens? Cheers, Leon From: interchange-users at lists.akopia.com (Paulo Moniz) Date: Thu May 17 19:58:00 2001 Subject: [ic] Adding Users to UserDB Hi Interchange Users, I'm a interchage user from Portugal. I would like to contact other users, but I have a problem and trying to solve for days. Even in the simple and barry demos doesn´t work. I have two forms. One creates a new account and other captures and saves more user data. I'm using interchange 4.5 (Red Hat 7.0) and when I use the backoffice to see user data I only have the username, no email, addresses, etc. Page New Account is like this: [set NewAccount] [if type=explicit compare="[userdb new_account]"] mv_nextpage=account [else] mv_nextpage=register [/else] [/if] [/set] <form action="[process-target]" method=post> <input type=hidden name=mv_click value=NewAccount> <input type=hidden name=mv_doit value=return> <input type=hidden name=function value=new_account> <input type=hidden name=mv_nextpage value=account> <input type="text" name=mv_username value="" size="10"> <input type="password" name=mv_password value="" size="10"> <input type="password" name=mv_verify value="" size="10"> <input type="submit" value="Register" size="10"> </form> And Page Account is like this: [set Save_database] [userdb save] [/set] <FORM ACTION="[process secure=1]" METHOD="POST"> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]"> <INPUT TYPE=hidden NAME=mv_todo VALUE=return> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=index> <INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> <input type="text" name=fname value="[value fname]" size="10"> ... <input type="submit" value="Update" size="10"> </form) Can someone help on this, Thank You in Advance. Paulo Moniz Inteliware.net Phone : +351.21.4527104/5 Av. São Miguel Fax : +351.21.4527106 Lote 80, Escritório 71 paulo.moniz@@inteliware.net São Miguel das Encostas - Portugal www.inteliware.net 2775-751 Carcavelos From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 17 19:59:59 2001 Subject: [ic] flypage fails due to not building a complete url On Fri, May 18, 2001 at 07:39:46AM +0800, Leon Harris wrote: > Hi. > I am having a problem with a simple site I am working on. > > I have a section of code to list all products: > > [loop search="ra=yes/fi=products"] > <tr> > <td>[loop-code]</td> > <td><a href="[loop-code].html"> [loop-field description]</a></td> > <td align=right>[loop-field price]</td> > </tr> > [/loop] > > when I look at the html source this generates for an item, I get > something like this: > > <tr> > <td>CAB602</td> > <td><a href="CAB602.html"> APPLE MODEM CABLE</a></td> > <td align=right>$13.00 </td> > </tr> > > When I look at the url in my browser, I get > http://www.myhost.com/cgi-bin/CAB802.html > > ^^^------------------- the name of the vlink program Check your VendURL in catalog.cfg and restart. > > is missing > As a result of this missing vlink name, the flypage doesn't work. When I > put the vlink name in, so that it becomes > http://www.myhost.com/cgi-bin/tutorial/CAB802.html , the flypages work. > > Can anyone please tell me why this happens? > Cheers, > Leon > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 17 20:23:00 2001 Subject: [ic] customizing IC's default SQL database tables Gabe, At 03:46 PM 5/17/2001 -0700, you wrote: >Thanks a lot for the advice, Dan. Two more things - what about making >new database tables? Same procedure (copied below), except you copy an existing .pgsql and edit it, instead of just adding one column. Also you need to first CREATE TABLE of course, (instead of ALTER TABLE), and pgsql has great documentation (like a free book online in PDF). >What about changing the default tables? You should be able to make any changes that you are capable of with pgsql, and as long as those changes are reflected in the respective .pgsql file, Interchange will be fine. >Can I just >edit the .pgsql files? Yep. >Also, should I delete the .txt files in >/products? It's not really necessary to delete them. As long as there is a .sql file (any length) then IC will utilize the SQL database instead of the text. >And one more thing - how much can I change the databases >without them breaking on me? I would like to implement table key ID's >using database sequences. Do you mean the SERIAL datatype in pgsql? Or using pgsql's record OID? Either way, I don't know if IC would stand in your way or not, but I do know that 4.7.x has great support for autonumbering, which might be a better solution. (check out the latest "WHATSNEW" file for 4.7). >Okay, I lied, one more thing. How did you >figure out how to do this? I appreciate your help. I think it's in the docs somewhere (I read them through a few times for good measure), but you can really tell how I "figured this out" by looking up my name in the mailing list. :-) I've been getting less and less clueless since August. Enjoy Interchange, Gabe. It's among the few and proud with such good DB support. -Dan B. > > > > 1. start with default template construct > > 2. add one field to database > > psql -c "ALTER TABLE products ADD COLUMN foo VARCHAR(64);" > > 3. add said field to dbconf/pgsql/products.pgsql > > 4. make sure you're not importing from text db > > touch products/products.sql > > 5. restart interchange > > > > You can often skip step 2 if you replace step 4 with "add another > > column to > > products/products.txt". > > > > HTH, > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 17 20:27:01 2001 Subject: [ic] Adding Users to UserDB At 01:00 AM 5/18/2001 +0100, you wrote: >Hi Interchange Users, > >I'm a interchage user from Portugal. I would like to contact other users, >but I have a problem and trying to solve for days. Even in the simple and >barry demos doesn´t work. > >I have two forms. One creates a new account and other captures and saves >more user data. I'm using interchange 4.5 (Red Hat 7.0) and when I use the >backoffice to see user data I only have the username, no email, addresses, >etc. [...] I hope someone can help you solve your problem, Paulo. Failing that, you might download the latest version from developer.akopia.com and see if that helps. (If you haven't customized your template terribly much, then you might give the new "construct" demo a try). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Matthew Schick) Date: Thu May 17 21:18:00 2001 Subject: [ic] flypage fails due to not building a complete url if you use <a href="[area [loop-code]"> {loop ... you should get a complete correct url. Matt On 18 May 2001 07:39:46 +0800, Leon Harris wrote: > Hi. > I am having a problem with a simple site I am working on. > > I have a section of code to list all products: > > [loop search="ra=yes/fi=products"] > <tr> > <td>[loop-code]</td> > <td><a href="[loop-code].html"> [loop-field description]</a></td> > <td align=right>[loop-field price]</td> > </tr> > [/loop] > > when I look at the html source this generates for an item, I get > something like this: > > <tr> > <td>CAB602</td> > <td><a href="CAB602.html"> APPLE MODEM CABLE</a></td> > <td align=right>$13.00 </td> > </tr> > > When I look at the url in my browser, I get > http://www.myhost.com/cgi-bin/CAB802.html > > ^^^------------------- the name of the vlink program > > is missing > As a result of this missing vlink name, the flypage doesn't work. When I > put the vlink name in, so that it becomes > http://www.myhost.com/cgi-bin/tutorial/CAB802.html , the flypages work. > > Can anyone please tell me why this happens? > Cheers, > Leon > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Leon Harris) Date: Thu May 17 21:58:01 2001 Subject: [ic] [re: flypage fails due to not building a complete url] >Check your VendURL in catalog.cfg and restart. That is the strange thing Christopher - the vendurl seems ok, and the server started without (obvious) error. for the record, the VendURL line is ~ VendURL http://www.myhost.com/cgi-bin/tutorial From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Thu May 17 22:34:01 2001 Subject: [ic] explorer bug? I get a error sorry the page expired not found when using internet explorer when I use netscape its ok. I set the RobotLimit to 0. This is very strange. It only happens when you go to search and click the buy button. Is this a bug? From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Thu May 17 23:36:00 2001 Subject: [ic] flypage fails due to not building a complete url Leon Harris <leon@quoll.com> writes: > <td><a href="[loop-code].html"> [loop-field description]</a></td> I think this should be <a href="[area [loop-code]]">. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (Leon Harris) Date: Fri May 18 01:59:01 2001 Subject: [ic] re: flypage fails due to not building a complete url -solved Hi all. Thanks for your responses. The < a href="[loop-code].html" > [loop-field description] does work. I made the problem go away by deleting all the gdbm files from the products directory, and restarting the server to recreate them from the text files. The next time I clicked on the link, it all worked. Wierd huh ? anyway thanks. Leon From: interchange-users at lists.akopia.com (Stefano Nota) Date: Fri May 18 05:54:00 2001 Subject: [ic] redirect, possible? hi, I wonder if it is possible to redirect someone to a page with interchange From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Fri May 18 06:04:00 2001 Subject: [ic] redirect, possible? look in the docs for the [bounce] tag. Jonathan Webmaint. > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > Stefano Nota > Sent: 18 May 2001 10:57 > To: interchange-users@developer.akopia.com > Subject: [ic] redirect, possible? > > > hi, > > I wonder if it is possible to redirect someone to a page with interchange > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Stefano Nota) Date: Fri May 18 06:26:01 2001 Subject: R: [ic] redirect, possible? Thanks, I must read better the docs next time stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Jonathan Clark Inviato: venerdì 18 maggio 2001 12.06 A: interchange-users@developer.akopia.com Oggetto: RE: [ic] redirect, possible? look in the docs for the [bounce] tag. Jonathan Webmaint. > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > Stefano Nota > Sent: 18 May 2001 10:57 > To: interchange-users@developer.akopia.com > Subject: [ic] redirect, possible? > > > hi, > > I wonder if it is possible to redirect someone to a page with interchange > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Rene Hertell) Date: Fri May 18 06:47:00 2001 Subject: [ic] redirect, possible? > I must read better the docs next time The bounce tag is used in the account.html file René From: interchange-users at lists.akopia.com (Stefano Nota) Date: Fri May 18 08:08:01 2001 Subject: R: [ic] redirect, possible? I used it in a page created by me, and it works, i can't understand:The bounce tag is used in the account.html file -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Rene Hertell Inviato: venerdì 18 maggio 2001 12.49 A: interchange-users@developer.akopia.com Oggetto: RE: [ic] redirect, possible? > I must read better the docs next time The bounce tag is used in the account.html file René _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Rene Hertell) Date: Fri May 18 08:13:00 2001 Subject: [ic] redirect, possible? > I used it in a page created by me, and it works, > > i can't understand:The bounce tag is used in the account.html file If you read the code more carefully you notice that you have to be logged in before you can access that page... René From: interchange-users at lists.akopia.com (Javier Martin) Date: Fri May 18 08:22:00 2001 Subject: [ic] execute external command Hello everyone, How do I execute external commands? I use the $Tag->file function passing "command |" as filename and the target command is placed under the catalog directory so theoretically this should work even in Safe mode and with the NoAbsolute variable set. But it doesn't work!! [perl] my $result = $Tag->file("bin/command |"); [/perl] Thanks, Javier Martin From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Fri May 18 08:26:01 2001 Subject: [ic] [re: flypage fails due to not building a complete url] On Fri, May 18, 2001 at 10:02:05AM +0800, Leon Harris wrote: > > > >Check your VendURL in catalog.cfg and restart. > > That is the strange thing Christopher - the vendurl seems ok, and the > server started without (obvious) error. > > for the record, the VendURL line is ~ > > VendURL http://www.myhost.com/cgi-bin/tutorial Please try to keep the relevant context in email. I can't remember everything. :-) tutorial then is your vlink? If it is not showing up in that flypage, then is that the **only** place it is not working? Are there spaces or special characters? What about your SecureURL? Are you maybe calling that? If it is working elsewhere concentrate on an error in the page. If it does not work elsewhere in the catalog, then your config. Probably the page, else how would you have gotten to the page? weblint cfm > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Stefano Nota) Date: Fri May 18 08:29:00 2001 Subject: [ic] redirect, possible? No, i used it for internationalization, I noticed that, when i set locale to a language it takes effect after a reload of the page. So i set locale in a page which redirect people to the home, and changes are made. In that page i pass a variable and is tested which language is choosen, then with [bounce] i redirect people to the home. I hope you can understand what i mean Bye stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Rene Hertell Inviato: venerdì 18 maggio 2001 14.16 A: interchange-users@developer.akopia.com Oggetto: RE: [ic] redirect, possible? > I used it in a page created by me, and it works, > > i can't understand:The bounce tag is used in the account.html file If you read the code more carefully you notice that you have to be logged in before you can access that page... René _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri May 18 08:52:00 2001 Subject: [ic] redirect, possible? "Stefano Nota" <stefano@register.it> writes: > No, i used it for internationalization, > > I noticed that, when i set locale to a language it takes effect after a > reload of the page. > So i set locale in a page which redirect people to the home, and changes are > made. You really should read the documenation on IC locales. Bouncing is completely unnecessary. The last Locale setting in catalog.cfg decides which locale is the default. You may use: Locale it_IT currency_symbol LIRA To switch the locales by link, use sth like that: <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]" class="navigation">english</a> Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Fri May 18 09:05:00 2001 Subject: [ic] execute external command http://www.perl.com/pub/doc/manual/html/pod/perlfaq8.html#How_can_I_capture_STDERR_from_an interchange.cfg AllowGlobal catalog page.html [perl global=1] some perl (see above) [/perl] Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 "Javier Martin" <martin@trymedia.com> Sent by: interchange-users-admin@developer.akopia.com 05/18/2001 08:26 AM Please respond to interchange-users To: <interchange-users@developer.akopia.com> cc: Subject: [ic] execute external command Hello everyone, How do I execute external commands? I use the $Tag->file function passing "command |" as filename and the target command is placed under the catalog directory so theoretically this should work even in Safe mode and with the NoAbsolute variable set. But it doesn't work!! [perl] my $result = $Tag->file("bin/command |"); [/perl] Thanks, Javier Martin _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Stefano Nota) Date: Fri May 18 09:13:01 2001 Subject: [ic] redirect, possible? But i don't have many pages for all language, <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]" class="navigation">english</a>english</a> I have a link or more like this: <a href="[area href=index_new arg=1]">Italiano</a> In the index_new page i get arg and there is a test: [if session arg == 1] [then] [set mv_locale]it_IT[/set] [/then] [/if] [if session arg == 2] [then] [set mv_locale]en_US[/set] [/then] [/if] [if session arg == 3] [then] [set mv_locale]fr_FR[/set] [/then] [/if] After setting locale i redirect people. [bounce href="[area second]"] It work correctly, what is the problem, i don't want many pages for all languages let me know stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: venerdì 18 maggio 2001 14.50 A: interchange-users@developer.akopia.com Oggetto: Re: [ic] redirect, possible? "Stefano Nota" <stefano@register.it> writes: > No, i used it for internationalization, > > I noticed that, when i set locale to a language it takes effect after a > reload of the page. > So i set locale in a page which redirect people to the home, and changes are > made. You really should read the documenation on IC locales. Bouncing is completely unnecessary. The last Locale setting in catalog.cfg decides which locale is the default. You may use: Locale it_IT currency_symbol LIRA To switch the locales by link, use sth like that: <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]" class="navigation">english</a> Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Rene Hertell) Date: Fri May 18 09:23:01 2001 Subject: [ic] redirect, possible? > To switch the locales by link, use sth like that: > <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]" > class="navigation">english</a> > Bye > Racke This gives trouble if the user changes the locale when the page is "process" mode. Maybe by using a scratch variable that sets the page name would be a better solution? Or is there a way in "capturing" the current state on a form-submission state? Rene From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri May 18 09:27:01 2001 Subject: [ic] redirect, possible? "Stefano Nota" <stefano@register.it> writes: > But i don't have many pages for all language, Usually you need only one page for multiple languages. > > <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]" > class="navigation">english</a>english</a> > > I have a link or more like this: > <a href="[area href=index_new arg=1]">Italiano</a> Then write <a href="[area href="process/locale/it_IT/page/second"]">Italiano</a> instead and you don't need index_new+bounce anymore. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefano Nota) Date: Fri May 18 09:47:01 2001 Subject: [ic] redirect, possible? Now i understand everything, My solution is maybe not the better way to set locale, but it's work. I'm new in ic and it isn's so simple to understand all its futures -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Stefan Hornburg (Racke) Inviato: venerdì 18 maggio 2001 15.25 A: interchange-users@developer.akopia.com Oggetto: Re: [ic] redirect, possible? "Stefano Nota" <stefano@register.it> writes: > But i don't have many pages for all language, Usually you need only one page for multiple languages. > > <a href="[area href="process/locale/en_US/page/@@MV_PAGE@@"]" > class="navigation">english</a>english</a> > > I have a link or more like this: > <a href="[area href=index_new arg=1]">Italiano</a> Then write <a href="[area href="process/locale/it_IT/page/second"]">Italiano</a> instead and you don't need index_new+bounce anymore. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Fri May 18 12:29:00 2001 Subject: [ic] Adding Users to UserDB At 01:00 AM 05/18/2001 +0100, you wrote: >Hi Interchange Users, > >I'm a interchage user from Portugal. I would like to contact other users, >but I have a problem and trying to solve for days. Even in the simple and >barry demos doesn´t work. > >I have two forms. One creates a new account and other captures and saves >more user data. I'm using interchange 4.5 (Red Hat 7.0) and when I use the >backoffice to see user data I only have the username, no email, addresses, >etc. > >Page New Account is like this: > >[set NewAccount] >[if type=explicit compare="[userdb new_account]"] >mv_nextpage=account >[else] >mv_nextpage=register >[/else] >[/if] >[/set] > > ><form action="[process-target]" method=post> ><input type=hidden name=mv_click value=NewAccount> ><input type=hidden name=mv_doit value=return> ><input type=hidden name=function value=new_account> ><input type=hidden name=mv_nextpage value=account> ><input type="text" name=mv_username value="" size="10"> ><input type="password" name=mv_password value="" size="10"> ><input type="password" name=mv_verify value="" size="10"> ><input type="submit" value="Register" size="10"> ></form> > > >And Page Account is like this: > >[set Save_database] >[userdb save] >[/set] > ><FORM ACTION="[process secure=1]" METHOD="POST"> ><INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]"> ><INPUT TYPE=hidden NAME=mv_todo VALUE=return> ><INPUT TYPE=hidden NAME=mv_nextpage VALUE=index> ><INPUT TYPE=HIDDEN NAME=mv_check VALUE="Save_database"> ><input type="text" name=fname value="[value fname]" size="10"> >... ><input type="submit" value="Update" size="10"> ></form) > Well </form) is a typo which could break the form itself, but assuming that it is correct in the actual code, and if it does in fact happen on the unmodified demos, I would guess that you are losing your session id between pages. Trying putting [data session id] in a visible place on both pages, and try creating an account, and watch the id value closely. If it is different on the second page than the first, that is the problem. Easily fixed - added this input the new account creation form on the first page: <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]"> BTW - session id's changing with each from submission is a direct consequence of a cookie-disabled browser. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Mike Heins) Date: Fri May 18 12:32:01 2001 Subject: [ic] re: flypage fails due to not building a complete url -solved Quoting Leon Harris (leon@quoll.com): > > Hi all. Thanks for your responses. > > The < a href="[loop-code].html" > [loop-field description] does work. > You should never do this. Please listen to all the people who tell you to use [area [loop-code]]. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at lists.akopia.com (Robert Trembath) Date: Fri May 18 12:53:00 2001 Subject: [ic] Admin on 4.72 not working on catalogs built in 4.6.4 I brought a store built in 4.64 over to 4.7.2 and the customer side works well with exception of getting a page expired message when I click on buy now from a search result. Someone else today ran across this problem, is there a fix? Also when I try to login to the admin section all I get is an error message produced by the3 process.html page. Please Help ASAP! Many thanks, Robert From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Fri May 18 13:40:00 2001 Subject: [ic] Minor bug fix, UserDB.pm Hi all - Below is the fix for a very minor bug in UserDB.pm, which causes an ambiguity in the error message which is displayed when the user tries to create an account with illegal characters in the username. This is for IC 4.6.4 - perhaps it has already been fixed in the latest release: *** UserDB.bak Fri May 18 10:11:30 2001 --- UserDB.pm Fri May 18 10:22:33 2001 *************** *** 1116,1122 **** if $self->{OPTIONS}{ignore_case}; } die "Must have longer username.\n" unless length($self->{USERNAME}) > 1; ! die "Can't have '$1' as username, unsafe characters.\n" if $self->{USERNAME} !~ m{^$GOOD_CHARS+$}; #::logDebug("new_account username: '$self->{USERNAME}'"); if ($self->{DB}->record_exists($self->{USERNAME})) { --- 1116,1122 ---- if $self->{OPTIONS}{ignore_case}; } die "Must have longer username.\n" unless length($self->{USERNAME}) > 1; ! die "Can't have '$self->{USERNAME}' as username, unsafe characters.\n" if $self->{USERNAME} !~ m{^$GOOD_CHARS+$}; #::logDebug("new_account username: '$self->{USERNAME}'"); if ($self->{DB}->record_exists($self->{USERNAME})) { - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Jon Jensen) Date: Fri May 18 13:49:00 2001 Subject: [ic] Minor bug fix, UserDB.pm On Fri, 18 May 2001, Ed LaFrance wrote: > Below is the fix for a very minor bug in UserDB.pm, which causes an > ambiguity in the error message which is displayed when the user tries to > create an account with illegal characters in the username. This is for IC > 4.6.4 - perhaps it has already been fixed in the latest release: That was already fixed in 4.7.x as part of the localization of error messages, but it wasn't in 4.6.x yet, so I'll add it. Thanks, Jon From: interchange-users at lists.akopia.com (Michael Lehmkuhl) Date: Fri May 18 15:51:01 2001 Subject: [ic] Install problems with MySQL Hello. I'm a newbie to Interchange, but I'm extremely excited about it. The demo installation really got me turned on to the speed and flexibility of this tool. However, I downloaded and am trying to install the software on my server, and I'm having problems with MySQL. The problem comes when trying to start up the server for the first time after adding the first catalog. I'm running Interchange V4.6.5, bsdi, MySQL 3.22.14b, Perl 5.005_03. Below is the output of interchange: ########## interchange OUTPUT ######################################## > bin/interchange -r The Interchange server was not running (/usr/home/electric/usr/local/etc/httpd/interchange/etc/interchange.pid). Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog pulpstore...Using MySQL, DSN=dbi:mysql:interchange_pulpstore. table orderline created: create table orderline ( code char(14) NOT NULL PRIMARY KEY, store_id CHAR(9) DEFAULT '' NOT NULL, index(store_id), order_number CHAR(14) NOT NULL, index(order_number), session CHAR(32) NOT NULL, username CHAR(20) default '' NOT NULL, shipmode CHAR(32) default '' NOT NULL, sku CHAR(14) NOT NULL, quantity CHAR(9) NOT NULL, price CHAR(12) NOT NULL, subtotal CHAR(12) NOT NULL, shipping CHAR(12), taxable CHAR(3), size VARCHAR(30), color VARCHAR(30), options VARCHAR(255), order_date varchar(32) NOT NULL, update_date timestamp, status VARCHAR(32), parent CHAR(9), affiliate char(128), campaign char(128), description char(128) ) table orderline index failed: Lost connection to MySQL server during query pulpstore config error: MySQL server has gone away pulpstore: error in configuration. Skipping. pulpstore: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 27199) ########## interchange OUTPUT ######################################## That first table, orderline, is set up as a MySQL table, but none of the other tables were created. The way I understand it from reading the archives of this list is that Interchange will initialize the catalog tables in the database on the first run of that catalog. Unfortunately, the problems that occurred for users in the archives of this list revolved around not having MySQL permissions. I do have MySQL permissions, since the orderline table was created. Is this a problem with MySQL, or DBI, or Interchange, or _______? Any ideas? I'd appreciate any assistance anyone could give us in troubleshooting and correcting this project. Thanks very much. I am looking forward to getting us up and running. -- Michael Lehmkuhl <michael@electricpulp.com> Partner, Electric Pulp 1.605.988.0177 : 1.888.722.PULP electricpulp.com From: interchange-users at lists.akopia.com (Interchange Mailing Lists) Date: Fri May 18 16:24:01 2001 Subject: [ic] matchlimit via categories solution I'm working on my first Interchange site using the construct demo to start from. As a customer requirment, I need to limit the number of results from either a user entered search or the selection of a category to 20 items/page. I've discovered that this can be easily done by setting mv_matchlimit (also referred to as just 'ml') to 20 as a hidden form variable at the search dialogue. This mv_matchlimit variable seems to take precedence over the default of 50 in [search-region] on the results page. My problem is that I also need to do this for the categories built by [cat-exec bar_link] in the region templates. My first assumption was that I could pass ml=20 through the pre-built link, but I cannot find a way to insert this in the building process. My next choice was to determine if mv_matchlimit had been set, and if not, set it myself to a default of 20 in the results page .. before [search-region] begins. However, I have very poor literacy so far as to how the different variable 'name spaces' work and [set] or [value] does not seem to overwrite or set the variable in the appropriate name space. My alternatives might entail a great deal of work or homework (like manually building the category buttons). Does anybody have a simpler/more obvious solution to this? Thanks, Steve Bourg Email: darius@bourg.net From: interchange-users at lists.akopia.com (Jason Kohles) Date: Fri May 18 16:57:01 2001 Subject: [ic] Install problems with MySQL On Fri, May 18, 2001 at 02:55:20PM -0500, Michael Lehmkuhl wrote: > Hello. > > I'm a newbie to Interchange, but I'm extremely excited about it. The demo > installation really got me turned on to the speed and flexibility of this > tool. > > However, I downloaded and am trying to install the software on my server, > and I'm having problems with MySQL. The problem comes when trying to start > up the server for the first time after adding the first catalog. I'm > running Interchange V4.6.5, bsdi, MySQL 3.22.14b, Perl 5.005_03. > > table orderline index failed: Lost connection to MySQL server during query > pulpstore config error: MySQL server has gone away > Check the mysql error logs and the interchange error logs, this error message indicates that the connection from interchange to the mysql server has been severed for some reason, usually you see this when the mysql server has crashed. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Steve West) Date: Fri May 18 17:53:00 2001 Subject: [ic] Installing construct w/ mysql support I just installed interchange on a RedHat 7.0 box and I'm having a few issues. First, can someone tell me what does this mean: Since you selected the MySQL option, you need to create a database named "test_construct". In a default MySQL configuration, any user may create and drop and modify test_* databases, but some administrators disable this. run "mysqladmin -u root -p create test_construct"? y Command returned error code 16777215: No such file or directory done. Does this mean the test_construct database did not get created? Secondly, I'm unable to click to go to "Enter as customer" or "Admin interface" link. They both fail. So, I rebooted the server and started the service but I got several errors: [root@dns2 ae]# /usr/local/interchange/bin/restart The Interchange server should not be run as root. It should run as a the user name you configured in when you set up the catalogs. The name we think should run it is: interch If you are starting the server from /etc/rc.local or another startup file, you can use this: su -f -c /usr/local/interchange/bin/restart interch or if that fails: su interch <<EOF /usr/local/interchange/bin/restart EOF Do you want me to start it as 'interch' now? [y] bash: /home/ae/.bashrc: Permission denied The Interchange server was not running (/usr/local/interchange/etc/interchange.p id). Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...construct config error: Couldn't open '/catalogs /construct/products/variable.txt' read/write: Permission denied construct: error in configuration. Skipping. construct: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 698) Can anyone help me figure out what I'm doing wrong? Thanks! SW From: interchange-users at lists.akopia.com (Michael Lehmkuhl) Date: Fri May 18 18:15:01 2001 Subject: [ic] Install problems with MySQL The MySQL messages.mysql file didn't have anything dated today. Here is a tail of the Interchange error.log file: - - - [18/May/2001:12:29:24 -0700] - - Low traffic settings. - - - [18/May/2001:12:29:24 -0700] - - Calling UI.... - - - [18/May/2001:12:29:26 -0700] - - ...UI is loaded.... - - - [18/May/2001:12:29:27 -0700] - - Interchange V4.6.5 - - - [18/May/2001:12:29:27 -0700] - - Config 'pulpstore' at server startup - - - [18/May/2001:12:29:28 -0700] - - Using MySQL, DSN=dbi:mysql:interchange_pulpstore. - - - [18/May/2001:12:29:29 -0700] - - pulpstore config error: MySQL server has gone away - - - [18/May/2001:12:29:29 -0700] - - pulpstore: config error. Skipping. - - - [18/May/2001:12:29:29 -0700] - - START server (26933) (INET and UNIX) - - - [18/May/2001:12:29:30 -0700] - - Accepting connections from localhost|127\.0\.0\.1 - - - [18/May/2001:12:29:30 -0700] - - START server (27199) (INET and UNIX) ldsl38.sxfl.uswest.net - - [18/May/2001:13:04:49 -0700] - /cgi-bin/pulpstore/admin/index.html Undefined catalog: /cgi-bin/pulpstore ldsl38.sxfl.uswest.net - - [18/May/2001:13:07:31 -0700] - /cgi-bin/pulpstore/index.html Undefined catalog: /cgi-bin/pulpstore The "Undefined catalog:" errors are coming from the web server. To clarify, the Catalog directive is set up in interchange.cfg, and the directory for the pulpstore catalog appears to contain all the right files and directories. Continued thanks for the help. -- Michael Lehmkuhl <michael@electricpulp.com> Partner, Electric Pulp 1.605.988.0177 : 1.888.722.PULP electricpulp.com > From: Jason Kohles <jkohles@redhat.com> > Reply-To: interchange-users@developer.akopia.com > Date: Fri, 18 May 2001 16:52:54 -0400 > To: interchange-users@developer.akopia.com > Subject: Re: [ic] Install problems with MySQL > > On Fri, May 18, 2001 at 02:55:20PM -0500, Michael Lehmkuhl wrote: >> Hello. >> >> I'm a newbie to Interchange, but I'm extremely excited about it. The demo >> installation really got me turned on to the speed and flexibility of this >> tool. >> >> However, I downloaded and am trying to install the software on my server, >> and I'm having problems with MySQL. The problem comes when trying to start >> up the server for the first time after adding the first catalog. I'm >> running Interchange V4.6.5, bsdi, MySQL 3.22.14b, Perl 5.005_03. >> >> table orderline index failed: Lost connection to MySQL server during query >> pulpstore config error: MySQL server has gone away >> > Check the mysql error logs and the interchange error logs, this error message > indicates that the connection from interchange to the mysql server has been > severed for some reason, usually you see this when the mysql server has > crashed. > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Matthew Schick) Date: Fri May 18 18:24:01 2001 Subject: [ic] Installing construct w/ mysql support --=-UWGF5S1kNaI31wq9Zwqk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 18 May 2001 17:55:34 -0400, Steve West wrote: >=20 > I just installed interchange on a RedHat 7.0 box and I'm having a few > issues. >=20 > First, can someone tell me what does this mean: >=20 > Since you selected the MySQL option, you need to create > a database named "test_construct". In a default MySQL > configuration, any user may create and drop and modify > test_* databases, but some administrators disable this. >=20 > run "mysqladmin -u root -p create test_construct"? y >=20 > Command returned error code 16777215: No such file or directory > done. >=20 Are you sure you have the 'MySQL-Client' package installed? It sounds like mysqladmin doesn't exist on your system > Does this mean the test_construct database did not get created? Yes. >=20 > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > interface" link. They both fail. So, I rebooted the server and started th= e > service but I got several errors: >=20 > [root@dns2 ae]# /usr/local/interchange/bin/restart >=20 > The Interchange server should not be run as root. It should run > as a the user name you configured in when you set up the catalogs. >=20 > The name we think should run it is: interch >=20 > If you are starting the server from /etc/rc.local or another > startup file, you can use this: >=20 > su -f -c /usr/local/interchange/bin/restart interch > or if that fails: >=20 > su interch <<EOF > /usr/local/interchange/bin/restart > EOF >=20 > Do you want me to start it as 'interch' now? [y] > bash: /home/ae/.bashrc: Permission denied > The Interchange server was not running > (/usr/local/interchange/etc/interchange.p > id). > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...construct config error: Couldn't open > '/catalogs > /construct/products/variable.txt' read/write: Permission denied Check that the user (interch ?) has read and write access to 'variable.txt'. You might want to check all of the files for the correct permissions while you are at it.... > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 698) >=20 > Can anyone help me figure out what I'm doing wrong? >=20 > Thanks! >=20 > SW >=20 > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users >=20 Hope this helps. Matt --=-UWGF5S1kNaI31wq9Zwqk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA7BaJP/x+6cl2wuPQRAuyvAJ0bKUBoUaiwRos2Fviq3VNThbsK2ACfdz7U K/Lt07gJZeJMsdDoDDeIolA= =Uepp -----END PGP SIGNATURE----- --=-UWGF5S1kNaI31wq9Zwqk-- From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Fri May 18 18:28:00 2001 Subject: [ic] Install problems with MySQL Michael Lehmkuhl wrote: > > The MySQL messages.mysql file didn't have anything dated today. > > Here is a tail of the Interchange error.log file: > > - - - [18/May/2001:12:29:24 -0700] - - Low traffic settings. > - - - [18/May/2001:12:29:24 -0700] - - Calling UI.... > - - - [18/May/2001:12:29:26 -0700] - - ...UI is loaded.... > - - - [18/May/2001:12:29:27 -0700] - - Interchange V4.6.5 > - - - [18/May/2001:12:29:27 -0700] - - Config 'pulpstore' at server startup > - - - [18/May/2001:12:29:28 -0700] - - Using MySQL, > DSN=dbi:mysql:interchange_pulpstore. > - - - [18/May/2001:12:29:29 -0700] - - pulpstore config error: MySQL server > has gone away [DEL] I've not follow this thread carefully. Depend ... if your setting of MySql on Interchange is right (catalog.cfg), you can get trouble with MySQL and IC, if MySQL is starting *after* IC, if you boot or reboot your machine. Make sure, MySQL is starting *before* IC, when your machine is booting. Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interchange-users at lists.akopia.com (Michael Lehmkuhl) Date: Fri May 18 18:41:01 2001 Subject: [ic] Install problems with MySQL OK. I've verified that IC starts after MySQL. Still having the issue, though. -- Michael Lehmkuhl <michael@electricpulp.com> Partner, Electric Pulp 1.605.988.0177 : 1.888.722.PULP electricpulp.com > From: Joachim Leidinger <jojo@blackpoint.de> > Reply-To: interchange-users@developer.akopia.com > Date: Sat, 19 May 2001 00:33:07 +0200 > To: interchange-users@developer.akopia.com > Subject: Re: [ic] Install problems with MySQL > > Michael Lehmkuhl wrote: >> >> The MySQL messages.mysql file didn't have anything dated today. >> >> Here is a tail of the Interchange error.log file: >> >> - - - [18/May/2001:12:29:24 -0700] - - Low traffic settings. >> - - - [18/May/2001:12:29:24 -0700] - - Calling UI.... >> - - - [18/May/2001:12:29:26 -0700] - - ...UI is loaded.... >> - - - [18/May/2001:12:29:27 -0700] - - Interchange V4.6.5 >> - - - [18/May/2001:12:29:27 -0700] - - Config 'pulpstore' at server startup >> - - - [18/May/2001:12:29:28 -0700] - - Using MySQL, >> DSN=dbi:mysql:interchange_pulpstore. >> - - - [18/May/2001:12:29:29 -0700] - - pulpstore config error: MySQL server >> has gone away > [DEL] > > I've not follow this thread carefully. Depend ... if your setting of > MySql on Interchange is right (catalog.cfg), you can get trouble with > MySQL and IC, if MySQL is starting *after* IC, if you boot or reboot > your machine. Make sure, MySQL is starting *before* IC, when your > machine is booting. > > Joachim > > -- > -------------<BPA FreeBsd>---------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Dan B) Date: Fri May 18 19:01:00 2001 Subject: [ic] Install problems with MySQL At 02:55 PM 5/18/2001 -0500, you wrote: >I'm a newbie to Interchange, but I'm extremely excited about it. The demo >installation really got me turned on to the speed and flexibility of this >tool. > >However, I downloaded and am trying to install the software on my server, >and I'm having problems with MySQL. The problem comes when trying to start >up the server for the first time after adding the first catalog. I'm >running Interchange V4.6.5, bsdi, MySQL 3.22.14b, Perl 5.005_03. [...] What version of BSDi are you running? Also, does the startup do the same thing every time (stop at orderline)? Try manually running the command in mysql (attached), just to rule that out. Also, would you try running just DBM (which is no SQL) to rule out other possibilities? I hope you get it going, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com create table orderline ( code char(14) NOT NULL PRIMARY KEY, store_id CHAR(9) DEFAULT '' NOT NULL, index(store_id), order_number CHAR(14) NOT NULL, index(order_number), session CHAR(32) NOT NULL, username CHAR(20) default '' NOT NULL, shipmode CHAR(32) default '' NOT NULL, sku CHAR(14) NOT NULL, quantity CHAR(9) NOT NULL, price CHAR(12) NOT NULL, subtotal CHAR(12) NOT NULL, shipping CHAR(12), taxable CHAR(3), size VARCHAR(30), color VARCHAR(30), options VARCHAR(255), order_date varchar(32) NOT NULL, update_date timestamp, status VARCHAR(32), parent CHAR(9), affiliate char(128), campaign char(128), description char(128) ) From: interchange-users at lists.akopia.com (Brian Teague) Date: Fri May 18 20:23:00 2001 Subject: [ic] Installing construct w/ mysql support i just fought through the interchange/mysql install on an RH7.1 box. lemme walk you through it. firstly, the above poster was right. you need *all* the packages on the RH disc starting with "mysql" including mysql-clients. make sure that you get them. secondly, the general perl DBI modules get installed by the interchange installer, but you need the specific mysql database driver (DBD.) get on http://search.cpan.org and search for 'mysql'...grab the package named "Msql-Mysql-modules-1.2216". untar/gzip it, enter the directory and run "perl Makefile.PL" "make" "make test" if all the tests pass, run "make install" so. that should get you set up on the perl end. next, you need to get permissions set up. i'm going to assume you installed the Interchange server under the username 'interch'...if it's different, substitute as appropriate in the following. as root, you need to add the user 'interch' to the personal group of the user who actually controls the catalog. for example, on my machine, the catalogs are in the home directory of user 'brian', at the path /home/brian/catalogs/construct. so, to make sure that the interchange server can get there, (as root!) i typed "usermod -G brian interch" which adds the user 'interch' to group 'brian'. finally, make sure you run the interchange server (eg, issue the ' /usr/local/interchange/bin/restart' command) as the interch user. eg, as root, "su interch" "/usr/local/interchange/bin/restart" "exit" that should about do it. the only other caveat i have is that i was unable to run the server it "UNIX" mode. i had to select "INET" mode before the linker would connect to the server. good luck! if you have more problems, feel free to email me directly or post to the list. regards, Brian Teague Steve West wrote: > I just installed interchange on a RedHat 7.0 box and I'm having a few > issues. > > First, can someone tell me what does this mean: > > Since you selected the MySQL option, you need to create > a database named "test_construct". In a default MySQL > configuration, any user may create and drop and modify > test_* databases, but some administrators disable this. > > run "mysqladmin -u root -p create test_construct"? y > > Command returned error code 16777215: No such file or directory > done. > > Does this mean the test_construct database did not get created? > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > interface" link. They both fail. So, I rebooted the server and started the > service but I got several errors: > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > The Interchange server should not be run as root. It should run > as a the user name you configured in when you set up the catalogs. > > The name we think should run it is: interch > > If you are starting the server from /etc/rc.local or another > startup file, you can use this: > > su -f -c /usr/local/interchange/bin/restart interch > or if that fails: > > su interch <<EOF > /usr/local/interchange/bin/restart > EOF > > Do you want me to start it as 'interch' now? [y] > bash: /home/ae/.bashrc: Permission denied > The Interchange server was not running > (/usr/local/interchange/etc/interchange.p > id). > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...construct config error: Couldn't open > '/catalogs > /construct/products/variable.txt' read/write: Permission denied > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 698) > > Can anyone help me figure out what I'm doing wrong? > > Thanks! > > SW > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > -- Brian Teague Baker '04 Rice University Give up on misery Turn your back on dissent Leave their distrust behind Wash your hands of regret From: interchange-users at lists.akopia.com (David) Date: Fri May 18 21:10:00 2001 Subject: [ic] thrashing I have just installed on a P350. Any attempt to access any part of the demo construct installation leaves the machine thrashing for about 20 seconds or more. What is the minimum system requirement to run Interchange as a production system doing maybe 100 transactions per day? Regards David. From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Sat May 19 00:03:00 2001 Subject: [ic] problems please help. In Internet Explorer the results.html when you enter qty and click buy it says sorry page expired not found. This works in netscape but not explorer. Anyone have a fix for this? Another internet explorer bug cart contents gets lost. From: interchange-users at lists.akopia.com (Victor Nolton) Date: Sat May 19 00:20:00 2001 Subject: [ic] problems please help. http://developer.akopia.com/cgi-bin/htsearch?words=buy%20expired >In Internet Explorer the results.html when you enter qty and click >buy it says sorry page expired not found. This works in netscape but >not explorer. Anyone have a fix for this? Another internet explorer >bug cart contents gets lost. > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (Tim Watts) Date: Sat May 19 01:33:00 2001 Subject: [ic] Product Reviews Anybody including product reviews in interchange? If so, got any helps? -- Tim Watts president Romans1013.net Internet Hosting From: interchange-users at lists.akopia.com (Kaare Rasmussen) Date: Sat May 19 06:58:00 2001 Subject: [ic] Admin menu Can someone tell me what it takes to change the Admin menu completely? I'd like to have some other main menu items, and of course also new submenu items. I don't mind loosing the images that make up the menu bar, text menu is fine. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at lists.akopia.com (Kaare Rasmussen) Date: Sat May 19 07:03:01 2001 Subject: [ic] Re: Admin menu > Can someone tell me what it takes to change the Admin menu completely? Forgot to tell that it's in 4.7. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at lists.akopia.com (Mike Heins) Date: Sat May 19 08:48:00 2001 Subject: [ic] thrashing Quoting David (david@kenpro.com.au): > > I have just installed on a P350. Any attempt to access any part of the > demo construct installation leaves the machine thrashing for about 20 > seconds or more. > > What is the minimum system requirement to run Interchange as a production > system doing maybe 100 transactions per day? The key thing is memory. While a 350MHz system is a bit underpowered these days, it will run Interchange at an acceptable if not blinding speed. You should have at least 128MB of RAM on the system, more if you are running X on it. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I don't want to get to the end of my life and find I have just lived the length of it. I want to have lived the width of it as well. -- Diane Ackerman From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sat May 19 09:58:00 2001 Subject: [ic] Product Reviews On Sat, May 19, 2001 at 01:40:13AM -0400, Tim Watts wrote: > Anybody including product reviews in interchange? > If so, got any helps? Yes, can you be more specific? > -- > Tim Watts > president > Romans1013.net > Internet Hosting > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 11:07:01 2001 Subject: [ic] Installing construct w/ mysql support -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Matthew Schick Sent: Friday, May 18, 2001 6:30 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Installing construct w/ mysql support On 18 May 2001 17:55:34 -0400, Steve West wrote: > > I just installed interchange on a RedHat 7.0 box and I'm having a few > issues. > > First, can someone tell me what does this mean: > > Since you selected the MySQL option, you need to create > a database named "test_construct". In a default MySQL > configuration, any user may create and drop and modify > test_* databases, but some administrators disable this. > > run "mysqladmin -u root -p create test_construct"? y > > Command returned error code 16777215: No such file or directory > done. > Are you sure you have the 'MySQL-Client' package installed? It sounds like mysqladmin doesn't exist on your system > Does this mean the test_construct database did not get created? Yes. > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > interface" link. They both fail. So, I rebooted the server and started the > service but I got several errors: > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > The Interchange server should not be run as root. It should run > as a the user name you configured in when you set up the catalogs. > > The name we think should run it is: interch > > If you are starting the server from /etc/rc.local or another > startup file, you can use this: > > su -f -c /usr/local/interchange/bin/restart interch > or if that fails: > > su interch <<EOF > /usr/local/interchange/bin/restart > EOF > > Do you want me to start it as 'interch' now? [y] > bash: /home/ae/.bashrc: Permission denied > The Interchange server was not running > (/usr/local/interchange/etc/interchange.p > id). > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...construct config error: Couldn't open > '/catalogs > /construct/products/variable.txt' read/write: Permission denied Check that the user (interch ?) has read and write access to 'variable.txt'. You might want to check all of the files for the correct permissions while you are at it.... > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 698) > > Can anyone help me figure out what I'm doing wrong? > > Thanks! > > SW > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Hope this helps. Matt From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 11:13:00 2001 Subject: [ic] Installing construct w/ mysql support Matt, >Are you sure you have the 'MySQL-Client' package installed? How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and everything installed fine. I created a test database added some tables all without a problem. Thanks! SW -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Matthew Schick Sent: Friday, May 18, 2001 6:30 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Installing construct w/ mysql support On 18 May 2001 17:55:34 -0400, Steve West wrote: > > I just installed interchange on a RedHat 7.0 box and I'm having a few > issues. > > First, can someone tell me what does this mean: > > Since you selected the MySQL option, you need to create > a database named "test_construct". In a default MySQL > configuration, any user may create and drop and modify > test_* databases, but some administrators disable this. > > run "mysqladmin -u root -p create test_construct"? y > > Command returned error code 16777215: No such file or directory > done. > Are you sure you have the 'MySQL-Client' package installed? It sounds like mysqladmin doesn't exist on your system > Does this mean the test_construct database did not get created? Yes. > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > interface" link. They both fail. So, I rebooted the server and started the > service but I got several errors: > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > The Interchange server should not be run as root. It should run > as a the user name you configured in when you set up the catalogs. > > The name we think should run it is: interch > > If you are starting the server from /etc/rc.local or another > startup file, you can use this: > > su -f -c /usr/local/interchange/bin/restart interch > or if that fails: > > su interch <<EOF > /usr/local/interchange/bin/restart > EOF > > Do you want me to start it as 'interch' now? [y] > bash: /home/ae/.bashrc: Permission denied > The Interchange server was not running > (/usr/local/interchange/etc/interchange.p > id). > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...construct config error: Couldn't open > '/catalogs > /construct/products/variable.txt' read/write: Permission denied Check that the user (interch ?) has read and write access to 'variable.txt'. You might want to check all of the files for the correct permissions while you are at it.... > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 698) > > Can anyone help me figure out what I'm doing wrong? > > Thanks! > > SW > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Hope this helps. Matt From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sat May 19 11:26:00 2001 Subject: [ic] Installing construct w/ mysql support "Steve West" <wppiphoto@wppi.com> Sent by: To: <interchange-users@developer.akopia.com> interchange-users-admin@developer. cc: <matt@brightredproductions.com> akopia.com Subject: RE: [ic] Installing construct w/ mysql support 05/19/2001 11:16 AM Please respond to interchange-users > Matt, >>Are you sure you have the 'MySQL-Client' package installed? > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > everything installed fine. I created a test database added some tables all > without a problem. See if you have the command "mysqladmin" either using find (man find) or locate (man locate). If you do then make sure its in your $PATH variable. If you dont know about the PATH or how to set it then I suggest you read about it. You know if its in your path by issuing "whereis mysqladmin". Usually its within the bin/ directory in your mysql's installation prefix (defaults to /usr/local/mysql/bin I think). -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Matthew Schick Sent: Friday, May 18, 2001 6:30 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Installing construct w/ mysql support On 18 May 2001 17:55:34 -0400, Steve West wrote: > > I just installed interchange on a RedHat 7.0 box and I'm having a few > issues. > > First, can someone tell me what does this mean: > > Since you selected the MySQL option, you need to create > a database named "test_construct". In a default MySQL > configuration, any user may create and drop and modify > test_* databases, but some administrators disable this. > > run "mysqladmin -u root -p create test_construct"? y > > Command returned error code 16777215: No such file or directory > done. > Are you sure you have the 'MySQL-Client' package installed? It sounds like mysqladmin doesn't exist on your system > Does this mean the test_construct database did not get created? Yes. > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > interface" link. They both fail. So, I rebooted the server and started the > service but I got several errors: > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > The Interchange server should not be run as root. It should run > as a the user name you configured in when you set up the catalogs. > > The name we think should run it is: interch > > If you are starting the server from /etc/rc.local or another > startup file, you can use this: > > su -f -c /usr/local/interchange/bin/restart interch > or if that fails: > > su interch <<EOF > /usr/local/interchange/bin/restart > EOF > > Do you want me to start it as 'interch' now? [y] > bash: /home/ae/.bashrc: Permission denied > The Interchange server was not running > (/usr/local/interchange/etc/interchange.p > id). > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...construct config error: Couldn't open > '/catalogs > /construct/products/variable.txt' read/write: Permission denied Check that the user (interch ?) has read and write access to 'variable.txt'. You might want to check all of the files for the correct permissions while you are at it.... > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 698) > > Can anyone help me figure out what I'm doing wrong? > > Thanks! > > SW > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Hope this helps. Matt _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 11:42:00 2001 Subject: [ic] Installing construct w/ mysql support Matt, mysqladmin is installed at the following location: /usr/local/mysql/bin/mysqladmin So, it seems it's installed. How about mysql-client? Or is that part of mysqladmin? Thanks for all the help! SW -----Original Message----- From: Matthew Schick [mailto:matt@brightredproductions.com] Sent: Saturday, May 19, 2001 11:39 AM To: wppiphoto@wppi.com Subject: RE: [ic] Installing construct w/ mysql support Try doing a ' whereis mysqladmin '. If that's unsuccessful do ' updatedb ' followed by ' locate mysqladmin '. I would highly recommend using the rpms from the mysql site. They have everything you need, and without all the problems :). Lemmie know how this turns out... Matt On 19 May 2001 11:16:12 -0400, Steve West wrote: > > Matt, > > >Are you sure you have the 'MySQL-Client' package installed? > > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > everything installed fine. I created a test database added some tables all > without a problem. > > Thanks! > > SW > > > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > Matthew Schick > Sent: Friday, May 18, 2001 6:30 PM > To: interchange-users@developer.akopia.com > Subject: Re: [ic] Installing construct w/ mysql support > > > On 18 May 2001 17:55:34 -0400, Steve West wrote: > > > > I just installed interchange on a RedHat 7.0 box and I'm having a few > > issues. > > > > First, can someone tell me what does this mean: > > > > Since you selected the MySQL option, you need to create > > a database named "test_construct". In a default MySQL > > configuration, any user may create and drop and modify > > test_* databases, but some administrators disable this. > > > > run "mysqladmin -u root -p create test_construct"? y > > > > Command returned error code 16777215: No such file or directory > > done. > > > > Are you sure you have the 'MySQL-Client' package installed? It sounds > like mysqladmin doesn't exist on your system > > > Does this mean the test_construct database did not get created? > > Yes. > > > > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > > interface" link. They both fail. So, I rebooted the server and started the > > service but I got several errors: > > > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > > > The Interchange server should not be run as root. It should run > > as a the user name you configured in when you set up the catalogs. > > > > The name we think should run it is: interch > > > > If you are starting the server from /etc/rc.local or another > > startup file, you can use this: > > > > su -f -c /usr/local/interchange/bin/restart interch > > or if that fails: > > > > su interch <<EOF > > /usr/local/interchange/bin/restart > > EOF > > > > Do you want me to start it as 'interch' now? [y] > > bash: /home/ae/.bashrc: Permission denied > > The Interchange server was not running > > (/usr/local/interchange/etc/interchange.p > > id). > > Low traffic settings. > > Calling UI.... > > ...UI is loaded.... > > Interchange V4.6.5 > > Configuring catalog construct...construct config error: Couldn't open > > '/catalogs > > /construct/products/variable.txt' read/write: Permission denied > > Check that the user (interch ?) has read and write access to > 'variable.txt'. You might want to check all of the files for the > correct permissions while you are at it.... > > > construct: error in configuration. Skipping. > > construct: config error. Skipping. > > Interchange server started in INET and UNIX mode(s) (process id 698) > > > > Can anyone help me figure out what I'm doing wrong? > > > > Thanks! > > > > SW > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > Hope this helps. > Matt > > From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 12:37:01 2001 Subject: [ic] Installing construct w/ mysql support Math, Well, it seems I'm getting closer to getting the construct demo catelog working. Per J.P. suggestion, I setup the path for mysqladmin and then ran the bin/makecat construct and it seemed to connect to mysql and add the test_construct database to mysql: mysql> show databases; +----------------+ | Database | +----------------+ | mysql | | test | | test2 | | test_construct | +----------------+ So, I rebooted interchange but got the following errors: [root@dns2 ae]# su -c "/usr/local/interchange/bin/interchange -r" interch bash: /home/ae/.bashrc: Permission denied Killing Interchange server 3495 with TERM. Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. construct config error: connect failed (create) -- unknown error. Driver 'mysql' installed? construct: error in configuration. Skipping. construct: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 3762) Any ideas why I'm still getting the errors above? Thanks for all the help so far!!! :) SW -----Original Message----- From: Matthew Schick [mailto:matt@brightredproductions.com] Sent: Saturday, May 19, 2001 12:00 PM To: wppiphoto@wppi.com Subject: RE: [ic] Installing construct w/ mysql support I apologise..... mysqladmin is part of the the 'MySQL-Client' rpm from the mysql site. Your problem is the program is outside of your path, hence the problem..... I don't remember the exact commands for exporting a new path while keeping the new one intact, but you can always symlink it to your /usr/bin directory (ln -s /usr/bin/ /usr/local/mysql/bin/mysqladmin) as root..... Matt On 19 May 2001 11:44:55 -0400, Steve West wrote: > > Matt, > > mysqladmin is installed at the following location: > > /usr/local/mysql/bin/mysqladmin > > So, it seems it's installed. How about mysql-client? Or is that part of > mysqladmin? > > Thanks for all the help! > > SW > > -----Original Message----- > From: Matthew Schick [mailto:matt@brightredproductions.com] > Sent: Saturday, May 19, 2001 11:39 AM > To: wppiphoto@wppi.com > Subject: RE: [ic] Installing construct w/ mysql support > > > Try doing a ' whereis mysqladmin '. If that's unsuccessful do ' > updatedb ' followed by ' locate mysqladmin '. I would highly recommend > using the rpms from the mysql site. They have everything you need, and > without all the problems :). > > Lemmie know how this turns out... > Matt > > On 19 May 2001 11:16:12 -0400, Steve West wrote: > > > > Matt, > > > > >Are you sure you have the 'MySQL-Client' package installed? > > > > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > > everything installed fine. I created a test database added some tables all > > without a problem. > > > > Thanks! > > > > SW > > > > > > -----Original Message----- > > From: interchange-users-admin@developer.akopia.com > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > > Matthew Schick > > Sent: Friday, May 18, 2001 6:30 PM > > To: interchange-users@developer.akopia.com > > Subject: Re: [ic] Installing construct w/ mysql support > > > > > > On 18 May 2001 17:55:34 -0400, Steve West wrote: > > > > > > I just installed interchange on a RedHat 7.0 box and I'm having a few > > > issues. > > > > > > First, can someone tell me what does this mean: > > > > > > Since you selected the MySQL option, you need to create > > > a database named "test_construct". In a default MySQL > > > configuration, any user may create and drop and modify > > > test_* databases, but some administrators disable this. > > > > > > run "mysqladmin -u root -p create test_construct"? y > > > > > > Command returned error code 16777215: No such file or directory > > > done. > > > > > > > Are you sure you have the 'MySQL-Client' package installed? It sounds > > like mysqladmin doesn't exist on your system > > > > > Does this mean the test_construct database did not get created? > > > > Yes. > > > > > > > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > > > interface" link. They both fail. So, I rebooted the server and started > the > > > service but I got several errors: > > > > > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > > > > > The Interchange server should not be run as root. It should run > > > as a the user name you configured in when you set up the catalogs. > > > > > > The name we think should run it is: interch > > > > > > If you are starting the server from /etc/rc.local or another > > > startup file, you can use this: > > > > > > su -f -c /usr/local/interchange/bin/restart interch > > > or if that fails: > > > > > > su interch <<EOF > > > /usr/local/interchange/bin/restart > > > EOF > > > > > > Do you want me to start it as 'interch' now? [y] > > > bash: /home/ae/.bashrc: Permission denied > > > The Interchange server was not running > > > (/usr/local/interchange/etc/interchange.p > > > id). > > > Low traffic settings. > > > Calling UI.... > > > ...UI is loaded.... > > > Interchange V4.6.5 > > > Configuring catalog construct...construct config error: Couldn't open > > > '/catalogs > > > /construct/products/variable.txt' read/write: Permission denied > > > > Check that the user (interch ?) has read and write access to > > 'variable.txt'. You might want to check all of the files for the > > correct permissions while you are at it.... > > > > > construct: error in configuration. Skipping. > > > construct: config error. Skipping. > > > Interchange server started in INET and UNIX mode(s) (process id 698) > > > > > > Can anyone help me figure out what I'm doing wrong? > > > > > > Thanks! > > > > > > SW > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > Hope this helps. > > Matt > > > > > > From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sat May 19 13:44:01 2001 Subject: [ic] Installing construct w/ mysql support "Steve West" <wppiphoto@wppi.com> Sent by: To: "Matthew Schick" <matt@brightredproductions.com> interchange-users-admin@developer. cc: "RedHat Interchange" <interchange-users@developer.akopia.com> akopia.com Subject: RE: [ic] Installing construct w/ mysql support 05/19/2001 12:40 PM Please respond to interchange-users > So, I rebooted interchange but got the following errors: > > [root@dns2 ae]# su -c "/usr/local/interchange/bin/interchange -r" interch > bash: /home/ae/.bashrc: Permission denied Check that your /home/ae/.bashrc file is owned by ae and that this user has at least read access to it. > Killing Interchange server 3495 with TERM. > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. > construct config error: connect failed (create) -- unknown error. Driver > 'mysql' installed? > > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 3762) > > Any ideas why I'm still getting the errors above? Have you installed Bundle::Interchange from the cpan network? Thats all in the docs...tell me you did that =) J.P. > Matt, > > mysqladmin is installed at the following location: > > /usr/local/mysql/bin/mysqladmin > > So, it seems it's installed. How about mysql-client? Or is that part of > mysqladmin? > > Thanks for all the help! > > SW > > -----Original Message----- > From: Matthew Schick [mailto:matt@brightredproductions.com] > Sent: Saturday, May 19, 2001 11:39 AM > To: wppiphoto@wppi.com > Subject: RE: [ic] Installing construct w/ mysql support > > > Try doing a ' whereis mysqladmin '. If that's unsuccessful do ' > updatedb ' followed by ' locate mysqladmin '. I would highly recommend > using the rpms from the mysql site. They have everything you need, and > without all the problems :). > > Lemmie know how this turns out... > Matt > > On 19 May 2001 11:16:12 -0400, Steve West wrote: > > > > Matt, > > > > >Are you sure you have the 'MySQL-Client' package installed? > > > > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > > everything installed fine. I created a test database added some tables all > > without a problem. > > > > Thanks! > > > > SW > > > > > > -----Original Message----- > > From: interchange-users-admin@developer.akopia.com > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > > Matthew Schick > > Sent: Friday, May 18, 2001 6:30 PM > > To: interchange-users@developer.akopia.com > > Subject: Re: [ic] Installing construct w/ mysql support > > > > > > On 18 May 2001 17:55:34 -0400, Steve West wrote: > > > > > > I just installed interchange on a RedHat 7.0 box and I'm having a few > > > issues. > > > > > > First, can someone tell me what does this mean: > > > > > > Since you selected the MySQL option, you need to create > > > a database named "test_construct". In a default MySQL > > > configuration, any user may create and drop and modify > > > test_* databases, but some administrators disable this. > > > > > > run "mysqladmin -u root -p create test_construct"? y > > > > > > Command returned error code 16777215: No such file or directory > > > done. > > > > > > > Are you sure you have the 'MySQL-Client' package installed? It sounds > > like mysqladmin doesn't exist on your system > > > > > Does this mean the test_construct database did not get created? > > > > Yes. > > > > > > > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > > > interface" link. They both fail. So, I rebooted the server and started > the > > > service but I got several errors: > > > > > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > > > > > The Interchange server should not be run as root. It should run > > > as a the user name you configured in when you set up the catalogs. > > > > > > The name we think should run it is: interch > > > > > > If you are starting the server from /etc/rc.local or another > > > startup file, you can use this: > > > > > > su -f -c /usr/local/interchange/bin/restart interch > > > or if that fails: > > > > > > su interch <<EOF > > > /usr/local/interchange/bin/restart > > > EOF > > > > > > Do you want me to start it as 'interch' now? [y] > > > bash: /home/ae/.bashrc: Permission denied > > > The Interchange server was not running > > > (/usr/local/interchange/etc/interchange.p > > > id). > > > Low traffic settings. > > > Calling UI.... > > > ...UI is loaded.... > > > Interchange V4.6.5 > > > Configuring catalog construct...construct config error: Couldn't open > > > '/catalogs > > > /construct/products/variable.txt' read/write: Permission denied > > > > Check that the user (interch ?) has read and write access to > > 'variable.txt'. You might want to check all of the files for the > > correct permissions while you are at it.... > > > > > construct: error in configuration. Skipping. > > > construct: config error. Skipping. > > > Interchange server started in INET and UNIX mode(s) (process id 698) > > > > > > Can anyone help me figure out what I'm doing wrong? > > > > > > Thanks! > > > > > > SW > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > Hope this helps. > > Matt > > > > > > _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 14:50:00 2001 Subject: [ic] Installing construct w/ mysql support Matt, I did exactly what you said and it seems perl tried to download this file and some other things. Then, it started to download the entire perl application (5.7MB). So, I followed the instructions and allowed it to install. But, it seems there was an error: make[1]: Leaving directory `/root/.cpan/build/perl-5.6.1' /usr/bin/make install -- OK Running make for J/JW/JWIED/DBD-mysql-2.0900.tar.gz Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 Has already been processed within this session Running make test Oops, make had returned bad status Running make install Oops, make had returned bad status Any ideas why this happened? I thought I was only downloading just the DBD::mysql but not the entire perl application. I selected all the defaults that the perl installation found or suggested to choose. P.S. I know we will get this thing to work soon. If only my system can stop asking for more things to be installed! :) SW -----Original Message----- From: Matthew Schick [mailto:matt@brightredproductions.com] Sent: Saturday, May 19, 2001 12:56 PM To: wppiphoto@wppi.com Subject: RE: [ic] Installing construct w/ mysql support Do " perl -MCPAN -e 'install Bundle::DBD::mysql' " and it will take care of this on.... glad to see you have gotten past the first problem..... welcome to Interchange..... <g> On 19 May 2001 12:40:21 -0400, Steve West wrote: > > Math, > > Well, it seems I'm getting closer to getting the construct demo catelog > working. Per J.P. suggestion, I setup the path for mysqladmin and then ran > the bin/makecat construct and it seemed to connect to mysql and add the > test_construct database to mysql: > > mysql> show databases; > +----------------+ > | Database | > +----------------+ > | mysql | > | test | > | test2 | > | test_construct | > +----------------+ > > So, I rebooted interchange but got the following errors: > > [root@dns2 ae]# su -c "/usr/local/interchange/bin/interchange -r" interch > bash: /home/ae/.bashrc: Permission denied > Killing Interchange server 3495 with TERM. > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. > construct config error: connect failed (create) -- unknown error. Driver > 'mysql' > installed? > > > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 3762) > > Any ideas why I'm still getting the errors above? > > Thanks for all the help so far!!! :) > > SW > > > > -----Original Message----- > From: Matthew Schick [mailto:matt@brightredproductions.com] > Sent: Saturday, May 19, 2001 12:00 PM > To: wppiphoto@wppi.com > Subject: RE: [ic] Installing construct w/ mysql support > > > I apologise..... mysqladmin is part of the the 'MySQL-Client' rpm from > the mysql site. Your problem is the program is outside of your path, > hence the problem..... I don't remember the exact commands for > exporting a new path while keeping the new one intact, but you can > always symlink it to your /usr/bin directory (ln -s /usr/bin/ > /usr/local/mysql/bin/mysqladmin) as root..... > > Matt > > On 19 May 2001 11:44:55 -0400, Steve West wrote: > > > > Matt, > > > > mysqladmin is installed at the following location: > > > > /usr/local/mysql/bin/mysqladmin > > > > So, it seems it's installed. How about mysql-client? Or is that part of > > mysqladmin? > > > > Thanks for all the help! > > > > SW > > > > -----Original Message----- > > From: Matthew Schick [mailto:matt@brightredproductions.com] > > Sent: Saturday, May 19, 2001 11:39 AM > > To: wppiphoto@wppi.com > > Subject: RE: [ic] Installing construct w/ mysql support > > > > > > Try doing a ' whereis mysqladmin '. If that's unsuccessful do ' > > updatedb ' followed by ' locate mysqladmin '. I would highly recommend > > using the rpms from the mysql site. They have everything you need, and > > without all the problems :). > > > > Lemmie know how this turns out... > > Matt > > > > On 19 May 2001 11:16:12 -0400, Steve West wrote: > > > > > > Matt, > > > > > > >Are you sure you have the 'MySQL-Client' package installed? > > > > > > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > > > everything installed fine. I created a test database added some tables > all > > > without a problem. > > > > > > Thanks! > > > > > > SW > > > > > > > > > -----Original Message----- > > > From: interchange-users-admin@developer.akopia.com > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > > > Matthew Schick > > > Sent: Friday, May 18, 2001 6:30 PM > > > To: interchange-users@developer.akopia.com > > > Subject: Re: [ic] Installing construct w/ mysql support > > > > > > > > > On 18 May 2001 17:55:34 -0400, Steve West wrote: > > > > > > > > I just installed interchange on a RedHat 7.0 box and I'm having a few > > > > issues. > > > > > > > > First, can someone tell me what does this mean: > > > > > > > > Since you selected the MySQL option, you need to create > > > > a database named "test_construct". In a default MySQL > > > > configuration, any user may create and drop and modify > > > > test_* databases, but some administrators disable this. > > > > > > > > run "mysqladmin -u root -p create test_construct"? y > > > > > > > > Command returned error code 16777215: No such file or directory > > > > done. > > > > > > > > > > Are you sure you have the 'MySQL-Client' package installed? It sounds > > > like mysqladmin doesn't exist on your system > > > > > > > Does this mean the test_construct database did not get created? > > > > > > Yes. > > > > > > > > > > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > > > > interface" link. They both fail. So, I rebooted the server and started > > the > > > > service but I got several errors: > > > > > > > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > > > > > > > The Interchange server should not be run as root. It should run > > > > as a the user name you configured in when you set up the catalogs. > > > > > > > > The name we think should run it is: interch > > > > > > > > If you are starting the server from /etc/rc.local or another > > > > startup file, you can use this: > > > > > > > > su -f -c /usr/local/interchange/bin/restart interch > > > > or if that fails: > > > > > > > > su interch <<EOF > > > > /usr/local/interchange/bin/restart > > > > EOF > > > > > > > > Do you want me to start it as 'interch' now? [y] > > > > bash: /home/ae/.bashrc: Permission denied > > > > The Interchange server was not running > > > > (/usr/local/interchange/etc/interchange.p > > > > id). > > > > Low traffic settings. > > > > Calling UI.... > > > > ...UI is loaded.... > > > > Interchange V4.6.5 > > > > Configuring catalog construct...construct config error: Couldn't open > > > > '/catalogs > > > > /construct/products/variable.txt' read/write: Permission denied > > > > > > Check that the user (interch ?) has read and write access to > > > 'variable.txt'. You might want to check all of the files for the > > > correct permissions while you are at it.... > > > > > > > construct: error in configuration. Skipping. > > > > construct: config error. Skipping. > > > > Interchange server started in INET and UNIX mode(s) (process id 698) > > > > > > > > Can anyone help me figure out what I'm doing wrong? > > > > > > > > Thanks! > > > > > > > > SW > > > > > > > > _______________________________________________ > > > > Interchange-users mailing list > > > > Interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > Hope this helps. > > > Matt > > > > > > > > > > > > From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 15:00:01 2001 Subject: [ic] Installing construct w/ mysql support J.P., >Check that your /home/ae/.bashrc file is owned >by ae and that this user has at least >read access to it. [root@dns2 ae]# ls -al /home/ae/ -rw-r--r-- 1 ae ae 124 Dec 17 19:05 .bashrc Is this correct? >Have you installed Bundle::Interchange >from the cpan network? I followed the Unix Installation under the Readme file for Interchange. It downloaded various files and everthing went fine (or I atleast thing so). So, I proceeded w/ the demo construct installation where I get stuck. SW > So, I rebooted interchange but got the following errors: > > [root@dns2 ae]# su -c "/usr/local/interchange/bin/interchange -r" interch > bash: /home/ae/.bashrc: Permission denied Check that your /home/ae/.bashrc file is owned by ae and that this user has at least read access to it. > Killing Interchange server 3495 with TERM. > Low traffic settings. > Calling UI.... > ...UI is loaded.... > Interchange V4.6.5 > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. > construct config error: connect failed (create) -- unknown error. Driver > 'mysql' installed? > > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 3762) > > Any ideas why I'm still getting the errors above? Have you installed Bundle::Interchange from the cpan network? Thats all in the docs...tell me you did that =) J.P. > Matt, > > mysqladmin is installed at the following location: > > /usr/local/mysql/bin/mysqladmin > > So, it seems it's installed. How about mysql-client? Or is that part of > mysqladmin? > > Thanks for all the help! > > SW > > -----Original Message----- > From: Matthew Schick [mailto:matt@brightredproductions.com] > Sent: Saturday, May 19, 2001 11:39 AM > To: wppiphoto@wppi.com > Subject: RE: [ic] Installing construct w/ mysql support > > > Try doing a ' whereis mysqladmin '. If that's unsuccessful do ' > updatedb ' followed by ' locate mysqladmin '. I would highly recommend > using the rpms from the mysql site. They have everything you need, and > without all the problems :). > > Lemmie know how this turns out... > Matt > > On 19 May 2001 11:16:12 -0400, Steve West wrote: > > > > Matt, > > > > >Are you sure you have the 'MySQL-Client' package installed? > > > > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > > everything installed fine. I created a test database added some tables all > > without a problem. > > > > Thanks! > > > > SW > > > > > > -----Original Message----- > > From: interchange-users-admin@developer.akopia.com > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > > Matthew Schick > > Sent: Friday, May 18, 2001 6:30 PM > > To: interchange-users@developer.akopia.com > > Subject: Re: [ic] Installing construct w/ mysql support > > > > > > On 18 May 2001 17:55:34 -0400, Steve West wrote: > > > > > > I just installed interchange on a RedHat 7.0 box and I'm having a few > > > issues. > > > > > > First, can someone tell me what does this mean: > > > > > > Since you selected the MySQL option, you need to create > > > a database named "test_construct". In a default MySQL > > > configuration, any user may create and drop and modify > > > test_* databases, but some administrators disable this. > > > > > > run "mysqladmin -u root -p create test_construct"? y > > > > > > Command returned error code 16777215: No such file or directory > > > done. > > > > > > > Are you sure you have the 'MySQL-Client' package installed? It sounds > > like mysqladmin doesn't exist on your system > > > > > Does this mean the test_construct database did not get created? > > > > Yes. > > > > > > > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > > > interface" link. They both fail. So, I rebooted the server and started > the > > > service but I got several errors: > > > > > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > > > > > The Interchange server should not be run as root. It should run > > > as a the user name you configured in when you set up the catalogs. > > > > > > The name we think should run it is: interch > > > > > > If you are starting the server from /etc/rc.local or another > > > startup file, you can use this: > > > > > > su -f -c /usr/local/interchange/bin/restart interch > > > or if that fails: > > > > > > su interch <<EOF > > > /usr/local/interchange/bin/restart > > > EOF > > > > > > Do you want me to start it as 'interch' now? [y] > > > bash: /home/ae/.bashrc: Permission denied > > > The Interchange server was not running > > > (/usr/local/interchange/etc/interchange.p > > > id). > > > Low traffic settings. > > > Calling UI.... > > > ...UI is loaded.... > > > Interchange V4.6.5 > > > Configuring catalog construct...construct config error: Couldn't open > > > '/catalogs > > > /construct/products/variable.txt' read/write: Permission denied > > > > Check that the user (interch ?) has read and write access to > > 'variable.txt'. You might want to check all of the files for the > > correct permissions while you are at it.... > > > > > construct: error in configuration. Skipping. > > > construct: config error. Skipping. > > > Interchange server started in INET and UNIX mode(s) (process id 698) > > > > > > Can anyone help me figure out what I'm doing wrong? > > > > > > Thanks! > > > > > > SW > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > Hope this helps. > > Matt > > > > > > From: interchange-users at lists.akopia.com (Matthew Schick) Date: Sat May 19 15:07:00 2001 Subject: [ic] Installing construct w/ mysql support Damn... It made me install the new version when I upgraded cpan, but I didn't think it would do that for a dbd driver..... I am guessing that it went ahead and installed v5.6.1 and it looks like it just had a brain fart (technical term) afterwards. Try rerunning " perl -MCPAN -e 'install Bundle::DBD::mysql' " and my guess is it will go thru without a hitch..... Matt On 19 May 2001 14:53:21 -0400, Steve West wrote: > > Matt, > > I did exactly what you said and it seems perl tried to download this file and some other things. Then, it started to download the entire perl application (5.7MB). So, I followed the instructions and allowed it to install. But, it seems there was an error: > > make[1]: Leaving directory `/root/.cpan/build/perl-5.6.1' > /usr/bin/make install -- OK > Running make for J/JW/JWIED/DBD-mysql-2.0900.tar.gz > Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 > Has already been processed within this session > Running make test > Oops, make had returned bad status > Running make install > Oops, make had returned bad status > > Any ideas why this happened? I thought I was only downloading just the DBD::mysql but not the entire perl application. I selected all the defaults that the perl installation found or suggested to choose. > > P.S. I know we will get this thing to work soon. If only my system can stop asking for more things to be installed! :) > > SW > > -----Original Message----- > From: Matthew Schick [mailto:matt@brightredproductions.com] > Sent: Saturday, May 19, 2001 12:56 PM > To: wppiphoto@wppi.com > Subject: RE: [ic] Installing construct w/ mysql support > > > > Do " perl -MCPAN -e 'install Bundle::DBD::mysql' " and it will take care of this on.... glad to see you have gotten past the first problem..... welcome to Interchange..... <g> > On 19 May 2001 12:40:21 -0400, Steve West wrote: > > > > Math, > > > > Well, it seems I'm getting closer to getting the construct demo catelog > > working. Per J.P. suggestion, I setup the path for mysqladmin and then ran > > the bin/makecat construct and it seemed to connect to mysql and add the > > test_construct database to mysql: > > > > mysql> show databases; > > +----------------+ > > | Database | > > +----------------+ > > | mysql | > > | test | > > | test2 | > > | test_construct | > > +----------------+ > > > > So, I rebooted interchange but got the following errors: > > > > [root@dns2 ae]# su -c "/usr/local/interchange/bin/interchange -r" interch > > bash: /home/ae/.bashrc: Permission denied > > Killing Interchange server 3495 with TERM. > > Low traffic settings. > > Calling UI.... > > ...UI is loaded.... > > Interchange V4.6.5 > > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. > > construct config error: connect failed (create) -- unknown error. Driver > > 'mysql' > > installed? > > > > > > construct: error in configuration. Skipping. > > construct: config error. Skipping. > > Interchange server started in INET and UNIX mode(s) (process id 3762) > > > > Any ideas why I'm still getting the errors above? > > > > Thanks for all the help so far!!! :) > > > > SW > > > > > > > > -----Original Message----- > > From: Matthew Schick [mailto:matt@brightredproductions.com] > > Sent: Saturday, May 19, 2001 12:00 PM > > To: wppiphoto@wppi.com > > Subject: RE: [ic] Installing construct w/ mysql support > > > > > > I apologise..... mysqladmin is part of the the 'MySQL-Client' rpm from > > the mysql site. Your problem is the program is outside of your path, > > hence the problem..... I don't remember the exact commands for > > exporting a new path while keeping the new one intact, but you can > > always symlink it to your /usr/bin directory (ln -s /usr/bin/ > > /usr/local/mysql/bin/mysqladmin) as root..... > > > > Matt > > > > On 19 May 2001 11:44:55 -0400, Steve West wrote: > > > > > > Matt, > > > > > > mysqladmin is installed at the following location: > > > > > > /usr/local/mysql/bin/mysqladmin > > > > > > So, it seems it's installed. How about mysql-client? Or is that part of > > > mysqladmin? > > > > > > Thanks for all the help! > > > > > > SW > > > > > > -----Original Message----- > > > From: Matthew Schick [mailto:matt@brightredproductions.com] > > > Sent: Saturday, May 19, 2001 11:39 AM > > > To: wppiphoto@wppi.com > > > Subject: RE: [ic] Installing construct w/ mysql support > > > > > > > > > Try doing a ' whereis mysqladmin '. If that's unsuccessful do ' > > > updatedb ' followed by ' locate mysqladmin '. I would highly recommend > > > using the rpms from the mysql site. They have everything you need, and > > > without all the problems :). > > > > > > Lemmie know how this turns out... > > > Matt > > > > > > On 19 May 2001 11:16:12 -0400, Steve West wrote: > > > > > > > > Matt, > > > > > > > > >Are you sure you have the 'MySQL-Client' package installed? > > > > > > > > How can I check? I installed mysql-3.23.38-pc-linux-gnu-i686.tar and > > > > everything installed fine. I created a test database added some tables > > all > > > > without a problem. > > > > > > > > Thanks! > > > > > > > > SW > > > > > > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@developer.akopia.com > > > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > > > > Matthew Schick > > > > Sent: Friday, May 18, 2001 6:30 PM > > > > To: interchange-users@developer.akopia.com > > > > Subject: Re: [ic] Installing construct w/ mysql support > > > > > > > > > > > > On 18 May 2001 17:55:34 -0400, Steve West wrote: > > > > > > > > > > I just installed interchange on a RedHat 7.0 box and I'm having a few > > > > > issues. > > > > > > > > > > First, can someone tell me what does this mean: > > > > > > > > > > Since you selected the MySQL option, you need to create > > > > > a database named "test_construct". In a default MySQL > > > > > configuration, any user may create and drop and modify > > > > > test_* databases, but some administrators disable this. > > > > > > > > > > run "mysqladmin -u root -p create test_construct"? y > > > > > > > > > > Command returned error code 16777215: No such file or directory > > > > > done. > > > > > > > > > > > > > Are you sure you have the 'MySQL-Client' package installed? It sounds > > > > like mysqladmin doesn't exist on your system > > > > > > > > > Does this mean the test_construct database did not get created? > > > > > > > > Yes. > > > > > > > > > > > > > > Secondly, I'm unable to click to go to "Enter as customer" or "Admin > > > > > interface" link. They both fail. So, I rebooted the server and started > > > the > > > > > service but I got several errors: > > > > > > > > > > [root@dns2 ae]# /usr/local/interchange/bin/restart > > > > > > > > > > The Interchange server should not be run as root. It should run > > > > > as a the user name you configured in when you set up the catalogs. > > > > > > > > > > The name we think should run it is: interch > > > > > > > > > > If you are starting the server from /etc/rc.local or another > > > > > startup file, you can use this: > > > > > > > > > > su -f -c /usr/local/interchange/bin/restart interch > > > > > or if that fails: > > > > > > > > > > su interch <<EOF > > > > > /usr/local/interchange/bin/restart > > > > > EOF > > > > > > > > > > Do you want me to start it as 'interch' now? [y] > > > > > bash: /home/ae/.bashrc: Permission denied > > > > > The Interchange server was not running > > > > > (/usr/local/interchange/etc/interchange.p > > > > > id). > > > > > Low traffic settings. > > > > > Calling UI.... > > > > > ...UI is loaded.... > > > > > Interchange V4.6.5 > > > > > Configuring catalog construct...construct config error: Couldn't open > > > > > '/catalogs > > > > > /construct/products/variable.txt' read/write: Permission denied > > > > > > > > Check that the user (interch ?) has read and write access to > > > > 'variable.txt'. You might want to check all of the files for the > > > > correct permissions while you are at it.... > > > > > > > > > construct: error in configuration. Skipping. > > > > > construct: config error. Skipping. > > > > > Interchange server started in INET and UNIX mode(s) (process id 698) > > > > > > > > > > Can anyone help me figure out what I'm doing wrong? > > > > > > > > > > Thanks! > > > > > > > > > > SW > > > > > > > > > > _______________________________________________ > > > > > Interchange-users mailing list > > > > > Interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > Hope this helps. > > > > Matt > > > > > > > > > > > > > > > > > > > > From: interchange-users at lists.akopia.com (Steve West) Date: Sat May 19 15:33:00 2001 Subject: FW: [ic] Installing construct w/ mysql support Matt, Tried again and is it seems it failed with a different issue. It seems it's trying to use the latest perl installation which I thought failed to install. Here is what happens w/ I run the install: [root@dns2 ae]# perl -MCPAN -e 'install Bundle::DBD::mysql' Please, install Net::FTP as soon as possible. CPAN.pm installs it for you if you just type install Bundle::libnet There's a new CPAN.pm version (v1.59) available! [Current version is v1.52] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running... Running make for J/JW/JWIED/DBD-mysql-2.0900.tar.gz Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 CPAN.pm: Going to build J/JW/JWIED/DBD-mysql-2.0900.tar.gz Can't locate DBI/DBD.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/i686- linux /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-linux /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at Makef ile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install Running make for J/JW/JWIED/DBD-mysql-2.0900.tar.gz Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 Makefile.PL returned status 512 Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install Bundle summary: The following items in bundle Bundle::DBD::mysql had installation problems: Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 Mysql DBD::mysql [root@dns2 ae]# Thanks! SW -----Original Message----- From: Matthew Schick [mailto:matt@brightredproductions.com] Sent: Saturday, May 19, 2001 3:13 PM To: wppiphoto@wppi.com Cc: RedHat Interchange Subject: RE: [ic] Installing construct w/ mysql support Damn... It made me install the new version when I upgraded cpan, but I didn't think it would do that for a dbd driver..... I am guessing that it went ahead and installed v5.6.1 and it looks like it just had a brain fart (technical term) afterwards. Try rerunning " perl -MCPAN -e 'install Bundle::DBD::mysql' " and my guess is it will go thru without a hitch..... Matt From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Sat May 19 16:14:00 2001 Subject: [ic] template options Has anyone come up with a hack to allow textarea fields in a template? I went through the old mailing lists, and found pretty much nothing. Mike (Heins) suggested using [item-accessories ..] but I can't figure out how to get anything remotely resembling a textarea that way. The page I am working on will have top, left and bottom portions, and the right side will have a small table containing links to news headers. Clicking a header will reload the page (with a variable set) so that the correct news article will load in the center of the page. In a perfect world, my template would look like: <snip> active1: options: 0=No,1=Yes widget: select description: Enable this link? label1: description: Link label text content1: widget: textarea width: 50 height: 40 description: Content I have no problem creating a new table in the database to store this information, except I don't know where to look for info on adding a new widget to IC. Any suggestions? thanks, .cfg From: interchange-users at lists.akopia.com (John Beima) Date: Sat May 19 16:16:00 2001 Subject: FW: [ic] Installing construct w/ mysql support G'Day Steve, Are you running RedHat 7.1 or one of it's betas by chance? I found MANY CPAN modules that will not install under this configuration... However when I went and used the rpms for those modules off the DMA cd everything worked fine... John Beima Quoting Steve West <wppiphoto@wppi.com>: > > Matt, > > Tried again and is it seems it failed with a different issue. It seems > it's > trying to use the latest perl installation which I thought failed to > install. Here is what happens w/ I run the install: > > [root@dns2 ae]# perl -MCPAN -e 'install Bundle::DBD::mysql' > > Please, install Net::FTP as soon as possible. CPAN.pm installs it for > you > if you just type > install Bundle::libnet > > > There's a new CPAN.pm version (v1.59) available! > [Current version is v1.52] > You might want to try > install Bundle::CPAN > reload cpan > without quitting the current session. It should be a seamless upgrade > while we are running... > > > Running make for J/JW/JWIED/DBD-mysql-2.0900.tar.gz > Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 > > CPAN.pm: Going to build J/JW/JWIED/DBD-mysql-2.0900.tar.gz > > Can't locate DBI/DBD.pm in @INC (@INC contains: > /usr/local/lib/perl5/5.6.1/i686- > linux /usr/local/lib/perl5/5.6.1 > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux > /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) > at > Makef > ile.PL line 5. > BEGIN failed--compilation aborted at Makefile.PL line 5. > Running make test > Make had some problems, maybe interrupted? Won't test > Running make install > Make had some problems, maybe interrupted? Won't install > Running make for J/JW/JWIED/DBD-mysql-2.0900.tar.gz > Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 > Makefile.PL returned status 512 > Running make test > Make had some problems, maybe interrupted? Won't test > Running make install > Make had some problems, maybe interrupted? Won't install > Bundle summary: The following items in bundle Bundle::DBD::mysql had > installation problems: > Unwrapped into directory /root/.cpan/build/DBD-mysql-2.0900 > Mysql DBD::mysql > [root@dns2 ae]# > > Thanks! > > SW > > -----Original Message----- > From: Matthew Schick [mailto:matt@brightredproductions.com] > Sent: Saturday, May 19, 2001 3:13 PM > To: wppiphoto@wppi.com > Cc: RedHat Interchange > Subject: RE: [ic] Installing construct w/ mysql support > > > Damn... It made me install the new version when I upgraded cpan, but I > didn't think it would do that for a dbd driver..... > > I am guessing that it went ahead and installed v5.6.1 and it looks like > it just had a brain fart (technical term) afterwards. Try rerunning " > perl -MCPAN -e 'install Bundle::DBD::mysql' " and my guess is it will go > thru without a hitch..... > > Matt > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at lists.akopia.com (Brian Kohles) Date: Sat May 19 19:12:01 2001 Subject: [ic] Admin menu It looks like there is one set of admin templates for each install of interchange. So any changes would affect all catalogs on that install. That being said it looks like the templates are at: >> interchange/lib/UI/ regular pages are in the "pages" directory & the headers & such are in the "vars" directory. Brian Kohles me@BrianKohles.com -- It's not a shooting star... It's an angel falling from heaven, and burning up in the earth's atmosphere. -me ----- Original Message ----- From: "Kaare Rasmussen" <kar@webline.dk> To: <interchange-users@developer.akopia.com> Sent: Saturday, May 19, 2001 5:03 AM Subject: [ic] Admin menu Can someone tell me what it takes to change the Admin menu completely? I'd like to have some other main menu items, and of course also new submenu items. I don't mind loosing the images that make up the menu bar, text menu is fine. -- 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 _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Tim Watts) Date: Sat May 19 19:59:00 2001 Subject: [ic] Product Reviews Are you using another perl module ar the existing interchange package? How is it configured? Can you give me url of example so I can see what it looks like? Thanks Tim on 5/19/01 10:02 AM, cfm@maine.com at cfm@maine.com wrote: > On Sat, May 19, 2001 at 01:40:13AM -0400, Tim Watts wrote: >> Anybody including product reviews in interchange? >> If so, got any helps? > > Yes, can you be more specific? > > >> -- >> Tim Watts >> president >> Romans1013.net >> Internet Hosting >> >> >> _______________________________________________ >> Interchange-users mailing list >> Interchange-users@lists.akopia.com >> http://lists.akopia.com/mailman/listinfo/interchange-users Tim Watts president Romans1013.net Internet Hosting Loaded with features: FREE shopping cart! UNLIMITED email! No Monthly Fees - Just One Low Payment, One Time per Year! Visit our web site for details: www.Romans1013.net From: interchange-users at lists.akopia.com (Allen Armstrong) Date: Sun May 20 04:39:00 2001 Subject: [ic] Solutions to problems Hi, I noticed in last couple of weeks that there has been a lot people on at the same time as the person posting a message for help. So they respond to the message and then the person who originally posted the message sees a reply and they carry out the conversation. Which is fine in my opinion, but not necessarily efficient. I have used theses threads to solve some of the problems. Instead of carrying out the conversation why not use one of the irc chat networks? (see below on how to access the irc networks) I don't want to see questions and answers to disappear from the list. Because the archives are good. Maybe a solution is that if you post a question and you get answer to the question whether either it be private email or on a irc network you post back to the list with the solution. Allen Armstrong -I can only please one person per day. -Today is not your day. -Tomorrow Doesn't Look Good either Below: (Dedicated totally to Interchange) -----Original Message----- From: interchange-users-admin@lists.akopia.com [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan Garwood Sent: April 19, 2001 11:03 AM To: interchange-users@lists.akopia.com Subject: [ic] Interchange IRC Network Operational There were several of us that felt an Interchange IRC network was needed to help further the help, assistance and development of Interchange with its users and developers. You can connect to the servers with any irc client with the following addresses: UK -> irc.cursor.uk.net:6667 US -> irc.webhostexperts.com:6667 JP -> irc.bluefountain.com:6667 irc.cursor.uk.net, (uk) irc.webhostexperts.com (us), irc.bluefountain.com (JP) You can also connect with a web browser at http://irc.cursor.uk.net Please feel free to stop by to receive assistance or to help assist with interchange problems. and: (The first #interchange channel, although on a network of many other channels, excellent for the beginner) interchange channel on IRC Victor "Ven" Nolton has set up an IRC channel for discussion of Interchange. The server is irc.vensnews.com and the channel is #interchange. There are usually several people online sharing Interchange tips, so drop by sometime. http://www.vensnews.com/interchange/ From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Sun May 20 06:17:00 2001 Subject: [ic] Re: Admin menu Kaare Rasmussen <kar@webline.dk> writes: > > Can someone tell me what it takes to change the Admin menu completely? > > Forgot to tell that it's in 4.7. 4.7. copies icmenu.txt to your products directory. You can either edit icmenu.txt in products for that catalog only or icmenu.txt in the source distribution. Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Sun May 20 11:37:00 2001 Subject: [ic] matching a variable in the userdb hi list i´ve a problem with some minivend syntax. i have co-ordinated search which i´d like to limit/expand depending on whether a variable exists (or matches) in the userdb, so it´s basically a stripped down kind of access-control like thingy.. ( i didn´t want to use acl´s and seperate pages for update-simplicity and because of framesets) My userdb has an extra field, "user_restriction" , with a non-blank value and the products looks like this sku category display_allways 0001 name no 0002 name 0003 name no the pulldown search goes thus <option value="[area href=scan search=' se=[box-code] [if value user_restriction] va=se=display_allways se=no [else] va=se=category [/else] [/if] ']">[box-param name]</option> [/loop] </select> it all works fine with a simple [if session logged_in] but the userdb lookup is posing to be a problem! In the list i´ve found these 2 examples neither of which work [if data userdb::user_restriction::[data session username]] and [if value user_restriction] thanks for any help!! alasdair -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Sun May 20 12:08:00 2001 Subject: [ic] matching a variable in the userdb > it all works fine with a simple [if session logged_in] but the > userdb lookup > is posing to be a problem! In the list i´ve found these 2 examples neither > of which work > > [if data userdb::user_restriction::[data session username]] > and [if value user_restriction] > why not load it into a scratch variable at login with: UserDB default scratch "dealer credit_limit user_restriction" in the catalog.cfg and use [if scratch user_restriction] [/if] Jonathan Webmaint From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Sun May 20 15:39:00 2001 Subject: [ic] Install problems with MySQL Michael Lehmkuhl <michael@electricpulp.com> writes: > - - - [18/May/2001:12:29:27 -0700] - - Config 'pulpstore' at server startup > - - - [18/May/2001:12:29:28 -0700] - - Using MySQL, > DSN=dbi:mysql:interchange_pulpstore. > - - - [18/May/2001:12:29:29 -0700] - - pulpstore config error: MySQL server > has gone away > - - - [18/May/2001:12:29:29 -0700] - - pulpstore: config error. Skipping. I haven't been following this thread very well either. However, here's some suggestions. First, can you login to MySQL from the prompt? If not, then MySQL either isn't starting or crashing for some reason. Can you do it using the username and password in products/variables.txt? If not, then this is simply a username/password issue. What ever it turns out to be, it seems like IC is "doing the right thing here". I'm hedging my bets this is a MySQL problem. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (Kaare Rasmussen) Date: Sun May 20 15:45:00 2001 Subject: [ic] Re: Admin menu Hi > 4.7. copies icmenu.txt to your products directory. You can either edit But I don't have a products directory for this project. > icmenu.txt in products for that catalog only or icmenu.txt in the > source distribution. I don't want to mess with the admin menus, I want to duplicate it, having an admin menu an a menu for my own project, side by side so to speak. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at lists.akopia.com (Ian J Cottee) Date: Mon May 21 00:57:01 2001 Subject: [ic] Solutions to problems For the record - the address > JP -> irc.bluefountain.com:6667 is now irc.bluebox-eu.com:6667 Yep - it's in Japan but it has 'eu' in the name. Sue me ;) Ian From: interchange-users at lists.akopia.com (Rene Hertell) Date: Mon May 21 03:34:00 2001 Subject: [ic] ZDNet has IC message archive.. I just found this nice collection: http://appwatch.zdnet.com/lists/interchange-users/index.html Is this normal that mail-lists are collected like this? René From: interchange-users at lists.akopia.com (Sergey Sheykin) Date: Mon May 21 05:14:01 2001 Subject: [ic] Transfer variable through url Hi, people! I try transfer variables using standart url-method. Not through form (method="post"), but : <a href=__CGI_URL__/page.html?this_field_value=[scratch this_field_value]>Go!</a> not working... Page opening, but variable value not processing (Remains without modifications). Why? From: interchange-users at lists.akopia.com (Matt Flaherty) Date: Mon May 21 06:00:00 2001 Subject: [ic] Question about ic data schema Hi, In looking at the Construct demo and the ic documentation, I've noticed that the schema violates 1st Normal Form. For example, the table "cat" has a field "sel" that takes what appears to be a space-delimited list of numbers representing keys into the table "area", and the product table links to cat as product.category = cat.name, which is not unique. Are these performance related optimizations, perhaps with GDBM in mind? Could anyone explain the rationale? I'd like to understand the thinking that went into the design before I think about tinkering with it. It's difficult to see what's going on in a denormalized database, and the docs don't really explain. Thanks, I appreciate any help. Matt Flaherty From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Mon May 21 06:30:01 2001 Subject: [ic] Transfer variable through url "Sergey Sheykin" <sheich@mosinfo.ru> writes: > Hi, people! > > I try transfer variables using standart url-method. > Not through form (method="post"), but : > > <a href=__CGI_URL__/page.html?this_field_value=[scratch > this_field_value]>Go!</a> [page href="page" form="va=this_field_value=[scratch this_field_value]"] and on page.html: [value this_field_value] Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Jason Kohles) Date: Mon May 21 08:51:01 2001 Subject: [ic] Admin menu On Sat, May 19, 2001 at 05:16:38PM -0600, Brian Kohles wrote: > It looks like there is one set of admin templates for each install of > interchange. So any changes would affect all catalogs on that install. That > being said it looks like the templates are at: > > >> interchange/lib/UI/ > You can duplicate them on a specific catalog though, just make an 'admin' directory in your pages directory and copy any there that you want to be specific to that catalog. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Trond Arve Nordheim) Date: Mon May 21 09:21:00 2001 Subject: [ic] Problems with searches Hi. I'm setting up a shop with multiple product databases (one containing general information about the product, and one containing language specific stuff). I'm tring to set up a simple little search using this database, but I can't get the search to actually return any products. This is the form I'm using: <form action="[area search]" method="post"> [set search_type]su=yes/fi=products/fi=products_no/sf=title/sf=product_id/st=db[/ set] <input type="hidden" name="mv_profile" value="search_type"> <input type="text" name="mv_searchspec" size="15">&nbsp;<input type="submit" name="submit" value="Search"> </form> What I'm tring to accomplish is to search the databases (products (the general) and products_no (the language specific)) using the product_id and title-field. The product_id-field is in table 'products', and title is in table 'products_no'. When I type in a search criteria and click Search, I get up a page telling there was no items found matching my query. The results.html-page is the same as shown in the Interchange tutorial. Am I missing something? -- Trond Arve Nordheim From: interchange-users at lists.akopia.com (Kaare Rasmussen) Date: Mon May 21 09:41:00 2001 Subject: [ic] Admin menu > > It looks like there is one set of admin templates for each install of > > interchange. So any changes would affect all catalogs on that install. I thought that I could duplicate the admin menu by making another login.html and a new set of UI_STD_HEAD and so on. But it is very cumbersome, and it seems that the main admin menu is hidden deep in the belly of STD_HEAD. I made the change in 4.6, but it doesn't work in 4.7, and I don't want to use all my time to figure this out for each new release :-( -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at lists.akopia.com (Michael Lehmkuhl) Date: Mon May 21 10:26:00 2001 Subject: [ic] Install problems with MySQL Dan, > uname -a BSD/OS electricpulp.com 4.0.1 BSDI BSD/OS 4.0.1 Virtual Kernel #12: Fri Feb 25 17:03:03 PST 2000 As for the SQL, I can execute the query you attached. As a matter of fact, Interchange is able to execute that query as well. The problem seems to happen on the query right after the CREATE TABLE orderline query. The table orderline is correctly set up in MySQL, but right after running that query, Interchange gives me the following error: table orderline index failed: Lost connection to MySQL server during query Also, I installed another catalog (pulpstore_dbm) using DBM instead of MySQL, and that did work correctly. -- Michael Lehmkuhl <michael@electricpulp.com> Partner, Electric Pulp 1.605.988.0177 : 1.888.722.PULP electricpulp.com > From: Dan B <db@cyclonehq.dnsalias.net> > Reply-To: interchange-users@developer.akopia.com > Date: Fri, 18 May 2001 16:05:17 -0700 > To: interchange-users@developer.akopia.com > Subject: Re: [ic] Install problems with MySQL > > At 02:55 PM 5/18/2001 -0500, you wrote: >> I'm a newbie to Interchange, but I'm extremely excited about it. The demo >> installation really got me turned on to the speed and flexibility of this >> tool. >> >> However, I downloaded and am trying to install the software on my server, >> and I'm having problems with MySQL. The problem comes when trying to start >> up the server for the first time after adding the first catalog. I'm >> running Interchange V4.6.5, bsdi, MySQL 3.22.14b, Perl 5.005_03. > > [...] > > What version of BSDi are you running? Also, does the startup do the same > thing every time (stop at orderline)? Try manually running the command in > mysql (attached), just to rule that out. > > Also, would you try running just DBM (which is no SQL) to rule out other > possibilities? > > I hope you get it going, > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > create table orderline ( > code char(14) NOT NULL PRIMARY KEY, > store_id CHAR(9) DEFAULT '' NOT NULL, index(store_id), > order_number CHAR(14) NOT NULL, index(order_number), > session CHAR(32) NOT NULL, > username CHAR(20) default '' NOT NULL, > shipmode CHAR(32) default '' NOT NULL, > sku CHAR(14) NOT NULL, > quantity CHAR(9) NOT NULL, > price CHAR(12) NOT NULL, > subtotal CHAR(12) NOT NULL, > shipping CHAR(12), > taxable CHAR(3), > size VARCHAR(30), > color VARCHAR(30), > options VARCHAR(255), > order_date varchar(32) NOT NULL, > update_date timestamp, > status VARCHAR(32), > parent CHAR(9), > affiliate char(128), > campaign char(128), > description char(128) > ) > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Michael Lehmkuhl) Date: Mon May 21 10:29:00 2001 Subject: [ic] Install problems with MySQL Doug, Yes, I can login to MySQL. It almost seems to me like DBI might be the cause of the problem. Is there a way that I can try a different version of DBI? The catch is that I'm installing in a shared hosting environment, so I'd have to install DBI in my user space. Will it be noticed by Interchange if I just put it in the interchange/lib directory structure? Thanks to everyone for all your help. -- Michael Lehmkuhl <michael@electricpulp.com> Partner, Electric Pulp 1.605.988.0177 : 1.888.722.PULP electricpulp.com > From: Doug Alcorn <doug@lathi.net> > Reply-To: interchange-users@developer.akopia.com > Date: 20 May 2001 15:52:43 -0400 > To: interchange-users@developer.akopia.com > Subject: Re: [ic] Install problems with MySQL > > Michael Lehmkuhl <michael@electricpulp.com> writes: > >> - - - [18/May/2001:12:29:27 -0700] - - Config 'pulpstore' at server startup >> - - - [18/May/2001:12:29:28 -0700] - - Using MySQL, >> DSN=dbi:mysql:interchange_pulpstore. >> - - - [18/May/2001:12:29:29 -0700] - - pulpstore config error: MySQL server >> has gone away >> - - - [18/May/2001:12:29:29 -0700] - - pulpstore: config error. Skipping. > > I haven't been following this thread very well either. However, > here's some suggestions. First, can you login to MySQL from the > prompt? If not, then MySQL either isn't starting or crashing for some > reason. Can you do it using the username and password in > products/variables.txt? If not, then this is simply a > username/password issue. > > What ever it turns out to be, it seems like IC is "doing the right > thing here". I'm hedging my bets this is a MySQL problem. > -- > (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) > oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 > |_/ If you're a capitalist and you have the best goods and they're > free, you don't have to proselytize, you just have to wait. > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Murray Gibbins) Date: Mon May 21 12:20:00 2001 Subject: [ic] acces global inside Common Adust in a comon Adjust line how do I call a Global funcion. I.e. I has a global function defined in interchange.cfg call do_stuff(); and I want to do some thing like CommonAdjust &do_stuff() -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Mon May 21 12:38:01 2001 Subject: [ic] Re: Admin menu At 01:08 PM 05/19/2001 +0200, you wrote: > > Can someone tell me what it takes to change the Admin menu completely? > >Forgot to tell that it's in 4.7. > This was written by Mike Heins, and I think it probably applies for 4.7.x: http://developer2.akopia.com/archive/interchange-users/2000/msg08546.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (David Totten) Date: Mon May 21 12:40:01 2001 Subject: [ic] acces global inside Common Adust On Mon, May 21, 2001 at 05:28:55PM +0100, Murray Gibbins wrote: > > in a comon Adjust line how do I call a Global funcion. I.e. I has a global > function defined in interchange.cfg call do_stuff(); > > and I want to do some thing like > > CommonAdjust &do_stuff() I don't know that you can do that per-say, but you can define a usertag that calls &do-stuff(); Dave Totten -- Start random buzzword text: We can see, in retrospect, the product configuration baseline affects a significant implementation of the anticipated fourth-generation equipment. From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Mon May 21 12:57:00 2001 Subject: [ic] acces global inside Common Adust On Mon, May 21, 2001 at 05:28:55PM +0100, Murray Gibbins wrote: > > in a comon Adjust line how do I call a Global funcion. I.e. I has a global > function defined in interchange.cfg call do_stuff(); > > and I want to do some thing like > > CommonAdjust &do_stuff() > We do it like this: CommonAdjust &MV::Pricing::giftbasket, ;specials:price:, ;products:price:, &MV::Pricing::client where MV/Pricing.pm is somewhere in your @INC. I'm not sure if this runs afoul of Safe in a standard catalog or not. Plus we are still mv4.03. YMMV. > > -- > ____ > \__/ Murray Gibbins murray@scotweb.ltd.uk > / \ Programmer > _ \__/ _ ================================================ > \\ || // Scotweb Limited, info@scotweb.ltd.uk > \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk > \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 > || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Mon May 21 13:03:01 2001 Subject: [ic] Transfer variable through url At 01:28 PM 05/21/2001 +0400, you wrote: >Hi, people! > >I try transfer variables using standart url-method. >Not through form (method="post"), but : > ><a href=__CGI_URL__/page.html?this_field_value=[scratch >this_field_value]>Go!</a> > >not working... > >Page opening, but variable value not processing (Remains without >modifications). > >Why? ...probably because IC needs to have some control over query strings in order to function, and cannot give you free reign to roll your own. You can accomplish what you want with [area form="..."], and in some cases you may even be able to do so on a 'inbound' link (coming into the store from outside) by mimicking the structure of the query string created by that tag. Give it a try, the the syntax is here: http://developer.akopia.com/cgi-bin/ic/dev/ictags_6.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Jason Korkin) Date: Mon May 21 13:07:01 2001 Subject: [ic] Transfer variable through url Sure you can... use the mv_arg= ... on the URL and it will work no-problem. Email me off-list for more info. We do it all the time. Jason. Ed LaFrance wrote: > > At 01:28 PM 05/21/2001 +0400, you wrote: > >Hi, people! > > > >I try transfer variables using standart url-method. > >Not through form (method="post"), but : > > > ><a href=__CGI_URL__/page.html?this_field_value=[scratch > >this_field_value]>Go!</a> > > > >not working... > > > >Page opening, but variable value not processing (Remains without > >modifications). > > > >Why? > > ...probably because IC needs to have some control over query strings in > order to function, and cannot give you free reign to roll your own. You can > accomplish what you want with [area form="..."], and in some cases you may > even be able to do so on a 'inbound' link (coming into the store from > outside) by mimicking the structure of the query string created by that > tag. Give it a try, the the syntax is here: > > http://developer.akopia.com/cgi-bin/ic/dev/ictags_6.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@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Mon May 21 13:11:01 2001 Subject: [ic] Problems with searches At 03:26 PM 05/21/2001 +0200, you wrote: >Hi. > >I'm setting up a shop with multiple product databases (one containing >general information about the product, and one containing language specific >stuff). I'm tring to set up a simple little search using this database, but >I can't get the search to actually return any products. This is the form I'm >using: > ><form action="[area search]" method="post"> >[set >search_type]su=yes/fi=products/fi=products_no/sf=title/sf=product_id/st=db[/ >set] ><input type="hidden" name="mv_profile" value="search_type"> ><input type="text" name="mv_searchspec" size="15">&nbsp;<input type="submit" >name="submit" value="Search"> ></form> > >What I'm tring to accomplish is to search the databases (products (the >general) and products_no (the language specific)) using the product_id and >title-field. The product_id-field is in table 'products', and title is in >table 'products_no'. > >When I type in a search criteria and click Search, I get up a page telling >there was no items found matching my query. The results.html-page is the >same as shown in the Interchange tutorial. > >Am I missing something? > >-- >Trond Arve Nordheim I think you have a syntax problem with you profile - I don't think var=value/var=value/etc works in this case. Try rephrasing it as shown here: http://developer.akopia.com/cgi-bin/ic/dev/icdatabase_31.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Jason Korkin) Date: Mon May 21 14:02:01 2001 Subject: [ic] Transfer variable (information) through url Due to popular demand :-) Here is the information on transfering a variables information to IC space via the URL: Its really quite simple; there is a sample on our web site... http://www.korksoft.com/cgi-bin/korksoft.cgi/testpage.html?mv_arg=TESTING Now, on the testpage.html, you must include the following: [CGI mv_arg] When displayed on the page it will then show "TESTING." If you want to do it a different way, use the same URL as noted above, but... [seti name="passedvar"][CGI mv_arg][/seti] Which can then be used as a scratch variable via [scratch passedvar]. Regards, Jason Korkin 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 http://www.atworkservers.com Tel: (603) 672-1246 x 201 From: interchange-users at lists.akopia.com (Richard Eicher II) Date: Mon May 21 14:04:00 2001 Subject: [ic] Linkpoint? I am about to build a site with Interchange and Linkpoint API from Cards International. Any one ever done this before? Better yet are there a howto? Jason Simpson was messing with this a while back. Any and all information is a big help. Thanks Rick Eicher II __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Jillian Carroll) Date: Mon May 21 15:06:01 2001 Subject: [ic] Newbie Question - Where is header format information stored? I have been trying to change the demo store without doing major template revisions. What is the easiest way to change the logo and header graphics? Even if you could just point me toward the correct documentation, I would be most appreciative. Thanks! Jillian Carroll From: interchange-users at lists.akopia.com (Russ Mann) Date: Mon May 21 15:55:01 2001 Subject: [ic] Log out not working Hello List, IC 4.6.5, RH 6.2, mySQL. When I login a user, then log out, It shows me logged out on the first screen I'm on, but when I navigate to any other screen, it shows me logged in again. This is my code. I can't find any error log messages pertaining to this. [if !session logged_in] <center><a href="[area login]"><font face="Arial" size="2" color="#FFFFCC">Login</font></a></center> [else] <form action="[process]" method="post"> [set Log Out] mv_todo=return mv_nextpage=index [userdb function=logout clear=1] [/set] <font __FFACE__ size="1" color="#FFFFFF"> Hello <b>[value fname] [value lname]</b>!<br> You are logged in as [data session username]</font> <input type="hidden" name="mv_cookie_password" value="0"> <input type="submit" name="mv_click" value="Log Out"> </form> [/else] [/if] Does anyone know why this isn't working? I can't find anything in the docs or on the list. Thanks, Russ From: interchange-users at lists.akopia.com (Marcin Zyla BiPS) Date: Mon May 21 16:14:00 2001 Subject: [ic] Shiping method Hello interchange-users, How to create shipping method based on pricing? My desired method: Based in price, if total <300$ = 300$ + 19$ if total > 300$ + 1$ Please step by step instruction for newbie ;-)) -- Best regards, Marcin mailto:mzyla@xox.pl From: interchange-users at lists.akopia.com (Leah Zhang Packett) Date: Mon May 21 18:18:00 2001 Subject: [ic] integration with authorizenet Mike, I am trying to integrate authorizenet with interchange, and see your post on http://developer2.akopia.com/archive/interchange-users/2001/msg04206.html. You have mention that there is a doc at perldoc lib/Vend/Payment/AuthorizeNet.pm Could you please let me know where can I find this file. we have download the software from your site and installed on our server. Thanks, Leah Z. Packett Compuwerx International Inc. www.compuwerx.com 708-447-8319 From: interchange-users at lists.akopia.com (Russ Mann) Date: Mon May 21 19:38:00 2001 Subject: [ic] New Account Creation Failure Hello List, IC 4.6.5, RH 6.2, mySQL db. Account creation is failing under certain circumstances. If I clear out the userdb entirely, I can create one account. When I log that account out, and try to create another one, I get this error on the new_account page: Cannot log in after new account creation: Invalid user name or password. This is the error I get in the error log: xxx.xxx.xxx.xxx 6cX9gHXp:xxx.xxx.xxx.xxx - [21/May/2001:16:34:03 -0700] catalog /store/catalog/process.html Attempted login with nonexistent user name 'russ' Where russ is the second account name I'm trying to make. There is no second account in the userdb. When I clear the userdb out again, I can create one account, with the same results on the 2nd account creation. Does anyone have any clue about this? Anywhere I could look, etc. Thanks, Russ From: interchange-users at lists.akopia.com (Ryan Hertz) Date: Mon May 21 21:40:00 2001 Subject: [ic] ZDNet has IC message archive.. >I just found this nice collection: >http://appwatch.zdnet.com/lists/interchange-users/index.html > >Is this normal that mail-lists are collected like this? > >René That is probably because they were reviewing IC in one of their publications. Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Advertising Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: interchange-users at lists.akopia.com (MediaServices Network) Date: Mon May 21 21:42:00 2001 Subject: [ic] Log out not working I have this in my logout.html and seems to work fine [set name=done int][userdb function=logout clear=1][/set] [set-cookie name=MV_USERNAME value=""] [set-cookie name=MV_PASSWORD value=""] Russ Smith -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Russ Mann Sent: Monday, May 21, 2001 3:00 PM To: Interchange-Users Subject: [ic] Log out not working Hello List, IC 4.6.5, RH 6.2, mySQL. When I login a user, then log out, It shows me logged out on the first screen I'm on, but when I navigate to any other screen, it shows me logged in again. This is my code. I can't find any error log messages pertaining to this. [if !session logged_in] <center><a href="[area login]"><font face="Arial" size="2" color="#FFFFCC">Login</font></a></center> [else] <form action="[process]" method="post"> [set Log Out] mv_todo=return mv_nextpage=index [userdb function=logout clear=1] [/set] <font __FFACE__ size="1" color="#FFFFFF"> Hello <b>[value fname] [value lname]</b>!<br> You are logged in as [data session username]</font> <input type="hidden" name="mv_cookie_password" value="0"> <input type="submit" name="mv_click" value="Log Out"> </form> [/else] [/if] Does anyone know why this isn't working? I can't find anything in the docs or on the list. Thanks, Russ _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Scott Moat) Date: Mon May 21 23:00:00 2001 Subject: [ic] wanting to make admin area secure. I seen this asked before but no one answered it. Is there a relatively easy way to make the admin area use ssl? So at a remote machine I can type https:// and have the whole admin area secure. Right now as soon as I click on login it leaves the secure mode. thanks, Scott Moat www.computercasesandcables.com From: interchange-users at lists.akopia.com (DB) Date: Mon May 21 23:50:00 2001 Subject: [ic] 4.7.2 products.txt typo?? In the default installation of 4.7.2 using 'foundation', I was playing around with the table Import/Export feature to get my feet wet. I noticed a ^M in the comment field for item sku os28057b, right after where it says "hard to reach spots". That ^M goofed things up when I opened the file in Excel. I can of course just remove it, but I was just wondering why it was there in the first place... just an oversight? Is there a better way to force a line break in a comment? I like to understand these little things. DB From: interchange-users at lists.akopia.com (Larry Caragay) Date: Tue May 22 01:47:00 2001 Subject: [ic] problems installing on a Solaris 8 box. Writing Makefile for Interchange ./configure: make: not found ./configure: make: not found This is the error that Iam getting. Iam trying to install interchange on a Solaris 8 server. I would like to know if there is any thing else I have to install before trying to install interchange. I now that perl 5.0053 is install, but this is as far as I get.. Thanks in Advance. Larry@compwebtech.com From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Tue May 22 04:25:00 2001 Subject: [ic] wanting to make admin area secure. "Scott Moat" <smoat@dtgnet.com> writes: > I seen this asked before but no one answered it. Is there a relatively easy > way to make the admin area use ssl? So at a remote machine I can type > https:// and have the whole admin area secure. Right now as soon as I click > on login it leaves the secure mode. With 4.7.latest you can set UI_SECURE and you'll be forced to use https:// Bye Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Murray Gibbins) Date: Tue May 22 05:28:00 2001 Subject: [ic] acces global inside Common Adust Murray Gibbins wrote: > > in a comon Adjust line how do I call a Global funcion. I.e. I has a global > function defined in interchange.cfg call do_stuff(); > > and I want to do some thing like > > CommonAdjust &do_stuff() > yep I've found this to be almost imposible so I've set my Common Adjust line to this.... CommonAdjust [sw_look_up] and added this to /usr/lib/interchange/lib/Vend/Data.pm at the top of chain_cost.... sub chain_cost { my ($item, $raw) = @_; #new stuff if($raw =~ /\[sw_look_up\]/){ use DBI; my $dbi = DBI->connect("dbi:Pg:dbname=minivend","interch",""); my $str = "SELECT ca_string from ca_scotweb where code = 'a_shop'"; my $sth = $dbi->prepare($str); my $rv = $sth->execute; my ($val) = $sth->fetchrow_array; $sth->finish; $dbi->disconnect; $raw = $val; } #end of new stuff. #::logError("item $item; and raw $raw"); return $raw if $raw =~ /^[\d.]*$/; my $price; my $final = 0; my $its = 0; my @p; $raw =~ s/^\s+//; $raw =~ s/\s+$//; if($raw =~ /^\[\B/ and $raw =~ /\]$/) { I'm sure there are more effieent ways , may be some hooks into the db interch code. I'll look into it later. -- ____ \__/ Murray Gibbins murray@scotweb.ltd.uk / \ Programmer _ \__/ _ ================================================ \\ || // Scotweb Limited, info@scotweb.ltd.uk \\||// 13a Albert Terrace, http://www.scotweb.ltd.uk \||/ Edinburgh EH10 5EA Tel: +44 (0) 131 270 82 33 || Scotland. Europe. Fax: +44 (0) 7020 93 49 04 From: interchange-users at lists.akopia.com (Victor Nolton) Date: Tue May 22 05:33:01 2001 Subject: [ic] problems installing on a Solaris 8 box. Highly recommend you install perl 5.6 or 5.6.1 You can install interchange on a solaris 8 box just takes some time. you also have to make sure your paths have the path to make. http://www.sunfreeware.com But yes I've successfully installed it on solaris 8 Ven >Writing Makefile for Interchange >./configure: make: not found >./configure: make: not found > >This is the error that Iam getting. Iam trying to install interchange on a >Solaris 8 server. I would like to know if there is any thing else I have to >install before trying to install interchange. I now that perl 5.0053 is >install, but this is as far as I get.. > >Thanks in Advance. > >Larry@compwebtech.com > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (Peter Hellman) Date: Tue May 22 07:55:00 2001 Subject: [ic] Problems with randomized searching Hi list ! I have got a problem I can´t seem to solve on my own. I´m using minivend 4.04 with .txt-files. I want to show randomized information on a page like : - - - - - - - - [loop random=3 search= " co=yes sf=featured se=front sf=category se=cd ml=25 " ] - - - - - - - - - Accordingly to the docs this should work, by it aint. The search does not recognize the featured-column´s front-value at all, it´s only randomizing catecory -cd. Peter - Today is the first day of the rest of your life. - From: interchange-users at lists.akopia.com (Michael Soflin) Date: Tue May 22 08:25:01 2001 Subject: [ic] Expired Page Error I am new to Akopia and I am having a bit of trouble getting my site to work properly. Here's what I'm using.... - Redhat v7.0 server - patches are up to date - Freshly downloaded Akopia 4.6 - I downloaded the tarball, not the RPM if it matters I have the site running and have started to modify the construct template BUT whenever I click on the Buy button for an item I get a message Sorry, the page (expired) was not found As near as I can tell, the following is true: - I don't have the problem with Netscape - I always have the problem with IE 5 or IE 5.5 Any help or direction would be greatly appreciated.... From: interchange-users at lists.akopia.com (Rene Hertell) Date: Tue May 22 10:14:01 2001 Subject: [ic] Expired Page Error > Sorry, the page (expired) was not found > > As near as I can tell, the following is true: > - I don't have the problem with Netscape > - I always have the problem with IE 5 or IE 5.5 Do you have a proxy enabled in IE? If yes, then disable it. Rene From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 22 11:32:01 2001 Subject: [ic] Log out not working At 02:00 PM 05/21/2001 -0600, you wrote: >Hello List, > >IC 4.6.5, RH 6.2, mySQL. > >When I login a user, then log out, It shows me logged out on the first >screen I'm on, but when I navigate to any other screen, it shows me logged >in again. > >This is my code. I can't find any error log messages pertaining to this. > >[if !session logged_in] ><center><a href="[area login]"><font face="Arial" size="2" >color="#FFFFCC">Login</font></a></center> >[else] ><form action="[process]" method="post"> >[set Log Out] >mv_todo=return >mv_nextpage=index >[userdb function=logout clear=1] >[/set] ><font __FFACE__ size="1" color="#FFFFFF"> >Hello <b>[value fname] [value lname]</b>!<br> >You are logged in as [data session username]</font> ><input type="hidden" name="mv_cookie_password" value="0"> ><input type="submit" name="mv_click" value="Log Out"> ></form> >[/else] >[/if] > >Does anyone know why this isn't working? I can't find anything in the docs >or on the list. > >Thanks, > It sure sounds like cookie login is enabled and logging you right back in with the next page load. I see you have mv_cookie_password=0, but I don't know that this will clear an existing cookie. You might want to try this on you logout form: <input type=checkbox name=cookies_off value=1> Disable cookie login ...and then put this anywhere on the index page: [if value cookies_off] [value name=cookies_off set='' hide=1] [set-cookie name=MV_USERNAME value=""] [set-cookie name=MV_PASSWORD value=""] [/if] Maybe that will work better for you. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 22 11:34:01 2001 Subject: [ic] New Account Creation Failure At 05:43 PM 05/21/2001 -0600, you wrote: >Hello List, > >IC 4.6.5, RH 6.2, mySQL db. > >Account creation is failing under certain circumstances. If I clear out the >userdb entirely, I can create one account. When I log that account out, and >try to create another one, I get this error on the new_account page: > >Cannot log in after new account creation: Invalid user name or password. > >This is the error I get in the error log: >xxx.xxx.xxx.xxx 6cX9gHXp:xxx.xxx.xxx.xxx - [21/May/2001:16:34:03 -0700] >catalog /store/catalog/process.html Attempted login with nonexistent user >name 'russ' > >Where russ is the second account name I'm trying to make. > >There is no second account in the userdb. When I clear the userdb out >again, I can create one account, with the same results on the 2nd account >creation. > >Does anyone have any clue about this? Anywhere I could look, etc. > >Thanks, > Russ - this is probably a side effect of your first problem - you are being logged back in each time you log out. Fix that issue, and this one will most likely go away. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 22 15:33:01 2001 Subject: [ic] New Account Creation Failure Thanks Ed for the tips, I got the Logout working by turning off the cookies. However, the new account creation is still failing. Any more ideas? Thanks -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed LaFrance Sent: Tuesday, May 22, 2001 9:40 AM To: interchange-users@developer.akopia.com Subject: Re: [ic] New Account Creation Failure At 05:43 PM 05/21/2001 -0600, you wrote: >Hello List, > >IC 4.6.5, RH 6.2, mySQL db. > >Account creation is failing under certain circumstances. If I clear out the >userdb entirely, I can create one account. When I log that account out, and >try to create another one, I get this error on the new_account page: > >Cannot log in after new account creation: Invalid user name or password. > >This is the error I get in the error log: >xxx.xxx.xxx.xxx 6cX9gHXp:xxx.xxx.xxx.xxx - [21/May/2001:16:34:03 -0700] >catalog /store/catalog/process.html Attempted login with nonexistent user >name 'russ' > >Where russ is the second account name I'm trying to make. > >There is no second account in the userdb. When I clear the userdb out >again, I can create one account, with the same results on the 2nd account >creation. > >Does anyone have any clue about this? Anywhere I could look, etc. > >Thanks, > Russ - this is probably a side effect of your first problem - you are being logged back in each time you log out. Fix that issue, and this one will most likely go away. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Guy Soudant) Date: Tue May 22 16:10:00 2001 Subject: [ic] images in Interchange Hi, Could someone please tell me where the images of the admin interface (navigation) are physically stored on the server in a default configuration. I am getting some strange images in the admin interface for version 4.7.2, and I want to copy the right images into the folder so that the page contains the correct images (if you want to have a look at the current page: www.formula1inc.com/formula1) Thanks Guy From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 22 16:45:00 2001 Subject: [ic] New Account Creation Failure At 01:38 PM 05/22/2001 -0600, you wrote: >Thanks Ed for the tips, > >I got the Logout working by turning off the cookies. However, the new >account creation is still failing. > >Any more ideas? > >Thanks Post the code from your new account page and I'll take a look... - Ed L. >-----Original Message----- >From: interchange-users-admin@developer.akopia.com >[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed >LaFrance >Sent: Tuesday, May 22, 2001 9:40 AM >To: interchange-users@developer.akopia.com >Subject: Re: [ic] New Account Creation Failure > > >At 05:43 PM 05/21/2001 -0600, you wrote: > >Hello List, > > > >IC 4.6.5, RH 6.2, mySQL db. > > > >Account creation is failing under certain circumstances. If I clear out >the > >userdb entirely, I can create one account. When I log that account out, >and > >try to create another one, I get this error on the new_account page: > > > >Cannot log in after new account creation: Invalid user name or password. > > > >This is the error I get in the error log: > >xxx.xxx.xxx.xxx 6cX9gHXp:xxx.xxx.xxx.xxx - [21/May/2001:16:34:03 -0700] > >catalog /store/catalog/process.html Attempted login with nonexistent user > >name 'russ' > > > >Where russ is the second account name I'm trying to make. > > > >There is no second account in the userdb. When I clear the userdb out > >again, I can create one account, with the same results on the 2nd account > >creation. > > > >Does anyone have any clue about this? Anywhere I could look, etc. > > > >Thanks, > > > >Russ - this is probably a side effect of your first problem - you are being >logged back in each time you log out. Fix that issue, and this one will >most likely go away. > >- Ed L. > > >=============================================================== >New Media E.M.S. Software Solutions for Business >463 Main St., Suite D eCommerce | Consulting | Hosting >Placerville, CA 95667 edl@newmediaems.com >(530) 622-9421 http://www.newmediaems.com >(866) 519-4680 Toll-Free (530) 622-9426 Fax >=============================================================== > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 22 16:55:00 2001 Subject: [ic] New Account Creation Failure [comment] ui_template: Yes ui_template_name: leftonly [/comment] [set component_after][/set] [set members_only]0[/set] [set page_banner]Create a New Account[/set] [set component_hsize]2[/set] [set hbanner][/set] [set component_before][/set] [set hpromo_type]specials[/set] [set page_title]__COMPANY__ - New Account[/set] @_LEFTONLY_TOP_@ <!-- BEGIN CONTENT --> <hr noshade color="#000000"> <center><font face="Arial" size="4">Create New Account</font></center> <hr noshade color="#000000"> <p align="left"> Creating a new account with the K-House Online Store allows you to save your information securely and make future shopping experiences easier. Please see our [page help/helpsafeshop]100% Safe Shopping Guarantee</a> if you are concerned with saving your information on this website. Enter your <b>e-mail address</b> below, and choose a password that you can remember. </p> [if session logged_in][bounce href="[area account]"][/if] [if !scratch new] [if session failure] <P> <font size="2" __FFACE__><b><font color="#880000">[data session failure]</font></b></font> [data base=session field=failure value=""] <P> [/if] [else] [set new][/set] [/else] [/if] <div align="center"> <table width="350" border="1" cellspacing="0" cellpadding="0" bordercolor="#18184A" align="center"> [set NewAccount] [if type=explicit compare="[userdb new_account]"] mv_nextpage=account [else] mv_nextpage=new_account [/else] [/if] [/set] <form action="[process-target]" method="post"> <input type="hidden" name="mv_click" value="NewAccount"> <input type="hidden" name="mv_doit" value="return"> <input type="hidden" name="function" value="new_account"> <input type="hidden" name="mv_nextpage" value="account"> <input type="hidden" name="ignore_case" value="1"> <tr><td> <table width="350" border="0" cellspacing="0" cellpadding="2"> <tr><td width="81" align="right" bgcolor="#18184A"> <font size="2" __FFACE__><b><font color="#FFFFFF">E-Mail Address</font></b></font> </td><td width="204" bgcolor="#2163BD" align="left"> <input type="text" name="mv_username" value="" size="30"> </td></tr> <tr><td width="81" align="right" bgcolor="#18184A"> <font color="#FFFFFF" size="2" __FFACE__><font color="#000000"><b><font color="#FFFFFF">Password</font></b></font></font></td> <td width="204" bgcolor="#2163BD" align="left"> <input type="password" name="mv_password" value="" size="30"> </td></tr> <tr><td width="81" align="right" bgcolor="#18184A"> <p><font __FFACE__ size="2"><b><font color="#FFFFFF" size="2">Verify Password</font></b></font></p> </td> <td width="204" bgcolor="#2163BD" align="left"> <input type="password" name="mv_verify" value="" size="30"> </td></tr> <tr bgcolor="#999999"><td colspan="2" align="center"> <input type="hidden" name="mv_cookie_password" value="0"> <input type="submit" value="Create Account"> </td> </tr> </table> </td> </tr> </form> </table> </div> <!-- END CONTENT --> @_LEFTONLY_BOTTOM_@ From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 22 17:23:00 2001 Subject: [ic] New Account Creation Failure At 03:00 PM 05/22/2001 -0600, you wrote: >[comment] >ui_template: Yes >ui_template_name: leftonly >[/comment] > >[set component_after][/set] >[set members_only]0[/set] >[set page_banner]Create a New Account[/set] >[set component_hsize]2[/set] >[set hbanner][/set] >[set component_before][/set] >[set hpromo_type]specials[/set] >[set page_title]__COMPANY__ - New Account[/set] >@_LEFTONLY_TOP_@ > ><!-- BEGIN CONTENT --> ><hr noshade color="#000000"> ><center><font face="Arial" size="4">Create New Account</font></center> ><hr noshade color="#000000"> ><p align="left"> >Creating a new account with the K-House Online Store allows you to save your >information securely and make >future shopping experiences easier. Please see our [page >help/helpsafeshop]100% Safe Shopping Guarantee</a> >if you are concerned with saving your information on this website. Enter >your <b>e-mail address</b> >below, and choose a password that you can remember. ></p> >[if session logged_in][bounce href="[area account]"][/if] >[if !scratch new] >[if session failure] ><P> ><font size="2" __FFACE__><b><font color="#880000">[data session >failure]</font></b></font> >[data base=session field=failure value=""] ><P> >[/if] > >[else] >[set new][/set] >[/else] >[/if] ><div align="center"> ><table width="350" border="1" cellspacing="0" cellpadding="0" >bordercolor="#18184A" align="center"> >[set NewAccount] >[if type=explicit compare="[userdb new_account]"] >mv_nextpage=account >[else] >mv_nextpage=new_account >[/else] >[/if] >[/set] ><form action="[process-target]" method="post"> ><input type="hidden" name="mv_click" value="NewAccount"> Here is your problem, I believe. The above input should be an mv_check, which will be called after the form variables are updated; NOT mv_click, which is called before the form variables are updated. The way this is now, IC will try to create the account before the values of mv_username and mv_password are even read into the session, and in your case that might mean using old leftover values from the previous login. - Ed L> ><input type="hidden" name="mv_doit" value="return"> ><input type="hidden" name="function" value="new_account"> ><input type="hidden" name="mv_nextpage" value="account"> ><input type="hidden" name="ignore_case" value="1"> ><tr><td> ><table width="350" border="0" cellspacing="0" cellpadding="2"> ><tr><td width="81" align="right" bgcolor="#18184A"> ><font size="2" __FFACE__><b><font color="#FFFFFF">E-Mail >Address</font></b></font> ></td><td width="204" bgcolor="#2163BD" align="left"> ><input type="text" name="mv_username" value="" size="30"> ></td></tr> ><tr><td width="81" align="right" bgcolor="#18184A"> ><font color="#FFFFFF" size="2" __FFACE__><font color="#000000"><b><font >color="#FFFFFF">Password</font></b></font></font></td> ><td width="204" bgcolor="#2163BD" align="left"> ><input type="password" name="mv_password" value="" size="30"> ></td></tr> ><tr><td width="81" align="right" bgcolor="#18184A"> ><p><font __FFACE__ size="2"><b><font color="#FFFFFF" size="2">Verify >Password</font></b></font></p> ></td> ><td width="204" bgcolor="#2163BD" align="left"> ><input type="password" name="mv_verify" value="" size="30"> ></td></tr> ><tr bgcolor="#999999"><td colspan="2" align="center"> ><input type="hidden" name="mv_cookie_password" value="0"> ><input type="submit" value="Create Account"> ></td> ></tr> ></table> ></td> ></tr> ></form> ></table> ></div> > ><!-- END CONTENT --> > >@_LEFTONLY_BOTTOM_@ > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Rene Hertell) Date: Tue May 22 17:28:01 2001 Subject: [ic] Filter suggestion Hi, Will there be a filter in the UI-meta_editor that would handle fields with piped values (option1|option2|option3|etc.)? I tried to make one by simply copy and modify an other filter (colons to null), but it did not work. Is there anything that prohibits this, or has my failure to do with lack of knowledge in Perl? :) René ----------------------- Energizer bunny arrested, charged with battery From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 22 17:47:00 2001 Subject: [ic] New Account Creation Failure The pertinant code in the construct demo is this: <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> <INPUT TYPE=hidden NAME=mv_doit VALUE=return> <INPUT TYPE=hidden NAME=function VALUE=new_account> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> Changing this to mv_check does not seem to make any difference. I don't think it is using previous session variables, because I then also tried to create an account from a different browser (NS) and it couldn't create a new account. I also tried from a different computer/ip/browser altogether. Russ ><form action="[process-target]" method="post"> ><input type="hidden" name="mv_click" value="NewAccount"> Here is your problem, I believe. The above input should be an mv_check, which will be called after the form variables are updated; NOT mv_click, which is called before the form variables are updated. The way this is now, IC will try to create the account before the values of mv_username and mv_password are even read into the session, and in your case that might mean using old leftover values from the previous login. - Ed L> From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 22 18:29:00 2001 Subject: [ic] New Account Creation Failure At 03:52 PM 05/22/2001 -0600, you wrote: >The pertinant code in the construct demo is this: > > <FORM ACTION="[process-target]" METHOD=POST> > <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> > <INPUT TYPE=hidden NAME=mv_doit VALUE=return> > <INPUT TYPE=hidden NAME=function VALUE=new_account> > <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> > >Changing this to mv_check does not seem to make any difference. Your right - I never paid much attention to it, it seems counterintuitive but it does work that way (checked it out on some cats over here) and the docs essentially say that it will work either way. I'm not sure if I can be of much more help. try removing the 'ignore_case' input and observing case sensitivity; otherwise I would look to the write-ability of your userdb file (permissions, etc). - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Tue May 22 18:36:01 2001 Subject: [ic] instalation problem This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C0E23B.24601B80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I tried installing interchange and im getting this missing.le = ./share/akopia/ui/admin/back.sm.gif whats this? i updated interchange = using cvs. ------=_NextPart_000_0040_01C0E23B.24601B80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4613.1700" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I tried installing interchange and im = getting this=20 missing.le ./share/akopia/ui/admin/back.sm.gif whats this? i updated = interchange=20 using cvs.</FONT></DIV></BODY></HTML> ------=_NextPart_000_0040_01C0E23B.24601B80-- From: interchange-users at lists.akopia.com (Wilant, Michelle) Date: Tue May 22 18:36:59 2001 Subject: [ic] Can I run Minivend AND Interchange on the same machine? This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0E2D9.CD62D1C0 Content-Type: text/plain; charset="iso-8859-1" For those who are running several different versions of Interchange, question - That is what I am trying to do for us, so each store would have its own interchange. I keep running into the problem of a new install of interchange, in a different directory on the same box, wants to refer back to one of the previous versions. How do you avoid this? Do you reinstall interchange from the ./configure, or is there an easier solution that hasn't hit me over the head yet? Thanks. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com] On Behalf Of Ed LaFrance Sent: Thursday, May 17, 2001 4:05 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Can I run Minivend AND Interchange on the same machine? At 03:26 PM 05/17/2001 -0500, you wrote: >Can anyone please tell me whether or not I can safely install Interchange on >a Redhat 6.2 machine which is currently running several Minivend catalogs? > >I'm not an expert and would be more comfortable if I knew that I could keep >each catalog running under MV-3.14 and address incompatibility issues as I >upgrade the catalogs to IC-4.6.5 one at a time. > >Or... is this line of thinking completely off track? > >Thanks in advance! > - Stan Crump Stan - I have multiple vintages of Minivend and Interchange running on the same server, and in a few cases, as the same user, and it has not been a problem. Bear in mind that, for various reasons, I choose to run a separate installation if the MV/IC server for each customer/instance, rather than sharing one server install for several customer catalogs. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users ------_=_NextPart_001_01C0E2D9.CD62D1C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: [ic] Can I run Minivend AND Interchange on the same = machine?</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>For those who are running several different versions = of Interchange, question - That is what I am trying to do for us, so = each store would have its own interchange.&nbsp; I keep running into = the problem of a new install of interchange, in a different directory = on the same box, wants to refer back to one of the previous = versions.&nbsp; How do you avoid this?&nbsp; Do you reinstall = interchange from the ./configure, or is there an easier solution that = hasn't hit me over the head yet?&nbsp; Thanks.</FONT></P> <P><FONT SIZE=3D2>&nbsp;-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: &nbsp; = interchange-users-admin@developer.akopia.com [<A = HREF=3D"mailto:interchange-users-admin@developer.akopia.com">mailto:inte= rchange-users-admin@developer.akopia.com</A>]&nbsp; On Behalf Of Ed = LaFrance</FONT></P> <P><FONT SIZE=3D2>Sent:&nbsp;&nbsp; Thursday, May 17, 2001 4:05 = PM</FONT> <BR><FONT SIZE=3D2>To:&nbsp;&nbsp;&nbsp;&nbsp; = interchange-users@developer.akopia.com</FONT> <BR><FONT SIZE=3D2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Re: [ic] Can I run Minivend AND Interchange on the same&nbsp; = machine?</FONT> </P> <P><FONT SIZE=3D2>At 03:26 PM 05/17/2001 -0500, you wrote:</FONT> <BR><FONT SIZE=3D2>&gt;Can anyone please tell me whether or not I can = safely install Interchange on</FONT> <BR><FONT SIZE=3D2>&gt;a Redhat 6.2 machine which is currently running = several Minivend catalogs?</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;I'm not an expert and would be more comfortable = if I knew that I could keep</FONT> <BR><FONT SIZE=3D2>&gt;each catalog running under MV-3.14 and address = incompatibility issues as I</FONT> <BR><FONT SIZE=3D2>&gt;upgrade the catalogs to IC-4.6.5 one at a = time.</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;Or...&nbsp;&nbsp; is this line of thinking = completely off track?</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;Thanks in advance!</FONT> <BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; - Stan Crump</FONT> </P> <P><FONT SIZE=3D2>Stan -</FONT> </P> <P><FONT SIZE=3D2>I have multiple vintages of Minivend and Interchange = running on the same </FONT> <BR><FONT SIZE=3D2>server, and in a few cases, as the same user, and it = has not been a </FONT> <BR><FONT SIZE=3D2>problem.&nbsp; Bear in mind that, for various = reasons, I choose to run a </FONT> <BR><FONT SIZE=3D2>separate installation if the MV/IC server for each = customer/instance, </FONT> <BR><FONT SIZE=3D2>rather than sharing one server install for several = customer catalogs.</FONT> </P> <P><FONT SIZE=3D2>- Ed L.</FONT> </P> <BR> <P><FONT = SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> <BR><FONT SIZE=3D2>New Media = E.M.S.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; Software Solutions for Business</FONT> <BR><FONT SIZE=3D2>463 Main St., Suite = D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eCommerce | = Consulting | Hosting</FONT> <BR><FONT SIZE=3D2>Placerville, CA&nbsp; = 95667&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = edl@newmediaems.com</FONT> <BR><FONT SIZE=3D2>(530) = 622-9421&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF=3D"http://www.newmediaems.com" = TARGET=3D"_blank">http://www.newmediaems.com</A></FONT> <BR><FONT SIZE=3D2>(866) 519-4680 = Toll-Free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (530) 622-9426 Fax</FONT> <BR><FONT = SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> </P> <P><FONT SIZE=3D2>_______________________________________________</FONT>= <BR><FONT SIZE=3D2>Interchange-users mailing list</FONT> <BR><FONT SIZE=3D2>Interchange-users@lists.akopia.com</FONT> <BR><FONT SIZE=3D2><A = HREF=3D"http://lists.akopia.com/mailman/listinfo/interchange-users" = TARGET=3D"_blank">http://lists.akopia.com/mailman/listinfo/interchange-u= sers</A></FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0E2D9.CD62D1C0-- From: interchange-users at lists.akopia.com (Wilant, Michelle) Date: Tue May 22 18:37:49 2001 Subject: [ic] Can I run Minivend AND Interchange on the same machine? This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0E2DA.225C34F0 Content-Type: text/plain; charset="iso-8859-1" For those who are running several different versions of Interchange, question - That is what I am trying to do for us, so each store would have its own interchange. I keep running into the problem of a new install of interchange, in a different directory on the same box, wants to refer back to one of the previous versions. How do you avoid this? Do you reinstall interchange from the ./configure, or is there an easier solution that hasn't hit me over the head yet? Thanks. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com] On Behalf Of Ed LaFrance Sent: Thursday, May 17, 2001 4:05 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Can I run Minivend AND Interchange on the same machine? At 03:26 PM 05/17/2001 -0500, you wrote: >Can anyone please tell me whether or not I can safely install Interchange on >a Redhat 6.2 machine which is currently running several Minivend catalogs? > >I'm not an expert and would be more comfortable if I knew that I could keep >each catalog running under MV-3.14 and address incompatibility issues as I >upgrade the catalogs to IC-4.6.5 one at a time. > >Or... is this line of thinking completely off track? > >Thanks in advance! > - Stan Crump Stan - I have multiple vintages of Minivend and Interchange running on the same server, and in a few cases, as the same user, and it has not been a problem. Bear in mind that, for various reasons, I choose to run a separate installation if the MV/IC server for each customer/instance, rather than sharing one server install for several customer catalogs. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users ------_=_NextPart_001_01C0E2DA.225C34F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: [ic] Can I run Minivend AND Interchange on the same = machine?</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>For those who are running several different versions = of Interchange, question - That is what I am trying to do for us, so = each store would have its own interchange.&nbsp; I keep running into = the problem of a new install of interchange, in a different directory = on the same box, wants to refer back to one of the previous = versions.&nbsp; How do you avoid this?&nbsp; Do you reinstall = interchange from the ./configure, or is there an easier solution that = hasn't hit me over the head yet?&nbsp; Thanks.</FONT></P> <P><FONT SIZE=3D2>&nbsp;-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From:&nbsp;&nbsp; = interchange-users-admin@developer.akopia.com [<A = HREF=3D"mailto:interchange-users-admin@developer.akopia.com">mailto:inte= rchange-users-admin@developer.akopia.com</A>]&nbsp; On Behalf Of Ed = LaFrance</FONT></P> <P><FONT SIZE=3D2>Sent:&nbsp;&nbsp; Thursday, May 17, 2001 4:05 = PM</FONT> <BR><FONT SIZE=3D2>To:&nbsp;&nbsp;&nbsp;&nbsp; = interchange-users@developer.akopia.com</FONT> <BR><FONT SIZE=3D2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Re: [ic] Can I run Minivend AND Interchange on the same&nbsp; = machine?</FONT> </P> <P><FONT SIZE=3D2>At 03:26 PM 05/17/2001 -0500, you wrote:</FONT> <BR><FONT SIZE=3D2>&gt;Can anyone please tell me whether or not I can = safely install Interchange on</FONT> <BR><FONT SIZE=3D2>&gt;a Redhat 6.2 machine which is currently running = several Minivend catalogs?</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;I'm not an expert and would be more comfortable = if I knew that I could keep</FONT> <BR><FONT SIZE=3D2>&gt;each catalog running under MV-3.14 and address = incompatibility issues as I</FONT> <BR><FONT SIZE=3D2>&gt;upgrade the catalogs to IC-4.6.5 one at a = time.</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;Or...&nbsp;&nbsp; is this line of thinking = completely off track?</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;Thanks in advance!</FONT> <BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; - Stan Crump</FONT> </P> <P><FONT SIZE=3D2>Stan -</FONT> </P> <P><FONT SIZE=3D2>I have multiple vintages of Minivend and Interchange = running on the same</FONT> <BR><FONT SIZE=3D2>server, and in a few cases, as the same user, and it = has not been a</FONT> <BR><FONT SIZE=3D2>problem.&nbsp; Bear in mind that, for various = reasons, I choose to run a</FONT> <BR><FONT SIZE=3D2>separate installation if the MV/IC server for each = customer/instance,</FONT> <BR><FONT SIZE=3D2>rather than sharing one server install for several = customer catalogs.</FONT> </P> <P><FONT SIZE=3D2>- Ed L.</FONT> </P> <BR> <P><FONT = SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> <BR><FONT SIZE=3D2>New Media = E.M.S.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; Software Solutions for Business</FONT> <BR><FONT SIZE=3D2>463 Main St., Suite = D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eCommerce | = Consulting | Hosting</FONT> <BR><FONT SIZE=3D2>Placerville, CA&nbsp; = 95667&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = edl@newmediaems.com</FONT> <BR><FONT SIZE=3D2>(530) = 622-9421&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF=3D"http://www.newmediaems.com" = TARGET=3D"_blank">http://www.newmediaems.com</A></FONT> <BR><FONT SIZE=3D2>(866) 519-4680 = Toll-Free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (530) 622-9426 Fax</FONT> <BR><FONT = SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> </P> <P><FONT SIZE=3D2>_______________________________________________</FONT>= <BR><FONT SIZE=3D2>Interchange-users mailing list</FONT> <BR><FONT SIZE=3D2>Interchange-users@lists.akopia.com</FONT> <BR><FONT SIZE=3D2><A = HREF=3D"http://lists.akopia.com/mailman/listinfo/interchange-users" = TARGET=3D"_blank">http://lists.akopia.com/mailman/listinfo/interchange-u= sers</A></FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0E2DA.225C34F0-- From: interchange-users at lists.akopia.com (Steven Behnke) Date: Tue May 22 18:38:44 2001 Subject: [ic] Stupid Question about Admin This is a multi-part message in MIME format. ------=_NextPart_000_0022_01C0E2C1.7B027CE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here's a really stupid question, but I can't seem to find the answer = anywhere. When installing Interchange via the RPM, what is the default = userid and password for the administrative interface? Thanks, Steven Behnke ------=_NextPart_000_0022_01C0E2C1.7B027CE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Here's a really stupid question, but I = can't seem=20 to find the answer anywhere.&nbsp; When installing Interchange via the = RPM, what=20 is the default userid and password for the administrative=20 interface?</FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Steven = Behnke</FONT></DIV></BODY></HTML> ------=_NextPart_000_0022_01C0E2C1.7B027CE0-- From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 22 23:21:01 2001 Subject: [ic] New Account Creation Failure The userdb is stored in mySQL. I added the ignore_case after it didn't work, to try to make it work. Its supposed to help. Russ -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed LaFrance Sent: Tuesday, May 22, 2001 4:36 PM To: interchange-users@developer.akopia.com Subject: RE: [ic] New Account Creation Failure At 03:52 PM 05/22/2001 -0600, you wrote: >The pertinant code in the construct demo is this: > > <FORM ACTION="[process-target]" METHOD=POST> > <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> > <INPUT TYPE=hidden NAME=mv_doit VALUE=return> > <INPUT TYPE=hidden NAME=function VALUE=new_account> > <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> > >Changing this to mv_check does not seem to make any difference. Your right - I never paid much attention to it, it seems counterintuitive but it does work that way (checked it out on some cats over here) and the docs essentially say that it will work either way. I'm not sure if I can be of much more help. try removing the 'ignore_case' input and observing case sensitivity; otherwise I would look to the write-ability of your userdb file (permissions, etc). - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (wayne k) Date: Tue May 22 23:24:00 2001 Subject: [ic] Stupid Question about Admin I was puzzled just the same yesterday, interchange and pass, worked for me... >From: "Steven Behnke" <techsupport@imediaconsultants.com> >Reply-To: interchange-users@developer.akopia.com >To: <Interchange-users@developer.akopia.com> >Subject: [ic] Stupid Question about Admin >Date: Tue, 22 May 2001 13:16:58 -0700 > >Here's a really stupid question, but I can't seem to find the answer >anywhere. When installing Interchange via the RPM, what is the default >userid and password for the administrative interface? > >Thanks, >Steven Behnke _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From: interchange-users at lists.akopia.com (Tim Watts) Date: Tue May 22 23:25:01 2001 Subject: [ic] images in Interchange Guy, I had the same problem on my initial install. The images are in a directory called akopia. It needs to be in html space. If it is not, you need to reinstall or move it to html space and make a symbolic link to the moved directory. The symbolic link should be at the location of the original directory and have the same name. ------------------------------------- To create the symbolic link in Unix, at the Unix prompt enter the following command: ln -s /path/to/pubilc_html/akopia akopia ^^^^^^ symbolic link You should be in the directory which originally contained the 'akopia' directoy. '/path/to/pubilc_html/akopia' is the absolute path to the moved directory in html space. 'akopia' at the end of the command is the symbolic link in the original directory. The ln command then creates the symbolic link. ------------------------------------- Generic instructions to create a symbolic link. I use this to link my html_public directory to the catalogs which are out of public space so I can use images that are generic to all pages in the cart and the existing site. To create a symbolic link in Unix, at the Unix prompt enter the following command: ln -s source_file myfile Replace source_file with your existing file for which you want to create the symbolic link (this file can be any existing file or directory across the file systems). Replace myfile with the symbolic link. The ln command then creates the symbolic link. After you've made the symbolic link, you can do an operation on or execute myfile, just as you could with the source_file. You can use normal file management commands (e.g., cp , rm , etc.) on the symbolic link. -- Tim Watts president Romans1013.net Internet Hosting ------------------------------------------ 5/22/01 4:16 PM, Guy Soudant at guy@soudant.net wrote: > Hi, > > Could someone please tell me where the images of the admin interface > (navigation) are physically stored on the server in a default configuration. > I am getting some strange images in the admin interface for version 4.7.2, > and I want to copy the right images into the folder so that the page > contains the correct images (if you want to have a look at the current page: > www.formula1inc.com/formula1) > > Thanks > > Guy > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Ralph Alberti) Date: Tue May 22 23:29:02 2001 Subject: [ic] Builder Tutorial Problem I am new to IC and this is my first post to the list. I am working my way through the tutorial and have come up against an Internal Server Error. I get to the point where I am building my first catalog page and can display the TOP, LEFT, and Bottom pieces of HTML using [include]. That works fine. I run into a problem when I use the [loop search="ra=yes/fi=products"] tag. I get an error stating that the system may not be configured correctly. I am not at the machine I am configuring at the moment so I can't tell you the eaxct error message I am receiving. The construct sample app works fine. I have been over spelling, naming conventions, white space, etc... and can't see where I went wrong. Any ideas? --Ralph From: interchange-users at lists.akopia.com (Allen Armstrong) Date: Tue May 22 23:54:00 2001 Subject: [ic] Solutions to problems Do you have a web interface? > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On > Behalf Of Ian J > Cottee > Sent: May 20, 2001 10:03 PM > To: interchange-users@developer.akopia.com > Subject: RE: [ic] Solutions to problems > > > For the record - the address > > > JP -> irc.bluefountain.com:6667 > > is now > > irc.bluebox-eu.com:6667 > > Yep - it's in Japan but it has 'eu' in the name. Sue me ;) > > Ian > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Guy Soudant) Date: Wed May 23 02:24:00 2001 Subject: [ic] images in Interchange But where does Interchange get the 4.6.5 imgaes from? I also get an js script error (I think it cannot find the std.js file). Regards Guy -----Original Message----- From: Tim Watts <tim@Romans1013.net> To: <interchange-users@developer.akopia.com> Date: Tue, 22 May 2001 20:25:27 -0400 Subject: Re: [ic] images in Interchange > Guy, > > I had the same problem on my initial install. > The images are in a directory called akopia. > It needs to be in html space. If it is not, you need to reinstall or > move it > to html space and make a symbolic link to the moved directory. The > symbolic > link should be at the location of the original directory and have the > same > name. > ------------------------------------- > To create the symbolic link in Unix, at the Unix prompt enter the > following > command: > > ln -s /path/to/pubilc_html/akopia akopia > ^^^^^^ > symbolic link > > You should be in the directory which originally contained the 'akopia' > directoy. '/path/to/pubilc_html/akopia' is the absolute path to the > moved > directory in html space. 'akopia' at the end of the command is the > symbolic > link in the original directory. The ln command then creates the > symbolic > link. > > ------------------------------------- > Generic instructions to create a symbolic link. > I use this to link my html_public directory to the catalogs which are > out of > public space so I can use images that are generic to all pages in the > cart > and the existing site. > > To create a symbolic link in Unix, at the Unix prompt enter the > following > command: > > ln -s source_file myfile > > Replace source_file with your existing file for which you want to > create the > symbolic link (this file can be any existing file or directory across > the > file systems). Replace myfile with the symbolic link. The ln command > then > creates the symbolic link. After you've made the symbolic link, you can > do > an operation on or execute myfile, just as you could with the > source_file. > You can use normal file management commands (e.g., cp , rm , etc.) on > the > symbolic link. > > > -- > Tim Watts > president > Romans1013.net > Internet Hosting > > ------------------------------------------ > > > 5/22/01 4:16 PM, Guy Soudant at guy@soudant.net wrote: > > > Hi, > > > > Could someone please tell me where the images of the admin interface > > (navigation) are physically stored on the server in a default > configuration. > > I am getting some strange images in the admin interface for version > 4.7.2, > > and I want to copy the right images into the folder so that the page > > contains the correct images (if you want to have a look at the > current page: > > www.formula1inc.com/formula1) > > > > Thanks > > > > Guy > > > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Russ Mann) Date: Wed May 23 02:32:01 2001 Subject: [ic] Cookie Setting Not Working Hello, I have this code on my logout.html page [set name=done int][userdb function=logout clear=1][/set] [set-cookie name=MV_USERNAME value=""] [set-cookie name=MV_PASSWORD value=""] However, after running this, [read-cookie MV_USERNAME] still comes up with the last username. When I open the cookie file, it is in there like this: MV_USERNAME russ%40worldmissions%2ecom store.khouse.org/store/catalog 0 2160733696 29424099 635103424 29418056 * Why isn't setting a cookie working? Thanks, Russ From: interchange-users at lists.akopia.com (apom) Date: Wed May 23 06:27:01 2001 Subject: [ic] (no subject) Hi all, Do you know how replace a scratch variable into : <a href="[area scan sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch table] WHERE category='Categorie01']"> the result is : /scan/sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch table.html WHERE category='Categorie01'] For information : [if scratch mv_locale eq "fr_FR"][seti table]fr_products[/seti][/if] [if scratch mv_locale eq "uk_UK"][seti table]uk_products[/seti][/if] [if scratch mv_locale eq "es_ES"][seti table]es_products[/seti][/if] [if scratch mv_locale eq "de_DE"][seti table]de_products[/seti][/if] Thanks ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed May 23 06:35:00 2001 Subject: [ic] (no subject) apom wrote: > > Hi all, > > Do you know how replace a scratch variable into : > > <a href="[area scan sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch > table] WHERE category='Categorie01']"> > > the result is : > > /scan/sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch table.html WHERE > category='Categorie01'] > > For information : > [if scratch mv_locale eq "fr_FR"][seti table]fr_products[/seti][/if] > [if scratch mv_locale eq "uk_UK"][seti table]uk_products[/seti][/if] > [if scratch mv_locale eq "es_ES"][seti table]es_products[/seti][/if] > [if scratch mv_locale eq "de_DE"][seti table]de_products[/seti][/if] > > Thanks Hmmm...maybe this [seti scanparam]scan sp=results/m=3/st=sql/sq=SELECT sku FROM [scratch table] WHERE category='Categorie01'[/seti] and <a href="[area href="[scratch scanparam]"]"> is working for you? ciao Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interchange-users at lists.akopia.com (David Totten) Date: Wed May 23 08:01:00 2001 Subject: [ic] Cookie Setting Not Working On Wed, May 23, 2001 at 12:38:04AM -0600, Russ Mann wrote: > Hello, > > I have this code on my logout.html page > > [set name=done int][userdb function=logout clear=1][/set] > [set-cookie name=MV_USERNAME value=""] > [set-cookie name=MV_PASSWORD value=""] This will only set in memory cookies. If you want the cookie to be written to the cookies.txt file, then you must provide an expire parameter. [set-cookie name=MV_USERNAME value="" expire="Tue, 03-Apr-2001 17:00:00 GMT"] Taken from some of the new 4.8 docs is this exerpt: 2.69.2.3. expire Persistent cookies (that outlive a browser session) require an expiration date. The date must be a string of the form: "Wdy, DD-Mon-YYYY HH:MM:SS GMT" and the timezone must be GMT. If you do not supply a date, the cookie will disappear when the user closes the browser. Dave Totten -- Start random buzzword text: For example, a multi-corporation extranet solution affects a significant implementation of the anticipated fourth-generation equipment. From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Wed May 23 08:07:00 2001 Subject: [ic] (no subject) "apom" <apom@ifrance.com> writes: > Hi all, > > Do you know how replace a scratch variable into : > > <a href="[area scan sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch > table] WHERE category='Categorie01']"> Use linebreaks instead of /. Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (apom) Date: Wed May 23 08:09:00 2001 Subject: [ic] scratch variable into SQL Thanks Joachim for your response, but i've already tested and is the same result. another suggestion... ? :o)) ----- Original Message ----- From: Joachim Leidinger <jojo@blackpoint.de> To: <interchange-users@developer.akopia.com> Sent: Wednesday, May 23, 2001 12:40 PM Subject: Re: [ic] (no subject) > apom wrote: > > > > Hi all, > > > > Do you know how replace a scratch variable into : > > > > <a href="[area scan sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch > > table] WHERE category='Categorie01']"> > > > > the result is : > > > > /scan/sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch table.html WHERE > > category='Categorie01'] > > > > For information : > > [if scratch mv_locale eq "fr_FR"][seti table]fr_products[/seti][/if] > > [if scratch mv_locale eq "uk_UK"][seti table]uk_products[/seti][/if] > > [if scratch mv_locale eq "es_ES"][seti table]es_products[/seti][/if] > > [if scratch mv_locale eq "de_DE"][seti table]de_products[/seti][/if] > > > > Thanks > > Hmmm...maybe this > > [seti scanparam]scan sp=results/m=3/st=sql/sq=SELECT sku FROM [scratch > table] WHERE category='Categorie01'[/seti] > > and > <a href="[area href="[scratch scanparam]"]"> > > is working for you? > > ciao > > Joachim > > > -- > -------------<BPA FreeBsd>---------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif From: interchange-users at lists.akopia.com (apom) Date: Wed May 23 08:20:01 2001 Subject: [ic] scratch variable into SQL To Joachim, I've tested again your code and i've added 'arg=' It's OK now [seti scanparam]scan sp=results/m=3/st=sql/sq=SELECT sku FROM [scratch table] WHERE category='Categorie01'[/seti] <a href="[area href=scan arg="[scratch scanparam]"]"> thanks for your contribution Sorry for my english ----- Original Message ----- From: Joachim Leidinger <jojo@blackpoint.de> To: <interchange-users@developer.akopia.com> Sent: Wednesday, May 23, 2001 12:40 PM Subject: Re: [ic] (no subject) > apom wrote: > > > > Hi all, > > > > Do you know how replace a scratch variable into : > > > > <a href="[area scan sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch > > table] WHERE category='Categorie01']"> > > > > the result is : > > > > /scan/sp=results/ml=3/st=sql/sq=SELECT sku FROM [scratch table.html WHERE > > category='Categorie01'] > > > > For information : > > [if scratch mv_locale eq "fr_FR"][seti table]fr_products[/seti][/if] > > [if scratch mv_locale eq "uk_UK"][seti table]uk_products[/seti][/if] > > [if scratch mv_locale eq "es_ES"][seti table]es_products[/seti][/if] > > [if scratch mv_locale eq "de_DE"][seti table]de_products[/seti][/if] > > > > Thanks > > Hmmm...maybe this > > [seti scanparam]scan sp=results/m=3/st=sql/sq=SELECT sku FROM [scratch > table] WHERE category='Categorie01'[/seti] > > and > <a href="[area href="[scratch scanparam]"]"> > > is working for you? > > ciao > > Joachim > > > -- > -------------<BPA FreeBsd>---------------------------------------------- > Hans-Joachim Leidinger black point arts Internet Solutions GmbH > email: jojo@blackpoint.de FAX : +49 0209-398265 > http://www.bpaserver.net > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif From: interchange-users at lists.akopia.com (Tim Watts) Date: Wed May 23 09:21:00 2001 Subject: [ic] images in Interchange images are copied from: interchange/share/akopia where interchange is the location of your install and this directory remains intact, a coopy is placed where you define in your install If you look at the source code of your pages in your browser it shows <img src="/akopia/ui/navigation/... which means images are in html space at www.formula1inc.com/akopia/ui/navigation/... on 5/23/01 2:30 AM, Guy Soudant at guy.soudant@soudant.net wrote: > But where does Interchange get the 4.6.5 imgaes from? I also get an js > script error (I think it cannot find the std.js file). > > Regards > > Guy > > > -----Original Message----- > From: Tim Watts <tim@Romans1013.net> > To: <interchange-users@developer.akopia.com> > Date: Tue, 22 May 2001 20:25:27 -0400 > Subject: Re: [ic] images in Interchange > >> Guy, >> >> I had the same problem on my initial install. >> The images are in a directory called akopia. >> It needs to be in html space. If it is not, you need to reinstall or >> move it >> to html space and make a symbolic link to the moved directory. The >> symbolic >> link should be at the location of the original directory and have the >> same >> name. >> ------------------------------------- >> To create the symbolic link in Unix, at the Unix prompt enter the >> following >> command: >> >> ln -s /path/to/pubilc_html/akopia akopia >> ^^^^^^ >> symbolic link >> >> You should be in the directory which originally contained the 'akopia' >> directoy. '/path/to/pubilc_html/akopia' is the absolute path to the >> moved >> directory in html space. 'akopia' at the end of the command is the >> symbolic >> link in the original directory. The ln command then creates the >> symbolic >> link. >> >> ------------------------------------- >> Generic instructions to create a symbolic link. >> I use this to link my html_public directory to the catalogs which are >> out of >> public space so I can use images that are generic to all pages in the >> cart >> and the existing site. >> >> To create a symbolic link in Unix, at the Unix prompt enter the >> following >> command: >> >> ln -s source_file myfile >> >> Replace source_file with your existing file for which you want to >> create the >> symbolic link (this file can be any existing file or directory across >> the >> file systems). Replace myfile with the symbolic link. The ln command >> then >> creates the symbolic link. After you've made the symbolic link, you can >> do >> an operation on or execute myfile, just as you could with the >> source_file. >> You can use normal file management commands (e.g., cp , rm , etc.) on >> the >> symbolic link. >> >> >> -- >> Tim Watts >> president >> Romans1013.net >> Internet Hosting >> >> ------------------------------------------ >> >> >> 5/22/01 4:16 PM, Guy Soudant at guy@soudant.net wrote: >> >>> Hi, >>> >>> Could someone please tell me where the images of the admin interface >>> (navigation) are physically stored on the server in a default >> configuration. >>> I am getting some strange images in the admin interface for version >> 4.7.2, >>> and I want to copy the right images into the folder so that the page >>> contains the correct images (if you want to have a look at the >> current page: >>> www.formula1inc.com/formula1) >>> >>> Thanks >>> >>> Guy >>> >>> >>> _______________________________________________ >>> Interchange-users mailing list >>> Interchange-users@lists.akopia.com >>> http://lists.akopia.com/mailman/listinfo/interchange-users >>> >> >> >> _______________________________________________ >> Interchange-users mailing list >> Interchange-users@lists.akopia.com >> http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Tim Watts president Romans1013.net Internet Hosting Loaded with features: FREE shopping cart! UNLIMITED email! No Monthly Fees - Just One Low Payment, One Time per Year! Visit our web site for details: www.Romans1013.net From: interchange-users at lists.akopia.com (John Leach) Date: Wed May 23 10:25:01 2001 Subject: [ic] BUG? Shipping options: edit data for method I have the following scenario, and tech support at Akopia has been able to reproduce it: Enter admin pages for catalog, go to Administration, Shipping. Click create new method Enter name, label, leave criteria as 'Price', use algorith 'Standard shipping by price', choose United States, enter 4.00 minimum, click Next --> 1st thing that looks wrong, is that it says UPS Ground on the page... 2nd thing is, enter 4.00 for a charge amount (from 0 to infinity), click ok, the screen refreshes, my '4.00' disappears, it doesn't appear to save, if I click Apply Changes, nothing is saved, if I click the add or remove signs, the screen refreshes, my '4.00' disappears, no new criteria is added... I'm trying to add a flat rate shipping method. Ideas? John From: interchange-users at lists.akopia.com (John Leach) Date: Wed May 23 10:30:00 2001 Subject: [ic] Question: Using Authorize.Net We are trying to integrate our catalogs using Authorize.Net for credit card processing. Can anyone that has done this before point me to some examples, reference materials, etc? I've been told that you can perform changes to the config files and have it perform much like a Cybercash integration... John From: interchange-users at lists.akopia.com (Matt Flaherty) Date: Wed May 23 10:58:00 2001 Subject: [ic] cvs question I've used cvs before to checkout source from other projects, but I've usually followed instructions exactly. I've been trying to get the distribution of the ic 4.7 branch without any success. I've tried '-r HEAD' before the module name, but I still get 4.6.5. Could someone please tell me what is the correct tag to use to get this distribution? Thank you. Matt Flaherty From: interchange-users at lists.akopia.com (Laura) Date: Wed May 23 11:23:00 2001 Subject: [ic] Colors/Tables I am trying to change the border color around the edges of the template and I can't find where it's located. I have gone to the index page html and coding in the admin area and found nothing that suggests a border around the table. Is there a place that has the a general table border color that I can change or do I need to go into each page and change it? ...making me crazy, Laura From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 23 11:53:01 2001 Subject: [ic] New Account Creation Failure At 09:26 PM 05/22/2001 -0600, you wrote: >The userdb is stored in mySQL. I added the ignore_case after it didn't >work, to try to make it work. Its supposed to help. > >Russ If you haven't already done so, you may need to log in to mysql from the shell and GRANT full permissions on the database and all tables to the user which runs interchange. Other than that, did you try running it with the default dbm's to see if it behaves better? That would at least narrow it down to a MySQL issue. - Ed L. >-----Original Message----- >From: interchange-users-admin@developer.akopia.com >[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed >LaFrance >Sent: Tuesday, May 22, 2001 4:36 PM >To: interchange-users@developer.akopia.com >Subject: RE: [ic] New Account Creation Failure > > >At 03:52 PM 05/22/2001 -0600, you wrote: > >The pertinant code in the construct demo is this: > > > > <FORM ACTION="[process-target]" METHOD=POST> > > <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> > > <INPUT TYPE=hidden NAME=mv_doit VALUE=return> > > <INPUT TYPE=hidden NAME=function VALUE=new_account> > > <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> > > > >Changing this to mv_check does not seem to make any difference. > >Your right - I never paid much attention to it, it seems counterintuitive >but it does work that way (checked it out on some cats over here) and the >docs essentially say that it will work either way. > >I'm not sure if I can be of much more help. try removing the 'ignore_case' >input and observing case sensitivity; otherwise I would look to the >write-ability of your userdb file (permissions, etc). > >- Ed L. > > > > >=============================================================== >New Media E.M.S. Software Solutions for Business >463 Main St., Suite D eCommerce | Consulting | Hosting >Placerville, CA 95667 edl@newmediaems.com >(530) 622-9421 http://www.newmediaems.com >(866) 519-4680 Toll-Free (530) 622-9426 Fax >=============================================================== > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Jason Kohles) Date: Wed May 23 12:14:00 2001 Subject: [ic] cvs question On Wed, May 23, 2001 at 04:05:43PM +0100, Matt Flaherty wrote: > I've used cvs before to checkout source from other projects, but I've > usually followed instructions exactly. I've been trying to get the > distribution of the ic 4.7 branch without any success. I've tried '-r HEAD' > before the module name, but I still get 4.6.5. Could someone please tell me > what is the correct tag to use to get this distribution? Thank you. > The tag on the development brach is DEV_4_7_0 -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Robert Trembath) Date: Wed May 23 12:18:00 2001 Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 -----Original Message----- From: Robert Trembath [mailto:robert@lanstar.com] Sent: Friday, May 18, 2001 11:58 AM To: Interchange-Users@Lists.Akopia.Com (E-mail) Subject: Admin on 4.72 not working on catalogs built in 4.6.4 I brought a store built in 4.64 over to 4.7.2 and the customer side works well with exception of getting a page expired message when I click on buy now from a search result. Someone else today ran across this problem, is there a fix? Also when I try to login to the admin section all I get is an error message produced by the3 process.html page. Please Help ASAP! Many thanks, Robert From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 23 12:20:00 2001 Subject: [ic] Colors/Tables look around line 51 in templates/regions/LEFTRIGHT_TOP From: interchange-users at lists.akopia.com (Mike Heins) Date: Wed May 23 12:52:01 2001 Subject: [ic] Filter suggestion Quoting Rene Hertell (rene@hertell.com): > Hi, > > Will there be a filter in the UI-meta_editor that would handle fields with > piped values (option1|option2|option3|etc.)? I tried to make one by simply copy > and modify an other filter (colons to null), but it did not work. Is there > anything that prohibits this, or has my failure to do with lack of knowledge in > Perl? :) > I think you will have to be a bit more specific about what you mean by "piped values". You can set the accessories tag to do a different delimiter, but the admin interface doesn't support that. You can set a pre_filter value in mv_metadata which will filter the data before it comes to the display tag. That may be what you need to set to get it to work. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at lists.akopia.com (Michael Soflin) Date: Wed May 23 13:14:01 2001 Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 I also had the 'expired page' problem. Someone from the list suggested looking at my my proxy settings. In my case I didn't have the problem with Netscape, only IE 5+. I was able to disable proxy in IE5 and life was good...... Hope this helps.... -----Original Message----- From: Robert Trembath [SMTP:robert@lanstar.com] Sent: Wednesday, May 23, 2001 12:24 PM To: Interchange-Users@Lists.Akopia.Com (E-mail) Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 -----Original Message----- From: Robert Trembath [mailto:robert@lanstar.com] Sent: Friday, May 18, 2001 11:58 AM To: Interchange-Users@Lists.Akopia.Com (E-mail) Subject: Admin on 4.72 not working on catalogs built in 4.6.4 I brought a store built in 4.64 over to 4.7.2 and the customer side works well with exception of getting a page expired message when I click on buy now from a search result. Someone else today ran across this problem, is there a fix? Also when I try to login to the admin section all I get is an error message produced by the3 process.html page. Please Help ASAP! Many thanks, Robert _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Russ Mann) Date: Wed May 23 13:30:00 2001 Subject: [ic] New Account Creation Failure - Fixed Dear Ed, Thanks for all your help. I feel like a complete bonehead. I added an auto_increment field to the userdb, but for some reason the field was changed to not be auto_increment, but still set as default='0'. So, what was happening is when it went to create the 2nd account, it couldn't add it to the userdb because that field would have a duplicate value. I'm posting this in hopes that someone in the far distant future with the same completely off the wall problem will find this and be saved hours of hair pulling. Russ -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed LaFrance Sent: Wednesday, May 23, 2001 10:00 AM To: interchange-users@developer.akopia.com Subject: RE: [ic] New Account Creation Failure At 09:26 PM 05/22/2001 -0600, you wrote: >The userdb is stored in mySQL. I added the ignore_case after it didn't >work, to try to make it work. Its supposed to help. > >Russ If you haven't already done so, you may need to log in to mysql from the shell and GRANT full permissions on the database and all tables to the user which runs interchange. Other than that, did you try running it with the default dbm's to see if it behaves better? That would at least narrow it down to a MySQL issue. - Ed L. >-----Original Message----- >From: interchange-users-admin@developer.akopia.com >[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed >LaFrance >Sent: Tuesday, May 22, 2001 4:36 PM >To: interchange-users@developer.akopia.com >Subject: RE: [ic] New Account Creation Failure > > >At 03:52 PM 05/22/2001 -0600, you wrote: > >The pertinant code in the construct demo is this: > > > > <FORM ACTION="[process-target]" METHOD=POST> > > <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> > > <INPUT TYPE=hidden NAME=mv_doit VALUE=return> > > <INPUT TYPE=hidden NAME=function VALUE=new_account> > > <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> > > > >Changing this to mv_check does not seem to make any difference. > >Your right - I never paid much attention to it, it seems counterintuitive >but it does work that way (checked it out on some cats over here) and the >docs essentially say that it will work either way. > >I'm not sure if I can be of much more help. try removing the 'ignore_case' >input and observing case sensitivity; otherwise I would look to the >write-ability of your userdb file (permissions, etc). > >- Ed L. > > > > >=============================================================== >New Media E.M.S. Software Solutions for Business >463 Main St., Suite D eCommerce | Consulting | Hosting >Placerville, CA 95667 edl@newmediaems.com >(530) 622-9421 http://www.newmediaems.com >(866) 519-4680 Toll-Free (530) 622-9426 Fax >=============================================================== > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Russ Mann) Date: Wed May 23 14:20:00 2001 Subject: [ic] Shipping To Multiple Addresses Dear List, Are there any plans to make shipping to multiple addresses calculate the shipping price separately for each address? If not, how can I override the regular shipping functions to work this way? Can I do it with a usertag? Thanks, Russ From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 23 14:32:00 2001 Subject: [ic] CyberCash MCK Version 3.2.0.4 Hi all, Am hoping someone on the list has the CyberCash MCK for Redhat Linux 6.x, version 3.2.0.4, as I am trying to setup a store using CyberCash. I would appreciate if someone could send me this off the list at tanis@chariot.net.au Thanks, John Bailey. From: interchange-users at lists.akopia.com (Robert Trembath) Date: Wed May 23 14:45:00 2001 Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 My main concern though is the admin section not working correctly. I thought there was backwards compatability. Please clarify this Mike or someone who knows.... -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Michael Soflin Sent: Wednesday, May 23, 2001 12:30 PM To: 'interchange-users@developer.akopia.com' Subject: RE: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 I also had the 'expired page' problem. Someone from the list suggested looking at my my proxy settings. In my case I didn't have the problem with Netscape, only IE 5+. I was able to disable proxy in IE5 and life was good...... Hope this helps.... -----Original Message----- From: Robert Trembath [SMTP:robert@lanstar.com] Sent: Wednesday, May 23, 2001 12:24 PM To: Interchange-Users@Lists.Akopia.Com (E-mail) Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 -----Original Message----- From: Robert Trembath [mailto:robert@lanstar.com] Sent: Friday, May 18, 2001 11:58 AM To: Interchange-Users@Lists.Akopia.Com (E-mail) Subject: Admin on 4.72 not working on catalogs built in 4.6.4 I brought a store built in 4.64 over to 4.7.2 and the customer side works well with exception of getting a page expired message when I click on buy now from a search result. Someone else today ran across this problem, is there a fix? Also when I try to login to the admin section all I get is an error message produced by the3 process.html page. Please Help ASAP! Many thanks, Robert _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Steven Morrison) Date: Wed May 23 14:51:01 2001 Subject: [ic] Locales & Quantity Discounts Hello list, I've stumbled upon a bit of an issue. I'm using locale settings for two different currencies on my site, using the "PriceField" directive in catalog.cfg to determine what prices to show my customers. I am now ready to implement quantity discounts. Is there a feasible way to have a separate "pricing.txt" database on a locale by locale basis? I realize that most people simply divide their prices by a single denominator for exchanges, but we don't :( Thanks for your time, Steven Morrison From: interchange-users at lists.akopia.com (Jason Kohles) Date: Wed May 23 14:55:00 2001 Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 On Wed, May 23, 2001 at 01:50:42PM -0500, Robert Trembath wrote: > My main concern though is the admin section not working correctly. I thought > there was backwards compatability. > > Please clarify this Mike or someone who knows.... > It would help if you provided the text of the error message. > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > Michael Soflin > Sent: Wednesday, May 23, 2001 12:30 PM > To: 'interchange-users@developer.akopia.com' > Subject: RE: [ic] FW: Admin on 4.72 not working on catalogs built in > 4.6.4 > > > I also had the 'expired page' problem. Someone from the list suggested > looking at my my proxy settings. In my case I didn't have the problem with > Netscape, only IE 5+. I was able to disable proxy in IE5 and life was > good...... > > Hope this helps.... > > > > > -----Original Message----- > From: Robert Trembath [SMTP:robert@lanstar.com] > Sent: Wednesday, May 23, 2001 12:24 PM > To: Interchange-Users@Lists.Akopia.Com (E-mail) > Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 > > > > -----Original Message----- > From: Robert Trembath [mailto:robert@lanstar.com] > Sent: Friday, May 18, 2001 11:58 AM > To: Interchange-Users@Lists.Akopia.Com (E-mail) > Subject: Admin on 4.72 not working on catalogs built in 4.6.4 > > > I brought a store built in 4.64 over to 4.7.2 and the customer side works > well with exception of getting a page expired message when I click on buy > now from a search result. Someone else today ran across this problem, is > there a fix? > > Also when I try to login to the admin section all I get is an error message > produced by the3 process.html page. Please Help ASAP! > Many thanks, > Robert > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Robert Trembath) Date: Wed May 23 15:12:00 2001 Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 There is no text other that an "!Error" in the admin interface immediately after logging in. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason Kohles Sent: Wednesday, May 23, 2001 1:51 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 On Wed, May 23, 2001 at 01:50:42PM -0500, Robert Trembath wrote: > My main concern though is the admin section not working correctly. I thought > there was backwards compatability. > > Please clarify this Mike or someone who knows.... > It would help if you provided the text of the error message. > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of > Michael Soflin > Sent: Wednesday, May 23, 2001 12:30 PM > To: 'interchange-users@developer.akopia.com' > Subject: RE: [ic] FW: Admin on 4.72 not working on catalogs built in > 4.6.4 > > > I also had the 'expired page' problem. Someone from the list suggested > looking at my my proxy settings. In my case I didn't have the problem with > Netscape, only IE 5+. I was able to disable proxy in IE5 and life was > good...... > > Hope this helps.... > > > > > -----Original Message----- > From: Robert Trembath [SMTP:robert@lanstar.com] > Sent: Wednesday, May 23, 2001 12:24 PM > To: Interchange-Users@Lists.Akopia.Com (E-mail) > Subject: [ic] FW: Admin on 4.72 not working on catalogs built in 4.6.4 > > > > -----Original Message----- > From: Robert Trembath [mailto:robert@lanstar.com] > Sent: Friday, May 18, 2001 11:58 AM > To: Interchange-Users@Lists.Akopia.Com (E-mail) > Subject: Admin on 4.72 not working on catalogs built in 4.6.4 > > > I brought a store built in 4.64 over to 4.7.2 and the customer side works > well with exception of getting a page expired message when I click on buy > now from a search result. Someone else today ran across this problem, is > there a fix? > > Also when I try to login to the admin section all I get is an error message > produced by the3 process.html page. Please Help ASAP! > Many thanks, > Robert > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Larry Caragay) Date: Wed May 23 15:36:01 2001 Subject: [ic] Help with Solaris 8 install.. Has anyone one out there ever installed interchange on a Solaris 8 box?? This is the error that I am getting # ./configure Akopia Interchange Version 4.6.x Configuration Copyright 1996-2000 Akopia, Inc, <support@akopia.com> Interchange was originally based on Vend 0.2 Copyright 1995 Andrew M. Wilcox <awilcox@maine.com> Portions from Vend 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License, see the file Copying for license information. Found Perl 5.00503 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. Interchange cannot be run as root. Which user should run Interchange? [larry] Interchange V4.6.5 Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com> Interchange is free under the terms of the GNU General Public License. Where is your Interchange to be installed? [/usr/local/interchange] Writing Makefile for Interchange ./configure: make: not found ./configure: make: not found Can anyone please let me know what I am doing wrong.. thanks in advance. Larry@compwebtech.com From: interchange-users at lists.akopia.com (Tim Watts) Date: Wed May 23 15:52:00 2001 Subject: [ic] email to local name with change in MX record I've set up a car at mydomain.com The email orders go to cart_order@mydomain.com The problem is that the MX record at mydomain.com points to everyone.net (free unlimited email service) so the mail is trying to be sent locally but conflicts with the MX record. I just get dead.letter at home directory but no mail is ever sent. Any solution? Do I need to change a localhost preference to sendmail? If so where? Tim Watts president Romans1013.net Internet Hosting Loaded with features: FREE shopping cart! UNLIMITED email! No Monthly Fees - Just One Low Payment, One Time per Year! Visit our web site for details: www.Romans1013.net From: interchange-users at lists.akopia.com (Jason Kohles) Date: Wed May 23 16:18:01 2001 Subject: [ic] Help with Solaris 8 install.. On Wed, May 23, 2001 at 12:39:54PM -0700, Larry Caragay wrote: > Has anyone one out there ever installed interchange on a Solaris 8 box?? > This is the error that I am getting > > > ./configure: make: not found > ./configure: make: not found > > Can anyone please let me know what I am doing wrong.. > The make command is either not installed, or is not in your path. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Samir G. Barak) Date: Wed May 23 16:49:00 2001 Subject: [ic] Urgent: total_cost with commas and without dollar symbol Hi guys! I need some help with Interchange shop... :) I need catch the value [total_cost] and to send it in a hidden field to other form. Its ok, but I have a problem ... This value ([total_cost]) must go without the dollar symboll ($) and with the commas. In other words, if the real value is $56,89, the "new" value must be only 56,89. I already tried: a) [total-cost noformat=1] b) [total-cost noformat] But the first (a) results in a value without the commas. Example: 45 And the second (b) results in a value with the dollar symboll ($) and the price only show zeros: $0,00. Someone can help me, please? Thanks for all. ............................................ ::: Samir G. Barak ::::::::::::::::::::::::: ............................................ From: interchange-users at lists.akopia.com (Russ Mann) Date: Wed May 23 16:56:00 2001 Subject: [ic] mv_credit_card_info variable Dear List, When/where is the mv_credit_card_info variable created in the checkout process? I'd like to create it upon clicking "Refresh" on the checkout page, where it just saves the information and reloads the checkout page. Russ From: interchange-users at lists.akopia.com (kyle at invisio.com) Date: Wed May 23 17:15:01 2001 Subject: [ic] Urgent: total_cost with commas and without dollar I've never needed a noformat total_cost so I'm not sure if it takes a noformat arg.... You could use calc though: [calc interpolate=1] $tot = q{[total_cost]}; # strips anything not a number or a comma below $tot =~ s/[^0-9,]//g; return $tot; [/calc] Kyle (KC) At 04:44 PM 5/23/01 , you wrote: > > > Hi guys! > > I need some help with Interchange shop... :) > > I need catch the value [total_cost] and to send it > in a hidden field to other form. Its ok, but I > have a problem ... > > This value ([total_cost]) must go without the > dollar symboll ($) and with the commas. > > In other words, if the real value is $56,89, > the "new" value must be only 56,89. > > I already tried: > > a) [total-cost noformat=1] > b) [total-cost noformat] > > But the first (a) results in a value without the commas. > Example: 45 > > And the second (b) results in a value with the dollar > symboll ($) and the price only show zeros: $0,00. > > > Someone can help me, please? > > Thanks for all. > >............................................ >::: Samir G. Barak ::::::::::::::::::::::::: >............................................ > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jillian Carroll) Date: Wed May 23 17:18:01 2001 Subject: [ic] Promotional Pricing Is there any way to specify promotional pricing... so that during the promotion an item is a certain price, but once the promotion has ended it reverts to the regular price? Jillian Carroll Internet Consultant Horizon Computer Solutions From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 23 17:25:00 2001 Subject: [ic] Urgent: total_cost with commas and without dollar At 05:44 PM 05/23/2001 -0300, you wrote: > Hi guys! > > I need some help with Interchange shop... :) > > I need catch the value [total_cost] and to send it > in a hidden field to other form. Its ok, but I > have a problem ... > > This value ([total_cost]) must go without the > dollar symboll ($) and with the commas. > > In other words, if the real value is $56,89, > the "new" value must be only 56,89. > > I already tried: > > a) [total-cost noformat=1] > b) [total-cost noformat] > > But the first (a) results in a value without the commas. > Example: 45 > > And the second (b) results in a value with the dollar > symboll ($) and the price only show zeros: $0,00. > > > Someone can help me, please? > > Thanks for all. > I guess you could do something like: [calc]return substr '[total-cost]', 1[/calc] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Samir G. Barak) Date: Wed May 23 17:44:00 2001 Subject: [ic] Translate Interchange. Is possible ??? Hi ! I was working with the store "The Exchange Project". But I needed to migrate for Interchange today. I didn't still discover if it is possible to translate the store. In The Exchange Project that was very easy and simple. Someone tell me if it is possible too? And how I do (if course :) (Sorry for my poor english. Im not a american) ::: Samir G. Barak ::::::::::::::::::::::::: From: interchange-users at lists.akopia.com (Samir G. Barak) Date: Wed May 23 18:14:00 2001 Subject: [ic] PriceDivide => How discover ??? Hi again ! Please, somebody knows how I should do to discover the value for "PriceDivide" for my country (Brazil) ? In my catalog.cfg I put: --------- Locale pt_BR Locale pt_BR LC_ADDRESS pt_BR Locale pt_BR LC_COLLATE pt_BR Locale pt_BR LC_CTYPE pt_BR Locale pt_BR LC_IDENTIFICATION pt_BR Locale pt_BR LC_MEASUREMENT pt_BR Locale pt_BR LC_MESSAGES pt_BR Locale pt_BR LC_MONETARY pt_BR Locale pt_BR LC_NAME pt_BR Locale pt_BR LC_NUMERIC pt_BR Locale pt_BR LC_PAPER pt_BR Locale pt_BR LC_TELEPHONE pt_BR Locale pt_BR LC_TIME pt_BR #Locale pt_BR PriceDivide ??? Locale pt_BR p_cs_precedes 1 Locale pt_BR currency_symbol R$ Locale pt_BR p_sep_by_space 2 Locale pt_BR mon_thousands_sep . Locale pt_BR mon_decimal_point , --------- But not working corretly... All time that I put a product in catalog, the value changes. For example: a) If I put 55,00, it change for 5.555,00 :(( (Im not using taxes ...) Thanks for all ! ::: Samir G. Barak ::::::::::::::::::::::::: From: interchange-users at lists.akopia.com (Bernard Grosperrin) Date: Wed May 23 19:56:01 2001 Subject: [ic] bundle::Interchange problems hello List ! I have already successfully installed Interchange, but I really want to have the new version 4.7.2 working with PostgreSQL, and I always have problems, as running CPAN to get the bundle systematically reinstall perl, and it seems that screw up everything, keeping telling me that packages like URI and MD5 are not there when it just installed them.... I was so desperate that I installed different distributions, but it's always the same. So my question is twofold : Is there any special parameters I should use with CPAN to avoid this problem, or could I find these packages as tar or rpm and install them myself, rather than with CPAN ? Thanks for any advice, you will have an eternally grateful newbie.... ;-) Bernard, San Antonio From: interchange-users at lists.akopia.com (Curt Hauge) Date: Wed May 23 20:13:01 2001 Subject: [ic] Promotional Pricing Quoting Jillian Carroll > > Is there any way to specify promotional pricing... yes, look in admin under items Good Luck! Curt Hauge From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed May 23 21:21:01 2001 Subject: [ic] Interchange-users digest, Vol 1 #530 - 10 msgs Send Interchange-users mailing list submissions to interchange-users@lists.akopia.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.akopia.com/mailman/listinfo/interchange-users or, via email, send a message with subject or body 'help' to interchange-users-request@lists.akopia.com You can reach the person managing the list at interchange-users-admin@lists.akopia.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Interchange-users digest..." Today's Topics: 1. RE: New Account Creation Failure (Russ Mann) 2. images in Interchange (Guy Soudant) 3. RE: New Account Creation Failure (Ed LaFrance) 4. RE: New Account Creation Failure (Russ Mann) 5. RE: New Account Creation Failure (Ed LaFrance) 6. Filter suggestion (Rene Hertell) 7. RE: New Account Creation Failure (Russ Mann) 8. RE: New Account Creation Failure (Ed LaFrance) 9. instalation problem (Gift Bound Gifts) 10. RE: Can I run Minivend AND Interchange on the same machine? (Wilant, Michelle) --__--__-- Message: 1 From: "Russ Mann" <tech@khouse.org> To: <interchange-users@developer.akopia.com> Subject: RE: [ic] New Account Creation Failure Date: Tue, 22 May 2001 13:38:23 -0600 Reply-To: interchange-users@lists.akopia.com Thanks Ed for the tips, I got the Logout working by turning off the cookies. However, the new account creation is still failing. Any more ideas? Thanks -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed LaFrance Sent: Tuesday, May 22, 2001 9:40 AM To: interchange-users@developer.akopia.com Subject: Re: [ic] New Account Creation Failure At 05:43 PM 05/21/2001 -0600, you wrote: >Hello List, > >IC 4.6.5, RH 6.2, mySQL db. > >Account creation is failing under certain circumstances. If I clear out the >userdb entirely, I can create one account. When I log that account out, and >try to create another one, I get this error on the new_account page: > >Cannot log in after new account creation: Invalid user name or password. > >This is the error I get in the error log: >xxx.xxx.xxx.xxx 6cX9gHXp:xxx.xxx.xxx.xxx - [21/May/2001:16:34:03 -0700] >catalog /store/catalog/process.html Attempted login with nonexistent user >name 'russ' > >Where russ is the second account name I'm trying to make. > >There is no second account in the userdb. When I clear the userdb out >again, I can create one account, with the same results on the 2nd account >creation. > >Does anyone have any clue about this? Anywhere I could look, etc. > >Thanks, > Russ - this is probably a side effect of your first problem - you are being logged back in each time you log out. Fix that issue, and this one will most likely go away. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users --__--__-- Message: 2 From: "Guy Soudant" <guy@soudant.net> To: <interchange-users@developer.akopia.com> Date: Tue, 22 May 2001 22:16:12 +0200 Subject: [ic] images in Interchange Reply-To: interchange-users@lists.akopia.com Hi, Could someone please tell me where the images of the admin interface (navigation) are physically stored on the server in a default configuration, I am getting some strange images in the admin interface for version 4.7.2, and I want to copy the right images into the folder so that the page contains the correct images (if you want to have a look at the current page: www.formula1inc.com/formula1) Thanks Guy --__--__-- Message: 3 Date: Tue, 22 May 2001 13:51:41 -0700 To: interchange-users@developer.akopia.com From: Ed LaFrance <edl@newmediaems.com> Subject: RE: [ic] New Account Creation Failure Reply-To: interchange-users@lists.akopia.com At 01:38 PM 05/22/2001 -0600, you wrote: >Thanks Ed for the tips, > >I got the Logout working by turning off the cookies. However, the new >account creation is still failing. > >Any more ideas? > >Thanks Post the code from your new account page and I'll take a look... - Ed L. >-----Original Message----- >From: interchange-users-admin@developer.akopia.com >[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed >LaFrance >Sent: Tuesday, May 22, 2001 9:40 AM >To: interchange-users@developer.akopia.com >Subject: Re: [ic] New Account Creation Failure > > >At 05:43 PM 05/21/2001 -0600, you wrote: > >Hello List, > > > >IC 4.6.5, RH 6.2, mySQL db. > > > >Account creation is failing under certain circumstances. If I clear out >the > >userdb entirely, I can create one account. When I log that account out, >and > >try to create another one, I get this error on the new_account page: > > > >Cannot log in after new account creation: Invalid user name or password. > > > >This is the error I get in the error log: > >xxx.xxx.xxx.xxx 6cX9gHXp:xxx.xxx.xxx.xxx - [21/May/2001:16:34:03 -0700] > >catalog /store/catalog/process.html Attempted login with nonexistent user > >name 'russ' > > > >Where russ is the second account name I'm trying to make. > > > >There is no second account in the userdb. When I clear the userdb out > >again, I can create one account, with the same results on the 2nd account > >creation. > > > >Does anyone have any clue about this? Anywhere I could look, etc. > > > >Thanks, > > > >Russ - this is probably a side effect of your first problem - you are being >logged back in each time you log out. Fix that issue, and this one will >most likely go away. > >- Ed L. > > >=============================================================== >New Media E.M.S. Software Solutions for Business >463 Main St., Suite D eCommerce | Consulting | Hosting >Placerville, CA 95667 edl@newmediaems.com >(530) 622-9421 http://www.newmediaems.com >(866) 519-4680 Toll-Free (530) 622-9426 Fax >=============================================================== > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== --__--__-- Message: 4 From: "Russ Mann" <tech@khouse.org> To: <interchange-users@developer.akopia.com> Subject: RE: [ic] New Account Creation Failure Date: Tue, 22 May 2001 15:00:59 -0600 Reply-To: interchange-users@lists.akopia.com [comment] ui_template: Yes ui_template_name: leftonly [/comment] [set component_after][/set] [set members_only]0[/set] [set page_banner]Create a New Account[/set] [set component_hsize]2[/set] [set hbanner][/set] [set component_before][/set] [set hpromo_type]specials[/set] [set page_title]__COMPANY__ - New Account[/set] @_LEFTONLY_TOP_@ <!-- BEGIN CONTENT --> <hr noshade color="#000000"> <center><font face="Arial" size="4">Create New Account</font></center> <hr noshade color="#000000"> <p align="left"> Creating a new account with the K-House Online Store allows you to save your information securely and make future shopping experiences easier. Please see our [page help/helpsafeshop]100% Safe Shopping Guarantee</a> if you are concerned with saving your information on this website. Enter your <b>e-mail address</b> below, and choose a password that you can remember. </p> [if session logged_in][bounce href="[area account]"][/if] [if !scratch new] [if session failure] <P> <font size="2" __FFACE__><b><font color="#880000">[data session failure]</font></b></font> [data base=session field=failure value=""] <P> [/if] [else] [set new][/set] [/else] [/if] <div align="center"> <table width="350" border="1" cellspacing="0" cellpadding="0" bordercolor="#18184A" align="center"> [set NewAccount] [if type=explicit compare="[userdb new_account]"] mv_nextpage=account [else] mv_nextpage=new_account [/else] [/if] [/set] <form action="[process-target]" method="post"> <input type="hidden" name="mv_click" value="NewAccount"> <input type="hidden" name="mv_doit" value="return"> <input type="hidden" name="function" value="new_account"> <input type="hidden" name="mv_nextpage" value="account"> <input type="hidden" name="ignore_case" value="1"> <tr><td> <table width="350" border="0" cellspacing="0" cellpadding="2"> <tr><td width="81" align="right" bgcolor="#18184A"> <font size="2" __FFACE__><b><font color="#FFFFFF">E-Mail Address</font></b></font> </td><td width="204" bgcolor="#2163BD" align="left"> <input type="text" name="mv_username" value="" size="30"> </td></tr> <tr><td width="81" align="right" bgcolor="#18184A"> <font color="#FFFFFF" size="2" __FFACE__><font color="#000000"><b><font color="#FFFFFF">Password</font></b></font></font></td> <td width="204" bgcolor="#2163BD" align="left"> <input type="password" name="mv_password" value="" size="30"> </td></tr> <tr><td width="81" align="right" bgcolor="#18184A"> <p><font __FFACE__ size="2"><b><font color="#FFFFFF" size="2">Verify Password</font></b></font></p> </td> <td width="204" bgcolor="#2163BD" align="left"> <input type="password" name="mv_verify" value="" size="30"> </td></tr> <tr bgcolor="#999999"><td colspan="2" align="center"> <input type="hidden" name="mv_cookie_password" value="0"> <input type="submit" value="Create Account"> </td> </tr> </table> </td> </tr> </form> </table> </div> <!-- END CONTENT --> @_LEFTONLY_BOTTOM_@ --__--__-- Message: 5 Date: Tue, 22 May 2001 14:29:18 -0700 To: interchange-users@developer.akopia.com From: Ed LaFrance <edl@newmediaems.com> Subject: RE: [ic] New Account Creation Failure Reply-To: interchange-users@lists.akopia.com At 03:00 PM 05/22/2001 -0600, you wrote: >[comment] >ui_template: Yes >ui_template_name: leftonly >[/comment] > >[set component_after][/set] >[set members_only]0[/set] >[set page_banner]Create a New Account[/set] >[set component_hsize]2[/set] >[set hbanner][/set] >[set component_before][/set] >[set hpromo_type]specials[/set] >[set page_title]__COMPANY__ - New Account[/set] >@_LEFTONLY_TOP_@ > ><!-- BEGIN CONTENT --> ><hr noshade color="#000000"> ><center><font face="Arial" size="4">Create New Account</font></center> ><hr noshade color="#000000"> ><p align="left"> >Creating a new account with the K-House Online Store allows you to save your >information securely and make >future shopping experiences easier. Please see our [page >help/helpsafeshop]100% Safe Shopping Guarantee</a> >if you are concerned with saving your information on this website. Enter >your <b>e-mail address</b> >below, and choose a password that you can remember. ></p> >[if session logged_in][bounce href="[area account]"][/if] >[if !scratch new] >[if session failure] ><P> ><font size="2" __FFACE__><b><font color="#880000">[data session >failure]</font></b></font> >[data base=session field=failure value=""] ><P> >[/if] > >[else] >[set new][/set] >[/else] >[/if] ><div align="center"> ><table width="350" border="1" cellspacing="0" cellpadding="0" >bordercolor="#18184A" align="center"> >[set NewAccount] >[if type=explicit compare="[userdb new_account]"] >mv_nextpage=account >[else] >mv_nextpage=new_account >[/else] >[/if] >[/set] ><form action="[process-target]" method="post"> ><input type="hidden" name="mv_click" value="NewAccount"> Here is your problem, I believe. The above input should be an mv_check, which will be called after the form variables are updated; NOT mv_click, which is called before the form variables are updated. The way this is now, IC will try to create the account before the values of mv_username and mv_password are even read into the session, and in your case that might mean using old leftover values from the previous login. - Ed L> ><input type="hidden" name="mv_doit" value="return"> ><input type="hidden" name="function" value="new_account"> ><input type="hidden" name="mv_nextpage" value="account"> ><input type="hidden" name="ignore_case" value="1"> ><tr><td> ><table width="350" border="0" cellspacing="0" cellpadding="2"> ><tr><td width="81" align="right" bgcolor="#18184A"> ><font size="2" __FFACE__><b><font color="#FFFFFF">E-Mail >Address</font></b></font> ></td><td width="204" bgcolor="#2163BD" align="left"> ><input type="text" name="mv_username" value="" size="30"> ></td></tr> ><tr><td width="81" align="right" bgcolor="#18184A"> ><font color="#FFFFFF" size="2" __FFACE__><font color="#000000"><b><font >color="#FFFFFF">Password</font></b></font></font></td> ><td width="204" bgcolor="#2163BD" align="left"> ><input type="password" name="mv_password" value="" size="30"> ></td></tr> ><tr><td width="81" align="right" bgcolor="#18184A"> ><p><font __FFACE__ size="2"><b><font color="#FFFFFF" size="2">Verify >Password</font></b></font></p> ></td> ><td width="204" bgcolor="#2163BD" align="left"> ><input type="password" name="mv_verify" value="" size="30"> ></td></tr> ><tr bgcolor="#999999"><td colspan="2" align="center"> ><input type="hidden" name="mv_cookie_password" value="0"> ><input type="submit" value="Create Account"> ></td> ></tr> ></table> ></td> ></tr> ></form> ></table> ></div> > ><!-- END CONTENT --> > >@_LEFTONLY_BOTTOM_@ > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== --__--__-- Message: 6 From: "Rene Hertell" <rene@hertell.com> To: "Interchange-Users" <interchange-users@developer.akopia.com> Date: Wed, 23 May 2001 00:31:03 +0300 Subject: [ic] Filter suggestion Reply-To: interchange-users@lists.akopia.com Hi, Will there be a filter in the UI-meta_editor that would handle fields with piped values (option1|option2|option3|etc.)? I tried to make one by simply copy and modify an other filter (colons to null), but it did not work. Is there anything that prohibits this, or has my failure to do with lack of knowledge in Perl? :) René ----------------------- Energizer bunny arrested, charged with battery --__--__-- Message: 7 From: "Russ Mann" <tech@khouse.org> To: <interchange-users@developer.akopia.com> Subject: RE: [ic] New Account Creation Failure Date: Tue, 22 May 2001 15:52:26 -0600 Reply-To: interchange-users@lists.akopia.com The pertinant code in the construct demo is this: <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> <INPUT TYPE=hidden NAME=mv_doit VALUE=return> <INPUT TYPE=hidden NAME=function VALUE=new_account> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> Changing this to mv_check does not seem to make any difference. I don't think it is using previous session variables, because I then also tried to create an account from a different browser (NS) and it couldn't create a new account. I also tried from a different computer/ip/browser altogether. Russ ><form action="[process-target]" method="post"> ><input type="hidden" name="mv_click" value="NewAccount"> Here is your problem, I believe. The above input should be an mv_check, which will be called after the form variables are updated; NOT mv_click, which is called before the form variables are updated. The way this is now, IC will try to create the account before the values of mv_username and mv_password are even read into the session, and in your case that might mean using old leftover values from the previous login. - Ed L> --__--__-- Message: 8 Date: Tue, 22 May 2001 15:36:00 -0700 To: interchange-users@developer.akopia.com From: Ed LaFrance <edl@newmediaems.com> Subject: RE: [ic] New Account Creation Failure Reply-To: interchange-users@lists.akopia.com At 03:52 PM 05/22/2001 -0600, you wrote: >The pertinant code in the construct demo is this: > > <FORM ACTION="[process-target]" METHOD=POST> > <INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount> > <INPUT TYPE=hidden NAME=mv_doit VALUE=return> > <INPUT TYPE=hidden NAME=function VALUE=new_account> > <INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket> > >Changing this to mv_check does not seem to make any difference. Your right - I never paid much attention to it, it seems counterintuitive but it does work that way (checked it out on some cats over here) and the docs essentially say that it will work either way. I'm not sure if I can be of much more help. try removing the 'ignore_case' input and observing case sensitivity; otherwise I would look to the write-ability of your userdb file (permissions, etc). - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== --__--__-- Message: 9 From: "Gift Bound Gifts" <giftbound1@home.com> To: <interchange-users@developer.akopia.com> Date: Mon, 21 May 2001 21:15:20 -0400 Subject: [ic] instalation problem Reply-To: interchange-users@lists.akopia.com This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C0E23B.24601B80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I tried installing interchange and im getting this missing.le = ./share/akopia/ui/admin/back.sm.gif whats this? i updated interchange = using cvs. ------=_NextPart_000_0040_01C0E23B.24601B80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4613.1700" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I tried installing interchange and im = getting this=20 missing.le ./share/akopia/ui/admin/back.sm.gif whats this? i updated = interchange=20 using cvs.</FONT></DIV></BODY></HTML> ------=_NextPart_000_0040_01C0E23B.24601B80-- --__--__-- Message: 10 From: "Wilant, Michelle" <Michelle_Wilant@mcgraw-hill.com> To: "'interchange-users@developer.akopia.com'" <interchange-users@developer.akopia.com> Subject: RE: [ic] Can I run Minivend AND Interchange on the same machine? Date: Tue, 22 May 2001 11:11:04 -0500 Reply-To: interchange-users@lists.akopia.com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0E2D9.CD62D1C0 Content-Type: text/plain; charset="iso-8859-1" For those who are running several different versions of Interchange, question - That is what I am trying to do for us, so each store would have its own interchange. I keep running into the problem of a new install of interchange, in a different directory on the same box, wants to refer back to one of the previous versions. How do you avoid this? Do you reinstall interchange from the ./configure, or is there an easier solution that hasn't hit me over the head yet? Thanks. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com] On Behalf Of Ed LaFrance Sent: Thursday, May 17, 2001 4:05 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Can I run Minivend AND Interchange on the same machine? At 03:26 PM 05/17/2001 -0500, you wrote: >Can anyone please tell me whether or not I can safely install Interchange on >a Redhat 6.2 machine which is currently running several Minivend catalogs? > >I'm not an expert and would be more comfortable if I knew that I could keep >each catalog running under MV-3.14 and address incompatibility issues as I >upgrade the catalogs to IC-4.6.5 one at a time. > >Or... is this line of thinking completely off track? > >Thanks in advance! > - Stan Crump Stan - I have multiple vintages of Minivend and Interchange running on the same server, and in a few cases, as the same user, and it has not been a problem. Bear in mind that, for various reasons, I choose to run a separate installation if the MV/IC server for each customer/instance, rather than sharing one server install for several customer catalogs. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users ------_=_NextPart_001_01C0E2D9.CD62D1C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: [ic] Can I run Minivend AND Interchange on the same = machine?</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>For those who are running several different versions = of Interchange, question - That is what I am trying to do for us, so = each store would have its own interchange.&nbsp; I keep running into = the problem of a new install of interchange, in a different directory = on the same box, wants to refer back to one of the previous = versions.&nbsp; How do you avoid this?&nbsp; Do you reinstall = interchange from the ./configure, or is there an easier solution that = hasn't hit me over the head yet?&nbsp; Thanks.</FONT></P> <P><FONT SIZE=3D2>&nbsp;-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: &nbsp; = interchange-users-admin@developer.akopia.com [<A = HREF=3D"mailto:interchange-users-admin@developer.akopia.com">mailto:inte= rchange-users-admin@developer.akopia.com</A>]&nbsp; On Behalf Of Ed = LaFrance</FONT></P> <P><FONT SIZE=3D2>Sent:&nbsp;&nbsp; Thursday, May 17, 2001 4:05 = PM</FONT> <BR><FONT SIZE=3D2>To:&nbsp;&nbsp;&nbsp;&nbsp; = interchange-users@developer.akopia.com</FONT> <BR><FONT SIZE=3D2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Re: [ic] Can I run Minivend AND Interchange on the same&nbsp; = machine?</FONT> </P> <P><FONT SIZE=3D2>At 03:26 PM 05/17/2001 -0500, you wrote:</FONT> <BR><FONT SIZE=3D2>&gt;Can anyone please tell me whether or not I can = safely install Interchange on</FONT> <BR><FONT SIZE=3D2>&gt;a Redhat 6.2 machine which is currently running = several Minivend catalogs?</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;I'm not an expert and would be more comfortable = if I knew that I could keep</FONT> <BR><FONT SIZE=3D2>&gt;each catalog running under MV-3.14 and address = incompatibility issues as I</FONT> <BR><FONT SIZE=3D2>&gt;upgrade the catalogs to IC-4.6.5 one at a = time.</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;Or...&nbsp;&nbsp; is this line of thinking = completely off track?</FONT> <BR><FONT SIZE=3D2>&gt;</FONT> <BR><FONT SIZE=3D2>&gt;Thanks in advance!</FONT> <BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; - Stan Crump</FONT> </P> <P><FONT SIZE=3D2>Stan -</FONT> </P> <P><FONT SIZE=3D2>I have multiple vintages of Minivend and Interchange = running on the same </FONT> <BR><FONT SIZE=3D2>server, and in a few cases, as the same user, and it = has not been a </FONT> <BR><FONT SIZE=3D2>problem.&nbsp; Bear in mind that, for various = reasons, I choose to run a </FONT> <BR><FONT SIZE=3D2>separate installation if the MV/IC server for each = customer/instance, </FONT> <BR><FONT SIZE=3D2>rather than sharing one server install for several = customer catalogs.</FONT> </P> <P><FONT SIZE=3D2>- Ed L.</FONT> </P> <BR> <P><FONT = SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> <BR><FONT SIZE=3D2>New Media = E.M.S.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; Software Solutions for Business</FONT> <BR><FONT SIZE=3D2>463 Main St., Suite = D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eCommerce | = Consulting | Hosting</FONT> <BR><FONT SIZE=3D2>Placerville, CA&nbsp; = 95667&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = edl@newmediaems.com</FONT> <BR><FONT SIZE=3D2>(530) = 622-9421&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF=3D"http://www.newmediaems.com" = TARGET=3D"_blank">http://www.newmediaems.com</A></FONT> <BR><FONT SIZE=3D2>(866) 519-4680 = Toll-Free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (530) 622-9426 Fax</FONT> <BR><FONT = SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT> </P> <P><FONT SIZE=3D2>_______________________________________________</FONT>= <BR><FONT SIZE=3D2>Interchange-users mailing list</FONT> <BR><FONT SIZE=3D2>Interchange-users@lists.akopia.com</FONT> <BR><FONT SIZE=3D2><A = HREF=3D"http://lists.akopia.com/mailman/listinfo/interchange-users" = TARGET=3D"_blank">http://lists.akopia.com/mailman/listinfo/interchange-u= sers</A></FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0E2D9.CD62D1C0-- --__--__-- _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users End of Interchange-users Digest From: interchange-users at lists.akopia.com (Curt Hauge) Date: Wed May 23 22:28:01 2001 Subject: [ic] gpg error: credit card encryption failed IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 Hi list, I have been trying to figure this out all day. I've tried everything except the right thing. I have gpg 1.05 installed on my server and PGP installed on my clients Windows box. I have exported the public key from PGP and imported into gpg on the Redhat box. I have all the settings correct. Credit card encryption works GREAT for MY key, but I have exported a second key (clients key) with a different email address and can not get the second one to work. I keep getting: (Credit card encryption failed: ) on the checkout page. I also get this in my debug file: gpg: orders@my_clients_site.com: skipped: public key not found gpg: [stdin]: encryption failed: public key not found Both keys are on the same keyring (pubring.gpg) so both should be equally available and have the same permissions on them. I have chown interch:interch on the pubring.gpg file and still no go. (And it always works for MY key) Here is my ENCRYPTOR setting in variable.txt: /usr/local/bin/gpg --always-trust --batch -ea -r orders@my_clients_site.com 2>/tmp/debug_gpg I can swap out orders@my_clients_site.com for MY email and it works upon "applying changes" in admin. I can do this from the command line on the Redhat box: echo 'hello world' | gpg -ear orders@my_clients_site.com and it outputs an encrypted message which I can decrypt with the secret key on the Windows box. Am I forgetting to do something after I import the public key? After importing, I have tried: lspgpot client_data.asc | gpg --import-ownertrust and lspgpot orders@my_clients_site.com | gpg --import-ownertrust I even swapped the | for : but no go. Now, it does work great for one key but, sadly, the key that works is MY email address and not my clients. I also have another key on that public keyring which signed both imported keys. Any hints where I should look next? I have been all over gnupg.org and through the akopia archives again. Should I su interch? I'm clueless. TIA Curt Hauge From: interchange-users at lists.akopia.com (Leah Zhang Packett) Date: Wed May 23 22:48:01 2001 Subject: [ic] authorize.net integration instruction Jud, I am trying to integrate authorizenet with IC, and saw your post on http://developer2.akopia.com/archive/interchange-users/2001/msg02480.html, and like to know what kind of Authorizenet you are using: weblink, relay response or direct response? Thanks, Leah Z. Packett Compuwerx International Inc. www.compuwerx.com 708-447-8319 From: interchange-users at lists.akopia.com (Jessica Smith) Date: Thu May 24 00:32:00 2001 Subject: [ic] Installation problems on FreeBSD 3.3 Hi all, I'm just installing Interchange (4.6.5) on FreeBSD 3.3. The install exits with an error: -- PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl Can't locate Errno.pm in @INC (@INC contains: blib/arch blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at test.pl line 3. BEGIN failed--compilation aborted at test.pl line 3. *** Error code 2 -- I then do a make install, and go through the CPAN routine to install the required perl modules. This completes OK, and then I re-run ./configure and get the same message again. If I try doing another make install it seems to complete OK - I get the message: -- Your Interchange main software installation appears to have been successful. You are now ready to cd to /usr/local/interchange and run 'bin/makecat' to set up your first catalog. -- But when I cd to /usr/local/interchange, there is no ./bin directory there. Any suggestions would be most appreciated. With thanks, Jessica __________________________________________ Sales & Marketing Manager ClariNET Internet Solutions Web: www.clari.net.au Phone: 03 9486 0811 From: interchange-users at lists.akopia.com (Victor Nolton) Date: Thu May 24 01:01:01 2001 Subject: [ic] Installation problems on FreeBSD 3.3 check /usr/interchange/bin Ven >Hi all, > >I'm just installing Interchange (4.6.5) on FreeBSD 3.3. > >The install exits with an error: > >-- >PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib >-I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl >Can't locate Errno.pm in @INC (@INC contains: blib/arch blib/lib >/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 >/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd >/usr/local/lib/perl5/site_perl/5.005 .) at test.pl line 3. >BEGIN failed--compilation aborted at test.pl line 3. >*** Error code 2 >-- > >I then do a make install, and go through the CPAN routine to install >the required perl modules. This completes OK, and then I re-run >./configure and get the same message again. > >If I try doing another make install it seems to complete OK - I get >the message: > >-- >Your Interchange main software installation appears to have been successful. > >You are now ready to cd to /usr/local/interchange and run 'bin/makecat' >to set up your first catalog. >-- > >But when I cd to /usr/local/interchange, there is no ./bin directory there. > > >Any suggestions would be most appreciated. > > >With thanks, > >Jessica >__________________________________________ >Sales & Marketing Manager >ClariNET Internet Solutions >Web: www.clari.net.au Phone: 03 9486 0811 > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (root) Date: Thu May 24 02:58:00 2001 Subject: [ic] Does anyone know how to set up affiliate tracking so that... i was looking to setup affiliate tracking, which i have done, but i need a way to present it so that an affilate may sign in and only see his/her's stats and sales, not everyones. does anyone have any ideas or suggestions? From: interchange-users at lists.akopia.com (Matt Flaherty) Date: Thu May 24 11:24:01 2001 Subject: [ic] Re: CyberCash payment not processing Oh yeah, and here's a snippet from my catalog.cfg: # Uncomment to use creditCardAuto if you want, now handled better in # order profiles with "&credit_card=standard". #CreditCardAuto Yes # These are usually all you need for CyberCash 3 # Uncomment and edit to suit; make sure you remove CreditCardAuto somehow # Variable CYBER_CONFIGFILE /data/www/A002000102164657/mck-cgi/conf/merchant_conf Variable CYBER_VERSION 3.2 Variable CYBER_MODE mauthonly #ifdef CYBER_MODE Variable MV_PAYMENT_MODE mauthonly CreditCardAuto No #endif > Hi, I'm running... > > Red Hat Linux release 6.2 (Piglet) > VA Linux Release 6.2.3 08/01/00 > Kernel 2.2.14-VA.2.1smp on a 2-processor i686 > > with Apache: > Server version: Apache/1.3.12 (Unix) (Red Hat/Linux) > > and Interchange 4.6.5 running on Perl v5.6.1 > > > While investigating the module Vend::Order, I discovered that the variable > $Vend::CC3 is not set, in spite of it apparently being set to 1 in > bin/interchange in an eval block: > > -----------------------^snip------------------------- > eval { > package Vend::Order; > require CCMckLib3_2 ; > import CCMckLib3_2 qw/InitConfig %Config $MCKversion/; > require CCMckDirectLib3_2; > import CCMckDirectLib3_2 qw/SendCC2_1Server > doDirectPayment/; > require CCMckErrno3_2; > import CCMckErrno3_2 qw/MCKGetErrorMessage/; > $Vend::CC3 = 1; > $Vend::CC3server = 0; > my $ver = $CCMckLib3_2::VERSION || '3.x'; > ::logGlobal({}, "CyberCash module found (Version %s)", > $ver ) > unless $Vend::Quiet; > }; > -----------------------^snip------------------------- > > If I comment out the eval and the closing brace and try to parse directly, I > get this compile error: > > -----------------------^snip------------------------- > Global symbol "$VERSION" requires explicit package name at > /usr/local/interchange/bin/interchange line 2258, <DATA> line 1. > Execution of /usr/local/interchange/bin/interchange aborted due to > compilation errors. > -----------------------^snip------------------------- > > The catalog's error.log shows nothing. The debug file shows nothing > specific: > > -----------------------^snip------------------------- > Vend::Order:debug: profile 1 check result: var=mv_credit_card_valid val='1' > message='' Fatal=1 Final=0 > Vend::Order:debug: check returned val='1' var=DEFINED > Vend::Order:debug: profile status now=1 > Vend::Order:debug: checking profile 1: var=&charge val=mauthonly Fatal=1 > Final=0 > Vend::Order:debug: called _charge: ref=HASH(0x83f4a70) params=mauthonly > message= > Vend::Order:debug: cyber_charge, mode val= cgi= actual= > Vend::Order:debug: charge result: result= params=mauthonly message=Charge > operation '' failed > Vend::Order:debug: profile 1 check result: var=mauthonly val='' > message='Charge operation '' failed' Fatal=1 Final=0 > Vend::Order:debug: check returned val='' var=DEFINED > Vend::Order:debug: profile status now=0 > Vend::Order:debug: FINISH checking profile 1: Fatal=1 Final=0 Status=0 > -----------------------^snip------------------------- > > Can anyone help? Thanks. > > Matt Flaherty > From: interchange-users at lists.akopia.com (Matt Flaherty) Date: Thu May 24 11:31:00 2001 Subject: [ic] CyberCash payment not processing Hi, I'm running... Red Hat Linux release 6.2 (Piglet) VA Linux Release 6.2.3 08/01/00 Kernel 2.2.14-VA.2.1smp on a 2-processor i686 with Apache: Server version: Apache/1.3.12 (Unix) (Red Hat/Linux) and Interchange 4.6.5 running on Perl v5.6.1 While investigating the module Vend::Order, I discovered that the variable $Vend::CC3 is not set, in spite of it apparently being set to 1 in bin/interchange in an eval block: -----------------------^snip------------------------- eval { package Vend::Order; require CCMckLib3_2 ; import CCMckLib3_2 qw/InitConfig %Config $MCKversion/; require CCMckDirectLib3_2; import CCMckDirectLib3_2 qw/SendCC2_1Server doDirectPayment/; require CCMckErrno3_2; import CCMckErrno3_2 qw/MCKGetErrorMessage/; $Vend::CC3 = 1; $Vend::CC3server = 0; my $ver = $CCMckLib3_2::VERSION || '3.x'; ::logGlobal({}, "CyberCash module found (Version %s)", $ver ) unless $Vend::Quiet; }; -----------------------^snip------------------------- If I comment out the eval and the closing brace and try to parse directly, I get this compile error: -----------------------^snip------------------------- Global symbol "$VERSION" requires explicit package name at /usr/local/interchange/bin/interchange line 2258, <DATA> line 1. Execution of /usr/local/interchange/bin/interchange aborted due to compilation errors. -----------------------^snip------------------------- The catalog's error.log shows nothing. The debug file shows nothing specific: -----------------------^snip------------------------- Vend::Order:debug: profile 1 check result: var=mv_credit_card_valid val='1' message='' Fatal=1 Final=0 Vend::Order:debug: check returned val='1' var=DEFINED Vend::Order:debug: profile status now=1 Vend::Order:debug: checking profile 1: var=&charge val=mauthonly Fatal=1 Final=0 Vend::Order:debug: called _charge: ref=HASH(0x83f4a70) params=mauthonly message= Vend::Order:debug: cyber_charge, mode val= cgi= actual= Vend::Order:debug: charge result: result= params=mauthonly message=Charge operation '' failed Vend::Order:debug: profile 1 check result: var=mauthonly val='' message='Charge operation '' failed' Fatal=1 Final=0 Vend::Order:debug: check returned val='' var=DEFINED Vend::Order:debug: profile status now=0 Vend::Order:debug: FINISH checking profile 1: Fatal=1 Final=0 Status=0 -----------------------^snip------------------------- Can anyone help? Thanks. Matt Flaherty From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Thu May 24 11:44:01 2001 Subject: [ic] gpg error: credit card encryption failed > I keep getting: > > (Credit card encryption failed: ) > > on the checkout page. > > I also get this in my debug file: > > gpg: orders@my_clients_site.com: skipped: public key not found > gpg: [stdin]: encryption failed: public key not found > > Both keys are on the same keyring (pubring.gpg) so both should be equally > available and have the same permissions on them. I have chown > interch:interch on the pubring.gpg file and still no go. (And it always > works for MY key) > > Here is my ENCRYPTOR setting in variable.txt: > > /usr/local/bin/gpg --always-trust --batch -ea -r > orders@my_clients_site.com > 2>/tmp/debug_gpg > > I can swap out orders@my_clients_site.com for MY email and it works upon > "applying changes" in admin. > > I can do this from the command line on the Redhat box: > > echo 'hello world' | gpg -ear orders@my_clients_site.com > Under which user context are you running this? The interchange daemon user? I use the encryptor setting: /usr/bin/gpg -ear esales@mydomain.com 2>/home/mydomauin.com/interchange/gpg.log which works fine. To set this up I su to user interch and import the public key to the gpg keyring. I then signed the public key using the user's private key so I don't need the --always-trust. An alternative way is to eexplicitly set the location of the keyring, as apposed to it using ~/.gnupg/..... or whatever. Good luck Jonathan Webmaint. From: interchange-users at lists.akopia.com (Matt Flaherty) Date: Thu May 24 11:55:01 2001 Subject: [ic] Re: CyberCash payment not processing I answered my own question because I just found the message http://developer2.akopia.com/archive/interchange-users/2001/msg03608.html. Sorry, I really searched and just didn't see it before. Still, I wish that was all there in the documentation. > Oh yeah, and here's a snippet from my catalog.cfg: > > > # Uncomment to use creditCardAuto if you want, now handled better in > # order profiles with "&credit_card=standard". > #CreditCardAuto Yes > > # These are usually all you need for CyberCash 3 > # Uncomment and edit to suit; make sure you remove CreditCardAuto somehow > # > Variable CYBER_CONFIGFILE > /data/www/A002000102164657/mck-cgi/conf/merchant_conf > Variable CYBER_VERSION 3.2 > Variable CYBER_MODE mauthonly > > #ifdef CYBER_MODE > Variable MV_PAYMENT_MODE mauthonly > CreditCardAuto No > #endif > > > > > > Hi, I'm running... > > > > Red Hat Linux release 6.2 (Piglet) > > VA Linux Release 6.2.3 08/01/00 > > Kernel 2.2.14-VA.2.1smp on a 2-processor i686 > > > > with Apache: > > Server version: Apache/1.3.12 (Unix) (Red Hat/Linux) > > > > and Interchange 4.6.5 running on Perl v5.6.1 > > > > > > While investigating the module Vend::Order, I discovered that the variable > > $Vend::CC3 is not set, in spite of it apparently being set to 1 in > > bin/interchange in an eval block: > > > > -----------------------^snip------------------------- > > eval { > > package Vend::Order; > > require CCMckLib3_2 ; > > import CCMckLib3_2 qw/InitConfig %Config $MCKversion/; > > require CCMckDirectLib3_2; > > import CCMckDirectLib3_2 qw/SendCC2_1Server > > doDirectPayment/; > > require CCMckErrno3_2; > > import CCMckErrno3_2 qw/MCKGetErrorMessage/; > > $Vend::CC3 = 1; > > $Vend::CC3server = 0; > > my $ver = $CCMckLib3_2::VERSION || '3.x'; > > ::logGlobal({}, "CyberCash module found (Version %s)", > > $ver ) > > unless $Vend::Quiet; > > }; > > -----------------------^snip------------------------- > > > > If I comment out the eval and the closing brace and try to parse directly, > I > > get this compile error: > > > > -----------------------^snip------------------------- > > Global symbol "$VERSION" requires explicit package name at > > /usr/local/interchange/bin/interchange line 2258, <DATA> line 1. > > Execution of /usr/local/interchange/bin/interchange aborted due to > > compilation errors. > > -----------------------^snip------------------------- > > > > The catalog's error.log shows nothing. The debug file shows nothing > > specific: > > > > -----------------------^snip------------------------- > > Vend::Order:debug: profile 1 check result: var=mv_credit_card_valid > val='1' > > message='' Fatal=1 Final=0 > > Vend::Order:debug: check returned val='1' var=DEFINED > > Vend::Order:debug: profile status now=1 > > Vend::Order:debug: checking profile 1: var=&charge val=mauthonly Fatal=1 > > Final=0 > > Vend::Order:debug: called _charge: ref=HASH(0x83f4a70) params=mauthonly > > message= > > Vend::Order:debug: cyber_charge, mode val= cgi= actual= > > Vend::Order:debug: charge result: result= params=mauthonly message=Charge > > operation '' failed > > Vend::Order:debug: profile 1 check result: var=mauthonly val='' > > message='Charge operation '' failed' Fatal=1 Final=0 > > Vend::Order:debug: check returned val='' var=DEFINED > > Vend::Order:debug: profile status now=0 > > Vend::Order:debug: FINISH checking profile 1: Fatal=1 Final=0 Status=0 > > -----------------------^snip------------------------- > > > > Can anyone help? Thanks. > > > > Matt Flaherty > > > From: interchange-users at lists.akopia.com (interch) Date: Thu May 24 12:53:00 2001 Subject: [ic] Overriding mv_order_number I saw a post that said to override mv_order_number by setting $Session->{mv_order_number} to whatever you wanted your own custom order id to be. Where exactly should I do this? I have tried setting it in the payment module right after payment is approved but it gets changed somehwere after that and before receipt.html is shown. WHere exactly should mv_order_number be set? Chris From: interchange-users at lists.akopia.com (Curt Hauge) Date: Thu May 24 13:05:00 2001 Subject: [ic] gpg error: credit card encryption failed Thank you, Jason! That is the push I needed. The problem was (newbie here!), I have a symbolic link from the client directory to /root/.gnupg/pubring.gpg. I was putting the client key in /root/.gnupg/pubring.gpg and (because I couldn't su interch in that directory) found I had to import the key from within the client directory using the symlink to pubring.gpg. It seems that, although it is a symlink, it does not contain the same info that the original pubring.gpg contains > > I keep getting: > > > > (Credit card encryption failed: ) > > > > on the checkout page. > > > > I also get this in my debug file: > > > > gpg: orders@my_clients_site.com: skipped: public key not found > > gpg: [stdin]: encryption failed: public key not found > > > > Both keys are on the same keyring (pubring.gpg) so both should > be equally > > available and have the same permissions on them. I have chown > > interch:interch on the pubring.gpg file and still no go. (And it always > > works for MY key) > > > > Here is my ENCRYPTOR setting in variable.txt: > > > > /usr/local/bin/gpg --always-trust --batch -ea -r > > orders@my_clients_site.com > > 2>/tmp/debug_gpg > > > > I can swap out orders@my_clients_site.com for MY email and it works upon > > "applying changes" in admin. > > > > I can do this from the command line on the Redhat box: > > > > echo 'hello world' | gpg -ear orders@my_clients_site.com > > > > Under which user context are you running this? The interchange > daemon user? > > I use the encryptor setting: > > /usr/bin/gpg -ear esales@mydomain.com > 2>/home/mydomauin.com/interchange/gpg.log > > which works fine. To set this up I su to user interch and import > the public > key to the gpg keyring. I then signed the public key using the user's > private key so I don't need the --always-trust. > > An alternative way is to eexplicitly set the location of the keyring, as > apposed to it using ~/.gnupg/..... or whatever. > > Good luck > > Jonathan > Webmaint. From: interchange-users at lists.akopia.com (David Totten) Date: Thu May 24 13:15:00 2001 Subject: [ic] Overriding mv_order_number On Thu, May 24, 2001 at 09:52:44AM -0700, interch wrote: > > > I saw a post that said to override mv_order_number by setting > $Session->{mv_order_number} to whatever you wanted your own custom order > id to be. Where exactly should I do this? I have tried setting it in the > payment module right after payment is approved but it gets changed > somehwere after that and before receipt.html is shown. WHere exactly > should mv_order_number be set? The code that normally handles order_number generation is found in $CATROOT/etc/log_transaction After looking at my standard one from 4.6.4, you should be able to set your own by setting it in the values space. $Values->{mv_order_number} = 'abc123'; but look at log_transaction, and do a search for mv_order_number. Dave Totten -- Start random buzzword text: On the other hand, initiation of critical subsystem development requires considerable systems analysis and trade-off studies to arrive at the preliminary qualification limit. From: interchange-users at lists.akopia.com (interch) Date: Thu May 24 14:22:00 2001 Subject: [ic] Overriding mv_order_number One more thing I can't figure out... In my custom payment module I cannot for hte life of me figure out how to set any $Session or $Value variables so they are then available elsewhere, such as in [perl][/perl] tags. Here is an example: In the payment module I have tried setting the following: $::Values->{order_id} =10; $Vend::Session->{order_id} =10; $::Scratch->{order_id} =10; $Vend::Values->{order_id} =10; In receipt.html I have tried accessing all of hte above variables withing perl tags to no avail, there simply aren't any values in them at that point. What could I be doing wrong? Chris On Thu, 24 May 2001, interch wrote: > > > I saw a post that said to override mv_order_number by setting > $Session->{mv_order_number} to whatever you wanted your own custom order > id to be. Where exactly should I do this? I have tried setting it in the > payment module right after payment is approved but it gets changed > somehwere after that and before receipt.html is shown. WHere exactly > should mv_order_number be set? > > > Chris > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Mathew Jones) Date: Thu May 24 15:45:00 2001 Subject: [ic] CC info How can I stop the CC # been written to the files in the ord directory. It is encrypted, but I still dont want the CC # stored in any form on my server. I still want the rest of the order info written to disk. Mat __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Jeff Carnahan) Date: Thu May 24 16:03:00 2001 Subject: [ic] 4.6.5 - ./configure bug re: perl detection... I was starting a fresh install of 4.6.5 on a development machine today, and noticed the following: ------------------------------------------------- $ ./configure [VERSION & LICENSE INFO SNIPPED] Found Perl 5.006 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. Checking if your kit is complete... Looks good Interchange V4.6.5 Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com> Interchange is free under the terms of the GNU General Public License. [NORMAL INSTALL FOLLOWS] --------------------------------------------------- Notice that it said Perl 5.006 is at /usr/bin/perl.. This is incorrect: $ /usr/bin/perl -version This is perl, v5.6.0 built for i686-linux Copyright 1987-2000, Larry Wall ... This threw me for a loop for a second, before I verified that I indeed have perl 5.6 installed... This is on an older Linux 2.2.12-20smp Red Hat 6.1 box. -- Jeff Carnahan - jcarnahan@networq.com From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 24 16:33:01 2001 Subject: [ic] 4.6.5 - ./configure bug re: perl detection... At 01:02 PM 05/24/2001 -0700, you wrote: >I was starting a fresh install of 4.6.5 on a development machine today, and >noticed the following: > >------------------------------------------------- > >$ ./configure >[VERSION & LICENSE INFO SNIPPED] > >Found Perl 5.006 as /usr/bin/perl > >If you get a CPAN error, rerun the configuration and it >should go away. > >Checking if your kit is complete... >Looks good > > Interchange V4.6.5 > > Copyright (C) 1996-2001 Akopia, Inc. <info@akopia.com> > > Interchange is free under the terms of the GNU General Public License. > >[NORMAL INSTALL FOLLOWS] > >--------------------------------------------------- > >Notice that it said Perl 5.006 is at /usr/bin/perl.. This is incorrect: > >$ /usr/bin/perl -version > >This is perl, v5.6.0 built for i686-linux > >Copyright 1987-2000, Larry Wall > >... > >This threw me for a loop for a second, before I verified that I indeed have >perl 5.6 installed... It is just two different ways of expressing the same version, I think; try perl -V (note uppercase V) at the command line and you will see what I mean. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Jeff Carnahan) Date: Thu May 24 17:09:00 2001 Subject: [ic] 4.6.5 - ./configure bug re: perl detection... }>Found Perl 5.006 as /usr/bin/perl }> }>$ /usr/bin/perl -version }> }>This is perl, v5.6.0 built for i686-linux } }It is just two different ways of expressing the same version, I think; try }perl -V (note uppercase V) at the command line and you will see }what I mean. } Sorry, I still don't see it, maybe I'm being dense.. Here's what perl -V returns: $ /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=linux, osvers=2.2.12-20smp, archname=i686-linux uname='linux mercedes.networq.com 2.2.12-20smp #1 smp mon sep 27 10:34:45 edt 1999 i686 unknown ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) cppflags='-fno-strict-aliasing -I/usr/local/include' ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS ET_BITS=64' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Apr 28 2000 13:37:20 @INC: /usr/local/lib/perl5/5.6.0/i686-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i686-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl/5.00554/i686-linux /usr/local/lib/perl5/site_perl/5.00554 /usr/local/lib/perl5/site_perl . $ I don't see a mention of 5.006 anywhere.. -- Jeff Carnahan - jcarnahan@networq.com From: interchange-users at lists.akopia.com (Paulo Moniz) Date: Thu May 24 17:26:01 2001 Subject: [ic] Empty Order Manager and Databases after correct Checkout Hi All My VS does not save transactions in the transactions.txt or orderline.txt databases. When I go to the Order Manager in the Back-Office no Order appears. However the e-mail receipt is sent. I have the following relevant lines in catalog.cfg and checkout.html. Thank You in advance Paul Inteliware.net - Lisbon Portugal Catalog.cfg ********************************************************* Database locale locale.txt TAB Database 2ndDayAir 2ndDayAir.csv CSV Database Ground Ground.csv CSV Database NextDayAir NextDayAir.csv CSV AsciiTrack logs/tracking.asc Onfly onfly OrderCounter etc/order.number OrderLineLimit 25 RouteDatabase route SpecialPage report ../etc/report UpsZoneFile products/450.csv Database country country.txt TAB Database mv_shipping shipping.asc TAB Database products products.txt TAB Database userdb userdb.txt TAB Database access access.asc TAB Database mv_metadata mv_metadata.asc TAB Database orderline orderline.txt TAB Database transactions transactions.txt TAB Database variable variable.txt TAB ProductFiles products VariableDatabase variable # E-Mail que recebera as encomendas MailOrderTo interchange@192.168.48.3 SpecialPage order basket SpecialPage flypage flypage SpecialPage checkout checkout SpecialPage receipt receipt SpecialPage catalog index OrderProfile etc/profiles.order etc/profiles.login etc/profiles.misc SpecialPage search results Locale pt_PT #Locale pt_PT currency_symbol PTE #Locale pt_PT p_cs_precedes 0 #Locale pt_PT mon_thousands_sep . #Locale pt_PT mon_decimal_point . Variable CONTACT_EMAIL bleuline@mail.pt Variable DISPLAYDATE [tag time]%R %A, %d de %B de %Y[/tag] Variable TOP [include config/top] Variable LEFT [include config/left] Variable BOTTOM [include config/bottom] Variable MENUBAR [include config/menubar] DescriptionField descricaoproduto checkout.html ********************************************************* __TOP__ __MENUBAR__ __LEFT__ <b><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Encomenda</font></b> <hr> <table width="494" cellspacing="0" cellpadding="0" height="274"> <tr> <!-- Coluna de espaco --> <td width="12" height="274"></td> <td valign="top"> [if session failure] <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#ff0033"><b>[data session failure]</b><br><br></font> [data base=session field=failure value=""] [/if] [if session ship_message] <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#ff0033"><b>[data session ship_message] [data session failure]</b><br><br></font> [data base=session field=ship_message value=""] [data base=session field=failure value=""] [/if] <form method=post action="[process-target]"> <input type=hidden name=mv_todo value=submit> <input type=hidden name=mv_order_profile value=order_profile> <input type=hidden name=mv_cyber_mode value=minivend_test> <!-- <INPUT TYPE=hidden NAME=mv_order_route VALUE=""> --> <INPUT TYPE=hidden NAME=mv_order_route VALUE="log main copy_user"> <INPUT type=hidden NAME=mv_username VALUE="[value mv_username]"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Empresa:</b><br> <input type="text" name="company" size="10" value="[value company]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Nome:</b><br> <input type="text" name="fname" size="10" value="[value fname]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Apelido:<br></b> <input type="text" name="lname" size="10" value="[value lname]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Endereco:<br></b> <input type="text" name="address1" size="10" value="[value address1]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Localidade:<br></b> <input type="text" name="city" size="10" value="[value city]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Código Postal:<br></b> <input type="text" name="zip" size="10" value="[value zip]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>País:<br></b> <input type="text" name="country" size="10" value="[value country]"><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Contribuinte:<br></b> <input type="text" name="contribuinte" size="10" value="[value contribuinte]"><br><br></font> <input type=hidden name=mv_check value="Save_database"> [set Save_database] [userdb save] [tag export userdb][/tag] [/set] --> <SELECT onChange="this.form.submit()" NAME=mv_shipmode> [shipping label=1 mode=|[data table=country key='[default country US]' sf=selector col=shipmodes]| ] </SELECT> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Numero Cartao de Credito:<br></b> <input type=text name=mv_credit_card_number value="" size=20><br><br></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Validade:<br></b> <select name=mv_credit_card_exp_month> [loop lr=1 option=mv_credit_card_exp_month list=" 1 Janeiro 2 Fevereiro 3 Marco 4 Abril 5 Maio 6 Junho 7 Julho 8 Agosto 9 Setembro 10 Outubro 11 Novembro 12 Dezembro"] <option value="[loop-code]">[loop-pos 1] [/loop] </select> <select name=mv_credit_card_exp_year> [comment] This should always return the current year as the first, then 7 more years. [/comment] [loop option=mv_credit_card_exp_year lr=1 list=` my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); my $out = ''; for ($year .. $year + 7) { /\d\d(\d\d)/; $last_two = $1; $out .= "$last_two\t$_\n"; } return $out; `] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <br> <hr> <INPUT TYPE=radio NAME=email_copy [checked name=email_copy value=1 default=1] VALUE="1">Yes <INPUT TYPE=radio NAME=email_copy [checked name=email_copy value=0] VALUE="0">No <INPUT TYPE=radio NAME=mail_list [checked mail_list 1] VALUE="1">Yes <INPUT TYPE=radio NAME=mail_list [checked name=mail_list value=0 default=1] VALUE="0">No [if items] <TABLE WIDTH=450> <TR><TD COLSPAN=4 __HEADERBG__> <FONT SIZE="+2" COLOR="__HEADERTEXT__">Review order details</FONT> </TD> </TR> [item-list] <TR> <TD VALIGN=TOP MARGINWIDTH=12 MARGINHEIGHT=12> <FONT SIZE="-2"><INPUT TYPE=checkbox NAME="[quantity-name]" VALUE=0 onClick="this.form.submit()"> remove</FONT> <INPUT TYPE=hidden NAME="[quantity-name]" value="[item-quantity]"> </TD> <TD VALIGN=TOP MARGINWIDTH=12 MARGINHEIGHT=12> [item-description]</A> </TD> <TD VALIGN=TOP>[item-quantity] @ [item-price]</TD> <TD VALIGN=TOP ALIGN=RIGHT>[item-subtotal]</TD> </TR> [/item-list] <TR> <TD COLSPAN=2><A HREF="[area basket]">Back to cart</A><BR></TD> <TD>Subtotal</TD> <TD ALIGN=RIGHT>[subtotal]</TD> </TR> <TR> <TD COLSPAN=2></TD> <TD>Sales Tax</TD> <TD ALIGN=RIGHT>[salestax]</TD> </TR> <TR> <TD COLSPAN=2></TD> <TD>Shipping</TD> <TD ALIGN=RIGHT>[shipping]</TD> </TR> <TR> <TD COLSPAN=2></TD> <TD>TOTAL</TD> <TD ALIGN=RIGHT>[total-cost]</TD> </TR> </TABLE> [/if] <input type=submit name=submit value="Finalize!"> </form> </td> </tr> </table> __BOTTOM__ Paulo Moniz Inteliware.net Phone : +351.21.4527104/5 Av. São Miguel Fax : +351.21.4527106 Lote 80, Escritório 71 paulo.moniz@@inteliware.net São Miguel das Encostas www.inteliware.net 2775-751 Carcavelos From: interchange-users at lists.akopia.com (Mike Holmes) Date: Thu May 24 17:28:01 2001 Subject: [ic] Interchange server is unavailable... Dear list, We are running version interchange-4.6.4 on RH 7.0 with a few catalogs which were working fine, but now when we try to access the catalogs we get this message in the browser "We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand, please try again soon." We're unable to pin point when and what caused this, but we're pretty sure the permissions were not changed on any files. Also, no errors appear in the /var/log/interchange/error_log or the catalog error logs. Furthermore, we have restarted interchange and the box itself with no luck. Any tips? Mike Holmes Web Developer _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: interchange-users at lists.akopia.com (Jon Jensen) Date: Thu May 24 17:32:00 2001 Subject: [ic] 4.6.5 - ./configure bug re: perl detection... On Thu, 24 May 2001, Ed LaFrance wrote: > >Notice that it said Perl 5.006 is at /usr/bin/perl.. This is incorrect: > > > >$ /usr/bin/perl -version > > > >This is perl, v5.6.0 built for i686-linux > > > >Copyright 1987-2000, Larry Wall > > > >... > > > >This threw me for a loop for a second, before I verified that I indeed have > >perl 5.6 installed... > > It is just two different ways of expressing the same version, I think; try > perl -V (note uppercase V) at the command line and you will see what I mean. Please see 'perldoc perldelta' or 'man perldelta' and search for "Improved Perl version numbering system". Ed is correct that they are two ways of displaying the same version number: the old way and the new way. Interchange 4.7/4.8 takes this harmless difference into account. Jon From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 24 17:50:00 2001 Subject: [ic] 4.6.5 - ./configure bug re: perl detection... At 05:32 PM 05/24/2001 -0400, you wrote: >On Thu, 24 May 2001, Ed LaFrance wrote: > > > >Notice that it said Perl 5.006 is at /usr/bin/perl.. This is incorrect: > > > > > >$ /usr/bin/perl -version > > > > > >This is perl, v5.6.0 built for i686-linux > > > > > >Copyright 1987-2000, Larry Wall > > > > > >... > > > > > >This threw me for a loop for a second, before I verified that I indeed > have > > >perl 5.6 installed... > > > > It is just two different ways of expressing the same version, I think; try > > perl -V (note uppercase V) at the command line and you will see what I > mean. > >Please see 'perldoc perldelta' or 'man perldelta' and search for "Improved >Perl version numbering system". Ed is correct that they are two ways of >displaying the same version number: the old way and the new way. > And here is the way (at the command line) that probably agrees with IC 4.6.x: perl -e 'print $]' - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Michael Patton) Date: Thu May 24 17:54:01 2001 Subject: [ic] Interchange server is unavailable... The only time I've seen this happen (at least for just me) is when I've added a catalog, built off of a template that had bad info in the mysql.cfg and mysql.options files -- bad information being that the SQLUSER & SQLPASS weren't set so the DB & tables weren't created for the catalog I just built. When you restart the server, look for errors, it will say which ones are started and which ones ran into errors. hope this helps. On Thu, 24 May 2001, Mike Holmes wrote: > Dear list, > > We are running version interchange-4.6.4 on RH 7.0 > with a few catalogs which were working fine, but now when we try to > access the catalogs we get this message in the browser > > "We're sorry, the Interchange server is unavailable... > We are out of service or may be experiencing high system demand, please try > again soon." > > We're unable to pin point when and what caused this, but > we're pretty sure the permissions were not changed on any files. > Also, no errors appear in the /var/log/interchange/error_log or the > catalog error logs. Furthermore, we have restarted interchange and the > box itself with no luck. Any tips? > > Mike Holmes > Web Developer > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Thu May 24 18:08:01 2001 Subject: [ic] Promotional Pricing Curt- What version of IC are you running? I am running 4.6, and the only options i have are: Promotions, Teaser, Closer, Timed?, Start Date and End Date. I was going to add the discount options myself, but if there is already a method for doing this... .cfg On Wed, 23 May 2001, Curt Hauge wrote: > Quoting Jillian Carroll > > > > Is there any way to specify promotional pricing... > > yes, look in admin under items > > Good Luck! > > Curt Hauge > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Mike Holmes) Date: Thu May 24 18:12:01 2001 Subject: [ic] Interchange server is unavailable... >The only time I've seen this happen (at least for just me) is when I've >added a catalog, built off of a template that had bad info in the >mysql.cfg and mysql.options files -- bad information being that the >SQLUSER & SQLPASS weren't set so the DB & tables weren't created for the >catalog I just built. > >When you restart the server, look for errors, it will say which ones are >started and which ones ran into errors. Unfortunately, the /var/logs/interchange/error.log does not report any errors and lists the usual info: - - - [24/May/2001:16:00:19 -0500] - - STOP server (1556) on signal TERM - - - [24/May/2001:16:00:24 -0500] - - Low traffic settings. - - - [24/May/2001:16:00:24 -0500] - - Calling UI.... - - - [24/May/2001:16:00:25 -0500] - - ...UI is loaded.... - - - [24/May/2001:16:00:25 -0500] - - Interchange V4.6.4 - - - [24/May/2001:16:00:25 -0500] - - Using default DBM database. - - - [24/May/2001:16:00:25 -0500] - - Using default DBM database. - - - [24/May/2001:16:00:26 -0500] - - Using MySQL, DSN=dbi:mysql:catalog_name. - - - [24/May/2001:16:00:26 -0500] - - START server (1592) (INET and UNIX) - - - [24/May/2001:16:00:28 -0500] - - Accepting connections from localhost|127\.0\.0\.1 - - - [24/May/2001:16:00:28 -0500] - - START server (1595) (INET and UNIX) Thanks for the response though :) _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: interchange-users at lists.akopia.com (Ryan Hertz) Date: Thu May 24 18:15:00 2001 Subject: [ic] Interchange server is unavailable... At 02:27 PM 5/24/01 , Mike Holmes wrote: >Dear list, > >We are running version interchange-4.6.4 on RH 7.0 >with a few catalogs which were working fine, but now when we try to >access the catalogs we get this message in the browser > >"We're sorry, the Interchange server is unavailable... >We are out of service or may be experiencing high system demand, please >try again soon." > >We're unable to pin point when and what caused this, but >we're pretty sure the permissions were not changed on any files. You're "pretty sure"? Take a good look at the tlink program's permissions, should be chmod u+s Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 Online Store Manager http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: interchange-users at lists.akopia.com (Curt Hauge) Date: Thu May 24 18:26:00 2001 Subject: [ic] Promotional Pricing Quoting Corey Gilmore > What version of IC are you running? > I am running 4.6, and the only options i have are: > Promotions, Teaser, Closer, Timed?, Start Date and End Date. > > I was going to add the discount options myself, but if there is already a > method for doing this... > Sorry, everyone. As I told Jillian offlist I didn't read that message very well and that it does not currently support sale prices, but sale start and end dates. Just a newbie in angst trying to help out. =) Curt From: interchange-users at lists.akopia.com (Guy Soudant) Date: Thu May 24 18:28:00 2001 Subject: [ic] mv_order_number Hi, I am running version 4.7.2, and when I do some test orders, I get order numbers as follows: TEST0001. This is of course not the order number I want when I go live with this site. Could someone tell me which file I have to edit to change this, and what I have to change. Thanx Guy Soudant From: interchange-users at lists.akopia.com (Jessica Smith) Date: Thu May 24 20:17:01 2001 Subject: [ic] Re: Interchange-users digest, Vol 1 #535 - 9 msgs At 25/05/01 02:01 AM, Victor Nolton wrote: >Date: Thu, 24 May 2001 01:06:36 -0400 >To: interchange-users@developer.akopia.com >From: Victor Nolton <ven@pragakhan.com> >Subject: Re: [ic] Installation problems on FreeBSD 3.3 >Reply-To: interchange-users@lists.akopia.com > > >check /usr/interchange/bin Brilliant! Thanks, it's there and I've started running makecat OK. I didn't even think to start looking elsewhere in the file system than where Interchange told me to... :-) Jessica _____________________________________________________ WhatamIdoinghere?Thisisridiculous!I'minthewrongstory! --Into the Woods-- http://welcome.to/crystalsinger/ From: interchange-users at lists.akopia.com (Victor Nolton) Date: Thu May 24 20:22:01 2001 Subject: [ic] Re: Interchange-users digest, Vol 1 #535 - 9 msgs >>check /usr/interchange/bin > >Brilliant! Thanks, it's there and I've started running makecat OK. > >I didn't even think to start looking elsewhere in the file system >than where Interchange told me to... :-) I asked why this happens before and never got a response. I recommend moving the /usr/interchange/bin to /usr/local/interchange/bin or making a symlink. when you run maktcat I am sure it will complain about no vlink (sorry forget the exact error). Ven -- http://www.vensnews.com Victor "Ven" Nolton __________________________ http://www.VensNews.com http://PragaKhan.com http://LordsofAcid.com http://DarlingNikkie.com All HTML Encoded email will be ignored. Learn Standards. From: interchange-users at lists.akopia.com (Interchange Mailing Lists) Date: Thu May 24 22:55:01 2001 Subject: [ic] Disable Inventory Quantity Management Hey All, in the case of the construct demo.. is there a way to disable tracking/mangement of inventory levels which will prevent notification to the customer of Out of Stock/Backorder status. I know that I can manually remove the code checking for inventory conditions and decrementing of inventory; I was just looking for an easier way. Thanks, Steve Bourg From: interchange-users at lists.akopia.com (Nigel Titley) Date: Fri May 25 06:36:00 2001 Subject: [ic] Permissable values for &credit_card Am I being stupider than usual, or is the range of permissable values for &credit_card in the order profiles not documented anywhere? Or do I have to ferret around in the source? Can somebody give me a pointer or two? My site is built, all but the order side, and I need to finish it over the long weekend. Nigel From: interchange-users at lists.akopia.com (Paulo Moniz) Date: Fri May 25 07:45:00 2001 Subject: [ic] Translation of Session Messages Hi Interchange Users I would like to know how to translate session failure and session ship_message to other languages. Does anyone have this translations to Portuguese (Brazilian or Iberian) ? If not, I would try to do it!. Thank You in Advance Paul Paulo Moniz Inteliware.net Phone : +351.21.4527104/5 Av. São Miguel Fax : +351.21.4527106 80, Escritório 71 paulo.moniz@@inteliware.net São Miguel das Encostas www.inteliware.net 2775-751 Carcavelos From: interchange-users at lists.akopia.com (Leon Harris) Date: Fri May 25 08:57:01 2001 Subject: [ic] how to upload images with admin UI Hi. I can't upload images from admin --> edit items on a site I created myself. However, the simple demo allows me to do this- when I choose edit items there is a file upload link next to the image section, and a menubox with a list of images in it. I have symblinked the image directory in web space to the image dir in the interchange config dir, and the permissions are the same as for simple. I have both image and thumb columns in products.txt for my site. What else do I need to do ? Cheers, leon interchange 4.6, redhat x86 6.1 PS. Is there any doc on the admin interface ? From: interchange-users at lists.akopia.com (Tim Watts) Date: Fri May 25 09:16:01 2001 Subject: [ic] include item ship status in email receipts Default email to customer only shows items ordered, but not shipping status of individual items.I would like to include the shipping status of EACH item when email is sent to the customer. Anybody doing this? If so can you share the code? Thanks, Tim Watts president Romans1013.net Internet Hosting tim@Romans1013.net From: interchange-users at lists.akopia.com (Michael Patton) Date: Fri May 25 09:29:00 2001 Subject: [ic] Error: Table options not available. Happy Friday, I am running Interchange 4.7.1 >From the admin section, when deleting a product. I check the box, click on delete this item. It deletes it but produces the following error message: Error: Table options not available. I have looked in the DB: mysql> show tables; +------------------------------+ | Tables in test_hardwaredepot | +------------------------------+ | affiliate | | area | | cat | | country | | gift_certs | | inventory | | merchandising | | options | | order_returns | | orderline | | pricing | | products | | state | | transactions | | userdb | +------------------------------+ As you can see, options table is there. It doesn't seem to produce any real errors, except that one. Ideas ? Thanks, "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Jillian Carroll) Date: Fri May 25 09:38:00 2001 Subject: [ic] how to upload images with admin UI This happened to me... If you put a single 'sample' image in the directory, the link should appear. Jillian Carroll Internet Consultant Horizon Computer Solutions > -----Original Message----- > From: Leon Harris [mailto:leon@quoll.com] > Sent: May 25, 2001 6:57 AM > To: interchange-users@developer.akopia.com > Subject: [ic] how to upload images with admin UI > > > Hi. I can't upload images from admin --> edit items > on a site I created myself. > However, the simple demo allows me to do this- when I choose > edit items > there is a file upload link next to the image section, and a menubox > with a list of images in it. > I have symblinked the image directory in web space to the image dir in > the interchange config dir, and the permissions are the same as for > simple. I have both image and thumb columns in products.txt > for my site. > > What else do I need to do ? > Cheers, > leon > > interchange 4.6, redhat x86 6.1 > > PS. Is there any doc on the admin interface ? > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Leon Harris) Date: Fri May 25 10:36:00 2001 Subject: [ic] how to upload images with admin UI Thanks Jillian. That wasn't it. I am still looking. :) Cheers, Leon Jillian Carroll wrote: > This happened to me... If you put a single 'sample' image in the directory, > the link should appear. > > Jillian Carroll > Internet Consultant > Horizon Computer Solutions > > > -----Original Message----- > > From: Leon Harris [mailto:leon@quoll.com] > > Sent: May 25, 2001 6:57 AM > > To: interchange-users@developer.akopia.com > > Subject: [ic] how to upload images with admin UI > > > > > > Hi. I can't upload images from admin --> edit items > > on a site I created myself. > > However, the simple demo allows me to do this- when I choose > > edit items > > there is a file upload link next to the image section, and a menubox > > with a list of images in it. > > I have symblinked the image directory in web space to the image dir in > > the interchange config dir, and the permissions are the same as for > > simple. I have both image and thumb columns in products.txt > > for my site. > > > > What else do I need to do ? > > Cheers, > > leon > > > > interchange 4.6, redhat x86 6.1 > > > > PS. Is there any doc on the admin interface ? > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Fri May 25 13:02:00 2001 Subject: [ic] Permissable values for &credit_card At 11:36 AM 05/25/2001 +0100, you wrote: >Am I being stupider than usual, or is the range of permissable values for >&credit_card in the order profiles not documented anywhere? > >Or do I have to ferret around in the source? > >Can somebody give me a pointer or two? My site is built, all but the order >side, and I need to finish it over the long weekend. > >Nigel > You can alter the value of the catalog variable CREDIT_CARDS_ACCEPTED using the knar editor in the admin area - that in conjunction with the checkout profile entry &credit_card=standard __CREDIT_CARDS_ACCEPTED__ will tell Interchange what cc number systems to accept. If for some reason you need to alter the actual validation routine of the cc number and check digits, it is in interchange/lib/Vend/Order.pm, and I imagine it could be overridden: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_27.html =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Curt Hauge) Date: Fri May 25 13:06:01 2001 Subject: [ic] how to upload images with admin UI Quoting Leon Harris > > Hi. I can't upload images from admin --> edit items > on a site I created myself. > However, the simple demo allows me to do this- when I choose edit items > there is a file upload link next to the image section, and a menubox > with a list of images in it. > I have symblinked the image directory in web space to the image dir in > the interchange config dir, and the permissions are the same as for > simple. I have both image and thumb columns in products.txt for my site. > > What else do I need to do ? > interchange 4.6, redhat x86 6.1 You didn't indicate whether or not you received an error message or not. I have found that as super user you should be able to do it, but I could not upload images _without_ super user permissions, even when I checked off every possible admin utility for another user. This has been asked before without an answer. Sorry I can't be of more help. I would also like to know what needs to be done to enable image uploads by another administrator without super user permissions. I get the "not authorized" message. For now, I have given my client super user privledges until I find a workaround. > PS. Is there any doc on the admin interface ? I don't know of any detailed docs. Good luck! Curt Hauge From: interchange-users at lists.akopia.com (David Adams) Date: Fri May 25 13:45:01 2001 Subject: [ic] Interchange training courses Red hat has announced the first Interchange training courses. They are now open for enrollment. There's a one day and a five day course, and they'll be offered first in Durham NC at Red Hat HQ then in San Francisco, with other locations to follow. Information on the courses is available at: http://www.redhat.com/training/ebusiness/courses/ Also see the press release at: http://biz.yahoo.com/bw/010524/2052.html If anyone is interested in reselling courses to their clients, let me know. We haven't established terms for resellers yet, but we'd love to gauge interest. David Adams Red Hat E-Business Solutions interchange.redhat.com 703-456-2924 Office 202-422-3283 Mobile From: interchange-users at lists.akopia.com (Jason Kohles) Date: Fri May 25 14:11:01 2001 Subject: [ic] Error: Table options not available. On Fri, May 25, 2001 at 09:37:03AM -0400, Michael Patton wrote: > Happy Friday, > > I am running Interchange 4.7.1 > > >From the admin section, when deleting a product. I check the box, click > on delete this item. It deletes it but produces the following error > message: > > Error: > Table options not available. > I ran into this same problem this morning, and just checked in a fix to CVS, or you can apply this patch to lib/UI/profiles/db_maintenance: *** db_maintenance 2001/03/23 15:39:48 1.1.2.4 --- db_maintenance 2001/05/25 18:07:26 *************** *** 93,99 **** [if cgi deleterecords] [and !scratch nevair] [flag type=write table="[cgi mv_data_table] [cgi ui_delete_tables]"] ! [perl tables="[cgi mv_data_table] [cgi ui_delete_tables]"] my $idp; return unless delete $CGI->{deleterecords}; for(qw/ui_delete_id item_id/) { --- 93,108 ---- [if cgi deleterecords] [and !scratch nevair] [flag type=write table="[cgi mv_data_table] [cgi ui_delete_tables]"] ! ! [tmp mod_tables][/tmp] ! [calc] ! # get the tables to pass to the next perl tag ! my @tables = qw/[cgi mv_data_table] [cgi ui_delete_tables]/; ! map { s/:.*//; } @tables; ! $Scratch->{'mod_tables'} = join(' ',@tables); ! [/calc] ! ! [perl tables="[scratch mod_tables]"] my $idp; return unless delete $CGI->{deleterecords}; for(qw/ui_delete_id item_id/) { -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Gabe Burt) Date: Fri May 25 14:38:00 2001 Subject: [ic] customizing IC's default SQL database tables Dan, I've tried doing what you suggested as far as getting customized postgres tables up and running, but am having some trouble. Maybe you'll want to try to answer this via e-mail, but if you have the time I think it would be very helpful for me if we could meet in #interchange sometime. So far I've created a SQL file with the alter database commands in it (it also adds another table that I need) and have made those changes in the respective .pgsql files. I have touch'd the respective .sql files in the /products directory for each table I modified in the dbconf/pgsql directory. But when I try to load interchange with a catalog made from this modified construct template, I get this error: Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog testcat...Using PostgreSQL, DSN=dbi:Pg:dbname=nebag. testcat config error: ERROR: Relation 'orderline' does not exist testcat: error in configuration. Skipping. testcat: config error. Skipping. Interchange server started in INET mode(s) (process id 26305) At this point I haven't loaded my custom SQL file - should I? From what I can tell there are not tables in the database to alter, so I don't think I should yet. I'm not sure where to do from here. I think the crux of my problem is that I don't understand when and from what interchange creates the database tables for a catalog. When I was using the unmodified construct template, it seemed to create them when I started interchange for the first time. Would you happen to have the any relevant documentation bookmarked or something? I've looked through developer.akopia.com before, and have found a lot of useful information, but nothing about doing something like this. Thanks for being patient with me. Gabe --- Dan B <db@cyclonehq.dnsalias.net> wrote: > Gabe, > > At 03:46 PM 5/17/2001 -0700, you wrote: > >Thanks a lot for the advice, Dan. Two more things - what about > making > >new database tables? > > Same procedure (copied below), except you copy an existing .pgsql and > edit > it, instead of just adding one column. Also you need to first CREATE > TABLE > of course, (instead of ALTER TABLE), and pgsql has great > documentation > (like a free book online in PDF). > > >What about changing the default tables? > > You should be able to make any changes that you are capable of with > pgsql, > and as long as those changes are reflected in the respective .pgsql > file, > Interchange will be fine. > > >Can I just > >edit the .pgsql files? > > Yep. > > >Also, should I delete the .txt files in > >/products? > > It's not really necessary to delete them. As long as there is a .sql > file > (any length) then IC will utilize the SQL database instead of the > text. > > >And one more thing - how much can I change the databases > >without them breaking on me? I would like to implement table key > ID's > >using database sequences. > > Do you mean the SERIAL datatype in pgsql? Or using pgsql's record > OID? > > Either way, I don't know if IC would stand in your way or not, but I > do > know that 4.7.x has great support for autonumbering, which might be a > > better solution. (check out the latest "WHATSNEW" file for 4.7). > > >Okay, I lied, one more thing. How did you > >figure out how to do this? I appreciate your help. > > I think it's in the docs somewhere (I read them through a few times > for > good measure), but you can really tell how I "figured this out" by > looking > up my name in the mailing list. :-) I've been getting less and less > > clueless since August. > > Enjoy Interchange, Gabe. It's among the few and proud with such good > DB > support. > > -Dan B. > > > > > > > 1. start with default template construct > > > 2. add one field to database > > > psql -c "ALTER TABLE products ADD COLUMN foo > VARCHAR(64);" > > > 3. add said field to dbconf/pgsql/products.pgsql > > > 4. make sure you're not importing from text db > > > touch products/products.sql > > > 5. restart interchange > > > > > > You can often skip step 2 if you replace step 4 with "add another > > > column to > > > products/products.txt". > > > > > > HTH, > > > > > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Michael Patton) Date: Fri May 25 14:57:00 2001 Subject: [ic] Error: Table options not available. Worked like a charm, many thanks, Have a nice Holiday! michael. > I ran into this same problem this morning, and just checked in a fix to CVS, > or you can apply this patch to lib/UI/profiles/db_maintenance: > > *** db_maintenance 2001/03/23 15:39:48 1.1.2.4 > --- db_maintenance 2001/05/25 18:07:26 > *************** > *** 93,99 **** > [if cgi deleterecords] > [and !scratch nevair] > [flag type=write table="[cgi mv_data_table] [cgi ui_delete_tables]"] > ! [perl tables="[cgi mv_data_table] [cgi ui_delete_tables]"] > my $idp; > return unless delete $CGI->{deleterecords}; > for(qw/ui_delete_id item_id/) { > --- 93,108 ---- > [if cgi deleterecords] > [and !scratch nevair] > [flag type=write table="[cgi mv_data_table] [cgi ui_delete_tables]"] > ! > ! [tmp mod_tables][/tmp] > ! [calc] > ! # get the tables to pass to the next perl tag > ! my @tables = qw/[cgi mv_data_table] [cgi ui_delete_tables]/; > ! map { s/:.*//; } @tables; > ! $Scratch->{'mod_tables'} = join(' ',@tables); > ! [/calc] > ! > ! [perl tables="[scratch mod_tables]"] > my $idp; > return unless delete $CGI->{deleterecords}; > for(qw/ui_delete_id item_id/) { > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Russ Mann) Date: Fri May 25 15:05:01 2001 Subject: [ic] mv_credit_card_info variable - Round 2 Sent: Wednesday, May 23, 2001 3:02 PM To: Interchange-Users Subject: [ic] mv_credit_card_info variable Dear List, When/where is the mv_credit_card_info variable created in the checkout process? I'd like to create it upon clicking "Refresh" on the checkout page, where it just saves the information and reloads the checkout page. Russ From: interchange-users at lists.akopia.com (Randy Clapp) Date: Fri May 25 15:22:01 2001 Subject: [ic] Getting IC to display Cybercash's error/failure string All, I'm having a issue trying to get cybercash fully integrated into the demo Construct catalog. I'm running IC v4.6.1. Following instructions posted to this list, I have gotten cybercash installed and configured. Successful transactions process through just fine, but my problem is with non-successful transactions. The checkout page lists that "There were errors in your last submission. They are shown in RED below." but then doesn't list anything in red. I saw a post about adding the following to the checkout page to display the Cybercash errors: [if data session cybercash_error] <FONT COLOR=__CONTRAST__>CyberCash reports [data session cybercash_error].</FONT> [/if] But this also doesn't work. If I take out the IF statement, the errors are displayed. So there's got to be something wrong with my implementation and the IF statement, but I'm not sure what it could be. My programming syntax could be a little off, but I think I'm just copying the same format that is working other places in the script. Can anyone help? Additionally, I have one more question. When the e-mails are sent out to the Merchant, they include the credit card number used by the customer. Is there any way to change this to the number that cybercash displays <1st 2 digits>*<last 4 digits>? Thanks, Randy Clapp From: interchange-users at lists.akopia.com (Jason Timm) Date: Fri May 25 16:16:00 2001 Subject: [ic] Images in /pages directory Hi all, I want to be able to store images in the /pages directory and reference them with the [page] or [area] tag. Currently, it seems that only .html files can be referenced. Does anyone know where that filter is located? There are other file types I would like to be able to reference as well such as .css, etc. I have looked around but haven't been able to find where non .html files are filtered out. Any ideas? Thanks, Jason From: interchange-users at lists.akopia.com (Jason Kohles) Date: Fri May 25 17:07:00 2001 Subject: [ic] Images in /pages directory On Fri, May 25, 2001 at 01:14:41PM -0700, Jason Timm wrote: > I want to be able to store images in the /pages directory and reference them > with the [page] or [area] tag. Currently, it seems that only .html files > can be referenced. Does anyone know where that filter is located? There > are other file types I would like to be able to reference as well such as > .css, etc. I have looked around but haven't been able to find where non > .html files are filtered out. Any ideas? > You just have to unset the scratch variable mv_add_dot_html, like this: [set mv_add_dot_html][/set] [area stuff.css] -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Samir G. Barak) Date: Fri May 25 18:19:00 2001 Subject: [ic] My templates must work !!! How I do ???? Hi guys! I need a little help! I understand a little the concept of the templates. But I don't know I am been blind or if I am really right: doesn't exist a way of inserting the content of the store in a specific place? For example ... I have a site design like this: _____________________ | | | top | | | |---------------------| | | | | | | | left | main | | | | | | | |---------------------| | | | bottom | |_____________________| I create the regions 'top', 'left' and 'bottom'. But I want (and I really need) create (in fact) the region like 'main'. Because I need that all contents of Interchange, always display inside there. For not change the existing design of the site. I have to do a website with more complex layout (with countless tables and tables and tables, inside tables and tables and tables...) , and I don´t undestand how I place the contents in a especific (and FIXED) place. In this way (top, left and bottom), the contents always appears out of the main place. Like in the final of page ... I don't know more than to do to solve that. It would be good if existed a TAGs like this: @_INSERT-CONTENT-HERE_@ @_INSERT-SEARCH-HERE_@ @_INSERT-MENU-HERE_@ So, it would be enough to place them inside of the HTML code. <<< SOMEONE, HELP ME PLEAAAAAAAASE !!! >>>> Thanks for all! ::: Samir G. Barak ::::::::::::::::::::::::: From: interchange-users at lists.akopia.com (Jason Timm) Date: Fri May 25 19:16:01 2001 Subject: [ic] More about images in /pages directory Hi, Thanks for the tip - that did answer some questions, but... 1) Say we have an image in the /pages directory such as /pages/title.gif. If we then go to www.foo.com/cgi-bin/storefront/title.gif, we get a message that says: Sorry, the page (title.gif) was not found The requested item (title.gif) was not found. You can return to browsing our catalog, if you wish. So, for some reason it does not allow us to reference an image file in the /pages directory even if we get to it via a browser directly as opposed to a [page] or [area] tag. Is there a way to make this work? 2) Also, the <img src="title.gif"> tag seems to add /storefront/images to the image reference yielding: /storefront/images/title.gif Is there a variable similar to [set mv_add_dot_html][/set] which would allow us to turn off the addition of the /storefront/images to the image source attribute? If there is not a variable, is there another way to accomplish this? Note: I know the easy answer would be to just not put images there, but the application we are building requires it. Thanks for your help in advance... Jason -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jason Kohles Sent: Friday, May 25, 2001 1:57 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Images in /pages directory On Fri, May 25, 2001 at 01:14:41PM -0700, Jason Timm wrote: > I want to be able to store images in the /pages directory and reference them > with the [page] or [area] tag. Currently, it seems that only .html files > can be referenced. Does anyone know where that filter is located? There > are other file types I would like to be able to reference as well such as > .css, etc. I have looked around but haven't been able to find where non > .html files are filtered out. Any ideas? > You just have to unset the scratch variable mv_add_dot_html, like this: [set mv_add_dot_html][/set] [area stuff.css] -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jon Jensen) Date: Fri May 25 19:42:01 2001 Subject: [ic] More about images in /pages directory On Fri, 25 May 2001, Jason Timm wrote: > 2) Also, the <img src="title.gif"> tag seems to add /storefront/images to > the image reference yielding: > > /storefront/images/title.gif > > Is there a variable similar to [set mv_add_dot_html][/set] which would allow > us to turn off the addition of the /storefront/images to the image source > attribute? If there is not a variable, is there another way to accomplish > this? I really think you're barking up the wrong tree here, but if you want to turn off <img> tag rewriting, do: [pragma no_image_rewrite] on the page, or: Pragma no_image_rewrite in your catalog.cfg. I think you need 4.7 or later for this to work. Jon From: interchange-users at lists.akopia.com (Russ Mann) Date: Sat May 26 02:43:00 2001 Subject: [ic] mv_credit_card_info, [encrypt] tag, etc. Dear List, IC 4.6.5, RH 6.2, mySQL db. I'm trying to save encrypted CC# info to the userdb upon clicking a "Save" or "Refresh" button on the checkout.html page, instead of requiring the "Place Order" button to be clicked. The reason is that if a person enters a valid CC# and clicks on Save/Refresh, it loses the info, and they need to re-enter it. I've setup a test page to try to figure this out. I'm using the [encrypt] tag posted to the list a while back. It works when given raw data. I've setup a test form like below. This is basically a mirror of the necessary parts of the checkout.html form. This is my code to test for values: [value mv_credit_card_type]<br> [value mv_credit_card_number]<br> [value mv_credit_card_exp_month]/[value mv_credit_card_exp_year] This is my theoretical code to create the encrypted mv_credit_card_info variable upon successful CC# entering: [if mv_credit_card_valid] <pre> [encrypt][value mv_credit_card_type] [value mv_credit_card_number] [value mv_credit_card_exp_month]/[value mv_credit_card_exp_year][/encrypt] </pre> [/if] Its not working! The mv_credit_card_valid and mv_credit_card_number variables seem to be non-existant. Where do they go? How can I possibly encrypt the CC# without putting through an order? I see in the Order.pm file is the only place CC# encryption can happen. How does this code get executed? How can I run through this code without clicking on the final "Place Order" button? Thanks in advance for your help, Russ Mann TEST FORM SETUP: <form action="[process-target]" method="post" name="checkout"> <input type="hidden" name="mv_session_id" value="[data session id]"> <input type="hidden" name="mv_doit" value="refresh"> <input type="hidden" name="mv_nextpage" value="test"> <input type="text" name="mv_credit_card_number" size="30" maxlength="30"> <select name="mv_credit_card_exp_month"> [loop lr=1 option=mv_credit_card_exp_month list=" 1 01 - January 2 02 - February 3 03 - March 4 04 - April 5 05 - May 6 06 - June 7 07 - July 8 08 - August 9 09 - September 10 10 - October 11 11 - November 12 12 - December"] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <select name="mv_credit_card_exp_year"> [loop option=mv_credit_card_exp_year lr=1 list=` my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); my $out = ''; for ($year .. $year + 7) { /\d\d(\d\d)/; $last_two = $1; $out .= "$last_two\t$_\n"; } return $out; `] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <input type="submit" value="Save Information" name="mv_check"> </form> From: interchange-users at lists.akopia.com (LoadUp (Cust Serv Dept)) Date: Sun May 27 14:19:00 2001 Subject: [ic] nested loop Hello, How can you loop products in a browse as a 5 item wide table? Like: x x x x x x x x x x x x x I don't see how you start the second row as item 6 with any of the tags. I had a perl script from someone earlier, but I lost it and can't find it in the archives. -- Angelica Olins <angel@LOADUP.COM> From: interchange-users at lists.akopia.com (Richard Eicher II) Date: Sun May 27 14:42:00 2001 Subject: [ic] virtual domain? I am trying to set up a virtual domain shop. I have the Link program in the cgi-bin of the virtual domain directory. I get the index page but when I click on the customer or the admin link. I get page not found. I created the catalog with the ./makecat command using the Construct demo. The apache log gives this: [Sun May 27 08:23:54 2001] [error] [client 216.111.193.92] script not found or unable to stat: /var/www/cgi-bin/pecan After looking through the archives I have not found the fix. Has anyone run into this? Where can I get more information on this and all virtual domain shops? Thank you for your time, Richard Eicher II www.gardendalepecan.com __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Sun May 27 14:43:00 2001 Subject: [ic] nested loop > > How can you loop products in a browse as a 5 item wide table? > Like: > x x x x x > x x x x x > x x x > > I don't see how you start the second row as item 6 with any of the tags. you need [loop-alternate 6] see: http://developer.akopia.com/cgi-bin/ic/dev/ictemplates_8.html Jonathan Webmaint. From: interchange-users at lists.akopia.com (Ralph Alberti) Date: Sun May 27 15:55:01 2001 Subject: [ic] How to Unlink MD5.pm I have worked my way through the tutorial with no problems and now I am trying to create my first catalog using the bin/makecat script. I am receiving the following messages regarding MD5.pm: -------------------------------------------------------------------- Running make install Skipping /usr/lib/perl5/site_perl/5.6.0/MD5.pm (unchanged) Installing /usr/share/man/man3/MD5.3pm Writing /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/MD5/.packlist ## Differing version of ./MD5.pm found. You might like to rm /usr/lib/perl5/site_perl/5.6.0/i386-linux/MD5.pm ## Running 'make install UNINST=1' will unlink this file for you. Appending installation info to /usr/lib/perl5/5.6.0/i386-linux/perllocal.pod /usr/bin/make install -- OK -------------------------------------------------------------------- Where do I run 'make install UNINST=1' from? Or should can I just continue without any ill effects? What does MD5.pm do? --Ralph From: interchange-users at lists.akopia.com (Jim Balcom) Date: Sun May 27 16:41:00 2001 Subject: [ic] Cookie Setting Not Working On Wed, 23 May 2001, David Totten wrote: DT>>[set-cookie name=MV_USERNAME value="" expire="Tue, 03-Apr-2001 17:00:00 GMT"] DT>> DT>>Taken from some of the new 4.8 docs is this exerpt: DT>> DT>> DT>>2.69.2.3. expire DT>> DT>>Persistent cookies (that outlive a browser session) require an expiration date. The date must be a string of the form: DT>> DT>>"Wdy, DD-Mon-YYYY HH:MM:SS GMT" DT>> DT>>and the timezone must be GMT. DT>> DT>>If you do not supply a date, the cookie will disappear when the user closes the browser. Supposing that you want the cookie to expire 10 hours after it is set? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, May 27, 2001 at 16:40 PM: It's deja vu all over again. ---------------------------------------------------------------- This Linux System has been up 139 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Neeti singh) Date: Mon May 28 02:16:00 2001 Subject: [ic] Creating table in gdbm database Hi , can anybody tell me how to go abt creating my own table in the default interchange database and how to add a new column to the order_line table already existing. regards Neeti __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Mon May 28 05:42:01 2001 Subject: [ic] Creating table in gdbm database > Hi , > can anybody tell me how to go abt creating my own > table in the default interchange database and how to > add a new column to the order_line table already > existing. > regards > Neeti Have a look at the <catroot>/dbconf/default_db directory. It contains your table definitions. Alter the orderline.dbm file, and create a new file here for a new table and when you restart ic it will appear. Look at an existing file for hints. You will need to create / alter the text files for the tables in the <catroot>/products directory before the restart. Jonathan Webmaint. From: interchange-users at lists.akopia.com (Mike Heins) Date: Mon May 28 09:09:00 2001 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: interchange-users at lists.akopia.com (Ralph Alberti) Date: Mon May 28 11:53:00 2001 Subject: [ic] Additional Templates I am using IC 4.6.5 and like to try out some of the other catalog templates I've seen mentioned. Like "barry', 'simple', etc... Is there somewhere I can download these? --Ralph From: interchange-users at lists.akopia.com (Javier Martin) Date: Mon May 28 12:35:01 2001 Subject: [ic] payment only if every field is correct Hi, If you try buying something in the simple catalog that comes with IC 4.6.5, you'll see those red alerts showing when you miss some field. The same red messages appear when some error occurs while validating the credit card number, BUT you'll notice that no credit card validation takes place unless the user data fields are all filled in. However, I have written a new catalog from scratch, and find out that the credit card processing is donde altogether with the validation of all the fields, so as a result, the customer is charged every time he clicks "Submit" no matter the personal data is valid or not. My question is: how does the simple catalog do to manage this? I can't figure it out from the catalog files. I have examined the profiles.order and the ord/checkout.html without noticing anything different from my catalog. Javier From: interchange-users at lists.akopia.com (Ralph Alberti) Date: Mon May 28 13:07:00 2001 Subject: [ic] IC with MySQL I am able to create catalogs fine using the construct template with the IC database. But when I try to use MySQL I get the following error message when trying to view the site: "Undefined catalog: /cgi-bin/mycatalog" I am using IC 4.6.5 and MySQL 3.23.32-1. IC seems to work fine except for its interaction with MySQL. I am able to create databases and tables from within MySQL and even from within the makecat script. The script reports that everything has been completed sucessfully. I then restart the IC server so that the config files are read but cannot view the catalog. Any ideas? --Ralph From: interchange-users at lists.akopia.com (Javier Martin) Date: Mon May 28 13:17:00 2001 Subject: [ic] payment only if every field is correct Hello again, I've found the solution in the "Advanced Multi-Level order pages" somewhere in the docs! What was happening is that I was misplacing the &fatal=yes pragma in the order profile. The exact place where it should be is right before the last field of the customer data, for example >>>>>>>>>>>>>>>>>> fname=required lname=required address1=required country=required state=required &fatal=yes <-- abort if some error from now on email=required <-- now check the email email=email &charge=custom authorizenet <-- charge the customer >>>>>>>>>>>>>>>>>> It seems that it works because the &fatal=yes pragma tells interchange to abort the profile if any error occurs, but only after the following check is performed. If you put the &fatal=yes after the "email=email" check, then the custom charge routine is still executed although there have been errors in the earlier checks. Am I right? Javier > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Javier > Martin > Sent: lunes, 28 de mayo de 2001 18:37 > To: interchange-users@developer.akopia.com > Subject: [ic] payment only if every field is correct > > > Hi, > > If you try buying something in the simple catalog that comes with > IC 4.6.5, > you'll see those red alerts showing when you miss some field. The same red > messages appear when some error occurs while validating the credit card > number, BUT you'll notice that no credit card validation takes > place unless > the user data fields are all filled in. However, I have written a new > catalog from scratch, and find out that the credit card > processing is donde > altogether with the validation of all the fields, so as a result, the > customer is charged every time he clicks "Submit" no matter the personal > data is valid or not. > > My question is: how does the simple catalog do to manage this? I can't > figure it out from the catalog files. I have examined the > profiles.order and > the ord/checkout.html without noticing anything different from my catalog. > > Javier > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Mon May 28 13:23:01 2001 Subject: [ic] if file ... Can anyone see anything wrong with the following snippet? [if type="file" term="__SMALL_ICONS_IMAGE_DIR__/[item-field category].gif"] [then] <td><a href="[item-code].html"><img src="__SMALL_ICONS_IMAGE_DIR__/[item-field category].gif" alt="" border="0" width="14" height="14"></a></td> [/then] [else] <td><a href="[item-code].html"><img src="__SITEPIECES_IMAGE_DIR__/1pix.gif" alt="" border="0" width="14" height="14"></a></td> [/else] [/if] __SMALL_ICONS_IMAGE_DIR__ __SITEPIECES_IMAGE_DIR__ are all valid variables set in my catalog.cfg, item-field catagory is a custom field I added. This is from my results.html Basically, the problem lies in the if statement. I tried using [if file __SMALL_ICONS_IMAGE_DIR__/[item-field category].gif] And that always returned true. The if statement above, always returns false. I know that the path for both images is valid, because (depending on which 'if' statement i am using) I either get a 14x14 clear gif, or my category icon. Basically [if type="file" interpolate="1" term="__SMALL_ICONS_IMAGE_DIR__/[item-field category].gif"] returns false [if interpolate=1 file "__SMALL_ICONS_IMAGE_DIR__/[item-field category].gif"] returns true [if type="file" term="__SMALL_ICONS_IMAGE_DIR__/[item-field category].gif"] returns false [if file __SMALL_ICONS_IMAGE_DIR__/[item-field category].gif] returns true And [if file /home/httpd/pp/images/site_pieces/small_icons/[item-field category].gif] Works. Why can't I use a variable in my if statement? .cfg From: interchange-users at lists.akopia.com (Leah Zhang Packett) Date: Mon May 28 13:47:01 2001 Subject: [ic] ISP for Interchange Hi All, I am looking for ISP who will host Interchange, Any suggestions? Thanks for your help! Leah Z. Packett Compuwerx International Inc. www.compuwerx.com 708-447-8319 From: interchange-users at lists.akopia.com (Thomas N. Stefanidis) Date: Mon May 28 13:50:00 2001 Subject: [ic] Second products adds in the UI order...(ergent) Hello. Every time i order a product, i get the mail with the product i ordered, but when i get into the "Orders" from the UI it always adds randomly a second product.Any ideas why can this happend?I use 4.6.5 My customers has really been pissed off. Thomas From: interchange-users at lists.akopia.com (Salvador Caballe) Date: Mon May 28 14:22:00 2001 Subject: [ic] Additional Templates look at: ftp://ftp.minivend.com/pub/interchange/demos/ On Mon, 28 May 2001 11:53:45 -0400 Ralph Alberti <ralphalberti@att.net> wrote: > I am using IC 4.6.5 and like to try out some of the other catalog > templates I've seen mentioned. Like "barry', 'simple', etc... > > Is there somewhere I can download these? > > --Ralph > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Mon May 28 14:26:00 2001 Subject: [ic] IC with MySQL > I am able to create catalogs fine using the construct template with > the IC database. But when I try to use MySQL I get the following > error message when trying to view the site: > > "Undefined catalog: /cgi-bin/mycatalog" > > I am using IC 4.6.5 and MySQL 3.23.32-1. > What does the interchange error logfile say...? Jonathan Webmaint. From: interchange-users at lists.akopia.com (Richard Eicher II) Date: Mon May 28 14:28:01 2001 Subject: [ic] ISP for Interchange Try www.texol.net. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ From: interchange-users at lists.akopia.com (Salvador Caballe) Date: Mon May 28 14:36:01 2001 Subject: [ic] Additional Templates look at: ftp://ftp.minivend.com/pub/interchange/demos/ On Mon, 28 May 2001 11:53:45 -0400 Ralph Alberti <ralphalberti@att.net> wrote: > I am using IC 4.6.5 and like to try out some of the other catalog > templates I've seen mentioned. Like "barry', 'simple', etc... > > Is there somewhere I can download these? > > --Ralph > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Mike<mickalo>Blezien) Date: Mon May 28 14:41:01 2001 Subject: [ic] ISP for Interchange check out http://mickalo.adgrafix.com Mike(mickalo)Blezien ======================================== Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Tel: 1(225) 686-2002 ========================================= From: interchange-users at lists.akopia.com (John Beima) Date: Mon May 28 14:53:01 2001 Subject: [ic] ISP for Interchange G'Day Leah and All, We now do this, with domain hosting starting at $10.00 per month. Options include: 01) Unlimited user configurable e-mail accounts. 02) Unlimited user configurable e-mail forwards. 03) Unlimited user configurable e-mail aliases. 04) Unlimited user configurable e-mail auto-responders. 05) FTP access to your site. 06) Perl/C CGI options. 07) PHP options. 08) Interchange options. 09) MySQL options. 10) Your own domain, in some cases registration and renewal of it. 11) SSL options. 12) Virtual or IP based hosting. 13) Many more resources are available to you as well. John Beima Quoting Leah Zhang Packett <Leah@compuwerx.com>: > Hi All, > > I am looking for ISP who will host Interchange, Any suggestions? > > Thanks for your help! > > Leah Z. Packett > Compuwerx International Inc. > www.compuwerx.com > 708-447-8319 > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at lists.akopia.com (Leah Zhang Packett) Date: Mon May 28 14:56:00 2001 Subject: [ic] Integrate Authorizenet Relay Response with Interchange Hi All, I am trying to integrate Authorizenet Relay Response with Interchange. But I am have hard time with it. Does anyone has any experience with the integration? Leah Z. Packett Compuwerx International Inc. www.compuwerx.com 708-447-8319 From: interchange-users at lists.akopia.com (Thomas J.M. Burton) Date: Mon May 28 16:41:01 2001 Subject: [ic] Alternate Pricing Hello all, I'm setting up a catalog for a client who offers a few different specials to targeted audiences (via e-mail or other means). I originally set this up by creating a field for each special which contains the item's price through that offer. This would allow me to do a search for all items containing a non-zero price in the specified field and generate a page containing all items offered under a particular special. Example: sku description special1 special2 special3 price 001 item one 0 50.25 0 60.99 002 item two 18.50 19.95 0 25.00 etc... There are several product categories in this catalog, each having its own datatable. Each of these is specified in the ProductFiles directive. I'm using Interchange 4.6.5 with a MySQL database. I've encountered two problems: 1. I'm not sure of how I'll have the special price substituted for the regular price. I had thought that I might be able to do this by setting up a Locale for each of the three specials and setting the corresponding PriceField in each one. Unless you can set a locale for an individual item, that won't work. In short how can I use an alternate price for an item based on the page it is ordered from? I suppose I could use the pricing table, but I'd prefer to keep the alternate price fields in the individual product tables themselves if possible. 2. Searching for all products with a non-zero price in the special2 field, for example, only returns products from one of the product tables. Formatting of my search is: st=sql/se=0/ne=yes/sf=special2 Unless I'm mistaken, by not specifying a searchfile, it should search through all files listed in the ProductFiles directive. Either I'm missing something in my search specs or I should be going about this in a different way. Suggestions? I hope I explained all of that clearly enough and provided all necessary info. Thanks in advance for any help. :) -Tom Burton From: interchange-users at lists.akopia.com (Ben Mirecki) Date: Mon May 28 17:35:01 2001 Subject: [ic] CommonAdjust with attribute lookup Hi, I'm stuck with a CommonAdjust problem. I want to be able to create a CommonAdjust atom that looks up a value from an arbitrary table, based on two item attributes. For example, I have a pricing.txt table as follows: sku blue red green small 9.00 10.00 11.00 medium 8.75 9.75 10.75 large 6.00 7.00 8.00 I also have this... UseModifier color, size ...defined in my catalog config file. So, I need a CommonAdjust line that looks up the item price based on both color and size. Anyone know how this is done? Thanks a million! Ben (another Interchange hacker) From: interchange-users at lists.akopia.com (Vagel) Date: Mon May 28 18:28:00 2001 Subject: [ic] Numeric comparison with IF This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C0E76D.B0544C60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello everyone, Sorry to bother you with an IF problem again, but i really tried a lot = before writing to you... :-\ The problem that i have is with 'if' and numeric comparison in = Interchange V4.6.1. After having searched in the mail list i used some examples that i found = on string comparisons but this doesn't gives me the result that i'would = like. With the following code i'm trying to compare 2 numeric fileds : = 'price_retail' and 'price'. When 'price_retail' is greater than 'price', = i would like to display a message. This comparison works with '=3D' but not with '>'... Can anyone give me some info on what i'm missing? ----------------- start of snipped code ------------------ [if explicit] [condition] $price_ret =3D '[value loop-price_retail]'; $price_to_pay =3D '[value loop-price]'; return 1 if $price_ret > $price_to_pay; return 0; [/condition] message to display [/if] ------------------ end of snipped code ------------------ Thank you in advance Cheers Vagel ------=_NextPart_000_0009_01C0E76D.B0544C60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello everyone,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Sorry to bother you with an IF problem = again,=20 but&nbsp;i really tried a lot before writing to you... :-\</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>The problem that i have is with <FONT = face=3DArial=20 size=3D2>'if' and numeric comparison in Interchange V4.6.1.</FONT> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></FONT></DIV> <DIV><FONT face=3DArial size=3D2>After having searched in the mail list = i used some=20 examples that i found on string comparisons but this doesn't gives me = the result=20 that i'would like.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>With the following code i'm trying to = compare 2=20 numeric fileds : 'price_retail' and 'price'. When 'price_retail' is = greater than=20 'price', i would like to display a message.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>This comparison works with '=3D' but = not with=20 '&gt;'...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Can anyone give me some info on what = i'm=20 missing?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>----------------- start of snipped code = ------------------</FONT></DIV> <DIV><FONT face=3DArial size=3D2>[if=20 explicit]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 [condition]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 $price_ret =3D '[value=20 loop-price_retail]';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 $price_to_pay =3D '[value=20 loop-price]';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 return 1 if $price_ret &gt;=20 $price_to_pay;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 return 0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 [/condition]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = message=20 to display</FONT></DIV> <DIV><FONT face=3DArial size=3D2>[/if]<BR></FONT><FONT face=3DArial=20 size=3D2>------------------ end of snipped code = ------------------</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Thank you in advance</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Cheers</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Vagel</DIV></FONT></BODY></HTML> ------=_NextPart_000_0009_01C0E76D.B0544C60-- From: interchange-users at lists.akopia.com (Vagel) Date: Mon May 28 18:29:34 2001 Subject: [ic] Shipping and on-fly bad calculation - please help! This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C0E78D.50695820 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello again, I'm using Interchange V4.6.1 I have a problem with shipping and on-fly items My shipping fees are based on price:=20 - customer must pay 35 if order's total price is up to 240 - for orders with a total price of more than 240, transport is free. Shipping.asc is: mail by mail price 0 240 f 35 The item's value is calculated in a scratch variable and is displayed = correctly in the cart, checkout, receipt and report. The problem is that even if the price is more than 240, and only when = cart contains on-fly item(s), the 35 transportation fees are allways = added. It is like if Interchange was considering that the total price equals to = zero! If i try to modify shipping.asc by : mail by mail price 1 240 f 35 then whan cart contain only on-fly items, no transportation fees are = added even if price is under 240. I read in list's archives and i found some messages on a similar problem = wich was a bug normally fixed in version 4.03 :-\ Does anyone has any info on how to get rid of this? Your help is really appreciated Thanks in advance Cheers Vagel ------=_NextPart_000_000D_01C0E78D.50695820 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello again,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I'm using Interchange = V4.6.1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I have a problem with shipping and = on-fly=20 items</FONT></DIV> <DIV><FONT face=3DArial size=3D2>My shipping fees are&nbsp;based on = price:=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>- customer must pay 35 if order's total = price is up=20 to 240</FONT></DIV> <DIV><FONT face=3DArial size=3D2>- for orders with a total price = of&nbsp;more than=20 240, transport is free.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Shipping.asc is:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>mail&nbsp;&nbsp;&nbsp;by = mail&nbsp;&nbsp;&nbsp;=20 price&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 240&nbsp;&nbsp;&nbsp;&nbsp; f 35<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>The item's value is calculated in a = scratch=20 variable and is displayed correctly in the cart, checkout, = receipt&nbsp;and=20 report.</FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2>The problem is that even if the = price is more=20 than 240, and only when cart contains on-fly item(s), the 35 = transportation fees=20 are allways added.</FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2>It is like if Interchange was = considering=20 that the total price equals to zero!</FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial><FONT size=3D2>If i try to modify shipping.asc = by=20 :</FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2>mail&nbsp;&nbsp;&nbsp;by=20 mail&nbsp;&nbsp;&nbsp;=20 price&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 240&nbsp;&nbsp;&nbsp;&nbsp; f 35</FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial><FONT size=3D2>then whan cart contain only = on-fly items, no=20 transportation fees are added even if price is under=20 240.</FONT></FONT></DIV><FONT face=3DArial> <DIV><FONT size=3D2></FONT>&nbsp;</DIV> <DIV><FONT size=3D2>I read in list's archives and i found some messages = on a=20 similar problem wich was a bug normally fixed in version 4.03 = :-\</FONT></DIV> <DIV><FONT size=3D2></FONT>&nbsp;</DIV> <DIV><FONT size=3D2>Does anyone has any info on how to get rid of=20 this?</FONT></DIV> <DIV><FONT size=3D2>Your help is&nbsp;really appreciated</FONT></DIV> <DIV><FONT size=3D2>Thanks in advance</FONT></DIV> <DIV><FONT size=3D2></FONT>&nbsp;</DIV> <DIV><FONT size=3D2>Cheers</FONT></DIV> <DIV><FONT size=3D2>Vagel</FONT></DIV> <DIV><BR></DIV></FONT></BODY></HTML> ------=_NextPart_000_000D_01C0E78D.50695820-- From: interchange-users at lists.akopia.com (Jamby) Date: Mon May 28 19:07:00 2001 Subject: [ic] New User -- Lost Help Gasp I've loaded the interchange-4.6.5-1.rh7.i386.rpm onto my redhat linux 7.0 intel machine. Having tried demos of some other carts before my httpd.conf is somewhat different then original. I have brought it back to the /var/www/html/construct ServerRoot DocumentRoot. But when I try to use the browser on my server I get "The document contains no data" I get this at the /var/www/html level also where it should render the apache index.html. If I use file:/var/www/html/construct and select the index.html file I get the starting web page but the links are all broken. I am now wandering in a circle wondering what it can be... thanks for any help Jim H. From: interchange-users at lists.akopia.com (Jamby) Date: Mon May 28 22:27:00 2001 Subject: [ic] New User -- Lost Help sorry if this posts twice.... Gasp I've loaded the interchange-4.6.5-1.rh7.i386.rpm onto my redhat linux 7.0 intel machine. Having tried demos of some other carts before my httpd.conf is somewhat different then original. I have brought it back to the /var/www/html/construct ServerRoot DocumentRoot. But when I try to use the browser on my server I get "The document contains no data" I get this at the /var/www/html level also where it should render the apache index.html. If I use file:/var/www/html/construct and select the index.html file I get the starting web page but the links are all broken. I am now wandering in a circle wondering what it can be... thanks for any help Jim H. From: interchange-users at lists.akopia.com (Tim Watts) Date: Mon May 28 23:41:01 2001 Subject: [ic] CommonAdjust with attribute lookup Try [data table=pricing column=color key=size] should return proper price if color and size are replaced with proper info on 5/28/01 5:39 PM, Ben Mirecki at ben@quadrantfive.com wrote: > Hi, > > I'm stuck with a CommonAdjust problem. I want to be able to create a > CommonAdjust atom that looks up a value from an arbitrary table, based on > two item attributes. > > For example, I have a pricing.txt table as follows: > > sku blue red green > small 9.00 10.00 11.00 > medium 8.75 9.75 10.75 > large 6.00 7.00 8.00 > > > I also have this... > > UseModifier color, size > > ...defined in my catalog config file. So, I need a CommonAdjust line that > looks up the item price based on both color and size. Anyone know how this > is done? > > Thanks a million! > Ben (another Interchange hacker) > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Tim Watts president Romans1013.net Internet Hosting Loaded with features: FREE shopping cart! UNLIMITED email! No Monthly Fees - Just One Low Payment, One Time per Year! Visit our web site for details: www.Romans1013.net From: interchange-users at lists.akopia.com (Douglas) Date: Tue May 29 03:57:00 2001 Subject: [ic] Interchange install Hello! When trying to install Interchange 4.6 I have received error messages like this one: /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 of p od/iccattut.pod and this: 03/mach -I/usr/libdata/perl/5.00503 test.pl server/unixmode.......ok 1 server/startup........ok 2 link/unixmode.........ok 3 server/inetmode.......ok 4 link/inetmode.........not ok 5 server/control........ok 6 6 tests run -- 1/6 failed. *** Error code 1 I put the entire log at this address hopping somebody would help me. http://mangue.net/help_interchange/interchange.txt Thank you in advance! Douglas From: interchange-users at lists.akopia.com (Laurent MARTY) Date: Tue May 29 04:36:01 2001 Subject: [ic] Interchnage and SIPS This is a multi-part message in MIME format. ----------991125385 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, I would like to know if any person have installed and used the french SIPS payment with interchange. It'is easy or not ? Tank in advance. Bonjour, je soushaiterai savoir si une personne a déjà installé le système de paiement SIPS avec interchange. Y a t-il des problèmes ? Merci Laurent MARTY ----------991125385-- From: interchange-users at lists.akopia.com (Jason Kohles) Date: Tue May 29 08:54:00 2001 Subject: [ic] How to Unlink MD5.pm On Sun, May 27, 2001 at 03:55:36PM -0400, Ralph Alberti wrote: > I have worked my way through the tutorial with no problems and now I am > trying to create my first catalog using the bin/makecat script. I am > receiving the following messages regarding MD5.pm: > > Where do I run 'make install UNINST=1' from? > > Or should can I just continue without any ill effects? > > What does MD5.pm do? > MD5 is a hasing algorithm, it is used by Interchange to create cache keys, among other things, I think the odds of having the version difference cause a problem are probably extremely remote. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Jason Kohles) Date: Tue May 29 09:15:01 2001 Subject: [ic] Cookie Setting Not Working On Sun, May 27, 2001 at 04:42:13PM -0400, Jim Balcom wrote: > On Wed, 23 May 2001, David Totten wrote: > > DT>>[set-cookie name=MV_USERNAME value="" expire="Tue, 03-Apr-2001 17:00:00 GMT"] > DT>> > DT>>Taken from some of the new 4.8 docs is this exerpt: > > Supposing that you want the cookie to expire 10 hours after it is set? > There are actually two ways you can do this... The best way is probably to use the time tag: [tmp expires][time gmt=1 adjust="+10"]%a, %d-%b-%Y %H:%M:%S GMT[/time][/tmp] The only downside is that you have to remember the date format. The easy, but undocumented way is that set-cookie will take an epoch time as an expiration date... [tmp expires][time gmt=1 adjust="+10"]%s[/time][/tmp] Either of these will give you a value that set-cookie will accept as an expiration: [set-cookie value="test" name="test" expire="[scratch expires]"] -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Jason Kohles) Date: Tue May 29 09:23:01 2001 Subject: [ic] Numeric comparison with IF On Mon, May 28, 2001 at 11:59:46AM +0200, Vagel wrote: > Hello everyone, > Sorry to bother you with an IF problem again, but i really tried a lot before writing to you... :-\ > > The problem that i have is with 'if' and numeric comparison in Interchange V4.6.1. > > After having searched in the mail list i used some examples that i found on string comparisons but this doesn't gives me the result that i'would like. > > With the following code i'm trying to compare 2 numeric fileds : 'price_retail' and 'price'. When 'price_retail' is greater than 'price', i would like to display a message. > This comparison works with '=' but not with '>'... > > Can anyone give me some info on what i'm missing? > You should check and make sure that $price_ret and $price_to_pay actually do contain numbers, if they contain anything else (including dollar signs) they will get compared as strings, which will give you odd results. The reason it works with '=', is that it is not a comparison operator, try with == and see what happens. > ----------------- start of snipped code ------------------ > [if explicit] > [condition] > $price_ret = '[value loop-price_retail]'; > $price_to_pay = '[value loop-price]'; > return 1 if $price_ret > $price_to_pay; > return 0; > [/condition] > message to display > [/if] > ------------------ end of snipped code ------------------ > > Thank you in advance > Cheers > Vagel -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Mark Johnson) Date: Tue May 29 09:34:01 2001 Subject: [ic] customizing IC's default SQL database tables Gabe Burt wrote: --snip-- > I'm not sure where to do from here. I think the crux of my problem is > that I don't understand when and from what interchange creates the > database tables for a catalog. When I was using the unmodified > construct template, it seemed to create them when I started interchange > for the first time. --snip-- I missed the beginning of this discussion, so I'm not sure exactly where your problem lies. But, I can give you an overview of this particular question. There are two equally important portions of a table definition in Interchange if you are using a SQL database. There is the dbconf file, which defines the database-dependent definitions of the table, and there is the data file, which defines the field names (mandatory) and the start-up data (optional). So, at a minimum, you need a dbconf file which defines the DSN, and a data file that has all the fields present. If this is all you have, then your data file must be tab delimited, and the first field in your data file is assumed to be the primary key. Beyond this, you can define any number of various parameters about your table in the dbconf file. You can specify which field is the KEY, you can declare a DEFAULT_TYPE, which will be applied to every field found in your data file unless you supply an independent COLUMN_DEF. There are many other definitions you can apply in the dbconf file, too. Check out http://developer.akopia.com/cgi-bin/ic/dev/icdatabase So, when Interchange starts up and sees a table that has a data file and dbconf file, it checks for a file named table_name.sql in your products/ dir. If it does not find one, it will DROP the table in the database, CREATE a new one according to the parameters set in the dbconf file and the field names from the data file, and INSERT any rows of data that are in the data file. If it does find the .sql file, it will pass over the DROP, CREATE, and INSERT portion. You can define a table to use only the data it already has, essentially behaving by default as though the .sql file is always present, by the catalog directive 'NoImport table_name'. This will ensure that pre-existing data are NEVER removed from the DROP, CREATE sequence. See http://developer.akopia.com/cgi-bin/ic/dev/icconfig_120.html Even in the case of using a NoImport table, you should still have data file with all your fields defined. Interchange maintains its own metadata about the tables, and field names are derived by default from the data file. It may be the case that IC will use the SQL table to determine field names under certain circumstances, but I would not rely on that. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Tue May 29 09:41:01 2001 Subject: [ic] Getting IC to display Cybercash's error/failure string Randy Clapp wrote: > > [if data session cybercash_error] > <FONT COLOR=__CONTRAST__>CyberCash reports [data session > cybercash_error].</FONT> > [/if] > Try [if session cybercash_error] > > Additionally, I have one more question. When the e-mails are sent out to > the Merchant, they include the credit card number used by the customer. Is > there any way to change this to the number that cybercash displays <1st 2 > digits>*<last 4 digits>? [value mv_credit_card_reference] will be something like 41*1111 > > Thanks, > Randy Clapp > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (jfeingold ) Date: Tue May 29 10:05:00 2001 Subject: [ic] Static Item Pages - Please help Hi All - I've been trying to generate static item pages but with no success. Im using RedHat Linux 7.0 and Interchange 4.6.5 and Perl 5.006 My catalog.cfg file in my /var directory has the following: Static __CATALOG_STATIC__ StaticLogged __LOGGED_STATIC__ StaticAll Yes StaticDBM static StaticDepth 2 StaticDir __SAMPLEHTML__/pages StaticFly Yes StaticPath __SAMPLEURL__/pages 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.jason@machinerunner.com From: interchange-users at lists.akopia.com (Mark Johnson) Date: Tue May 29 10:12:01 2001 Subject: [ic] More about images in /pages directory Jason Timm wrote: > > Hi, > > Thanks for the tip - that did answer some questions, but... > > 1) Say we have an image in the /pages directory such as /pages/title.gif. > If we then go to www.foo.com/cgi-bin/storefront/title.gif, we get a message > that says: > > Sorry, the page (title.gif) was not found > The requested item (title.gif) was not found. You can return to browsing our > catalog, if you wish. > > So, for some reason it does not allow us to reference an image file in the > /pages directory even if we get to it via a browser directly as opposed to a > [page] or [area] tag. Is there a way to make this work? You are in for some work if this is truly your only option. In fact, I'm not even certain it can be done, but if so, this is what you'd have to do. In an autoload, you'll have to reset the config to use the current extension of the URI as the "seen" extension, which you could set to be some limited number of extensions so only the files you want served will be served. Again, I'm not even certain this would work, but it would be something like this line in an autoload routine: $Vend::Cfg->{HTMLsuffix} = '.gif'; for a gif image, where you got a request for a gif from based on the URI. Basically, Interchange will only allow a single file extension to be "seen". Also, be aware this means every image load now has to pass through Interchange, which will increase your load significantly as a new CGI/IC process will have to start/fork for each image in the page. Ouch. > > 2) Also, the <img src="title.gif"> tag seems to add /storefront/images to > the image reference yielding: > > /storefront/images/title.gif > > Is there a variable similar to [set mv_add_dot_html][/set] which would allow > us to turn off the addition of the /storefront/images to the image source > attribute? If there is not a variable, is there another way to accomplish > this? This is controlled by the IMAGE_DIR value in variable.txt. Reset it to /cgi-bin/storefront Note: I think Jon Jensen is right. You should find another way to handle this. Perhaps a symlink from the HTML space into a directory under the catalog root would do the trick? In any case, good luck. > > Note: I know the easy answer would be to just not put images there, but the > application we are building requires it. Thanks for your help in advance... > > Jason > -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Tue May 29 10:25:01 2001 Subject: [ic] Cookie Setting Not Working Jim Balcom wrote: > > On Wed, 23 May 2001, David Totten wrote: > > DT>>[set-cookie name=MV_USERNAME value="" expire="Tue, 03-Apr-2001 17:00:00 GMT"] > DT>> > DT>>Taken from some of the new 4.8 docs is this exerpt: > DT>> > DT>> > DT>>2.69.2.3. expire > DT>> > DT>>Persistent cookies (that outlive a browser session) require an expiration date. The date must be a string of the form: > DT>> > DT>>"Wdy, DD-Mon-YYYY HH:MM:SS GMT" > DT>> > DT>>and the timezone must be GMT. > DT>> > DT>>If you do not supply a date, the cookie will disappear when the user closes the browser. > > Supposing that you want the cookie to expire 10 hours after it is set? > I believe you can pass the timestamp to set the expiry. [set-cookie name=foo value=bar expire="[calc]60*60*10+[time]%s[/time][/calc]"] -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Tue May 29 10:39:00 2001 Subject: [ic] payment only if every field is correct You are right. One check is performed after the &fatal=yes. The rest are ignored. Javier Martin wrote: > > Hello again, > > I've found the solution in the "Advanced Multi-Level order pages" somewhere > in the docs! What was happening is that I was misplacing the &fatal=yes > pragma in the order profile. The exact place where it should be is right > before the last field of the customer data, for example > > >>>>>>>>>>>>>>>>>> > > fname=required > lname=required > address1=required > country=required > state=required > > &fatal=yes <-- abort if some error from now on > > email=required <-- now check the email > email=email > > &charge=custom authorizenet <-- charge the customer > > >>>>>>>>>>>>>>>>>> > > It seems that it works because the &fatal=yes pragma tells interchange to > abort the profile if any error occurs, but only after the following check is > performed. If you put the &fatal=yes after the "email=email" check, then the > custom charge routine is still executed although there have been errors in > the earlier checks. Am I right? > > Javier > > > -----Original Message----- > > From: interchange-users-admin@developer.akopia.com > > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Javier > > Martin > > Sent: lunes, 28 de mayo de 2001 18:37 > > To: interchange-users@developer.akopia.com > > Subject: [ic] payment only if every field is correct > > > > > > Hi, > > > > If you try buying something in the simple catalog that comes with > > IC 4.6.5, > > you'll see those red alerts showing when you miss some field. The same red > > messages appear when some error occurs while validating the credit card > > number, BUT you'll notice that no credit card validation takes > > place unless > > the user data fields are all filled in. However, I have written a new > > catalog from scratch, and find out that the credit card > > processing is donde > > altogether with the validation of all the fields, so as a result, the > > customer is charged every time he clicks "Submit" no matter the personal > > data is valid or not. > > > > My question is: how does the simple catalog do to manage this? I can't > > figure it out from the catalog files. I have examined the > > profiles.order and > > the ord/checkout.html without noticing anything different from my catalog. > > > > Javier > > > > _______________________________________________ > > 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 -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mat Jones - booksellersolutions.com) Date: Tue May 29 10:53:00 2001 Subject: [ic] (no subject) I am trying to create a public image gallery, where people can upload image files. I am using the [value-extended] tag as you can see in the sample code below. The catalog I am running is on 4.6.1. My problem is, when the image is save it has -rw-rw---- permissions. Is there a tag I can use to change the file permissions so it is world readable, without me having to go in to that directory and do a chmod each day.. Thanks Mat [set name=upload_filename interpolate=1][calc] $filename = ""; $filename = $CGI->{newfile}; $filename =~ s|.*[\\/]||; return $filename; [/calc][/set] [value-extended Yes=1 No=0 name=newfile outfile="images/publicgallery/[scratch upload_filename]"] booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Tue May 29 12:27:00 2001 Subject: [ic] Interchange install At 04:57 AM 05/29/2001 -0300, you wrote: >Hello! > >When trying to install Interchange 4.6 I have received error messages like >this one: > >/usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 >of p >od/iccattut.pod I also get these on occasion - the functioning of Interchange will not be affected. >and this: > >03/mach -I/usr/libdata/perl/5.00503 test.pl >server/unixmode.......ok 1 >server/startup........ok 2 >link/unixmode.........ok 3 >server/inetmode.......ok 4 >link/inetmode.........not ok 5 >server/control........ok 6 >6 tests run -- 1/6 failed. >*** Error code 1 You should still be able to install and run interchange in unix mode: make install interchange/bin/interchange -s -u - Ed L. >I put the entire log at this address hopping somebody would help me. > >http://mangue.net/help_interchange/interchange.txt > >Thank you in advance! >Douglas > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 29 13:19:00 2001 Subject: [ic] mv_credit_card_info, [encrypt] tag, etc. Round 2 -----Original Message----- Sent: Saturday, May 26, 2001 12:43 AM Subject: [ic] mv_credit_card_info, [encrypt] tag, etc. Dear List, IC 4.6.5, RH 6.2, mySQL db. I'm trying to save encrypted CC# info to the userdb upon clicking a "Save" or "Refresh" button on the checkout.html page, instead of requiring the "Place Order" button to be clicked. The reason is that if a person enters a valid CC# and clicks on Save/Refresh, it loses the info, and they need to re-enter it. I've setup a test page to try to figure this out. I'm using the [encrypt] tag posted to the list a while back. It works when given raw data. I've setup a test form like below. This is basically a mirror of the necessary parts of the checkout.html form. This is my code to test for values: [value mv_credit_card_type]<br> [value mv_credit_card_number]<br> [value mv_credit_card_exp_month]/[value mv_credit_card_exp_year] This is my theoretical code to create the encrypted mv_credit_card_info variable upon successful CC# entering: [if mv_credit_card_valid] <pre> [encrypt][value mv_credit_card_type] [value mv_credit_card_number] [value mv_credit_card_exp_month]/[value mv_credit_card_exp_year][/encrypt] </pre> [/if] Its not working! The mv_credit_card_valid and mv_credit_card_number variables seem to be non-existant. Where do they go? How can I possibly encrypt the CC# without putting through an order? I see in the Order.pm file is the only place CC# encryption can happen. How does this code get executed? How can I run through this code without clicking on the final "Place Order" button? Thanks in advance for your help, Russ Mann TEST FORM SETUP: <form action="[process-target]" method="post" name="checkout"> <input type="hidden" name="mv_session_id" value="[data session id]"> <input type="hidden" name="mv_doit" value="refresh"> <input type="hidden" name="mv_nextpage" value="test"> <input type="text" name="mv_credit_card_number" size="30" maxlength="30"> <select name="mv_credit_card_exp_month"> [loop lr=1 option=mv_credit_card_exp_month list=" 1 01 - January 2 02 - February 3 03 - March 4 04 - April 5 05 - May 6 06 - June 7 07 - July 8 08 - August 9 09 - September 10 10 - October 11 11 - November 12 12 - December"] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <select name="mv_credit_card_exp_year"> [loop option=mv_credit_card_exp_year lr=1 list=` my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); my $out = ''; for ($year .. $year + 7) { /\d\d(\d\d)/; $last_two = $1; $out .= "$last_two\t$_\n"; } return $out; `] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <input type="submit" value="Save Information" name="mv_check"> </form> _______________________________________________ From: interchange-users at lists.akopia.com (Sheamus Nulty) Date: Tue May 29 13:28:01 2001 Subject: [ic] Shipping Costs Folks, I've setup multi currencies on my test website using PriceField in locale.txt to define the price for the different currencies. Now, the problem I'm having is with the shipping costs. From the docs it looks like you should use PriceDivide but it seems that PriceDivide has precedence over the PriceField which changes the currency prices I've already added to my products table . I thought about using the locale.txt and adding a field to it like this for the different currencies ShipPriceCurrency 1 0.5409 0.1632 .71 1.16 Then I would use these in a formula to calculate the shipping ukshipping UK Air Mail weight 0 20 f 1.70 * ShipPriceCurrency However, I know I'm not accessing the ShipPriceCurrency correctly as I get a shipping cost of zero when I use this. If anyone could shed some light on this for me it would be much appreciated. Thanks Sheamus From: interchange-users at lists.akopia.com (Mat Jones - booksellersolutions.com) Date: Tue May 29 13:38:01 2001 Subject: [ic] image upload chmod I am trying to create a public image gallery, where people can upload image files. I am using the [value-extended] tag as you can see in the sample code below. The catalog I am running is on 4.6.1. My problem is, when the image is save it has -rw-rw---- permissions. Is there a tag I can use to change the file permissions so it is world readable, without me having to go in to that directory and do a chmod each day.. Thanks Mat [set name=upload_filename interpolate=1][calc] $filename = ""; $filename = $CGI->{newfile}; $filename =~ s|.*[\\/]||; return $filename; [/calc][/set] [value-extended Yes=1 No=0 name=newfile outfile="images/publicgallery/[scratch upload_filename]"] booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 From: interchange-users at lists.akopia.com (Michael Patton) Date: Tue May 29 16:11:01 2001 Subject: [ic] admin sections for each catalog I'm running 4.7.1 Question: How can I run multiple admin sections ? Makecat just makes the cat, doesn't do anything w/ the admin sections. I want each catalog to have their own 'version' of the admin section. Or -- all in all, is there an easier way to clone catalogs to get everything running than how I did it. #1 mysqldump of the 'dummy data' #2 ran makecat and used my 'dummy store' as the template -- that worked ok to a point - but it got a little buggy -- which I'm working on now. Any help would be appreciated. BTW, I need to clone 3 stores that look and act differently w/ different DB products -- any advice on doing that would be appreciated too. Thx again, "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Michael Patton) Date: Tue May 29 16:18:01 2001 Subject: [ic] Specials Random irregular - needs fiber :) I am using interchange 4.7.1 Using component: cross_horizontal When hitting the refresh button (like my qa guys like to do) repeatedly, about every 10th click you get a broken image w/ a price of $0.00. At first I thought that maybe this was the loop looking into the thumb dir and picking up a . or a .. -- but more investigation let me know what the loop is actually going into the db and selecting from the specials table. There aren't any blank rows or incomplete rows --- so I don't know where this null is coming from. anyone else have this problem ? I haven't had enough espresso today - so forgive me if I'm jumbled. thx. "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Mike Holmes) Date: Tue May 29 16:38:01 2001 Subject: [ic] Email attachment Fellow IC users I'm looking to attach a file to an email, the following syntax does not work, any tips? [email-raw] From: foo@bar.com To: foo@bar.com Attachment: path to file? Subject: baz The text of the message. [/email-raw] Mike Holmes Web Developer _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From: interchange-users at lists.akopia.com (Jason Kohles) Date: Tue May 29 16:48:01 2001 Subject: [ic] admin sections for each catalog On Tue, May 29, 2001 at 04:19:52PM -0400, Michael Patton wrote: > I'm running 4.7.1 > > Question: > > How can I run multiple admin sections ? Makecat just makes the cat, > doesn't do anything w/ the admin sections. > > I want each catalog to have their own 'version' of the admin section. > You can copy VENDROOT/lib/UI/pages/admin to CATROOT/pages/admin to let you customize the admin screens, if you need to customize the stuff in VENDROOT/lib/UI/pages/include as well, you can copy that directory to CATROOT/include. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Angie Moseley) Date: Tue May 29 16:49:14 2001 Subject: [ic] Subject: Partnership with Top-10 Promotions I visited your web site at demo.akopia.com and felt it was such a good site that I have included it in our Top-10 Links Directory at http://www.top-10.com/links/e-businesstools.html You have a great looking site!!!!!...Very informative!!! After looking through your site we felt it fit very well with our E-business Tools theme on this page http://www.top-10.com/links.html I'd LOVE to trade links so we can BOTH get additional search engine traffic by increasing our Link Popularity! The Top-10 web site is currently experiencing 100,000 Unique Visits per month. Having a link from our site to yours will help to increase the search engine traffic to your site. Increased traffic usually leads to increased business. We hope that yours increases substantially! It would be great if you would place a link to Top-10 on your site as well. As a way of showing our appreciation, we will highlight and move your LINK to the top of the E-business Tools category AND list it again in the general listings. You'll get TWO links instead of just one! Plus, if you will send me a banner in your email, I can include that with your listing for even more visibility! Here's all you would need to do: #1) Get one of our Top-10 banners at http://www.top-10.com/banners and link it to http://www.top-10.com OR Create a text link such as: "Top-10 - We'll Get You to the Top of the search engines - Guaranteed!" and link it to our web site at http://www.top-10.com #2) Email the URL where you placed our link to me at amoseley@top-10.com That's it! I will upgrade your link to be included in both the top of your category and in the general listings within 24 hours. If you have any questions about anything just email me. Thank you! Sincerely, Angie Moseley Marketing Representative Top-10 Promotions amoseley@top-10.com From: interchange-users at lists.akopia.com (Jason Kohles) Date: Tue May 29 16:58:01 2001 Subject: [ic] Email attachment On Tue, May 29, 2001 at 01:38:29PM -0700, Mike Holmes wrote: > Fellow IC users > > I'm looking to attach a file to an email, the following syntax > does not work, any tips? > Check the documentation for [tag mime], in the interchange distribution you can find an example of a file that uses it in dist/test/pages/ord/report.html, but in a nutshell, it's going to be a lot more complex than what you have here, you need to build mime headers, insert boundaries between the sections of the message, and if its a binary file you will have to encode it to text. > [email-raw] > From: foo@bar.com > To: foo@bar.com > > Attachment: path to file? > > Subject: baz > The text of the message. > [/email-raw] > > Mike Holmes > Web Developer > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Jillian Carroll) Date: Tue May 29 17:04:00 2001 Subject: [ic] Asking for more information if buying a certain product I have a project that I am working on in which I would like to be able to ask the customer for more information if they buy a certain product. *** *** For example: If John buys a cellular phone, when John checks out he will be prompted for his SIN/SSI, Driver's License Number and Date of Birth. Sandy buys something, but it isn't a phone. When she checks out, only the default information is asked for. *** *** Has anybody done anything like this? Could somebody give me some guidance as to where to start, and whether this is even a reasonable undertaking? THANKS!!! Jillian Carroll Internet Consultant Horizon Computer Solutions From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 29 17:22:00 2001 Subject: [ic] Asking for more information if buying a certain product Sure. Make a database field in the products DB that you can set to 1 or 0. Then in the cart items loop, set a scratch variable based on any carted product having a 1 in this field. Then on the profile, and checkout page, base the requirement for this field on the existance of the scratch variable. May I also suggest encrypting the SSN. Russ -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Jillian Carroll Sent: Tuesday, May 29, 2001 3:05 PM To: 'interchange-users@developer.akopia.com' Subject: [ic] Asking for more information if buying a certain product I have a project that I am working on in which I would like to be able to ask the customer for more information if they buy a certain product. *** *** For example: If John buys a cellular phone, when John checks out he will be prompted for his SIN/SSI, Driver's License Number and Date of Birth. Sandy buys something, but it isn't a phone. When she checks out, only the default information is asked for. *** *** Has anybody done anything like this? Could somebody give me some guidance as to where to start, and whether this is even a reasonable undertaking? THANKS!!! Jillian Carroll Internet Consultant Horizon Computer Solutions _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Michael Patton) Date: Tue May 29 17:36:01 2001 Subject: [ic] 4.7.1 makecat bug I should probably put this in the bug tracker now that I think about it. While using makecat for this distro - I've run into this problem everytime. Regardless of what I answer to these questions: Database to use (will be created): ...............test_demostore DBI DSN to use: ..................................dbi:mysql:test_demostore I always get prompted w/ this: Set to 1 to create 'test_hardwaredepot' with mysqladmin: ..1 and consequently this: run "mysqladmin -u www_user -pwww_user create test_hardwaredepot"? y mysqladmin: create of 'test_hardwaredepot' failed error: 'Can't create database 'test_hardwaredepot'. Database exists' Either my espresso is wearing thin or this is a bug. thx. "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 29 17:38:00 2001 Subject: [ic] Accessing subs in the .pms Hello, How can I access subroutines in the Vend/*.pm files from an IC page? Russ --------------------------------------------- "Posterity -- you will never know how much it has cost my generation to preserve your freedom. I hope you will make good use of it." --John Quincy Adams From: interchange-users at lists.akopia.com (Mike Heins) Date: Tue May 29 18:43:01 2001 Subject: [ic] image upload chmod Quoting Mat Jones - booksellersolutions.com (mat@booksellersolutions.com): > I am trying to create a public image gallery, where people can upload image > files. > I am using the [value-extended] tag as you can see in the sample code below. > The catalog I am running is on 4.6.1. > My problem is, when the image is save it has -rw-rw---- permissions. Is > there a tag I can use to change the file permissions so it is world > readable, without me having to go in to that directory and do a chmod each > day.. > > Thanks > > Mat > > [set name=upload_filename interpolate=1][calc] > $filename = ""; > $filename = $CGI->{newfile}; > $filename =~ s|.*[\\/]||; > return $filename; > [/calc][/set] > > [value-extended Yes=1 No=0 name=newfile > outfile="images/publicgallery/[scratch upload_filename]"] > Try [value-extended Yes=1 No=0 name=newfile umask=022 outfile="images/publicgallery/[scratch upload_filename]"] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: interchange-users at lists.akopia.com (Randy Clapp) Date: Tue May 29 19:11:00 2001 Subject: [ic] Getting IC to display Cybercash's error/failure string Mark, Thank you for the help. Removing the data from the If statement worked. But mv_credit_card_reference is not being populated. Looking through the session logs, my trest catalog was populating the variable in the past, but isn't now. Could it be part of the changes I made to support Cybercash? (i.e. setting Credit_Card_Auto to NO, like only the following values are getting populated with credit card information: mv_credit_card_exp_year, mv_credit_card_exp_month, and mv_credit_card_number as part of process.html. Where is the value for mv_credit_card_reference being set? -----Original Message----- From: Mark Johnson [mailto:markj@redhat.com] Sent: Tuesday, May 29, 2001 7:48 AM To: interchange-users@developer.akopia.com Subject: Re: [ic] Getting IC to display Cybercash's error/failure string Randy Clapp wrote: > > [if data session cybercash_error] > <FONT COLOR=__CONTRAST__>CyberCash reports [data session > cybercash_error].</FONT> > [/if] > Try [if session cybercash_error] > > Additionally, I have one more question. When the e-mails are sent out to > the Merchant, they include the credit card number used by the customer. Is > there any way to change this to the number that cybercash displays <1st 2 > digits>*<last 4 digits>? [value mv_credit_card_reference] will be something like 41*1111 > > Thanks, > Randy Clapp > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Tue May 29 21:11:01 2001 Subject: [ic] Asking for more information if buying a certain product Jillian Carroll <jcarroll@horizon.sk.ca> writes: > I have a project that I am working on in which I would like to be > able to ask the customer for more information if they buy a certain > product. What I do is change the mv_checkout value on the pages/ord/basket.html page. So, as I'm looking through the cart in the basket page if one of my items requires more information I just change the actual checkout page. In my case, all of my items that need a custom checkout page are in a seperate table. I do it with perl like this: [perl] $Scratch->{checkout} = ""; # reset it on each page reload for (my $i = 0; $i < @{$Items}; $i++) { my $item = $items->[$i]; if ($item->{mv_ib} eq "special_items_table") { $Scratch->{checkout} = "ord/special_checkout"; } } [/perl] Then later down in the actual form part you set <INPUT TYPE="hidden" NAME="mv_checkout" VALUE="[scratch checkout]"> Good Luck -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Tue May 29 21:17:01 2001 Subject: [ic] Accessing subs in the .pms "Russ Mann" <tech@khouse.org> writes: > How can I access subroutines in the Vend/*.pm files from an IC page? Typically, you can't access them directly. The [perl] and [mvasp] blocks are some kind of "special" environment. You should look at http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html (which is the section in the reference guide about the "Interchange Perl Objects"). Additionally, the Tag Regeference shows how to access the IC tags from within perl. Personally, I really dig this kind of IC development. More and more I am making my pages one big [perl] block. You might ask why I even bother to use IC is almost all of my pages are straight perl. Well, IC provides some really handy mechanisms for handling e-comm. I could re-write them all in my own perl library, but why? Even if I did, it wouldn't be as well tested as IC. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 29 21:23:00 2001 Subject: [ic] order profiles Dear List, I'm trying to require certain information on a form, and do CC# processing on a form that is NOT in the checkout process. I've setup an order profile, but it doesn't appear to even be accessing the profile. In profiles.order I added this: __NAME__ cc_saver_dude &credit_card=standard keep &set = rand_var MACHO &fatal=yes __END__ Below is my form. I never get errors, and when I test for [value rand_var] it never has a value. mv_credit_card_valid is never set, and neither is mv_credit_card_type. I'm able, however, to access the # with the CGI var. Any information on how to get profiles to work on non-checkout pages, or how to get the CC info to be encrypted and validated at a time other than the final placing of the order would be helpful. Thanks, Russ <form action="[process-target]" method="post" name="checkout"> <input type="hidden" name="mv_session_id" value="[data session id]"> <input type="hidden" name="mv_order_profile" value="cc_saver_dude"> [if type=explicit compare="[error all=1 show_var=1 keep=1]"] <P> <font __FFACE__ size="2"><b>There were errors in your last submission.</b> <br> They are shown in <FONT COLOR=__CONTRAST__><b><u>THIS COLOR</u></b></FONT> below.</FONT> <P> [/if] <input type="hidden" name="mv_doit" value="refresh"> <input type="hidden" name="mv_nextpage" value="test"> <input type="text" name="mv_credit_card_number" size="30" maxlength="30" value="[cgi mv_credit_card_number]"> <select name="mv_credit_card_exp_month"> [loop lr=1 option=mv_credit_card_exp_month list=" 1 01 - January 2 02 - February 3 03 - March 4 04 - April 5 05 - May 6 06 - June 7 07 - July 8 08 - August 9 09 - September 10 10 - October 11 11 - November 12 12 - December"] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <select name="mv_credit_card_exp_year"> [loop option=mv_credit_card_exp_year lr=1 list=` my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); my $out = ''; for ($year .. $year + 7) { /\d\d(\d\d)/; $last_two = $1; $out .= "$last_two\t$_\n"; } return $out; `] <option value="[loop-code]"> [loop-pos 1] [/loop] </select> <input type="submit" value="Save Information" name="mv_check"> </form> --------------------------------------------- "Posterity -- you will never know how much it has cost my generation to preserve your freedom. I hope you will make good use of it." --John Quincy Adams From: interchange-users at lists.akopia.com (Russ Mann) Date: Tue May 29 21:24:00 2001 Subject: [ic] Accessing subs in the .pms How about in a GlobalSub or usertag? Thanks, Russ -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Doug Alcorn Sent: Tuesday, May 29, 2001 7:28 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Accessing subs in the .pms "Russ Mann" <tech@khouse.org> writes: > How can I access subroutines in the Vend/*.pm files from an IC page? Typically, you can't access them directly. The [perl] and [mvasp] blocks are some kind of "special" environment. You should look at http://developer.akopia.com/cgi-bin/ic/dev/icconfig_30.html (which is the section in the reference guide about the "Interchange Perl Objects"). Additionally, the Tag Regeference shows how to access the IC tags from within perl. Personally, I really dig this kind of IC development. More and more I am making my pages one big [perl] block. You might ask why I even bother to use IC is almost all of my pages are straight perl. Well, IC provides some really handy mechanisms for handling e-comm. I could re-write them all in my own perl library, but why? Even if I did, it wouldn't be as well tested as IC. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (interch) Date: Tue May 29 21:26:01 2001 Subject: [ic] 4.7.1 makecat bug Actually what is happening is that somewhere you ran makecat before specifying the same database, and it is just letting you know that the database already exists. It's rather harmless. If you don't want to see the error just delete the database before running makecat. Chris On Tue, 29 May 2001, Michael Patton wrote: > I should probably put this in the bug tracker now that I think about it. > > While using makecat for this distro - I've run into this problem > everytime. > > Regardless of what I answer to these questions: > Database to use (will be created): ...............test_demostore > DBI DSN to use: ..................................dbi:mysql:test_demostore > > I always get prompted w/ this: > > Set to 1 to create 'test_hardwaredepot' with mysqladmin: ..1 > and consequently this: > run "mysqladmin -u www_user -pwww_user create test_hardwaredepot"? y > mysqladmin: create of 'test_hardwaredepot' failed > error: 'Can't create database 'test_hardwaredepot'. Database exists' > > Either my espresso is wearing thin or this is a bug. > > thx. > > "While you're pointing fingers, someone is accusing you" - Bob Marley > Michael Patton, Web Developer > www.mycity.com, map@mycity.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (interch) Date: Tue May 29 21:32:00 2001 Subject: [ic] Interchange install On Tue, 29 May 2001, Douglas wrote: > Hello! > > When trying to install Interchange 4.6 I have received error messages like > this one: > > /usr/bin/pod2man: Improper man page - no dash in NAME header in paragraph 2 > of p > od/iccattut.pod haven't seen this one, harmless though I would think.. > > and this: > > 03/mach -I/usr/libdata/perl/5.00503 test.pl > server/unixmode.......ok 1 > server/startup........ok 2 > link/unixmode.........ok 3 > server/inetmode.......ok 4 > link/inetmode.........not ok 5 > server/control........ok 6 > 6 tests run -- 1/6 failed. > *** Error code 1 > The tests don't seem to be setup correctly for some platforms? This happens every time to me also. My solution was to not use configure and just do: perl Makefile.PL make install This skips make test, install everything, and interchange then runs fine, at least here running freebsd. Chris > I put the entire log at this address hopping somebody would help me. > > http://mangue.net/help_interchange/interchange.txt > > Thank you in advance! > Douglas > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (interch) Date: Tue May 29 21:35:01 2001 Subject: [ic] kill -TERM on freebsd The restart script won't work for me on freebsd. Kill -TERM doesn't seem to do the job. Kill -KILL works fine. Since the intent is to kill interchange and restart it instead of using a -HUP and rereading config info, why is this not set to -KILL by default anyways? Especially since perl programs seem to be notorious for not catching signals correctly. Chris From: interchange-users at lists.akopia.com (Ben Mirecki) Date: Tue May 29 23:22:01 2001 Subject: [ic] RE: Interchange-users digest, Vol 1 #542 - 13 msgs Here's my CommonAdjust line.. CommonAdjust ==size:pricing:blue Which (based on the table illustrated below) will look up the row in the pricing table with a sku matching the "size" attribute and the column named "blue". Now, my question is, how do I replace "blue" with a variable value, as such: CommonAdjust ==size:pricing:color ^^^^ ^^^^^ variable variable How can I do this? Do I need to use embedded Perl? If so, please give an example for myself and those of us who are still learning this stuff! Thanks! ------------------------------- Try [data table=pricing column=color key=size] should return proper price if color and size are replaced with proper info on 5/28/01 5:39 PM, Ben Mirecki at ben@quadrantfive.com wrote: > Hi, > > I'm stuck with a CommonAdjust problem. I want to be able to create a > CommonAdjust atom that looks up a value from an arbitrary table, based on > two item attributes. > > For example, I have a pricing.txt table as follows: > > sku blue red green > small 9.00 10.00 11.00 > medium 8.75 9.75 10.75 > large 6.00 7.00 8.00 > > > I also have this... > > UseModifier color, size > > ...defined in my catalog config file. So, I need a CommonAdjust line that > looks up the item price based on both color and size. Anyone know how this > is done? > > Thanks a million! > Ben (another Interchange hacker) > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > Tim Watts president Romans1013.net Internet Hosting Loaded with features: FREE shopping cart! UNLIMITED email! No Monthly Fees - Just One Low Payment, One Time per Year! Visit our web site for details: www.Romans1013.net --__--__-- From: interchange-users at lists.akopia.com (Stephane Audit) Date: Tue May 29 23:33:01 2001 Subject: [ic] WorldPay Integration Hi there list. I was wondering if anyone ever integrated WorldPay (http://www.worldpay.com) services into interchange. There are also a few questions I'd appreciate if someone could answer: Background: WorldPay requires the checkout page to send a POST request containing a few variables (and optionnaly some information). Then it will use the specified callback (cgi script I suppose) and send back the user variables and the transaction confirmation/refusal. First is it possible to communicate with interchange to accept the transaction after a succesfull credit card verification. I know the usual way is a build-in function but this is not a server that one communicates with. They actually host the credit card input and results pages. Also, if there's a way, where should I look? Finally, by doing that am I saying goodbye to interchanges order processing (admin UI)? Thank you very much. Jean-Pierre Parent From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed May 30 03:15:00 2001 Subject: [ic] kill -TERM on freebsd interch wrote: > > The restart script won't work for me on freebsd. Kill -TERM doesn't seem > to do the job. Kill -KILL works fine. Since the intent is to kill > interchange and restart it instead of using a -HUP and rereading config > info, why is this not set to -KILL by default anyways? Especially since > perl programs seem to be notorious for not catching signals correctly. Hmmm....I've not a problem to use the restart script on freebsd. Which language did you have for the interchange user? English or another language? Did you get any error message in your error.log, if the restart script use the kill -TERM command? Is more than only one perl (interchange) running (looking via top), before you start the restart script? ciao Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interchange-users at lists.akopia.com (Matthew Schick) Date: Wed May 30 03:20:00 2001 Subject: [ic] WorldPay Integration On 29 May 2001 23:33:18 -0400, Stephane Audit wrote: > Hi there list. > > I was wondering if anyone ever integrated WorldPay (http://www.worldpay.com) > services into interchange. > > There are also a few questions I'd appreciate if someone could answer: > > Background: > > WorldPay requires the checkout page to send a POST request containing a few > variables (and optionnaly some information). Then it will use the specified > callback (cgi script I suppose) and send back the user variables and the > transaction confirmation/refusal. > > First is it possible to communicate with interchange to accept the > transaction after a succesfull credit card verification. I know the usual > way is a build-in function but this is not a server that one communicates > with. They actually host the credit card input and results pages. As long they will post back the results, you can most certainly work this one out. > > Also, if there's a way, where should I look? > Take a look at the authorizenet global sub for an excellent starting place. > Finally, by doing that am I saying goodbye to interchanges order processing > (admin UI)? > Nope. Noe reason at all to loose that functionallity.... > Thank you very much. > > Jean-Pierre Parent > Matt > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Adam Olson) Date: Wed May 30 03:53:00 2001 Subject: [ic] 4.7.2 admin wizard issue hello - if this email has been misdirected, please let me know. i installed 4.7.2 on solaris 2.7 (the admin page reports 4.8) and i can't get the wizard to work. after filling everything out and clicking next on final confirmation, the final confirmation page is simply redisplayed. if i manually go to the next step (preview) and click finish, an error stating "blank" is returned. is this a known bug or am i doing something wrong? i searched the archives and found nothing. i scanned all form fields multiple times to verify accuracy. thank you for any assistance - adam From: interchange-users at lists.akopia.com (Sergey Sheykin) Date: Wed May 30 04:36:00 2001 Subject: [ic] [item-subtotal] manually Hi, people! I need correct [item-subtotal] calculate mechanism. Qty.*Price=[item-subtotal] does not satisfy me. I need include in this mechanism subscribtion period parametr. That is : Qty.*Price_of_copy*Numbers_of_copy=[item-subtotal]. Or, calculate charge manually and set [item-subtotal], like [perl arg="carts"] $new_quantity = xxx; @$Safe{'carts'}->{'main'}->{'[item-code]'}=$new_quantity; return ''; [/perl] but this not works.... From: interchange-users at lists.akopia.com (Mathieu Lagarde) Date: Wed May 30 05:13:00 2001 Subject: [ic] Best way to install many catalog on a same server. Hi, We have many customer than want us to install a e-commerce solution for them. We gone a install interchange. We gone a dedicated a server only for this customer. So my question is what is the best way to install multiple store on the same server? Install interchange on each virtual domain? Or Install interchange one time on the main server directory, and make a catalog for each customer? Thanks Mathieu Lagarde Next Step Communications inc. From: interchange-users at lists.akopia.com (Barry Flanagan) Date: Wed May 30 06:49:00 2001 Subject: [ic] Question on mod_interchange Hi, I am tryingt to get mod_interchange working on a multi-site installation. It works fine with a configuration in which the <Location/> is set to, e.g. /shop, but if I try to setr it to e.g. /shop/shopname it appears to only pass on the top level ("/shop") path to the server. Ideally I would like to have a single server-wide directive having mod_interchange handling all requests under /shop, with the actual URLs of the sites being /shop/shop1, /shop/shop2, /shop/shop3, etc. rather than having to include the addhandler directive specifically for each virtual host/shop. Is this possible, or do I need a handler in each vhost directive? Thanks in advance. -Barry Flanagan Creative & Technical Director DigiServe Ltd. Dublin, Ireland From: interchange-users at lists.akopia.com (Ralph Alberti) Date: Wed May 30 07:21:00 2001 Subject: [ic] MySQL with IC Is there something I have to change manually in the catalog.cfg to enable IC to work with MySQL? I build the catalog fine with makecat. Choose MySQL as the database option. Everything builds perfectly. But when I restart IC, i get an error message stating: "catalogname: error in configuration, skipping. MySQL works fine on my system and I can build catalogs using the internal IC database ok. I have to be missing something pretty simple. Can anybody give me some clue what it might be? Thanks, Ralph. From: interchange-users at lists.akopia.com (Robert Trembath) Date: Wed May 30 07:29:00 2001 Subject: [ic] 4.7.2 admin wizard issue I've submitted a bug report for that very same item last week. Robert ----- Original Message ----- From: "Adam Olson" <adamo@quaartz.com> To: <interchange-users@developer.akopia.com> Sent: Wednesday, May 30, 2001 2:47 AM Subject: [ic] 4.7.2 admin wizard issue > > hello - if this email has been misdirected, please let me know. > > i installed 4.7.2 on solaris 2.7 (the admin page reports 4.8) and i > can't get the wizard to work. after filling everything out and clicking > next on final confirmation, the final confirmation page is simply > redisplayed. if i manually go to the next step (preview) and click > finish, an error stating "blank" is returned. > > is this a known bug or am i doing something wrong? i searched the > archives and found nothing. i scanned all form fields multiple times to > verify accuracy. > > thank you for any assistance - adam > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Anton van de Plas) Date: Wed May 30 09:51:00 2001 Subject: [ic] Error when trying to edit shipping methods Hi, I have the Interchange hosted by an ISP. It works fine most of the time but now that I am trying to edit the shipping methods (want to delete the UPS options and add US Postal), every time I try to do this I receive the following message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@bwp-mediagroup.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ************** Any ideas? Anton van de Plas avdplas@addaction.com From: interchange-users at lists.akopia.com (Jon Jensen) Date: Wed May 30 09:54:01 2001 Subject: [ic] Question on mod_interchange On Wed, 30 May 2001, Barry Flanagan wrote: > I am tryingt to get mod_interchange working on a multi-site installation. It > works fine with a configuration in which the <Location/> is set to, e.g. > /shop, but if I try to setr it to e.g. /shop/shopname it appears to only > pass on the top level ("/shop") path to the server. > > Ideally I would like to have a single server-wide directive having > mod_interchange handling all requests under /shop, with the actual URLs of > the sites being /shop/shop1, /shop/shop2, /shop/shop3, etc. rather than having > to include the addhandler directive specifically for each virtual host/shop. > > Is this possible, or do I need a handler in each vhost directive? No, in the current release version you need a separate handler for each catalog. The next version of mod_interchange will be able to work like you were hoping. Jon From: interchange-users at lists.akopia.com (Michael Patton) Date: Wed May 30 10:01:01 2001 Subject: [ic] 4.7.1 makecat bug But I want the database. I think you misunderstood my question. I have a DB called test_hardwaredepot - that I want as a demo so I don't want to delete it. During makecat it asks me what DB I want to create - so no matter what I put there, it always tries to make 'test_hardwaredepot' I haven't had coffee yet, so I'm not promising clarity. thx. On Tue, 29 May 2001, interch wrote: > > Actually what is happening is that somewhere you ran makecat before > specifying the same database, and it is just letting you know that the > database already exists. It's rather harmless. If you don't want to see > the error just delete the database before running makecat. > > Chris > > > On Tue, 29 May 2001, Michael Patton wrote: > > > I should probably put this in the bug tracker now that I think about it. > > > > While using makecat for this distro - I've run into this problem > > everytime. > > > > Regardless of what I answer to these questions: > > Database to use (will be created): ...............test_demostore > > DBI DSN to use: ..................................dbi:mysql:test_demostore > > > > I always get prompted w/ this: > > > > Set to 1 to create 'test_hardwaredepot' with mysqladmin: ..1 > > and consequently this: > > run "mysqladmin -u www_user -pwww_user create test_hardwaredepot"? y > > mysqladmin: create of 'test_hardwaredepot' failed > > error: 'Can't create database 'test_hardwaredepot'. Database exists' > > > > Either my espresso is wearing thin or this is a bug. > > > > thx. > > > > "While you're pointing fingers, someone is accusing you" - Bob Marley > > Michael Patton, Web Developer > > www.mycity.com, map@mycity.com > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Stefano Nota) Date: Wed May 30 10:13:01 2001 Subject: R: [ic] Error when trying to edit shipping methods May be, the shipping.asc file is corrupted, and it can't apply changes. I had the same problem. I changed the shippins.asc file and now i can modify shipping methods Hi, I have the Interchange hosted by an ISP. It works fine most of the time but now that I am trying to edit the shipping methods (want to delete the UPS options and add US Postal), every time I try to do this I receive the following message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@bwp-mediagroup.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ************** Any ideas? Anton van de Plas avdplas@addaction.com _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Mike Heins) Date: Wed May 30 10:14:01 2001 Subject: [ic] kill -TERM on freebsd Quoting interch (interch@web3.valley-internet.com): > > > The restart script won't work for me on freebsd. Kill -TERM doesn't seem > to do the job. Kill -KILL works fine. Since the intent is to kill > interchange and restart it instead of using a -HUP and rereading config > info, why is this not set to -KILL by default anyways? Especially since > perl programs seem to be notorious for not catching signals correctly. I bet your FreeBSD is on a "virtual server" from Verio or Iserver. Is that correct? I have observed that the TERM signal doesn't work on those servers, but it should work fine on real FreeBSD. We don't use KILL because that cannot be trapped. It is a last resort because it doesn't allow for graceful termination. If it happens in the midst of a database update you might not like the result. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: interchange-users at lists.akopia.com (Sheamus Nulty) Date: Wed May 30 10:18:01 2001 Subject: [ic] Shipping Costs - Still Struggling Folks, I'm still struggling over shipping costs. I can't seem to find any easy solution to having my shipping costs calculated based on the currency I'm using. The only option I can see is in using the PriceDivide directive in my locale table. However, the problem with this is that it also changes the product price. This I don't want to happen as I've defined the correct currency price for my products using the PriceField directive. Can anyone please point to some solution. I've tried to use a formula in my shipping table to convert the standard price by the currency in use. However, the only way I can see to get the conversion ratio for the currency in use is to use the PriceDivide field like this ukshipping UK Air Mail weight 500 999 f [perl]$shipprice=5.50 * $Config->{PriceDivide}; return $shipprice[/perl] Thanks Sheamus From: interchange-users at lists.akopia.com (Dan McFarland) Date: Wed May 30 10:32:00 2001 Subject: [ic] SSL Ok, this NT brain is still struggling with setting up the SSL for interchange/Linux server. Can anyone help me with this? I have the certs, but the server does not seem to want to recognize them properly. Thanks! Dan From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 30 11:15:02 2001 Subject: [ic] Best way to install many catalog on a same server. At 05:10 AM 05/30/2001 -0400, you wrote: >Hi, > >We have many customer than want us to install a e-commerce solution for >them. We gone a install interchange. We gone a dedicated a server only >for this customer. > >So my question is what is the best way to install multiple store on the >same server? >Install interchange on each virtual domain? >Or >Install interchange one time on the main server directory, and make a >catalog for each customer? > Either way works, and their are installation instructions for both methods. It is really a matter of your preference. I prefer separate installations for each virtual domain for various reasons; many others on this list like to do one central install. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (jfeingold ) Date: Wed May 30 11:16:00 2001 Subject: [ic] SSL Might be too basic a response for you, but all you have to do is indicate in the admin section the url of you ssl server, starting with https://..., assuming you have ssl properly set up on your web server. cant give you too much advice on that since dont know what web server you are running..might be the wrong mailing list.j ---------- Original Message ---------------------------------- From: "Dan McFarland" <dan@mailturtle.com> Reply-To: interchange-users@developer.akopia.com Date: Wed, 30 May 2001 09:30:44 -0500 >Ok, this NT brain is still struggling with setting up the SSL for >interchange/Linux server. Can anyone help me with this? I have the certs, >but the server does not seem to want to recognize them properly. > >Thanks! > > >Dan > > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 30 11:17:00 2001 Subject: [ic] MySQL with IC At 07:22 AM 05/30/2001 -0400, you wrote: >Is there something I have to change manually in the catalog.cfg to >enable IC to work with MySQL? > >I build the catalog fine with makecat. >Choose MySQL as the database option. >Everything builds perfectly. > >But when I restart IC, i get an error message stating: >"catalogname: error in configuration, skipping. Post the whole error message, It seems likely it was more than just that one line. - Ed L. >MySQL works fine on my system and I can build catalogs using the >internal IC database ok. > >I have to be missing something pretty simple. > >Can anybody give me some clue what it might be? > >Thanks, Ralph. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 30 11:22:00 2001 Subject: [ic] RE: Interchange-users digest, Vol 1 #542 - 13 msgs At 11:26 PM 05/29/2001 -0400, you wrote: >Here's my CommonAdjust line.. > >CommonAdjust ==size:pricing:blue > >Which (based on the table illustrated below) will look up the row in the >pricing table with a sku matching the "size" attribute and the column named >"blue". Now, my question is, how do I replace "blue" with a variable value, >as such: > >CommonAdjust ==size:pricing:color > ^^^^ ^^^^^ > variable variable > >How can I do this? Do I need to use embedded Perl? If so, please give an >example for myself and those of us who are still learning this stuff! >Thanks! > The current CommonAdjust docs are really sparse. I think what you want to do is achievable, though you will probably need to modify your pricing database structure somewhat. I strongly recommend you get your hands on an old MV3 or MV4 tarball - extensive CommonAdjust documentation and examples can be found in those older versions. I believe they are still available at ftp.akopia.com. - Ed l. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 30 11:31:00 2001 Subject: [ic] [item-subtotal] manually At 12:37 PM 05/30/2001 +0400, you wrote: >Hi, people! > >I need correct [item-subtotal] calculate mechanism. >Qty.*Price=[item-subtotal] does not satisfy me. >I need include in this mechanism subscribtion period >parametr. >That is : >Qty.*Price_of_copy*Numbers_of_copy=[item-subtotal]. >Or, calculate charge manually and set [item-subtotal], like >[perl arg="carts"] >$new_quantity = xxx; >@$Safe{'carts'}->{'main'}->{'[item-code]'}=$new_quantity; >return ''; >[/perl] > I would guess that the best course of action for you would be to override the item_subtotal subroutine in Data.pm, an example is here: http://developer.akopia.com/cgi-bin/ic/dev/icconfig_27.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Mat Jones - booksellersolutions.com) Date: Wed May 30 13:10:00 2001 Subject: [ic] Image Magick Hi, Is there anyway to integrate Image Magick (PerlMagick) into interchange. Has anyone done this before. It would be so much easier to have everthing run in interchange without having to write scripts external to interchange. Thanks Mat booksellersolutions.com Read what the SF Examiner says about booksellersolutions.com: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 From: interchange-users at lists.akopia.com (Craig Johnson) Date: Wed May 30 14:03:01 2001 Subject: [ic] akopia interchange setup difficulties Can someone help? I am working through the setup on akopia version 4.6 and I am changing the company name, and it still always says construct something for the company name. I have successfully updated other variables and they seem to take. The company name appears to be changed, but does not change within the construct something demo on my server. Also, where can I get some basic setup instructions? rsvp, cmj Best Regards, Craig M. Johnson From: interchange-users at lists.akopia.com (Craig Johnson) Date: Wed May 30 14:11:01 2001 Subject: [ic] Setup help for akopia I cannot seem to get the company name changed within the settings. Can you help? Best Regards, Craig M. Johnson From: interchange-users at lists.akopia.com (interch) Date: Wed May 30 14:17:00 2001 Subject: [ic] kill -TERM on freebsd That probably explains it. I'm running interchange in a jail environment on one of our servers. Chris On Wed, 30 May 2001, Mike Heins wrote: > Quoting interch (interch@web3.valley-internet.com): > > > > > > The restart script won't work for me on freebsd. Kill -TERM doesn't seem > > to do the job. Kill -KILL works fine. Since the intent is to kill > > interchange and restart it instead of using a -HUP and rereading config > > info, why is this not set to -KILL by default anyways? Especially since > > perl programs seem to be notorious for not catching signals correctly. > > I bet your FreeBSD is on a "virtual server" from Verio or Iserver. Is > that correct? I have observed that the TERM signal doesn't work on those > servers, but it should work fine on real FreeBSD. > > We don't use KILL because that cannot be trapped. It is a last resort > because it doesn't allow for graceful termination. If it happens > in the midst of a database update you might not like the result. > > -- > 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@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed May 30 14:20:02 2001 Subject: [ic] order profiles At 07:23 PM 05/29/2001 -0600, you wrote: >Dear List, > >I'm trying to require certain information on a form, and do CC# processing >on a form that is NOT in the checkout process. I've setup an order profile, >but it doesn't appear to even be accessing the profile. > >In profiles.order I added this: > >__NAME__ cc_saver_dude >&credit_card=standard keep >&set = rand_var MACHO >&fatal=yes >__END__ > >Below is my form. I never get errors, and when I test for [value rand_var] >it never has a value. mv_credit_card_valid is never set, and neither is >mv_credit_card_type. I'm able, however, to access the # with the CGI var. > >Any information on how to get profiles to work on non-checkout pages, or how >to get the CC info to be encrypted and validated at a time other than the >final placing of the order would be helpful. > >Thanks, > >Russ Did you reconfigure the catalog after writing your new order profile? - Ed L. ><form action="[process-target]" method="post" name="checkout"> ><input type="hidden" name="mv_session_id" value="[data session id]"> ><input type="hidden" name="mv_order_profile" value="cc_saver_dude"> >[if type=explicit compare="[error all=1 show_var=1 keep=1]"] ><P> ><font __FFACE__ size="2"><b>There were errors in your last submission.</b> ><br> >They are shown in <FONT COLOR=__CONTRAST__><b><u>THIS COLOR</u></b></FONT> >below.</FONT> ><P> >[/if] > ><input type="hidden" name="mv_doit" value="refresh"> ><input type="hidden" name="mv_nextpage" value="test"> ><input type="text" name="mv_credit_card_number" size="30" maxlength="30" >value="[cgi mv_credit_card_number]"> ><select name="mv_credit_card_exp_month"> >[loop >lr=1 >option=mv_credit_card_exp_month >list=" >1 01 - January >2 02 - February >3 03 - March >4 04 - April >5 05 - May >6 06 - June >7 07 - July >8 08 - August >9 09 - September >10 10 - October >11 11 - November >12 12 - December"] ><option value="[loop-code]"> [loop-pos 1] >[/loop] ></select> ><select name="mv_credit_card_exp_year"> >[loop option=mv_credit_card_exp_year lr=1 list=` >my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); >my $out = ''; >for ($year .. $year + 7) { >/\d\d(\d\d)/; >$last_two = $1; >$out .= "$last_two\t$_\n"; >} >return $out; >`] ><option value="[loop-code]"> [loop-pos 1] >[/loop] ></select> ><input type="submit" value="Save Information" name="mv_check"> ></form> > > > >--------------------------------------------- >"Posterity -- you will never know how much it has cost my generation to >preserve your freedom. I hope you will make good use of it." --John Quincy >Adams > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Michael Patton) Date: Wed May 30 14:27:00 2001 Subject: [ic] Setup help for akopia which company name on which settings ? in the admin section ? in the catalog itself ? I have changed many names in many areas here lately so I might be able to help if you expand a little. On Wed, 30 May 2001, Craig Johnson wrote: > I cannot seem to get the company name changed within the settings. > Can you help? > > > Best Regards, > > > Craig M. Johnson > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > "While you're pointing fingers, someone is accusing you" - Bob Marley Michael Patton, Web Developer www.mycity.com, map@mycity.com From: interchange-users at lists.akopia.com (Curt Hauge) Date: Wed May 30 14:35:01 2001 Subject: [ic] akopia interchange setup difficulties Quoting Craig Johnson: > I am working through the setup on akopia version 4.6 and I am > changing the > company name, and it still always > says construct something for the company name. > > I have successfully updated other variables and they seem to take. > The company name appears to be changed, but does not change within the > construct something demo on my server. you must 'apply changes' from within the admin area. or, perhaps you are referring to the static index.html page located in your html docs directory, which you must edit manually. > Also, where can I get some basic setup instructions? try here http://developer.akopia.com/cgi-bin/ic/dev/index.html Good Luck! Curt Hauge From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed May 30 14:44:01 2001 Subject: [ic] how to NOT use products.txt I am going crazy here. IMO, using products.txt seems like a horrible idea, since I have a mysql database. Say for instance, the first line of my 'products.txt' file looked like sku desc icon image And i wanted to add a field 'small_icon' between icon and image. How would I do this (easily)? What I want to do is ditch products.txt so that I can just use mysql, and do alter table products add small_icon varchar(64) after icon; to add a new field. What I can't do, is get interchange to recognize this. in catalog.cfg i did NoImport products I added the appropriate Database products COLUMN_DEF "small_icon=VARCHAR(64)" in products.mysql And I changed Database products products.txt __SQLDSN__ to Database products products.mysql __SQLDSN__ in products.mysql I restarted interchange, and all seemed well. BUT, my new column was still not showing up when I edit a product. So I have two issues - why isn't my field showing up, and how do i STOP using products.txt (all my searches are db searches anyways). thanks, .cfg From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Wed May 30 14:50:00 2001 Subject: [ic] Image Magick "Mat Jones - booksellersolutions.com" <mat@booksellersolutions.com> writes: > Hi, > > Is there anyway to integrate Image Magick (PerlMagick) into interchange. > Has anyone done this before. It would be so much easier to have everthing > run in interchange without having to write scripts external to interchange. Write a global usertag. Global usertags can do nearly anything. Keep us posted. This stuff may be interesting to several IC developers. Example: UserTag deliver_agent Order host port input UserTag deliver_agent Routine <<EOS sub { use Socket; my ($host, $port, $input) = @_; my ($iaddr, $paddr, $proto); my $line; # Log ("HOST: $host PORT: $port"); $iaddr = inet_aton ($host); $paddr = sockaddr_in ($port, $iaddr); # Log ("Have ADDR in"); $proto = getprotobyname ('tcp'); unless (socket (SOCK, PF_INET, SOCK_STREAM, $proto)) { Log ("socket: $!\n"); return; } # Log ("Have Socket"); unless (connect (SOCK, $paddr)) { Log ("connect failed: $!\n"); return; } # Log ("Have Connection"); unless (syswrite (SOCK, $input, 29) == 29) { Log ("write failed\n"); return; } unless (sysread (SOCK, $line, 77) == 77) { Log ("read failed\n"); return; } Log ("SOCK: $line"); unless (close (SOCK)) { Log ("socket close: $!\n"); return; } substr ($line, 31); }; EOS Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Craig Johnson) Date: Wed May 30 15:21:01 2001 Subject: [ic] Setup help for akopia In the preferences area as well as the catalog. At 02:35 PM 5/30/01 -0400, you wrote: >which company name on which settings ? in the admin section ? in the >catalog itself ? > >I have changed many names in many areas here lately so I might be able to >help if you expand a little. > >On Wed, 30 May 2001, Craig Johnson wrote: > > > I cannot seem to get the company name changed within the settings. > > Can you help? > > > > > > Best Regards, > > > > > > Craig M. Johnson > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > >"While you're pointing fingers, someone is accusing you" - Bob Marley >Michael Patton, Web Developer >www.mycity.com, map@mycity.com > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Best Regards, Craig M. Johnson From: interchange-users at lists.akopia.com (Craig Johnson) Date: Wed May 30 15:28:00 2001 Subject: [ic] akopia interchange setup difficulties I have used the apply changes to apply the changes, but the change does not take effect in all areas. At 01:37 PM 5/30/01 -0500, you wrote: >Quoting Craig Johnson: > > > I am working through the setup on akopia version 4.6 and I am > > changing the > > company name, and it still always > > says construct something for the company name. > > > > I have successfully updated other variables and they seem to take. > > The company name appears to be changed, but does not change within the > > construct something demo on my server. > >you must 'apply changes' from within the admin area. or, perhaps you are >referring to the static index.html page located in your html docs directory, >which you must edit manually. > > > Also, where can I get some basic setup instructions? > >try here >http://developer.akopia.com/cgi-bin/ic/dev/index.html > >Good Luck! > >Curt Hauge > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Best Regards, Craig M. Johnson From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Wed May 30 15:49:00 2001 Subject: [ic] how to NOT use products.txt Corey Gilmore <cfg@dln.uvm.edu> writes: > I am going crazy here. IMO, using products.txt seems like a horrible > idea, since I have a mysql database. Say for instance, the first line > of my 'products.txt' file looked like > > sku desc icon image > > And i wanted to add a field 'small_icon' between icon and image. > > How would I do this (easily)? What I want to do is ditch products.txt so > that I can just use mysql, and do > alter table products add small_icon varchar(64) after icon; > to add a new field. > > What I can't do, is get interchange to recognize this. > > in catalog.cfg i did > NoImport products > > I added the appropriate > Database products COLUMN_DEF "small_icon=VARCHAR(64)" > in products.mysql > > And I changed > Database products products.txt __SQLDSN__ > to > Database products products.mysql __SQLDSN__ > > in products.mysql > > I restarted interchange, and all seemed well. BUT, my new column was > still not showing up when I edit a product. This may have another cause. Can you access the column with [item-field small_icon] ? Ciao Racke -- Master of Swiss Web 2001: http://www.zweifel.ch/ For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Russ Mann) Date: Wed May 30 15:52:01 2001 Subject: [ic] order profiles Of course. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Ed LaFrance Sent: Wednesday, May 30, 2001 12:22 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] order profiles At 07:23 PM 05/29/2001 -0600, you wrote: >Dear List, > >I'm trying to require certain information on a form, and do CC# processing >on a form that is NOT in the checkout process. I've setup an order profile, >but it doesn't appear to even be accessing the profile. > >In profiles.order I added this: > >__NAME__ cc_saver_dude >&credit_card=standard keep >&set = rand_var MACHO >&fatal=yes >__END__ > >Below is my form. I never get errors, and when I test for [value rand_var] >it never has a value. mv_credit_card_valid is never set, and neither is >mv_credit_card_type. I'm able, however, to access the # with the CGI var. > >Any information on how to get profiles to work on non-checkout pages, or how >to get the CC info to be encrypted and validated at a time other than the >final placing of the order would be helpful. > >Thanks, > >Russ Did you reconfigure the catalog after writing your new order profile? - Ed L. ><form action="[process-target]" method="post" name="checkout"> ><input type="hidden" name="mv_session_id" value="[data session id]"> ><input type="hidden" name="mv_order_profile" value="cc_saver_dude"> >[if type=explicit compare="[error all=1 show_var=1 keep=1]"] ><P> ><font __FFACE__ size="2"><b>There were errors in your last submission.</b> ><br> >They are shown in <FONT COLOR=__CONTRAST__><b><u>THIS COLOR</u></b></FONT> >below.</FONT> ><P> >[/if] > ><input type="hidden" name="mv_doit" value="refresh"> ><input type="hidden" name="mv_nextpage" value="test"> ><input type="text" name="mv_credit_card_number" size="30" maxlength="30" >value="[cgi mv_credit_card_number]"> ><select name="mv_credit_card_exp_month"> >[loop >lr=1 >option=mv_credit_card_exp_month >list=" >1 01 - January >2 02 - February >3 03 - March >4 04 - April >5 05 - May >6 06 - June >7 07 - July >8 08 - August >9 09 - September >10 10 - October >11 11 - November >12 12 - December"] ><option value="[loop-code]"> [loop-pos 1] >[/loop] ></select> ><select name="mv_credit_card_exp_year"> >[loop option=mv_credit_card_exp_year lr=1 list=` >my $year = $Tag->time( '', { format => '%Y' }, '%Y' ); >my $out = ''; >for ($year .. $year + 7) { >/\d\d(\d\d)/; >$last_two = $1; >$out .= "$last_two\t$_\n"; >} >return $out; >`] ><option value="[loop-code]"> [loop-pos 1] >[/loop] ></select> ><input type="submit" value="Save Information" name="mv_check"> ></form> > > > >--------------------------------------------- >"Posterity -- you will never know how much it has cost my generation to >preserve your freedom. I hope you will make good use of it." --John Quincy >Adams > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Wed May 30 15:56:00 2001 Subject: [ic] [item-subtotal] manually Ed LaFrance <edl@newmediaems.com> writes: > At 01:43 PM 05/30/2001 -0400, you wrote: > >Ed LaFrance <edl@newmediaems.com> writes: > > > > > At 12:37 PM 05/30/2001 +0400, you wrote: > > > >Hi, people! > > > > > > > >I need correct [item-subtotal] calculate mechanism. > > > > > > I would guess that the best course of action for you would be to > > > override the item_subtotal subroutine in Data.pm. > > > >Here is the relevant info from the link Ed gives: > > > >,----[ http://developer.akopia.com/cgi-bin/ic/dev/icconfig_27.html ] > > The gist of the thrust is this: the above example allows you to > effectively replace the fictitous subroutine 'to_overrride' in > Module.pm with your own customized version. So, in the case of Sergey > Sheykin's question regarding rolling his own item-subtotal, he could > write a custom version of the 'item_subtotal' routine (located in > Data.pm) and include it as shown above in his interchange.cfg (or > catalog.cfg if AllowGlobal is enabled for that catalog). Then, each > time the [item-subtotal] tag is evaluated, his routine would be used > INSTEAD of the standard one in Data.pm. It is much like hacking the > code, except that it affords some degree of portability. > OK, this answers the practical question I think. Let's take a concrete example: GlobalSub <<EOS sub just_for_overriding { package Vend::Data; use MyModule; sub item_subtotal { &MyModule::do_something_funky($Values->{my_variable}); } } EOS According to your comment, every time [item-subtotal] gets evaluated MyModule::do_something_funky() gets called instead of Vend::Data::item_subtotal(). The theoretical question is this, how does this work? If you put the above snippet in the catalog.cfg who calls just_for_overriding? Does it automatically get executed when the IC daemon starts? -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed May 30 16:13:00 2001 Subject: [ic] how to NOT use products.txt On 30 May 2001, Stefan Hornburg (Racke) wrote: > Corey Gilmore <cfg@dln.uvm.edu> writes: > > > I am going crazy here. IMO, using products.txt seems like a horrible > > idea, since I have a mysql database. Say for instance, the first line > > of my 'products.txt' file looked like > > > > sku desc icon image > > > > And i wanted to add a field 'small_icon' between icon and image. > > > > How would I do this (easily)? What I want to do is ditch products.txt so > > that I can just use mysql, and do > > alter table products add small_icon varchar(64) after icon; > > to add a new field. > > > > What I can't do, is get interchange to recognize this. > > > > in catalog.cfg i did > > NoImport products > > > > I added the appropriate > > Database products COLUMN_DEF "small_icon=VARCHAR(64)" > > in products.mysql > > > > And I changed > > Database products products.txt __SQLDSN__ > > to > > Database products products.mysql __SQLDSN__ > > > > in products.mysql > > > > I restarted interchange, and all seemed well. BUT, my new column was > > still not showing up when I edit a product. > > This may have another cause. Can you access the column with > [item-field small_icon] ? > Nope. No errors in error.log either. From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Wed May 30 16:15:51 2001 Subject: [ic] how to NOT use products.txt > I restarted interchange, and all seemed well. BUT, my new column was > still not showing up when I edit a product. > Have you added the field to the appropriate setting in the Knar? You must do this in order for it to show up in the product editor in the admin ui. To check to see if ic recognises the new field, do a table edit in the ui on the products table. Jonathan Webmaint. From: interchange-users at lists.akopia.com (John Beima) Date: Wed May 30 16:16:51 2001 Subject: [ic] 4.7.3 vs 4.7.2 new payment modules... G'Day Folks, The "WHATSVEW" file for 4.7.2 said that there was support for iTransact and CCVS with this version, if I recall correctly... However I see from the bug tracker that Mike made a note to himself to ad CCVS in later... But there is no mention of iTransact and it is not in 4.7.2... Does anyone know if it is already in 4.7.3 or I would assume the CVS tree???? John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at lists.akopia.com (Ron Phipps) Date: Wed May 30 16:18:02 2001 Subject: [ic] how to NOT use products.txt > I am going crazy here. IMO, using products.txt seems like a horrible > idea, since I have a mysql database. Say for instance, the first line > of my 'products.txt' file looked like > > sku desc icon image > > And i wanted to add a field 'small_icon' between icon and image. > > How would I do this (easily)? What I want to do is ditch products.txt so > that I can just use mysql, and do > alter table products add small_icon varchar(64) after icon; > to add a new field. Ok I just did this the other day. Shut IC down. Make a backup copy of products.txt and then alter your mysql table. Also go into dbconf/mysql/products.mysql and add your field there as well. Now start IC up. Go into the Admin UI->Administration->Tables->Export Products table. Accept the defaults and a new products.txt should be generated with the additional field and a blank for each product record in that field. I do not have experience with getting rid of the products.txt all together and I use the spreadsheet editor to edit my products. However if you go into the Admin for the Item editor and click on 'No Meta Display' you should see your new field and then click on the 'Meta' for that field and define the field, IC should then display the field in the item editor. Good luck! -Ron From: interchange-users at lists.akopia.com (Jason Kohles) Date: Wed May 30 17:16:00 2001 Subject: [ic] 4.7.3 vs 4.7.2 new payment modules... On Wed, May 30, 2001 at 02:14:06PM -0600, John Beima wrote: > G'Day Folks, > > The "WHATSVEW" file for 4.7.2 said that there was support for iTransact and CCVS > with this version, if I recall correctly... However I see from the bug tracker > that Mike made a note to himself to ad CCVS in later... But there is no mention > of iTransact and it is not in 4.7.2... Does anyone know if it is already in > 4.7.3 or I would assume the CVS tree???? > There is an iTransact module in 4.7.3, but I believe it was there in earlier versions too, check lib/Vend/Payment/iTransact.pm -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at lists.akopia.com (Guy Soudant) Date: Wed May 30 17:29:00 2001 Subject: [ic] Vitual Servers Hi, I am looking for a company which can provide me with a virtual server on which I can install IC with SQL (SQL must already be installed with all necessary modules). Preferably for under US$ 25.00 Any suggestions are welcome Kind regards Guy Soudant From: interchange-users at lists.akopia.com (John Beima) Date: Wed May 30 17:37:00 2001 Subject: [ic] 4.7.3 vs 4.7.2 new payment modules... G'Day Jason, It doesn't show up in the wizard when you are configuring the payment section... DO you know if it is active yet?? John Quoting Jason Kohles <jkohles@redhat.com>: > On Wed, May 30, 2001 at 02:14:06PM -0600, John Beima wrote: > > G'Day Folks, > > > > The "WHATSVEW" file for 4.7.2 said that there was support for > iTransact and CCVS > > with this version, if I recall correctly... However I see from the bug > tracker > > that Mike made a note to himself to ad CCVS in later... But there is > no mention > > of iTransact and it is not in 4.7.2... Does anyone know if it is > already in > > 4.7.3 or I would assume the CVS tree???? > > > There is an iTransact module in 4.7.3, but I believe it was there in > earlier > versions too, check lib/Vend/Payment/iTransact.pm > > -- > Red Hat E-Business Solutions Jason Kohles > 11480 Sunset Hills Road Senior System Architect > Reston, VA 20190 jkohles@redhat.com > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > John Beima jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6 Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297 2713B Spring Place SW, Decatur, Alabama, United States, 35603 From: interchange-users at lists.akopia.com (Gift Bound Gifts) Date: Wed May 30 17:43:01 2001 Subject: [ic] instalation error. When i try to install interchange 4.7.3 i get missing.le ./share/akopia/ui/admin/back.sm.gif make: *** [mv_install] Error 2 mercury:/usr/home/giftbound/ftp/interchange-4.7.3$ Whats this? From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed May 30 19:27:01 2001 Subject: [ic] how to NOT use products.txt Well, I did what you said (except that I'd already modified the database beforehand), and for some reason, I cannot get the field to display still. If i click on no meta, I can configure the normal meta options for the field, but for it doesn't show up in my products. I CAN reference the field using the item-field tag, but I am puzzled at why it doesn't display. If I click 'No Meta Display' again, I see two identical textedit boxes. Are the meta options stored in a file or table I can edit to fix this? thanks, .cfg On Wed, 30 May 2001, Ron Phipps wrote: > > I am going crazy here. IMO, using products.txt seems like a horrible > > idea, since I have a mysql database. Say for instance, the first line > > of my 'products.txt' file looked like > > > > sku desc icon image > > > > And i wanted to add a field 'small_icon' between icon and image. > > > > How would I do this (easily)? What I want to do is ditch products.txt so > > that I can just use mysql, and do > > alter table products add small_icon varchar(64) after icon; > > to add a new field. > > Ok I just did this the other day. Shut IC down. Make a backup copy of > products.txt and then alter your mysql table. Also go into > dbconf/mysql/products.mysql and add your field there as well. Now start IC > up. Go into the Admin UI->Administration->Tables->Export Products table. > Accept the defaults and a new products.txt should be generated with the > additional field and a blank for each product record in that field. > > I do not have experience with getting rid of the products.txt all together > and I use the spreadsheet editor to edit my products. However if you go > into the Admin for the Item editor and click on 'No Meta Display' you should > see your new field and then click on the 'Meta' for that field and define > the field, IC should then display the field in the item editor. > > Good luck! > -Ron > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Greg Hanson) Date: Wed May 30 19:28:18 2001 Subject: [ic] ProductFiles directive 4.7.1 Hi All, I have multiple tables in ProductFiles, but I cannot order anything from those files. I get the "attempt to order missing product code:bendel1" message. Setup as follows: Catalog.cfg: ProductFiles trans_bendel trans_bendwa trans_scwabb PriceField cust_debit ifndef SQLDSN Variable SQLDSN dbi:mysql:test_foundation endif ifdef MYSQL include dbconf/msql.cfg endif Each of the databases above, trans_bendel, trans_bendwa, trans_scwabb, are defined in dbconf/mysql/*.mysql and have corresponding .txt files in /products. Each of the databases have the following field names (with one line of sample data): trans_code vend_code acct_number trans_date description cust_debit bendel1 bendel 456bendel 10/26/2001 tire repair 27.50 If I order something in the products.txt file it will load into the basket fine (even though I have removed products from the ProductsFile directive!) If I order anything from one of the other tables, I get the error messages. I have defined the different price field cust_debit, as I thought that may be it because you need the minimum of sku, description, and price for a products file. I have description, but that leaves sku which I have as trans_code. Is that potentially what is wrong?, and if so is there a way to leave the field name as trans_code or will I have to change it? If that is not the problem, any tips would be appreciated. I have restarted both server and catalog after all changes, currently have redhat 6.2, IC 4.7.1, using mysql. Thanks, Greg Greg Hanson Valuemedia.com 14355 Fern Dell Lane La Pine, OR 97739 541-536-2446 541-536-9407 Fax greg@valuemedia.com From: interchange-users at lists.akopia.com (Dan B) Date: Wed May 30 19:56:00 2001 Subject: [ic] Best way to install many catalog on a same server. At 05:10 AM 5/30/2001 -0400, you wrote: >We have many customer than want us to install a e-commerce solution for >them. We gone a install interchange. We gone a dedicated a server only >for this customer. > >So my question is what is the best way to install multiple store on the >same server? >Install interchange on each virtual domain? >Or >Install interchange one time on the main server directory, and make a >catalog for each customer? Depends. Most customers will not need to customize the interchange daemon itself, so using a one daemon to many catalogs model works great for that situation (save memory, etc.). There may be times that you require custom daemons, e.g. when they want to use a given CVS checkout date, or maybe a legacy version, etc. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Dan B) Date: Wed May 30 20:05:00 2001 Subject: [ic] how to NOT use products.txt At 06:27 PM 5/30/2001 -0400, you wrote: >Well, I did what you said (except that I'd already modified the database >beforehand), and for some reason, I cannot get the field to display still. >If i click on no meta, I can configure the normal meta options for the >field, but for it doesn't show up in my products. I CAN reference the >field using the item-field tag, but I am puzzled at why it doesn't >display. > >If I click 'No Meta Display' again, I see two identical textedit boxes. >Are the meta options stored in a file or table I can edit to fix this? > >thanks, >.cfg Would you mind posting the the first two lines of your products.txt file and your dbconf/mysql/products.mysql file? SHOW TABLE 'products' would be handy too. You do have a products/products.sql file, right? You're 90% there. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed May 30 22:12:01 2001 Subject: [ic] how to NOT use products.txt $ head -n2 products.txt sku description comment display image icon div_icon price category nontaxable weight related featured inactive flypage required type CFG001-1 Video Stream for CFG001 <font class="bodycopy">This is the webcast for <a href="cfg001.html" class="bodylink">cfg001</a><br>It has all options of a normal product, except it should only be displayed from WITHIN a conference flypage</font> 75.00 1 1 deliverymethod no idea how that will wrap. In case the tabs get munged up: description is Video Stream for CFG001, comment is the html snippet within the font tags, division=none, type=conference delivery method, no image, no icon, no div_icon, price: 75.00, taxable: no, no related, feqtured, or required items. inactive: no, weight: no, flypage: none. I do have a products/products.sql... $ cat dbconf/products.mysql # 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 Database products COLUMN_DEF "sku=char(14) NOT NULL PRIMARY KEY" Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" Database products COLUMN_DEF "title=VARCHAR(128) DEFAULT '' NOT NULL, index(title)" Database products COLUMN_DEF "template_page=VARCHAR(64)" Database products COLUMN_DEF "comment=TEXT" Database products COLUMN_DEF "display=VARCHAR(128)" Database products COLUMN_DEF "image=VARCHAR(64)" Database products COLUMN_DEF "icon=VARCHAR(64)" Database products COLUMN_DEF "div_icon=VARCHAR(64)" Database products COLUMN_DEF "price=DECIMAL(12,2) NOT NULL, index(price)" Database products COLUMN_DEF "category=VARCHAR(64) NOT NULL, index(category)" Database products COLUMN_DEF "nontaxable=CHAR(3)" Database products COLUMN_DEF "weight=VARCHAR(12) DEFAULT '0' NOT NULL" Database products COLUMN_DEF "size=VARCHAR(96)" Database products COLUMN_DEF "color=VARCHAR(96)" Database products COLUMN_DEF "related=text" Database products COLUMN_DEF "featured=VARCHAR(32)" Database products COLUMN_DEF "type=VARCHAR(64), index(type)" Database products NUMERIC price mysql> desc products; +-------------+---------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+---------------+------+-----+---------+-------+ | sku | varchar(14) | | PRI | | | | description | varchar(128) | | | | | | comment | text | YES | | NULL | | | display | varchar(64) | YES | | NULL | | | image | varchar(64) | YES | | NULL | | | icon | varchar(64) | YES | | NULL | | | div_icon | varchar(64) | YES | | NULL | | | price | decimal(12,2) | | MUL | 0.00 | | | category | varchar(64) | | MUL | | | | nontaxable | char(3) | YES | | NULL | | | weight | decimal(12,4) | YES | | NULL | | | related | varchar(64) | YES | | NULL | | | featured | varchar(64) | YES | | NULL | | | inactive | char(3) | YES | | NULL | | | flypage | varchar(64) | YES | | NULL | | | required | varchar(64) | YES | | NULL | | | type | varchar(64) | YES | MUL | NULL | | +-------------+---------------+------+-----+---------+-------+ 17 rows in set (0.00 sec) baffled, .cfg On Wed, 30 May 2001, Dan B wrote: > At 06:27 PM 5/30/2001 -0400, you wrote: > >Well, I did what you said (except that I'd already modified the database > >beforehand), and for some reason, I cannot get the field to display still. > >If i click on no meta, I can configure the normal meta options for the > >field, but for it doesn't show up in my products. I CAN reference the > >field using the item-field tag, but I am puzzled at why it doesn't > >display. > > > >If I click 'No Meta Display' again, I see two identical textedit boxes. > >Are the meta options stored in a file or table I can edit to fix this? > > > >thanks, > >.cfg > > Would you mind posting the the first two lines of your products.txt file > and your dbconf/mysql/products.mysql file? SHOW TABLE 'products' would be > handy too. > > You do have a products/products.sql file, right? > > You're 90% there. > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Samir G. Barak) Date: Wed May 30 22:45:01 2001 Subject: [ic] Change image for button form Hi ! In file "cart" (in ../templates/components) I need change the button "Check Out" for a button form. Like: <input type="submit" value="Check Out"> The original source is: [button text="Check Out" src="__THEME__/checkout_button.gif" hidetext=1 form=basket ] mv_todo=return mv_nextpage=ord/checkout [/button] Someone can tell me how I do for change this ? thanks, ::: Samir G. Barak ::::::::::::::::::::::::: From: interchange-users at lists.akopia.com (Dan B) Date: Wed May 30 23:15:01 2001 Subject: [ic] how to NOT use products.txt At 09:12 PM 5/30/2001 -0400, you wrote: [snip products.txt] >I do have a products/products.sql... > >$ cat dbconf/products.mysql ># 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 >Database products COLUMN_DEF "sku=char(14) NOT NULL PRIMARY KEY" >Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" >Database products COLUMN_DEF "title=VARCHAR(128) DEFAULT '' NOT NULL, >index(title)" >Database products COLUMN_DEF "template_page=VARCHAR(64)" >Database products COLUMN_DEF "comment=TEXT" >Database products COLUMN_DEF "display=VARCHAR(128)" >Database products COLUMN_DEF "image=VARCHAR(64)" >Database products COLUMN_DEF "icon=VARCHAR(64)" >Database products COLUMN_DEF "div_icon=VARCHAR(64)" >Database products COLUMN_DEF "price=DECIMAL(12,2) NOT NULL, index(price)" >Database products COLUMN_DEF "category=VARCHAR(64) NOT NULL, >index(category)" >Database products COLUMN_DEF "nontaxable=CHAR(3)" >Database products COLUMN_DEF "weight=VARCHAR(12) DEFAULT '0' NOT NULL" >Database products COLUMN_DEF "size=VARCHAR(96)" >Database products COLUMN_DEF "color=VARCHAR(96)" >Database products COLUMN_DEF "related=text" >Database products COLUMN_DEF "featured=VARCHAR(32)" >Database products COLUMN_DEF "type=VARCHAR(64), index(type)" >Database products NUMERIC price > >mysql> desc products; >+-------------+---------------+------+-----+---------+-------+ >| Field | Type | Null | Key | Default | Extra | >+-------------+---------------+------+-----+---------+-------+ >| sku | varchar(14) | | PRI | | | >| description | varchar(128) | | | | | >| comment | text | YES | | NULL | | >| display | varchar(64) | YES | | NULL | | >| image | varchar(64) | YES | | NULL | | >| icon | varchar(64) | YES | | NULL | | >| div_icon | varchar(64) | YES | | NULL | | >| price | decimal(12,2) | | MUL | 0.00 | | >| category | varchar(64) | | MUL | | | >| nontaxable | char(3) | YES | | NULL | | >| weight | decimal(12,4) | YES | | NULL | | >| related | varchar(64) | YES | | NULL | | >| featured | varchar(64) | YES | | NULL | | >| inactive | char(3) | YES | | NULL | | >| flypage | varchar(64) | YES | | NULL | | >| required | varchar(64) | YES | | NULL | | >| type | varchar(64) | YES | MUL | NULL | | >+-------------+---------------+------+-----+---------+-------+ >17 rows in set (0.00 sec) > >baffled, >.cfg Everything looks OK, AFAICS... #diff products.mysql products.new.mysql > Database products COLUMN_DEF "icon=VARCHAR(64)" > Database products COLUMN_DEF "div_icon=VARCHAR(64)" 23d24 < Database products COLUMN_DEF "gift_cert=VARCHAR(3)" 25a27 > Database products COLUMN_DEF "type=VARCHAR(64), index(type)" 4 changes to .mysql, all of which match up with your mysql table, hmm. What is the output of bin/interchange -r? And you can't access the data from within an item-list (like results.html or flypage.html)? [item-list] [item-field icon] [/item-list] You're almost there... Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Thore Karlsen) Date: Thu May 31 00:07:01 2001 Subject: [ic] Cart contents dropped when going back On our site we use a separate payment server to handle payments. That works fine, but sometimes the customers change their mind and go back to change their order after they have connected to the payment server to finish the transaction. The problem is, when they get back the cart contents are dropped. Is there an easy way of correcting this behavior? I've enabled cookies and I set mv_save_session in the form that sends the user over to the payment server, but it doesn't work. -- Be seeing you. From: interchange-users at lists.akopia.com (Guido Sohne) Date: Thu May 31 01:26:00 2001 Subject: [ic] [item-subtotal] alternative approach You could also write your own user tag that does your subtotal calculations. That way Interchange functionality is 100% untouched - an issue that may get interesting with multiple stores running on the same interchange ... I wrote one that calculated a custom shipping tag, you can find it in the mail arechives at the URL referenced below. http://developer2.akopia.com/archive/interchange-users/2001/msg02505.html Simple algebra saved the day ... ie [total] = [subtotal] + [tax] + [shipping-charge] therefore [my-total] = [total] - [shipping-charge] + [my-shipping-charge] so you don't need to write a my-total tag now ... and the major reason for overriding built in IC functionality is gone ... your mileage may vary. it worked for me when it came to shipping. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Guy Soudant) Date: Thu May 31 02:00:01 2001 Subject: [ic] No order viewing with flatfile Db Hi, I am working with IC 4.7 and a flatfile Db. I saw that with this system it is impossible to take a look at the orders and see what is ordered (both from the fron as well as from the back end). Does anyone know about this, and if so, is this related to the use of a flatfile Db instead of a SQL Db? Is there a solution to this problem (except for upgrading to IC with SQL Db)? Any help is much appreciated. Kind regards Guy Soudant From: interchange-users at lists.akopia.com (Jessica Smith) Date: Thu May 31 02:00:37 2001 Subject: [ic] Error when trying to edit shipping methods Hi Stefano, At 30/05/01 11:23 AM -0400, you wrote: >From: "Stefano Nota" <stefano@register.it> >To: <interchange-users@developer.akopia.com> >Subject: R: [ic] Error when trying to edit shipping methods >Date: Wed, 30 May 2001 16:11:31 +0200 >Reply-To: interchange-users@lists.akopia.com > >May be, the shipping.asc file is corrupted, and it can't apply changes. >I had the same problem. > >I changed the shippins.asc file and now i can modify shipping methods I have the same problem, so I went looking for the shipping.asc file, but I can't find it in the directory structure (using 'find' from the command line). Where does this file live? I assume that it of course has to be under the ./catalogs/{sitename} area somewhere. TIA, Jessica __________________________________________________________ Thisisridiculous! WhatamIdoinghere? I'minthewrongstory.... --Into the Woods-- http://welcome.to/crystalsinger/ From: interchange-users at lists.akopia.com (Jessica Smith) Date: Thu May 31 02:13:00 2001 Subject: [ic] Error when trying to edit shipping methods I wrote: >I have the same problem, so I went looking for the shipping.asc file, but >I can't find it in the directory structure (using 'find' from the command >line). > >Where does this file live? I assume that it of course has to be under the >./catalogs/{sitename} area somewhere. Just found it! ./catalogs/{sitename}/products if anyone else was looking... I found that you can delete the file (or better, just rename it) and Interchange will recreate it when you add new methods. Regards, Jessica __________________________________________________________ Thisisridiculous! WhatamIdoinghere? I'minthewrongstory.... --Into the Woods-- http://welcome.to/crystalsinger/ From: interchange-users at lists.akopia.com (Stefano Nota) Date: Thu May 31 03:02:51 2001 Subject: R: [ic] Error when trying to edit shipping methods Rigth!!!!!!! stefano -----Messaggio originale----- Da: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]Per conto di Jessica Smith Inviato: giovedì 31 maggio 2001 8.12 A: interchange-users@developer.akopia.com Oggetto: Re: [ic] Error when trying to edit shipping methods I wrote: >I have the same problem, so I went looking for the shipping.asc file, but >I can't find it in the directory structure (using 'find' from the command >line). > >Where does this file live? I assume that it of course has to be under the >./catalogs/{sitename} area somewhere. Just found it! ./catalogs/{sitename}/products if anyone else was looking... I found that you can delete the file (or better, just rename it) and Interchange will recreate it when you add new methods. Regards, Jessica __________________________________________________________ Thisisridiculous! WhatamIdoinghere? I'minthewrongstory.... --Into the Woods-- http://welcome.to/crystalsinger/ _______________________________________________ Interchange-users mailing list Interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Matt Flaherty) Date: Thu May 31 06:46:00 2001 Subject: [ic] 4.7.3 problems with template management and page component override Hi, I've been hacking around with some of the UI code in the 4.7.3 distribution because I found a bug in the files lib/UI/pages/admin/template_save.html and lib/UI/pages/admin/template_preview.html, in which they did not properly establish the path to the component files. I've created a patch file if anyone is interested. Also in my investigations, I've noticed that the pages in the Foundation demo feature some code to override the default components set up in the templates, such as in index.html: ----------------^snip---------------- [comment] ui_template: Yes ui_template_name: leftright [/comment] [set page_title]__COMPANY__ -- Welcome[/set] [set page_banner]Welcome[/set] [set bgcolor]#FFFFFF[/set] [control reset=1] [control-set] [component]search_box_small[/component] [/control-set] [control-set] [component]cart_tiny[/component] [/control-set] [control-set] [component]category_vertical[/component] [/control-set] [control-set] [component][/component] [/control-set] [control-set] [component]cross_horizontal[/component] [size]2[/size] [cols]2[/cols] [banner]Specials[/banner] [/control-set] [control-set] [component]random[/component] [size]3[/size] [cols]1[/cols] [banner]See also...[/banner] [/control-set] [control reset=1] ----------------^snip---------------- After saving the content of the page in the Page Editor, this gets replaced with (adlink_banner_bottom and adlink_banner_top are two components that I created): ----------------^snip---------------- [comment] ui_template: Yes ui_template_name: leftright [/comment] [set adlink_banner_bottom][/set] [set adlink_banner_top][/set] [set NONE]^@^@^@[/set] [set search_box_small][/set] [set category_vertical][/set] ----------------^snip---------------- The scratch variables page_title, page_banner and bgcolor have also been cleared. I don't understand the purpose of this new code. It seems to clear these variables rather than to properly set up the components on the page. Should I be hacking lib/UI/pages/admin/page_save.html to produce the former? Is this something that is currently being worked on? -Matt From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Thu May 31 07:30:00 2001 Subject: [ic] how to NOT use products.txt On Wed, 30 May 2001, Dan B wrote: > Everything looks OK, AFAICS... > > #diff products.mysql products.new.mysql > > Database products COLUMN_DEF "icon=VARCHAR(64)" > > Database products COLUMN_DEF "div_icon=VARCHAR(64)" > 23d24 > < Database products COLUMN_DEF "gift_cert=VARCHAR(3)" > 25a27 > > Database products COLUMN_DEF "type=VARCHAR(64), index(type)" > > 4 changes to .mysql, all of which match up with your mysql table, hmm. > > What is the output of bin/interchange -r? > > And you can't access the data from within an item-list (like results.html > or flypage.html)? > > [item-list] > [item-field icon] > [/item-list] > $ interchange/bin/interchange -r Killing Interchange server 18214 with TERM. CyberCash module found (Version 3.x) Low traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.1 Configuring catalog pp...Using MySQL, DSN=dbi:mysql:pp. done. Interchange server started in INET and UNIX mode(s) (process id 18935) Nope, thats the MOST frustrating part - i CAN access the fields. I just can't edit them via the item properties page because my new field, div_icon doesn't show up. If I click 'Turn Meta Off' or whatever, I can see it, and then click on the meta for that, and edit meta properties. products/mv_metadata.asc looks like this code type width height field db name outboard options attribute label help lookup filter help_url pre_filter lookup_exclude prepend append display_filter products::div_icon select 30 1 =none,he.gif=Higher Ed,hc.gif=Health Care,pa.gif=Public Admin Division Icon Set this to the division the product belongs to .cfg From: interchange-users at lists.akopia.com (Jonathan Clark) Date: Thu May 31 08:03:00 2001 Subject: [ic] how to NOT use products.txt > Nope, thats the MOST frustrating part - i CAN access the fields. I just > can't edit them via the item properties page because my new field, > div_icon doesn't show up. If I click 'Turn Meta Off' or whatever, I can > see it, and then click on the meta for that, and edit meta properties. The problem is not a database one. IC knows about the field - you have proved that. Did you read / verify my message (below)? Check Preferences > Item Display for the UI_ITEM_FIELDS setting which defines which fields are displayed. Jonathan. > I restarted interchange, and all seemed well. BUT, my new column was > still not showing up when I edit a product. > Have you added the field to the appropriate setting in the Knar? You must do this in order for it to show up in the product editor in the admin ui. To check to see if ic recognises the new field, do a table edit in the ui on the products table. Jonathan Webmaint. From: interchange-users at lists.akopia.com (Nixon, Anthony) Date: Thu May 31 08:04:00 2001 Subject: [ic] Interchange Server I am currently using Interchange in a test environment but was wondering about a production server. I really hope this is the place for this question as it does pertain to production Interchange systems. I usually install all of my production Linux servers from scratch, as in I start with a very small custom RH installation and then compile only those software/application components needed. The question is this, is anyone using RH 7.1 out-of-the-box for their installations? I ask because I am really getting tired of having to recompile new releases (especially bug fixes) all the time. I do understand that I get possible performance gains from doing it this way, but the time factor is horrible. So are there any Interchange users who have gone out-of-the-box with their RH 7.1 Linux installations and using them in production on the net? Thanks for your time and I do apologize if this is not the place for this question. Shon Nixon Chief - Information Technology Midrex Enterprises, Inc. From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu May 31 08:44:00 2001 Subject: [ic] [item-subtotal] alternative approach Quoting Guido Sohne (caught_one@yahoo.com): > You could also write your own user tag that does your subtotal calculations. > That way Interchange functionality is 100% untouched - an issue that may > get interesting with multiple stores running on the same interchange ... > In the latest 4.7.x, I yielded to temptation and added an [assign ....] tag. assign Allows you to assign numeric values to preempt calculation of one or more of the following tags: * [handling], [salestax], [shipping], and [subtotal] The assignment is persistent within a user's session until you clear it, an assigned tag will return your value instead of calculating a value. Warning - please be sure you understand the dependencies within the pricing system before using the assign tag. [snip rest of documentation in new and excellent tag reference] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at lists.akopia.com (Julia Jacobs) Date: Thu May 31 09:54:00 2001 Subject: [ic] How to install on Mac OS X? Hi. I'm not a major Unix guru (just a Unix hack) so go easy on me. Has any one installed Interchange on Mac OS X? If so, what's the best way to go about doing so? What are the issues with integrating with MySQL? Is it better to try to integrate with Postgres? Any help would be greatly appreciated! -- Julia Jacobs Currant Media Toll Free 866-837-0990 407-977-4523 Fax 407-261-0179 http://www.currantmedia.com * Multimedia Producers * Web Design & Development * 2D/3D Graphics/Animation * Hosting, domain and e-mail * E-Commerce ­ check, credit card validation From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 31 10:53:00 2001 Subject: [ic] Solaris 8 Hi list, I just stumbled into the Solaris 8 "Operating Environment" that can be freely downloaded from the Sun.com homepages. Is this a "real" Solaris release that can be used as a production environment for Interchange, or is this just some sort a demo? I know that this question does not belong to this list, but I would appreciate just a short answer to my question... Thanks, René ----------------------- Energizer bunny arrested, charged with battery From: interchange-users at lists.akopia.com (Matt Clauson) Date: Thu May 31 11:21:01 2001 Subject: [ic] Solaris 8 On Thu, May 31, 2001 at 05:52:32PM +0300, Rene Hertell wrote: > Hi list, > > I just stumbled into the Solaris 8 "Operating Environment" that can be freely > downloaded from the Sun.com homepages. Is this a "real" Solaris release that > can be used as a production environment for Interchange, or is this just some > sort a demo? This is the real, honest-to-god Solaris 8. The latest downloads I saw, however, were for the January '01 release, and April '01 is out now. You can get it for either Intel or Sparc architectures... I think I heard about some licensing issues about using this on a production line system as opposed to development, but I'm not certain. YMMV, RTF license. --mec From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 31 11:48:01 2001 Subject: [ic] Change image for button form At 11:47 PM 05/30/2001 -0300, you wrote: >Hi ! > >In file "cart" (in ../templates/components) >I need change the button "Check Out" for >a button form. >Like: <input type="submit" value="Check Out"> > >The original source is: > > [button > text="Check Out" > src="__THEME__/checkout_button.gif" > hidetext=1 > form=basket > ] > mv_todo=return > mv_nextpage=ord/checkout > [/button] > > >Someone can tell me how I do for change this ? It would be something like this: <input type=submit name=mv_click value="Check Out"> [set Check Out] mv_todo=return mv_nextpage=ord/checkout [/set] --------------- - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 31 11:59:01 2001 Subject: [ic] Cart contents dropped when going back At 11:14 PM 05/30/2001 -0500, you wrote: >On our site we use a separate payment server to handle payments. That works >fine, but sometimes the customers change their mind and go back to change >their order after they have connected to the payment server to finish the >transaction. The problem is, when they get back the cart contents are >dropped. > >Is there an easy way of correcting this behavior? I've enabled cookies and I >set mv_save_session in the form that sends the user over to the payment >server, but it doesn't work. > Hmmm... it shouldn't happen if they use the 'Back' button on their browser, because the cookie or session id string (depending upon how their browser is set up) should put them back into their existing session. When the basket contents disappear, either the session has expired or IC no longer knows which session belongs to the user, so a new (empty) session is started. If they follow a link back to your site without completing payment, that link should contain the session id string, just to be sure that they get back into their existing session: http://developer.akopia.com/cgi-bin/ic/dev/icintro_7.html http://developer.akopia.com/cgi-bin/ic/dev/icintro_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 lists.akopia.com (Tom Costandine) Date: Thu May 31 12:27:00 2001 Subject: [ic] interchange admin interface not working I managed to break the Interchange admin interface, when I go to: http://optimacy.com/cgi-bin/construct/admin/index It gives the error: Sorry, the page (admin/index) was not found It used to work, the only thing I can remember touching is trying to get areas working, but this was with another project that I created from scratch from the tutorial. Has anybody encountered this problem before? the error.log under interchange reports nothing, and the error.log under /var/lib/interchange/construct shows nothing as well. Thanks, Tom From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu May 31 12:34:01 2001 Subject: [ic] Solaris 8 > This is the real, honest-to-god Solaris 8. The latest downloads I > saw, however, were for the January '01 release, and April '01 is out > now. You can get it for either Intel or Sparc architectures... I > think I heard about some licensing issues about using this on a > production line system as opposed to development, but I'm not > certain. YMMV, RTF license. Thanks! Rene From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Thu May 31 12:37:01 2001 Subject: [ic] interchange admin interface not working Tom Costandine wrote: > > I managed to break the Interchange admin interface, when I go to: > > http://optimacy.com/cgi-bin/construct/admin/index > > It gives the error: Sorry, the page (admin/index) was not > found > > It used to work, the only thing I can remember touching is trying to get > areas working, but this was with another project that I created from > scratch from the tutorial. Has anybody encountered this problem > before? the error.log under interchange reports nothing, and the > error.log under /var/lib/interchange/construct shows nothing as well. Have you # Set to 1 to include UI Variable UI 1 in your interchange.cfg? ciao Joachim -- -------------<BPA FreeBsd>---------------------------------------------- Hans-Joachim Leidinger black point arts Internet Solutions GmbH email: jojo@blackpoint.de FAX : +49 0209-398265 http://www.bpaserver.net From: interchange-users at lists.akopia.com (Guy Soudant) Date: Thu May 31 12:46:01 2001 Subject: [ic] No order viewing with flatfile Db Hi, I am working with IC 4.7 and a flatfile Db. I saw that with this system it is impossible to take a look at the orders and see what is ordered (both from the fron as well as from the back end). Does anyone know about this, and if so, is this related to the use of a flatfile Db instead of a SQL Db? Is there a solution to this problem (except for upgrading to IC with SQL Db)? Any help is much appreciated. Kind regards Guy Soudant From: interchange-users at lists.akopia.com (Curt Hauge) Date: Thu May 31 13:01:00 2001 Subject: [ic] interchange admin interface not working Quoting Tom Costandine > I managed to break the Interchange admin interface, when I go to: > > http://optimacy.com/cgi-bin/construct/admin/index > > It gives the error: Sorry, the page (admin/index) was not > found > > It used to work, the only thing I can remember touching is trying to get > areas working, but this was with another project that I created from > scratch from the tutorial. Has anybody encountered this problem > before? the error.log under interchange reports nothing, and the > error.log under /var/lib/interchange/construct shows nothing as well. I recently broke the customer interface but was able to get into the admin interface (opposite of your problem). This was caused by no field names in my area.txt or cat.txt, one or the other. Also check for the presence of carriage returns in those same files. You may have to open these files in a text editor to view the problem. Good Luck! Curt Hauge From: interchange-users at lists.akopia.com (Thore Karlsen) Date: Thu May 31 13:47:00 2001 Subject: [ic] Cart contents dropped when going back On Thu, 31 May 2001 09:00:46 -0700, you wrote: >>On our site we use a separate payment server to handle payments. That works >>fine, but sometimes the customers change their mind and go back to change >>their order after they have connected to the payment server to finish the >>transaction. The problem is, when they get back the cart contents are >>dropped. >> >>Is there an easy way of correcting this behavior? I've enabled cookies and I >>set mv_save_session in the form that sends the user over to the payment >>server, but it doesn't work. >Hmmm... it shouldn't happen if they use the 'Back' button on their browser, >because the cookie or session id string (depending upon how their browser >is set up) should put them back into their existing session. When the >basket contents disappear, either the session has expired or IC no longer >knows which session belongs to the user, so a new (empty) session is started. > >If they follow a link back to your site without completing payment, that >link should contain the session id string, just to be sure that they get >back into their existing session: Since cookies are enabled, I thought that would take care of everything? I can see the cookie being made as I press the submit button on the form, yet it seems it's not used when the user presses back. What could cause the session to expire, then? All this form does is follow the main route, and the files that follow next don't seem to explicitly cause the cart to be emptied or the session to be expired. These files only save the order info into a file and then connect to the payment server and send it the order info. I'm just maintaining the site, I'm not the original designer. As such, I don't have a full overview of what is happening behind the scenes. If I should look for something, please let me know. -- Be seeing you. From: interchange-users at lists.akopia.com (J.-P. Parent) Date: Thu May 31 14:10:00 2001 Subject: [ic] Hidden fields mapping Hiya folks I've been trying to map the checkout hidden fields to some other name when submitting a form. Is there any way to do that as i think the value isn't known yet and can't be assigned via variables yet. I tried to use the mv_check and then assign the value of the form to a session var but the payment host cannot access the session vars...it needs hidden fields sent by a POST. I'd rather avoid the javascript... Thank you J.P. Parent From: interchange-users at lists.akopia.com (Craig Carman) Date: Thu May 31 15:18:00 2001 Subject: [ic] Redhat ftpd problem hurting my IC use I'm using RH7 and IC 4.6.4 so hopefully this post isn't off topic too much since I need ftpd working to effectively use interchange well. I need help fixing ftpd. It worked until I broke it a few days ago. I can't remember exactly what I did to screw it up but I can tell you what fix and re-install attempts I have made since. List or e-mail responses would certainly be appreciated, however, I can't tolerate any more down time so I would like to hire a solution. I have done and "rpm -e package" to remove ftpd. I have upgraded and/or successfully re-installed these rpm's: fileutils anonftp wu-ftp ftpd At this point I assume the devil is in the config detail. If you can or will assist or make recommendations let me know. If you are serious and capable of making ftp daemon functional call me toll free 1-866-342-7467 and allow me to trade some currency for expertise. Thanks, Craig Carman mailto:webmaster@seeshopgo.com Toll Free 1-866-DIA-SHOP(342-7467) New Orleans, Louisiana From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 31 15:44:01 2001 Subject: [ic] how to NOT use products.txt At 06:30 AM 5/31/2001 -0400, you wrote: >Nope, thats the MOST frustrating part - i CAN access the fields. I just >can't edit them via the item properties page because my new field, >div_icon doesn't show up. If I click 'Turn Meta Off' or whatever, I can >see it, and then click on the meta for that, and edit meta properties. > >products/mv_metadata.asc looks like this > >code type width height field db name outboard >options >attribute label help lookup filter help_url pre_filter > lookup_exclude prepend append display_filter >products::div_icon select 30 1 > =none,he.gif=Higher Ed,hc.gif=Health Care,pa.gif=Public >Admin Division Icon Set this to the division the product belongs to > >.cfg That's what I get for jumping in a thread half-way through. :-) I thought you couldn't access the data from a item list. Anyway, Jonathan Clark hit the button on the nose. Don't forget to "apply changes" or --reconfig your catalog after making the change in preferences to Item-Display->UI_ITEM_FIELDS Later, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 31 15:52:00 2001 Subject: [ic] Interchange Server At 08:04 AM 5/31/2001 -0400, you wrote: >I am currently using Interchange in a test environment but was wondering >about a production server. I really hope this is the place for this >question as it does pertain to production Interchange systems. I usually >install all of my production Linux servers from scratch, as in I start with >a very small custom RH installation and then compile only those >software/application components needed. The question is this, is anyone >using RH 7.1 out-of-the-box for their installations? I ask because I am >really getting tired of having to recompile new releases (especially bug >fixes) all the time. I do understand that I get possible performance gains >from doing it this way, but the time factor is horrible. So are there any >Interchange users who have gone out-of-the-box with their RH 7.1 Linux >installations and using them in production on the net? Thanks for your time >and I do apologize if this is not the place for this question. Shon, Remember that RedHat owns Interchange. Luckily, I don't think the RH engineers are very thin-skinned when people mention how insecure and slow it is out of the box. :-) However, yes, I've been running Interchange on RH 7.1 since it came out. I plan on upgrading some of our production servers to it soon (find the time, etc.). Their 2.4.2+patches kernel did ship with the FTP vulnerability, so you need to work around that if you are planning on using it for NAT, and I'm sure it would be easy to recompile 2.4.5 on there if you were so inclined. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Dan B) Date: Thu May 31 16:02:00 2001 Subject: [ic] Hidden fields mapping At 02:10 PM 5/31/2001 -0400, you wrote: >I've been trying to map the checkout hidden fields to some other name when >submitting a form. >Is there any way to do that as i think the value isn't known yet and can't >be assigned via variables yet. > >I tried to use the mv_check and then assign the value of the form to a >session var but the payment host cannot access the session vars...it needs >hidden fields sent by a POST. > >I'd rather avoid the javascript... > >Thank you > >J.P. Parent J.P., It sounds like the only way you can solve this is either with javascript (might be easier), or with a two-phase form posting. The first form, much like you have it now would just submit to interchange again, where mv_check is executed and the values are copied into the right places. Then do another automatic form posting that goes to the real POST destination. How do you do an automatic form post? Either javascript: this.form.submit(), or use the code that was posted in the last few weeks on that (I think). At any rate, I hope the above might spark a thought for ya. Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Thu May 31 16:24:00 2001 Subject: [ic] how to NOT use products.txt I finally fixed it. I found an 'extra' field in my database, where I must've been confused about the name when i was working (damn memory). I shutdown interchangedropped the offending column, 'icon', and my new column, 'div_icon' removed products.txt, restarted interchange, re-created products.txt, added the column using the knar editor, and things were good. thanks for all your help :) .cfg I am still not sure WHY products.txt exists though... On Thu, 31 May 2001, Dan B wrote: > At 06:30 AM 5/31/2001 -0400, you wrote: > >Nope, thats the MOST frustrating part - i CAN access the fields. I just > >can't edit them via the item properties page because my new field, > >div_icon doesn't show up. If I click 'Turn Meta Off' or whatever, I can > >see it, and then click on the meta for that, and edit meta properties. > > > >products/mv_metadata.asc looks like this > > > >code type width height field db name outboard > >options > >attribute label help lookup filter help_url pre_filter > > lookup_exclude prepend append display_filter > >products::div_icon select 30 1 > > =none,he.gif=Higher Ed,hc.gif=Health Care,pa.gif=Public > >Admin Division Icon Set this to the division the product belongs to > > > >.cfg > > That's what I get for jumping in a thread half-way through. :-) I thought > you couldn't access the data from a item list. > > Anyway, Jonathan Clark hit the button on the nose. Don't forget to "apply > changes" or --reconfig your catalog after making the change in preferences > to Item-Display->UI_ITEM_FIELDS > > Later, > > Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 31 16:56:01 2001 Subject: [ic] Hidden fields mapping At 02:10 PM 05/31/2001 -0400, you wrote: >Hiya folks > >I've been trying to map the checkout hidden fields to some other name when >submitting a form. >Is there any way to do that as i think the value isn't known yet and can't >be assigned via variables yet. > >I tried to use the mv_check and then assign the value of the form to a >session var but the payment host cannot access the session vars...it needs >hidden fields sent by a POST. > >I'd rather avoid the javascript... > >Thank you > >J.P. Parent One way would go something like this: <form action=....> <input type=hidden name=value1 value="something"> <input type=hidden name=value2 value="something2"> ... <input type hidden name=mv_check value=map_fields> </form> [set map_fields] [perl] my $out; $out = "map_value1=$CGI->{value1}\n"; $out .= "map_value2=$CGI->{value2}\n"; return $out; [/perl] [/set] When you submit the form, the CGI data structure will be updated, then map_fields will be executed. The Perl just outputs assignments of the raw values of value1 and value2 to your 'map' variables. There are no doubt many other perfectly good ways to do this... - Ed L. >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (Brian) Date: Thu May 31 16:57:00 2001 Subject: [ic] Redhat ftpd problem hurting my IC use > I'm using RH7 and IC 4.6.4 so hopefully this post isn't off topic too much > since I need ftpd working to effectively use interchange well. > > I need help fixing ftpd. It worked until I broke it a few days ago. I > can't remember exactly what I did to screw it up but I can tell you what fix > and re-install attempts I have made since. List or e-mail responses would > certainly be appreciated, however, I can't tolerate any more down time so I > would like to hire a solution. > > I have done and "rpm -e package" to remove ftpd. > I have upgraded and/or successfully re-installed these rpm's: > fileutils > anonftp > wu-ftp > ftpd > > At this point I assume the devil is in the config detail. > > If you can or will assist or make recommendations let me know. If you are > serious and capable of making ftp daemon functional call me toll free > 1-866-342-7467 and allow me to trade some currency for expertise. > > Thanks, > Craig Carman > mailto:webmaster@seeshopgo.com > Toll Free 1-866-DIA-SHOP(342-7467) > New Orleans, Louisiana > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > First of all, I don't think you should have or at least, don't need wu-ftp and ftpd installed at the same time. My guess is that something has changed in your inetd.conf or xinetd.conf file for the ftp setting. I'd also suggest making sure the inetd or xinetd is running. Remeber to restart whichever of those you're using if you edit inetd.conf or xinetd.conf. Lastly, I prefer proftpd because it is much more configurable especially if you're doing virtual hosts. Good luck. -- NeoMail - Webmail that doesn't suck... as much. http://neomail.sourceforge.net From: interchange-users at lists.akopia.com (Doug Alcorn) Date: Thu May 31 18:19:01 2001 Subject: [ic] example of bad web programming This isn't exactly on topic, but was so funny I had to put up a link somewhere. :) https://online.bankone.com/bank/bolLogin.asp?bolErrorMsgStr=This+is+Stupid+I+Think This is a legitimate web site. It is actually bankone.com. The foible is that they allow an arbitrary text message to be put in the url. I don't think there's any real way to exploit this, per se. However, it just stinks to me as bad design. As an asside, I wonder if there's a way to force a buffer overflow with this? -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at lists.akopia.com (interch) Date: Thu May 31 18:35:01 2001 Subject: [ic] [perl] tag question I need to be able to use the [perl][/perl] tag but I need to be able to tell it what database it is going to access via a variable and not a hardcoded value. [perl tables="[value dbname]"] doesn't seem to work. Any easy ways to do this? Chris From: interchange-users at lists.akopia.com (Mark Johnson) Date: Thu May 31 18:39:04 2001 Subject: [ic] Change image for button form Actually, the easiest way is to remove the src= attribute. Then, it will fall back to a HTML form submit button, with scratch and mv_click properly set. Ed LaFrance wrote: > > At 11:47 PM 05/30/2001 -0300, you wrote: > > >Hi ! > > > >In file "cart" (in ../templates/components) > >I need change the button "Check Out" for > >a button form. > >Like: <input type="submit" value="Check Out"> > > > >The original source is: > > > > [button > > text="Check Out" > > src="__THEME__/checkout_button.gif" > > hidetext=1 > > form=basket > > ] > > mv_todo=return > > mv_nextpage=ord/checkout > > [/button] > > > > > >Someone can tell me how I do for change this ? > > It would be something like this: > > <input type=submit name=mv_click value="Check Out"> > > [set Check Out] > mv_todo=return > mv_nextpage=ord/checkout > [/set] > > --------------- > - Ed L. > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (J.-P. Parent) Date: Thu May 31 19:00:00 2001 Subject: [ic] Hidden fields mapping Ed, I dont understand how the following code affect the URL request?! You are telling me that when the person will submit the form, the mv_check will execute this code. I follow you there I've worked a bit with mv_check but that the return value of this code is actually the URL is out of my understanding...I think the variables that will be created will be session vars wouldnt they? I need em to be hidden posts. Besides, it doesnt seem to work. Is there any way i could see if the values have been modified? Here's what i tried: [set map_fields] [perl] my $out; $out = "name=$CGI->{fname}%40$CGI->{lname}\n"; $out .= "address=$CGI->{address1}\n"; return $out; [/perl] [/set] and by setting the hidden mv_check to map_fields of course. J.P. ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, May 31, 2001 4:58 PM Subject: Re: [ic] Hidden fields mapping > At 02:10 PM 05/31/2001 -0400, you wrote: > >Hiya folks > > > >I've been trying to map the checkout hidden fields to some other name when > >submitting a form. > >Is there any way to do that as i think the value isn't known yet and can't > >be assigned via variables yet. > > > >I tried to use the mv_check and then assign the value of the form to a > >session var but the payment host cannot access the session vars...it needs > >hidden fields sent by a POST. > > > >I'd rather avoid the javascript... > > > >Thank you > > > >J.P. Parent > > One way would go something like this: > > <form action=....> > <input type=hidden name=value1 value="something"> > <input type=hidden name=value2 value="something2"> > ... > <input type hidden name=mv_check value=map_fields> > > </form> > > [set map_fields] > [perl] > my $out; > $out = "map_value1=$CGI->{value1}\n"; > $out .= "map_value2=$CGI->{value2}\n"; > return $out; > [/perl] > [/set] > > When you submit the form, the CGI data structure will be updated, then > map_fields will be executed. The Perl just outputs assignments of the raw > values of value1 and value2 to your 'map' variables. There are no doubt > many other perfectly good ways to do this... > > - Ed L. > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 31 19:16:00 2001 Subject: [ic] losing modifiers on checkout (upgrade from 4.6 to 4.7) hi list, i´ve an EXACT copy of a catalog running on interchange4.6 which i´m upgrading to 4.7.1 , i have around 7 item-modifiers which are retained in the basket and in checkout but which (in 4.7) get dropped in the reciept.html and in both reports. Has anyone else encountered this? thanks al -- Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu May 31 19:29:00 2001 Subject: [ic] Hidden fields mapping At 07:00 PM 05/31/2001 -0400, you wrote: >Ed, > >I dont understand how the following code affect the URL request?! Sorry, I didn't really understand your question - I just saw 'map one value to another name while submitting the form', I didn't know you were looking for the actual code to send the values in the bargain. It sounds like you have a bit more on your hands than just a line or two of code; do you have any code for the form post? What happens during and after the post, is the browser redirected. Do you have to coordinate with the order submission? Is anything predicated on a return value? These are some of the things you have to consider. There are several ways you could do it; the best will be determined by your specific needs. >You are telling me that when the person will submit the form, the mv_check >will execute this code. I follow you there I've worked a bit with mv_check >but that the return value of this code is actually the URL is out of my >understanding...I think the variables that will be created will be session >vars wouldnt they? I need em to be hidden posts. > >Besides, it doesnt seem to work. Is there any way i could see if the values >have been modified? > >Here's what i tried: > >[set map_fields] >[perl] > my $out; > $out = "name=$CGI->{fname}%40$CGI->{lname}\n"; > $out .= "address=$CGI->{address1}\n"; > return $out; >[/perl] >[/set] > >and by setting the hidden mv_check to map_fields of course. > >J.P. > >----- Original Message ----- >From: "Ed LaFrance" <edl@newmediaems.com> >To: <interchange-users@developer.akopia.com> >Sent: Thursday, May 31, 2001 4:58 PM >Subject: Re: [ic] Hidden fields mapping > > > > At 02:10 PM 05/31/2001 -0400, you wrote: > > >Hiya folks > > > > > >I've been trying to map the checkout hidden fields to some other name >when > > >submitting a form. > > >Is there any way to do that as i think the value isn't known yet and >can't > > >be assigned via variables yet. > > > > > >I tried to use the mv_check and then assign the value of the form to a > > >session var but the payment host cannot access the session vars...it >needs > > >hidden fields sent by a POST. > > > > > >I'd rather avoid the javascript... > > > > > >Thank you > > > > > >J.P. Parent > > > > One way would go something like this: > > > > <form action=....> > > <input type=hidden name=value1 value="something"> > > <input type=hidden name=value2 value="something2"> > > ... > > <input type hidden name=mv_check value=map_fields> > > > > </form> > > > > [set map_fields] > > [perl] > > my $out; > > $out = "map_value1=$CGI->{value1}\n"; > > $out .= "map_value2=$CGI->{value2}\n"; > > return $out; > > [/perl] > > [/set] > > > > When you submit the form, the CGI data structure will be updated, then > > map_fields will be executed. The Perl just outputs assignments of the raw > > values of value1 and value2 to your 'map' variables. There are no doubt > > many other perfectly good ways to do this... > > > > - Ed L. > > > > > > >_______________________________________________ > > >Interchange-users mailing list > > >Interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > Interchange-users mailing list > > Interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu May 31 19:47:01 2001 Subject: [ic] Hidden fields mapping On Thu, May 31, 2001 at 04:30:40PM -0700, Ed LaFrance wrote: > At 07:00 PM 05/31/2001 -0400, you wrote: > >Ed, > > > >I dont understand how the following code affect the URL request?! > > Sorry, I didn't really understand your question - I just saw 'map one value > to another name while submitting the form', I didn't know you were looking > for the actual code to send the values in the bargain. Yeah, I read the question too, reread it, then deleted it because I could not understand what was being asked. Quality of answer is directly proportional to that of the question. :-) cfm > It sounds like you have a bit more on your hands than just a line or two of > code; do you have any code for the form post? What happens during and > after the post, is the browser redirected. Do you have to coordinate with > the order submission? Is anything predicated on a return value? These are > some of the things you have to consider. There are several ways you could > do it; the best will be determined by your specific needs. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content management, electronic commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Russ Mann) Date: Thu May 31 19:58:01 2001 Subject: [ic] Multiple Shipping Addresses Hello, It looks like the multiple shipping addresses was added, but not completely thought through. I'm working on fixing the places where it comes short. So far, I've managed to get the ship addresses available in the admin, through adding them to the orderline db. It seems like this should be standard procedure, so if anyone at RH/IC/Akopia wants the code for that, I can send it on. Russ --------------------------------------------- "Posterity -- you will never know how much it has cost my generation to preserve your freedom. I hope you will make good use of it." --John Quincy Adams From: interchange-users at lists.akopia.com (J.-P. Parent) Date: Thu May 31 20:11:01 2001 Subject: [ic] Hidden fields mapping Thanks Ed for replying to my posts... I'll explain to you what is my problem: We have been accepted at www.worldpay.com for the "Select" service. Their setup is not really what I anticipated. Basically they host the CC and billing info and place cookies on clients site so that they dont have to re-enter their info again. Now, if you want, they can trigger a CGI on your site so that you actually know if the transaction was succesfull. So at first you send a POST containing a few hidden fields (i.e.: instId, cartId, amount, and other custom fields if you want) like this: (this is the GET method its just for illustration purpose) https://select.worldpay.com/wcc/purchase?instId=xxx&cartId=xxxx&amount=xxxx& currency=xxx Then, you are presented with a page containing billing info (*****if you passed it*****) and input fields for CC info. Problem #1 To pass the billing info, I need to map the values to the names they need. Not the fields i have in my db. This is tricky as I can't change the names of the db and the info does not really exist yet (its being entered). Problem #2 I need a callback that will get the status sent back by WorldPay to know if the orders are valid. And from there I'm completely lost...I dont even know where to start. I could pass the session Id and cartId and they would send a post on one of my pages parsed by interchange and i could even set a password from their admin section to make sure the response comes from them. I hope someone can at least give me some tips as very few people are able to help me right now. J.-P. ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, May 31, 2001 7:30 PM Subject: Re: [ic] Hidden fields mapping > At 07:00 PM 05/31/2001 -0400, you wrote: > >Ed, > > > >I dont understand how the following code affect the URL request?! > > Sorry, I didn't really understand your question - I just saw 'map one value > to another name while submitting the form', I didn't know you were looking > for the actual code to send the values in the bargain. > > It sounds like you have a bit more on your hands than just a line or two of > code; do you have any code for the form post? What happens during and > after the post, is the browser redirected. Do you have to coordinate with > the order submission? Is anything predicated on a return value? These are > some of the things you have to consider. There are several ways you could > do it; the best will be determined by your specific needs. > > > > > >You are telling me that when the person will submit the form, the mv_check > >will execute this code. I follow you there I've worked a bit with mv_check > >but that the return value of this code is actually the URL is out of my > >understanding...I think the variables that will be created will be session > >vars wouldnt they? I need em to be hidden posts. > > > >Besides, it doesnt seem to work. Is there any way i could see if the values > >have been modified? > > > >Here's what i tried: > > > >[set map_fields] > >[perl] > > my $out; > > $out = "name=$CGI->{fname}%40$CGI->{lname}\n"; > > $out .= "address=$CGI->{address1}\n"; > > return $out; > >[/perl] > >[/set] > > > >and by setting the hidden mv_check to map_fields of course. > > > >J.P. > > > >----- Original Message ----- > >From: "Ed LaFrance" <edl@newmediaems.com> > >To: <interchange-users@developer.akopia.com> > >Sent: Thursday, May 31, 2001 4:58 PM > >Subject: Re: [ic] Hidden fields mapping > > > > > > > At 02:10 PM 05/31/2001 -0400, you wrote: > > > >Hiya folks > > > > > > > >I've been trying to map the checkout hidden fields to some other name > >when > > > >submitting a form. > > > >Is there any way to do that as i think the value isn't known yet and > >can't > > > >be assigned via variables yet. > > > > > > > >I tried to use the mv_check and then assign the value of the form to a > > > >session var but the payment host cannot access the session vars...it > >needs > > > >hidden fields sent by a POST. > > > > > > > >I'd rather avoid the javascript... > > > > > > > >Thank you > > > > > > > >J.P. Parent > > > > > > One way would go something like this: > > > > > > <form action=....> > > > <input type=hidden name=value1 value="something"> > > > <input type=hidden name=value2 value="something2"> > > > ... > > > <input type hidden name=mv_check value=map_fields> > > > > > > </form> > > > > > > [set map_fields] > > > [perl] > > > my $out; > > > $out = "map_value1=$CGI->{value1}\n"; > > > $out .= "map_value2=$CGI->{value2}\n"; > > > return $out; > > > [/perl] > > > [/set] > > > > > > When you submit the form, the CGI data structure will be updated, then > > > map_fields will be executed. The Perl just outputs assignments of the raw > > > values of value1 and value2 to your 'map' variables. There are no doubt > > > many other perfectly good ways to do this... > > > > > > - Ed L. > > > > > > > > > >_______________________________________________ > > > >Interchange-users mailing list > > > >Interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > =============================================================== > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > _______________________________________________ > > > Interchange-users mailing list > > > Interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ > >Interchange-users mailing list > >Interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (J.-P. Parent) Date: Thu May 31 20:16:01 2001 Subject: [ic] Hidden fields mapping Sorry folks, the fact that english is not my native tongue combined with the other that its getting pretty mixed up in my mind doesn't help. Believe me I do my best but its not always easy to formulate the problem too... J.-P. ----- Original Message ----- From: <cfm@maine.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, May 31, 2001 7:48 PM Subject: Re: [ic] Hidden fields mapping > On Thu, May 31, 2001 at 04:30:40PM -0700, Ed LaFrance wrote: > > At 07:00 PM 05/31/2001 -0400, you wrote: > > >Ed, > > > > > >I dont understand how the following code affect the URL request?! > > > > Sorry, I didn't really understand your question - I just saw 'map one value > > to another name while submitting the form', I didn't know you were looking > > for the actual code to send the values in the bargain. > > Yeah, I read the question too, reread it, then deleted it because I could > not understand what was being asked. Quality of answer is directly proportional > to that of the question. :-) > > cfm > > > It sounds like you have a bit more on your hands than just a line or two of > > code; do you have any code for the form post? What happens during and > > after the post, is the browser redirected. Do you have to coordinate with > > the order submission? Is anything predicated on a return value? These are > > some of the things you have to consider. There are several ways you could > > do it; the best will be determined by your specific needs. > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content management, electronic commerce, internet integration, Debian linux > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (joe) Date: Thu May 31 22:29:01 2001 Subject: [ic] HELP@@!!@ How do I get off this mailing list????? Please help as soon as pos. Thank you Joe From: interchange-users at lists.akopia.com (Anton van de Plas) Date: Thu May 31 22:36:01 2001 Subject: [ic] E-mail for customer with returns Hi, I seem to have a hard time finding the place where I can edit the text of the e-mail that the customer receives as confirmation of a return he or she just did. The return address mentioned is the one below and as you can imaging, it is not the right one; Hello and thank you for your interest in COMPANY products. We have received your return request and have issued you an RMA number. Please use the information below to process your return: Shipping Address: COMPANY 11480 Sunset Hills Road Suite 200 East Reston, VA 20190 Return Info: RMA Number: 3 Date Issued: 20010531 22:31:34 Order Number: 000014 Item Quantity: 2 Credit Amount: $130.00 From: interchange-users at lists.akopia.com (Dan McFarland) Date: Thu May 31 22:55:01 2001 Subject: [ic] HELP@@!!@ How do I get off this mailing list????? send an e-mail to majordomo@developer.akopia.com with the following line in the body: unsubscribe jmyers@ott-dental-supplies.com interchange-users ----- Original Message ----- From: joe <jmyers@ott-dental-supplies.com> To: <interchange-users@developer.akopia.com> Sent: Friday, June 01, 2001 9:31 AM Subject: [ic] HELP@@!!@ How do I get off this mailing list????? > Please help as soon as pos. Thank you Joe > > > _______________________________________________ > Interchange-users mailing list > Interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users