From: interchange-users at lists.akopia.com (chad m. townsend) Date: Wed Aug 1 00:12:00 2001 Subject: [ic] help with mv_credit_card_number in usertags hey all - i'm trying to read as much documentation as i can but i'm stuck. when a order is submitted i have it run a special usertag in profiles.order - i'm able to access all of the information with $::Values->{$name} except $::Values->{mv_credit_card_number} - i'm sure this is a huge newbie question any assists would be mucho appreciated. thanks, ./chad& chief technology officer mycity.com From: interchange-users at lists.akopia.com (Jillian Carroll) Date: Wed Aug 1 00:54:00 2001 Subject: [ic] Linking Question Thanks Mike! Sometimes my ability to -retain- isn't as good... I know I skimmed through the intro... but alas... I didn't remember seeing that. Thanks again. -----Original Message----- From: Mike Heins [mailto:mheins@redhat.com] Sent: Tuesday, July 31, 2001 6:29 PM To: interchange-users@developer.akopia.com Subject: Re: [ic] Linking Question Quoting Jillian Carroll (jcarroll@horizon.sk.ca): > > This may seem like a stupid question... but I was wondering what the > advantage to linking by [area index] instead of index.html is? This is covered in the intro to Interchange; basically to retain session you can do use cookies or do what is called URL rewriting. [area index] is the automatic method in Interchange for URL rewriting. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (chad m. townsend) Date: Wed Aug 1 00:58:00 2001 Subject: [ic] [nevermind] help with mv_credit_card_number in usertags ah ha! my (%actual) = Vend::Order::map_actual(); $actual{mv_credit_card_number} did the trick. i knew it was a newbi question! ./chad& "chad m. townsend" wrote: > > hey all - > > i'm trying to read as much documentation as i can but i'm stuck. when a > order is submitted i have it run a special usertag in profiles.order - > i'm able to access all of the information with $::Values->{$name} except > $::Values->{mv_credit_card_number} - i'm sure this is a huge newbie > question any assists would be mucho appreciated. > > thanks, > > ./chad& > chief technology officer > 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 (chad m. townsend) Date: Wed Aug 1 02:08:00 2001 Subject: [ic] help with order number how do i submit an order number to a credit card agency and make sure interchange uses that same order number for it's records? ./chad& From: interchange-users at lists.akopia.com (Peter Yoo) Date: Wed Aug 1 02:37:00 2001 Subject: [ic] Upgrading from 4.7.2 to 4.7.7 OK, I believe that I'm almost there now.... upgrading from 4.7.2 to 4.7.7 requires much more work than I expected. I was able to follow Brian Kosick's instructions to recover my tables being recognized by Admin pages and being able to export them to backup directory. Thanks, Brian. Now, Wizard works and etc... however, I cannot create new access users : Administration -> Access -> Create new user then type in Real name and user name(pyoo) then click on OK button, I get this message : FATAL error There is no row with index 'pyoo' at /usr/local/interchange/lib/Vend/Table/Common.pm line 258 Any idea why I'm getting this and how to fix it? I'm so close to get all of databases work on IC4.7.7..... Thanks. Peter. On Tue, Jul 31, 2001 at 10:03:28PM -0400, Brian Kosick wrote: > Both in interchange.cfg, AND catalog.cfg Take a look at the reference > manual, to see what options are available in each one. > > I was getting a "Runtime Error: Magic number checking" After the perl > upgrade. Did a search from that found out the listings in the > archives. Found out there is a Storable incompatibility problem, which > causes the gdbm files, to become unreadable. > Summary of solution -> delete all your old gdbm files, and let IC rebuild > them from the text files. > > Though if you're all ready using 5.6.x, I don't know how much this'll help. > > The way I deleted the gdbm files is "rm -rf products/*.gdbm" Since I'm > using the gdbm (GNU DataBase SomethingorOther) IC auto-magically > regenerates the missing gdbm file from the .txt, .asc files. Whether or > not this behavior is the same using db (Berkeley Database?) I dunno. I > would imagine so though. Make sure that you export the current db to their > respective text files before you go about deleting them, as it would suck, > if it rebuilt itself from old outdated info. > > At 06:28 PM 7/31/01 -0700, you wrote: > >Hello, > > > >Where do you enable DisplayErrors? in interchange.cfg file? > > > >I tried to search MailList Archive but couldn't find much about this problem. > > > >I'm running it with Perl5.6.1 on Solaris8... > > > >Can you please tell me more detail on what files I delete in products/? > >when you say gdbm files, do you mean *.db files? what about ichelp.db and > >icmenu.db file? > > > >Thanks again. > > > > Peter. > > > >On Tue, Jul 31, 2001 at 08:34:26PM -0400, Brian Kosick wrote: > > > I have/had the same problem, I couldn't figure it out either. Then, I > > > started running IC with > > > > > > DisplayErrors Yes > > > > > > Ran into a whole bunch of stuff that it was looking for, but couldn't find > > > (aka XSLoader.pm, etc) Did some research, found that it was only > > available > > > in the later versions of perl. > > > > > > I upgraded to perl 5.6.1, went through the headaches that were caused by > > > the upgrade. (Ie recompiling and installing interchange (4.8.0), then > > > deleting all the gdbm files in products/*, and finally rm -rf > > > session/*)(Make sure you make BACKUPS!!!!) For more info, search the > > > Archives on this. > > > > > > It appears that 90% of my problems are solved. Error messages almost down > > > to nothing, The tables in Administration->Info and Administration->Tables > > > are showing up, Checking out actually works now. > > > > > > I have two catalogs running under this version of IC. > > > > > > System > > > > > > Cobalt/Sun RaqXTR > > > Cobalt OS (modded version of RH6.2) > > > 256MB RAM > > > RAID 5 > > > Perl 5.6.1 (now at least, it was running 5.00504) > > > Interchange 4.8.0 > > > > > > > > > 1) I have been meticulously trying to update from MV3.04 to > > > IC(latest) Which now works great! One thing though..Nobodies written > > a MV > > > 3.04 userdb -> IC(latest) userdb script yet have they? just though I'd > > > check. This one is using gdbm > > > > > > ^^^^ Definitely NOT for the faint of heart ^^^^^^^^ > > > > > > 2) slightly modified demo catalog from IC 4.7.x (2 or 3 i don't > > > remember) Which unfortunately is still suffering from needing the > > &success > > > entry in the profiles.order file, and the basket won't empty on > > > checkout. This one is using pgsql. The table definitions have changed > > > since this ones been created. Definitely double check your table > > > definitions if you've created a catalog during the early version of 4.7.x > > > > > > > > > > > > > > > PS > > > I am planning once these projects are live, and I get some time, to make > > > rpms for cobalt raq's, because I've seen PLENTY of requests for them. > > > > > > At 04:55 PM 7/31/01 -0700, you wrote: > > > >Hello Again, > > > > > > > >I've backedup my 4.7.2 catalog and started with 4.7.7 template of > > foundation > > > >and gotten as far as getting everything working including Wizard! > > > > > > > >Except.... when I look at Info page(under admin) or Tables, I get no > > tables! > > > > > > > >Store-front works fine, I can add/edit items with no problem. I see > > the mysql > > > >database and there are all the tables. But I cannot access tables > > from Admin > > > >page. When I click on Tables, all it says is Table Manager - Database > > tables > > > >(no listing) - Hidden admin tables:(no listing) > > > > > > > >What do I do to fix this? > > > > > > > >Thanks. > > > > > > > > Peter. > > > > > > > >On Tue, Jul 31, 2001 at 03:45:05PM -0700, Peter Yoo wrote: > > > > > Hello All, > > > > > > > > > > I'm having some problems upgrading my server from 4.7.2 to 4.7.7 > > > > > I've added all of the additional fields in the tables my hand on a few > > > > > talbes to match with 4.7.7's tables, and created additional files that > > > > > are there in <catalog dir>/products/*.[txt|sql|db]. > > > > > > > > > > Store front-end works fine but once I went in to admin pages, things do > > > > > not work too well. > > > > > > > > > > I cannot export tables, I get this message in the log file: > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:42:46 -0700] > > > > LittleBebe /cgi-bin/littlebebe/admin/export_table Runtime error: Can't > > > > use string ("") as a HASH ref while "strict refs" in use at > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > when I try to go thru the Wizard, I get : > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:43:27 -0700] > > > > LittleBebe /cgi-bin/littlebebe/admin/wizard/step_company Runtime error: > > > > Can't use string ("") as a HASH ref while "strict refs" in use at > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > Can someone let me know what I did/didn't do correctly? > > > > > > > > > > Is there a document how to upgrade 4.7.2 to 4.7.7? > > > > > > > > > > I've made so many changes to <catalog dir>/pages/* files already and > > > > I'd like > > > > > to keep the changes that I've made. > > > > > > > > > > Thank you. > > > > > > > > > > Peter. > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > >_______________________________________________ > > > >interchange-users mailing list > > > >interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > Brian Kosick > > > Web Programmer > > > New Age Consulting Service, Inc. > > > 216-619-2000 > > > briank@nacs.net > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ > >interchange-users mailing list > >interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Brian Kosick > Web Programmer > New Age Consulting Service, Inc. > 216-619-2000 > briank@nacs.net > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Gavin Harper) Date: Wed Aug 1 03:28:00 2001 Subject: [ic] Sales Tax problems! Can anyone help! I can add sales tax to a state using the admin pages of the Foundation template. However I want to be able to add tax to a country not a state. I'm sure its simple but I can't find it! Thanks Gavin Gavin Harper -- Steelblue Limited, PO Box 740, Cambridge, CB4 5FA Tel: +44 (0)7005 618 242 e-mail: gavin@steelblue.co.uk web: http://www.steelblue.co.uk/ From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed Aug 1 04:17:01 2001 Subject: [ic] help with order number "chad m. townsend" wrote: > > how do i submit an order number to a credit card agency and make sure > interchange uses that same order number for it's records? If I recall right, this question was answered a long time before! Did you use the mail archives to find your answer? Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed Aug 1 05:46:01 2001 Subject: [ic] usertrack questions Hi list, I can see the page name of the UI in my usertrack file. But I want to see, which sku did my customer edit/change. What I mean is, I've -----------snip-------------- 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 996593873 VIEWPAGE=admin/item_edit -----------snip-------------- and i want to see -----------snip-------------- 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 996593873 VIEWPAGE=admin/item_edit/<sku number> -----------snip-------------- Any tips, helps and suggestions are very welcome! Thanks! Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at lists.akopia.com (Salvador Caballe) Date: Wed Aug 1 05:50:00 2001 Subject: [ic] Credit Card Info Help Thanks for your answer, Now is working , the solution was trivial :) , the problem was in the PGP_KEY sintaxis.. On Tue, 31 Jul 2001 15:19:40 -0600 David Totten <akopia@davetotten.com> wrote: > On Tue, Jul 31, 2001 at 07:29:44PM +0200, Salvador Caballe wrote: > > > >From what I experianced, it sounds like the problem that you are running into > is that you have not defined ENCRYPTOR, PGP_KEY, and possibly PAYGATE. > From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Wed Aug 1 07:06:01 2001 Subject: [ic] usertrack questions Joachim Leidinger <jojo@blackpoint.de> writes: > Hi list, > > I can see the page name of the UI in my usertrack file. But I want to > see, which sku did my customer edit/change. What I mean is, I've > > -----------snip-------------- > 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 > 996593873 VIEWPAGE=admin/item_edit > -----------snip-------------- > > and i want to see > > -----------snip-------------- > 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 > 996593873 VIEWPAGE=admin/item_edit/<sku number> > -----------snip-------------- > > Any tips, helps and suggestions are very welcome! Hm, how about to implement a configuration directive like TrackPageParam admin/item_edit item_id Would this be sufficient ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Mangeng Michael) Date: Wed Aug 1 07:35:00 2001 Subject: [ic] Interchange basket problem Hi I' ve encoutered a little problem with the shopping basket while constructing the site template. When i order a product two or more times (quantity not relevant), for each order-click a new entry in the shopping basket gets created. I want to update the amount of the ordered product and not to add a new item when i order the same product a second time. I'm using the following entry on flypage.html to order a product: ######## flypage.html ######## <FORM ACTION="[process-target]" method=post target=box> <INPUT TYPE=hidden NAME="mv_todo" VALUE="refresh"> <INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]"> Amount: <INPUT NAME=mv_order_quantity SIZE=3 VALUE=""> <INPUT TYPE=submit VALUE="Add to shopping basket"> </FORM> ########################### To list the products in basket.html i'm using currently the following data: ####### ord/basket.html ###### [item-list] <tr height=1%> <td align=left><font size=-1>[item-field description]</font></td><td align=right><font size=-1>[item-quantity]</font></td> </tr> [/item-list] ############################ My question is what i have to change when i want to update the amount with the click on the "order" button. thanx mike From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed Aug 1 07:49:00 2001 Subject: [ic] Interchange basket problem Mangeng Michael wrote: > > Hi > > I' ve encoutered a little problem with the shopping basket while > constructing the site template. When i order a product two or more times > (quantity not relevant), for each order-click a new entry in the shopping > basket gets created. I want to update the amount of the ordered product and > not to add a new item when i order the same product a second time. > > I'm using the following entry on flypage.html to order a product: > > ######## flypage.html ######## > <FORM ACTION="[process-target]" method=post target=box> > <INPUT TYPE=hidden NAME="mv_todo" VALUE="refresh"> > <INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]"> > Amount: <INPUT NAME=mv_order_quantity SIZE=3 VALUE=""> > <INPUT TYPE=submit VALUE="Add to shopping basket"> > </FORM> > ########################### > > To list the products in basket.html i'm using currently the following data: > > ####### ord/basket.html ###### > [item-list] > <tr height=1%> > <td align=left><font size=-1>[item-field description]</font></td><td > align=right><font size=-1>[item-quantity]</font></td> > </tr> > [/item-list] > ############################ > > My question is what i have to change when i want to update the amount with > the click on the "order" button. > > thanx > mike In catalog.cfg, you need SeparateItems No ciao Jochim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at lists.akopia.com (Donal H.) Date: Wed Aug 1 07:53:02 2001 Subject: [ic] Making State non-mandatory / blank How do I make the State field on the checkout page non-mandatory - and blank if there are no states for the selected country. Currently if I change the country from one with states to one without any states, the State field remains as it was before. Thanks, -Donal From: interchange-users at lists.akopia.com (Brian Kosick) Date: Wed Aug 1 09:11:01 2001 Subject: [ic] Upgrading from 4.7.2 to 4.7.7 Yes, I get that admin error also! Anybody want to throw any ideas on the table? At 11:36 PM 7/31/01 -0700, you wrote: >OK, I believe that I'm almost there now.... upgrading from 4.7.2 to >4.7.7 requires much more work than I expected. > >I was able to follow Brian Kosick's instructions to recover my tables >being recognized by Admin pages and being able to export them to backup >directory. Thanks, Brian. > >Now, Wizard works and etc... however, I cannot create new access users : >Administration -> Access -> Create new user then type in Real name and >user name(pyoo) then click on OK button, I get this message : > >FATAL error >There is no row with index 'pyoo' at >/usr/local/interchange/lib/Vend/Table/Common.pm line 258 > >Any idea why I'm getting this and how to fix it? > >I'm so close to get all of databases work on IC4.7.7..... > >Thanks. > > Peter. > >On Tue, Jul 31, 2001 at 10:03:28PM -0400, Brian Kosick wrote: > > Both in interchange.cfg, AND catalog.cfg Take a look at the reference > > manual, to see what options are available in each one. > > > > I was getting a "Runtime Error: Magic number checking" After the perl > > upgrade. Did a search from that found out the listings in the > > archives. Found out there is a Storable incompatibility problem, which > > causes the gdbm files, to become unreadable. > > Summary of solution -> delete all your old gdbm files, and let IC rebuild > > them from the text files. > > > > Though if you're all ready using 5.6.x, I don't know how much this'll help. > > > > The way I deleted the gdbm files is "rm -rf products/*.gdbm" Since I'm > > using the gdbm (GNU DataBase SomethingorOther) IC auto-magically > > regenerates the missing gdbm file from the .txt, .asc files. Whether or > > not this behavior is the same using db (Berkeley Database?) I dunno. I > > would imagine so though. Make sure that you export the current db to > their > > respective text files before you go about deleting them, as it would suck, > > if it rebuilt itself from old outdated info. > > > > At 06:28 PM 7/31/01 -0700, you wrote: > > >Hello, > > > > > >Where do you enable DisplayErrors? in interchange.cfg file? > > > > > >I tried to search MailList Archive but couldn't find much about this > problem. > > > > > >I'm running it with Perl5.6.1 on Solaris8... > > > > > >Can you please tell me more detail on what files I delete in products/? > > >when you say gdbm files, do you mean *.db files? what about ichelp.db and > > >icmenu.db file? > > > > > >Thanks again. > > > > > > Peter. > > > > > >On Tue, Jul 31, 2001 at 08:34:26PM -0400, Brian Kosick wrote: > > > > I have/had the same problem, I couldn't figure it out either. Then, I > > > > started running IC with > > > > > > > > DisplayErrors Yes > > > > > > > > Ran into a whole bunch of stuff that it was looking for, but > couldn't find > > > > (aka XSLoader.pm, etc) Did some research, found that it was only > > > available > > > > in the later versions of perl. > > > > > > > > I upgraded to perl 5.6.1, went through the headaches that were > caused by > > > > the upgrade. (Ie recompiling and installing interchange (4.8.0), then > > > > deleting all the gdbm files in products/*, and finally rm -rf > > > > session/*)(Make sure you make BACKUPS!!!!) For more info, search the > > > > Archives on this. > > > > > > > > It appears that 90% of my problems are solved. Error messages > almost down > > > > to nothing, The tables in Administration->Info and > Administration->Tables > > > > are showing up, Checking out actually works now. > > > > > > > > I have two catalogs running under this version of IC. > > > > > > > > System > > > > > > > > Cobalt/Sun RaqXTR > > > > Cobalt OS (modded version of RH6.2) > > > > 256MB RAM > > > > RAID 5 > > > > Perl 5.6.1 (now at least, it was running 5.00504) > > > > Interchange 4.8.0 > > > > > > > > > > > > 1) I have been meticulously trying to update from MV3.04 to > > > > IC(latest) Which now works great! One thing though..Nobodies written > > > a MV > > > > 3.04 userdb -> IC(latest) userdb script yet have they? just though I'd > > > > check. This one is using gdbm > > > > > > > > ^^^^ Definitely NOT for the faint of heart ^^^^^^^^ > > > > > > > > 2) slightly modified demo catalog from IC 4.7.x (2 or 3 i don't > > > > remember) Which unfortunately is still suffering from needing the > > > &success > > > > entry in the profiles.order file, and the basket won't empty on > > > > checkout. This one is using pgsql. The table definitions have changed > > > > since this ones been created. Definitely double check your table > > > > definitions if you've created a catalog during the early version of > 4.7.x > > > > > > > > > > > > > > > > > > > > PS > > > > I am planning once these projects are live, and I get some time, to > make > > > > rpms for cobalt raq's, because I've seen PLENTY of requests for them. > > > > > > > > At 04:55 PM 7/31/01 -0700, you wrote: > > > > >Hello Again, > > > > > > > > > >I've backedup my 4.7.2 catalog and started with 4.7.7 template of > > > foundation > > > > >and gotten as far as getting everything working including Wizard! > > > > > > > > > >Except.... when I look at Info page(under admin) or Tables, I get no > > > tables! > > > > > > > > > >Store-front works fine, I can add/edit items with no problem. I see > > > the mysql > > > > >database and there are all the tables. But I cannot access tables > > > from Admin > > > > >page. When I click on Tables, all it says is Table Manager - > Database > > > tables > > > > >(no listing) - Hidden admin tables:(no listing) > > > > > > > > > >What do I do to fix this? > > > > > > > > > >Thanks. > > > > > > > > > > Peter. > > > > > > > > > >On Tue, Jul 31, 2001 at 03:45:05PM -0700, Peter Yoo wrote: > > > > > > Hello All, > > > > > > > > > > > > I'm having some problems upgrading my server from 4.7.2 to 4.7.7 > > > > > > I've added all of the additional fields in the tables my hand > on a few > > > > > > talbes to match with 4.7.7's tables, and created additional > files that > > > > > > are there in <catalog dir>/products/*.[txt|sql|db]. > > > > > > > > > > > > Store front-end works fine but once I went in to admin pages, > things do > > > > > > not work too well. > > > > > > > > > > > > I cannot export tables, I get this message in the log file: > > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:42:46 > -0700] > > > > > LittleBebe /cgi-bin/littlebebe/admin/export_table Runtime error: > Can't > > > > > use string ("") as a HASH ref while "strict refs" in use at > > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > > > when I try to go thru the Wizard, I get : > > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:43:27 > -0700] > > > > > LittleBebe /cgi-bin/littlebebe/admin/wizard/step_company Runtime > error: > > > > > Can't use string ("") as a HASH ref while "strict refs" in use at > > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > > > Can someone let me know what I did/didn't do correctly? > > > > > > > > > > > > Is there a document how to upgrade 4.7.2 to 4.7.7? > > > > > > > > > > > > I've made so many changes to <catalog dir>/pages/* files > already and > > > > > I'd like > > > > > > to keep the changes that I've made. > > > > > > > > > > > > Thank you. > > > > > > > > > > > > Peter. > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@lists.akopia.com > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > >_______________________________________________ > > > > >interchange-users mailing list > > > > >interchange-users@lists.akopia.com > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > Brian Kosick > > > > Web Programmer > > > > New Age Consulting Service, Inc. > > > > 216-619-2000 > > > > briank@nacs.net > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@lists.akopia.com > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > Brian Kosick > > Web Programmer > > New Age Consulting Service, Inc. > > 216-619-2000 > > briank@nacs.net > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users >_______________________________________________ >interchange-users mailing list >interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at lists.akopia.com (Mark Johnson) Date: Wed Aug 1 09:59:01 2001 Subject: [ic] Making State non-mandatory / blank "Donal H." wrote: > > How do I make the State field on the checkout page non-mandatory remove 'state=somedirective' from your order profile (most likely checkout_profile) > - and blank > if there are no states for the selected country. Currently if I change the > country from one with states to one without any states, the State field > remains as it was before. This should be the default behavior for the checkout page in foundation and construct. Verify that the loop search to generate the state list is looking up against [default country US]. If US is not your default country, then change it accordingly. -- 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 (chad m. townsend) Date: Wed Aug 1 10:33:00 2001 Subject: [ic] help with order number yes i searched the mailing lists - i'll do it again. if you aren't going to provide any assistants i'd appreciate you not responding to my questions. thanks, ./chad& Joachim Leidinger wrote: > > "chad m. townsend" wrote: > > > > how do i submit an order number to a credit card agency and make sure > > interchange uses that same order number for it's records? > > If I recall right, this question was answered a long time before! Did > you use the mail archives to find your answer? > > Joachim > > -- > ------------------------------------------------------------------ > Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. > Black Point Arts Internet Solutions GmbH > [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Jud Harris) Date: Wed Aug 1 10:36:01 2001 Subject: [ic] vlink problem? Hey folks, I'm been testing a setup where I have multiple catalogs on a non-ssl server that switch to a secure server for any basket, checkout, or process operations. http://store1.domain1.com/cgi-bin/store -> https://secure.domain.com/cgi-bin/store1 http://store2.domain2.com/cgi-bin/store -> https://secure.domain.com/cgi-bin/store2 To set them up, I run bin/makecat. After that I go back in a change some settings in catalog.cfg and variable.txt. I copy the /cgi-bin/store binary generated into both the non-ssl and ssl cgi-bin directories. The non-ssl store cgi-bin binary works fine, but when I go to https://secure.domain.com/cgi-bin/store1 (the cgi-bin binary copied from the non-ssl location), I get a 404 Not Found error. I've verified that it's not an apache config problem by placing a test.cgi in the secure cgi-bin directory - so, the file not found is being caused by the vlink binary. How do I debug this? Is there a way to see what url the vlink binary is attempting to reach? Thanks! -Jud From: interchange-users at lists.akopia.com (Admin Account) Date: Wed Aug 1 10:59:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute I will repost this in hopes this time I'll get some interest. I hope this is not too stupid a question to get a reply. Hi list, Using Interchange 4.6.5 I thought I was almost done with my catalog but my customer informed me that any contact lens that they sell without a prescription must have an additional 4% parish (county tax) in addition to the normal 4.25% LA state tax. Taxes apply to customers in LA only. Which will be several thousand of their current patients. The same colored contact can be ordered with a prescription or with out. I have set up, with Ed's help, Item-Attributes to ask for 3 extra variables (Power, Diameter, and BaseCurve)on the flypage. How can I force the customer to enter these variables for ever purchase on the flypage. Customers will be instructed to put PL for Power since this determines the prescription. This sands for plain in optometrist lingo. Can I then do some type of [if item-modifier power = PL] then add 4% to the 4.25% state tax else do normal state tax. I found good info in archives about how to set up multiple taxes for different products but did not want to have to double enter items. I am perl and javascript deficient and a Interchange rookie to boot Thanks for any help From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed Aug 1 11:46:01 2001 Subject: [ic] help with order number "chad m. townsend" wrote: > > yes i searched the mailing lists - i'll do it again. if you aren't > going to provide any assistants i'd appreciate you not responding to my > questions. > > thanks, > > ./chad& > > Joachim Leidinger wrote: > > > > "chad m. townsend" wrote: > > > > > > how do i submit an order number to a credit card agency and make sure > > > interchange uses that same order number for it's records? > > > > If I recall right, this question was answered a long time before! Did > > you use the mail archives to find your answer? If you are able to send the ordernumber to the credit card agency and your credit card agency can send back via the post methode, you can use [perl arg="cgi scratch"] $Safe{'scratch'}->{"myordernumber"} = $Safe{'cgi'}->{"thynameofthefieldwihttheordernumber"}; ... [/perl] you can follow http://developer2.akopia.com/archive/interchange-users/1999/msg06419.html and http://developer2.akopia.com/archive/interchange-users/1999/msg06541.html ciao Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at lists.akopia.com (Peter Yoo) Date: Wed Aug 1 12:29:01 2001 Subject: [ic] Upgrading from 4.7.2 to 4.7.7 I'd like to add more info on this problem. The only access user I have is the default account inter(in my case, interchange) with the intial password. I cannot even change the password for the default account. Where is this infomation kept? The infomation about the access user accounts with permissions? Can I manually create/modify accounts? I do not see them in the MySQL database that I'm useing... Thanks. Peter. On Wed, Aug 01, 2001 at 09:06:39AM -0400, Brian Kosick wrote: > Yes, I get that admin error also! Anybody want to throw any ideas on the > table? > > > At 11:36 PM 7/31/01 -0700, you wrote: > >OK, I believe that I'm almost there now.... upgrading from 4.7.2 to > >4.7.7 requires much more work than I expected. > > > >I was able to follow Brian Kosick's instructions to recover my tables > >being recognized by Admin pages and being able to export them to backup > >directory. Thanks, Brian. > > > >Now, Wizard works and etc... however, I cannot create new access users : > >Administration -> Access -> Create new user then type in Real name and > >user name(pyoo) then click on OK button, I get this message : > > > >FATAL error > >There is no row with index 'pyoo' at > >/usr/local/interchange/lib/Vend/Table/Common.pm line 258 > > > >Any idea why I'm getting this and how to fix it? > > > >I'm so close to get all of databases work on IC4.7.7..... > > > >Thanks. > > > > Peter. > > > >On Tue, Jul 31, 2001 at 10:03:28PM -0400, Brian Kosick wrote: > > > Both in interchange.cfg, AND catalog.cfg Take a look at the reference > > > manual, to see what options are available in each one. > > > > > > I was getting a "Runtime Error: Magic number checking" After the perl > > > upgrade. Did a search from that found out the listings in the > > > archives. Found out there is a Storable incompatibility problem, which > > > causes the gdbm files, to become unreadable. > > > Summary of solution -> delete all your old gdbm files, and let IC rebuild > > > them from the text files. > > > > > > Though if you're all ready using 5.6.x, I don't know how much this'll help. > > > > > > The way I deleted the gdbm files is "rm -rf products/*.gdbm" Since I'm > > > using the gdbm (GNU DataBase SomethingorOther) IC auto-magically > > > regenerates the missing gdbm file from the .txt, .asc files. Whether or > > > not this behavior is the same using db (Berkeley Database?) I dunno. I > > > would imagine so though. Make sure that you export the current db to > > their > > > respective text files before you go about deleting them, as it would suck, > > > if it rebuilt itself from old outdated info. > > > > > > At 06:28 PM 7/31/01 -0700, you wrote: > > > >Hello, > > > > > > > >Where do you enable DisplayErrors? in interchange.cfg file? > > > > > > > >I tried to search MailList Archive but couldn't find much about this > > problem. > > > > > > > >I'm running it with Perl5.6.1 on Solaris8... > > > > > > > >Can you please tell me more detail on what files I delete in products/? > > > >when you say gdbm files, do you mean *.db files? what about ichelp.db and > > > >icmenu.db file? > > > > > > > >Thanks again. > > > > > > > > Peter. > > > > > > > >On Tue, Jul 31, 2001 at 08:34:26PM -0400, Brian Kosick wrote: > > > > > I have/had the same problem, I couldn't figure it out either. Then, I > > > > > started running IC with > > > > > > > > > > DisplayErrors Yes > > > > > > > > > > Ran into a whole bunch of stuff that it was looking for, but > > couldn't find > > > > > (aka XSLoader.pm, etc) Did some research, found that it was only > > > > available > > > > > in the later versions of perl. > > > > > > > > > > I upgraded to perl 5.6.1, went through the headaches that were > > caused by > > > > > the upgrade. (Ie recompiling and installing interchange (4.8.0), then > > > > > deleting all the gdbm files in products/*, and finally rm -rf > > > > > session/*)(Make sure you make BACKUPS!!!!) For more info, search the > > > > > Archives on this. > > > > > > > > > > It appears that 90% of my problems are solved. Error messages > > almost down > > > > > to nothing, The tables in Administration->Info and > > Administration->Tables > > > > > are showing up, Checking out actually works now. > > > > > > > > > > I have two catalogs running under this version of IC. > > > > > > > > > > System > > > > > > > > > > Cobalt/Sun RaqXTR > > > > > Cobalt OS (modded version of RH6.2) > > > > > 256MB RAM > > > > > RAID 5 > > > > > Perl 5.6.1 (now at least, it was running 5.00504) > > > > > Interchange 4.8.0 > > > > > > > > > > > > > > > 1) I have been meticulously trying to update from MV3.04 to > > > > > IC(latest) Which now works great! One thing though..Nobodies written > > > > a MV > > > > > 3.04 userdb -> IC(latest) userdb script yet have they? just though I'd > > > > > check. This one is using gdbm > > > > > > > > > > ^^^^ Definitely NOT for the faint of heart ^^^^^^^^ > > > > > > > > > > 2) slightly modified demo catalog from IC 4.7.x (2 or 3 i don't > > > > > remember) Which unfortunately is still suffering from needing the > > > > &success > > > > > entry in the profiles.order file, and the basket won't empty on > > > > > checkout. This one is using pgsql. The table definitions have changed > > > > > since this ones been created. Definitely double check your table > > > > > definitions if you've created a catalog during the early version of > > 4.7.x > > > > > > > > > > > > > > > > > > > > > > > > > PS > > > > > I am planning once these projects are live, and I get some time, to > > make > > > > > rpms for cobalt raq's, because I've seen PLENTY of requests for them. > > > > > > > > > > At 04:55 PM 7/31/01 -0700, you wrote: > > > > > >Hello Again, > > > > > > > > > > > >I've backedup my 4.7.2 catalog and started with 4.7.7 template of > > > > foundation > > > > > >and gotten as far as getting everything working including Wizard! > > > > > > > > > > > >Except.... when I look at Info page(under admin) or Tables, I get no > > > > tables! > > > > > > > > > > > >Store-front works fine, I can add/edit items with no problem. I see > > > > the mysql > > > > > >database and there are all the tables. But I cannot access tables > > > > from Admin > > > > > >page. When I click on Tables, all it says is Table Manager - > > Database > > > > tables > > > > > >(no listing) - Hidden admin tables:(no listing) > > > > > > > > > > > >What do I do to fix this? > > > > > > > > > > > >Thanks. > > > > > > > > > > > > Peter. > > > > > > > > > > > >On Tue, Jul 31, 2001 at 03:45:05PM -0700, Peter Yoo wrote: > > > > > > > Hello All, > > > > > > > > > > > > > > I'm having some problems upgrading my server from 4.7.2 to 4.7.7 > > > > > > > I've added all of the additional fields in the tables my hand > > on a few > > > > > > > talbes to match with 4.7.7's tables, and created additional > > files that > > > > > > > are there in <catalog dir>/products/*.[txt|sql|db]. > > > > > > > > > > > > > > Store front-end works fine but once I went in to admin pages, > > things do > > > > > > > not work too well. > > > > > > > > > > > > > > I cannot export tables, I get this message in the log file: > > > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:42:46 > > -0700] > > > > > > LittleBebe /cgi-bin/littlebebe/admin/export_table Runtime error: > > Can't > > > > > > use string ("") as a HASH ref while "strict refs" in use at > > > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > > > > > when I try to go thru the Wizard, I get : > > > > > > > 143.183.152.17 VTQTIhc4:143.183.152.17 - [31/July/2001:15:43:27 > > -0700] > > > > > > LittleBebe /cgi-bin/littlebebe/admin/wizard/step_company Runtime > > error: > > > > > > Can't use string ("") as a HASH ref while "strict refs" in use at > > > > > > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > > > > > > > > > > > > > Can someone let me know what I did/didn't do correctly? > > > > > > > > > > > > > > Is there a document how to upgrade 4.7.2 to 4.7.7? > > > > > > > > > > > > > > I've made so many changes to <catalog dir>/pages/* files > > already and > > > > > > I'd like > > > > > > > to keep the changes that I've made. > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > Peter. > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@lists.akopia.com > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > >_______________________________________________ > > > > > >interchange-users mailing list > > > > > >interchange-users@lists.akopia.com > > > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > Brian Kosick > > > > > Web Programmer > > > > > New Age Consulting Service, Inc. > > > > > 216-619-2000 > > > > > briank@nacs.net > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > >_______________________________________________ > > > >interchange-users mailing list > > > >interchange-users@lists.akopia.com > > > >http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > Brian Kosick > > > Web Programmer > > > New Age Consulting Service, Inc. > > > 216-619-2000 > > > briank@nacs.net > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > >_______________________________________________ > >interchange-users mailing list > >interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Brian Kosick > Web Programmer > New Age Consulting Service, Inc. > 216-619-2000 > briank@nacs.net > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Chad Wittrock) Date: Wed Aug 1 12:30:54 2001 Subject: [ic] Remove link in Interchange Basket I inserted this code into [item-list] in my basket.html. When I click on the link it opens a new page with the error "No action passed for processing" and the original page is left unchanged. Did you come across this problem? What does " mv_nextpage=ord/warenkorb_anzeige" do? Do I need a page called warenkorb_anzeige or specify my own name? What is this page supposed to do? Sorry to keep bothering, but I would like to get this working Chad -----Original Message----- From: interchange-users-admin@developer.akopia.COM [mailto:interchange-users-admin@developer.akopia.COM]On Behalf Of Joachim Leidinger Sent: Tuesday, July 31, 2001 4:16 PM To: interchange-users@developer.akopia.COM Subject: Re: [ic] Remove link in Interchange Basket Chad Wittrock wrote: > > How do I get the Remove checkbox to work in my own catalog? I copied the > link from the Construct example, but when I click on the checkbox I am sent > to a blank page with nothing but this error on it: > No action passed for processing > > Where is this form submitting to? Do I need to define another page, if so, > is there an example I can see? > > This is my code for the checkbox: > <input type=checkbox name="[quantity-name]" > onClick="document.forms[0].action='[process-target]', > document.forms[0].submit()" value=0> > > What is [process-target]? Does that link to some page that processes the > remove and then returns to basket.html? > > Any help is appreciated in getting the Remove checkbox working in my > basket.html. I've gotten the same misbehavior and couldn't try out the cause. But with a big help from Racke, I use another codes like [perl interpolate=1] $i = 0; @qs = (); for (@$Items) { if ($i == '[item-increment]' - 1) { push (@qs, 'quantity' . $i++ . '=0'); } else { push (@qs, 'quantity' . $i++ . '=' . $_->{quantity}); } } $Scratch->{qlist} = join ("\n", @qs); ''; return ''; [/perl]<a href="[area form=" mv_action=order mv_doit=refresh mv_nextpage=ord/warenkorb_anzeige [scratch qlist] "]" target="inhalt"><img src="symbol_delete.gif" width="18" height="18" alt="L&ouml;schen" border="0"></a> inside the item-list part. Hope this can help you. Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (MITECH Trading) Date: Wed Aug 1 12:36:00 2001 Subject: [ic] Remove price from select box I am using 4.7.7 and all my products comes in several colors, but the choice of color does not affect the price. For that reason I do not want to show the price in the drop down boxes for each color. Where do I remove them? Best regards Michael Michaelsen www.mitechtrading.com From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed Aug 1 13:28:00 2001 Subject: [ic] Remove link in Interchange Basket At 11:16 PM 07/31/2001 +0200, you wrote: >Chad Wittrock wrote: > > > > How do I get the Remove checkbox to work in my own catalog? I copied the > > link from the Construct example, but when I click on the checkbox I am sent > > to a blank page with nothing but this error on it: > > No action passed for processing FWIW - The error 'No action passed for processing' usually means that mv_todo was not set to valid value on the submitted form. On a basket page, it would usually be 'refresh' or 'return'. - Ed L. > > > > Where is this form submitting to? Do I need to define another page, if so, > > is there an example I can see? > > > > This is my code for the checkbox: > > <input type=checkbox name="[quantity-name]" > > onClick="document.forms[0].action='[process-target]', > > document.forms[0].submit()" value=0> > > > > What is [process-target]? Does that link to some page that processes the > > remove and then returns to basket.html? > > > > Any help is appreciated in getting the Remove checkbox working in my > > basket.html. > >I've gotten the same misbehavior and couldn't try out the cause. But >with a big help from Racke, I use another codes like > >[perl interpolate=1] >$i = 0; @qs = (); >for (@$Items) { > if ($i == '[item-increment]' - 1) { > push (@qs, 'quantity' . $i++ . '=0'); > } else { > push (@qs, 'quantity' . $i++ . '=' . $_->{quantity}); > } >} >$Scratch->{qlist} = join ("\n", @qs); ''; >return ''; >[/perl]<a href="[area form=" > mv_action=order > mv_doit=refresh > mv_nextpage=ord/warenkorb_anzeige > [scratch qlist] > "]" > target="inhalt"><img src="symbol_delete.gif" >width="18" height="18" alt="L&ouml;schen" border="0"></a> > >inside the item-list part. > >Hope this can help you. > >Joachim > >-- >------------------------------------------------------------------ > Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. > Black Point Arts Internet Solutions GmbH > [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e >_______________________________________________ >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 Aug 1 13:31:00 2001 Subject: [ic] Sales Tax problems! At 08:30 AM 08/01/2001 +0100, you wrote: >Can anyone help! >I can add sales tax to a state using the admin pages of the Foundation >template. However I want to be able to add tax to a country not a state. >I'm sure its simple but I can't find it! >Thanks > You'll need to set the catalog.cfg SalesTax directive to country, and add relevant entries to your salestax.asc file: http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_145.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 (Victor Nolton) Date: Wed Aug 1 13:54:59 2001 Subject: [ic] Multistage search page Is there a tag that can be used in a scan only certain item numbers? Page 1 says look for all items by color (picked BLUE) it returns items 123, 456, 789, 101, 121 ,314 on page 2 it wants to know size (we pick Medium) this scans for Medium in the items 123, 456, 789, 101, 121 ,314 and returns like... 123, 789, 121 on page 3 wants to know style (we pick cotton) this scans for cotton in 123, 789 keeps going. I cannot seem to find a tag to do this where you say scan/sf=style/se=cotton/"scanitems"=123, 789/ Was just thinking this could be a solution for my "range searching" problem i've posted for in the past. Ven From: interchange-users at lists.akopia.com (Tim Watts) Date: Wed Aug 1 14:16:01 2001 Subject: [ic] Making State non-mandatory / blank "Donal H." wrote: >> if there are no states for the selected country. Currently if I change the >> country from one with states to one without any states, the State field >> remains as it was before. "Mark Johnson" wrote:> > This should be the default behavior for the checkout page in foundation > and construct. Although the defaults seem to work well in most situations, I've come across a similar problem and am trying to come up with a generic form for other coutries, because I am not familiar enough with all the variations through out the world. --This is a quote from a frustrated shopper from Germany: I live in Munich, Germany. When I tried to finalize the information it came back with the notice that bold print areas need to be filled in, which I had done. State or Province makes no sense for most foreign addresses but I put down "Bavaria" anyway, even though this shouldn't be in a German address. The German equivalent of a zip code comes directly before the city (80331 Munich) --And this from one in Ireland: State/province in shipping address should read "Dublin" and not "County Durham", but this option is not available in the pull-down menu! The one from Ireland just filled in the information in the proper format for his country in the "Ship to:" area, we lost the order from Germany. Anyone else having this problem and what solutions have you come up with? Thanks, Tim From: interchange-users at lists.akopia.com (Joachim Leidinger) Date: Wed Aug 1 14:41:00 2001 Subject: [ic] Remove link in Interchange Basket Chad Wittrock wrote: > > I inserted this code into [item-list] in my basket.html. When I click on the > link it opens a new page with the error "No action passed for processing" > and the original page is left unchanged. Did you come across this problem? > What does " mv_nextpage=ord/warenkorb_anzeige" do? Do I need a page called > warenkorb_anzeige or specify my own name? What is this page supposed to do? mv_nextpage is the name of your basket page! > Sorry to keep bothering, but I would like to get this working > Chad ciao Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at lists.akopia.com (Insurance Squared) Date: Wed Aug 1 15:40:01 2001 Subject: [ic] Installation assistance I need someone to step me through installation of Interchange on my server. Would like to do this live over the telephone so prefer someone in US/Canada that can use our toll free line. I expect it to only take an hour, or at most two. I've tried to install unsuccessfully, but expect this is due to my inexperience. Unfortunately I don't have the time to figure it out. If you're interested and have done this before, please drop me an email with a few details and an hourly rate. thanks, gcooke@insurance-squared.com (remove the dash before sending the email) From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed Aug 1 16:15:01 2001 Subject: [ic] Multistage search page At 01:54 PM 08/01/2001 -0400, you wrote: >Is there a tag that can be used in a scan only certain item numbers? > >Page 1 says look for all items by color (picked BLUE) >it returns items 123, 456, 789, 101, 121 ,314 >on page 2 it wants to know size (we pick Medium) >this scans for Medium in the items 123, 456, 789, 101, 121 ,314 >and returns like... 123, 789, 121 >on page 3 wants to know style (we pick cotton) >this scans for cotton in 123, 789 >keeps going. > >I cannot seem to find a tag to do this where you say > >scan/sf=style/se=cotton/"scanitems"=123, 789/ > >Was just thinking this could be a solution for my "range searching" >problem i've posted for in the past. > >Ven Ven - I have gotten a little better at coordinated searches since the last time I replied to one of your posts on the subject; try this: [page scan= st=db co=yes sf=color se=BLUE op=rm sf=size se=Medium op=rm sf=style se=cotton op=rm ]Search</a> ...Basically, I follow these rules with coordinated searches 1. If 'op' (mv_column_op) is needed for one spec, it must be used for all 2. Ditto for 'nu' (mv_numeric) 3. Even if the mv_search_file (sf) is not products, fully qualify each 'sf' for a non-products field with tablename:fieldname. Example: [page scan fi=inventory st=db co=yes sf=color #IC will search the 'color' field in the products table se=BLUE op=rm nu=0 sf=inventory:quantity se=1 op=>= nu=1 ]blue items in stock</a> ...a contrived example, but I think you get the idea. - 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 (chad m. townsend) Date: Wed Aug 1 16:21:01 2001 Subject: [ic] help with order number i still do not full understand how to get interchange to use the order id i get from the agency. i tried $result{'order-id'} = "$order_id"; etc ... but on the invoices they still keep coming out TEST0001, TEST0002, etc - but everything else is working great - as always any help mucho appreciated. ./chad& Joachim Leidinger wrote: > > "chad m. townsend" wrote: > > > > yes i searched the mailing lists - i'll do it again. if you aren't > > going to provide any assistants i'd appreciate you not responding to my > > questions. > > > > thanks, > > > > ./chad& > > > > Joachim Leidinger wrote: > > > > > > "chad m. townsend" wrote: > > > > > > > > how do i submit an order number to a credit card agency and make sure > > > > interchange uses that same order number for it's records? > > > > > > If I recall right, this question was answered a long time before! Did > > > you use the mail archives to find your answer? > > If you are able to send the ordernumber to the credit card agency and > your credit card agency can send back via the post methode, you can use > [perl arg="cgi scratch"] > $Safe{'scratch'}->{"myordernumber"} = > $Safe{'cgi'}->{"thynameofthefieldwihttheordernumber"}; > ... > [/perl] > > you can follow > > http://developer2.akopia.com/archive/interchange-users/1999/msg06419.html > and > http://developer2.akopia.com/archive/interchange-users/1999/msg06541.html > > ciao > > Joachim > > -- > ------------------------------------------------------------------ > Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. > Black Point Arts Internet Solutions GmbH > [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Brian Kosick) Date: Wed Aug 1 17:52:01 2001 Subject: [ic] sql queries inside perl tag Hello all, I'm having problems with some code inside of a perl tag. Unfortunatley, I have a products table with a column (sun) that has a list of comma seperated numbers (ex 5,6,7,8) and a sun table that has the correspondings values 1 NO Shade 2 Some Shade 3 Half shade 4 Some sun etc etc I realize that this is a poor db design, but it was written years ago by a predecessor ;-) Any ways this is what I'm trying to do... I need to look up the value in products->sun (5,6,7,8) split the results into an array, then do a lookup for each number in the array and display the results Here's my code: [perl] my $suninfo = [sql]SELECT sun FROM products WHERE code = '[item-code]'[/sql]; my $sunarray = split(/,/, $suninfo); my $i = 0; my $numelements = scalar(@sunarray); while ( $i < $numelements) { $textvalue = [sql]SELECT val FROM sun WHERE code = $sunarray[$i][/sql]; print($textvalue); $i++; } [/perl] Here's the error log message: 207.166.192.127 v8iccWcx:207.166.192.127 - [01/August/2001:17:50:01 -0400] bluestone /cgi-bin/bluestone.cgi/ABDIP.html Safe: syntax error at (eval 377) line 2, near "]SELECT sun " > Missing right curly or square bracket at (eval 377) line 3, within pattern > > > my $suninfo = [sql]SELECT sun FROM products WHERE code = 'ABDIP'[/sql]; > my $sunarray = split(/,/, $suninfo); > my $i = 0; > my $numelements = scalar(@sunarray); > while ( $i < $numelements) > { > $textvalue = [sql]SELECT val FROM sun WHERE code = $sunarray[$i][/sql]; > print($textvalue); > $i++; > } What am I missing???!!!?!?!?!?!?! Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at lists.akopia.com (Jim Balcom) Date: Wed Aug 1 18:12:00 2001 Subject: [ic] Interchange basket problem On Wed, 1 Aug 2001, Mangeng Michael wrote: MM>>I' ve encoutered a little problem with the shopping basket while MM>>constructing the site template. When i order a product two or more times MM>>(quantity not relevant), for each order-click a new entry in the shopping MM>>basket gets created. I want to update the amount of the ordered product and MM>>not to add a new item when i order the same product a second time. In catalog.cfg change SeparateItems to No -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 01, 2001 at 18:15 PM: I'm not a complete idiot - several parts are missing! ---------------------------------------------------------------- This Linux System has been up 551 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Wed Aug 1 18:15:00 2001 Subject: [ic] help with order number On Wed, 1 Aug 2001, chad m. townsend wrote: cmt>>yes i searched the mailing lists - i'll do it again. if you aren't cmt>>going to provide any assistants i'd appreciate you not responding to my cmt>>questions. Don't be so testy. My guess is that he does not know the answer, but he recalls having seen it float through the mailing list a while back and was trying to help you by giving you lead as to where to look. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 01, 2001 at 18:15 PM: I'm not a complete idiot - several parts are missing! ---------------------------------------------------------------- This Linux System has been up 551 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (interch) Date: Wed Aug 1 18:57:00 2001 Subject: [ic] help with order number Here is what I have used to make IC use an order id returned by the processor. This assumes that in paymentmodule.pm you have set $::Values->{mv_order_number} to be the order id returned by the processor. GlobalSub <<EOS sub just_for_overriding { package Vend::Order; sub update_order_number { my($order_no); $order_no = $::Values->{mv_order_number}; $order_no; } } EOS Chris On Wed, 1 Aug 2001, chad m. townsend wrote: > > i still do not full understand how to get interchange to use the order > id i get from the agency. i tried $result{'order-id'} = "$order_id"; > etc ... but on the invoices they still keep coming out TEST0001, > TEST0002, etc - but everything else is working great - as always any > help mucho appreciated. > > ./chad& > > Joachim Leidinger wrote: > > > > "chad m. townsend" wrote: > > > > > > yes i searched the mailing lists - i'll do it again. if you aren't > > > going to provide any assistants i'd appreciate you not responding to my > > > questions. > > > > > > thanks, > > > > > > ./chad& > > > > > > Joachim Leidinger wrote: > > > > > > > > "chad m. townsend" wrote: > > > > > > > > > > how do i submit an order number to a credit card agency and make sure > > > > > interchange uses that same order number for it's records? > > > > > > > > If I recall right, this question was answered a long time before! Did > > > > you use the mail archives to find your answer? > > > > If you are able to send the ordernumber to the credit card agency and > > your credit card agency can send back via the post methode, you can use > > [perl arg="cgi scratch"] > > $Safe{'scratch'}->{"myordernumber"} = > > $Safe{'cgi'}->{"thynameofthefieldwihttheordernumber"}; > > ... > > [/perl] > > > > you can follow > > > > http://developer2.akopia.com/archive/interchange-users/1999/msg06419.html > > and > > http://developer2.akopia.com/archive/interchange-users/1999/msg06541.html > > > > ciao > > > > Joachim > > > > -- > > ------------------------------------------------------------------ > > Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. > > Black Point Arts Internet Solutions GmbH > > [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e > > _______________________________________________ > > 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 (Korney Gozman) Date: Wed Aug 1 19:36:01 2001 Subject: [ic] UPS Fuel Surcharge I've noticed this Post several times in the archive, yet no solution Does any know how I can implement 1.25 % surcharge for fuel that UPS Charges other than altering the whole table, which would not be so bad but there has to be an easier way! Thanks for any type of input Guys and Gals -Korey From: interchange-users at lists.akopia.com (MITECH Trading) Date: Wed Aug 1 20:03:01 2001 Subject: [ic] Won't update inventory. IC 4.7.7 RH 6.2 PERL 5.6 MySQL When I purchase an item, the quantity don't change in the inventory. I tried the online demo and it seems to be the same. Does anyone know what the problem can be? Regards Mike From: interchange-users at lists.akopia.com (Jorge Cuevas) Date: Wed Aug 1 21:00:00 2001 Subject: [ic] Login Problem Hi, I'm having trouble with the login, I basically just call [userdb function=login] with the correct mv_username a mv_password and I get the following error message: 127.0.0.1 dGpfyVbI:127.0.0.1 - [28/July/2001:12:34:25 -0500] koniko.com /cgi-bin/koniko.com/process Attempted login by user 'jdoe' with incorrect password I already have the encryption value on catalog.cfg userdb default crypt 0 Any ideas? Thanks a lot in advance Jorge Cuevas From: interchange-users at lists.akopia.com (Dan Browning) Date: Wed Aug 1 21:05:00 2001 Subject: [ic] Multistage search page At 01:54 PM 8/1/2001 -0400, you wrote: >Is there a tag that can be used in a scan only certain item numbers? > >Page 1 says look for all items by color (picked BLUE) >it returns items 123, 456, 789, 101, 121 ,314 >on page 2 it wants to know size (we pick Medium) >this scans for Medium in the items 123, 456, 789, 101, 121 ,314 >and returns like... 123, 789, 121 >on page 3 wants to know style (we pick cotton) >this scans for cotton in 123, 789 >keeps going. > >I cannot seem to find a tag to do this where you say > >scan/sf=style/se=cotton/"scanitems"=123, 789/ > >Was just thinking this could be a solution for my "range searching" >problem i've posted for in the past. > >Ven It sounds like Ed's suggestion is what you need, Ven. But in case you really want to search for specific item numbers, here is one way: fi=products st=db tf=title co=yes su=yes sf=style se=cotton sf=sku se=123|679|2345|32456|other_sku_numbers HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Brian Kosick) Date: Wed Aug 1 21:10:00 2001 Subject: [ic] Won't update inventory. Well, take a look at the etc/log_transactions file it has a little snippet of code: [if variable DECREMENT_INVENTORY]Inventory of [item-code] now: [data table=inventory col=quantity key="[item-code]" increment=1 value="-[item-quantity]" ] [/if] If you DON'T have a variable called DECREMENT_INVENTORY set, it won't decrement it. try adding DECREMENT_INVENTORY to vour variable database. You don't need to give it a value, it just checks to see if it's set. Not positive though, as all the IC catalogues I've setup my clients don't care about that feature as they already have something to take care of it in-house. At 06:41 PM 8/1/01 -0400, you wrote: >IC 4.7.7 RH 6.2 PERL 5.6 MySQL > >When I purchase an item, the quantity don't change in the inventory. >I tried the online demo and it seems to be the same. > >Does anyone know what the problem can be? > >Regards >Mike > >_______________________________________________ >interchange-users mailing list >interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at lists.akopia.com (Dan Browning) Date: Wed Aug 1 21:14:00 2001 Subject: [ic] sql queries inside perl tag At 05:47 PM 8/1/2001 -0400, you wrote: >Hello all, > I'm having problems with some code inside of a perl > tag. Unfortunatley, I have a products table with a column (sun) that has > a list of comma seperated numbers (ex 5,6,7,8) > >and a sun table that has the correspondings values > >1 NO Shade >2 Some Shade >3 Half shade >4 Some sun >etc etc > >I realize that this is a poor db design, but it was written years ago by a >predecessor ;-) > >Any ways this is what I'm trying to do... >I need to look up the value in products->sun (5,6,7,8) >split the results into an array, then do a lookup for each number in the >array and display the results > >Here's my code: >[perl] > my $suninfo = [sql]SELECT sun FROM products WHERE code = > '[item-code]'[/sql]; > my $sunarray = split(/,/, $suninfo); > my $i = 0; > my $numelements = scalar(@sunarray); > while ( $i < $numelements) > { > $textvalue = [sql]SELECT val FROM sun WHERE code = $sunarray[$i][/sql]; > print($textvalue); > $i++; > } > >[/perl] > > >Here's the error log message: > >207.166.192.127 v8iccWcx:207.166.192.127 - [01/August/2001:17:50:01 -0400] >bluestone /cgi-bin/bluestone.cgi/ABDIP.html Safe: syntax error at (eval >377) line 2, near "]SELECT sun " > > Missing right curly or square bracket at (eval 377) line 3, within pattern > > > > > > my $suninfo = [sql]SELECT sun FROM > products WHERE code = 'ABDIP'[/sql]; > > my $sunarray = split(/,/, $suninfo); > > my $i = 0; > > my $numelements = scalar(@sunarray); > > while ( $i < $numelements) > > { > > $textvalue = [sql]SELECT val FROM > sun WHERE code = $sunarray[$i][/sql]; > > print($textvalue); > > $i++; > > } > >What am I missing???!!!?!?!?!?!?! >Brian Kosick >Web Programmer >New Age Consulting Service, Inc. >216-619-2000 >briank@nacs.net And it runs OK in '$perl -W'? Just change [sql]... to "5,6,7,8". Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed Aug 1 21:50:01 2001 Subject: [ic] help with order number now it all makes sense! thank you sir. ./chad& On Wed, 1 Aug 2001, interch wrote: > > > Here is what I have used to make IC use an order id returned by the > processor. This assumes that in paymentmodule.pm you have set > $::Values->{mv_order_number} to be the order id returned by > the processor. > > > GlobalSub <<EOS > sub just_for_overriding { > package Vend::Order; > sub update_order_number { > my($order_no); > $order_no = $::Values->{mv_order_number}; > $order_no; > } > } > EOS > > > Chris > > > > On Wed, 1 Aug 2001, chad m. townsend wrote: > > > > > i still do not full understand how to get interchange to use the order > > id i get from the agency. i tried $result{'order-id'} = "$order_id"; > > etc ... but on the invoices they still keep coming out TEST0001, > > TEST0002, etc - but everything else is working great - as always any > > help mucho appreciated. > > > > ./chad& > > > > Joachim Leidinger wrote: > > > > > > "chad m. townsend" wrote: > > > > > > > > yes i searched the mailing lists - i'll do it again. if you aren't > > > > going to provide any assistants i'd appreciate you not responding to my > > > > questions. > > > > > > > > thanks, > > > > > > > > ./chad& > > > > > > > > Joachim Leidinger wrote: > > > > > > > > > > "chad m. townsend" wrote: > > > > > > > > > > > > how do i submit an order number to a credit card agency and make sure > > > > > > interchange uses that same order number for it's records? > > > > > > > > > > If I recall right, this question was answered a long time before! Did > > > > > you use the mail archives to find your answer? > > > > > > If you are able to send the ordernumber to the credit card agency and > > > your credit card agency can send back via the post methode, you can use > > > [perl arg="cgi scratch"] > > > $Safe{'scratch'}->{"myordernumber"} = > > > $Safe{'cgi'}->{"thynameofthefieldwihttheordernumber"}; > > > ... > > > [/perl] > > > > > > you can follow > > > > > > http://developer2.akopia.com/archive/interchange-users/1999/msg06419.html > > > and > > > http://developer2.akopia.com/archive/interchange-users/1999/msg06541.html > > > > > > ciao > > > > > > Joachim > > > > > > -- > > > ------------------------------------------------------------------ > > > Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. > > > Black Point Arts Internet Solutions GmbH > > > [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > _______________________________________________ > > interchange-users mailing list > > interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Brian Kosick) Date: Wed Aug 1 21:55:01 2001 Subject: [ic] sql queries inside perl tag Forgive me for sounding ignorant, plus I'm coming up on 13 hour work day here so there are mis-firing synapses in my head, but where would I place perl -W? I tried switching the line in /usr/local/interchange/bin/interchange to read #!/usr/local/bin/perl -W But I still get the exact same error message in the error.log I'd like to clarify something. Your suggesting that I try "5,6,7,8"SELECT sun FROM products WHERE code = '[item-code]'"/5,6,7,8" ??? I think that I've spent more time searching the archives today than coding ;-) Tchuss At 06:09 PM 8/1/01 -0700, you wrote: >At 05:47 PM 8/1/2001 -0400, you wrote: >>Hello all, >> I'm having problems with some code inside of a perl >> tag. Unfortunatley, I have a products table with a column (sun) that >> has a list of comma seperated numbers (ex 5,6,7,8) >> >>and a sun table that has the correspondings values >> >>1 NO Shade >>2 Some Shade >>3 Half shade >>4 Some sun >>etc etc >> >>I realize that this is a poor db design, but it was written years ago by >>a predecessor ;-) >> >>Any ways this is what I'm trying to do... >>I need to look up the value in products->sun (5,6,7,8) >>split the results into an array, then do a lookup for each number in the >>array and display the results >> >>Here's my code: >>[perl] >> my $suninfo = [sql]SELECT sun FROM products WHERE code = >> '[item-code]'[/sql]; >> my $sunarray = split(/,/, $suninfo); >> my $i = 0; >> my $numelements = scalar(@sunarray); >> while ( $i < $numelements) >> { >> $textvalue = [sql]SELECT val FROM sun WHERE code = $sunarray[$i][/sql]; >> print($textvalue); >> $i++; >> } >> >>[/perl] >> >> >>Here's the error log message: >> >>207.166.192.127 v8iccWcx:207.166.192.127 - [01/August/2001:17:50:01 >>-0400] bluestone /cgi-bin/bluestone.cgi/ABDIP.html Safe: syntax error at >>(eval 377) line 2, near "]SELECT sun " >> > Missing right curly or square bracket at (eval 377) line 3, within pattern >> > >> > >> > my $suninfo = [sql]SELECT sun FROM >> products WHERE code = 'ABDIP'[/sql]; >> > my $sunarray = split(/,/, $suninfo); >> > my $i = 0; >> > my $numelements = scalar(@sunarray); >> > while ( $i < $numelements) >> > { >> > $textvalue = [sql]SELECT val >> FROM sun WHERE code = $sunarray[$i][/sql]; >> > print($textvalue); >> > $i++; >> > } >> >>What am I missing???!!!?!?!?!?!?! >>Brian Kosick >>Web Programmer >>New Age Consulting Service, Inc. >>216-619-2000 >>briank@nacs.net > >And it runs OK in '$perl -W'? Just change [sql]... to "5,6,7,8". > >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 Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at lists.akopia.com (Dan Browning) Date: Wed Aug 1 22:13:00 2001 Subject: [ic] sql queries inside perl tag At 06:09 PM 8/1/2001 -0700, you wrote: >At 05:47 PM 8/1/2001 -0400, you wrote: >>Hello all, >> I'm having problems with some code inside of a perl >> tag. Unfortunatley, I have a products table with a column (sun) that >> has a list of comma seperated numbers (ex 5,6,7,8) >> >>and a sun table that has the correspondings values >> >>1 NO Shade >>2 Some Shade >>3 Half shade >>4 Some sun >>etc etc >> >>I realize that this is a poor db design, but it was written years ago by >>a predecessor ;-) >> >>Any ways this is what I'm trying to do... >>I need to look up the value in products->sun (5,6,7,8) >>split the results into an array, then do a lookup for each number in the >>array and display the results >> >>Here's my code: >>[perl] >> my $suninfo = [sql]SELECT sun FROM products WHERE code = >> '[item-code]'[/sql]; >> my $sunarray = split(/,/, $suninfo); >> my $i = 0; >> my $numelements = scalar(@sunarray); >> while ( $i < $numelements) >> { >> $textvalue = [sql]SELECT val FROM sun WHERE code = $sunarray[$i][/sql]; >> print($textvalue); >> $i++; >> } >> >>[/perl] >> >> >>Here's the error log message: >> >>207.166.192.127 v8iccWcx:207.166.192.127 - [01/August/2001:17:50:01 >>-0400] bluestone /cgi-bin/bluestone.cgi/ABDIP.html Safe: syntax error at >>(eval 377) line 2, near "]SELECT sun " >> > Missing right curly or square bracket at (eval 377) line 3, within pattern >> > >> > >> > my $suninfo = [sql]SELECT sun FROM >> products WHERE code = 'ABDIP'[/sql]; >> > my $sunarray = split(/,/, $suninfo); >> > my $i = 0; >> > my $numelements = scalar(@sunarray); >> > while ( $i < $numelements) >> > { >> > $textvalue = [sql]SELECT val >> FROM sun WHERE code = $sunarray[$i][/sql]; >> > print($textvalue); >> > $i++; >> > } >> >>What am I missing???!!!?!?!?!?!?! >>Brian Kosick >>Web Programmer >>New Age Consulting Service, Inc. >>216-619-2000 >>briank@nacs.net > >And it runs OK in '$perl -W'? Just change [sql]... to "5,6,7,8". > >Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com Wait a minute. Let me give this another shot. :-) [perl] does not interpolate tags (like [sql]). You have to use [calc] for that. Even then, I don't think I've seen the [sql] tag used you did above. Maybe you should try something like one of the following: $Tag->query({sql => "SELECT ..."}); Also, here's a lot of good example code from lib/UI/pages/include/item_option_modular (also see http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_15.html ) [perl tables=options] my $item_id = $Tag->cgi({name => 'item_id', filter => 'sql'}); my $sql = "SELECT * FROM options WHERE o_master='$item_id' ORDER BY o_group, o_sort"; #Log("sql=$sql"); my $hash_results = $Tag->query({ sql => $sql, hashref => 'my_results'}); my %above; my @rows; foreach my $row (@{$hash_results}) { my $master = $row->{code}; #Log("master=$master"); $above{$CGI->{item_id}} = 1; $above{$master} = 1; my @stack = ( [ $row ] ); ARY: for (;;) { my $ary; $ary = pop(@stack) or last ARY; ROW: for(;;) { $row = shift @$ary or last ROW; $row->{level} = scalar(@stack); push(@rows, $row); my $sku = $row->{sku}; next ROW if ! $row->{o_enable}; my $code = $row->{code}; if($above{$sku}) { $row->{description} = errmsg("ENDLESS TREE") . " $row->{description}"; display_template($_); next ROW; } if( $expand->{$code} or ($explode and ! defined $expand->{$code}) ) { push(@stack, $ary); my $key = $odb->quote($sku, 'sku'); my $q = "SELECT * FROM options WHERE o_master = $key ORDER BY o_sort", $ary = $odb->query( { hashref => 1, sql => "SELECT * FROM options WHERE o_master = $key ORDER BY o_sort ", } ); $above{$sku} = 1 if $ary and scalar @{$ary}; } } # END ROW } # END ARY } my $out; for(@rows) { $out .= display_template($_); } return $out; [/perl] HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Dan Browning) Date: Wed Aug 1 22:21:01 2001 Subject: [ic] sql queries inside perl tag At 09:50 PM 8/1/2001 -0400, you wrote: >Forgive me for sounding ignorant, plus I'm coming up on 13 hour work day >here so there are mis-firing synapses in my head, but where would I place >perl -W? > >I tried switching the line in /usr/local/interchange/bin/interchange >to read #!/usr/local/bin/perl -W > >But I still get the exact same error message in the error.log > >I'd like to clarify something. Your suggesting that I try >"5,6,7,8"SELECT sun FROM products WHERE code = '[item-code]'"/5,6,7,8" ??? > > >I think that I've spent more time searching the archives today than >coding ;-) > >Tchuss Note from the Interchange-users guidelines: http://developer2.akopia.com/archive/interchange-users/2001/msg06658.html -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. (PS, watch how Linus posts to linux kernel mailing list using the above method) Good, now that the little quoting matter is out of the way, here is what I meant (which is useful for anyone doing perl devel): Copy the code from between [perl][/perl] into a file, then run $ perl filename And watch the output. Of course you will have to remove IC'isms, which is what I meant by replacing: [sql]....[/sql] with just your expected results "8,3,5,6". That way you can be sure that your code works, and then begin trouble shooting the [sql] interchange stuff, back within the [perl] blocks. I hope the last message I sent helps you get through the db stuff. Interchange has many good ways to access databases through perl, which are not only documented in the IC docs, but also in any good perl reference documentation. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Jack Lauman) Date: Wed Aug 1 22:24:01 2001 Subject: [ic] Undefined catalog: /ace I'm using mod_interchange on Apache 1.3.20 (RedHat 7.0). I get the following error on one of the catalogs, all the other ones work. If I change it back to using cgi-bin for this catalog it works also. Undefined catalog: /ace What can cause this and where should I look to correct it? I've tried running makecat again but that doesn't seen to fix it either. Any help would be appreciated. Regards, Jack From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Wed Aug 1 22:37:00 2001 Subject: [ic] sql queries inside perl tag On Wed, Aug 01, 2001 at 09:50:35PM -0400, Brian Kosick wrote: > Forgive me for sounding ignorant, plus I'm coming up on 13 hour work day > here so there are mis-firing synapses in my head, but where would I place > perl -W? > > I tried switching the line in /usr/local/interchange/bin/interchange > to read #!/usr/local/bin/perl -W There is a "-w" and a "-W". Try perl --help. Pick up a copy of "Learning Perl"; you can get through that small thin classic in just a few hours. Spending time researching and studying the archives is necessary. > >> > >>Here's my code: > >>[perl] > >> my $suninfo = [sql]SELECT sun FROM products WHERE code = > >> '[item-code]'[/sql]; > >> my $sunarray = split(/,/, $suninfo); This is probably a quoting error. Try my $suninfo=qq`[sql]SELECT sun FROM products WHERE code = '[item-code]'[/sql]`; That leaves qq`` syntax as an exercise for the reader. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Kyle Cook) Date: Wed Aug 1 23:27:00 2001 Subject: [ic] sql queries inside perl tag At 06:50 PM 8/1/01, you wrote: >Forgive me for sounding ignorant, plus I'm coming up on 13 hour work day >here so there are mis-firing synapses in my head, but where would I place >perl -W? > >I tried switching the line in /usr/local/interchange/bin/interchange >to read #!/usr/local/bin/perl -W I believe he meant as a stand-alone script, would it pass perl checks. Looks like some syntax errors (missing quotes...). To be a little less abusive to your database (especially if this code is in a search results page) would be to use this structure: (although really, the db really needs some re-organization :-) Not tested, but the basic idea is there... [query list=1 prefix=outer sql="SELECT sun FROM products WHERE code = '[item-code]'"] [calc] @sunarray = split(/,/, '[outer-param sun]'); # breaks with (') in the field! $out = ''; foreach $option (@sunarray) { $out .= ($out) ? ",'$option'" : "'$option'"; } return ''; [/calc] [query list=1 prefix=inner sql="SELECT val FROM sun WHERE code in ([calc]$out[/calc])' ORDER BY val"] [inner-param val]<br> [/query] [/query] Good luck, Kyle From: interchange-users at lists.akopia.com (Götz Verdieck) Date: Thu Aug 2 03:45:01 2001 Subject: [ic] OS X Hi, does anybody use ic on a Mac with OS X 10.0.4 and Perl 5.6.1 ? Are there any known problems I have to care of ? Best regards Goetz Verdieck ============================== Goetz.Verdieck@com4office.de From: interchange-users at lists.akopia.com (Florian Schuler) Date: Thu Aug 2 05:09:00 2001 Subject: [ic] CommonAdjust problems Hi list i´am working for a music shipment and we upgraded from MV3.14 to Interchange 4.6. Somtimes there are a CD and a LP of the same artist and title. In our product database exists a field named lp_available. If there is a CD and/or a LP of an artist the etnry is: sku artist ... lp_available 122 britney CD=CD 123 metallica CD=CD,LP=2xLP the pricing database: sku CD LP 122 19.95 123 14.95 20.95 In the past (MV3.14) we used an entry in the catalogs.cfg: PriceField price PriceBreaks LP PriceAdjustment lp_available everything works fine. If someone orders the sku 123 / 2xLP in the basket.html appears the price 20.95DM. wonderful. Now we upgrated to IC4.6.x and nothing is fine. I changed the catalogs.cfg to: ... AutoModifier :lp_available CommonAdjust pricing:sku,CD,LP: ;:price .. for example somone orders the sku 122 the correct price appears in the basket. but if the sku 123 / 2xLP i.e. is orderd, IC takes the price from the CD field in the pricing. instead of 20.95DM appears the price of 14.95DM. I tried everything belive me and now i`m gonna crazy. Please help me. Greetings from Germany Florian Schuler From: interchange-users at lists.akopia.com (Ben Ausden) Date: Thu Aug 2 05:53:00 2001 Subject: [ic] fatal admin error Hi, I'm encountering the following error when trying to access the admin interface: 192.168.200.252 Xo4dUkcK:192.168.200.252 - [02/August/2001:10:37:53 +0100] foundation /cgi-bin/foundation/admin/index.html Runtime error: ichelp import failed: sdbm store returned -1, errno 22, key "kshipping.main" at /usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4. It's a default Interchange setup in /usr/local/interchange with a default foundation catalog install in my homedir. I'm using 4.8.0 from CVS, but exactly the same error was happening with the 4.7.6 tarball. I'm running RH7.1, Postgres 7.1 and Perl 5.6.1. The webserver is Roxen (configured to run cgi scripts as the catalog user i.e. me) Can anyone shed any light on this? cheers, ben -- ben ausden benedict@navyblue.com From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 09:06:02 2001 Subject: [ic] CommonAdjust problems Quoting Florian Schuler (visioncall@gmx.de): > Hi list > > i´am working for a music shipment and we upgraded from MV3.14 to Interchange > 4.6. > Somtimes there are a CD and a LP of the same artist and title. In our > product database exists a field > named lp_available. If there is a CD and/or a LP of an artist the etnry is: > > sku artist ... lp_available > 122 britney CD=CD > 123 metallica CD=CD,LP=2xLP > > the pricing database: > sku CD LP > 122 19.95 > 123 14.95 20.95 > > In the past (MV3.14) we used an entry in the catalogs.cfg: > > PriceField price > PriceBreaks LP > PriceAdjustment lp_available > > everything works fine. > If someone orders the sku 123 / 2xLP in the basket.html appears the price > 20.95DM. wonderful. > > Now we upgrated to IC4.6.x and nothing is fine. > I changed the catalogs.cfg to: > ... > AutoModifier :lp_available > CommonAdjust pricing:sku,CD,LP: ;:price That is: CommonAdjust ==lp_available: ;:price -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 09:11:05 2001 Subject: [ic] OS X Quoting Götz Verdieck (goetz.verdieck@com4office.de): > Hi, > > does anybody use ic on a Mac > with OS X 10.0.4 and Perl 5.6.1 ? > Are there any known problems I have to care of ? I don't know if I "use" it, but I have installed it and tested it pretty well. Presuming you get all of Bundle::Interchange installed in your Perl it seems to work fine with no known anomalies. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at lists.akopia.com (MITECH Trading) Date: Thu Aug 2 09:15:00 2001 Subject: [ic] Won't update inventory. I did have the code in the log_transactions file and I added the variable to my variable table and it still didn't work. However, I found a post from Guy Soudant suggesting to add the following code to log_transaction: [comment][perl] Log("Past transactions entry."); [/perl][/comment][item-list]Added [item-code] to orderline: [import table=orderline type=LINE continue=NOTES] code: [value mv_order_number]-[item-increment] store_id: __STORE_ID__ order_number: [value mv_order_number] session__MVC_FIELDMUNGE__: [data session id] username: [data session username] shipmode: [item-modifier mv_shipmode] sku: [item-code] quantity: [item-quantity] price: [item-price noformat] subtotal: [item-subtotal noformat] size__MVC_FIELDMUNGE__: [item-modifier size__MVC_FIELDMUNGE__] color: [item-modifier color] order_date: [value order_date] affiliate: [data session source] campaign: [value campaign] status: pending description: [filter mac][item-description][/filter] [/import] Inventory now: [data table=inventory col=quantity key="[item-code]" increment=1 value="-[item-quantity]"] [/item-list][/try] [catch] There was an error adding to the transaction log. [/catch] [if scratch auto_create] Logout auto-created user: [userdb logout] [value name=mv_username set=""] [/if] [comment][perl] Log("Past add data entry."); [/perl][/comment] I have no clue about what it is doing but it helped. Well I still have a problem with the out of stock notice: SKU# 00007 comes in red and blue. I have made options for that and get 00007red and 00007blue with each their quantities on hand. When one of the colors is out of stock, there is no out of stock notice comming up. The out of stock notice is controlled by 00007, and in this case the 00007 inventory never change. Only 00007red and 00007blue change when items is purchased. Are there any way to get a out of stock notice when one of the colors is out of stock? Regards Mike ----- Original Message ----- From: "Brian Kosick" <briank@nacs.net> To: <interchange-users@developer.akopia.com> Sent: Wednesday, August 01, 2001 9:06 PM Subject: Re: [ic] Won't update inventory. > Well, > take a look at the etc/log_transactions file > > it has a little snippet of code: > [if variable DECREMENT_INVENTORY]Inventory of [item-code] now: > [data > table=inventory > col=quantity > key="[item-code]" > increment=1 > value="-[item-quantity]" > ] > [/if] > > If you DON'T have a variable called DECREMENT_INVENTORY set, it won't > decrement it. > > try adding > DECREMENT_INVENTORY to vour variable database. You don't need to give it > a value, it just checks to see if it's set. > > Not positive though, as all the IC catalogues I've setup my clients don't > care about that feature as they already have something to take care of it > in-house. > > > At 06:41 PM 8/1/01 -0400, you wrote: > >IC 4.7.7 RH 6.2 PERL 5.6 MySQL > > > >When I purchase an item, the quantity don't change in the inventory. > >I tried the online demo and it seems to be the same. > > > >Does anyone know what the problem can be? > > > >Regards > >Mike > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@lists.akopia.com > >http://lists.akopia.com/mailman/listinfo/interchange-users > > Brian Kosick > Web Programmer > New Age Consulting Service, Inc. > 216-619-2000 > briank@nacs.net > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (STEVE LANGE) Date: Thu Aug 2 09:20:02 2001 Subject: [ic] order route question Hello all, I've got a question about order routes. I have the following in my catalog.cfg: ##order route for print fulfillment Route POS attach 0 Route POS credit_card 0 Route POS cybermode "" Route POS email address@somewhere.com Route POS encrypt 0 Route POS encrypt_program '__ENCRYPTOR__' Route POS errors_to '__ORDERS_TO__' Route POS increment 0 Route POS pgp_cc_key "" Route POS pgp_key "" Route POS receipt etc/receipt.html Route POS report etc/report Route POS supplant 1 Route POS individual_track orders Route POS track logs/tracking.asc # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '__ENCRYPTOR__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc When I submit an order with items marked with the POS route, and items which should use the default route, I get the following results: 1) An e-mail to the address specified by the POS route, which contains only POS items. - this is good! 2) An e-mail to the default route address with both default items AND POS items. - this is bad! So, how do I keep my POS items from being emailed to both places? I've tried a number of wrong things, which I'll list here if folks really care... Thanks in advance, Steve Steve Lange Business Analyst - Web Application Developer Menasha Advantage steve.lange@menasha.com ph: 920.751.1196 fax: 920.751.2399 From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 09:47:00 2001 Subject: [ic] fatal admin error Quoting Ben Ausden (Ben.Ausden@navyblue.com): > Hi, > > I'm encountering the following error when trying to access the admin > interface: > > 192.168.200.252 Xo4dUkcK:192.168.200.252 - [02/August/2001:10:37:53 +0100] > foundation /cgi-bin/foundation/admin/index.html Runtime error: ichelp import > failed: sdbm store returned -1, errno 22, key "kshipping.main" at > /usr/local/interchange/lib/Vend/Table/Common.pm line 384, <IN> line 4. > > It's a default Interchange setup in /usr/local/interchange with a default > foundation catalog install in my homedir. > > I'm using 4.8.0 from CVS, but exactly the same error was happening with the > 4.7.6 tarball. I'm running RH7.1, Postgres 7.1 and Perl 5.6.1. The webserver > is Roxen (configured to run cgi scripts as the catalog user i.e. me) > > Can anyone shed any light on this? > For some reason neither GDBM_File or DB_File are available on your perl; bizarre for a Red Hat Linux system, to say the least. Since SDBM is being used, the large key-value pairs in ichelp are breaking things. You need to get a new Perl. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 10:23:00 2001 Subject: [ic] order route question Quoting STEVE LANGE (STEVE.LANGE@menasha.com): > When I submit an order with items marked with the POS route, and items which > should use the default route, I get the following results: > > 1) An e-mail to the address specified by the POS route, which contains only > POS items. - this is good! > > 2) An e-mail to the default route address with both default items AND POS > items. - this is bad! The POS route will not subtract items from anything. If you want a route with only the other items, you need to set up a routing for them as well. The main route will always have all items. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at lists.akopia.com (Marco Mescoli) Date: Thu Aug 2 10:47:01 2001 Subject: [ic] UNSUBCRIBE From: interchange-users at lists.akopia.com (Donald Lin) Date: Thu Aug 2 10:53:01 2001 Subject: [ic] Transaction Database Hi All. I am just wondering what is needed for orders to be stored in the transactions database. I made my catalog from scratch and have already made my transaction database in MySQL. I put the following in catalog.cfg Database transactions transactions.txt dbi:mysql:kosher Database transactions USER kosher Database transactions PASS 9kosher9 Database transactions DELIMITER TAB (i copied transaction.txt from the Construct Something Demo) I restarted and IC recognized the new database. Now I order an item and checkout and everything, but nothing is stored in the database. What else do I need? Once an order is processed, shouldn't it automatically be stored in transaction? Thanks! Donald From: interchange-users at lists.akopia.com (Donald Lin) Date: Thu Aug 2 11:04:00 2001 Subject: [ic] Re: Transaction Database Oh I just noticed the Construct Something demo has a etc/log_transaction file... I just added this to my catalog but it still does not work. What do I need to get this log_transaction file to work? ----- Original Message ----- From: "Donald Lin" <donald.lin@giftme.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, August 02, 2001 10:48 AM Subject: Transaction Database > Hi All. I am just wondering what is needed for orders to be stored in the > transactions database. I made my catalog from scratch and have already made > my transaction database in MySQL. I put the following in catalog.cfg > Database transactions transactions.txt dbi:mysql:kosher > Database transactions USER kosher > Database transactions PASS 9kosher9 > Database transactions DELIMITER TAB > > (i copied transaction.txt from the Construct Something Demo) > I restarted and IC recognized the new database. > > Now I order an item and checkout and everything, but nothing is stored in > the database. What else do I need? Once an order is processed, shouldn't it > automatically be stored in transaction? > > Thanks! > Donald > From: interchange-users at lists.akopia.com (Alexander Fauss) Date: Thu Aug 2 11:09:01 2001 Subject: [ic] Order Number Problems Hi, I've got a little problem with the checkout. So far it works fine. I am receiving a receipt from Interchange with an order number (e.g. 1). But the mail_receipt for the customer, which is delivered correctly too, is empty and it has a different order number(order+1) What's the problem for this? Any ideas? Alex From: interchange-users at lists.akopia.com (Mangeng Michael) Date: Thu Aug 2 11:29:00 2001 Subject: [ic] Order prefix Hi How can I change the "Order prefix" supplied to each order number? In the "foundation" demo shop its "TEST". You know.. Order: "TEST0001". I want to change "TEST" to something else. How/Where can I do this ? thanx Mike From: interchange-users at lists.akopia.com (Florian Schuler) Date: Thu Aug 2 11:46:09 2001 Subject: [ic] CommonAdjust problems ----- Original Message ----- From: Mike Heins <mheins@redhat.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, August 02, 2001 3:04 PM Subject: Re: [ic] CommonAdjust problems > Quoting Florian Schuler (visioncall@gmx.de): > > Hi list > > > > i´am working for a music shipment and we upgraded from MV3.14 to Interchange > > 4.6. > > Somtimes there are a CD and a LP of the same artist and title. In our > > product database exists a field > > named lp_available. If there is a CD and/or a LP of an artist the etnry is: > > > > sku artist ... lp_available > > 122 britney CD=CD > > 123 metallica CD=CD,LP=2xLP > > > > the pricing database: > > sku CD LP > > 122 19.95 > > 123 14.95 20.95 > > > > In the past (MV3.14) we used an entry in the catalogs.cfg: > > > > PriceField price > > PriceBreaks LP > > PriceAdjustment lp_available > > > > everything works fine. > > If someone orders the sku 123 / 2xLP in the basket.html appears the price > > 20.95DM. wonderful. > > > > Now we upgrated to IC4.6.x and nothing is fine. > > I changed the catalogs.cfg to: > > ... > > AutoModifier :lp_available > > CommonAdjust pricing:sku,CD,LP: ;:price > > That is: > > CommonAdjust ==lp_available: ;:price > > -- Hello Mike Heins, i´ve tried your solution but nothing improved. The only thing happend is that the price of LPs appear in the basket no more. just 0.00DM. I think the problem is that there are sometimes comma seperated expressions in the lp_available:products field. like CD=CD,LP=2xLP if i order an item which is just exiting in a LP version, everything is fine. The price appears in the basket. But if the item is available in LP an CD version ( lp_available:products -> CD=CD,LP=2xLP for example) them the price of the CD (price:products) is been taken(took? oh my bad english) over. Thanks in advance Florian Schuler From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu Aug 2 11:53:03 2001 Subject: [ic] Require variable Please make Require directive require variables as in Require variable STOREID Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at lists.akopia.com (Jon Jensen) Date: Thu Aug 2 12:00:01 2001 Subject: [ic] IC books On Tue, 31 Jul 2001, Rene Hertell wrote: > The IC books that are available from the RedHat pages > (http://www.redhat.com/apps/commerce/books.html), are they the same that are > available in PDF format on the IC developer site? There are two new guides there, the Getting Started Guide, and the Administration Tool Guide, which have not yet been converted to the various formats on the website and are only available in print at the moment. Eventually these will make it to the website. The other two books, the Development Guide and the Reference Guide, have the same content as the docs on the IC developer site. They are not laid out the same, because the books are not 8.5" x 11" size, so they are not the same as the PDFs on the website. But again, the content is the same. Jon From: interchange-users at lists.akopia.com (Mark Johnson) Date: Thu Aug 2 12:06:05 2001 Subject: [ic] Multiple taxes based on an Item-Attribute Admin Account wrote: > > I will repost this in hopes this time I'll get some interest. I hope this > is not too stupid a question to get a reply. > > Hi list, > Using Interchange 4.6.5 > I thought I was almost done with my catalog but my customer informed me > that any contact lens that they sell without a prescription must have an > additional 4% parish (county tax) in addition to the normal 4.25% LA state > tax. Taxes apply to customers in LA only. Which will be several thousand > of their current patients. The same colored contact can be ordered with a > prescription or with out. > > I have set up, with Ed's help, Item-Attributes to ask for 3 extra variables > (Power, Diameter, and BaseCurve)on the flypage. > > How can I force the customer to enter these variables for ever purchase on > the flypage. Customers will be instructed to put PL for Power since this > determines the prescription. This sands for plain in optometrist lingo. > > Can I then do some type of [if item-modifier power = PL] then add 4% to the > 4.25% state tax else do normal state tax. I found good info in archives > about how to set up multiple taxes for different products but did not want > to have to double enter items. > > I am perl and javascript deficient and a Interchange rookie to boot > Thanks for any help > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users This used to be covered very nicely in the Minivend docs, and I highly disapprove of its removal. Since I was unable to find the "Sales Tax" section in the current docs (mea culpa if I just couldn't find it), I will provide the Minivend 4 part of the docs here for you. This is everything you need to know. __BEGIN__ Sales Tax MiniVend allows calculation of sales tax on a straight percentage basis, with certain items allowed to be tax-exempt. To enable this feature, the directive SalesTax is initialized with the name of a field (or fields) on the order form. Commonly, this is zipcode and/or state: SalesTax zip,state This being done, MiniVend assumes the presence of a file salestax.asc, which contains a database with the percentages. Each line of salestax.asc should be a code (again, usually a five-digit zip or a two letter state) followed by a tab, then a percentage. Example: 45056 .0525 61821 .0725 61801 .075 IL .0625 OH .0525 VAT .15 WA .08 Based on the user's entry of information in the order form, MiniVend will look up (for our example SalesTax directive) first the zip, then the state, and apply the percentage to the SUBTOTAL of the order. The subtotal will include any taxable items, and will also include the shipping cost if the state/zip is included in the TaxShipping directive. It will add the percentage, then make that available with the [salestax] tag for display on the order form. If no match is found, the entry 'default' is applied -- that is normally 0, but can be anything. If business is being done on a national basis, it is now common to have to collect sales tax for multiple states. If you are doing so, it is possible to subscribe to a service which issues regular updates of the sales tax percentages -- usually by quarterly or monthly subscription. Such a database should be easily converted to MiniVend format -- but some systems are rather convoluted, and it will be well to check and see if the program can export to a flat ASCII file format based on zip code. If some items are not taxable, then you must set up a field in your database which indicates that. You then place the name of that field in the NonTaxableField directive. If the field for that item evaluates true on a yes-no basis (i.e. is set to yes, y, 1, or the like), sales tax will not be applied to the item. If it evaluates false, it will be taxed. If your state taxes shipping, use the TaxShipping directive. Utah and Nevada are known to tax shipping -- there may be others. If you want to set a fixed tax for all orders, as might occur for VAT in some countries, just set the SalesTax directive to a value like tax_code, and define a variable in the user session to reflect the proper entry in the salestax.asc file. To set it to 15% with the above salestax.asc file, you would put in a form: <INPUT TYPE=hidden NAME=tax_code VALUE="VAT"> or to do it without submitting a form: [perl] $Values->{tax_code} = 'VAT'; return; [/perl] __END__ -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Thu Aug 2 12:13:13 2001 Subject: [ic] Remove price from select box MITECH Trading wrote: > > I am using 4.7.7 and all my products comes in several colors, but the choice > of color does not affect the price. For that reason I do not want to show > the price in the drop down boxes for each color. Where do I remove them? You either remove 'price=1' from the item-options tag, or you change them from matrix to simple options (which is what you should do IMO). -- 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 (Jillian Carroll) Date: Thu Aug 2 12:20:02 2001 Subject: [ic] Re-Invoicing Is there any way of re-mailing or re-issuing an invoice? _____ Jillian M. Carroll Internet Consultant, Horizon Computer Solutions 360 1st Avenue North Saskatoon, Saskatchewan S7K 1X4 PHONE: (306) 665-5666 FAX: (306) 665-6199 E-mail: jcarroll@horizon.sk.ca Web-Site: http://www.horizon.sk.ca From: interchange-users at lists.akopia.com (Jillian Carroll) Date: Thu Aug 2 12:26:34 2001 Subject: [ic] Calculating a total based on cart total. I am sure I am missing something obvious... but how would I be able to do a calculation on the cart page based on the cart total? For instance... my cart is priced in US dollars... but it would be nice to have a field on the checkout page that basically says that your X amount order is worth X in CDN dollars. I assume it is just a calculation, but I thought somebody may have done this. I don't see anything in the mailing lists, but I might be searching for the wrong thing. Suggestions would be appreciated. Thanks! _____ Jillian M. Carroll Internet Consultant, Horizon Computer Solutions 360 1st Avenue North Saskatoon, Saskatchewan S7K 1X4 PHONE: (306) 665-5666 FAX: (306) 665-6199 E-mail: jcarroll@horizon.sk.ca Web-Site: http://www.horizon.sk.ca From: interchange-users at lists.akopia.com (Jack Lauman) Date: Thu Aug 2 13:04:00 2001 Subject: [ic] Undefined catalog: /ace I'm using mod_interchange on Apache 1.3.20 (RedHat 7.0). I get the following error on one of the catalogs, all the other ones work. If I change it back to using cgi-bin for this catalog it works also. Undefined catalog: /ace What can cause this and where should I look to correct it? I've tried running makecat again but that doesn't seen to fix it either. Any help would be appreciated. Regards, Jack From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Thu Aug 2 13:35:01 2001 Subject: [ic] Calculating a total based on cart total. At 10:16 AM 08/02/2001 -0600, you wrote: >I am sure I am missing something obvious... but how would I be able to do a >calculation on the cart page based on the cart total? > >For instance... my cart is priced in US dollars... but it would be nice to >have a field on the checkout page that basically says that your X amount >order is worth X in CDN dollars. > >I assume it is just a calculation, but I thought somebody may have done >this. I don't see anything in the mailing lists, but I might be searching >for the wrong thing. > >Suggestions would be appreciated. > >Thanks! > _____ Take a look at the docs on internationalization, this would be the most 'correct' way: http://interchange.redhat.com/cgi-bin/ic/dev/icconfig_20.html Once you have setup locale entries for Canada you could do something like: [setlocale ca_CA] [currency convert=1][subtotal noformat=1][/currency] [setlocale] - 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 (Leon Harris) Date: Thu Aug 2 13:42:00 2001 Subject: [ic] Order prefix change etc/order.number in /var/lib/interchange/yourcatalog to something other than TEST0000 I use an ugly little cron job to be run at one past midnight to generate the date and 0000 eg 1 0 * * * (perl -e '($d,$m,$y)=(localtime)[3,4,5];printf "%04d%02d%02d%04d", $y+1900,$m+1,$d,"0000";') > /var/lib/interchange/catalog/etc/order.number Cheers, Leon Mangeng Michael wrote: > Hi > > How can I change the "Order prefix" supplied to each order number? In the > "foundation" demo shop its "TEST". You know.. Order: "TEST0001". I want to > change "TEST" to something else. How/Where can I do this ? > > thanx > Mike > > _______________________________________________ > 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 LANGE) Date: Thu Aug 2 13:49:01 2001 Subject: [ic] Federal Express Integration Hello all, Another question. Has anyone done integration with Fed Ex for shipping charges? If so, do you have any pointers/examples/pitfalls to avoid. Any information would be greatly appreciated. If there's something built into Interchange for this, I apologize - I can't find it anywhere in the docs. Thanks in advance, Steve Steve Lange Business Analyst - Web Application Developer Menasha Advantage steve.lange@menasha.com ph: 920.751.1196 fax: 920.751.2399 From: interchange-users at lists.akopia.com (Donald Lin) Date: Thu Aug 2 13:56:00 2001 Subject: [ic] Re: Transaction Database I think I am getting very close at solving this problem. However, i still cannot get it to work and no errors show up in error.log (BTW, I am using IC 4.6.5) I have added log_entry and log_transaction to my etc/ directory. They are copied from the Construct Something demo. I also added Route log report etc/log_transaction Route log_entry report etc/log_entry to catalog.cfg Restarted and tried again. But it still doesn't work. I'm guessing I am missing something else, but I do not see any documentation on this and I cannot find any mailing list posts related to this. Help Please! Thanks Donald ----- Original Message ----- From: "Donald Lin" <donald.lin@giftme.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, August 02, 2001 10:59 AM Subject: [ic] Re: Transaction Database > Oh I just noticed the Construct Something demo has a etc/log_transaction > file... I just added this to my catalog but it still does not work. What do > I need to get this log_transaction file to work? > > ----- Original Message ----- > From: "Donald Lin" <donald.lin@giftme.com> > To: <interchange-users@developer.akopia.com> > Sent: Thursday, August 02, 2001 10:48 AM > Subject: Transaction Database > > > > Hi All. I am just wondering what is needed for orders to be stored in the > > transactions database. I made my catalog from scratch and have already > made > > my transaction database in MySQL. I put the following in catalog.cfg > > Database transactions transactions.txt dbi:mysql:kosher > > Database transactions USER kosher > > Database transactions PASS 9kosher9 > > Database transactions DELIMITER TAB > > > > (i copied transaction.txt from the Construct Something Demo) > > I restarted and IC recognized the new database. > > > > Now I order an item and checkout and everything, but nothing is stored in > > the database. What else do I need? Once an order is processed, shouldn't > it > > automatically be stored in transaction? > > > > Thanks! > > Donald > > > > _______________________________________________ > 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: Thu Aug 2 14:12:01 2001 Subject: [ic] UNSUBCRIBE > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Marco > Mescoli > Sent: 02 August 2001 17:45 > To: interchange-users@developer.akopia.com > Subject: [ic] UNSUBCRIBE Try next time to spell U-N-S-U-B-S-C-R-I-B-E correctly. That would probably help... :) René From: interchange-users at lists.akopia.com (Rene Hertell) Date: Thu Aug 2 14:17:00 2001 Subject: [ic] IC books > On Tue, 31 Jul 2001, Rene Hertell wrote: > > > The IC books that are available from the RedHat pages > > (http://www.redhat.com/apps/commerce/books.html), are they the > same that are > > available in PDF format on the IC developer site? > > There are two new guides there, the Getting Started Guide, and the > Administration Tool Guide, Can you give some info about the Admin-tool guide? What kind of information does it contain? Is it a "must" for newbies, or is it directed to experts? Rene From: interchange-users at lists.akopia.com (Dan Browning) Date: Thu Aug 2 15:00:01 2001 Subject: [ic] Undefined catalog: /ace At 10:01 AM 8/2/2001 -0700, you wrote: >I'm using mod_interchange on Apache 1.3.20 (RedHat 7.0). > >I get the following error on one of the catalogs, all the other ones >work. If I change it back to using cgi-bin for this catalog it works >also. > >Undefined catalog: /ace > >What can cause this and where should I look to correct it? I've >tried running makecat again but that doesn't seen to fix it either. > >Any help would be appreciated. > >Regards, > >Jack There are lots of suggestions in the archive, but I would say: * Restart IC, and report the exact output. * Check permissions, apache ownership (etc/, etc/socket)) * Make sure httpd.conf points to the correct socket file * Make sure SocketPerms is set correctly (e.g. 0660) HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Jack Lauman) Date: Thu Aug 2 15:55:00 2001 Subject: [ic] Undefined catalog: /ace All the things you suggested are fine. Other catlogs on the same box are running correctly via mod_interchange. I think it's a configuration file issue but I can't find it. /etc/interchange.cfg is fine. /var/lib/interchange/armchaired/catalog.cfg seems to be ok. the error logs indicate an "Undefined catalog: /ace" Where does the utility configdump get its info from? ... theres a lot more there than whats in the catalog.cfg Jack Dan Browning wrote: > > At 10:01 AM 8/2/2001 -0700, you wrote: > > >I'm using mod_interchange on Apache 1.3.20 (RedHat 7.0). > > > >I get the following error on one of the catalogs, all the other ones > >work. If I change it back to using cgi-bin for this catalog it works > >also. > > > >Undefined catalog: /ace > > > >What can cause this and where should I look to correct it? I've > >tried running makecat again but that doesn't seen to fix it either. > > > >Any help would be appreciated. > > > >Regards, > > > >Jack > > There are lots of suggestions in the archive, but I would say: > > * Restart IC, and report the exact output. > * Check permissions, apache ownership (etc/, etc/socket)) > * Make sure httpd.conf points to the correct socket file > * Make sure SocketPerms is set correctly (e.g. 0660) > > 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 From: interchange-users at lists.akopia.com (IC-Admin) Date: Thu Aug 2 16:07:00 2001 Subject: [ic] IC books On Thu, 2 Aug 2001, Rene Hertell wrote: > > Can you give some info about the Admin-tool guide? What kind of information > does it contain? Is it a "must" for newbies, or is it directed to experts? > > Rene Sorry for teasing again. But my experience as a newbie is that we are best served with guides directed to experts, believe it or not. So, you are just going to buy it no matter what, right ? You did promise that before, remember ? :-) BF From: interchange-users at lists.akopia.com (Jon Jensen) Date: Thu Aug 2 16:11:01 2001 Subject: [ic] Require variable On Thu, 2 Aug 2001 bill@worldwideimpact.com wrote: > Please make Require directive require variables as in > Require variable STOREID Could you elaborate on this proposal? Require what about that variable? That it exist? That it be non-empty? That it be a specific value? Any examples of specific problems this would solve for you? Jon From: interchange-users at lists.akopia.com (Brian Kosick) Date: Thu Aug 2 16:35:00 2001 Subject: [ic] sql queries inside perl tag At 08:24 PM 8/1/01 -0700, you wrote: <snip> >Not tested, but the basic idea is there... > >[query list=1 prefix=outer sql="SELECT sun > FROM products > WHERE code = '[item-code]'"] > > [calc] > @sunarray = split(/,/, '[outer-param sun]'); # breaks with (') in > the field! > $out = ''; > foreach $option (@sunarray) { > $out .= ($out) ? ",'$option'" : "'$option'"; > } > return ''; > [/calc] > > > [query list=1 prefix=inner sql="SELECT val > FROM sun WHERE code in ([calc]$out[/calc])' > ORDER BY val"] > > [inner-param val]<br> > > [/query] > >[/query] > >Good luck, > >Kyle Rock ON!!!! I finally got this to work! Thanks for your example Kyle, it was nearly flawless. Here is my working code... [query list=1 prefix=outer sql="SELECT sun FROM products WHERE code = '[item-code]'"] [calc] @sunarray = split(/,/, '[outer-param sun]'); $out = ''; foreach $option (@sunarray) { $out .= ($out) ? "|$option" : "$option"; } return ''; [/calc] [query list=1 prefix=inner sql="SELECT val FROM sun WHERE code ~'([calc]$out[/calc])'"] [inner-param val]<br> [/query] [/query] Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at lists.akopia.com (Brice Burgess) Date: Thu Aug 2 16:42:01 2001 Subject: [ic] Need Help, Just Starting.. Hi! I am a web developer, that decided to use interchange as my solution for a site I'm about to build for a company called Island Bike 'n Beach, a clothing and accessory retailer. Their season is very short, and orders over the internet would help tremendously. Anyway.. I am a debian linux user, and am wondering if debian is a good choice to run interchange.. or should I switch to redhat for this? Also, what version of interchange should I install? Is the setup relatively easy .. I really need to have this site nailed by the end of August.. & I have 4 other projects I'm working on now. Thanks! Brice __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu Aug 2 16:46:08 2001 Subject: [ic] nova in this little bit of script it says to set it to "custom name", where name is the name of a GlobalSub. what one of this lines would i change to custom name that performs the charge operation? do i add this var. line in or do i change one of the existing var. ## Set this to No if you don't want auto-login capability for users CookieLogin Yes # This sets up the new payment charge mode in Interchange 4 # You set it to "custom name", where name is the name of a GlobalSub # that performs the charge operation. If it is not "custom", then # it will use the CyberCash routines. # # "minivend_test" is special, and the demo order profile # works with the demo order form to test # #Variable MV_PAYMENT_MODE minivend_test # Uncomment to use creditCardAuto if you want, now handled better in # order profiles with "&credit_card=standard". #CreditCardAuto Yes # These are usually all you need for CyberCash 3 # Uncomment and edit to suit; make sure you remove CreditCardAuto somehow # #Variable CYBER_CONFIGFILE /home/you/yourid75/mck-cgi/merchant_conf #Variable CYBER_VERSION 3.2 #Variable CYBER_MODE mauthonly #ifdef CYBER_MODE Variable MV_PAYMENT_MODE mauthonly CreditCardAuto No #endif thank you david haley From: interchange-users at lists.akopia.com (chad m. townsend) Date: Thu Aug 2 16:58:01 2001 Subject: [ic] IC books and more importantly ... does it contain information not found here: http://interchange.redhat.com/cgi-bin/ic/dev/index.html ./chad& IC-Admin wrote: > > On Thu, 2 Aug 2001, Rene Hertell wrote: > > > > > Can you give some info about the Admin-tool guide? What kind of information > > does it contain? Is it a "must" for newbies, or is it directed to experts? > > > > Rene > > Sorry for teasing again. But my experience as a newbie is that we are > best served with guides directed to experts, believe it or not. So, > you are just going to buy it no matter what, right ? You did promise > that before, remember ? :-) > > BF > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Mark Johnson) Date: Thu Aug 2 17:03:01 2001 Subject: [ic] Order prefix Leon Harris wrote: > > change etc/order.number in /var/lib/interchange/yourcatalog to something > other than TEST0000 > > I use an ugly little cron job to be run at one past midnight to generate the > date and 0000 > > eg > 1 0 * * * (perl -e '($d,$m,$y)=(localtime)[3,4,5];printf "%04d%02d%02d%04d", > $y+1900,$m+1,$d,"0000";') > /var/lib/interchange/catalog/etc/order.number > LOL! That is too funny. New meaning to There's More than One Way to Do It! -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Dan Browning) Date: Thu Aug 2 17:20:00 2001 Subject: [ic] Undefined catalog: /ace At 12:54 PM 8/2/2001 -0700, you wrote: >All the things you suggested are fine. Other catlogs on the same >box are running correctly via mod_interchange. > >I think it's a configuration file issue but I can't find it. >/etc/interchange.cfg is fine. >/var/lib/interchange/armchaired/catalog.cfg seems to be ok. >the error logs indicate an "Undefined catalog: /ace" > >Where does the utility configdump get its info from? ... theres a lot >more there than whats in the catalog.cfg Note from the Interchange-users guidelines: http://developer2.akopia.com/archive/interchange-users/2001/msg06658.html -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. The extra stuff is somewhere around: /usr/local/interchange/config_before.cfg and config_after.cfg HAND, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Thu Aug 2 17:26:01 2001 Subject: [ic] Require variable Jon Jensen <jon@redhat.com> Sent by: interchange-users-admin@developer.akopia.com 08/02/2001 04:09 PM Please respond to interchange-users To: <interchange-users@developer.akopia.com> cc: Subject: Re: [ic] Require variable On Thu, 2 Aug 2001 bill@worldwideimpact.com wrote: >> Please make Require directive require variables as in >> Require variable STOREID > Could you elaborate on this proposal? Require what about that variable? > That it exist? That it be non-empty? That it be a specific value? Any > examples of specific problems this would solve for you? > Jon Require that it exists. One example is that I have UserTags that rely on certain catalog variables. It would be nice to require that those variables at least exist before starting the given catalog. Another example is using catalog variables in queries. I often say things like [query sql=|SELECT * FROM __DB__.items|]. __DB__ has a different value based on what host the catalog is running on. DB is set to a test database if the host is the devo host. If DB is not defined certain pages will fail. It would be good to at least require that DB is defined. 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 (Rene Hertell) Date: Thu Aug 2 17:30:01 2001 Subject: [ic] IC books > Sorry for teasing again. But my experience as a newbie is that we are > best served with guides directed to experts, believe it or not. So, > you are just going to buy it no matter what, right ? You did promise > that before, remember ? :-) I know that guides directed to experts are great reading, but my concern is that If I already know everything the book contains, then I'm not a expert. In that case I'm a guru ;) And yes, I remember that I should buy the books when they arrive to Europe, But I did not promise to buy the Admin-tool book... :) Rene From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Thu Aug 2 18:10:00 2001 Subject: [ic] IC 4.7.7 - Modifying Admin UI Hi All, I am in the process of completing my upgrade from 4.6.5 -> 4.7.7. I decided to take some extra time, and convert my 4.6.5 catalog.cfg (i only had one) to the 4.7.7 format, to take advantage of some new features. I also had to add the changes I'd made to the 4.6.5 admin UI. To add a new item in the UI, I edited lib/UI/icmenu.txt and inserted the middle (conference) line 0051 Items 14 item_id admin/item_price item_id=[cgi item_id]&ui_sequence_edit=[cgi ui_sequence_edit]&item_id_left=[cgi item_id_left] Pricing 0052 Items 15 item_id admin/item_conf item_id=[cgi item_id]&ui_sequence_edit=[cgi ui_sequence_edit]&item_id_left=[cgi item_id_left] Conference 0053 Items 16 item_id admin/item_up item_id=[cgi item_id]&ui_sequence_edit=[cgi ui_sequence_edit]&item_id_left=[cgi item_id_left] Up-sell I added the item_conf file in the admin dir, and made the appropriate changes to item_edit.html and merchandising.html I ran into a little trouble here too... @special = grep /\S/, split /[,\0]+/, $meta->{outboard}; unless (@special) { @special = ( 'Qty price;pricing:q5:r', 'Conf;conference:sku:r', 'Up-sell;merchandising:upsell_to:r', 'Cross-sell;merchandising:cross_sell:r', 'Promo;merchandising:featured:r', 'Inventory;inventory:quantity:r', ); } I couldn't quite figure out how to put together the line in mv_metadata.asc for this. Anyone have any suggestions? thanks, .cfg From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Thu Aug 2 18:15:01 2001 Subject: [ic] strange 4.7.7 error Whenever i view any page, i get the following error [02/August/2001:16:36:25 -0400] profprog /cgi-bin/profprog/admin/ITEM_CONF search error: Limit subroutine creation: In string, @MV_PAGE now must be written as \@MV_PAGE at (eval 378) line 1, near "\ball|@@MV_PAGE" > Global symbol "@MV_PAGE" requires explicit package name at (eval 378) line 1. I have moved all my old 4.6.1 regions and templates to a theme directory. The top of my main region is [comment]Bounce the user to the login page if required[/comment] [if scratch members_only] [set members_only][/set] [if !session logged_in] [set mv_successpage]@@MV_PAGE@@[/set] [bounce page=login] [/if] [/if] Should I just delete [set mv_successpage]@@MV_PAGE@@[/set]? thanks, .cfg From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 18:43:00 2001 Subject: [ic] Require variable Quoting Jon Jensen (jon@redhat.com): > On Thu, 2 Aug 2001 bill@worldwideimpact.com wrote: > > > Please make Require directive require variables as in > > Require variable STOREID > > Could you elaborate on this proposal? Require what about that variable? > That it exist? That it be non-empty? That it be a specific value? Any > examples of specific problems this would solve for you? > It is easy to do this anyway: ifndef STOREID Require STOREID endif -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu Aug 2 18:52:01 2001 Subject: [ic] Federal Express Integration On Thu, 2 Aug 2001, STEVE LANGE wrote: SL>> Another question. Has anyone done integration with Fed Ex for shipping charges? If so, do you have any pointers/examples/pitfalls to avoid. Any information would be greatly appreciated. Making the assumption that since they are competitors, that their rates are approximately the same, I am using UPS's tables for FedEx. Since I add in a percentage to the shipping costs, I would like to think that I am safe. FedEx Ground confirmed to me today that their Ground rates are identical to UPS's. Simply copy all of the entries in shipping.asc for UPS into additional entries. Change the labels in the first column to 'fdxa', 'fdxb', 'fdxg' and change the UPS to FedEx. In country.txt, add those labels to the US entry. Log into the UI and click on 'Apply Changes' and you are now also offering your customers FedEx. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 02, 2001 at 18:45 PM: If ignorance is bliss, you must be ecstatic. ---------------------------------------------------------------- This Linux System has been up 575 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu Aug 2 19:04:01 2001 Subject: [ic] Need Help, Just Starting.. On Thu, 2 Aug 2001, Brice Burgess wrote: BB>> Anyway.. I am a debian linux user, and am wondering BB>>if debian is a good choice to run interchange.. or BB>>should I switch to redhat for this? I don't see any reason to change if Debian is your preferred distro. I'm running Slackware. Just make sure that your Perl is up to date that you have a very powerful computer to run it on. BB>> Also, what version of interchange should I install? The latest and greatest - always! BB>>Is the setup relatively easy .. I really need to have BB>>this site nailed by the end of August.. & I have 4 BB>>other projects I'm working on now. IC has a very steep learning curve. It is a very complex, and a very powerful application. If your customer can deal with one of the demos right out of the box, then your install time will be considerably reduced. If your customer is going to add the merchandise, if they are going to deal with the inventory and the merchandising, then your part of it is quite straight forward and you will be quickly done. If your involvement is any deeper than this, then plan to spend some time! :-) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 02, 2001 at 19:00 PM: The cat that ate the ball of yarn....had mittens! ---------------------------------------------------------------- This Linux System has been up 576 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 19:13:01 2001 Subject: [ic] Order prefix Quoting Mark Johnson (markj@redhat.com): > Leon Harris wrote: > > > > change etc/order.number in /var/lib/interchange/yourcatalog to something > > other than TEST0000 > > > > I use an ugly little cron job to be run at one past midnight to generate the > > date and 0000 > > > > eg > > 1 0 * * * (perl -e '($d,$m,$y)=(localtime)[3,4,5];printf "%04d%02d%02d%04d", > > $y+1900,$m+1,$d,"0000";') > /var/lib/interchange/catalog/etc/order.number > > > > LOL! That is too funny. New meaning to There's More than One Way to Do This is a great idea! If you have a busy store you might want to lock the file first. It would very rarely cause trouble even in a busy store, but I have added a little script to eg/. #!/usr/bin/perl -w # reset_order_number -- date-based order numbers for Interchange # From an idea posted to the interchange-users@ic.redhat.com # mail list by Leon Harris <leon@quoll.com> # Place in crontab with # # 0 0 * * * /path/to/reset_order_number /path/to/catalog_dir use Fcntl qw/:flock/; use POSIX qw/strftime/; my $dir = shift or die "usage: $0 <catalog-directory-or-counter-file>\n"; my $fn; if (-f $dir) { $fn = $dir; } else { $fn = "$dir/etc/order.number"; } open ON, "+<$fn" or die "open $fn: $!\n"; flock ON, LOCK_EX or die "lock $fn: $!\n"; seek ON, 0, 0 or die "seek $fn: $!\n"; truncate ON, 0 or die "truncate $fn: $!\n"; print ON strftime("%Y%m%d0000\n", localtime() ); close ON or die "close $fn: $!\n"; __END__ -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at lists.akopia.com (Mike Heins) Date: Thu Aug 2 19:19:01 2001 Subject: [ic] Federal Express Integration Quoting Jim Balcom (jim@idk-enterprises.com): > On Thu, 2 Aug 2001, STEVE LANGE wrote: > > SL>> Another question. Has anyone done integration with Fed Ex for > shipping charges? If so, do you have any pointers/examples/pitfalls to > avoid. Any information would be greatly appreciated. > > Making the assumption that since they are competitors, that their > rates are approximately the same, I am using UPS's tables for FedEx. > Since I add in a percentage to the shipping costs, I would like to > think that I am safe. > > FedEx Ground confirmed to me today that their Ground rates are > identical to UPS's. > > Simply copy all of the entries in shipping.asc for UPS into additional > entries. Change the labels in the first column to 'fdxa', 'fdxb', > 'fdxg' and change the UPS to FedEx. > > In country.txt, add those labels to the US entry. > > Log into the UI and click on 'Apply Changes' and you are now also > offering your customers FedEx. In 4.7.x, there is also the [fedex-query ....] tag, with entries included in every shipping.asc that illuminate it. It of course requires that you go out over the Internet to get the cost, but it fetches multiple rates so it is pretty fast. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "All you need in this life is ignorance and confidence, and then success is sure." -- Mark Twain From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Thu Aug 2 19:41:00 2001 Subject: [ic] nova #Variable MV_PAYMENT_MODE minivend_test uncomment that line, and change it to the method you are using. check the mailing lists for more info http://interchange.redhat.com/cgi-bin/htsearch?words=MV_PAYMENT_MODE On Thu, 2 Aug 2001 DHaley65@aol.com wrote: > in this little bit of script it says to set it to "custom name", where name > is the name of a GlobalSub. what one of this lines would i change to custom > name that performs the charge operation? do i add this var. line in or do i > change one of the existing var. > > ## Set this to No if you don't want auto-login capability for users > CookieLogin Yes > > # This sets up the new payment charge mode in Interchange 4 > # You set it to "custom name", where name is the name of a GlobalSub > # that performs the charge operation. If it is not "custom", then > # it will use the CyberCash routines. > # > # "minivend_test" is special, and the demo order profile > # works with the demo order form to test > # > #Variable MV_PAYMENT_MODE minivend_test > > # Uncomment to use creditCardAuto if you want, now handled better in > # order profiles with "&credit_card=standard". > #CreditCardAuto Yes > > # These are usually all you need for CyberCash 3 > # Uncomment and edit to suit; make sure you remove CreditCardAuto somehow > # > #Variable CYBER_CONFIGFILE /home/you/yourid75/mck-cgi/merchant_conf > #Variable CYBER_VERSION 3.2 > #Variable CYBER_MODE mauthonly > > #ifdef CYBER_MODE > Variable MV_PAYMENT_MODE mauthonly > CreditCardAuto No > #endif > > > thank you david haley > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Admin Account) Date: Thu Aug 2 20:42:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute >This used to be covered very nicely in the Minivend docs, and I highly >disapprove of its removal. Since I was unable to find the "Sales Tax" >section in the current docs (mea culpa if I just couldn't find it), I >will provide the Minivend 4 part of the docs here for you. This is >everything you need to know. Thanks so much Mark. This info is just what I needed. I have been playing with different things and have decided to make fields and a table to give selectable options to the customer instead of relying on item-modifiers. It seems like there are more tag options for information selected from a field than given as a variable at order time. On a side note. I'm sure this has been discussed before and since you brought up the removal of old docs. Are these removed docs the place that the current PDF's reference to look for more info. I have yet to find the detailed discussion on Item-attributes referenced in the PDF's. Am I missing something? Also why is the FAQ page blank? Is this a temporary thing? Thanks again From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu Aug 2 21:18:00 2001 Subject: [ic] Order prefix On Thu, 2 Aug 2001, Mike Heins wrote: MH>>This is a great idea! It is. It means that order numbers now have the date in front of the actual number, and when a customer calls with a question, or a complaint that I have a much better idea of where to start looking to research his answer! It's got to be one of the best ideas that has popped up on this list in a long time! Repeating it: MH>>#!/usr/bin/perl -w MH>> MH>># reset_order_number -- date-based order numbers for Interchange MH>> MH>># From an idea posted to the interchange-users@ic.redhat.com MH>># mail list by Leon Harris <leon@quoll.com> MH>> MH>># Place in crontab with MH>># MH>># 0 0 * * * /path/to/reset_order_number /path/to/catalog_dir MH>> MH>>use Fcntl qw/:flock/; MH>>use POSIX qw/strftime/; MH>> MH>>my $dir = shift MH>> or die "usage: $0 <catalog-directory-or-counter-file>\n"; MH>> MH>>my $fn; MH>> MH>>if (-f $dir) { MH>> $fn = $dir; MH>>} MH>>else { MH>> $fn = "$dir/etc/order.number"; MH>>} MH>> MH>>open ON, "+<$fn" MH>> or die "open $fn: $!\n"; MH>> MH>>flock ON, LOCK_EX or die "lock $fn: $!\n"; MH>>seek ON, 0, 0 or die "seek $fn: $!\n"; MH>>truncate ON, 0 or die "truncate $fn: $!\n"; MH>> MH>>print ON strftime("%Y%m%d0000\n", localtime() ); MH>> MH>>close ON or die "close $fn: $!\n"; MH>> MH>>__END__ -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 02, 2001 at 21:15 PM: Never eat prunes when you're famished. ---------------------------------------------------------------- This Linux System has been up 578 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu Aug 2 21:22:00 2001 Subject: [ic] Federal Express Integration On Thu, 2 Aug 2001, Mike Heins wrote: MH>>In 4.7.x, there is also the [fedex-query ....] tag, with entries MH>>included in every shipping.asc that illuminate it. It of course requires MH>>that you go out over the Internet to get the cost, but it fetches MH>>multiple rates so it is pretty fast. Many of us are stuck in the twilight zone in 4.6.x and don't have that advantage. With the money that I have paid to Akopia for tech support for mods to 4.6.x, and the horror stories that I am reading here from people trying to migrate to later versions, I think that I will stick where I am. It's working! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 02, 2001 at 21:20 PM: Tactics: breathmints for dyslexics ---------------------------------------------------------------- This Linux System has been up 578 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Thu Aug 2 21:30:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute On Thu, 2 Aug 2001, Admin Account wrote: AA>>On a side note. I'm sure this has been discussed before and since you AA>>brought AA>>up the removal of old docs. Are these removed docs the place that the AA>>current PDF's reference to look for more info. I have yet to find the AA>>detailed AA>>discussion on Item-attributes referenced in the PDF's. Am I missing AA>>something? Unfortunately, it's the age-old question: Do you want good software? Or, do you want good docs? 98% of the time you can not have both. We've got good software! A team got together to improve the docs, and I signed on to help with them. But, it quickly became obvious that the new docs were being written for a higher intelligence level than the one that I possess, and they were not going to dumb it down so that I could understand it, so I dropped out. Therefore, IMHO, the docs for Interchange SUCK! YMMV. OTOH, the software is absolutely fantastic! (Once you wade through it and figure it out!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 02, 2001 at 21:25 PM: Linux, the choice of a GNU generation. ---------------------------------------------------------------- This Linux System has been up 578 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Morrie Wyatt) Date: Thu Aug 2 21:50:01 2001 Subject: [ic] Undefined catalog: /ace I had this problem earlier today The reason turned out to be that there was a second copy of interchange running (which owned the bad catalog), so shutting down and re-starting the interchange server fixed the problem. YMMV Regards, Morrie. Morrie Wyatt (morrie@mtiqualos.com.au) ----------------------------------------- M.T.I. Qualos Pty. Ltd. 55 Northern Rd. West Heidelberg Vic. 3081 Ph: (03)9450-1900 Fax: (03)9450-1947 ----------------------------------------- ----- Original Message ----- From: "Jack Lauman" <jlauman@nwcascades.com> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 3:01 AM Subject: [ic] Undefined catalog: /ace > > > I'm using mod_interchange on Apache 1.3.20 (RedHat 7.0). > > I get the following error on one of the catalogs, all the other ones > work. If I change it back to using cgi-bin for this catalog it works > also. > > Undefined catalog: /ace > > What can cause this and where should I look to correct it? I've > tried running makecat again but that doesn't seen to fix it either. > > Any help would be appreciated. > > Regards, > > Jack > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Kyle Cook) Date: Thu Aug 2 22:19:01 2001 Subject: [ic] start/stop and possible ic status in outside perl script Dear list, Thought I'd check to see if anyone has a working script (run via root/ic crontab) that contains any/all of the following before I re-invent the wheel: 1: issue a shutdown of IC 2: restart IC I will be needing to run code in between #1 and #2 to do a nightly update of inventory and prices of a very complex database and need IC turned off for 10-15min. I'd prefer to do it all in one script, to keep down time to a minimum. If I don't get any help, would anyone like to see the code for these (as I will have to get this to work somehow soon :-) Thanks and have a stress-free weekend! PS: The site is http://www.firesale.com/enter.html and they have some great deals on thousands of computers/parts/accessories, so you may want to check them out if your in the market. (Note: I'm just an outside consultant so I can't answer any questions about their business but we did buy 4 computers for our office recently and they were a very good deal!) Also I don't use the UI admin as they had very different requirements and I had to build a custom UI for them. Kyle From: interchange-users at lists.akopia.com (Richard Eicher II) Date: Thu Aug 2 22:28:01 2001 Subject: [ic] linkpt GlobalSub Here is a global sub for Card Services International / Linkpoint. First let me say that the formating is bad. (email client). This one does work, once you get the perl wrapper from CSI/Linkpt. Please feel free to change this. I am sure that there are better ways of doing this. Hope this helps someone, rick ************************************************ GlobalSub <<EOF sub linkpt { use LPERL; ##use LPERL 'CapturePayment'; ################################################### # create a new instance of LPERL ... # # The first parameter is the path and name of # the # binary executable that processes # transactions. # # The second parameter is passed to the binary # executable # # The third parameter is the path to the # directory # where temporary data files will be stored for the # transaction data. # # PLEASE NOTE: These data files contain transaction # data such as credit card numbers and should only # be stored in a directory that is secure. ################################################### my $lperl = new LPERL("/usr/lib/interchange/lib/LPERL/lbin", "FILE", "/usr/lib/interchange/lib/LPERL/temp/"); ####################################################### # # These parameters must be modified to reflect the # information provided to you for YOUR store # # $transacitonresult should be set to LIVE when doing # live transactions on https://secure.linkpt.net # ###################################################### my $hostname = "secure.linkpt.net"; my $port = "1139"; my $storename = "370544"; my $keyfile = "/usr/lib/interchange/lib/cert.pem"; my $transactionresult = "GOOD"; my $testip = "127.0.0.1"; ############################################################ # # BillOrders Test (capturepayment ... then billorders) # # This function is used to bill all orders contained # within the included hash table. To keep the example # simple, only one order is used. CapturePayment is # called immediately before BillOrders in order to # create a transaction to bill against. # ############################################################# my %actual = Vend::Order::map_actual(); my $transaction_hash = { hostname => $hostname, port => $port, storename => $storename, keyfile => $keyfile, # if this param is empty or missing # a CSI order number will be assigned orderID => "", amount => Vend::Interpolate::total_cost(), #$actual{'total-cost'}, result => $transactionresult, cardNumber => $actual{mv_credit_card_number}, cardExpMonth => $actual{mv_credit_card_exp_month}, cardExpYear => $actual{mv_credit_card_exp_year}, name => "$actual{fname} $actual{lname}", email => $actual{email}, phone => $actual{phone_day}, address => $actual{address1}, city => $actual{city}, state => $actual{state}, zip => $actual{zip}, country => $actual{country}, ip => $testip, }; my %ret = $lperl->CapturePayment($transaction_hash); # --------------------------------------------- # capture the order ID so we can bill the order # --------------------------------------------- my $neworderID = $ret{'neworderID'}; my %result; print "CapturePayment: statusCode: $ret{'statusCode'}\n"; if ( $ret{'statusCode'} eq 0 ) { # the transaction failed. print the reason. $result{MStatus} = 'failure'; $result{MErrMsg} = "$ret{'statusMessage'} "; print "CapturePayment: statusMessage: $ret{'statusMessage'}\n"; print "CapturePayment: ChargeTotal: Vend::Interpolate::total_cost()\n"; } else { # the transaction succeeded. print the results. #print "CapturePayment: statusMessage: $ret{'statusMessage'}\n"; #print "CapturePayment: AVSCode: $ret{'AVSCode'}\n"; #print "CapturePayment: trackingID: $ret{'trackingID'}\n"; #print "CapturePayment: neworderID: $ret{'neworderID'}\n"; #print "CapturePayment: statusApproval: $ret{'statusApproval'}\n"; #print "CapturePayment: chargetotal: $ret{'chargetotal'}\n"; #print "CapturePayment: shipping: $ret{'shipping'}\n"; #print "CapturePayment: subtotal: $ret{'subtotal'}\n"; #print "CapturePayment: tax: $ret{'tax'}\n"; #print "CapturePayment: time : $ret{'time'}\n\n"; # ------------------ # now bill the order # ------------------ $transaction_hash = { hostname => $hostname, port => $port, storename => $storename, keyfile => $keyfile, result => $transactionresult, orders => ([ # multiple entries could be used for more orders {orderID => $neworderID, amount => $actual{'total-cost'}, backOrdered => '0', } ]) }; %ret = $lperl->BillOrders($transaction_hash); #print "Successfully billed $ret of 1 order\n"; #print "Order statusMessage: $transaction_hash->{'orders'}[0]-'statusMessage'}\n"; $result{MStatus} = 'success'; $result{'order-id'} = $neworderID; } return %result; } EOF __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at lists.akopia.com (root) Date: Thu Aug 2 22:42:01 2001 Subject: [ic] HELP with my interchange setup can someone please help me with trouble shooting why when i try to input items into my store i cannot get a listing of images to select with the image listing widget. i have the widget setup correctly as far as i know but it still doesn't work. and also the catagories i create do not appear in the category pull down box when i add an item either? could there be some other problem causing this? From: interchange-users at lists.akopia.com (Korney Gozman) Date: Fri Aug 3 00:18:01 2001 Subject: [ic] HELP with my interchange setup The only thing that I can suggest from the top of my head is to check the permissions on those files are set properly, If you are using the design tool, it should mostly involve area.txt and cat.txt If you are using Item Edit too, Im not sure, it could be a variety of things, make sure products.txt is set with proper permissions, sometimes it will let you use the catalog, but not make changes in the UI, make sure the images directory is set with the right permissions as well as the image files, see what it lets you change with the interface and what it wont let you, Usually it wont come up with an error, it will just ignore you, you have to really notice that you arent making changes. _hope it helps :'( root wrote: > can someone please help me with trouble shooting why > when i try to input items into my store i cannot get a listing of images to > select with the image listing widget. > > i have the widget setup correctly as far as i know but it still doesn't work. > and also the catagories i create do not appear in the category pull down box > when i add an item either? > > could there be some other problem causing this? > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Korney Gozman) Date: Fri Aug 3 00:52:00 2001 Subject: [ic] UPS Fuel Surcharge Punishment for using your real name! :) Korney Gozman wrote: > I've noticed this Post several times in the archive, > yet no solution > > Does any know how I can implement 1.25 % surcharge for fuel that UPS Charges > other than altering the whole table, which would not be so bad but there has to > be an easier way! > > Thanks for any type of input Guys and Gals > > -Korey > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Korney Gozman) Date: Fri Aug 3 00:56:00 2001 Subject: [ic] HELP with my interchange setup Same thing ',:\ Korney Gozman wrote: > The only thing that I can suggest from the top of my head is to check the > permissions > on those files are set properly, If you are using the design tool, it should > mostly involve area.txt and cat.txt > If you are using Item Edit too, Im not sure, it could be a variety of things, > make sure products.txt is set with > proper permissions, sometimes it will let you use the catalog, but not make > changes in the UI, > make sure the images directory is set with the right permissions as well as the > image files, > see what it lets you change with the interface and what it wont let you, > Usually it wont come up with an error, it will just ignore you, you have to > really notice that you > arent making changes. > > _hope it helps :'( > > root wrote: > > > can someone please help me with trouble shooting why > > when i try to input items into my store i cannot get a listing of images to > > select with the image listing widget. > > > > i have the widget setup correctly as far as i know but it still doesn't work. > > and also the catagories i create do not appear in the category pull down box > > when i add an item either? > > > > could there be some other problem causing this? > > _______________________________________________ > > 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 (Admin Account) Date: Fri Aug 3 01:07:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute J>>Unfortunately, it's the age-old question: Do you want good software? J>>Or, do you want good docs? 98% of the time you can not have both. We've J>>got good software! I totally agree about the Interchange S/W. Utterly amazing. I am a network tech turned ISP trying to implement an ecommerce solution for a long time client. I have a heavy MS and Novell background (retail service center) then started w/ Redhat for less than a year now. A true OS. I was utterly amazed at the efforts but forth by the developers of interchange. For free! Get the hell out. Anyway I do also understand docs are usually lacking my question was more why kill the old stuff if it still applies. Maybe archive with a disclaimer "Some information may not be correct. Use at own risk". I have been following this list for several months and I am again amazed at the efforts given by people on this list to help each other. I read all the email every day even though 90% is over my head. I get frustrated trying to do things because I don't have a programming background. Thinking of picking up a book on Perl. Can anyone recommend one. I From: interchange-users at lists.akopia.com (Korney Gozman) Date: Fri Aug 3 01:32:01 2001 Subject: [ic] UPS Fuel Surcharge And the correct Answer is .... Modify 'adder' => "(\@\@TOTAL\@\@ * 0.0125)", in your shipping.asc file and assuming that the rate and area files are up to date your results just might match the ups.com quick ship calculator, Also keep in mind there is also Residential and Commercial Price Breaks, Oooh What fun!! Many Thanks to Zack Johnson <zack@office.standardprinting.net> and Jim's Linux-Operated Underground Bomb Shelter, (first place to go for safety!! right?) > > I've noticed this Post several times in the archive, > > yet no solution > > > > Does any know how I can implement 1.25 % surcharge for fuel that UPS Charges > > other than altering the whole table, which would not be so bad but there has to > > be an easier way! > > > > Thanks for any type of input Guys and Gals > > > > -Korey > From: interchange-users at lists.akopia.com (Dan Browning) Date: Fri Aug 3 01:50:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute At 11:57 PM 8/2/2001 -0500, you wrote: >I have been following this list for several months and I am again amazed at >the efforts >given by people on this list to help each other. I read all the email every >day even >though 90% is over my head. I get frustrated trying to do things because I >don't >have a programming background. Thinking of picking up a book on Perl. Can >anyone >recommend one. I I recommend the Perl CD Bookshelf 2.0: 5 books in one (with one of them in print). Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri Aug 3 03:37:00 2001 Subject: [ic] Need Help, Just Starting.. Brice Burgess <nestafy@yahoo.com> writes: > Hi! I am a web developer, that decided to use > interchange as my solution for a site I'm about to > build for a company called Island Bike 'n Beach, a > clothing and accessory retailer. Their season is very > short, and orders over the internet would help > tremendously. > > Anyway.. I am a debian linux user, and am wondering > if debian is a good choice to run interchange.. or > should I switch to redhat for this? I think Debian is a good choice, why should you change your distribution for Interchange's sake. As the Debian maintainer and core developer of Interchange you may send complaints and questions concerning the Debian packages for Interchange to me. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Fri Aug 3 03:55:00 2001 Subject: [ic] Need Help, Just Starting.. Jim Balcom <jim@idk-enterprises.com> writes: > On Thu, 2 Aug 2001, Brice Burgess wrote: > > BB>> Anyway.. I am a debian linux user, and am wondering > BB>>if debian is a good choice to run interchange.. or > BB>>should I switch to redhat for this? > > I don't see any reason to change if Debian is your preferred distro. > I'm running Slackware. Just make sure that your Perl is up to date that > you have a very powerful computer to run it on. apt-get install interchange interchange-ui interchange-cat-foundation will manage all of this besides installing SQL support. No need to figure out what Perl modules to install as as RPM user :-) > > BB>> Also, what version of interchange should I install? > > The latest and greatest - always! > > BB>>Is the setup relatively easy .. I really need to have > BB>>this site nailed by the end of August.. & I have 4 > BB>>other projects I'm working on now. > > IC has a very steep learning curve. It is a very complex, and a very > powerful application. > > If your customer can deal with one of the demos right out of the box, > then your install time will be considerably reduced. The Debian package for 4.8.x will install on your demand the demo catalog so it is up and running (hopefully !). A prerelease is available on demand from me. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Mangeng Michael) Date: Fri Aug 3 06:19:00 2001 Subject: [ic] Order prefix yea a supreme solution! i've added the script but i got a little error message when ordered the first product.. looks like interchange needs the "#COUNTER-1.0" at the top of etc/order.number ive replaced the line in reset_order_number: print ON strftime("%Y%m%d0000\n", localtime() ); to print ON strftime("#COUNTER-1.0\n%Y%m%d0000\n", localtime() ); now it works perfectly. thanx all mike From: interchange-users at lists.akopia.com (Florian Schuler) Date: Fri Aug 3 09:29:01 2001 Subject: [ic] pricing Hello list, i just want to know wether my pricing.dbm is ok. my pricing.asc is: sku CD LP 1 14.95 20.95 . . my pricing.dbm: Database pricing pricing.asc TAB Database pricing KEY sku Database pricing NUMERIC CD Database pricing NUMERIC LP Is this ok ? Thanks Florian Schuler From: interchange-users at lists.akopia.com (Brian Kosick) Date: Fri Aug 3 09:37:00 2001 Subject: [ic] HELP with my interchange setup make sure there is a symbolic link from your catalogs / dir to the images so if you do an ls -l you should see a line that looks like this pages products images -> /home/sites/site1/web/images At 10:36 AM 8/3/01 +0800, you wrote: >can someone please help me with trouble shooting why >when i try to input items into my store i cannot get a listing of images to >select with the image listing widget. > >i have the widget setup correctly as far as i know but it still doesn't work. >and also the catagories i create do not appear in the category pull down box >when i add an item either? > >could there be some other problem causing this? >_______________________________________________ >interchange-users mailing list >interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at lists.akopia.com (MITECH Trading) Date: Fri Aug 3 09:53:00 2001 Subject: [ic] Remove price from select box I need the matrix option to keep track of inventory in each color. Where do I find the place to remove price=1? I spend lots of time searching yesterday, but I can't find it anywhere. Best regards Michael Michaelsen www.mitechtrading.com ----- Original Message ----- From: "Mark Johnson" <markj@redhat.com> To: <interchange-users@developer.akopia.com> Sent: Thursday, August 02, 2001 12:06 PM Subject: Re: [ic] Remove price from select box > MITECH Trading wrote: > > > > I am using 4.7.7 and all my products comes in several colors, but the choice > > of color does not affect the price. For that reason I do not want to show > > the price in the drop down boxes for each color. Where do I remove them? > > You either remove 'price=1' from the item-options tag, or you change > them from matrix to simple options (which is what you should do IMO). > > > -- > 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 (FMU) Date: Fri Aug 3 09:56:01 2001 Subject: [ic] Fix Shipping charge H e l p ! I'm dying! Got an IC 4.6 installed, everything worx fine except one thing: Doesn't matter what I write in my shipping.asc file, or in catalog.cfg - I ALWAYS have shipping-cost displayed to 0,00. I don't need any UPS- or whatever -Stuff, I just need one fix shipping charge for every order. How should the entries in catalog.cfg look like; do I really need a shipping.asc file. Any idea out there?? ThanX for your help Frank From: interchange-users at lists.akopia.com (Jon Jensen) Date: Fri Aug 3 09:59:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute On Thu, 2 Aug 2001, Admin Account wrote: > Anyway I do also understand docs are usually lacking my question was > more why kill the old stuff if it still applies. Maybe archive with a > disclaimer "Some information may not be correct. Use at own risk". I'm not sure why anyone thinks the old docs have been "killed" -- they're always there in the archives for anyone to download: http://interchange.redhat.com/pub/minivend4/mvdocs-4.04.tar.gz Jon From: interchange-users at lists.akopia.com (MITECH Trading) Date: Fri Aug 3 10:02:00 2001 Subject: [ic] Inventory for options SKU# 00007 comes in red and blue. I have made matrix options for that and get 00007red and 00007blue with each their quantities on hand. When one of the colors is out of stock, there is no out of stock notice comming up. The out of stock notice is controlled by 00007, and in this case the 00007 inventory never change. Only 00007red and 00007blue change when items is purchased. Are there any way to get a out of stock notice when one of the colors is out of stock? Best regards Michael Michaelsen www.mitechtrading.com From: interchange-users at lists.akopia.com (Pann McCuaig) Date: Fri Aug 3 10:04:01 2001 Subject: [ic] Akopia hosting providers Is anyone actually using any of these "bargain" hosting providers that offer Interchange on their hosting accounts? Two that come to mind are http://www.afhosting.com/ http://www.imagelinkusa.com/ I'm looking for relatively low cost but stable interchange hosting that can be used to host "Mom'n'Pop" type businesses for whom ic is probably overkill, but now that I've climbed the damned learning curve . . . Any and all suggestions, pointers, links, etc. appreciated. Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at lists.akopia.com (Garry) Date: Fri Aug 3 10:28:01 2001 Subject: [ic] PGP on Linux 6.2 Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what version of PGP did you use and what method of installation? I want to use PGP to encrypt the email credit card number in etc/report. At the moment, whatever version I try to use, I keep reaching a dead end. Any help would be much appreciated Garry _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Garry) Date: Fri Aug 3 10:37:01 2001 Subject: [ic] Akopia hosting providers I use Hostroute www.hostroute.com Garry ----- Original Message ----- From: "Pann McCuaig" <pann@ourmanpann.com> To: "Interchange Users" <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 3:03 PM Subject: [ic] Akopia hosting providers > Is anyone actually using any of these "bargain" hosting providers that > offer Interchange on their hosting accounts? Two that come to mind are > > http://www.afhosting.com/ > http://www.imagelinkusa.com/ > > I'm looking for relatively low cost but stable interchange hosting that > can be used to host "Mom'n'Pop" type businesses for whom ic is probably > overkill, but now that I've climbed the damned learning curve . . . > > Any and all suggestions, pointers, links, etc. appreciated. > > Cheers, > Pann > -- > geek by nature, Linux by choice L I N U X .~. > The Choice /V\ > http://www.ourmanpann.com/linux/ of a GNU /( )\ > Generation ^^-^^ > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Gabriel Velasquez) Date: Fri Aug 3 10:45:00 2001 Subject: [ic] Akopia hosting providers Take a look at http://www.aitcom.net > Is anyone actually using any of these "bargain" hosting providers that offer Interchange on their hosting accounts? Two that come to mind are http://www.afhosting.com/ http://www.imagelinkusa.com/ I'm looking for relatively low cost but stable interchange hosting that can be used to host "Mom'n'Pop" type businesses for whom ic is probably overkill, but now that I've climbed the damned learning curve . . . Any and all suggestions, pointers, links, etc. appreciated. Cheers, Pann < -Gabriel Velasquez TerraLinx, Inc. Voice, Data, Internet, & Cellular Services Tel: (520)281-5809 Fax: (520)281-7152 Home Page: http://www.terralinx.net Full/Part Time Agent Opportunites From: interchange-users at lists.akopia.com (Mike Heins) Date: Fri Aug 3 11:08:01 2001 Subject: [ic] Inventory for options Quoting MITECH Trading (michaelsen@spacey.net): > SKU# 00007 comes in red and blue. I have made matrix options for that and > get > 00007red and 00007blue with each their quantities on hand. > When one of the colors is out of stock, there is no out of stock notice > comming up. > The out of stock notice is controlled by 00007, and in this case the 00007 > inventory never change. Only 00007red and 00007blue change when items is > purchased. > > Are there any way to get a out of stock notice when one of the colors is out > of stock? > Sure, but it isn't in the standard flypage. Try this: [if-item-data options o_matrix] [query list=1 sql=" SELECT code FROM options WHERE sku = '[item-code]' AND o_matrix = 1 "] <tr> <td>[sql-data options description]</td> <td>-- [if-sql-data inventory quantity > 0] [page href=order form=" mv_order_item=[item-code] mv_sku=[sql-code] "]ORDER NOW</A> [else] OUT OF STOCK [/else] [/if-sql-data] </td> </tr> [/query] [/if-item-data] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From: interchange-users at lists.akopia.com (Robert Trembath) Date: Fri Aug 3 11:22:01 2001 Subject: [ic] Fix Shipping charge Are you logged in as a user? If not IC doesn't have a destination zip code before it gets to checkout, the amount will always be $0.00. Create a test user and login before checkout. Robert ----- Original Message ----- From: "FMU" <fmueller@adva.de> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 8:57 AM Subject: [ic] Fix Shipping charge > > H e l p ! I'm dying! > > Got an IC 4.6 installed, everything worx fine except one thing: > > Doesn't matter what I write in my shipping.asc file, or in catalog.cfg - > I ALWAYS have shipping-cost displayed to 0,00. > I don't need any UPS- or whatever -Stuff, I just need one fix shipping charge > for every order. How should the entries in catalog.cfg look like; do I > really > need a shipping.asc file. > Any idea out there?? > > ThanX for your help > Frank > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (Mark Johnson) Date: Fri Aug 3 11:25:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute Admin Account wrote: > > > On a side note. I'm sure this has been discussed before and since you > brought > up the removal of old docs. Are these removed docs the place that the > current PDF's reference to look for more info. I believe so. In fact, for my search of Sales Tax, one of my "hits" was just such a meaningless reference to the section which is no longer there. Therefore, it would not surprise me at all to find that be the case in any number of other instances. You can find all the minivend docs at http://developer.akopia.com/minivend4/ -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Fri Aug 3 11:30:00 2001 Subject: [ic] start/stop and possible ic status in outside perl script Kyle Cook wrote: > > Dear list, > > Thought I'd check to see if anyone has a working script > (run via root/ic crontab) that contains any/all of the following > before I re-invent the wheel: > > 1: issue a shutdown of IC > > 2: restart IC > Using the ic user's cron: /path/to/ic/bin/interchange -k # Other code /path/to/ic/bin/interchange >From root, I'm not sure. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Fri Aug 3 11:40:00 2001 Subject: [ic] Remove price from select box MITECH Trading wrote: > > Where do I find the place to remove price=1? >From cat root (assuming you have nice, tidy session and tmp dirs) egrep -r 'item-options.*price=1' * should find them all for you. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Mark Johnson) Date: Fri Aug 3 11:45:01 2001 Subject: [ic] Fix Shipping charge FMU wrote: > I just need one fix shipping charge for every order. In shipping.asc, FLAT Flat rate quantity 0 0 e Nothing to ship! FLAT Flat rate quantity 1 100 f [var SHIP_FLAT_RATE] FLAT Flat rate quantity 100 9999 e Contact factory to ship that many. Set mv_shipmode to FLAT, and add SHIP_FLAT_RATE to variable set to the flat rate. -- 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 (Jud Harris) Date: Fri Aug 3 11:48:08 2001 Subject: [ic] start/stop and possible ic status in outside perl script fron root, wouldn't one just prepend "su interch -c '[insert command here]'" to each one? ----- Original Message ----- From: "Mark Johnson" <markj@redhat.com> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 10:38 AM Subject: Re: [ic] start/stop and possible ic status in outside perl script > Kyle Cook wrote: > > > > Dear list, > > > > Thought I'd check to see if anyone has a working script > > (run via root/ic crontab) that contains any/all of the following > > before I re-invent the wheel: > > > > 1: issue a shutdown of IC > > > > 2: restart IC > > > > Using the ic user's cron: > > /path/to/ic/bin/interchange -k > > # Other code > > /path/to/ic/bin/interchange > > From root, I'm not sure. > > -- > Mark Johnson > Senior Systems Architect - Professional Services > Red Hat, Inc. > E-Business Solutions > markj@redhat.com > 703-456-2912 > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Mark Johnson) Date: Fri Aug 3 12:04:27 2001 Subject: [ic] start/stop and possible ic status in outside perl script Jud Harris wrote: > > fron root, wouldn't one just prepend "su interch -c '[insert command here]'" > to each one? > Yes, that does it. Problem solved :) -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Fri Aug 3 12:48:00 2001 Subject: [ic] PGP on Linux 6.2 At 03:27 PM 08/03/2001 +0100, you wrote: >Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what >version of PGP did you use and what method of installation? > >I want to use PGP to encrypt the email credit card number in etc/report. > >At the moment, whatever version I try to use, I keep reaching a dead end. > >Any help would be much appreciated > I used one of the precompiled binaries for RH 6.2, and it installed without any problems. http://web.mit.edu/network/pgp.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 (Garry) Date: Fri Aug 3 13:05:00 2001 Subject: [ic] PGP on Linux 6.2 I am in the UK :o( Garry ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 5:48 PM Subject: Re: [ic] PGP on Linux 6.2 > At 03:27 PM 08/03/2001 +0100, you wrote: > >Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what > >version of PGP did you use and what method of installation? > > > >I want to use PGP to encrypt the email credit card number in etc/report. > > > >At the moment, whatever version I try to use, I keep reaching a dead end. > > > >Any help would be much appreciated > > > > I used one of the precompiled binaries for RH 6.2, and it installed without > any problems. > http://web.mit.edu/network/pgp.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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Salvador Caballe) Date: Fri Aug 3 13:09:00 2001 Subject: [ic] PGP on Linux 6.2 I also use the precompiled RPM (PGPcmdln_6.5.8.Lnx_FW.rpm.tar) without problems On Fri, 03 Aug 2001 09:48:21 -0700 Ed LaFrance <edl@newmediaems.com> wrote: > At 03:27 PM 08/03/2001 +0100, you wrote: > >Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what > >version of PGP did you use and what method of installation? > > > >I want to use PGP to encrypt the email credit card number in etc/report. > > > >At the moment, whatever version I try to use, I keep reaching a dead end. > > > >Any help would be much appreciated > > > > I used one of the precompiled binaries for RH 6.2, and it installed without > any problems. > http://web.mit.edu/network/pgp.html > > - Ed L. From: interchange-users at lists.akopia.com (Garry) Date: Fri Aug 3 13:32:00 2001 Subject: [ic] PGP on Linux 6.2 Great ! - I got a copy of that, but: how do I untar it ready to install? does anyone know? I can do the rest ! Cheers Garry ----- Original Message ----- From: "Salvador Caballe" <scm@apdo.com> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 6:07 PM Subject: Re: [ic] PGP on Linux 6.2 > I also use the precompiled RPM > > (PGPcmdln_6.5.8.Lnx_FW.rpm.tar) > > without problems > > On Fri, 03 Aug 2001 09:48:21 -0700 > Ed LaFrance <edl@newmediaems.com> wrote: > > > At 03:27 PM 08/03/2001 +0100, you wrote: > > >Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what > > >version of PGP did you use and what method of installation? > > > > > >I want to use PGP to encrypt the email credit card number in etc/report. > > > > > >At the moment, whatever version I try to use, I keep reaching a dead end. > > > > > >Any help would be much appreciated > > > > > > > I used one of the precompiled binaries for RH 6.2, and it installed without > > any problems. > > http://web.mit.edu/network/pgp.html > > > > - Ed L. > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Admin Account) Date: Fri Aug 3 13:50:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute >I'm not sure why anyone thinks the old docs have been "killed" -- they're >always there in the archives for anyone to download: >http://interchange.redhat.com/pub/minivend4/mvdocs-4.04.tar.gz Thanks Jon Didn't think to browse pub ftp. From: interchange-users at lists.akopia.com (Admin Account) Date: Fri Aug 3 13:53:00 2001 Subject: [ic] Multiple taxes based on an Item-Attribute >You can find all the minivend docs at >http://developer.akopia.com/minivend4/ Thnaks Mark From: interchange-users at lists.akopia.com (Admin Account) Date: Fri Aug 3 13:57:01 2001 Subject: [ic] Fix Shipping charge >I ALWAYS have shipping-cost displayed to 0,00. I had this problem with only 1 item that did not have a value for its weight From: interchange-users at lists.akopia.com (Admin Account) Date: Fri Aug 3 14:08:01 2001 Subject: [ic] PGP on Linux 6.2 >Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what I had problems on 7.1. But ended up using precompiled binaries from http://web.mit.edu/network/pgp.html. I remember something funny with the gunzip. Ran gunzip < /path/too/file.tar.gz | tar xvf - as per instructions. Then deleted source file. Then ran the gunzip again. gunzip < /path/too/file.tar.gz | tar xvf - Seems like a zip of a zip with the same filename This is from memory u might need to check syntax From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Fri Aug 3 15:20:00 2001 Subject: [ic] Pressure Washer Owners EnviroSpec is one of the Nation’s Largest Full Service suppliers to ANYONE who owns a Pressure Washer, Steam Cleaner or water reclamation and/or recycling system. No-one – Absolutely No-one Beats our Price or service! Our Weekly Specials are located at: http://www.envirospec.com/pdf/E81.pdf (allow 1 minute to download) You will need Acrobat Reader to view the above PDF File. You can get it FREE here: http://www.adobe.com/products/acrobat/readstep2.html You can request our Pressure Points Catalog at: http://www.envirospec.com You can also see our New for 2002, Cobra Gas Engine, Hot Water Pressure Washer at: http://www.envirospec.com/newpics/frontleft.jpg (allow 1 minute to download) Now if you are really a serious professional contractor or a repair center you may want to take a look at our site that tells you all about our Technical School where we teach you almost everything there is to know about Pressure Washer Repair, Cleaning Chemical Application and even marketing your business. http://www.envirospec.com/content.cfm?doc=techschool Tech School Information http://www.envirospec.com/letters/Pro-ducts.jpg Testimonial Letter http://www.envirospec.com/content.cfm?doc=tstest Testimonial Quotes Yes, I know this may sound like we only cater to professionals but that is really not true. ANYONE who owns a pressure washer – be it from Sam’s, Sears, Home Depot, Lowe’s or Wal-Mart will be able to take advantage of “deep pockets” buying at EnviroSpec regardless of the size of your order. If you have received this e-Mail in error please HIT “REPLY” and type the word “REMOVE” in the SUBJECT line and HIT “SEND” and we will promptly remove you from our records. From: interchange-users at lists.akopia.com (Pann McCuaig) Date: Fri Aug 3 15:25:00 2001 Subject: [ic] Authorize.net I'm starting down this road. >From /usr/local/interchange-beta/lib/Vend/Payment/AuthorizeNet.pm: To enable this module, place this directive in C<interchange.cfg>: Require module Vend::Payment::AuthorizeNet This I<must> be in interchange.cfg or a file included from it. OK, so I put the line at the end of interchange.cfg, and this results: $ su -c "/usr/local/interchange-beta/bin/interchange -r" interch Killing Interchange server 3763 with TERM. Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange-beta/bin/interchange line 2715 Calling UI......UI is loaded... Required Perl module Vend::Payment::AuthorizeNet not present. Aborting catalog. In line 7 of the configuration file 'interchange.cfg': Require module Vend::Payment::AuthorizeNet What am I missing (and where should I be looking)? Thanks, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Fri Aug 3 16:16:00 2001 Subject: [ic] 4.7.7 Admin UI Whats the basic way to add a new database using IC 4.7.7? In 4.6.1, I added a 'conference' database which was associated w/products in the same was as cross-selling, quantity pricing, or inventory. With 4.7.7, the original 4..1 catalog does not work, so I upgraded the config files, and duplicated the changes that had been made to the old admin ui. In the admin UI, I edited item.html, merchandising.html, and added item_conf.html. I have edited the local catalog/products/icmenu.txt. What is left? .cfg From: interchange-users at lists.akopia.com (Garry) Date: Fri Aug 3 17:09:01 2001 Subject: [ic] PGP on Linux 6.2 I'm still having problems.. you are right about the second file though, however, when I try to gunzip the second (clone) file I get a file not found error. Any other suggestions would be helpful - bearing in mind I am a UK user. cheers Garry ----- Original Message ----- From: "Admin Account" <admin@triparish.net> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 6:59 PM Subject: RE: [ic] PGP on Linux 6.2 > >Has anyone to installed PGP on a Red Hat Linux 6.2 server? if so, what > > I had problems on 7.1. But ended up using precompiled binaries from > http://web.mit.edu/network/pgp.html. I remember something funny with > the gunzip. Ran gunzip < /path/too/file.tar.gz | tar xvf - as per > instructions. > Then deleted source file. Then ran the gunzip again. > gunzip < /path/too/file.tar.gz | tar xvf - > Seems like a zip of a zip with the same filename > > This is from memory u might need to check syntax > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Funktion Design and Media) Date: Fri Aug 3 17:33:01 2001 Subject: [ic] Multi-Part Checkout Problems Hello, I'm at the end of the creation of an Interchange site but have only one problem left. I'm trying to split the checkout process into two different pages. The first page with all the shipping info, and then the second page for the cart display with the calculated shipping costs and such at which point they then enter their credit card number. The way I'm trying to approach it is to check for errors on the second page and if there are errors then it [bounce ord/checkout1] to redirect to the first page, where it displays all the errors. What's happening though is that when I fill out all the fields then hit next, it bounces me back to the first page and says I have errors in my submission but there are no errors to be found. Any ideas? Chris Archibald Funktion Design and Media 715 Park St. Nelson, BC V1L 2H1 Ph. 250.505.5210 chris@funktiondesign.com www.funktiondesign.com From: interchange-users at lists.akopia.com (Victor Nolton) Date: Fri Aug 3 17:48:00 2001 Subject: [ic] Multi-Part Checkout Problems someone had a simular problem like this the other day. there was nothing shown in red but there was a error, meaning the error was not visible. try adding [error all=1 show_var=1 show_error=1 joiner='<br>'] to the page and that show show all the errors Ven >Hello, > >I'm at the end of the creation of an Interchange site but have only one >problem left. I'm trying to split the checkout process into two different >pages. The first page with all the shipping info, and then the second page >for the cart display with the calculated shipping costs and such at which >point they then enter their credit card number. > >The way I'm trying to approach it is to check for errors on the second page >and if there are errors then it [bounce ord/checkout1] to redirect to the >first page, where it displays all the errors. What's happening though is >that when I fill out all the fields then hit next, it bounces me back to the >first page and says I have errors in my submission but there are no errors >to be found. Any ideas? > > >Chris Archibald >Funktion Design and Media >715 Park St. >Nelson, BC >V1L 2H1 >Ph. 250.505.5210 >chris@funktiondesign.com >www.funktiondesign.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 (Jim Balcom) Date: Fri Aug 3 18:08:00 2001 Subject: [ic] start/stop and possible ic status in outside perl script On Thu, 2 Aug 2001, Kyle Cook wrote: KC>>Thought I'd check to see if anyone has a working script KC>>(run via root/ic crontab) that contains any/all of the following KC>>before I re-invent the wheel: KC>> KC>>1: issue a shutdown of IC KC>> KC>>2: restart IC KC>> In /usr/local/bin I put an executable script that I call 'restart.interchange' In it is: su interch /usr/local/interchange/bin/interchange -r This does not give a puase, like I suspect that you are looking for. There are numerous options that you can use in place of the '-r' that should accomplish your goals. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 03, 2001 at 18:05 PM: Seen on BBSer's tombstone: CONNECT 1953, NO CARRIER 1994 ---------------------------------------------------------------- This Linux System has been up 599 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Dan Browning) Date: Fri Aug 3 18:15:00 2001 Subject: [ic] Multi-Part Checkout Problems At 02:46 PM 8/3/2001 -0700, you wrote: >Hello, > >I'm at the end of the creation of an Interchange site but have only one >problem left. I'm trying to split the checkout process into two different >pages. The first page with all the shipping info, and then the second page >for the cart display with the calculated shipping costs and such at which >point they then enter their credit card number. > >The way I'm trying to approach it is to check for errors on the second page >and if there are errors then it [bounce ord/checkout1] to redirect to the >first page, where it displays all the errors. What's happening though is >that when I fill out all the fields then hit next, it bounces me back to the >first page and says I have errors in my submission but there are no errors >to be found. Any ideas? > > >Chris Archibald Chris, You might checkout the old "Berry" template which had a multi-page checkout feature, IIRC. It's somewhere on the public ftp server; the link gets posted every week or so. There are other examples as well, if that doesn't do it for ya. HTH, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Jim Balcom) Date: Fri Aug 3 18:24:00 2001 Subject: [ic] UPS Fuel Surcharge On Fri, 3 Aug 2001, Korney Gozman wrote: KG>>And the correct Answer is .... KG>>Modify 'adder' => "(\@\@TOTAL\@\@ * 0.0125)", KG>>in your shipping.asc file and assuming that the rate and area files are up to date KG>>your results just might match the ups.com quick ship calculator, KG>>Also keep in mind there is also Residential and Commercial Price Breaks, KG>> Oooh What fun!! In my business, I assume that everyone is residential. That's usually an additional $1.05 I get charged a weekly fee for picking up of (usually) $10.50. If a customer tells me that they are in Apartment 105, and they are actually in Apartment 1105 I charged a $5.00 Address Correction Fee. UPS appears to be measuring every package that comes through, as well as weighing it. Their measuring tapes are made of elastic. Never mind that the actual box dimensions are printed on the bottom of the box by the manufacturer, they use their own measurements which are usually bigger than the actual dimensions, resulting in a much higher shipping cost, and I've gotten hit with a $60 penalty a few times for 'oversize' boxes that clearly were not. Consequently, I add on a 25% surcharge to the rate table. I also add in a flat $1.50 to pay for the box. (My average cost for my boxes from Uline) Therefore, the fuel surcharge is already covered. (I fought the $60 penalties long and hard - many phone calls - many empty promises. It was only one night after a 6-pack and a phone call to UPS that I finally got them removed!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 03, 2001 at 18:15 PM: Fire, Mr. Worf! [Worf picks up extinguisher] ---------------------------------------------------------------- This Linux System has been up 599 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Fri Aug 3 18:35:01 2001 Subject: [ic] Akopia hosting providers On Fri, 3 Aug 2001, Pann McCuaig wrote: PM>>I'm looking for relatively low cost but stable interchange hosting that PM>>can be used to host "Mom'n'Pop" type businesses for whom ic is probably PM>>overkill, but now that I've climbed the damned learning curve . . . Make me an offer: I've got a 1.2gHz CPU with 512 megs of RAM and 40 gigs of hard drive space sitting on an underused T-1. This particular server is being used ONLY for Interchange 4.6.5 and one store. Or, if you want to ship your server to me I'll rent you co-location space in a space just outside of Washington, DC on a T-1. As long as you don't hog the T-1, the monthly co-location rate is $125. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 03, 2001 at 18:30 PM: ... "I'll be Bach." - Johann Sebastian Schwarzenegger ---------------------------------------------------------------- This Linux System has been up 599 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jim Balcom) Date: Fri Aug 3 18:43:01 2001 Subject: [ic] Pressure Washer Owners On 3 Aug 2001 EnviroSpec@interchange.redhat.com wrote: >>From: EnviroSpec@interchange.redhat.com >>EnviroSpec is one of the Nation’s Largest Full Service suppliers to ANYONE >>who owns a Pressure Washer, Steam Cleaner or water reclamation and/or >>recycling system. Does anyone else besides me object to Redhat sending us commercial messages on this mailing list? Particularly for a non-computer related item? I can understand a user slipping something like this in, but this one came directly from RedHat themselves! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 03, 2001 at 18:40 PM: Microsoft gives you Windows... OS/2 gives you the whole house. ---------------------------------------------------------------- This Linux System has been up 599 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Admin Account) Date: Fri Aug 3 19:00:01 2001 Subject: [ic] PGP on Linux 6.2 >I'm still having problems.. you are right about the second file though, >however, when I try to gunzip the second (clone) file I get a file not found >error. Try gunziping the source to another directory or filename. Or if you have access to a winx machine use WinZip to extract the gz to another directory. Then upload and use the extracted .gz with gunzip < /path/too/file.tar.gz | tar xvf - From: interchange-users at lists.akopia.com (Dan Browning) Date: Fri Aug 3 19:34:01 2001 Subject: [ic] Pressure Washer Owners At 06:46 PM 8/3/2001 -0400, you wrote: >On 3 Aug 2001 EnviroSpec@interchange.redhat.com wrote: > > >>From: EnviroSpec@interchange.redhat.com > > >>EnviroSpec is one of the Nation's Largest Full Service suppliers to ANYONE > >>who owns a Pressure Washer, Steam Cleaner or water reclamation and/or > >>recycling system. > >Does anyone else besides me object to Redhat sending us commercial >messages on this mailing list? Particularly for a non-computer related >item? > >I can understand a user slipping something like this in, but this one >came directly from RedHat themselves! > >-= Jim =- A common practice by spammers is forging mail headers: From: EnviroSpec@interchange.redhat.com Reply-To: interchange-users@developer.akopia.com X-Reply-To: specials@envirospec.com But the IC mailman spoiled their plans by changing the reply-to field to the interchange address (you can see the old address). FYI, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (David Totten) Date: Fri Aug 3 19:39:00 2001 Subject: [ic] Pressure Washer Owners On Fri, Aug 03, 2001 at 06:46:34PM -0400, Jim Balcom wrote: > Does anyone else besides me object to Redhat sending us commercial > messages on this mailing list? Particularly for a non-computer related > item? > > I can understand a user slipping something like this in, but this one > came directly from RedHat themselves! Jim, Jim, Jim... :) It only looks like it came from interchange.redhat.com. If you look at the full email headers, it clearly does not. I don't know if there is an option, but I would love it if it was made so that only those who are signed up to the mail list can send to the mail list. Dave Totten -- Start random buzzword text: It should be noted that the interrelation of system and/or subsystem technologies adds overriding performance constraints to gain the full benefts of the distributed e-commerce solution. From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Fri Aug 3 22:06:01 2001 Subject: [ic] Pressure Washer Owners With mailman, it is an option. On Fri, 3 Aug 2001, David Totten wrote: > On Fri, Aug 03, 2001 at 06:46:34PM -0400, Jim Balcom wrote: > > Does anyone else besides me object to Redhat sending us commercial > > messages on this mailing list? Particularly for a non-computer related > > item? > > > > I can understand a user slipping something like this in, but this one > > came directly from RedHat themselves! > > > Jim, Jim, Jim... :) It only looks like it came from interchange.redhat.com. > If you look at the full email headers, it clearly does not. > > I don't know if there is an option, but I would love it if it was made so > that only those who are signed up to the mail list can send to the mail list. > > Dave Totten > > From: interchange-users at lists.akopia.com (Mike Heins) Date: Fri Aug 3 22:11:00 2001 Subject: [ic] Pressure Washer Owners Quoting David Totten (akopia@davetotten.com): > On Fri, Aug 03, 2001 at 06:46:34PM -0400, Jim Balcom wrote: > > Does anyone else besides me object to Redhat sending us commercial > > messages on this mailing list? Particularly for a non-computer related > > item? > > > > I can understand a user slipping something like this in, but this one > > came directly from RedHat themselves! > > > Jim, Jim, Jim... :) It only looks like it came from interchange.redhat.com. > If you look at the full email headers, it clearly does not. With sendmail, if you put "From: envirospec", it will rewrite the email message with @default.domain appended. That is all that happened. > > I don't know if there is an option, but I would love it if it was made so > that only those who are signed up to the mail list can send to the mail list. > Unfortunately, this causes more problems than it solves, at least in my experience. People with multiple email addresses have a hard time posting. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at lists.akopia.com (Jim Balcom) Date: Fri Aug 3 22:43:00 2001 Subject: [ic] Pressure Washer Owners On Fri, 3 Aug 2001, Mike Heins wrote: MH>>> I don't know if there is an option, but I would love it if it was made so MH>>> that only those who are signed up to the mail list can send to the mail list. MH>>> MH>> MH>>Unfortunately, this causes more problems than it solves, at least in my MH>>experience. People with multiple email addresses have a hard time posting. Having run a myriad of mailing lists over the years with MajorDomo that were thusly restricted, the problems were minimal and when the person realized that they didn't get a copy back, they re-submitted with a correct e-mail address and life was good. We've already got a lot of volume in here - 98% of it quite valuable. Allowing spammers to attack us only increases the volume and makes it even more difficult for us to keep up. I, for one, vote to re-configure the list so that only those that are ON the list can post TO the list! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 03, 2001 at 22:35 PM: Some people like learning Eskimo, but I can't get Inuit. ---------------------------------------------------------------- This Linux System has been up 603 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Rage-DCA) Date: Sat Aug 4 02:53:01 2001 Subject: [ic] Authorize.net This may be a different issue, but I had the same problem not to long ago. I finally found out that the errors were caused because I did not have the perl module Net::SSLeay. I had Crypt::SSLeay, but thats not what it wanted...anyway, look in the authorizenet file and see what perl modules it calls for and check to see if this is causing the issue...may not work, but hey. Jason -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Pann McCuaig Sent: Friday, August 03, 2001 2:24 PM To: interchange-users@developer.akopia.com Subject: [ic] Authorize.net I'm starting down this road. >From /usr/local/interchange-beta/lib/Vend/Payment/AuthorizeNet.pm: To enable this module, place this directive in C<interchange.cfg>: Require module Vend::Payment::AuthorizeNet This I<must> be in interchange.cfg or a file included from it. OK, so I put the line at the end of interchange.cfg, and this results: $ su -c "/usr/local/interchange-beta/bin/interchange -r" interch Killing Interchange server 3763 with TERM. Low traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange-beta/bin/interchange line 2715 Calling UI......UI is loaded... Required Perl module Vend::Payment::AuthorizeNet not present. Aborting catalog. In line 7 of the configuration file 'interchange.cfg': Require module Vend::Payment::AuthorizeNet What am I missing (and where should I be looking)? Thanks, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ _______________________________________________ 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: Sat Aug 4 02:58:01 2001 Subject: [ic] Interchange chatroom Is there any chatroom for interchange users? sometimes we need to get help and share experience in real-time right? From: interchange-users at lists.akopia.com (Dan Browning) Date: Sat Aug 4 03:32:01 2001 Subject: [ic] Interchange chatroom At 11:55 PM 8/3/2001 -0700, you wrote: >Is there any chatroom for interchange users? sometimes we need to get help >and share experience in real-time right? You bet, I keep forgetting about it though. (A digital secretary to help my memory is my next programming project ;-) ). From http://interchange.redhat.com/cgi-bin/ic/index #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. (If you don't have IRC, check out the Interchange chat link at the left.) (http://www.vensnews.com/interchange/) I recommend xchat. Tenga una buena noche, Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com From: interchange-users at lists.akopia.com (Pann McCuaig) Date: Sat Aug 4 06:45:01 2001 Subject: [ic] Authorize.net Bingo! Thanks much. =head1 PREREQUISITES Net::SSLeay or LWP::UserAgent and Crypt::SSLeay Only one of these need be present and working. I had LWP::UserAgent but neither of the ::SSLeay modules. I installed Net::SSLeay because it was packaged for my distribution, and then ic loaded the Authorizenet module happily. Now to get it working. ;-> On Sat, Aug 04, 2001 at 01:53, Rage-DCA wrote: > This may be a different issue, but I had the same problem not to long ago. I > finally found out that the errors were caused because I did not have the > perl module Net::SSLeay. I had Crypt::SSLeay, but thats not what it > wanted...anyway, look in the authorizenet file and see what perl modules it > calls for and check to see if this is causing the issue...may not work, but > hey. > > Jason > > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Pann > McCuaig > Sent: Friday, August 03, 2001 2:24 PM > To: interchange-users@developer.akopia.com > Subject: [ic] Authorize.net > > > I'm starting down this road. > > >From /usr/local/interchange-beta/lib/Vend/Payment/AuthorizeNet.pm: > > To enable this module, place this directive in C<interchange.cfg>: > > Require module Vend::Payment::AuthorizeNet > > This I<must> be in interchange.cfg or a file included from it. > > OK, so I put the line at the end of interchange.cfg, and this results: > > $ su -c "/usr/local/interchange-beta/bin/interchange -r" interch > Killing Interchange server 3763 with TERM. > Low traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS at > /usr/local/interchange-beta/bin/interchange line 2715 > Calling UI......UI is loaded... > Required Perl module Vend::Payment::AuthorizeNet not present. Aborting > catalog. > In line 7 of the configuration file 'interchange.cfg': > Require module Vend::Payment::AuthorizeNet > > What am I missing (and where should I be looking)? Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at lists.akopia.com (Leon Harris) Date: Sat Aug 4 08:02:01 2001 Subject: [ic] Interchange chatroom Also, the people at irc.cursor.uk.net #interchange are quite helpful. undee@computerscience99.org wrote: > Is there any chatroom for interchange users? sometimes we need to get help and share experience in real-time right? > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Florian Schuler) Date: Sat Aug 4 08:21:02 2001 Subject: [ic] Pricing Hello list, i just want to know wether my pricing.dbm is ok. my pricing.asc is: sku CD LP 1 14.95 20.95 . . my pricing.dbm: Database pricing pricing.asc TAB Database pricing KEY sku Database pricing NUMERIC CD Database pricing NUMERIC LP Is this ok ? Thanks Florian Schuler From: interchange-users at lists.akopia.com (Robert Trembath) Date: Sat Aug 4 08:34:01 2001 Subject: [ic] Fix Shipping charge That's why. It your shipping is configured by weight like all the UPS, FedEx modules then weight is required to assess a fee. ----- Original Message ----- From: "Admin Account" <admin@triparish.net> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 12:48 PM Subject: RE: [ic] Fix Shipping charge > >I ALWAYS have shipping-cost displayed to 0,00. > I had this problem with only 1 item that did not have > a value for its weight > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > > From: interchange-users at lists.akopia.com (Gregg Fabbri) Date: Sat Aug 4 08:52:00 2001 Subject: [ic] Cannot See tables in Admin UI I have no idea what I did but I cannot see the tables in the Admin UI. It used to work but I must have messed something up. All the information is still in the database so the site works. This is waht I get when I click on the tables link. I cannot export or import tables either. -------------------------- Database tables -------------------------- Hidden admin tables: Any insight would be appreciated. -Gregg _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Gregg Fabbri) Date: Sat Aug 4 09:01:00 2001 Subject: [ic] Cannot See tables in Admin UI I am sorry, I forgot to mention I am using 4.7.5. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Gregg Fabbri Sent: Saturday, August 04, 2001 8:55 AM To: interchange-users@developer.akopia.com Subject: [ic] Cannot See tables in Admin UI I have no idea what I did but I cannot see the tables in the Admin UI. It used to work but I must have messed something up. All the information is still in the database so the site works. This is waht I get when I click on the tables link. I cannot export or import tables either. -------------------------- Database tables -------------------------- Hidden admin tables: Any insight would be appreciated. -Gregg _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Garry) Date: Sat Aug 4 09:41:00 2001 Subject: [ic] Pressure Washer Owners And I don't want a pressure washer, anyway. Garry ----- Original Message ----- From: "Jim Balcom" <jim@idk-enterprises.com> To: <interchange-users@developer.akopia.com> Sent: Saturday, August 04, 2001 3:46 AM Subject: Re: [ic] Pressure Washer Owners > On Fri, 3 Aug 2001, Mike Heins wrote: > > MH>>> I don't know if there is an option, but I would love it if it was made so > MH>>> that only those who are signed up to the mail list can send to the mail list. > MH>>> > MH>> > MH>>Unfortunately, this causes more problems than it solves, at least in my > MH>>experience. People with multiple email addresses have a hard time posting. > > Having run a myriad of mailing lists over the years with MajorDomo that > were thusly restricted, the problems were minimal and when the person > realized that they didn't get a copy back, they re-submitted with a > correct e-mail address and life was good. > > We've already got a lot of volume in here - 98% of it quite valuable. > Allowing spammers to attack us only increases the volume and makes it > even more difficult for us to keep up. > > I, for one, vote to re-configure the list so that only those that are > ON the list can post TO the list! > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Friday, August 03, 2001 at 22:35 PM: > Some people like learning Eskimo, but I can't get Inuit. > > ---------------------------------------------------------------- > This Linux System has been up 603 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Gregg Fabbri) Date: Sat Aug 4 09:48:01 2001 Subject: [ic] Cannot See tables in Admin UI Never mind. I was able to resolve it. I deleted my access.gdbm to go back to the default and reset up my account as super user. One thing I did notice was that although I was set up as super user I still had to go in and check off every table in the permissions page. Again, I am using 4.7.5 -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Gregg Fabbri Sent: Saturday, August 04, 2001 9:04 AM To: interchange-users@developer.akopia.com Subject: RE: [ic] Cannot See tables in Admin UI I am sorry, I forgot to mention I am using 4.7.5. -----Original Message----- From: interchange-users-admin@developer.akopia.com [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Gregg Fabbri Sent: Saturday, August 04, 2001 8:55 AM To: interchange-users@developer.akopia.com Subject: [ic] Cannot See tables in Admin UI I have no idea what I did but I cannot see the tables in the Admin UI. It used to work but I must have messed something up. All the information is still in the database so the site works. This is waht I get when I click on the tables link. I cannot export or import tables either. -------------------------- Database tables -------------------------- Hidden admin tables: Any insight would be appreciated. -Gregg _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Garry) Date: Sat Aug 4 14:12:01 2001 Subject: [ic] PGP on Linux 6.2 Great !! - your suggestion worked - but... I ain't quite got it working from IC's end - the problem may be me and the config.cfg, but, when I try to look at the error.log - I get an "access denied" message. Has anyone else had issues trying to get email encryption working and trying to view the error .log to see why it's not working? cheers Garry ----- Original Message ----- From: "Admin Account" <admin@triparish.net> To: <interchange-users@developer.akopia.com> Sent: Friday, August 03, 2001 11:51 PM Subject: RE: [ic] PGP on Linux 6.2 > >I'm still having problems.. you are right about the second file though, > >however, when I try to gunzip the second (clone) file I get a file not > found > >error. > > Try gunziping the source to another directory or filename. Or if you have > access to a winx machine use WinZip to extract the gz to another directory. > Then upload and use the extracted .gz with gunzip < /path/too/file.tar.gz | > tar xvf - > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Bradley Caricofe) Date: Sat Aug 4 16:25:00 2001 Subject: [ic] Creating a simple test catalog... Hello Mike, Everyone, I recently installed Interchange 4.6.5 on a Cobalt RaQ 3 with no problems. I made sure to install the Bundle first and the creation of my first catalog was a success. When I tried to create additional catalogs under different domains, all appears to go fine, until I try to access the admin backend. There, all the graphics links are broken. In my first catalog build, I noticed Interchange created an 'Akopia' directory in my document root with all the UI graphics. Why isn't it doing the same when I create new catalogs? thanks, Bradley Caricofe __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at lists.akopia.com (Admin Account) Date: Sat Aug 4 23:29:01 2001 Subject: [ic] PGP on Linux 6.2 >I ain't quite got it working from IC's end - the problem may be me and the >config.cfg, but, when I try to look at the error.log - I get an "access >denied" message. Has anyone else had issues trying to get email encryption >working and trying to view the error .log to see why it's not working? Been away for awhile needed some R&R Anyway it sounds like u got a rights issue if you can't look at the error.log My error.log is rw rw with the account I log in as the owner. Also did you go into the directory that runs interchange and create the keys. I think pgp -kg will generate. pgp -h for help and after this test by encrypting a text file. If this works you can then mess with catalog.cfg. I use: CreditCardAuto Yes EncryptProgram /bin/pgp -feat username username should be the username that u used to generate the keys Hope this helps From: interchange-users at lists.akopia.com (Garry) Date: Sun Aug 5 13:29:01 2001 Subject: [ic] PGP on Linux 6.2 Hi, I think PGP is working fine, it encrypted a .txt file - no probs ( the fact that I can't decrypt it yet on a windows machine that will be receiving the emails - is another problem for later on). I noticed 2 instances of credit card auto: #creditcardauto yes and further down the config.cfg: creditcardauto no which should I be amending? also, on the route main section - should I be changing encrypt from 0 to 1, also, I see a pgp_cc_key and a pgp_key line which at the moment is "", do these need altering? Many thanks Garry ----- Original Message ----- From: "Admin Account" <admin@triparish.net> To: <interchange-users@developer.akopia.com> Sent: Sunday, August 05, 2001 4:20 AM Subject: RE: [ic] PGP on Linux 6.2 > >I ain't quite got it working from IC's end - the problem may be me and the > >config.cfg, but, when I try to look at the error.log - I get an "access > >denied" message. Has anyone else had issues trying to get email > encryption > >working and trying to view the error .log to see why it's not working? > > Been away for awhile needed some R&R > Anyway it sounds like u got a rights issue if you can't look at the > error.log > My error.log is rw rw with the account I log in as the owner. > > Also did you go into the directory that runs interchange and create the > keys. > I think pgp -kg will generate. pgp -h for help and after this test by > encrypting > a text file. If this works you can then mess with catalog.cfg. > > I use: > CreditCardAuto Yes > > EncryptProgram /bin/pgp -feat username > > username should be the username that u used to generate the keys > > Hope this helps > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Michael Michaelsen) Date: Sun Aug 5 13:45:01 2001 Subject: [ic] Inventory for options Great Mike! This actually helped me with my next step also. I wanted to show a little image with the color next to the buy buttons and it was very easy after getting your code. Is there any way to include a drop down menu with the sizes? I do not want to keep track on inventory in sizes, only a few of my items comes in different sizes. This is the code I have now: <FORM ACTION="[area order]" METHOD=POST> <INPUT TYPE=hidden NAME="mv_order_item" VALUE="[item-code]"> <input type=hidden name=mv_session_id value="[data session id]"> <table width="70%" border="0" cellspacing="0" cellpadding="5"> <tr valign="middle"> <td align=center class="contentbar1"> <big>[item-field category] : <b>[item-description]</b></big> </td> </tr> <tr valign="middle"> <td align=center> <table cellspacing=0 cellpadding=3 align=center> <tr> <td valign="center" align="left"> [if-item-field image] <IMG SRC="items/[item-field image]" ALT="[item-filter entities][item-description][/item-filter]" title="[item-filter entities][item-description][/item-filter]" BORDER=0> [/if-item-field] </td> <td valign="center" align="center"> <table width="100%" border="0" cellpadding="3" cellspacing="0"> <tr> <td colspan="2"> [item-field comment] </td> </tr> [if file products/specs.txt] [loop search=" fi=specs.txt st=text sf=sku se=[item-code] op=eq co=yes rf=header,detail "][on-match] <tr> <td style="contentbar1" colspan=2><img src="bg.gif" alt="" height=3> </tr> [/on-match] [list]<tr> <td style="contentbar1"> <B>[loop-param header]:</b> </td> <td> [loop-param detail] </td> </tr> [/list] [on-match] <tr> <td style="contentbar1" colspan=2><img src="bg.gif" alt="" height=3> </tr> [/on-match] [/loop] [/if] <tr> <td colspan="2">&nbsp;</td> </tr> [if-item-data options o_modular] <tr> <td colspan="2"> [if ordered [item-code]] This item is currently in your [page ord/basket]shopping cart</a>. <br> [/if] [if-item-data options o_modular] [set arg][item-code][/set] [include templates/components/modular_buy] [/if-item-data] </td> </tr> [/if-item-data] <tr> [if-item-data options o_matrix] [query list=1 sql=" SELECT code FROM options WHERE sku = '[item-code]' AND o_matrix = 1 "] <tr>Size: [item_accessories size] <td align="center"><img border="0" src="http://www.mydomain.com/shop/images/[sql-data options description].gif" alt="[sql-data options description]"> </td> <td>[if-sql-data inventory quantity > 0] [page href=order form=" mv_order_item=[item-code] mv_sku=[sql-code] "]<img border="0" src="http://www.mydomain.com/shop/images/foundation/buynow.gif" alt="Buy it Now!"></A> [else] OUT OF STOCK <br> <a href="[area stock-alert [item-code]]">In-Stock Notification</a> [/else] [/if-sql-data] </td> </tr> [/query] [/if-item-data] </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td class="contentbar1"> <table width="100%"> <tr> <td align="center"> Item#: [item-code] - Price: <b>[item-price]<b> </td> </tr> </table> </td> </tr> </table> </form> Regards Mike Quoting MITECH Trading (michaelsen@spacey.net): > SKU# 00007 comes in red and blue. I have made matrix options for that and > get > 00007red and 00007blue with each their quantities on hand. > When one of the colors is out of stock, there is no out of stock notice > comming up. > The out of stock notice is controlled by 00007, and in this case the 00007 > inventory never change. Only 00007red and 00007blue change when items is > purchased. > > Are there any way to get a out of stock notice when one of the colors is out > of stock? > Sure, but it isn't in the standard flypage. Try this: [if-item-data options o_matrix] [query list=1 sql=" SELECT code FROM options WHERE sku = '[item-code]' AND o_matrix = 1 "] <tr> <td>[sql-data options description]</td> <td>-- [if-sql-data inventory quantity > 0] [page href=order form=" mv_order_item=[item-code] mv_sku=[sql-code] "]ORDER NOW</A> [else] OUT OF STOCK [/else] [/if-sql-data] </td> </tr> [/query] [/if-item-data] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Admin Account) Date: Sun Aug 5 15:01:01 2001 Subject: [ic] PGP on Linux 6.2 >which should I be amending? I uncommented the 1st instance I think the 2nd is contained in an if than >also, on the route main section - should I be changing encrypt from 0 to >1, also, I see a pgp_cc_key and a pgp_key line which at the moment is "", >do these need altering? I did not change anything else. The orders have the credit card encrypted fine for me with just the entries in my previous post. From: interchange-users at lists.akopia.com (RobertTrembath) Date: Sun Aug 5 15:07:00 2001 Subject: [ic] Creating a simple test catalog... Create an alias in your apache config for each virtual server to the interchange directory in your html root and all the images will appear fine: Example -------- /interchange/ --> /var/www/html/interchange/ Hope this helps. Robert -----Original Message----- From: Bradley Caricofe [mailto:bcaricofe@yahoo.com] Sent: Saturday, August 04, 2001 3:25 PM To: interchange-users@developer.akopia.com Subject: [ic] Creating a simple test catalog... Hello Mike, Everyone, I recently installed Interchange 4.6.5 on a Cobalt RaQ 3 with no problems. I made sure to install the Bundle first and the creation of my first catalog was a success. When I tried to create additional catalogs under different domains, all appears to go fine, until I try to access the admin backend. There, all the graphics links are broken. In my first catalog build, I noticed Interchange created an 'Akopia' directory in my document root with all the UI graphics. Why isn't it doing the same when I create new catalogs? thanks, Bradley Caricofe __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.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 (Jim Balcom) Date: Sun Aug 5 18:51:01 2001 Subject: [ic] "Others Who..." In the Construct Demo when I try to run the "Generate Others Who..", I get the following in the error.log: hub1.idk-enterprises.com ahBco55k:idk-enterprises.com - [05/August/2001:18:44:11 -0400] diaperstore /cgi-bin/diaperstore/admin/build_related.html Attempt to set merchandising::others_bought::TR-M in read-only table hub1.idk-enterprises.com ahBco55k:idk-enterprises.com - [05/August/2001:18:44:11 -0400] diaperstore /cgi-bin/diaperstore/admin/build_related.html Attempt to set merchandising::times_ordered::TR-M in read-only table I have set the merchandising.txt at 666, and I have set all of the directories all of the way back to root at 666, and I still get the error. Any help would be appreciated! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, August 05, 2001 at 18:50 PM: When I tried to take an ego trip I got stopped at the border ---------------------------------------------------------------- This Linux System has been up 648 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Jason Kincs) Date: Sun Aug 5 20:54:00 2001 Subject: [ic] How to change default left menu item font color WHITE to BLACK? Can anyone help me on this I can't figure out where to change the default left menu item font color from WHITE to BLACK Help will be appreciated thanks _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at lists.akopia.com (Michael Michaelsen) Date: Sun Aug 5 21:10:00 2001 Subject: [ic] How to change default left menu item font color WHITE to BLACK? Should be in templates/*/theme.cfg Best regards Michael Michaelsen www.mitechtrading.com ---------- Original Message ---------------------------------- From: "Jason Kincs" <jasonkincs@hotmail.com> Reply-To: interchange-users@developer.akopia.com Date: Mon, 06 Aug 2001 00:53:58 +0000 >Can anyone help me on this >I can't figure out where to change the default left menu item font color >from WHITE to BLACK > >Help will be appreciated thanks > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >interchange-users mailing list >interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Mangeng Michael) Date: Mon Aug 6 04:19:01 2001 Subject: [ic] Credit card error msg Hi When i click on "Place Order" at checkout.html I get the following error message: Credit Card Information: Can't figure out credit card expiration. I'm using in config.cfg: (all lines where 'credit' appears and related) ####### # Don't want people setting their credit limit or dealer status directly UserDB default scratch "dealer price_level credit_limit" CreditCardAuto Yes EncryptProgram /usr/bin/pgp -feat -r ichange@vis.at 'Route main <<EOF attach 0 credit_card 1' .... my %var_exclude = ( qw/ mv_credit_card_number 1 ... ####### I don´t know why this error message appears... thanx mike From: interchange-users at lists.akopia.com (Michael Mangeng) Date: Mon Aug 6 05:23:00 2001 Subject: [ic] Credit card error msg a short append... the error log means: ##### 192.168.100.1 39pCQMgI:192.168.100.1 - [06/August/2001:11:02:35 +0200] shop2 /cgi-bin/shop2/process.html PGP failed with status 327680: ###### status 327680... hmmmmm ;-) thanx mike ----- Original Message ----- From: "Mangeng Michael" <m1k3@vis.at> To: <interchange-users@developer.akopia.com> Sent: Monday, August 06, 2001 9:52 AM Subject: [ic] Credit card error msg > Hi > > When i click on "Place Order" at checkout.html I get the following error > message: > > Credit Card Information: Can't figure out credit card expiration. > > I'm using in config.cfg: (all lines where 'credit' appears and related) > > ####### > > # Don't want people setting their credit limit or dealer status directly > UserDB default scratch "dealer price_level credit_limit" > > CreditCardAuto Yes > EncryptProgram /usr/bin/pgp -feat -r ichange@vis.at > > 'Route main <<EOF > attach 0 > credit_card 1' > .... > > my %var_exclude = ( qw/ > mv_credit_card_number 1 > ... > > ####### > > I don´t know why this error message appears... > > thanx > mike > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Gavin Harper) Date: Mon Aug 6 06:08:02 2001 Subject: [ic] SalesTax multi When using "SalesTax multi" in catalog.cfg the tax data is entered as: default = 10%, food = 0 The default works fine, but does anyone know where the other tax categories (in this case "food") are set? I presumed that it used the categories in the products table but this does not appear to be the case. Any help would be much appreciated. Gavin From: interchange-users at lists.akopia.com (Pann McCuaig) Date: Mon Aug 6 08:21:01 2001 Subject: [ic] authorize.net, 4.7.7, construct FWIW, here is how I got authorize.net support functional. Gleaning the information needed to make this happen was a combination of paying attention on this list, reading the source of .../lib/Vend/Payment/Authorizenet.pm, and creative use of grep. ;-> I'm using interchange 4.7.7 with a catalog based on the construct demo that shipped with 4.6.5. 1) In order to see any errors that come back from secure.authorize.net, I added the following line in .../pages/ord/checkout.html: [data session cybercash_error] I put it right above this line: [if type=explicit compare="[error all=1 show_var=1 keep=1]"] checkout.html is otherwise unmodified from the construct demo version. 2) To get the variables in ../lib/Vend/Payment/Authorizenet.pm and .../products/mv_metadata.asc lined up it's necessary to make the following changes to Authorizenet.pm: replace x_Address => $actual->{b_address}, with x_Address => $actual->{b_address1}, and x_Zip => $actual->{zip}, with x_Zip => $actual->{b_zip}, 2a) Isn't it evil to require congruence between variables used in a module global to interchange and those local to a catalog? At least without providing a mapping method? Or have I overlooked some essential documentation? 3) To make secure.authorize.net stop whining about missing variables it's necessary to add the following to Authorizenet.pm: x_Country => $actual->{b_country}, x_Email => $actual->{email}, 4) To assuage my paranoia about putting passwords in text files on servers connected to the Internet (since my account at authrorize.net, at least, doesn't require a password to process a charge), comment out lines in Authorizenet.pm as follows: ### x_Password => $secret, ### $secret = $opt->{secret} || undef; ### $secret = $opt->{secret} || undef; (yup, the line is duplicated in the original file, shrug) ### $secret = $opt->{secret} if ! $secret; ### if(! $secret) { ### $secret = charge_param('secret') ### or return ( ### MStatus => 'failure-hard ', ### MErrMsg => errmsg('No account id'), ### ); ### } 5) Add the following line at the end of interchange.cfg: Require module Vend::Payment::AuthorizeNet Note that either Net::SSLeay or both of LWP::UserAgent and Crypt::SSLeay must be installed for the AuthorizeNet module to load successfully. 6) Add these lines to catalog.cfg: Variable MV_PAYMENT_MODE authorizenet Variable MV_PAYMENT_ID <your authorize.net user id> Variable MV_PAYMENT_REFERER <your authorize.net referrer URL> Variable MV_PAYMENT_TEST TRUE CreditCardAuto No At this point, restart interchange and give it a go. This works for me (in TEST MODE only, so far; my authorize.net account is live and the interchange store isn't). YMMV, of course. Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at lists.akopia.com (Mike Heins) Date: Mon Aug 6 09:21:01 2001 Subject: [ic] SalesTax multi Quoting Gavin Harper (gavin@steelblue.co.uk): > When using "SalesTax multi" in catalog.cfg the tax data is entered as: > > default = 10%, food = 0 > > The default works fine, but does anyone know where the other tax categories > (in this case "food") are set? > I presumed that it used the categories in the products table but this does > not appear to be the case. > Any help would be much appreciated. The field is "tax_category" by default, but you can set that with Variable MV_TAX_CATEGORY_FIELD. Most tax mapping schemes won't match your product mapping, or at least so I am told. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at lists.akopia.com (Bill) Date: Mon Aug 6 09:37:01 2001 Subject: [ic] OS X Install Hi All Have just about got everything ready to run on my OS X except I am having a problem with the pathing for the cgi.bin I have the directory set to CGI-Executables but where should I point the next step in th einstallation to ? ( cgi programs?) I have tried a few options but I cant get the pages tp appear and it all appears to be centered around the URL from th elinks of http://localhost/foundation/foundation.cgi/index.html for instance - The server cant find what to do with foundation.cgi any help please? Bill -- www.e-townsville.com - your portal to the fastest growing region in Australia online.e-townsville.com - THE place to find businesses on the Web in North Queensland. And now available: www.northqueensland.net - a domain to let the world know where you are. From: interchange-users at lists.akopia.com (Mike Heins) Date: Mon Aug 6 10:59:01 2001 Subject: [ic] authorize.net, 4.7.7, construct Quoting Pann McCuaig (pann@ourmanpann.com): > FWIW, here is how I got authorize.net support functional. Gleaning the > information needed to make this happen was a combination of paying > attention on this list, reading the source of > .../lib/Vend/Payment/Authorizenet.pm, and creative use of grep. ;-> > > I'm using interchange 4.7.7 with a catalog based on the construct demo > that shipped with 4.6.5. > > 1) In order to see any errors that come back from secure.authorize.net, > I added the following line in .../pages/ord/checkout.html: > > [data session cybercash_error] > > I put it right above this line: > > [if type=explicit compare="[error all=1 show_var=1 keep=1]"] > > checkout.html is otherwise unmodified from the construct demo version. This should be in the foundation demo already. > > 2) To get the variables in ../lib/Vend/Payment/Authorizenet.pm and > .../products/mv_metadata.asc lined up it's necessary to make the > following changes to Authorizenet.pm: > > replace > x_Address => $actual->{b_address}, > with > x_Address => $actual->{b_address1}, That shouldn't be necessary -- b_address is supposed to be automatically composed of b_address1 (and b_address2 if present). I verified that this is the case when using AuthorizeNet. > and > x_Zip => $actual->{zip}, > with > x_Zip => $actual->{b_zip}, This is correct and was an error. I have made the change, thank you. > > 2a) Isn't it evil to require congruence between variables used in a > module global to interchange and those local to a catalog? At least > without providing a mapping method? Or have I overlooked some > essential documentation? There is a mapping method, and it should/used-to-be documented. But if you were using "grep" and didn't find it, I will check on that. The method is: Variable MV_PAYMENT_REMAP <<EOF new_var existing_var EOF You can also use the "remap" key in the route if you are using the Route method of configuration. In any case, it should not be needed when the above changes are made. Again, I believe you don't need/want to make the b_address <= b_address1 change. > > 3) To make secure.authorize.net stop whining about missing variables > it's necessary to add the following to Authorizenet.pm: > > x_Country => $actual->{b_country}, > x_Email => $actual->{email}, Thank you -- I was not aware they used those. The module came from the authorizenet GlobalSub which was in use by quite a few people, and that never contained those. > > 4) To assuage my paranoia about putting passwords in text files > on servers connected to the Internet (since my account at > authrorize.net, at least, doesn't require a password to process a > charge), comment out lines in Authorizenet.pm as follows: > > ### x_Password => $secret, > ### $secret = $opt->{secret} || undef; > ### $secret = $opt->{secret} || undef; > > (yup, the line is duplicated in the original file, shrug) > > ### $secret = $opt->{secret} if ! $secret; > ### if(! $secret) { > ### $secret = charge_param('secret') > ### or return ( > ### MStatus => 'failure-hard ', > ### MErrMsg => errmsg('No account id'), > ### ); > ### } I was not aware you didn't need a secret. I have changed the module to tolerate its lack. > > 5) Add the following line at the end of interchange.cfg: > > Require module Vend::Payment::AuthorizeNet > > Note that either Net::SSLeay or both of LWP::UserAgent and > Crypt::SSLeay must be installed for the AuthorizeNet module to load > successfully. > > 6) Add these lines to catalog.cfg: > > Variable MV_PAYMENT_MODE authorizenet > Variable MV_PAYMENT_ID <your authorize.net user id> > Variable MV_PAYMENT_REFERER <your authorize.net referrer URL> > Variable MV_PAYMENT_TEST TRUE > CreditCardAuto No This is all in the POD documentation for the module. "CreditCardAuto No" is the default, and CreditCardAuto is deprecated. It doesn't need to be mentioned unless it was set somewhere else in the config file. > > At this point, restart interchange and give it a go. This works for me > (in TEST MODE only, so far; my authorize.net account is live and the > interchange store isn't). YMMV, of course. Thanks very much for the feedback -- I really appreciate well-investigated criticism and help. The fixes are in CVS and will make it into 4.8.1. Best, Mike -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at lists.akopia.com (Admin Account) Date: Mon Aug 6 11:46:00 2001 Subject: [ic] Cant Edit Items from UI I am getting the following error when I try to edit items in UI. Bad SQL, query was: select DISTINCT category, category FROM products ORDER BY category Interchange 4.6.5 I have been playing w/ products.txt but copied the original products.txt back and still have the same problem. Has anybody seen this problem Many thanks From: interchange-users at lists.akopia.com (Pann McCuaig) Date: Mon Aug 6 12:10:01 2001 Subject: [ic] authorize.net, 4.7.7, construct On Mon, Aug 06, 2001 at 09:24, Mike Heins wrote: > Quoting Pann McCuaig (pann@ourmanpann.com): > > 1) In order to see any errors that come back from secure.authorize.net, > > I added the following line in .../pages/ord/checkout.html: > > > > [data session cybercash_error] > > > > I put it right above this line: > > > > [if type=explicit compare="[error all=1 show_var=1 keep=1]"] > > > > checkout.html is otherwise unmodified from the construct demo version. > > This should be in the foundation demo already. $ grep -i cyber /usr/local/interchange-beta/foundation/pages/ord/checkout.html $ Not in the copy that ships with 4.7.7. > > 2) To get the variables in ../lib/Vend/Payment/Authorizenet.pm and > > .../products/mv_metadata.asc lined up it's necessary to make the > > following changes to Authorizenet.pm: > > > > replace > > x_Address => $actual->{b_address}, > > with > > x_Address => $actual->{b_address1}, > > That shouldn't be necessary -- b_address is supposed to be automatically > composed of b_address1 (and b_address2 if present). I verified that > this is the case when using AuthorizeNet. You are correct. I believed a posting on this list and didn't test it. Now I've tested it. ;-> > > 6) Add these lines to catalog.cfg: > > > > Variable MV_PAYMENT_MODE authorizenet > > Variable MV_PAYMENT_ID <your authorize.net user id> > > Variable MV_PAYMENT_REFERER <your authorize.net referrer URL> > > Variable MV_PAYMENT_TEST TRUE > > CreditCardAuto No > > This is all in the POD documentation for the module. "CreditCardAuto No" > is the default, and CreditCardAuto is deprecated. It doesn't need to > be mentioned unless it was set somewhere else in the config file. Correct again. I commented out the CreditCardAuto line, restarted ic, and everything still works. > Thanks very much for the feedback -- I really appreciate well-investigated > criticism and help. The fixes are in CVS and will make it into 4.8.1. And thank you for letting me know it was helpful. I really appreciate the availability of this software and will try to help make it even better in my own small way. Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at lists.akopia.com (Orphon Soul, Inc.) Date: Mon Aug 6 12:31:00 2001 Subject: [ic] authorize.net I have asked this before.. but no one answered me I need to know how to connect authorize.net to my acct... so I can do real time transactions. I have web hosting through interserver.net and they have interchange 4.6 as part of my acct.... PLEASE help ASAP Angela Jones From: interchange-users at lists.akopia.com (Mike Heins) Date: Mon Aug 6 12:49:01 2001 Subject: [ic] authorize.net, 4.7.7, construct Quoting Pann McCuaig (pann@ourmanpann.com): > On Mon, Aug 06, 2001 at 09:24, Mike Heins wrote: > > Quoting Pann McCuaig (pann@ourmanpann.com): > > > 1) In order to see any errors that come back from secure.authorize.net, > > > I added the following line in .../pages/ord/checkout.html: > > > > > > [data session cybercash_error] > > > > > > I put it right above this line: > > > > > > [if type=explicit compare="[error all=1 show_var=1 keep=1]"] > > > > > > checkout.html is otherwise unmodified from the construct demo version. > > > > This should be in the foundation demo already. > > $ grep -i cyber /usr/local/interchange-beta/foundation/pages/ord/checkout.html > $ > > Not in the copy that ships with 4.7.7. cyber is no longer used as a part of the standard variables and errors and references but is still tolerated. It should show up in the error for mv_credit_card_valid.... and if you want to put it elsewhere you should use [data session payment_error] to be safe (though we will tolerate "cybercash_error" for the foreseeable future). [snip] > > Thanks very much for the feedback -- I really appreciate well-investigated > > criticism and help. The fixes are in CVS and will make it into 4.8.1. > > And thank you for letting me know it was helpful. I really appreciate > the availability of this software and will try to help make it even > better in my own small way. You have made a difference already! -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at lists.akopia.com (Mark Johnson) Date: Mon Aug 6 14:43:00 2001 Subject: [ic] Cant Edit Items from UI Admin Account wrote: > > I am getting the following error when I > try to edit items in UI. > > Bad SQL, query was: select DISTINCT category, category FROM products ORDER > BY category Some databases will not tolerate the column repetition, and it may be that SQL::Statement also gets confused with column repetition. I am pretty sure Mike addressed this and patched it. However, it may not have been done as of the date of your install. -- 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 (Chad Wittrock) Date: Mon Aug 6 16:00:01 2001 Subject: [ic] Font color and style How do I change the font and font color of messages already typed in the construction demo? For example I want to change the color of "Welcome" on the index.html page. I cannot find the actual code that prints this out. I have come across a variable name FFACE in my searching. Is this it? If so, where do I find where it is defined? I looked in catalog.cfg and didn't find it. Any help is appreciated. Chad ============================================================================ Chad M. Wittrock IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 IIIII IIIII IIIII University of Northern Iowa IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 IIIII IIIII IIIIII Phone: (319) 273-7437 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at lists.akopia.com (Pann McCuaig) Date: Mon Aug 6 16:56:01 2001 Subject: [ic] Font color and style On Mon, Aug 06, 2001 at 14:59, Chad Wittrock wrote: > How do I change the font and font color of messages already typed in the > construction demo? For example I want to change the color of "Welcome" on > the index.html page. I cannot find the actual code that prints this out. I > have come across a variable name FFACE in my searching. Is this it? If so, > where do I find where it is defined? I looked in catalog.cfg and didn't find > it. > > Any help is appreciated. $ grep -lr "Welcome to" catalogs/construct/* (output trimmed) catalogs/construct/pages/splash.html catalogs/construct/templates/regions/LEFTONLY_TOP catalogs/construct/templates/regions/LEFTRIGHT_TOP catalogs/construct/templates/regions/NOLEFT_TOP catalogs/construct/templates/regions/SEL_ALL_TOP catalogs/construct/templates/regions/SEL_LEFT_TOP Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at lists.akopia.com (Vaughn Skinner) Date: Mon Aug 6 18:11:01 2001 Subject: [ic] payment systems I recently setup an interchange site. Everything is working fine. Now it is time to add online cc payments. I talked with verisign about cybercash and they do not sell that service anymore. What verisign service does Interchange support? Are there better services than verisign? Thank you...... vaughn -- +--------------------------------OOOOOOOOOOO----------------------------------+ | vaughn skinner vaughn@bluemtnet.com ICQ: 59193780 | | | | Internet Consulting, Don't ever take a fence down until you know | | Custom Programming, and why it was put up. | | Unix Server Administration -- G.K. Chesterton | +-----------------------------------OOOOO-------------------------------------+ From: interchange-users at lists.akopia.com (Gabriel Velasquez) Date: Mon Aug 6 18:51:00 2001 Subject: [ic] payment systems Vaughn, I use the OpenECHO services at http://www.openecho.com. The gateway service is free and you can download scripts and classes for Windoze, Java, and PHP. Hope this helps... -Gabriel Velasquez TerraLinx, Inc. Voice, Data, Internet, & Cellular Services Tel: (520)281-5809 Fax: (520)281-7152 Home Page: http://www.terralinx.net Full/Part Time Agent Opportunites > I recently setup an interchange site. Everything is working fine. Now it is time to add online cc payments. I talked with verisign about cybercash and they do not sell that service anymore. What verisign service does Interchange support? Are there better services than verisign? Thank you...... vaughn < From: interchange-users at lists.akopia.com (FMU) Date: Mon Aug 6 18:54:03 2001 Subject: [ic] Fix Shipping charge > FMU wrote: > > > I just need one fix shipping charge for every order. > > Mark Johnson wrote: > > In shipping.asc, > > FLAT Flat rate quantity 0 0 e Nothing to > ship! > FLAT Flat rate quantity 1 100 f [var > SHIP_FLAT_RATE] > FLAT Flat rate quantity 100 9999 e Contact factory > to ship that many. > > Set mv_shipmode to FLAT, and add SHIP_FLAT_RATE to variable set to the > flat rate. > > Mark Johnson My shipping.asc seemed to be OK, anyway I changed it onemore time to: FLAT Post quantity 0 0 e Nothing to ship! FLAT Post quantity 1 150 1.95 FLAT Post quantity 150 999999 2.95 default Post quantity 0 0 e Nothing to ship! default Post quantity 1 9999999 3.95 default Post quantity 150 999999 3.95 In catalog.cfg I set mv_shipmode to FLAT but nothing happened to my shipping charge -> still displaying 0,00 I thought about IC is not recognizing shipping.asc wich is in the products directory - do I have to insert some special entries in my catalog.cfg that this file is being parsed by IC?? Robert wrote I have to be logged in as a user before going to checkout - well I didn't even get the UserDB to run (thanx god I dont need it). I copied the userdb.asc file of the construct demo into my products directory - but no userdb.gdbm file has been build after restarting IC. (By the way - why do I have to kill my Interchange process before I can restart IC???) Maybe all this sounds like IC is to "high" for me - I'm running an older Minivend 3.14 Server on another machine -> No problem with shipping-charge -> No problem with UserDB and absolutely No problem restarting the Minivend-Server. Sorry for almost getting pissed off (spent almost 2 days on shipping charge without result) Frank PS: But anyway - a big piece of love and peace to all who work(ed) on Minivend (especially up to version 3.14 ;-)) From: interchange-users at lists.akopia.com (Jason Timm) Date: Mon Aug 6 19:13:00 2001 Subject: [ic] payment systems > I recently setup an interchange site. Everything is working fine. Now it is >time to add online cc payments. I talked with verisign about cybercash and >they do not sell that service anymore. What verisign service does Interchange >support? Are there better services than verisign? > >vaughn I have found Authorize.net to be a good company to work with. You will need to work through a reseller though. You can become one, or look for one (I am sure there are several on this list, myself included). The archives have instructions for setting Authorize.net up with IC. Good luck. Jason Timm Intuitive Technologies jason@itchoices.com From: interchange-users at lists.akopia.com (Korney Gozman) Date: Mon Aug 6 20:05:00 2001 Subject: [ic] User Interface Users Problems I accidentally erased all the users in the UI section of interchange. How can I fix this? -Thanks Guys, Its kinda embarrassing. -Korey From: interchange-users at lists.akopia.com (Jason Timm) Date: Mon Aug 6 20:09:01 2001 Subject: [ic] Advanced affiliate issue Hi all, We are using the affiliate functions extensively. We run a single catalog that is the core of an affiliate program with 30+ affiliates and growing quickly. Each affiliate has their own look and feel capability (and static pages) but all use the same databases (products, shipping, etc.) as well as the same common pages. Currently, each domain is mapped to the same directory on the server (main document root). So, when an affiliate goes to www.theirdomain.com, they get forwarded to their entry point within IC. But, from then on it seems like IC uses the SERVER_NAME variable to pre-pend all future URLs and paths. This means that after the first click to their site, the URL changes to http://www.mydomain.com/cgi-bin/catalog/sites/their_affiliate_id/page.html. While this still has their affiliate id in it, it no longer looks like their URL. Does anyone have any ideas on how to make IC use a value from the affiliate table instead of the SERVER_NAME variable? In other words, make the URL stay the same from beginning to end while using the same catalog? Looking forward to your thoughts... Jason Timm Intuitive Technologies jason@itchoices.com From: interchange-users at lists.akopia.com (Korney Gozman) Date: Mon Aug 6 20:22:01 2001 Subject: [ic] User Interface Users Problems Nevermind, Its All About the access.asc !! Korney Gozman wrote: > I accidentally erased all the users in the UI section of interchange. > How can I fix this? > > -Thanks Guys, Its kinda embarrassing. > > -Korey > > _______________________________________________ > 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 Aug 6 22:04:00 2001 Subject: [ic] Advanced affiliate issue Quoting Jason Timm (jason@itchoices.com): > Hi all, > > We are using the affiliate functions extensively. We run a single catalog > that is the core of an affiliate program with 30+ affiliates and growing > quickly. Each affiliate has their own look and feel capability (and static > pages) but all use the same databases (products, shipping, etc.) as well as > the same common pages. > > Currently, each domain is mapped to the same directory on the server (main > document root). So, when an affiliate goes to www.theirdomain.com, they get > forwarded to their entry point within IC. But, from then on it seems like > IC uses the SERVER_NAME variable to pre-pend all future URLs and paths. > This means that after the first click to their site, the URL changes to > http://www.mydomain.com/cgi-bin/catalog/sites/their_affiliate_id/page.html. > While this still has their affiliate id in it, it no longer looks like their > URL. > Does anyone have any ideas on how to make IC use a value from the > affiliate table instead of the SERVER_NAME variable? In other words, make > the URL stay the same from beginning to end while using the same catalog? Well, you can just set VendURL to be /cgi-bin/catalog without the http://whatever stuff. That works -- I can't remember whether you get a warning or not. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: interchange-users at lists.akopia.com (Admin Account) Date: Mon Aug 6 22:07:01 2001 Subject: [ic] Cant Edit Items from UI >Some databases will not tolerate the column repetition, and it may be >that SQL::Statement also gets confused with column repetition. I am >pretty sure Mike addressed this and patched it. However, it may not have >been done as of the date of your install. Could I have awaken this problem by adding fields? I have been thinking of upgrading to 4.7.7 but I'm scared. I see a lot of posts from people who have problems. Can I upgrade fairly easily and keep my construct based catalog? Thanks From: interchange-users at lists.akopia.com (interchange-users at lists.akopia.com) Date: Mon Aug 6 23:04:01 2001 Subject: [ic] Advanced affiliate issue On Mon, Aug 06, 2001 at 10:02:53PM -0400, Mike Heins wrote: > Quoting Jason Timm (jason@itchoices.com): > > Hi all, > > > > We are using the affiliate functions extensively. We run a single catalog > > that is the core of an affiliate program with 30+ affiliates and growing > > quickly. Each affiliate has their own look and feel capability (and static > > pages) but all use the same databases (products, shipping, etc.) as well as > > the same common pages. > > > > Currently, each domain is mapped to the same directory on the server (main > > document root). So, when an affiliate goes to www.theirdomain.com, they get > > forwarded to their entry point within IC. But, from then on it seems like > > IC uses the SERVER_NAME variable to pre-pend all future URLs and paths. > > This means that after the first click to their site, the URL changes to > > http://www.mydomain.com/cgi-bin/catalog/sites/their_affiliate_id/page.html. > > While this still has their affiliate id in it, it no longer looks like their > > URL. > > > Does anyone have any ideas on how to make IC use a value from the > > affiliate table instead of the SERVER_NAME variable? In other words, make > > the URL stay the same from beginning to end while using the same catalog? > > Well, you can just set VendURL to be /cgi-bin/catalog without the > http://whatever stuff. That works -- I can't remember whether you get > a warning or not. I'm thinking you are in a messy place. If SERVER_NAME changes you will be switching sessions (which affiliates don't like). Why, **if they have their own static pages**, are they not just their own catalogs? Or are those static pages outside IC? We used to do something like that with symlinks; just a makefile to build another catalog. Basically cp -aR | sed How do you handle cookies and SSL? My $.02 is that you will be better off letting the URL change but keeping the look and feel for each affiliate constant. People are used to the url changing, eg stores.yahoo.com. You could use something generic like that too. cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at lists.akopia.com (Frederic Steinfels) Date: Tue Aug 7 03:35:01 2001 Subject: [ic] Modular Options completely messed up? I posted a bug report #283. A fix for this bug was postponed; unfortunately. And it seems that there are much more bugs in there. If somebody could verify this, I would appreciate it. I am using interchange 4.7.7 with the foundation computer catalog. I found the following bugs: - when searching/listing for products, ic gives you a first price. Unfortunately this price does not contain any default options having an additional price. For example if you sell a computer set that includes a scanner that costs $79 extra and you said this is included by default, ic will not include that price. - Price differences are always given in dollars and not the selected currency. With simple options, currency conversion does work but not with modular. - As soon as you change the configuration of your product (add options that are changing the price), the price tag at the top is falling back to US $ even if another currency is selected. Wheter the price is accurate, I do not know. - When I am accepting the selected set of features, I get to the cart. There things are even worse: It seems ic is taking twice the base price for the product price (selected options do not seem to make a difference) and three times the base price for the subtotal. But: I think this is no rule. For the Athlon offered at $499.95 I will get the price $1575.80 in the cart (subtotal seems to be "ok" here, also $1575.80) even when not touching any options. Product options and after all modular options seem to be very complex. I would like it if there was a step by step instructions to add samples using the ui. What I want to do (I could not figure out till now, maybe someone can help me): I have product price ComputerSetA $500 (no ram included) ComputerSetB $1000 (no ram included) 128MBRam $50 If somebody wants to buy either ComputerSetA or ComputerSetB, ic should display the 128MBRam option selected BY DEFAULT. Therefore whenever the price for ComputerSetA is displayed before the user had a chance to select wheter he wanted the ram or not, the shown price should be $550 or $1050. The ram and it's price should be stored in the product database (is that possible?). I want to be able to change the prices of all my computer sets in one go. You know, ram prices can change every day... I think that is what most people want (getting interchange to calculate proper set prices from the products database). If somebody could help me here, I would appreciate that very much. Regards Frederic From: interchange-users at lists.akopia.com (JT Justman) Date: Tue Aug 7 04:28:01 2001 Subject: [ic] Trouble in creating a new template / region Hi! I've been trying to study Interchange for a while, and finally gave up trying to run it on my own server in favor of someone else's server. But I've got a problem. I've been playing with this for the last couple days, and looking at the archives, and havn't come up with anything... archives had some answers, but they didn't do it. I'm running 4.6.5. I'm trying to make a new template based on the default 'construct' one. I copy templates/leftright to templates/sitemain, and change ui_template_layout: to SITE_TOP, UI_CONTENT, SITE_BOTTOM Then I copy LEFTRIGHT_TOP to SITE_TOP and LEFTRIGHT_BOTTOM to SITE_BOTTOM in templates/regions Change the template on the index page and save it. When I load the page then, I see only the content that was entered in the content box in the admin (one photo and the "Welcome to..." line). The pages/index.html shows @_SITE_TOP_@ and @_SITE_BOTTOM_@ in the correct places and the file looks just like it does when things are default and everything works. What am I doing wrong? Thanks for whatever help you can offer! JT From: interchange-users at lists.akopia.com (Kevin Walsh) Date: Tue Aug 7 04:44:01 2001 Subject: [ic] Pre-forked server mode Just a quick question. Is the pre-forked server mode still considered to be an alpha feature, or is it considered 'stable' now? When it was first announced, it was stressed that it was an early alpha. Then again, 4.7 was an early alpha at the time too :-) I've not heard anything since, apart from advice on this list for some people to use it. Thanks. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at lists.akopia.com (Michael Mangeng) Date: Tue Aug 7 05:13:00 2001 Subject: [ic] CreditCard Problem Hi I've set up my first store and now I´m working at the last page, checkout.html. The first problem is that if i want to pay with a credit card i get the following error message when i try to finish the order: Credit Card Information: Can't figure out credit card expiration. The problem with this message is that it appears as soon as I insert "CerditCardAuto Yes" into the catalog.cfg file. (The same error message appears when I use the demo shop "foundation".) And by the fact that in the documentation such a error message isn´t mentioned, i hoped that somebody here can help me with this problem. If i use "CerditCardAuto No", the check is ok and the credit card info is send to the specified email address. (Strange encryption or no encryption/masking.. (when i use 4111111111111111, something of the sort 411**11 is displayed in the order email which gets send to me, the merchant). In error.log the following message appers: 192.168.100.1 3QXexFzp:192.168.100.1 - [07/August/2001:10:37:59 +0200] shop2 /cgi-bin/shop2/process.html PGP failed with status 327680: The question is... whats error 327680 ? ;-) The three lines in catalog.cfg related to PGP are: EncryptKey __PGP_KEY__ PGP /usr/bin/pgp -e ichange@vis.at EncryptProgram /usr/bin/pgp -feat -r ichange@vis.at ...I think that I've testet all permutations with EncryptProgram and PGP.... I do not know which one is correct and what is/isn`t needed. I´m using PGP version 6.5.8. The second problem, also related to credit cards is the question how I can perform a third party validation check with a credit card institut and not only the LUHN mod10 check. But this is by now the smaller and less important question ;-) greetings and thanx a lot Michael Mangeng From: interchange-users at lists.akopia.com (Stefan Hornburg Racke) Date: Tue Aug 7 05:26:01 2001 Subject: [ic] Pre-forked server mode "Kevin Walsh" <kevin@cursor.uk.com> writes: > Just a quick question. > > Is the pre-forked server mode still considered to be an alpha > feature, or is it considered 'stable' now? > > When it was first announced, it was stressed that it was an > early alpha. Then again, 4.7 was an early alpha at the time > too :-) > > I've not heard anything since, apart from advice on this list > for some people to use it. I think it works fairly good, but unfortunately I cannot talk about really stressed installations. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at lists.akopia.com (Mike Heins) Date: Tue Aug 7 09:07:01 2001 Subject: [ic] CreditCard Problem Quoting Michael Mangeng (interchange@vis.at): > Hi > > The question is... whats error 327680 ? ;-) You'd have to look at the PGP code. But it is probably easier to look at the tmp/*.pgp.err files that are no doubt all over the place. > > The three lines in catalog.cfg related to PGP are: > > EncryptKey __PGP_KEY__ > PGP /usr/bin/pgp -e ichange@vis.at > EncryptProgram /usr/bin/pgp -feat -r ichange@vis.at > > ...I think that I've testet all permutations with EncryptProgram and PGP.... > I do not know which one is correct and what is/isn`t needed. > If you are on a version that late, I am guessing all you need is: EncryptKey ichange@vis.at EncryptProgram pgp -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Function in chaos, finish in style. -- Unknown From: interchange-users at lists.akopia.com (Mike Heins) Date: Tue Aug 7 09:11:34 2001 Subject: [ic] Modular Options completely messed up? Quoting Frederic Steinfels (fredo@dvdupgrades.ch): > I posted a bug report #283. A fix for this bug was postponed; unfortunately. > And it seems that there are much more bugs in there. If somebody could > verify this, I would appreciate it. I can verify it. Support for modular options didn't make it into the release. There are undoubtedly bugs there. We expect this to be fixed next release, but I can't guarantee that. As far as I know (since I wrote it) most of the problems are data problems, for with the proper data I was able to get the pricing to work fine. The problem largely lies in the data for the computer sample and the modular_create and modular_buy display pages. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Function in chaos, finish in style. -- Unknown From: interchange-users at lists.akopia.com (Mike Heins) Date: Tue Aug 7 09:14:54 2001 Subject: [ic] Pre-forked server mode Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > "Kevin Walsh" <kevin@cursor.uk.com> writes: > > > Just a quick question. > > > > Is the pre-forked server mode still considered to be an alpha > > feature, or is it considered 'stable' now? > > > > When it was first announced, it was stressed that it was an > > early alpha. Then again, 4.7 was an early alpha at the time > > too :-) > > > > I've not heard anything since, apart from advice on this list > > for some people to use it. > > I think it works fairly good, but unfortunately I cannot talk about > really stressed installations. It works well. We are using it on our busiest sites, one of which receives peak rates of 600 page views per minute. It is no longer alpha. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you like what you're gettin', keep doin' what you're doin'. -- Hector From: interchange-users at lists.akopia.com (Kevin Walsh) Date: Tue Aug 7 09:19:01 2001 Subject: [ic] Advanced affiliate issue > Quoting Jason Timm (jason@itchoices.com): > > Hi all, > > > > We are using the affiliate functions extensively. We run a single catalogue > > that is the core of an affiliate program with 30+ affiliates and growing > > quickly. Each affiliate has their own look and feel capability (and static > > pages) but all use the same databases (products, shipping, etc.) as well as > > the same common pages. > > > > Currently, each domain is mapped to the same directory on the server (main > > document root). So, when an affiliate goes to www.theirdomain.com, they get > > forwarded to their entry point within IC. But, from then on it seems like > > IC uses the SERVER_NAME variable to pre-pend all future URLs and paths. > > This means that after the first click to their site, the URL changes to > > http://www.mydomain.com/cgi-bin/catalog/sites/their_affiliate_id/page.html. > > While this still has their affiliate id in it, it no longer looks like their > > URL. > Does anyone have any ideas on how to make IC use a value from the > > affiliate table instead of the SERVER_NAME variable? In other words, make > > the URL stay the same from beginning to end while using the same catalog? > > > Well, you can just set VendURL to be /cgi-bin/catalog without the > http://whatever stuff. That works -- I can't remember whether you get > a warning or not. > Another method could be to use the catalog.cfg Autoload directive: Autoload <<EOL [perl] $Config->{'VendURL'} = 'http://www.domain.com/somepath'; [/perl] EOL Obviously, you'll need a db lookup in there or something. Yet another approach could be to create a usertag like this: UserTag current_uri Routine <<EOR sub { $CGI::script_name; } EOR Then change your catalog.cfg's Autoload to look like this: Autoload <<EOL [perl] $Config->{'VendURL'} = 'http://' . $Tag->current_uri(); [/perl] EOL Hopefully (untried), it would pick up the current URI and stick http:// in front, to make the URL that IC will use when creating internal page links. IC will then carry on using whatever entry point is provided. This seems to be what you are asking for. You will need to have the appropriate Catalog entry alias in interchange.cfg for every 'entry point' you plan to use, but I have the feeling you have that all set up already. Of course, I could be talking a load of nonsense here, so just have a play around with it and see what it can do. Have fun. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at lists.akopia.com (Garry) Date: Tue Aug 7 10:04:00 2001 Subject: [ic] CreditCard Problem I am using PGP6.5.8 on Linux 6.2. I too have tried as many possible combinations of setup in the config.cfg to try to get this to work - but the credit card number still arrives unencrypted on the report email or the emails are totally blank. I know my pgp is working but the documentation omits the fact that I have to put ./ before a command to get pgp to work. eg = ./pgp -h. The key pair etc is fine, I can encrypt a test doc on the server, download it and then decrypt it on my machine - but with IC, it just wont work...... help, anyone ? Garry ----- Original Message ----- From: "Michael Mangeng" <interchange@vis.at> To: <interchange-users@developer.akopia.com> Sent: Tuesday, August 07, 2001 10:12 AM Subject: [ic] CreditCard Problem > Hi > > I've set up my first store and now I´m working at the last page, > checkout.html. The first problem is that if i want to pay with a credit card > i get the following error message when i try to finish the order: > Credit Card Information: Can't figure out credit card expiration. > The problem with this message is that it appears as soon as I insert > "CerditCardAuto Yes" into the catalog.cfg file. (The same error message > appears when I use the demo shop "foundation".) And by the fact that in the > documentation such a error message isn´t mentioned, i hoped that somebody > here can help me with this problem. If i use "CerditCardAuto No", the check > is ok and the credit card info is send to the specified email address. > (Strange encryption or no encryption/masking.. (when i use 4111111111111111, > something of the sort 411**11 is displayed in the order email which gets > send to me, the merchant). > > In error.log the following message appers: > 192.168.100.1 3QXexFzp:192.168.100.1 - [07/August/2001:10:37:59 +0200] shop2 > /cgi-bin/shop2/process.html PGP failed with status 327680: > > The question is... whats error 327680 ? ;-) > > The three lines in catalog.cfg related to PGP are: > > EncryptKey __PGP_KEY__ > PGP /usr/bin/pgp -e ichange@vis.at > EncryptProgram /usr/bin/pgp -feat -r ichange@vis.at > ...I think that I've testet all permutations with EncryptProgram and PGP.... > I do not know which one is correct and what is/isn`t needed. > > I´m using PGP version 6.5.8. > > The second problem, also related to credit cards is the question how I can > perform a third party validation check with a credit card institut and not > only the LUHN mod10 check. But this is by now the smaller and less important > question ;-) > > greetings and thanx a lot > Michael Mangeng > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Mark Johnson) Date: Tue Aug 7 10:13:01 2001 Subject: [ic] Fix Shipping charge FMU wrote: > > > My shipping.asc seemed to be OK, anyway I changed it onemore time to: > > FLAT Post quantity 0 0 e Nothing to ship! > FLAT Post quantity 1 150 1.95 > FLAT Post quantity 150 999999 2.95 > default Post quantity 0 0 e Nothing to ship! > default Post quantity 1 9999999 3.95 > default Post quantity 150 999999 3.95 > > In catalog.cfg I set mv_shipmode to FLAT > but nothing happened to my shipping charge -> still displaying 0,00 When what should obviously work doesn't, one has to start asking silly questions; so, believe me, I'm not insulting your intelligence. FWIW, it looks to me, without being able to inspect everything personally, that you did everything right. (1) shipping.asc is a database-like file, and not a config file. So, be sure your fields are tab-separated (looks like they are from the cut-and-paste, but still) :) (2) Put [value mv_shipmode] in a test page, and make sure it's resolving to FLAT. Or, at the top of the checkout page, explicitly set it: [value name=mv_shipmode set=FLAT hide=1]. (3) Changes to shipping do not take effect until you restart, so make sure you've done that since you made the changes. (4) If you've done much customization, or especially any core overrides, trace through that code and see if anything in there may be influencing the value of shipping. > I thought about IC is not recognizing shipping.asc wich is in the > products directory - do I have to insert some special entries in my catalog.cfg > that this file is being parsed by IC?? By default, IC assumes ProductDir to be products/; and, further by default, IC expects to find the shipping definitions in a file named shipping.asc in the directory defined to be ProductDir. So, if you haven't set ProductDir to something explicitly, then you shouldn't need to add anything to catalog.cfg for shipping. > Robert wrote I have to be logged in as a user before going to checkout - > well I didn't even > get the UserDB to run (thanx god I dont need it). I copied the > userdb.asc file of the construct > demo into my products directory - but no userdb.gdbm file has been build > after restarting IC. You should not have to log in to see shipping in general, and definitely not in this case. Also, be aware that Database definitions have changed as Minivend has evolved into IC. So, in your MV3 cat, you no doubt have all your Database defs right in catalog.cfg. But, as of IC 4.6, you will no longer find those defs in catalog, but rather in files from catroot/dbconf/*. So, just having userdb.(asc|txt) in the products/ dir isn't enough; you also need the config definition, which used to be in catalog.cfg (and could be in your case if you want it). Database userdb userdb.(asc|txt) TAB Also, the .gdbm will not be generated until the first time userdb is actively accessed. Normally, though, this would be no later than the first order placed as, by default, IC generates a user automatically if the person buying is not already logged in (code in log_transaction). > (By the way - why do I have to kill my Interchange process before I can > restart IC???) Minivend died before it restarted too. Using ICRoot/bin/restart will do the kill and start-up for you (assuming you aren't using the rpm). > Sorry for almost getting pissed off > (spent almost 2 days on shipping charge without result) Frustration understood. I suspect you're going to find that you overlooked something very small, given that it looks like you've accounted for everything that's big. -- 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 Aug 7 10:19:01 2001 Subject: [ic] Cant Edit Items from UI Admin Account wrote: > > Could I have awaken this problem by adding fields? No. If you follow the code which performs a database lookup for a dropdown box, you'll find that you can enter two fields: one for the value, and one for the label. In the old code, if only the value field was defined, it was copied to be the label field as well--hence, the 'category, category' in the select. I'm pretty sure Mike changed it to simply dump the results of the select into both buckets post-query instead of creating a duplicate bucket pre-query. > I have been thinking of upgrading to 4.7.7 but I'm > scared. I see a lot of posts from people who have > problems. Can I upgrade fairly easily and keep my > construct based catalog? Sometimes it can be trivial, and sometimes it can be a bear. I generally find that, if you have a lot of customization, it tends to be harder. I've never, personally, tried running a stock Construct demo against 4.7, so I just can't answer this accurately. What I would do is, install 4.7, run a foundation makecat, and then copy construct into a different directory. Try to run it "as-is" against 4.7. Any custom stuff you've done in the UI will probably not transfer well, as much has changed between 4.6 and 4.7 in the UI. Copy the database and copy the foundation vlink to some other name (I'd probably use construct.4.7), and give it a whirl. If you find a lot of stuff behaving strangely, then it's probably going to be a lot of work; if not, well, then you've already sucessfully upgraded :). -- 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 (Corey Gilmore) Date: Tue Aug 7 10:40:00 2001 Subject: [ic] Quantity in 4.7.7 Has the way quantity pricing is handled changed in 4.7.7 at all? The way it was done in 4.6.x was fairly kludgy at best. The best way it seems would be to have two fields Quant Price Break 1 0 2 3 5 8 Where you could enter the quantity required to recive the discount (price break). Say itemx was $50 each. If you by one, the price break is 0. If you buy 2, you save $3 per item, buy 5, save $8 per item. it would mean running through a loop of the enumerated discount prices for each individual item at checkout time though, which could be processor intensive w/a busy store. My ic 4.8 books should be in tomorrow ;) .cfg From: interchange-users at lists.akopia.com (Dominic Tey Kek Keong) Date: Tue Aug 7 10:44:03 2001 Subject: [ic] 2 users on shared virtual server running 1 interchange daemon Sigh, I am having a situation whereby on the virtual server which I am hosting some websites on allowing me to run interchange as a user of a domain and it works. My problem is that there is a second domain which also needs interchange. If I start another interchange process the server starts slowing down. So to make things OK, I thought of having the 1st user's interchange daemon read and write to the catalog of the 2nd user. Both users are under my adminstration. While makecat'ing there was a question whereby it asked me for interchange user, would that help? Thanks in advance for pointers, Dominic Tey From: interchange-users at lists.akopia.com (Michael Mangeng) Date: Tue Aug 7 10:48:00 2001 Subject: [ic] CreditCard Problem No effect ;-( ...and this pgp version seems to be the latest available for glibc linux on www.pgpi.com (austria) thanx, Michael ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@developer.akopia.com> Sent: Tuesday, August 07, 2001 2:53 PM Subject: Re: [ic] CreditCard Problem > Quoting Michael Mangeng (interchange@vis.at): > > Hi > > > > The question is... whats error 327680 ? ;-) > > You'd have to look at the PGP code. But it is probably easier to look > at the tmp/*.pgp.err files that are no doubt all over the place. > > > > > The three lines in catalog.cfg related to PGP are: > > > > EncryptKey __PGP_KEY__ > > PGP /usr/bin/pgp -e ichange@vis.at > > EncryptProgram /usr/bin/pgp -feat -r ichange@vis.at > > > > ...I think that I've testet all permutations with EncryptProgram and PGP.... > > I do not know which one is correct and what is/isn`t needed. > > > > If you are on a version that late, I am guessing all you need is: > > EncryptKey ichange@vis.at > EncryptProgram pgp > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Function in chaos, finish in style. -- Unknown > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Craig Bedard) Date: Tue Aug 7 12:20:00 2001 Subject: [ic] Canadian Payment Systems Hi, I am looking for a Canadian third party credit card authorization company that will integrate seamlessly with Interchange. A company that I have been looking at is Moneris Solutions (a combined Royal Bank and BOM effort). Are there any 'plugins' available that will connect me to a company like this in Canada. I have read about the CyberCash option that is mentioned in the manual but unfortunately they (now Verisign) only offer services to U.S. merchant accounts. Also, any descriptions of how this process works would be appreciated. Thanks, Craig. From: interchange-users at lists.akopia.com (MITECH Trading) Date: Tue Aug 7 12:35:01 2001 Subject: [ic] Customer login I have problems with my customers login. When I login as Mike (upper case M) everything is working fine. When I login as mike and go to service/tracking and click on an order I have placed, I get this message: Sorry, the page (special/user_violation) was not found I don't see any pages in the 4.7.7 package called user_violation. How do I fix this? Best regards Michael Michaelsen www.mitechtrading.com From: interchange-users at lists.akopia.com (Todd L. Cawthron) Date: Tue Aug 7 12:41:00 2001 Subject: [ic] SQL Stored Procedures Hello. I'm using Interchange 4.6.5 on RH Linux 6.2 using Sybase ASE 11.03 as the database. I would like to call some database stored procedures from Interchange. I'm not having much luck returning any results and could not find any relevant information in the mailing list archives. When I run a SELECT query using the [query] tag, as in: [query list=1 sql="SELECT * FROM lookup"] [sql-param id] [sql-param value] [/query] Everything works great and all of the rows in the table are listed. However, if I instead use: [query list=1 sql="EXECUTE sp_querytest"] [sql-param id] [sql-param value] [/query] I am greeted with a mostly empty page except for a "-1". The stored procedure is: CREATE PROC sp_querytest AS SELECT * FROM lookup RETURN Using isql, I get the same results regardless of whether I use the SELECT statement or the stored procedure. Has anybody encountered this before or otherwise have any thoughts? Todd Cawthron From: interchange-users at lists.akopia.com (Craig Bedard) Date: Tue Aug 7 13:22:01 2001 Subject: [ic] Development Guide URL Hi, I have found where to download the Red Hat Interchange 4.8 Reference Guide but I cannot find where the Interchange Development Guide is located. Can someone please post an URL for this? Thanks. From: interchange-users at lists.akopia.com (Chad Wittrock) Date: Wed Aug 8 18:05:01 2001 Subject: [ic] Category listing I have a question that I would look in the archives for, but the server seems to be down. I am trying to change the categories that are listed on the lefthand side of the construct demo pages. I have added new categories and it appears to me that the left column is simply generated by a loop through all categories. Am I wrong? If not, what do I have to do to change what is displayed in this column. Any help is appreciated. Thanks in advance Chad ============================================================================ Chad M. Wittrock IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 IIIII IIIII IIIII University of Northern Iowa IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 IIIII IIIII IIIIII Phone: (319) 273-7437 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at lists.akopia.com (Mike Heins) Date: Wed Aug 8 18:17:01 2001 Subject: [ic] Net outage Many of you, I am sure, noticed our 28-hour network outage. The cause was not Code Red or any security breach, but by a line outage by our *former* network provider. We have switched to AT&T Network systems and are back up and running. It will take a while for DNS to catch up, but fortunately there are multiple addresses for the main Interchange site. Any of these will work: ic.redhat.com interchange.redhat.com developer.akopia.com interchange.akopia.com anthrax.interchange.akopia.com 12.47.124.142 We have changed the server name to ic.redhat.com for purposes of links, so that should serve for most people who had interchange.redhat.com in their DNS caches. We are sorry for the trouble. Regards, Mike Heins -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at lists.akopia.com (Jim Balcom) Date: Wed Aug 8 18:21:01 2001 Subject: [ic] Who Broke The Mailing List? Is it just me, or has someone at akopia or redhat done something that has broken our mail sorting programs, including procmail? Without any warning! CB>>interchange-users mailing list CB>>interchange-users@lists.akopia.com CB>>http://lists.akopia.com/mailman/listinfo/interchange-users While this still stays at the bottom of the message, the 'From:' line and the 'Reply-To:' lines are totally different! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 08, 2001 at 18:20 PM: You have to be sharp to be on the cutting edge. ---------------------------------------------------------------- This Linux System has been up 719 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at lists.akopia.com (Mangeng Michael) Date: Wed Aug 8 18:25:01 2001 Subject: [ic] Creating new payment methods Hi I'm trying to add two new payment methods to my shop. To etc/variable.txt i´ve added for each method a accept line e.g: NEWMETHOD1_ACCEPTED 1 Payment In the checkout page i' ve added the new method in the same way as the existing methods. The html part is workin. when i change the method, i get my newly created form listet correctly. But when i click on "Finalize Order", the checkout page simply reloads, and the payment method is set back to credit card. No messsages appear in the error log or something. Lines in checkout.html: #### [if variable NEWMETHOD1_ACCEPTED] <option [selected payment_method postal] value="NM">NewMethod 1 [/if] # [elsif value payment_method eq NM] <input type=hidden name=mv_order_profile value=nw> New Method 1 [/elsif] ####### What do i have to change in addition ? (I simply want that on the receipt the new payment method is mentioned (if chosen).) Unfortunately the interchange server gives no feedback (in e.g. logs). thanx mike From: interchange-users at lists.akopia.com (Ed LaFrance) Date: Wed Aug 8 18:26:59 2001 Subject: [ic] What's up with the list/site? =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | 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 (Gavin Harper) Date: Wed Aug 8 18:29:01 2001 Subject: [ic] mv_credit_card_number I need to log the customers full credit card number into the transactions table. I have added a field called card_number to the transaction table and added: card_number: [value mv_credit_card_number] to the file etc/log_transaction However I can't seem to get it to pass mv_credit_card_number to the field. If I change the entry in log_transaction to: card_number: [value mv_payment] it will quite happily update the card_number field with: Credit Card (visa) But I cann't get it to update the field with the card number. Anyone have any ideas? Thanks Gavin Harper From: interchange-users at lists.akopia.com (Gavin Harper) Date: Wed Aug 8 18:30:18 2001 Subject: [ic] mv_credit_card_number I need to log the customers full credit card number into the transactions table. I have added a field called card_number to the transaction table and added: card_number: [value mv_credit_card_number] to the file etc/log_transaction However I can't seem to get it to pass mv_credit_card_number to the field. If I change the entry in log_transaction to: card_number: [value mv_payment] it will quite happily update the card_number field with: Credit Card (visa) But I cann't get it to update the field with the card number. Anyone have any ideas? Thanks Gavin Harper From: interchange-users at lists.akopia.com (Raul Dias) Date: Wed Aug 8 18:35:01 2001 Subject: [ic] Who Broke The Mailing List? >Is it just me, or has someone at akopia or redhat done something that >has broken our mail sorting programs, including procmail? > >Without any warning! > >CB>>interchange-users mailing list >CB>>interchange-users@lists.akopia.com >CB>>http://lists.akopia.com/mailman/listinfo/interchange-users > >While this still stays at the bottom of the message, the 'From:' line >and the 'Reply-To:' lines are totally different! > It seems so. Raul Dias From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed Aug 8 18:46:01 2001 Subject: [ic] Who Broke The Mailing List? I would imagine this is to overcome the caching of 'bad' dns due to the outtage/provider change that Mike mentioned. Or else someone hasn't had a chance to edit the mailman footer ;) .cfg On Wed, 8 Aug 2001, Jim Balcom wrote: > Is it just me, or has someone at akopia or redhat done something that > has broken our mail sorting programs, including procmail? > > Without any warning! > > CB>>interchange-users mailing list > CB>>interchange-users@lists.akopia.com > CB>>http://lists.akopia.com/mailman/listinfo/interchange-users > > While this still stays at the bottom of the message, the 'From:' line > and the 'Reply-To:' lines are totally different! > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Wednesday, August 08, 2001 at 18:20 PM: > You have to be sharp to be on the cutting edge. > > ---------------------------------------------------------------- > This Linux System has been up 719 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed Aug 8 18:49:01 2001 Subject: [ic] passing arg's w/o mv_arg (fwd) well since i got a relay error w/the orig send, i'll try again. ---------- Forwarded message ---------- Date: Wed, 8 Aug 2001 11:53:04 -0400 (EDT) From: Corey Gilmore <cfg@dln.uvm.edu> To: interchange-users@lists.akopia.com Subject: passing arg's w/o mv_arg Well, I ran into this problem a while back; i was using arguments for keeping 'state' on my images in my menu's, but suddenly i needed to keep state in two places, the section of my site you were in, and the section of a sidebar you were in. modifying mv_arg would have broken some of my original code, so i wrote a little perl script to get around it. I added this to catalog.cfg, and to interchange.cfg, I added 'pack' to the SafeUntrap directive. # return the query string UserTag query_string Routine sub { return $CGI::query_string } # pass the name of the argument you wish to get # and it will pull it from the argument # to find mv_conf_arg in HTTP_REFERER you would # [get_dyn_arg name="mv_conf_arg" string="[query_string]"] UserTag get_dyn_arg Interpolate UserTag get_dyn_arg Order name string UserTag get_dyn_arg Routine <<EOF sub { my ($name, $buffer) = @_; my ($Value, $username, $Pair, %form); my @Buffer = split(/&/, $buffer); foreach $Pair (@Buffer){ ($username,$Value) = split(/=/, $Pair); # Replace any special characters. $Value =~ tr/\+/ /; $Value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; $username =~ tr/\+/ /; $username =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; # set our values $form{$username} = $Value; } return $form{ $name }; } EOF [query_string] would return the, well, query string passed to IC. eg if you went to http://my.domain.com/cgi-bin/IC/02PMS001.html?mv_arg=40&mv_pc=1406 it would return mv_arg=40&mv_pc=1406 To implement the 'dynamic' arguments, things looked sort of like [if scratch current_info_page == __ARG_SHOW_METHODS__] <a href="[area href='[item-code].html' arg='[scratch cur_section]']&mv_conf_arg=__ARG_SHOW_METHODS__" class='bodylink'"> <img SRC="__RIGHT_IMAGE_DIR__/register_a.gif" NAME="Register" BORDER=0 height=40 width=172 alt="Register"> </a> [else] <a href="[area href='[item-code].html' arg='[scratch cur_section]']&mv_conf_arg=__ARG_SHOW_METHODS__" class='bodylink' onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Register','','__RIGHT_IMAGE_DIR__/register_a.gif',1)"> <img SRC="__RIGHT_IMAGE_DIR__/register_i.gif" NAME="Register" BORDER=0 height=40 width=172 alt="Register"> </a> [/else][/if] The main thing to notice is how the URL's are built. <a href="[area href='[item-code].html' arg='[scratch cur_section]']&mv_conf_arg=__ARG_SHOW_METHODS__" class='bodylink'"> ignoring my silly little scratch variables, i just append &mv_conf_arg=__ARG_SHOW_METHODS__ OUTSIDE of the [area] tag. At the beginning of my page, I have [set name=current_info_page interpolate=1][get_dyn_arg name="mv_conf_arg" string="[query_string]"][/set] Where I pass the name of the argument I am looking for, and the string to search in. This is a fairly ugly hack, I'd be interested to see if someone has done it another way. .cfg (reading his new IC 4.8 BOOKS!) From: interchange-users at lists.akopia.com (Admin Account) Date: Wed Aug 8 18:52:00 2001 Subject: [ic] Cant Edit Items from UI Thanks Mark, I will try your suggestions From: interchange-users at lists.akopia.com (Vlad Sedov) Date: Wed Aug 8 18:57:00 2001 Subject: [ic] state of interchange... is redhat going to make interchange a commercial app?... all of interchange developer related material is unaccesible as of today. am i just being paranoid?... Vlad From: interchange-users at lists.akopia.com (Doug Littlefield) Date: Wed Aug 8 19:05:00 2001 Subject: [ic] Safe:Hole, Configuration Error This is a multi-part message in MIME format. --------------11964D9163FBDF0DD81C5A2A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In a effort to make upgrading easier, I want to use the RPM install method (I previously installed v4.77 manually and have it working, but the locations of some of the directories are not the same as the RPM install locations.) I was careful to no "mix" the 2 installs, but am getting this error. The manual install works fine. Both installs use the user "interch". I tried copying the "manual install" catalog, but it seems to be the same so that didn't work. Thanks for the help. ===================================================== [interch@server4 bin]$ ./interchange -r Killing Interchange server 17684 with TERM. Low traffic settings. Calling UI......UI is loaded... Interchange V4.7.7 Configuring catalog foundation...Required Perl module Safe::Hole not present. Aborting catalog. In line 7 of the configuration file 'catalog.cfg': Require module Safe::Hole foundation config error: Required Perl module Safe::Hole not present. Aborting catalog. In line 7 of the configuration file 'catalog.cfg': Require module Safe::Hole foundation: error in configuration. Skipping. foundation: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 17915) [interch@server4 bin]$ ================================================================= Campbell Graphics, Inc. - Printing & Packaging Solutions 545 Westchester Dr., Campbell, CA 95008, 408-371-6411, Fax 371-9812 Doug Littlefield, Systems Administrator, Printing Estimator --------------11964D9163FBDF0DD81C5A2A Content-Type: text/x-vcard; charset=us-ascii; name="doug.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Doug Littlefield Content-Disposition: attachment; filename="doug.vcf" begin:vcard n:Littlefield;Doug tel;fax:408-371-9812 tel;work:408-371-6411 x-mozilla-html:TRUE url:http://www.cgprint.com org:<img src="http://www.cgprint.com/gifs/penguin.gif"> version:2.1 email;internet:doug@cgprint.com title:Systems Administrator, Estimator, etc. adr;quoted-printable:;;Campbell Graphics, Inc.=0D=0A;545 Westchester Drive;Campbell, CA 95008 USA;Printing & Packaging Solutions; x-mozilla-cpt:;-4608 fn:Doug Littlefield end:vcard --------------11964D9163FBDF0DD81C5A2A-- From: interchange-users at lists.akopia.com (Vlad Sedov) Date: Wed Aug 8 19:09:00 2001 Subject: [ic] Net outage C&W messing up again?.... -----Original Message----- From: interchange-users-admin@anthrax.interchange.redhat.com [mailto:interchange-users-admin@anthrax.interchange.redhat.com]On Behalf Of Mike Heins Sent: Wednesday, August 08, 2001 5:18 PM To: interchange-users@ic.redhat.com Subject: [ic] Net outage Many of you, I am sure, noticed our 28-hour network outage. The cause was not Code Red or any security breach, but by a line outage by our *former* network provider. We have switched to AT&T Network systems and are back up and running. It will take a while for DNS to catch up, but fortunately there are multiple addresses for the main Interchange site. Any of these will work: ic.redhat.com interchange.redhat.com developer.akopia.com interchange.akopia.com anthrax.interchange.akopia.com 12.47.124.142 We have changed the server name to ic.redhat.com for purposes of links, so that should serve for most people who had interchange.redhat.com in their DNS caches. We are sorry for the trouble. Regards, Mike Heins -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous _______________________________________________ interchange-users mailing list interchange-users@lists.akopia.com http://lists.akopia.com/mailman/listinfo/interchange-users From: interchange-users at lists.akopia.com (Vlad Sedov) Date: Wed Aug 8 19:18:00 2001 Subject: [ic] state of interchange... previous message > /dev/null From: interchange-users at lists.akopia.com (Erik) Date: Wed Aug 8 19:24:00 2001 Subject: [ic] Who Broke The Mailing List? Who cares, it takes 3 seconds to update procmailrc. On Wed, 8 Aug 2001, Jim Balcom wrote: > Is it just me, or has someone at akopia or redhat done something that > has broken our mail sorting programs, including procmail? > > Without any warning! > > CB>>interchange-users mailing list > CB>>interchange-users@lists.akopia.com > CB>>http://lists.akopia.com/mailman/listinfo/interchange-users > > While this still stays at the bottom of the message, the 'From:' line > and the 'Reply-To:' lines are totally different! > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Wednesday, August 08, 2001 at 18:20 PM: > You have to be sharp to be on the cutting edge. > > ---------------------------------------------------------------- > This Linux System has been up 719 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > --- Erik Parker --- From: interchange-users at lists.akopia.com (Garry) Date: Wed Aug 8 19:34:00 2001 Subject: [ic] Credit Card Encyption I have some, but not a lot, of progress: Trying to encrypt the Credit Card number on the report email: The emails arrive, with the Credit card line number missing - anyone have any idea what I am doing wrong? - does the report email need altering in any way to enable CC encryption? I am using PGP6.5.8 on Linux 6.2 Any help would be gratefully appreciated. Gaz _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at lists.akopia.com (Mike Heins) Date: Wed Aug 8 19:44:00 2001 Subject: [ic] Who Broke The Mailing List? Quoting Jim Balcom (jim@idk-enterprises.com): > Is it just me, or has someone at akopia or redhat done something that > has broken our mail sorting programs, including procmail? > Any mail sorting programs that rely on a particular host being the sender are broken to begin with. 8-) Any reasonable filter allows things like /Sender: interchange-users.*/, which would never break unless we renamed the list. As I explained before, we had a catastrophic network outage and had to move things around. Some names may not resolve the same. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at lists.akopia.com (Corey Gilmore) Date: Wed Aug 8 22:08:01 2001 Subject: [ic] Safe:Hole, Configuration Error If you used a non-privleged user to install, or the previous install is 4.6.x, i believe that the perl mods are installed locally in <icdir>/lib/ if they aren't installed systemwide. either install them as root, add the path to ic (in configure with -L ?), add the path in /etc/ld.so.config (and ldconfig), or reinstall them to your new ic install ;) .cfg On Wed, 8 Aug 2001, Doug Littlefield wrote: > In a effort to make upgrading easier, I want to use the RPM install > method (I previously installed v4.77 manually and have it working, but > the locations of some of the directories are not the same as the RPM > install locations.) > > I was careful to no "mix" the 2 installs, but am getting this error. The > manual install works fine. > Both installs use the user "interch". I tried copying the "manual > install" catalog, but it seems to be the same so that didn't work. > > Thanks for the help. > > ===================================================== > [interch@server4 bin]$ ./interchange -r > Killing Interchange server 17684 with TERM. > Low traffic settings. > Calling UI......UI is loaded... > Interchange V4.7.7 > Configuring catalog foundation...Required Perl module Safe::Hole not > present. Aborting catalog. > In line 7 of the configuration file 'catalog.cfg': > Require module Safe::Hole > > foundation config error: Required Perl module Safe::Hole not present. > Aborting catalog. > In line 7 of the configuration file 'catalog.cfg': > Require module Safe::Hole > > > foundation: error in configuration. Skipping. > foundation: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 17915) > [interch@server4 bin]$ > ================================================================= > > Campbell Graphics, Inc. - Printing & Packaging Solutions > 545 Westchester Dr., Campbell, CA 95008, 408-371-6411, Fax 371-9812 > Doug Littlefield, Systems Administrator, Printing Estimator From: interchange-users at lists.akopia.com (Steven Morrison) Date: Thu Aug 9 08:52:00 2001 Subject: [ic] Canadian Payment Systems Give PSiGate a try. www.psigate.com > -----Original Message----- > From: interchange-users-admin@developer.akopia.com > [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Craig > Bedard > Sent: Tuesday, August 07, 2001 1:18 PM > To: interchange-users@developer.akopia.com > Subject: [ic] Canadian Payment Systems > > > Hi, > > > I am looking for a Canadian third party credit card authorization company > that will integrate seamlessly with Interchange. A company that > I have been > looking at is Moneris Solutions (a combined Royal Bank and BOM > effort). Are > there any 'plugins' available that will connect me to a company > like this in > Canada. I have read about the CyberCash option that is mentioned in the > manual but unfortunately they (now Verisign) only offer services to U.S. > merchant accounts. Also, any descriptions of how this process works would > be appreciated. > > Thanks, > Craig. > > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at lists.akopia.com (William Ghelfi) Date: Thu Aug 9 08:55:01 2001 Subject: [ic] With love, from labels to images So... can anybody help me to fix this? Here comes my basket: <HTML> <BODY> [if type=explicit compare="q{[read-cookie MV_SESSION_ID]}"] [elsif scratch tried] You must have cookies set to leave the basket. Check out now or forever lose your shopping cart. [/elsif] [else] [set tried]1[/set] [bounce href="[area basket]"] [goto END] [/else] [/if] <CENTER> <FORM ACTION="[process secure=1]" METHOD=POST> <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]"> <INPUT TYPE=hidden NAME=mv_doit VALUE=refresh> <INPUT TYPE=hidden NAME=mv_nextpage VALUE=basket> STUFF STUFF STUFF [if items] [then] [item-list] STUFF STUFF STUFF [/item-list] STUFF STUFF STUFF <input type="image" src="/img/carrello_agg.gif" onClick="this.form.action='[process]'"> [set Interrompi lo shopping] mv_todo=return mv_nextpage=canceled [/set] <input type="image" name="mv_click" src="/img/carrello_stop.gif" alt="Interrompi lo shopping" onClick="this.form.action='[process-target]'"> [set Continua lo shopping] mv_todo=return mv_nextpage=index [/set] <input type="image" name="mv_click" src="/img/carrello_go.gif" onClick="this.form.action='[process-target]'"> [set Conferma il tuo ordine] mv_todo=return mv_nextpage=checkout [/set] <input type="image" name="mv_click" src="/img/carrello_ok.gif" onClick="this.form.target='_top'"> </TD> </TR> THE ABOVE :-(((( DOESN'T WORK THE BELOW WORKED.... till the webmaster decided to substitute standard buttons with cool images .... but I can't figure out how to make my basket work again.... <TR> <TD COLSPAN=6 align="left"> <br> <INPUT TYPE=submit onClick="this.form.action='[process]'" value="Aggiorna il carrello"> [set Conferma il tuo ordine] mv_todo=return mv_nextpage=checkout [/set] <INPUT TYPE="submit" onClick="this.form.target='_top'" NAME="mv_click" VALUE="Conferma il tuo ordine"> [set Continua lo shopping] mv_todo=return mv_nextpage=index [/set] <INPUT TYPE=submit onClick="this.form.action='[process-target]'" NAME=mv_click VALUE="Continua lo shopping"> [set Interrompi lo shopping] mv_todo=return mv_nextpage=canceled [/set] <INPUT TYPE=submit onClick="this.form.action='[process-target]'" NAME=mv_click VALUE="Interrompi lo shopping"> Thanks in advance William Ghelfi -- *Quando la coperta è troppo corta.... non... non si puo' vendere fumo da una parte e dall'altra! Eh!!!* -- Antonio Di Pietro - tsP 19/04/2001 - RAI3 -- From: interchange-users at interchange.redhat.com (Greg Hanson) Date: Thu Aug 9 09:06:00 2001 Subject: [ic] value_extended patch for upload permissions Hi all, A while back there were a couple of postings to the mail list regarding uploading of images, and their resulting permissions. http://developer2.akopia.com/archive/interchange-users/2000/msg03435.html The problem he was (and I am) having is images uploaded to the server ended up with a permission code of rw-rw--- ,forcing you to change permissions after uploading to rw-rw-r-- in order to view the images. Then Stefan Hornburg posted a patch for that problem just a few weeks(days?) later.... http://developer2.akopia.com/archive/interchange-users/2000/msg03708.html Description: This patch allows you to temporarily changing > the umask for uploaded files. > Motivation: My catalog directory usually contains a subdirectory > images, where images for the Webserver are stored. > With this patch, files can be uploaded with read > permission for anyone. > Future: If Mike likes it, this can be added to MiniVend > with appropriate documentation supplied by > me. I looked under documentation for tag value-extended and see nothing relating to this patch, and also could find nothing further on the mail list. My umask knowledge is limited so I am unsure as to how to apply this...? I have added the patch code to Interpolate.pm and Util.pm , (This store is Using MV 4.04 and Minimate). Can someone direct me on how to do this correctly? THanks, Greg Greg Hanson NOTE: NEW ADDRESS AS OF 8/01/01 Valuemedia.com 1506 Gilbert Ave Coeur d' Alene, ID 83814 877-631-2888 559-677-9411 Fax greg@valuemedia.com From: interchange-users at interchange.redhat.com (Mangeng Michael) Date: Thu Aug 9 09:08:00 2001 Subject: [ic] SalesTax for non-US Countries Hi Im trying to get the display and calculation of the salestax for non-US countries running, but without success. I've entered a few tax rates into the country table but it looks like it gets ignored. I've slightly changed the checkout.html JavaScript in advance which gives a alert when selecting a country where a tax rate is existing, but not even this is functional. What do i have to change ? Please give me an example with a country from the country table. Only the basics :-) thanx mike From: interchange-users at interchange.redhat.com (Interchange Admin) Date: Thu Aug 9 09:12:01 2001 Subject: [ic] nextpage problem Ok, I'm going nuts. (Yeah, short trip) Anyway, when I put the following lines in checkout.html I get the desired results if someone doesn't fill in a required value: <FORM METHOD="POST" ACTION="[area process]"> <INPUT TYPE=hidden NAME=mv_todo VALUE=submit> <INPUT TYPE=hidden NAME=mv_order_profile VALUE=checkout_profile> But, if I use the lines to make it go to the second page of my checkout process, it does not check the values: <FORM METHOD="POST" ACTION="[area process]"> <INPUT TYPE=hidden NAME=mv_todo VALUE=submit> <INPUT TYPE=hidden NAME=mv_order_profile VALUE=checkout_profile> <INPUT TYPE=hidden NAME=mv_nextpage VALUE="checkout2"> What is the problem here? Also, is there somewhere that explains the "order profile"? I know that you can have "variable=required" and "&final" and "&fatal" but is there anything else? (Note: telling me to read the docs is not a valid answer! I have looked through them for this information over and over with no success. The tutorial has the most information on this and it ain't much.) 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 interchange.redhat.com (Rodney Wallin) Date: Thu Aug 9 09:32:00 2001 Subject: [ic] Netscape 4.7 and Interchange Just wondering if anyone else experienced incompatibility with sites running IC and trying to view them in Netscape 4.7? It seems that the site simply comes up blank, notta, nothing on the screen at all. I have been asked if there is a work around to help these 4.2% of the general population be able to see the site without upgrading their browsers for free. Any Ideas?? Thanks Rodney Wallin From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 9 10:00:00 2001 Subject: [ic] Netscape 4.7 and Interchange Rodney Wallin <RodneyW@Soundchoice.com> writes: > Just wondering if anyone else experienced incompatibility with sites running > IC and trying to view them in Netscape 4.7? > It seems that the site simply comes up blank, notta, nothing on the screen > at all. I have been asked if there is a work around to help these 4.2% of > the general population be able to see the site without upgrading their > browsers for free. Any Ideas?? Have you viewed the source code of the page ? NS don't like broken tables. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 9 10:03:00 2001 Subject: [ic] Credit Card Encyption hmmmm.... as the most of you know, I`ve got the same problem... Isn't there anywhere a brave knight who can help us ? :-) Please could anybody post at least a example which works... maybe this would help... i have no "pgpe" here.. only a "pgp" executeable.. thanx mike ----- Original Message ----- From: "Garry" <gazonice@yahoo.com> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Tuesday, August 07, 2001 9:10 PM Subject: [ic] Credit Card Encyption > I have some, but not a lot, of progress: > > Trying to encrypt the Credit Card number on the report email: > > The emails arrive, with the Credit card line number missing - anyone have > any idea what I am doing wrong? - does the report email need altering in any > way to enable CC encryption? > > I am using PGP6.5.8 on Linux 6.2 > > Any help would be gratefully appreciated. > > Gaz > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Mike Thompson) Date: Thu Aug 9 10:05:00 2001 Subject: [ic] Netscape 4.7 and Interchange Hi Rodney, I was just working on a similar problem. I have been testing with multiple versions of IE for PC and Mac as well as Netscape, Mozilla, Opera ... I am finding a consistant problem with IE and Netscape 4.7 as well. For me everything seems to work until I get to the checkout page. At that point the contents of the shopping cart are gone and no checkout form appears. I have not fouund out why this is happening yet. I just discovered this problem last night. I was just searching the archives when I saw your message. I will keep looking at the code and testing and I will post if I can figure out what might be happening. If anyone else has already worked through this or has any idea what is going on, please share your findings ... Thanks, -Mike Thompson Just wondering if anyone else experienced incompatibility with sites running IC and trying to view them in Netscape 4.7? It seems that the site simply comes up blank, notta, nothing on the screen at all. I have been asked if there is a work around to help these 4.2% of the general population be able to see the site without upgrading their browsers for free. Any Ideas?? Thanks Rodney Wallin _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mike Thompson) Date: Thu Aug 9 10:05:42 2001 Subject: [ic] Netscape 4.7 and Interchange Hi Rodney, I was just working on a similar problem. I have been testing with multiple versions of IE for PC and Mac as well as Netscape, Mozilla, Opera ... I am finding a consistant problem with IE and Netscape 4.7 as well. For me everything seems to work until I get to the checkout page. At that point the contents of the shopping cart are gone and no checkout form appears. I have not fouund out why this is happening yet. I just discovered this problem last night. I was just searching the archives when I saw your message. I will keep looking at the code and testing and I will post if I can figure out what might be happening. If anyone else has already worked through this or has any idea what is going on, please share your findings ... Thanks, -Mike Thompson Just wondering if anyone else experienced incompatibility with sites running IC and trying to view them in Netscape 4.7? It seems that the site simply comes up blank, notta, nothing on the screen at all. I have been asked if there is a work around to help these 4.2% of the general population be able to see the site without upgrading their browsers for free. Any Ideas?? Thanks Rodney Wallin _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 9 10:07:00 2001 Subject: [ic] SalesTax for non-US Countries Oh, sorry.. problem solved in the meanwhile.. I forgot to change TAXAREA state zip Payment to TAXAREA country Payment (in products/variables.txt) rest of the canges in checkout.html: not it works with the js altered a little bit... its now: The line: var ch = form.state.value; is now: var ch = form.country.value; . and <select name=country> changed to: <select name=country onChange="check_tax(this.form)"> I hope that was really all... :-) ..if anyone gets the same problem.. i hope he will find this in the list. mike ----- Original Message ----- From: "Mangeng Michael" <m1k3@vis.at> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Thursday, August 09, 2001 2:07 PM Subject: [ic] SalesTax for non-US Countries > Hi > > Im trying to get the display and calculation of the salestax for non-US > countries running, but without success. I've entered a few tax rates into > the country table but it looks like it gets ignored. I've slightly changed > the checkout.html JavaScript in advance which gives a alert when selecting a > country where a tax rate is existing, but not even this is functional. > > What do i have to change ? > > Please give me an example with a country from the country table. > Only the basics :-) > > thanx > mike > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (MITECH Trading) Date: Thu Aug 9 10:14:00 2001 Subject: [ic] Change mail llist on checkout Where do I change the mailing list options on the checkout page in 4.7.7? I have searches through all my files and I can't find it anywhere. Best regards Michael Michaelsen www.mitechtrading.com From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 9 10:26:00 2001 Subject: [ic] Category listing Hi There are 2 loops in this file, where the second one is in the first one. The forst one loops throught all areas.. it loops to the first..then the second loop loops throught all categories in this area... then the first loop loops to the next area and so on :) Be more specific :-). If you only want to change the names of the areas and categories and/or add/delete some of it, you only have to edit the table area and cat. Give each area a specific code. Each category you want to mention in this area must have in the field "sel" (table: cat) the number of the area code (field: code) the area has in the area table. i hope i could help mike - vis.at ----- Original Message ----- From: "Chad Wittrock" <Chad.Wittrock@uni.edu> To: "Interchange-users" <interchange-users@anthrax.interchange.redhat.com> Sent: Tuesday, August 07, 2001 8:10 PM Subject: [ic] Category listing > I have a question that I would look in the archives for, but the server > seems to be down. I am trying to change the categories that are listed on > the lefthand side of the construct demo pages. I have added new categories > and it appears to me that the left column is simply generated by a loop > through all categories. Am I wrong? If not, what do I have to do to change > what is displayed in this column. > > Any help is appreciated. > > Thanks in advance > Chad > > ============================================================================ > Chad M. Wittrock > IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst > IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 > IIIII IIIII IIIII University of Northern Iowa > IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 > IIIII IIIII IIIIII Phone: (319) 273-7437 > IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 > IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jason Kohles) Date: Thu Aug 9 10:27:02 2001 Subject: [ic] Netscape 4.7 and Interchange On Thu, Aug 09, 2001 at 07:47:27AM -0400, Rodney Wallin wrote: > Just wondering if anyone else experienced incompatibility with sites running > IC and trying to view them in Netscape 4.7? > It seems that the site simply comes up blank, notta, nothing on the screen > at all. I have been asked if there is a work around to help these 4.2% of > the general population be able to see the site without upgrading their > browsers for free. Any Ideas?? > The vast majority of the time this indicates you have a <table> tag without a matching </table>, IE will happily accept this, netscape doesn't. -- Red Hat E-Business Solutions Jason Kohles 11480 Sunset Hills Road Senior System Architect Reston, VA 20190 jkohles@redhat.com From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Thu Aug 9 10:28:00 2001 Subject: [ic] Pricing Question Good Morning Everyone, It's almost friday and I'm glad. I've got a question for the list. I want to implement a pricing scheme that will let me use the price field as a Mfg. Sugg. Retail Price for display only and use the price in quantity2(q2) as the actual price for all users. Has anyone done this? How can I set the Q2 price as the price to use for all regular users? Thanks, Robert From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 10:43:00 2001 Subject: [ic] Netscape 4.7 and Interchange Quoting Rodney Wallin (RodneyW@Soundchoice.com): > Just wondering if anyone else experienced incompatibility with sites running > IC and trying to view them in Netscape 4.7? > It seems that the site simply comes up blank, notta, nothing on the screen > at all. I have been asked if there is a work around to help these 4.2% of > the general population be able to see the site without upgrading their > browsers for free. Any Ideas?? We have people here who use Netscape 4.7 exclusively with no problem, and we constantly test against it. Most of those types of problems have to do with lack of a </table>, by the way. I believe that would be site-specific -- if you can find something in the online demo that doesn't display on Netscape 4.7, let us know. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Scott Fletcher) Date: Thu Aug 9 10:51:01 2001 Subject: [ic] Netscape 4.7 and Interchange NS or Netscape is for Netscape 6.0 and above. NS Navigator or Netscape Navigator is for netscape browser version 0.xx to 4.xx -----Original Message----- From: racke@linuxia.de [mailto:racke@linuxia.de] Sent: Thursday, August 09, 2001 9:59 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange Rodney Wallin <RodneyW@Soundchoice.com> writes: > Just wondering if anyone else experienced incompatibility with sites running > IC and trying to view them in Netscape 4.7? > It seems that the site simply comes up blank, notta, nothing on the screen > at all. I have been asked if there is a work around to help these 4.2% of > the general population be able to see the site without upgrading their > browsers for free. Any Ideas?? Have you viewed the source code of the page ? NS don't like broken tables. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Scott Fletcher) Date: Thu Aug 9 10:54:00 2001 Subject: [ic] Netscape 4.7 and Interchange Yea, I have found this similar problem with the dissappearance of hte shopping cart when using some pages like checkout. What so embarrasing is that one of the employee at my company gave a demostration of the Interchange software to the customer about the idea of using it for shopping cart. We all noticed the disappearance of hte shopping cart and the wrong webpage. Since then, we haven't heard from the customer. So, we're not sure what is up with that. Scott -----Original Message----- From: Mike Thompson [mailto:mthompso@nmsu.edu] Sent: Thursday, August 09, 2001 10:04 AM To: interchange-users@interchange.redhat.com; 'interchange-users@lists.akopia.com' Subject: RE: [ic] Netscape 4.7 and Interchange Hi Rodney, I was just working on a similar problem. I have been testing with multiple versions of IE for PC and Mac as well as Netscape, Mozilla, Opera ... I am finding a consistant problem with IE and Netscape 4.7 as well. For me everything seems to work until I get to the checkout page. At that point the contents of the shopping cart are gone and no checkout form appears. I have not fouund out why this is happening yet. I just discovered this problem last night. I was just searching the archives when I saw your message. I will keep looking at the code and testing and I will post if I can figure out what might be happening. If anyone else has already worked through this or has any idea what is going on, please share your findings ... Thanks, -Mike Thompson Just wondering if anyone else experienced incompatibility with sites running IC and trying to view them in Netscape 4.7? It seems that the site simply comes up blank, notta, nothing on the screen at all. I have been asked if there is a work around to help these 4.2% of the general population be able to see the site without upgrading their browsers for free. Any Ideas?? Thanks Rodney Wallin _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Thu Aug 9 10:54:48 2001 Subject: [ic] Netscape 4.7 and Interchange isn't HTML fun?... make sure that there's an equal amount of <table> and </table> tags... i've seen unclosed table tags cause that kind of behavior... regards, Vlad -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike Thompson Sent: Thursday, August 09, 2001 9:04 AM To: interchange-users@interchange.redhat.com; 'interchange-users@lists.akopia.com' Subject: RE: [ic] Netscape 4.7 and Interchange Hi Rodney, I was just working on a similar problem. I have been testing with multiple versions of IE for PC and Mac as well as Netscape, Mozilla, Opera ... I am finding a consistant problem with IE and Netscape 4.7 as well. For me everything seems to work until I get to the checkout page. At that point the contents of the shopping cart are gone and no checkout form appears. I have not fouund out why this is happening yet. I just discovered this problem last night. I was just searching the archives when I saw your message. I will keep looking at the code and testing and I will post if I can figure out what might be happening. If anyone else has already worked through this or has any idea what is going on, please share your findings ... Thanks, -Mike Thompson Just wondering if anyone else experienced incompatibility with sites running IC and trying to view them in Netscape 4.7? It seems that the site simply comes up blank, notta, nothing on the screen at all. I have been asked if there is a work around to help these 4.2% of the general population be able to see the site without upgrading their browsers for free. Any Ideas?? Thanks Rodney Wallin _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Thu Aug 9 11:12:01 2001 Subject: [ic] Pricing Question http://ic.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icconfig10%2e57 ########### PriceField ## ## Default: price # # The field in the product database that will be accessed with the [item-price] # element. # # PriceField example in locale Locale en_US PriceField USD >Good Morning Everyone, > >It's almost friday and I'm glad. I've got a question for the list. I want to >implement a pricing scheme that will let me use the price field as a Mfg. >Sugg. Retail Price for display only and use the price in quantity2(q2) as >the actual price for all users. Has anyone done this? How can I set the Q2 >price as the price to use for all regular users? > >Thanks, >Robert > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Aug 9 11:17:01 2001 Subject: [ic] Category listing Thanks alot! -----Original Message----- From: interchange-users-admin@interchange.redhat.COM [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Michael Mangeng Sent: Thursday, August 09, 2001 2:19 AM To: interchange-users@anthrax.interchange.redhat.COM Subject: Re: [ic] Category listing Hi There are 2 loops in this file, where the second one is in the first one. The forst one loops throught all areas.. it loops to the first..then the second loop loops throught all categories in this area... then the first loop loops to the next area and so on :) Be more specific :-). If you only want to change the names of the areas and categories and/or add/delete some of it, you only have to edit the table area and cat. Give each area a specific code. Each category you want to mention in this area must have in the field "sel" (table: cat) the number of the area code (field: code) the area has in the area table. i hope i could help mike - vis.at ----- Original Message ----- From: "Chad Wittrock" <Chad.Wittrock@uni.edu> To: "Interchange-users" <interchange-users@anthrax.interchange.redhat.com> Sent: Tuesday, August 07, 2001 8:10 PM Subject: [ic] Category listing > I have a question that I would look in the archives for, but the server > seems to be down. I am trying to change the categories that are listed on > the lefthand side of the construct demo pages. I have added new categories > and it appears to me that the left column is simply generated by a loop > through all categories. Am I wrong? If not, what do I have to do to change > what is displayed in this column. > > Any help is appreciated. > > Thanks in advance > Chad > > ============================================================================ > Chad M. Wittrock > IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst > IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 > IIIII IIIII IIIII University of Northern Iowa > IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 > IIIII IIIII IIIIII Phone: (319) 273-7437 > IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 > IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu > > _______________________________________________ > interchange-users mailing list > interchange-users@lists.akopia.com > http://lists.akopia.com/mailman/listinfo/interchange-users > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Curt Hauge) Date: Thu Aug 9 11:27:01 2001 Subject: [ic] Category listing Quoting Chad Wittrock > > I have a question that I would look in the archives for, but the server > seems to be down. I am trying to change the categories that are listed on > the lefthand side of the construct demo pages. I have added new categories > and it appears to me that the left column is simply generated by a loop > through all categories. Am I wrong? If not, what do I have to do to change > what is displayed in this column. Check the bottom of this page and see if that is what you are looking for: http://ic.redhat.com/cgi-bin/ic/dev/icdatabase_6.html Good Luck! Curt Hauge From: interchange-users at interchange.redhat.com (Scott Fletcher) Date: Thu Aug 9 11:27:45 2001 Subject: [ic] Netscape 4.7 and Interchange Here's the clarification! NS or Netscape is for Netscape 6.xx & above! NS Navigator or Netscape Navigator is for the browser version 0.xx to 4.xx This is what the Netscape Corporation, Inc. said! Or AOL said! -----Original Message----- From: Jason Kohles [mailto:jkohles@redhat.com] Sent: Thursday, August 09, 2001 9:26 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange On Thu, Aug 09, 2001 at 07:47:27AM -0400, Rodney Wallin wrote: > Just wondering if anyone else experienced incompatibility with sites running > IC and trying to view them in Netscape 4.7? > It seems that the site simply comes up blank, notta, nothing on the screen > at all. I have been asked if there is a work around to help these 4.2% of > the general population be able to see the site without upgrading their > browsers for free. Any Ideas?? > The vast majority of the time this indicates you have a <table> tag without a matching </table>, IE will happily accept this, netscape doesn't. -- 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@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Scott Fletcher) Date: Thu Aug 9 11:37:00 2001 Subject: [ic] Netscape 4.7 and Interchange testing! -----Original Message----- From: Mike Heins [mailto:mheins@redhat.com] Sent: Thursday, August 09, 2001 10:42 AM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Netscape 4.7 and Interchange Quoting Rodney Wallin (RodneyW@Soundchoice.com): > Just wondering if anyone else experienced incompatibility with sites running > IC and trying to view them in Netscape 4.7? > It seems that the site simply comes up blank, notta, nothing on the screen > at all. I have been asked if there is a work around to help these 4.2% of > the general population be able to see the site without upgrading their > browsers for free. Any Ideas?? We have people here who use Netscape 4.7 exclusively with no problem, and we constantly test against it. Most of those types of problems have to do with lack of a </table>, by the way. I believe that would be site-specific -- if you can find something in the online demo that doesn't display on Netscape 4.7, let us know. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (RobertTrembath) Date: Thu Aug 9 11:49:00 2001 Subject: [ic] Pricing Question Good Morning Everyone, It's almost friday and I'm glad. I've got a question for the list. I want to implement a pricing scheme that will let me use the price field as a Mfg. Sugg. Retail Price for display only and use the price in quantity2(q2) as the actual price for all users. Has anyone done this? How can I set the Q2 price as the price to use for all regular users? Thanks, Robert From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 9 11:49:52 2001 Subject: [ic] nextpage problem At 09:34 PM 08/08/2001 -0500, you wrote: >Ok, I'm going nuts. (Yeah, short trip) > >Anyway, when I put the following lines in checkout.html I get the >desired results if someone doesn't fill in a required value: > > <FORM METHOD="POST" ACTION="[area process]"> > <INPUT TYPE=hidden NAME=mv_todo VALUE=submit> > <INPUT TYPE=hidden NAME=mv_order_profile VALUE=checkout_profile> > >But, if I use the lines to make it go to the second page of my checkout >process, it does not check the values: > > <FORM METHOD="POST" ACTION="[area process]"> > <INPUT TYPE=hidden NAME=mv_todo VALUE=submit> > <INPUT TYPE=hidden NAME=mv_order_profile VALUE=checkout_profile> > <INPUT TYPE=hidden NAME=mv_nextpage VALUE="checkout2"> > >What is the problem here? Instead of <INPUT TYPE=hidden NAME=mv_nextpage VALUE="checkout2">, you should add this to your profile, after &fatal=yes, to set the next page to display upon a successful check: &set=mv_successpage checkout2 Note that you do not want a &final=yes in this profile, since that would submit the order and go directly to the receipt page upon a valid check. You should create another profile for checkout2, and use &final=yes in that one if it is to be the last. - Ed L. >Also, is there somewhere that explains the "order profile"? I know >that you can have "variable=required" and "&final" and "&fatal" but >is there anything else? (Note: telling me to read the docs is not >a valid answer! I have looked through them for this information >over and over with no success. The tutorial has the most information >on this and it ain't much.) > >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%. >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 9 11:56:01 2001 Subject: [ic] Netscape 4.7 and Interchange At 03:59 PM 08/09/2001 +0200, you wrote: >Rodney Wallin <RodneyW@Soundchoice.com> writes: > > > Just wondering if anyone else experienced incompatibility with sites > running > > IC and trying to view them in Netscape 4.7? > > It seems that the site simply comes up blank, notta, nothing on the screen > > at all. I have been asked if there is a work around to help these 4.2% of > > the general population be able to see the site without upgrading their > > browsers for free. Any Ideas?? > >Have you viewed the source code of the page ? NS don't like broken >tables. > Well, I went through both the construct and foundation demos at developer.akopia.com with Netscape 4.7 on Windows 98 - no problem. What OS are you using, and have you *modified* the demo? - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 12:08:00 2001 Subject: [ic] Netscape 4.7 and Interchange Quoting Scott Fletcher (scott@abcoa.com): > Yea, I have found this similar problem with the dissappearance of hte > shopping cart when using some pages like checkout. What so embarrasing is > that one of the employee at my company gave a demostration of the > Interchange software to the customer about the idea of using it for shopping > cart. We all noticed the disappearance of hte shopping cart and the wrong > webpage. Since then, we haven't heard from the customer. So, we're not > sure what is up with that. The cases where this happens are well documented, and almost always occur with a differing secure/non-secure domain. If you can document any cases where this happens with secure and non-secure hosts in the same domain (even the same .domain.com when the proper CookieDomain is set) then we will energetically fix them on a high-priority basis. Interchange doesn't support differing secure and non-secure domains. It is possible to make it work to a fair degree, the means to which do so I post on a monthly basis. But it is not supported, for it is too difficult to make work reliably in all situations. If someone can point me to another program which does this *without totally compromising user session security* then I would be happy to learn and implement changes. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson From: interchange-users at interchange.redhat.com (Garry) Date: Thu Aug 9 12:11:00 2001 Subject: [ic] Credit Card Encyption I would love to see a working example of the Catalog.cfg - I have tried many combinations, to no avail PGP version is 6.5.8, on Linux 6.2 This is what my catalog.cgf looks like on my most recent, non productive attempt: Please help me mend this......... .. #Variable COMPANY Whatever #Variable ENCRYPTOR ./pgp # Main route must be last to make default Route main attach 1 Route main credit_card 1 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 1 Route main encrypt_program '/home/whatever/pgp-6.5.8/./pgp -feast -a' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "username" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 0 Route main individual_track orders Route main track logs/tracking.asc Many Thanks - Garry ----- Original Message ----- From: "Michael Mangeng" <interchange@vis.at> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Thursday, August 09, 2001 3:02 PM Subject: Re: [ic] Credit Card Encyption > hmmmm.... as the most of you know, I`ve got the same problem... > Isn't there anywhere a brave knight who can help us ? :-) > > Please could anybody post at least a example which works... maybe this would > help... > i have no "pgpe" here.. only a "pgp" executeable.. > > thanx > mike > > ----- Original Message ----- > From: "Garry" <gazonice@yahoo.com> > To: <interchange-users@anthrax.interchange.redhat.com> > Sent: Tuesday, August 07, 2001 9:10 PM > Subject: [ic] Credit Card Encyption > > > > I have some, but not a lot, of progress: > > > > Trying to encrypt the Credit Card number on the report email: > > > > The emails arrive, with the Credit card line number missing - anyone have > > any idea what I am doing wrong? - does the report email need altering in > any > > way to enable CC encryption? > > > > I am using PGP6.5.8 on Linux 6.2 > > > > Any help would be gratefully appreciated. > > > > Gaz > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@lists.akopia.com > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Frank Maestas) Date: Thu Aug 9 12:13:00 2001 Subject: [ic] Are IC modules still needed? Hello, Going to try the Interchange 4.7.7.1 download. Are the following modules still required or are they included in the RPM packages? LWP::Simple MD5 MIME::Base64 SQL::Statement Safe::Hole Storable Tie::Watch URI::URL -- Thanks! Frank Maestas TTS Inc. / www.MyPlantsTraining.com fmaestas@ttseagle.com fmaestas@myplantstraining.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 9 12:15:01 2001 Subject: [ic] Customer login At 12:40 PM 08/07/2001 -0400, you wrote: >I have problems with my customers login. >When I login as Mike (upper case M) everything is working fine. >When I login as mike and go to service/tracking and click on an order I have >placed, I get this message: >Sorry, the page (special/user_violation) was not found > >I don't see any pages in the 4.7.7 package called user_violation. >How do I fix this? This sounds familiar. The special pages directory may not be set correctly. look for user_violation.html in CATROOT/yourcat/special_pages. If it is there, you need to modify the SpecialPage directive in your catalog.cfg to point the correct path: ../special_pages/user_violation.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 9 12:23:00 2001 Subject: [ic] value_extended patch for upload permissions At 07:54 PM 08/08/2001 -0700, you wrote: >Hi all, > >A while back there were a couple of postings to the mail list regarding >uploading of images, and their resulting permissions. >http://developer2.akopia.com/archive/interchange-users/2000/msg03435.html > >The problem he was (and I am) having is images uploaded to the server ended >up with a permission code of rw-rw--- ,forcing you to change permissions >after uploading to rw-rw-r-- in order to view the images. > >Then Stefan Hornburg posted a patch for that problem just a few weeks(days?) >later.... > >http://developer2.akopia.com/archive/interchange-users/2000/msg03708.html > >Description: This patch allows you to temporarily changing > > the umask for uploaded files. > > Motivation: My catalog directory usually contains a subdirectory > > images, where images for the Webserver are stored. > > With this patch, files can be uploaded with read > > permission for anyone. > > Future: If Mike likes it, this can be added to MiniVend > > with appropriate documentation supplied by > > me. > >I looked under documentation for tag value-extended and see nothing relating >to this patch, and also could find nothing further on the mail list. My >umask knowledge is limited so I am unsure as to how to apply this...? I >have added the patch code to Interpolate.pm and Util.pm , (This store is >Using MV 4.04 and Minimate). Can someone direct me on how to do this >correctly? > >THanks, > >Greg If you applied the patch correctly you should be able to do: [value-extended umask="nnn" ... ] ...where 'nnn' would be the umask for the permissions settings on the file; '022' should work for you. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Thompson) Date: Thu Aug 9 12:38:00 2001 Subject: [ic] Netscape 4.7 and Interchange Sure enough, My problem turned out to be a missing <TD> tag inside of a table definition. Once I fixed that the cart and other content appeared correctly on the checkout page. Imagine that :) Thanks for the tip. -Mike Thompson From: interchange-users at interchange.redhat.com (Sheamus Nulty) Date: Thu Aug 9 12:42:01 2001 Subject: [ic] Shipto Country and Currencies Could anybody enlighten me as to how I would do the following. I want to be able to change the country being shipped to based on the currency the customer has selected. If a customer is viewing everything in US dollars then when he checks out initially he should see that the country is set for US and that the shipping charges are correct. I have this working by just setting the DefaultShipping variable in catalog.cfg. Where I'm getting stuck is when the currency is say Sterling. I try to redefine the DefaultShipping shipping variable in the checkout page to set it to the UK but the checkout page still shows US. Thanks Sheamus From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 9 12:59:01 2001 Subject: [ic] Are IC modules still needed? "Frank Maestas" <fmaestas@ttseagle.com> writes: > Hello, > Going to try the Interchange 4.7.7.1 download. > Are the following modules still required or are they included in the RPM > packages? > > LWP::Simple > MD5 > MIME::Base64 > SQL::Statement > Safe::Hole > Storable > Tie::Watch > URI::URL No, they are not included. <shameless plug> [if value distribution eq Debian] apt-get install interchange interchange-ui interchange-cat-foundation [/if] </shameless plug> Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Thu Aug 9 13:38:01 2001 Subject: [ic] Netscape 4.7 and Interchange http://validator.w3.org/ I usually verify the base template (without any extra code) can pass validation before I build the other pages (cart, checkout flypage etc...) >Sure enough, > >My problem turned out to be a missing <TD> tag inside of a table definition. >Once I fixed that the cart and other content appeared correctly on the >checkout page. Imagine that :) > >Thanks for the tip. > >-Mike Thompson > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Aug 9 13:57:01 2001 Subject: [ic] Pricing Question At 08:49 AM 8/9/01, you wrote: >Good Morning Everyone, > >It's almost friday and I'm glad. I've got a question for the list. I >want to >implement a pricing scheme that will let me use the price field as a >Mfg. >Sugg. Retail Price for display only and use the price in quantity2(q2) >as >the actual price for all users. Has anyone done this? How can I set the >Q2 >price as the price to use for all regular users? > >Thanks, >Robert Robert, If you are going to use MSRP for display only, then why not leave the price field set to the actual price for the item, and simply display the MSRP field where needed? Kyle Cook From: interchange-users at interchange.redhat.com (Jason Timm) Date: Thu Aug 9 14:16:01 2001 Subject: [ic] Trouble in creating a new template / region >I copy templates/leftright to templates/sitemain, and change >ui_template_layout: to SITE_TOP, UI_CONTENT, SITE_BOTTOM >Then I copy LEFTRIGHT_TOP to SITE_TOP and LEFTRIGHT_BOTTOM to SITE_BOTTOM in >templates/regions >Change the template on the index page and save it. >When I load the page then, I see only the content that was entered in the >content box in the admin (one photo and the "Welcome to..." line). >The pages/index.html shows @_SITE_TOP_@ and @_SITE_BOTTOM_@ in the correct >places and the file looks just like it does when things are default and >everything works. When you create new templates (or clone old ones as the case may be), I think you need to define those in the catalog.cfg file. You can see where the other ones are defined - just do the same thing for your new ones... <snip>... ConfigDir templates/regions Variable NOLEFT_TOP <NOLEFT_TOP Variable NOLEFT_BOTTOM <NOLEFT_BOTTOM Variable LEFTRIGHT_TOP <LEFTRIGHT_TOP Variable LEFTRIGHT_BOTTOM <LEFTRIGHT_BOTTOM Variable LEFTONLY_TOP <LEFTONLY_TOP Variable LEFTONLY_BOTTOM <LEFTONLY_BOTTOM Variable SEL_LEFT_TOP <SEL_LEFT_TOP Variable SEL_LEFT_BOTTOM <SEL_LEFT_BOTTOM Variable SEL_ALL_TOP <SEL_ALL_TOP Variable SEL_ALL_BOTTOM <SEL_ALL_BOTTOM ConfigDir config #endif ## Use [include ...] with low traffic settings, file read every time ## template changes show up immediately this way ## TRAFFIC is defined in interchange.cfg ## #ifdef @TRAFFIC =~ /low/i Variable NOLEFT_TOP [include templates/regions/NOLEFT_TOP] Variable NOLEFT_BOTTOM [include templates/regions/NOLEFT_BOTTOM] Variable LEFTRIGHT_TOP [include templates/regions/LEFTRIGHT_TOP] Variable LEFTRIGHT_BOTTOM [include templates/regions/LEFTRIGHT_BOTTOM] Variable LEFTONLY_TOP [include templates/regions/LEFTONLY_TOP] Variable LEFTONLY_BOTTOM [include templates/regions/LEFTONLY_BOTTOM] Variable SEL_LEFT_TOP [include templates/regions/SEL_LEFT_TOP] Variable SEL_LEFT_BOTTOM [include templates/regions/SEL_LEFT_BOTTOM] Variable SEL_ALL_TOP [include templates/regions/SEL_ALL_TOP] Variable SEL_ALL_BOTTOM [include templates/regions/SEL_ALL_BOTTOM] #endif ...<snip> Jason Timm Intuitive Technologies jason@itchoices.com From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Aug 9 15:03:00 2001 Subject: [ic] Netscape 4.7 and Interchange At 09:06 AM 8/9/01, you wrote: >Quoting Scott Fletcher (scott@abcoa.com): > > Yea, I have found this similar problem with the dissappearance of hte > > shopping cart when using some pages like checkout. What so embarrasing is > > that one of the employee at my company gave a demostration of the > > Interchange software to the customer about the idea of using it for > shopping > > cart. We all noticed the disappearance of hte shopping cart and the wrong > > webpage. Since then, we haven't heard from the customer. So, we're not > > sure what is up with that. > >The cases where this happens are well documented, and almost always >occur with a differing secure/non-secure domain. If you can document >any cases where this happens with secure and non-secure hosts in the >same domain (even the same .domain.com when the proper CookieDomain >is set) then we will energetically fix them on a high-priority basis. > >Interchange doesn't support differing secure and non-secure domains. >It is possible to make it work to a fair degree, the means to which >do so I post on a monthly basis. But it is not supported, for it is >too difficult to make work reliably in all situations. > >If someone can point me to another program which does this *without >totally compromising user session security* then I would be happy to >learn and implement changes. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> I don't know of a way to cover this situation in IC, but maybe this can be handled via an outside cgi script: basically call the cgi from within ic page(s) (before they ever get to go to secure server) like this: <img src="https://www.securedomain.com/cgi-bin/cookie.pl?id=[data session id]"> and have the script simply place an "IC" cookie for this secure domain using the passed id value as the session id, then simply return a 1 pixel clear spacer.gif I know that this method can set a cookie for the secure domain, so theoretically it *SHOULD* then allow the secure pages to recognize the user when they enter. The trick is you MUST hit this image tag at least once in navigating the non-secure pages BEFORE hitting a secure page... Hope someone can use this idea and let the list know if it works. Kyle Cook From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Aug 9 15:13:01 2001 Subject: [ic] Credit Card Encyption Here is the relevant info from a catalog that is working in live mode right now. ENCRYPTOR is defined as: /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null in my variables table. The contents of my pgp wrapper named 'pgp_shell.sh' is: PGPPATH=/home/minivend/.pgp; export PGPPATH /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 And the route in catalog.cfg: Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '__ENCRYPTOR__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Good luck! -Ron > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Garry > Sent: Thursday, August 09, 2001 9:11 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Credit Card Encyption > > I would love to see a working example of the Catalog.cfg - I have tried > many > combinations, to no avail > > > PGP version is 6.5.8, on Linux 6.2 > > This is what my catalog.cgf looks like on my most recent, non productive > attempt: > > Please help me mend this......... .. > > #Variable COMPANY Whatever > #Variable ENCRYPTOR ./pgp > > # Main route must be last to make default > Route main attach 1 > Route main credit_card 1 > Route main cybermode "" > Route main default 1 > Route main email '__ORDERS_TO__' > Route main encrypt 1 > Route main encrypt_program > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > Route main errors_to '__ORDERS_TO__' > Route main increment 0 > Route main pgp_cc_key "username" > Route main pgp_key "" > Route main receipt etc/receipt.html > Route main report etc/report > Route main supplant 0 > Route main individual_track orders > Route main track logs/tracking.asc > > Many Thanks - Garry > > > > ----- Original Message ----- > From: "Michael Mangeng" <interchange@vis.at> > To: <interchange-users@anthrax.interchange.redhat.com> > Sent: Thursday, August 09, 2001 3:02 PM > Subject: Re: [ic] Credit Card Encyption > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > Isn't there anywhere a brave knight who can help us ? :-) > > > > Please could anybody post at least a example which works... maybe this > would > > help... > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > thanx > > mike > > > > ----- Original Message ----- > > From: "Garry" <gazonice@yahoo.com> > > To: <interchange-users@anthrax.interchange.redhat.com> > > Sent: Tuesday, August 07, 2001 9:10 PM > > Subject: [ic] Credit Card Encyption > > > > > > > I have some, but not a lot, of progress: > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > The emails arrive, with the Credit card line number missing - anyone > have > > > any idea what I am doing wrong? - does the report email need altering > in > > any > > > way to enable CC encryption? > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > Any help would be gratefully appreciated. > > > > > > Gaz > > > > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@lists.akopia.com > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Aug 9 15:28:00 2001 Subject: [ic] Credit Card Encyption Just out of curiousity, what do you have CreditCardAuto set to? And did you comment out the CYBEr_MODE def? And are you using the minivend_test payment mode? I am going crazy with this at the moment :/ thanks .cfg On Thu, 9 Aug 2001, Ron Phipps wrote: > Here is the relevant info from a catalog that is working in live mode > right now. ENCRYPTOR is defined as: > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > in my variables table. The contents of my pgp wrapper named > 'pgp_shell.sh' is: > > PGPPATH=/home/minivend/.pgp; export PGPPATH > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > And the route in catalog.cfg: > > Route main attach 0 > Route main credit_card 0 > Route main cybermode "" > Route main default 1 > Route main email '__ORDERS_TO__' > Route main encrypt 0 > Route main encrypt_program '__ENCRYPTOR__' > Route main errors_to '__ORDERS_TO__' > Route main increment 0 > Route main pgp_cc_key "" > Route main pgp_key "" > Route main receipt etc/receipt.html > Route main report etc/report > Route main supplant 1 > Route main individual_track orders > Route main track logs/tracking.asc > > Good luck! > -Ron > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of Garry > > Sent: Thursday, August 09, 2001 9:11 AM > > To: interchange-users@interchange.redhat.com > > Subject: Re: [ic] Credit Card Encyption > > > > I would love to see a working example of the Catalog.cfg - I have > tried > > many > > combinations, to no avail > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > This is what my catalog.cgf looks like on my most recent, non > productive > > attempt: > > > > Please help me mend this......... .. > > > > #Variable COMPANY Whatever > > #Variable ENCRYPTOR ./pgp > > > > # Main route must be last to make default > > Route main attach 1 > > Route main credit_card 1 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 1 > > Route main encrypt_program > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > Route main errors_to '__ORDERS_TO__' > > Route main increment 0 > > Route main pgp_cc_key "username" > > Route main pgp_key "" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 0 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > Many Thanks - Garry > > > > > > > > ----- Original Message ----- > > From: "Michael Mangeng" <interchange@vis.at> > > To: <interchange-users@anthrax.interchange.redhat.com> > > Sent: Thursday, August 09, 2001 3:02 PM > > Subject: Re: [ic] Credit Card Encyption > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > Please could anybody post at least a example which works... maybe > this > > would > > > help... > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > thanx > > > mike > > > > > > ----- Original Message ----- > > > From: "Garry" <gazonice@yahoo.com> > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > The emails arrive, with the Credit card line number missing - > anyone > > have > > > > any idea what I am doing wrong? - does the report email need > altering > > in > > > any > > > > way to enable CC encryption? > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > Gaz > > > > > > > > > > > > _________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@lists.akopia.com > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 9 15:38:00 2001 Subject: [ic] Calling all search gurus Hi all - Using IC 4.6.5 with MySQL. Need to do a form-based search, something like this: mv_search_field="field1,field2,field3,field4" mv_searchspec="foo" mv_search_field="field5" mv_searchspec="1" I need to find all products which have /foo/ in any of the corresponding fields, AND do not have '1' in the other field. I thought this would be a simple coordinated search: <input type=hidden name=mv_searchtype value=db> <input type=hidden name=mv_coordinate value=yes> <input type=hidden name=mv_search_field value="field1,field2,field3,field4"> <input type=text name=mv_searchspec value="foo"> <input type=hidden name=mv_column_op value=rm> <input type=hidden name=mv_numeric value=0> <input type=hidden name=mv_search_field value="field5"> <input type=hidden name=mv_searchspec value=1> <input type=hidden name=mv_column_op value="!="> <input type=hidden name=mv_numeric value=1> ..but it does not work. The problem is the multiple search fields in the first group - if I search just one field, it works fine - multiple fields completely break the search. Somehow I need to tell IC that "foo" in field1 OR field2 OR ... etc. is acceptable for the first group - it appears to be applying 'AND' logic to the list of fields instead. Perhaps this can be done with an SQL statement? But I would rather not rely on searching products.txt, I prefer to search the db directly. Thanks in advance for any suggestions! - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 16:06:01 2001 Subject: [ic] Netscape 4.7 and Interchange Quoting Kyle Cook (kyle@invisio.com): > I don't know of a way to cover this situation in IC, but maybe > this can be handled via an outside cgi script: > > basically call the cgi from within ic page(s) (before they ever get to > go to secure server) like this: > > <img src="https://www.securedomain.com/cgi-bin/cookie.pl?id=[data session id]"> > > and have the script simply place an "IC" cookie for this secure domain > using the passed id value as the session id, then simply return a 1 pixel > clear spacer.gif > > I know that this method can set a cookie for the secure domain, so > theoretically it *SHOULD* then allow the secure pages to recognize > the user when they enter. > > The trick is you MUST hit this image tag at least once in navigating > the non-secure pages BEFORE hitting a secure page... > > Hope someone can use this idea and let the list know if it works. We can do this now, but the problem comes when there is a proxy server for HTTP and not for HTTPS. The source IP address is different, and therefore the IP address resolves different, and the id is rejected. If you use "WideOpen Yes" this might work well. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> If you think nobody cares if you're alive, try missing a couple of car payments. -- Earl Wilson From: interchange-users at interchange.redhat.com (Ton Verhagen) Date: Thu Aug 9 16:44:01 2001 Subject: [ic] Calling all search gurus Quoting Ed LaFrance (edl@newmediaems.com): >mv_search_field="field1,field2,field3,field4" >mv_searchspec="foo" > >mv_search_field="field5" >mv_searchspec="1" > >I need to find all products which have /foo/ in any of the corresponding >fields, AND do not have '1' in the other field. I thought this would be a >simple coordinated search: Ed I got this code in an old construct demo running IC4.6.4 and it runs okay. <FORM ACTION="http://www.yourdomain.com/cgi-bin/construct/search.html?mv_pc=556"> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_search_file VALUE=products> <INPUT TYPE=hidden NAME=mv_substring_match VALUE=1> <INPUT TYPE=hidden NAME=mv_substring_match VALUE=1> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_field VALUE=inactive> <INPUT TYPE=hidden NAME=mv_search_field VALUE=":*"> <INPUT TYPE=hidden NAME=mv_column_op VALUE=ne> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1> <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10> I'm sure you could change this around to fit your needs. Good luck. Ton From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Aug 9 17:08:02 2001 Subject: [ic] Credit Card Encyption > Just out of curiousity, what do you have CreditCardAuto set to? And did > you comment out the CYBEr_MODE def? And are you using the minivend_test > payment mode? I am going crazy with this at the moment :/ > > thanks > .cfg > Variable MV_PAYMENT_MODE custom signio CreditCardAuto No Cybermode is set to "" in each route. I removed the ifdef cybermode code to clean up the config file a bit. Let me know if you need more information. -Ron P.S. Have you tried outputting the PGP call to a text file to see what it is doing when IC calls it? Is the user's public key in the keyring for the user that runs IC? > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > Here is the relevant info from a catalog that is working in live mode > > right now. ENCRYPTOR is defined as: > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > in my variables table. The contents of my pgp wrapper named > > 'pgp_shell.sh' is: > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > And the route in catalog.cfg: > > > > Route main attach 0 > > Route main credit_card 0 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 0 > > Route main encrypt_program '__ENCRYPTOR__' > > Route main errors_to '__ORDERS_TO__' > > Route main increment 0 > > Route main pgp_cc_key "" > > Route main pgp_key "" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 1 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > Good luck! > > -Ron > > > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange- > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > Sent: Thursday, August 09, 2001 9:11 AM > > > To: interchange-users@interchange.redhat.com > > > Subject: Re: [ic] Credit Card Encyption > > > > > > I would love to see a working example of the Catalog.cfg - I have > > tried > > > many > > > combinations, to no avail > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > This is what my catalog.cgf looks like on my most recent, non > > productive > > > attempt: > > > > > > Please help me mend this......... .. > > > > > > #Variable COMPANY Whatever > > > #Variable ENCRYPTOR ./pgp > > > > > > # Main route must be last to make default > > > Route main attach 1 > > > Route main credit_card 1 > > > Route main cybermode "" > > > Route main default 1 > > > Route main email '__ORDERS_TO__' > > > Route main encrypt 1 > > > Route main encrypt_program > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > Route main errors_to '__ORDERS_TO__' > > > Route main increment 0 > > > Route main pgp_cc_key "username" > > > Route main pgp_key "" > > > Route main receipt etc/receipt.html > > > Route main report etc/report > > > Route main supplant 0 > > > Route main individual_track orders > > > Route main track logs/tracking.asc > > > > > > Many Thanks - Garry > > > > > > > > > > > > ----- Original Message ----- > > > From: "Michael Mangeng" <interchange@vis.at> > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > Sent: Thursday, August 09, 2001 3:02 PM > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > Please could anybody post at least a example which works... maybe > > this > > > would > > > > help... > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > thanx > > > > mike > > > > > > > > ----- Original Message ----- > > > > From: "Garry" <gazonice@yahoo.com> > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > anyone > > > have > > > > > any idea what I am doing wrong? - does the report email need > > altering > > > in > > > > any > > > > > way to enable CC encryption? > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > Gaz > > > > > > > > > > > > > > > _________________________________________________________ > > > > > Do You Yahoo!? > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@lists.akopia.com > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 9 17:18:00 2001 Subject: [ic] admin ui problems (Unable to archive/delete) customer or order Hello all, I have a problem with being able to archive/unarchive orders, and ativate/deactivate customers through the admin UI. Users If you click on the arrow to deactivate, or click the checkbox, then click deactivate, the UI doesn't reflect the changes. It's updates in the DB (IE inactive in the userdb gets changed from 0 to 1) The UI will always show that its an active customer. Orders Either way you try to archive an order, it doesn't do it, it doesn't change archive value in (transactions)to 1 from 0. If you change it manually, (psql ) Then the UI reflects the change, but you cannot un-archive it without changing it manually either. There aren't any errors being reported in catalogdir/error.log, or /path/to/interchange/error.log I'm using Redhat 7.1, postgres 7.1.2, IC 4.8.1, latest Bundle::Interchange. Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Garry) Date: Thu Aug 9 17:42:01 2001 Subject: [ic] Credit Card Encyption The best result I have been able to achieve to date is getting a pgptemp.xx file in the IC root directory. I am pretty sure PGP is working ok, the documentation packed with PGP 6.5.8 is not up to date. Thanks for showing us your config.cfg I will modify mine further to see if I can improve the chances. If anyone who is having problems now, sorts it out - will you let me know? I'll do the same Garry ----- Original Message ----- From: "Ron Phipps" <rphipps@reliant-solutions.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, August 09, 2001 10:06 PM Subject: RE: [ic] Credit Card Encyption > > Just out of curiousity, what do you have CreditCardAuto set to? And > did > > you comment out the CYBEr_MODE def? And are you using the > minivend_test > > payment mode? I am going crazy with this at the moment :/ > > > > thanks > > .cfg > > > > Variable MV_PAYMENT_MODE custom signio > CreditCardAuto No > > Cybermode is set to "" in each route. I removed the ifdef cybermode > code to clean up the config file a bit. > > Let me know if you need more information. > -Ron > > P.S. Have you tried outputting the PGP call to a text file to see what > it is doing when IC calls it? Is the user's public key in the keyring > for the user that runs IC? > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > Here is the relevant info from a catalog that is working in live > mode > > > right now. ENCRYPTOR is defined as: > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > in my variables table. The contents of my pgp wrapper named > > > 'pgp_shell.sh' is: > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > And the route in catalog.cfg: > > > > > > Route main attach 0 > > > Route main credit_card 0 > > > Route main cybermode "" > > > Route main default 1 > > > Route main email '__ORDERS_TO__' > > > Route main encrypt 0 > > > Route main encrypt_program '__ENCRYPTOR__' > > > Route main errors_to '__ORDERS_TO__' > > > Route main increment 0 > > > Route main pgp_cc_key "" > > > Route main pgp_key "" > > > Route main receipt etc/receipt.html > > > Route main report etc/report > > > Route main supplant 1 > > > Route main individual_track orders > > > Route main track logs/tracking.asc > > > > > > Good luck! > > > -Ron > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange- > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > To: interchange-users@interchange.redhat.com > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > tried > > > > many > > > > combinations, to no avail > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > productive > > > > attempt: > > > > > > > > Please help me mend this......... .. > > > > > > > > #Variable COMPANY Whatever > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > # Main route must be last to make default > > > > Route main attach 1 > > > > Route main credit_card 1 > > > > Route main cybermode "" > > > > Route main default 1 > > > > Route main email '__ORDERS_TO__' > > > > Route main encrypt 1 > > > > Route main encrypt_program > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > Route main errors_to '__ORDERS_TO__' > > > > Route main increment 0 > > > > Route main pgp_cc_key "username" > > > > Route main pgp_key "" > > > > Route main receipt etc/receipt.html > > > > Route main report etc/report > > > > Route main supplant 0 > > > > Route main individual_track orders > > > > Route main track logs/tracking.asc > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > Please could anybody post at least a example which works... > maybe > > > this > > > > would > > > > > help... > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > thanx > > > > > mike > > > > > > > > > > ----- Original Message ----- > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > anyone > > > > have > > > > > > any idea what I am doing wrong? - does the report email need > > > altering > > > > in > > > > > any > > > > > > way to enable CC encryption? > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@lists.akopia.com > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 9 17:54:01 2001 Subject: [ic] Calling all search gurus At 12:38 PM 8/9/2001 -0700, you wrote: >Hi all - > >Using IC 4.6.5 with MySQL. Need to do a form-based search, something like >this: > >mv_search_field="field1,field2,field3,field4" >mv_searchspec="foo" > >mv_search_field="field5" >mv_searchspec="1" > >I need to find all products which have /foo/ in any of the corresponding >fields, AND do not have '1' in the other field. I thought this would be a >simple coordinated search: > ><input type=hidden name=mv_searchtype value=db> ><input type=hidden name=mv_coordinate value=yes> > ><input type=hidden name=mv_search_field value="field1,field2,field3,field4"> ><input type=text name=mv_searchspec value="foo"> ><input type=hidden name=mv_column_op value=rm> ><input type=hidden name=mv_numeric value=0> > ><input type=hidden name=mv_search_field value="field5"> ><input type=hidden name=mv_searchspec value=1> ><input type=hidden name=mv_column_op value="!="> ><input type=hidden name=mv_numeric value=1> > >..but it does not work. The problem is the multiple search fields in the >first group - if I search just one field, it works fine - multiple fields >completely break the search. Somehow I need to tell IC that "foo" in >field1 OR field2 OR ... etc. is acceptable for the first group - it >appears to be applying 'AND' logic to the list of fields instead. > >Perhaps this can be done with an SQL statement? But I would rather not >rely on searching products.txt, I prefer to search the db directly. > >Thanks in advance for any suggestions! > >- Ed L. I wasn't sure what you meant by: >But I would rather not rely on searching products.txt, I prefer to search the db directly. You must be referring to: 4.5. Specifying a Text-Based Search with SQL-Like Syntax ( http://ic.redhat.com/cgi-bin/ic/dev/icdatabase_26.html ) I think a better solution then either of the above is to simply collect the <input> on the first page and do a [query] in mv_nextpage. Anyone else have a suggestion? Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Aug 9 18:26:00 2001 Subject: [ic] Calling all search gurus On Thu, Aug 09, 2001 at 12:38:30PM -0700, Ed LaFrance wrote: > Hi all - > > Using IC 4.6.5 with MySQL. Need to do a form-based search, something like > this: > > mv_search_field="field1,field2,field3,field4" > mv_searchspec="foo" > > mv_search_field="field5" > mv_searchspec="1" > > I need to find all products which have /foo/ in any of the corresponding > fields, AND do not have '1' in the other field. I thought this would be a > simple coordinated search: > > <input type=hidden name=mv_searchtype value=db> > <input type=hidden name=mv_coordinate value=yes> > > <input type=hidden name=mv_search_field value="field1,field2,field3,field4"> > <input type=text name=mv_searchspec value="foo"> > <input type=hidden name=mv_column_op value=rm> > <input type=hidden name=mv_numeric value=0> > > <input type=hidden name=mv_search_field value="field5"> > <input type=hidden name=mv_searchspec value=1> > <input type=hidden name=mv_column_op value="!="> > <input type=hidden name=mv_numeric value=1> > > ..but it does not work. The problem is the multiple search fields in the > first group - if I search just one field, it works fine - multiple fields > completely break the search. Somehow I need to tell IC that "foo" in > field1 OR field2 OR ... etc. is acceptable for the first group - it appears > to be applying 'AND' logic to the list of fields instead. > > Perhaps this can be done with an SQL statement? But I would rather not rely > on searching products.txt, I prefer to search the db directly. > Leaving aside length of fields, indexing and so forth.... It sounds like an expensive and time consuming search. What we've started doing of late is dumping sql db to a formatted *.tab field and indexing that with glimpse. Then we log the queries and cache the result sets. (Those get periodically wiped; next step is to trigger rebuild of common queries.) The preformatting cuts down processing/rendering/JOIN time. If a result set exists, use it, else build it. You could preformat your dumps anyway you want, as final output or an intermediate. Then it is a relatively small perl script to pull in the result. Someone else might know more than I about developments in indexing text in RDBMS. It's my understanding that it's just not one of the things a typical RDBMS is good at. cfm > Thanks in advance for any suggestions! > > - Ed L. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 9 18:32:00 2001 Subject: [ic] Calling all search gurus At 12:38 PM 8/9/2001 -0700, you wrote: >Hi all - > >Using IC 4.6.5 with MySQL. Need to do a form-based search, something like >this: > >mv_search_field="field1,field2,field3,field4" >mv_searchspec="foo" > >mv_search_field="field5" >mv_searchspec="1" > >I need to find all products which have /foo/ in any of the corresponding >fields, AND do not have '1' in the other field. I thought this would be a >simple coordinated search: > ><input type=hidden name=mv_searchtype value=db> ><input type=hidden name=mv_coordinate value=yes> > ><input type=hidden name=mv_search_field value="field1,field2,field3,field4"> ><input type=text name=mv_searchspec value="foo"> ><input type=hidden name=mv_column_op value=rm> ><input type=hidden name=mv_numeric value=0> > ><input type=hidden name=mv_search_field value="field5"> ><input type=hidden name=mv_searchspec value=1> ><input type=hidden name=mv_column_op value="!="> ><input type=hidden name=mv_numeric value=1> > >..but it does not work. The problem is the multiple search fields in the >first group - if I search just one field, it works fine - multiple fields >completely break the search. Somehow I need to tell IC that "foo" in >field1 OR field2 OR ... etc. is acceptable for the first group - it >appears to be applying 'AND' logic to the list of fields instead. > >Perhaps this can be done with an SQL statement? But I would rather not >rely on searching products.txt, I prefer to search the db directly. > >Thanks in advance for any suggestions! > >- Ed L. OK. Let me give this another shot. :-) Mike Heins helped me with this exact same thing a while ago ( http://developer2.akopia.com/archive/interchange-users/2001/msg04164.html ). mv_coordinate=yes mv_search_field=field5 mv_searchspec=1 mv_search_group=0 mv_orsearch=0 mv_column_op=!= mv_search_relate=1 AND 2 <!--and--> mv_search_field=field1 mv_column_op=rm mv_searchspec=foo mv_search_group=1 mv_orsearch=1 <!-- or --> mv_search_field=field2 mv_column_op=rm mv_searchspec=foo mv_search_group=1 mv_orsearch=1 <!-- or --> mv_search_field=field3 mv_column_op=rm mv_searchspec=foo mv_search_group=1 mv_orsearch=1 You can even do the above in 4.7 with less verboseness, but hopefully that will get you started (Though I still personally prefer SQL). HAND, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 9 18:36:00 2001 Subject: [ic] update admin ui problems (Unable to archive/delete) customer Hello all, I have a problem with being able to archive/unarchive orders, and activate/deactivate customers through the admin UI. Users If you click on the arrow to deactivate, or click the checkbox, then click deactivate, the UI doesn't reflect the changes. It's updates in the DB (IE inactive in the userdb gets changed from 0 to 1) The UI will always show that its an active customer. Orders Either way you try to archive an order, it doesn't do it, it doesn't change archive value in (transactions)to 1 from 0. If you change it manually, (psql ) Then the UI reflects the change, but you cannot un-archive it without changing it manually either. There aren't any errors being reported in catalogdir/error.log, or /path/to/interchange/error.log I'm using Redhat 7.1 (clean install, as it is supposed to be dedicated), postgres 7.1.2, IC 4.8.1, latest Bundle::Interchange. <!-----------UPDATED INFO ---------------------> I have created a new demo catalog from scratch on the same server. Added a virtual host, and installed it there. Using postgres again. I have the exact same problem. This makes three physically different machines, running various different versions of redhat, and three different versions of postgres now, that I've had this same problem on. Again, no error messages in either error.log files. If I create yet another demo catalog, this time using gdbm, then the Customer section activates, and de-activates properly, but the order section still displays the same problem Still no errors in log files. <!-- /UPDATED INFO---------------------------> Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Thu Aug 9 18:39:00 2001 Subject: [ic] Calling all search gurus I knew I had run into this situation before. Jon Jensen reminded me of the solution :) For multi-field searches of the same "spec", you prepend them with a colon. <input type=hidden name=mv_search_field value=":field1:field2:field3:field4"> <input type=hidden name=mv_searchspec value="foo"> .. .. Obviously, the ":*" stuff is just a wildcard expansion of this to all fields. Give it a whirl. Mark Ed LaFrance wrote: > > Hi all - > > Using IC 4.6.5 with MySQL. Need to do a form-based search, something like > this: > > mv_search_field="field1,field2,field3,field4" > mv_searchspec="foo" > > mv_search_field="field5" > mv_searchspec="1" > > I need to find all products which have /foo/ in any of the corresponding > fields, AND do not have '1' in the other field. I thought this would be a > simple coordinated search: > > <input type=hidden name=mv_searchtype value=db> > <input type=hidden name=mv_coordinate value=yes> > > <input type=hidden name=mv_search_field value="field1,field2,field3,field4"> > <input type=text name=mv_searchspec value="foo"> > <input type=hidden name=mv_column_op value=rm> > <input type=hidden name=mv_numeric value=0> > > <input type=hidden name=mv_search_field value="field5"> > <input type=hidden name=mv_searchspec value=1> > <input type=hidden name=mv_column_op value="!="> > <input type=hidden name=mv_numeric value=1> > > ..but it does not work. The problem is the multiple search fields in the > first group - if I search just one field, it works fine - multiple fields > completely break the search. Somehow I need to tell IC that "foo" in > field1 OR field2 OR ... etc. is acceptable for the first group - it appears > to be applying 'AND' logic to the list of fields instead. > > Perhaps this can be done with an SQL statement? But I would rather not rely > on searching products.txt, I prefer to search the db directly. > > Thanks in advance for any suggestions! > > - Ed L. > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 18:52:01 2001 Subject: [ic] Calling all search gurus Quoting Ed LaFrance (edl@newmediaems.com): > Hi all - > > Using IC 4.6.5 with MySQL. Need to do a form-based search, something like > this: > > mv_search_field="field1,field2,field3,field4" > mv_searchspec="foo" > > mv_search_field="field5" > mv_searchspec="1" > > I need to find all products which have /foo/ in any of the corresponding > fields, AND do not have '1' in the other field. I thought this would be a > simple coordinated search: > > <input type=hidden name=mv_searchtype value=db> > <input type=hidden name=mv_coordinate value=yes> > > <input type=hidden name=mv_search_field value="field1,field2,field3,field4"> > <input type=text name=mv_searchspec value="foo"> > <input type=hidden name=mv_column_op value=rm> > <input type=hidden name=mv_numeric value=0> > > <input type=hidden name=mv_search_field value="field5"> > <input type=hidden name=mv_searchspec value=1> > <input type=hidden name=mv_column_op value="!="> > <input type=hidden name=mv_numeric value=1> > > ..but it does not work. The problem is the multiple search fields in the > first group - if I search just one field, it works fine - multiple fields > completely break the search. Somehow I need to tell IC that "foo" in > field1 OR field2 OR ... etc. is acceptable for the first group - it appears > to be applying 'AND' logic to the list of fields instead. > > Perhaps this can be done with an SQL statement? But I would rather not rely > on searching products.txt, I prefer to search the db directly. Can't really be done with 4.6.x other than a hack which kills performance, or by manually counting the index position of the fields and doing: <input type=hidden name=mv_search_field value=":4:6:7:8"> Shades of Minivend 2. If you are waiting for a reason to update to 4.8, that would be it, for you can do: <input type=hidden name=mv_search_field value=":field1:field2:field3:field4"> > > Thanks in advance for any suggestions! > > - Ed L. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 19:55:00 2001 Subject: [ic] admin ui problems (Unable to archive/delete) customer or order Quoting Brian Kosick (briank@nacs.net): > Hello all, I have a problem with being able to archive/unarchive orders, > and ativate/deactivate customers through the admin UI. > > Users > If you click on the arrow to deactivate, or click the checkbox, then click > deactivate, the UI doesn't reflect the changes. It's updates in the DB (IE > inactive in the userdb gets changed from 0 to 1) The UI will always show > that its an active customer. > > Orders > Either way you try to archive an order, it doesn't do it, it doesn't change > archive value in (transactions)to 1 from 0. If you change it manually, > (psql ) Then the UI reflects the change, but you cannot un-archive it > without changing it manually either. > > There aren't any errors being reported in catalogdir/error.log, or > /path/to/interchange/error.log > > I'm using Redhat 7.1, postgres 7.1.2, IC 4.8.1, latest Bundle::Interchange. I think probably you have some archived fields which are null. Verify that with: select order_number from transactions where archived is null; If that returns rows you need to do: update transactions set archived = '0' where isnull(archived); You may need to set it to 0 explicitly in log_transaction (which is done in latest foundation). If you installed the demo from that and had the problem, something else is going on and we need to fix it. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 9 20:07:00 2001 Subject: [ic] Calling all search gurus At 05:54 PM 08/09/2001 -0400, you wrote: >Quoting Ed LaFrance (edl@newmediaems.com): > > Hi all - > > > > Using IC 4.6.5 with MySQL. Need to do a form-based search, something like > > this: > > > > mv_search_field="field1,field2,field3,field4" > > mv_searchspec="foo" > > > > mv_search_field="field5" > > mv_searchspec="1" > > > > I need to find all products which have /foo/ in any of the corresponding > > fields, AND do not have '1' in the other field. I thought this would be a > > simple coordinated search: > > > > <input type=hidden name=mv_searchtype value=db> > > <input type=hidden name=mv_coordinate value=yes> > > > > <input type=hidden name=mv_search_field > value="field1,field2,field3,field4"> > > <input type=text name=mv_searchspec value="foo"> > > <input type=hidden name=mv_column_op value=rm> > > <input type=hidden name=mv_numeric value=0> > > > > <input type=hidden name=mv_search_field value="field5"> > > <input type=hidden name=mv_searchspec value=1> > > <input type=hidden name=mv_column_op value="!="> > > <input type=hidden name=mv_numeric value=1> > > > > ..but it does not work. The problem is the multiple search fields in the > > first group - if I search just one field, it works fine - multiple fields > > completely break the search. Somehow I need to tell IC that "foo" in > > field1 OR field2 OR ... etc. is acceptable for the first group - it > appears > > to be applying 'AND' logic to the list of fields instead. > > > > Perhaps this can be done with an SQL statement? But I would rather not > rely > > on searching products.txt, I prefer to search the db directly. > >Can't really be done with 4.6.x other than a hack which kills performance, >or by manually counting the index position of the fields and doing: > > <input type=hidden name=mv_search_field value=":4:6:7:8"> Not pretty, but it works for now, and the structure of the products table is not something which changes frequently. Thanks, Mike! - Ed L. >Shades of Minivend 2. > >If you are waiting for a reason to update to 4.8, that would be it, for >you can do: > > <input type=hidden name=mv_search_field > value=":field1:field2:field3:field4"> > > > > > Thanks in advance for any suggestions! > > > > - Ed L. > > > > > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >Nature, to be commanded, must be obeyed. -- Francis Bacon >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Aug 9 20:12:01 2001 Subject: [ic] Credit Card Encyption I think part of my problem may be that pgp isn't working for some reason. I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so I have a different binary. emails are changed to avoid spam. $ export PGPPATH=/home/ic/.pgp/ $ cat /etc/issue | pgp -fate professional@ced.tld Pretty Good Privacy(tm) Version 6.5.8 (c) 1999 Network Associates Inc. Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. Export of this software may be restricted by the U.S. government. received signal 11 Is there a reason why this would fail? The docs for 4.8 show pgp -feat as the default for ENCRYPTOR... The key is on my keyring, $ pgp -kv Type bits keyID Date User ID DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs <professional@ced.tld> 1 matching key found. The error (shown in red ;) is Credit Card Information (Credit card encryption failed: ) $cat /usr/bin/pgp_shell.sh #!/bin/sh PGPPATH=/home/ic/.pgp; export PGPPATH /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 and from my catalog.cfg Variable MV_PAYMENT_MODE minivend_test CreditCardAuto No CyberCash No EncryptProgram __ENCRYPTOR__ Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '/usr/bin/pgp_shell.sh -fate professional@ced.tld 2>/dev/null' Route main errors_to 'cgilmore@dln.tld' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "0xE1AB9BC5" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 0 Route main individual_track orders Route main track logs/tracking.asc # i have different email addresses here for debugging I've also tried setting the ENCRYPTOR variable and using that everywhere, and setting it to pgp -feat as suggested in the ic docs. Always though, it fails. If i get rid of the encryptor variable (or delete the values for encrypt_program) it sends me an unencrypted email, with my CC info. any ideas? .cfg On Thu, 9 Aug 2001, Ron Phipps wrote: > > Just out of curiousity, what do you have CreditCardAuto set to? And > did > > you comment out the CYBEr_MODE def? And are you using the > minivend_test > > payment mode? I am going crazy with this at the moment :/ > > > > thanks > > .cfg > > > > Variable MV_PAYMENT_MODE custom signio > CreditCardAuto No > > Cybermode is set to "" in each route. I removed the ifdef cybermode > code to clean up the config file a bit. > > Let me know if you need more information. > -Ron > > P.S. Have you tried outputting the PGP call to a text file to see what > it is doing when IC calls it? Is the user's public key in the keyring > for the user that runs IC? > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > Here is the relevant info from a catalog that is working in live > mode > > > right now. ENCRYPTOR is defined as: > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > in my variables table. The contents of my pgp wrapper named > > > 'pgp_shell.sh' is: > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > And the route in catalog.cfg: > > > > > > Route main attach 0 > > > Route main credit_card 0 > > > Route main cybermode "" > > > Route main default 1 > > > Route main email '__ORDERS_TO__' > > > Route main encrypt 0 > > > Route main encrypt_program '__ENCRYPTOR__' > > > Route main errors_to '__ORDERS_TO__' > > > Route main increment 0 > > > Route main pgp_cc_key "" > > > Route main pgp_key "" > > > Route main receipt etc/receipt.html > > > Route main report etc/report > > > Route main supplant 1 > > > Route main individual_track orders > > > Route main track logs/tracking.asc > > > > > > Good luck! > > > -Ron > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange- > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > To: interchange-users@interchange.redhat.com > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > tried > > > > many > > > > combinations, to no avail > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > productive > > > > attempt: > > > > > > > > Please help me mend this......... .. > > > > > > > > #Variable COMPANY Whatever > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > # Main route must be last to make default > > > > Route main attach 1 > > > > Route main credit_card 1 > > > > Route main cybermode "" > > > > Route main default 1 > > > > Route main email '__ORDERS_TO__' > > > > Route main encrypt 1 > > > > Route main encrypt_program > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > Route main errors_to '__ORDERS_TO__' > > > > Route main increment 0 > > > > Route main pgp_cc_key "username" > > > > Route main pgp_key "" > > > > Route main receipt etc/receipt.html > > > > Route main report etc/report > > > > Route main supplant 0 > > > > Route main individual_track orders > > > > Route main track logs/tracking.asc > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > Please could anybody post at least a example which works... > maybe > > > this > > > > would > > > > > help... > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > thanx > > > > > mike > > > > > > > > > > ----- Original Message ----- > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > anyone > > > > have > > > > > > any idea what I am doing wrong? - does the report email need > > > altering > > > > in > > > > > any > > > > > > way to enable CC encryption? > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@lists.akopia.com > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > _________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Aug 9 20:15:00 2001 Subject: [ic] IC 4.8 Is there an ETA on the release of 4.8? .cfg From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 20:20:00 2001 Subject: [ic] admin ui problems (Unable to archive/delete) customer or order --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Quoting Brian Kosick (briank@nacs.net): > Hello all, I have a problem with being able to archive/unarchive orders, > and ativate/deactivate customers through the admin UI. > > Users > If you click on the arrow to deactivate, or click the checkbox, then click > deactivate, the UI doesn't reflect the changes. It's updates in the DB (IE > inactive in the userdb gets changed from 0 to 1) The UI will always show > that its an active customer. > > Orders > Either way you try to archive an order, it doesn't do it, it doesn't change > archive value in (transactions)to 1 from 0. If you change it manually, > (psql ) Then the UI reflects the change, but you cannot un-archive it > without changing it manually either. > > There aren't any errors being reported in catalogdir/error.log, or > /path/to/interchange/error.log > > I'm using Redhat 7.1, postgres 7.1.2, IC 4.8.1, latest Bundle::Interchange. Ooops. I just made a wrong post. Thanks for catching this prior to 4.8.1 release -- you are missing a file, lib/UI/pages/include/order_delete_archive. It is now in CVS, but is attached to this email also. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Description: lib/UI/pages/include/order_delete_archive Content-Disposition: attachment; filename=order_delete_archive [tag flag write]transactions[/tag] [perl tables=transactions] delete $Scratch->{ui_location}; my $db = $Db{transactions}; if(! $db) { $Scratch->{ui_error} = "<FONT CLASS=error>Error: no transactions database.</FONT><BR>"; $Scratch->{ui_location} = $Tag->area("__UI_BASE__/error"); return; } my ($value, $action_col); if($CGI->{archiveorder}) { $value = 1; $action_col = 'archived'; } elsif($CGI->{unarchiveorder}) { $value = 0; $action_col = 'archived'; } elsif($CGI->{deleteorder}) { $value = 1; $action_col = 'deleted'; } elsif($CGI->{vieworder} and ! $CGI->{viewnext}) { $CGI->{order} =~ s/^\0+//; $CGI->{order} =~ s/\0+$//; $Scratch->{ui_location} = $Tag->area('__UI_BASE__/order_view', $CGI->{order}); } elsif($CGI->{xload}) { $Scratch->{ui_location} = $Tag->area('__UI_BASE__/dbdownload'); } else { $CGI->{order} =~ s/^\0+//; $CGI->{order} =~ s/\0.*//s; $Scratch->{start_at} = "sm=$CGI->{order}"; } if($action_col) { for(grep $_, @{$CGI_array->{order}}) { $db->set_field($_, $action_col, $value); } } if(@errors) { my $plural = @errors > 1 ? 's' : ''; return "<FONT CLASS=error>Error$plural:<UL><LI>" . join ("<LI>", @errors) . "</UL></FONT><BR>"; } if($CGI->{viewnext}) { my $ordnum = $CGI->{order}; $ordnum =~ s/[\0,\s].*//; return if ! $ordnum; $ordnum++; CHECKNEXT: { if (! $db->record_exists($ordnum) ) { undef $ordnum; last CHECKNEXT; } if ($db->field($ordnum, 'deleted') ) { $ordnum++; next CHECKNEXT; } if ($Values->{showarchive} and ! $db->field($ordnum, 'archived') ) { undef $ordnum; last CHECKNEXT; } else { last CHECKNEXT; } } if ($ordnum) { $Scratch->{ui_location} = $Tag->area( { href => '__UI_BASE__/order_view', form => "order=$ordnum", } ); } else { $Scratch->{message} = "[L]No next order.[/L]"; } } return; [/perl] --HcAYCG3uE/tztfnV-- From: interchange-users at interchange.redhat.com (IC-Admin) Date: Thu Aug 9 20:42:01 2001 Subject: [ic] IC 4.8 .cfg wrote : > Is there an ETA on the release of 4.8 ? What is an ETA ? BF From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 9 21:22:00 2001 Subject: [ic] Secure server FAQs [monthly posting] These are the FAQs: Shopping cart is dropped when using SSL. This is a thorny question. It has many possible causes, and most often occurs when you try to use a different secure server domain than the regular catalog runs on. (See the next question for more info on that.) If your secure domain is the same as the non-secure domain, it is usually due to the user not having cookies enabled. It can be due to the HostnameLookups (Stronghold/Apache parameter) not matching for the two servers, secure and non-secure. It can also be caused by the user having different web proxy addresses for HTTP and HTTPS. If it still does not work, try changing some of the appropriate configuration parameters in interchange.cfg: DomainTail No IpHead Yes If you still are having problems, try this combination in catalog.cfg, the catalog configuration file: SessionExpire 10 minutes WideOpen Yes The above setting will typically make Interchange work when it is possible to work. Sometimes when you have multiple Interchange servers sharing the same secure server, you will have problems after accessing the second one. (The first one issues a session ID cookie, and that causes problems). I have a different secure server domain. Why does the shopping cart get dropped? First of all, it is questionable business practice to not certify your secure server. Besides violating the terms of use of many certificate issuers, customers notice the changed domain and it is proven by user surveys and long experience that you will receive fewer orders as a result. Certs can be obtained for $125 US per year, less than the typical cost of one hour of a top consultant's time. Do your business a favor -- spend the money to get a cert. If you insist on doing it anyway, probably driven by the fact that you need a dedicated IP address for a secure server, you can use the solutions in the previous FAQ question and get some relief. But by far the best way is to have all orders and shopping cart calls go only to the secure domain. Your users may get a different session when browsing the non-secure catalog pages, but it will matter little. To do this on the Foundation demo, place in catalog.cfg: AlwaysSecure order ord/basket ord/checkout A more complete list might be: AlwaysSecure <<EOF account change_password customerservice login logout new_account ord/basket ord/checkout order process query/check_orders query/order_detail query/order_return returns saved_carts ship_addresses EOF (Thanks to John Beima for the above list.) Add pages of your own that need to be sure of coherent session information. For all *forms* to be secure, make sure "process" is on that list. (Your search forms will still be non-secure if you use "[process-search]" to produce the form ACTION.) To make individual order links secure, use this instead of "[order]": <A HREF="[area href=order secure=1 form='mv_order_item=SKU_OF_ITEM' ]">Order it</A> To make a form-based order button secure, use "[process secure=1]" as the ACTION. My images aren't there on the secure server!!! You have a different document root, or the permissions are not such that you can access them. You can set a different base URL for images with: ImageDirSecure https://your.secure.server/somewhere/images Don't try to set it to an http:// URL -- images will be broken anyway. My secure pages fail when my browser is MSIE. MSIE has several SSL bugs, particularly in V5.01. See the C<Apache-SSL> or C<mod_ssl> FAQ. You can sometimes fix this with an httpd.conf change: SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Aug 9 21:38:01 2001 Subject: [ic] IC 4.8 estimated time of arrival like on a plane, your flight has an ETA of 4pm. On Thu, 9 Aug 2001, IC-Admin wrote: > > .cfg wrote : > > > Is there an ETA on the release of 4.8 ? > > What is an ETA ? > BF > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 9 21:59:01 2001 Subject: [ic] IC 4.8 At 09:01 PM 8/9/2001 -0400, you wrote: >.cfg wrote : > > > Is there an ETA on the release of 4.8 ? > >What is an ETA ? >BF http://www.acronymfinder.com ETA Estimated Time of Arrival ETA Eastern Training Area ETA Eelam Tamil Association (Sydney, Australia) ETA Electronic Target Acquisition (also sometimes abbreviated as E/TA) ETA Electronic Tax Administration ETA Electronic Test Automation ETA Electronic Transactions Association ETA Electronic Transportation Acquisition ETA Electronic Travel Authority ETA Electronics Technicians Association (Greencastle, IN) ETA Ellenville Teachers Association ETA Emergency Tire Assistance ETA Employment and Training Administration (US Dept of Labor) ETA Engineering Task Assignment ETA Engineering Technical Assistant ETA Engineering Test Article ETA Estimated Transmitting Ability (cow breeding) ETA Etnoteam Adriatica ETA European Tropospheric-Scatter Army (communications system) ETA Euskadi Ta Askatasuna (Basque Homeland and Liberty; separatist group in Spain) ETA Event Tree Analysis ETA Exception Time Accounting ETA Executive Travel Associates Therefore, I would wager that .cfg was asking about the "Event Tree Analysis" for Interchange 4.8. ;-) But others might think it was "estimated time of arrival". PS. I seem to be experiencing some serious mailing list lag. Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Mangeng Michael) Date: Fri Aug 10 08:23:01 2001 Subject: [ic] Europe Billing Systems (especially paybox, bezahlen.at) Hi Does anybody has expierence with the European billing systems "paybox" and/or "bezahlen.at" (possible in a few european countries.. at, ch, de, fr,...) ? Is there any information how i can implement these payment systems into interchange ? thanx Michael Mangeng From: interchange-users at interchange.redhat.com (Garry) Date: Fri Aug 10 09:05:00 2001 Subject: [ic] Credit Card Encyption I have made some progress on this subject (but not a lot): I at least get the "encryption failed" error message now. Does anyone know what the obvious possible causes for this error message might be? Also, where does one install the pgp program?, at the moment, mine is in a seperate folder of its own in the root directory of the web server - is this the correct place to put it? Any advice / suggestions would be greatly appreciated. Garry ----- Original Message ----- From: "Corey Gilmore" <cfg@dln.uvm.edu> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 10, 2001 1:10 AM Subject: RE: [ic] Credit Card Encyption > I think part of my problem may be that pgp isn't working for some reason. > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > I have a different binary. emails are changed to avoid spam. > > $ export PGPPATH=/home/ic/.pgp/ > $ cat /etc/issue | pgp -fate professional@ced.tld > Pretty Good Privacy(tm) Version 6.5.8 > (c) 1999 Network Associates Inc. > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > Export of this software may be restricted by the U.S. government. > > > received signal 11 > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > the default for ENCRYPTOR... > > The key is on my keyring, > $ pgp -kv > Type bits keyID Date User ID > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs <professional@ced.tld> > 1 matching key found. > > The error (shown in red ;) is > Credit Card Information (Credit card encryption failed: ) > > $cat /usr/bin/pgp_shell.sh > #!/bin/sh > > PGPPATH=/home/ic/.pgp; export PGPPATH > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > and from my catalog.cfg > > Variable MV_PAYMENT_MODE minivend_test > CreditCardAuto No > CyberCash No > EncryptProgram __ENCRYPTOR__ > > Route main attach 0 > Route main credit_card 0 > Route main cybermode "" > Route main default 1 > Route main email '__ORDERS_TO__' > Route main encrypt 0 > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate professional@ced.tld 2>/dev/null' > Route main errors_to 'cgilmore@dln.tld' > Route main increment 0 > Route main pgp_cc_key "" > Route main pgp_key "0xE1AB9BC5" > Route main receipt etc/receipt.html > Route main report etc/report > Route main supplant 0 > Route main individual_track orders > Route main track logs/tracking.asc > > # i have different email addresses here for debugging > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > and setting it to pgp -feat as suggested in the ic docs. Always though, > it fails. If i get rid of the encryptor variable (or delete the values > for encrypt_program) it sends me an unencrypted email, with my CC info. > > any ideas? > > .cfg > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > did > > > you comment out the CYBEr_MODE def? And are you using the > > minivend_test > > > payment mode? I am going crazy with this at the moment :/ > > > > > > thanks > > > .cfg > > > > > > > Variable MV_PAYMENT_MODE custom signio > > CreditCardAuto No > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > code to clean up the config file a bit. > > > > Let me know if you need more information. > > -Ron > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > it is doing when IC calls it? Is the user's public key in the keyring > > for the user that runs IC? > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > Here is the relevant info from a catalog that is working in live > > mode > > > > right now. ENCRYPTOR is defined as: > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > 'pgp_shell.sh' is: > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > And the route in catalog.cfg: > > > > > > > > Route main attach 0 > > > > Route main credit_card 0 > > > > Route main cybermode "" > > > > Route main default 1 > > > > Route main email '__ORDERS_TO__' > > > > Route main encrypt 0 > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > Route main errors_to '__ORDERS_TO__' > > > > Route main increment 0 > > > > Route main pgp_cc_key "" > > > > Route main pgp_key "" > > > > Route main receipt etc/receipt.html > > > > Route main report etc/report > > > > Route main supplant 1 > > > > Route main individual_track orders > > > > Route main track logs/tracking.asc > > > > > > > > Good luck! > > > > -Ron > > > > > > > > > -----Original Message----- > > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange- > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > To: interchange-users@interchange.redhat.com > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > tried > > > > > many > > > > > combinations, to no avail > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > productive > > > > > attempt: > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > #Variable COMPANY Whatever > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > # Main route must be last to make default > > > > > Route main attach 1 > > > > > Route main credit_card 1 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 1 > > > > > Route main encrypt_program > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "username" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 0 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > Please could anybody post at least a example which works... > > maybe > > > > this > > > > > would > > > > > > help... > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > thanx > > > > > > mike > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > anyone > > > > > have > > > > > > > any idea what I am doing wrong? - does the report email need > > > > altering > > > > > in > > > > > > any > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > Do You Yahoo!? > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@lists.akopia.com > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > _________________________________________________________ > > > > > Do You Yahoo!? > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 10 09:08:01 2001 Subject: [ic] Europe Billing Systems (especially paybox, bezahlen.at) "Mangeng Michael" <m1k3@vis.at> writes: > Hi > > Does anybody has expierence with the European billing systems "paybox" > and/or "bezahlen.at" (possible in a few european countries.. at, ch, de, > fr,...) ? > > Is there any information how i can implement these payment systems into > interchange ? Well, I can take a look at it if no one else has tried this. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Garry) Date: Fri Aug 10 09:10:00 2001 Subject: [ic] Credit Card Encyption + new file? My IC home directory has acquired a new file called "core" it is 2300 kb in size. Does anyone know what this might be or where it is from? Cheers Garry ----- Original Message ----- From: "Corey Gilmore" <cfg@dln.uvm.edu> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 10, 2001 1:10 AM Subject: RE: [ic] Credit Card Encyption > I think part of my problem may be that pgp isn't working for some reason. > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > I have a different binary. emails are changed to avoid spam. > > $ export PGPPATH=/home/ic/.pgp/ > $ cat /etc/issue | pgp -fate professional@ced.tld > Pretty Good Privacy(tm) Version 6.5.8 > (c) 1999 Network Associates Inc. > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > Export of this software may be restricted by the U.S. government. > > > received signal 11 > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > the default for ENCRYPTOR... > > The key is on my keyring, > $ pgp -kv > Type bits keyID Date User ID > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs <professional@ced.tld> > 1 matching key found. > > The error (shown in red ;) is > Credit Card Information (Credit card encryption failed: ) > > $cat /usr/bin/pgp_shell.sh > #!/bin/sh > > PGPPATH=/home/ic/.pgp; export PGPPATH > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > and from my catalog.cfg > > Variable MV_PAYMENT_MODE minivend_test > CreditCardAuto No > CyberCash No > EncryptProgram __ENCRYPTOR__ > > Route main attach 0 > Route main credit_card 0 > Route main cybermode "" > Route main default 1 > Route main email '__ORDERS_TO__' > Route main encrypt 0 > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate professional@ced.tld 2>/dev/null' > Route main errors_to 'cgilmore@dln.tld' > Route main increment 0 > Route main pgp_cc_key "" > Route main pgp_key "0xE1AB9BC5" > Route main receipt etc/receipt.html > Route main report etc/report > Route main supplant 0 > Route main individual_track orders > Route main track logs/tracking.asc > > # i have different email addresses here for debugging > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > and setting it to pgp -feat as suggested in the ic docs. Always though, > it fails. If i get rid of the encryptor variable (or delete the values > for encrypt_program) it sends me an unencrypted email, with my CC info. > > any ideas? > > .cfg > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > did > > > you comment out the CYBEr_MODE def? And are you using the > > minivend_test > > > payment mode? I am going crazy with this at the moment :/ > > > > > > thanks > > > .cfg > > > > > > > Variable MV_PAYMENT_MODE custom signio > > CreditCardAuto No > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > code to clean up the config file a bit. > > > > Let me know if you need more information. > > -Ron > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > it is doing when IC calls it? Is the user's public key in the keyring > > for the user that runs IC? > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > Here is the relevant info from a catalog that is working in live > > mode > > > > right now. ENCRYPTOR is defined as: > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > 'pgp_shell.sh' is: > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > And the route in catalog.cfg: > > > > > > > > Route main attach 0 > > > > Route main credit_card 0 > > > > Route main cybermode "" > > > > Route main default 1 > > > > Route main email '__ORDERS_TO__' > > > > Route main encrypt 0 > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > Route main errors_to '__ORDERS_TO__' > > > > Route main increment 0 > > > > Route main pgp_cc_key "" > > > > Route main pgp_key "" > > > > Route main receipt etc/receipt.html > > > > Route main report etc/report > > > > Route main supplant 1 > > > > Route main individual_track orders > > > > Route main track logs/tracking.asc > > > > > > > > Good luck! > > > > -Ron > > > > > > > > > -----Original Message----- > > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange- > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > To: interchange-users@interchange.redhat.com > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > tried > > > > > many > > > > > combinations, to no avail > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > productive > > > > > attempt: > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > #Variable COMPANY Whatever > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > # Main route must be last to make default > > > > > Route main attach 1 > > > > > Route main credit_card 1 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 1 > > > > > Route main encrypt_program > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "username" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 0 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > Please could anybody post at least a example which works... > > maybe > > > > this > > > > > would > > > > > > help... > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > thanx > > > > > > mike > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > anyone > > > > > have > > > > > > > any idea what I am doing wrong? - does the report email need > > > > altering > > > > > in > > > > > > any > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > Do You Yahoo!? > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@lists.akopia.com > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > _________________________________________________________ > > > > > Do You Yahoo!? > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (admin) Date: Fri Aug 10 09:13:03 2001 Subject: [ic] !! discount prices in steps !! HELP i need help to find a solution to display discount prices from total-prices in several steps. from 500 DM up to 1000 DM 1% from 1000 DM up to 1500 DM 3,5 % from 2000 DM up to endless 5,5 % i tried several scripts but it don´t work. is there someone, who already solved this problem? Erik Kendel , admin@web-vision.de From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 10 09:26:00 2001 Subject: [ic] Credit Card Encyption + new file? When a program crashes, it dumps core. I think (haven't dome much dev on any unicies) that you can open this up with a debugger, and trace through it to possibly determine what caused it to crash. You can probably delete it safely. On Fri, 10 Aug 2001, Garry wrote: > My IC home directory has acquired a new file called "core" it is 2300 kb in > size. > > Does anyone know what this might be or where it is from? > > Cheers > > Garry > > > ----- Original Message ----- > From: "Corey Gilmore" <cfg@dln.uvm.edu> > To: <interchange-users@interchange.redhat.com> > Sent: Friday, August 10, 2001 1:10 AM > Subject: RE: [ic] Credit Card Encyption > > > > I think part of my problem may be that pgp isn't working for some reason. > > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > > I have a different binary. emails are changed to avoid spam. > > > > $ export PGPPATH=/home/ic/.pgp/ > > $ cat /etc/issue | pgp -fate professional@ced.tld > > Pretty Good Privacy(tm) Version 6.5.8 > > (c) 1999 Network Associates Inc. > > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > > Export of this software may be restricted by the U.S. government. > > > > > > received signal 11 > > > > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > > the default for ENCRYPTOR... > > > > The key is on my keyring, > > $ pgp -kv > > Type bits keyID Date User ID > > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs > <professional@ced.tld> > > 1 matching key found. > > > > The error (shown in red ;) is > > Credit Card Information (Credit card encryption failed: ) > > > > $cat /usr/bin/pgp_shell.sh > > #!/bin/sh > > > > PGPPATH=/home/ic/.pgp; export PGPPATH > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > and from my catalog.cfg > > > > Variable MV_PAYMENT_MODE minivend_test > > CreditCardAuto No > > CyberCash No > > EncryptProgram __ENCRYPTOR__ > > > > Route main attach 0 > > Route main credit_card 0 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 0 > > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate > professional@ced.tld 2>/dev/null' > > Route main errors_to 'cgilmore@dln.tld' > > Route main increment 0 > > Route main pgp_cc_key "" > > Route main pgp_key "0xE1AB9BC5" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 0 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > # i have different email addresses here for debugging > > > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > > and setting it to pgp -feat as suggested in the ic docs. Always though, > > it fails. If i get rid of the encryptor variable (or delete the values > > for encrypt_program) it sends me an unencrypted email, with my CC info. > > > > any ideas? > > > > .cfg > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > > did > > > > you comment out the CYBEr_MODE def? And are you using the > > > minivend_test > > > > payment mode? I am going crazy with this at the moment :/ > > > > > > > > thanks > > > > .cfg > > > > > > > > > > Variable MV_PAYMENT_MODE custom signio > > > CreditCardAuto No > > > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > > code to clean up the config file a bit. > > > > > > Let me know if you need more information. > > > -Ron > > > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > > it is doing when IC calls it? Is the user's public key in the keyring > > > for the user that runs IC? > > > > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > > > Here is the relevant info from a catalog that is working in live > > > mode > > > > > right now. ENCRYPTOR is defined as: > > > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > > 'pgp_shell.sh' is: > > > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > > > And the route in catalog.cfg: > > > > > > > > > > Route main attach 0 > > > > > Route main credit_card 0 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 0 > > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 1 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Good luck! > > > > > -Ron > > > > > > > > > > > -----Original Message----- > > > > > > From: interchange-users-admin@interchange.redhat.com > > > > > [mailto:interchange- > > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > > To: interchange-users@interchange.redhat.com > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > > tried > > > > > > many > > > > > > combinations, to no avail > > > > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > > productive > > > > > > attempt: > > > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > > > #Variable COMPANY Whatever > > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > > > # Main route must be last to make default > > > > > > Route main attach 1 > > > > > > Route main credit_card 1 > > > > > > Route main cybermode "" > > > > > > Route main default 1 > > > > > > Route main email '__ORDERS_TO__' > > > > > > Route main encrypt 1 > > > > > > Route main encrypt_program > > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > > Route main errors_to '__ORDERS_TO__' > > > > > > Route main increment 0 > > > > > > Route main pgp_cc_key "username" > > > > > > Route main pgp_key "" > > > > > > Route main receipt etc/receipt.html > > > > > > Route main report etc/report > > > > > > Route main supplant 0 > > > > > > Route main individual_track orders > > > > > > Route main track logs/tracking.asc > > > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > > > Please could anybody post at least a example which works... > > > maybe > > > > > this > > > > > > would > > > > > > > help... > > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > > > thanx > > > > > > > mike > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > > anyone > > > > > > have > > > > > > > > any idea what I am doing wrong? - does the report email need > > > > > altering > > > > > > in > > > > > > > any > > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > > Do You Yahoo!? > > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > interchange-users mailing list > > > > > > > > interchange-users@lists.akopia.com > > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@interchange.redhat.com > > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 10 09:36:01 2001 Subject: [ic] Credit Card Encyption + new file? "Garry" <gazonice@yahoo.com> writes: > My IC home directory has acquired a new file called "core" it is 2300 kb in > size. > > Does anyone know what this might be or where it is from? Some program has got a segmentation fault, maybe "strings core" will display useful information. BTW: Your quoting style is horrible. Think of it. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mangeng Michael) Date: Fri Aug 10 09:37:56 2001 Subject: [ic] Credit Card Encryption at first i want to thank you ron very much for this live example.. it helped me lot! but i've got another question concerning cc&pgp. actually it looks like: ---- snip ---- [interchange@shopix etc]$ cat ../tmp/pgp.7AhyYfkf.17148.err gpg: Warning: using insecure memory! gpg: 0xB8413DE6: skipped: public key not found gpg: [stdin]: encryption failed: public key not found [interchange@shopix etc]$ pgp -kv PGP Command Line for Workstations(tm) Version 7.0.1 (c) 2000 Network Associates Inc. Export of this software may be restricted by the U.S. government. Warning: Using insecure memory! Type bits keyID Date User ID DSS 2048/1024 0xB8413DE6 2001/08/10 Interchange <interchange@vis.at> 1 matching key found. ---- / snip ---- hmmm strange... i do not know whats wrong... im calling with pgp -feat __ORDERS_TO__ (ORDERS_TO is mailto:interchange@vis.at ive aded for this the public pgp key) in etc/report im using: [tag op=mime interpolate=1 type=application/pgp-encrypted description="CreditCard_[value mv_order_number]"] [value mv_credit_card_info] [/tag] with this i get something like: visa 41 NEED ENCRYPTION 1111 1/06 in the cc info... hmmm maybe another report example would help ;-) thanx, mike ----- Original Message ----- From: Ron Phipps To: interchange-users@interchange.redhat.com Sent: Thursday, August 09, 2001 9:11 PM Subject: RE: [ic] Credit Card Encyption Here is the relevant info from a catalog that is working in live mode right now. ENCRYPTOR is defined as: /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null in my variables table. The contents of my pgp wrapper named 'pgp_shell.sh' is: PGPPATH=/home/minivend/.pgp; export PGPPATH /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 And the route in catalog.cfg: Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '__ENCRYPTOR__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Good luck! -Ron From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 10 09:44:01 2001 Subject: [ic] Credit Card Encyption I know in my situation, i can't run the program from the command line. Take the value of your ENCRYPTOR variable, probably something like /usr/bin/pgp -feat if you installed from a RPM, or /usr/local/bin/pgp -feat if you installed from source. Make sure your PGPPATH env variable is set correctly, env | grep PGPPATH if nothing shows up, check to see if you have a .pgp dir in your home dir, ls ~/.pgp and then set your path (for testing, you should add the path to ~/.bash_profile when you are done) export PGPPATH=~/.pgp/ then, run cat /etc/issue.net | /path/to/pgp -feat and see if it spews out an encrypted file, or returns an error. .cfg On Fri, 10 Aug 2001, Garry wrote: > I have made some progress on this subject (but not a lot): > > I at least get the "encryption failed" error message now. > > Does anyone know what the obvious possible causes for this error message > might be? > > Also, where does one install the pgp program?, at the moment, mine is in a > seperate folder of its own in the root directory of the web server - is > this the correct place to put it? > > Any advice / suggestions would be greatly appreciated. > > Garry > From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 10 09:58:01 2001 Subject: [ic] admin ui problems (Unable to archive/delete) customer ><snip> > >Ooops. I just made a wrong post. > >Thanks for catching this prior to 4.8.1 release -- you are missing a >file, lib/UI/pages/include/order_delete_archive. It is now in CVS, but >is attached to this email also. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >Being against torture ought to be sort of a bipartisan thing. >-- Karl Lehenbauer Ahhh, that's the right one! For a second there I thought that I was going to have to lay off the crack pipe ;-) That fixed my orders problem beautifully, but I still have the same problem with Customer activation/deactivation, I can change the values of inactive from 1 to 0 manually through psql and it'll work, but I can't do it through the UI. I'm not sure if you saw my update to my original post, the gist of it is, I created 2 new catalog for testing, both on the same machine, using the same default catalog, the one using postgres as a backend, suffers the same Customer UI problems, while the gdbm one, works fine. I've checked, and re-checked, the userdb design, in postgres table to the gdbm table, they match. (At least I am assuming they match, in the dbconf/userdb.pgsql in /usr/local/interchange/foundation is missing the inactive field which the interchange/foundation/products/userdb.txt has. I added a definition to my userdb.pgsql as inactive char(32) ) Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (cedric Boudin) Date: Fri Aug 10 10:11:01 2001 Subject: [ic] Credit Card Encyption + new file? It is some droppingof the operating system something went wrong and the kernel dropped a core. if you read hex code in the text it can besusefull to understand why it crashed. if you don't just rm Garry writes: > My IC home directory has acquired a new file called "core" it is 2300 kb in > size. > > Does anyone know what this might be or where it is from? > > Cheers > > Garry > > > ----- Original Message ----- > From: "Corey Gilmore" <cfg@dln.uvm.edu> > To: <interchange-users@interchange.redhat.com> > Sent: Friday, August 10, 2001 1:10 AM > Subject: RE: [ic] Credit Card Encyption > > > > I think part of my problem may be that pgp isn't working for some reason. > > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > > I have a different binary. emails are changed to avoid spam. > > > > $ export PGPPATH=/home/ic/.pgp/ > > $ cat /etc/issue | pgp -fate professional@ced.tld > > Pretty Good Privacy(tm) Version 6.5.8 > > (c) 1999 Network Associates Inc. > > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > > Export of this software may be restricted by the U.S. government. > > > > > > received signal 11 > > > > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > > the default for ENCRYPTOR... > > > > The key is on my keyring, > > $ pgp -kv > > Type bits keyID Date User ID > > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs > <professional@ced.tld> > > 1 matching key found. > > > > The error (shown in red ;) is > > Credit Card Information (Credit card encryption failed: ) > > > > $cat /usr/bin/pgp_shell.sh > > #!/bin/sh > > > > PGPPATH=/home/ic/.pgp; export PGPPATH > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > and from my catalog.cfg > > > > Variable MV_PAYMENT_MODE minivend_test > > CreditCardAuto No > > CyberCash No > > EncryptProgram __ENCRYPTOR__ > > > > Route main attach 0 > > Route main credit_card 0 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 0 > > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate > professional@ced.tld 2>/dev/null' > > Route main errors_to 'cgilmore@dln.tld' > > Route main increment 0 > > Route main pgp_cc_key "" > > Route main pgp_key "0xE1AB9BC5" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 0 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > # i have different email addresses here for debugging > > > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > > and setting it to pgp -feat as suggested in the ic docs. Always though, > > it fails. If i get rid of the encryptor variable (or delete the values > > for encrypt_program) it sends me an unencrypted email, with my CC info. > > > > any ideas? > > > > .cfg > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > > did > > > > you comment out the CYBEr_MODE def? And are you using the > > > minivend_test > > > > payment mode? I am going crazy with this at the moment :/ > > > > > > > > thanks > > > > .cfg > > > > > > > > > > Variable MV_PAYMENT_MODE custom signio > > > CreditCardAuto No > > > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > > code to clean up the config file a bit. > > > > > > Let me know if you need more information. > > > -Ron > > > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > > it is doing when IC calls it? Is the user's public key in the keyring > > > for the user that runs IC? > > > > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > > > Here is the relevant info from a catalog that is working in live > > > mode > > > > > right now. ENCRYPTOR is defined as: > > > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > > 'pgp_shell.sh' is: > > > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > > > And the route in catalog.cfg: > > > > > > > > > > Route main attach 0 > > > > > Route main credit_card 0 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 0 > > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 1 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Good luck! > > > > > -Ron > > > > > > > > > > > -----Original Message----- > > > > > > From: interchange-users-admin@interchange.redhat.com > > > > > [mailto:interchange- > > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > > To: interchange-users@interchange.redhat.com > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > > tried > > > > > > many > > > > > > combinations, to no avail > > > > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > > productive > > > > > > attempt: > > > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > > > #Variable COMPANY Whatever > > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > > > # Main route must be last to make default > > > > > > Route main attach 1 > > > > > > Route main credit_card 1 > > > > > > Route main cybermode "" > > > > > > Route main default 1 > > > > > > Route main email '__ORDERS_TO__' > > > > > > Route main encrypt 1 > > > > > > Route main encrypt_program > > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > > Route main errors_to '__ORDERS_TO__' > > > > > > Route main increment 0 > > > > > > Route main pgp_cc_key "username" > > > > > > Route main pgp_key "" > > > > > > Route main receipt etc/receipt.html > > > > > > Route main report etc/report > > > > > > Route main supplant 0 > > > > > > Route main individual_track orders > > > > > > Route main track logs/tracking.asc > > > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > > > Please could anybody post at least a example which works... > > > maybe > > > > > this > > > > > > would > > > > > > > help... > > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > > > thanx > > > > > > > mike > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > > anyone > > > > > > have > > > > > > > > any idea what I am doing wrong? - does the report email need > > > > > altering > > > > > > in > > > > > > > any > > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > > Do You Yahoo!? > > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > interchange-users mailing list > > > > > > > > interchange-users@lists.akopia.com > > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@interchange.redhat.com > > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (STEVE LANGE) Date: Fri Aug 10 10:14:01 2001 Subject: [ic] Verisign as payment gateway Hello all, I was wondering if anyone has pointers for setting up Verisign as a payment gateway, as opposed to Cybercash. Any info you have would be great. Thanks in advance, Steve Steve Lange Business Analyst - Web Application Developer Menasha Advantage steve.lange@menasha.com ph: 920.751.1196 fax: 920.751.2399 From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 10 10:27:00 2001 Subject: [ic] admin ui problems (Unable to archive/delete) customer ><snip> > >Ooops. I just made a wrong post. > >Thanks for catching this prior to 4.8.1 release -- you are missing a >file, lib/UI/pages/include/order_delete_archive. It is now in CVS, but >is attached to this email also. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >Being against torture ought to be sort of a bipartisan thing. >-- Karl Lehenbauer OK please disregard my previous message about the problem with customer UI, I fixed it by changing my inactive CHAR() to inactive VARCHAR(). Thanks for the help! IC is great, keep up the good work! Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 10 10:31:02 2001 Subject: [ic] Credit Card Encyption + new file? core is a dump file, when a process crashes, you can keep it for debugging, or delete it safely. At 02:08 PM 8/10/01 +0100, you wrote: >My IC home directory has acquired a new file called "core" it is 2300 kb in >size. > >Does anyone know what this might be or where it is from? > >Cheers > >Garry > > >----- Original Message ----- >From: "Corey Gilmore" <cfg@dln.uvm.edu> >To: <interchange-users@interchange.redhat.com> >Sent: Friday, August 10, 2001 1:10 AM >Subject: RE: [ic] Credit Card Encyption > > > > I think part of my problem may be that pgp isn't working for some reason. > > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > > I have a different binary. emails are changed to avoid spam. > > > > $ export PGPPATH=/home/ic/.pgp/ > > $ cat /etc/issue | pgp -fate professional@ced.tld > > Pretty Good Privacy(tm) Version 6.5.8 > > (c) 1999 Network Associates Inc. > > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > > Export of this software may be restricted by the U.S. government. > > > > > > received signal 11 > > > > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > > the default for ENCRYPTOR... > > > > The key is on my keyring, > > $ pgp -kv > > Type bits keyID Date User ID > > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs ><professional@ced.tld> > > 1 matching key found. > > > > The error (shown in red ;) is > > Credit Card Information (Credit card encryption failed: ) > > > > $cat /usr/bin/pgp_shell.sh > > #!/bin/sh > > > > PGPPATH=/home/ic/.pgp; export PGPPATH > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > and from my catalog.cfg > > > > Variable MV_PAYMENT_MODE minivend_test > > CreditCardAuto No > > CyberCash No > > EncryptProgram __ENCRYPTOR__ > > > > Route main attach 0 > > Route main credit_card 0 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 0 > > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate >professional@ced.tld 2>/dev/null' > > Route main errors_to 'cgilmore@dln.tld' > > Route main increment 0 > > Route main pgp_cc_key "" > > Route main pgp_key "0xE1AB9BC5" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 0 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > # i have different email addresses here for debugging > > > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > > and setting it to pgp -feat as suggested in the ic docs. Always though, > > it fails. If i get rid of the encryptor variable (or delete the values > > for encrypt_program) it sends me an unencrypted email, with my CC info. > > > > any ideas? > > > > .cfg > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > > did > > > > you comment out the CYBEr_MODE def? And are you using the > > > minivend_test > > > > payment mode? I am going crazy with this at the moment :/ > > > > > > > > thanks > > > > .cfg > > > > > > > > > > Variable MV_PAYMENT_MODE custom signio > > > CreditCardAuto No > > > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > > code to clean up the config file a bit. > > > > > > Let me know if you need more information. > > > -Ron > > > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > > it is doing when IC calls it? Is the user's public key in the keyring > > > for the user that runs IC? > > > > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > > > Here is the relevant info from a catalog that is working in live > > > mode > > > > > right now. ENCRYPTOR is defined as: > > > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > > 'pgp_shell.sh' is: > > > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > > > And the route in catalog.cfg: > > > > > > > > > > Route main attach 0 > > > > > Route main credit_card 0 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 0 > > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 1 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Good luck! > > > > > -Ron > > > > > > > > > > > -----Original Message----- > > > > > > From: interchange-users-admin@interchange.redhat.com > > > > > [mailto:interchange- > > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > > To: interchange-users@interchange.redhat.com > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > > tried > > > > > > many > > > > > > combinations, to no avail > > > > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > > productive > > > > > > attempt: > > > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > > > #Variable COMPANY Whatever > > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > > > # Main route must be last to make default > > > > > > Route main attach 1 > > > > > > Route main credit_card 1 > > > > > > Route main cybermode "" > > > > > > Route main default 1 > > > > > > Route main email '__ORDERS_TO__' > > > > > > Route main encrypt 1 > > > > > > Route main encrypt_program > > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > > Route main errors_to '__ORDERS_TO__' > > > > > > Route main increment 0 > > > > > > Route main pgp_cc_key "username" > > > > > > Route main pgp_key "" > > > > > > Route main receipt etc/receipt.html > > > > > > Route main report etc/report > > > > > > Route main supplant 0 > > > > > > Route main individual_track orders > > > > > > Route main track logs/tracking.asc > > > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > > > Please could anybody post at least a example which works... > > > maybe > > > > > this > > > > > > would > > > > > > > help... > > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > > > thanx > > > > > > > mike > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > > anyone > > > > > > have > > > > > > > > any idea what I am doing wrong? - does the report email need > > > > > altering > > > > > > in > > > > > > > any > > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > > Do You Yahoo!? > > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > interchange-users mailing list > > > > > > > > interchange-users@lists.akopia.com > > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@interchange.redhat.com > > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (David Totten) Date: Fri Aug 10 10:36:52 2001 Subject: [ic] Verisign as payment gateway --=-Kc0nz6Qw+uaYbQValM5k Content-Type: text/plain Content-Transfer-Encoding: 7bit On 10 Aug 2001 09:09:03 -0500, STEVE LANGE wrote: > Hello all, > > I was wondering if anyone has pointers for setting up Verisign as a payment gateway, as opposed to Cybercash. Any info you have would be great. > > Thanks in advance, > > Steve Attached is a set of instructions that I wrote for setting up Verisign as your payment gateway in interchange 4.6.5. The file was written in vim, so if you are using a windows based machine it might look funny. Also, the extension can easily be re-labled .txt. Dave Totten --=-Kc0nz6Qw+uaYbQValM5k Content-Type: text/plain Content-Disposition: attachment; filename=signio.faq Content-ID: <997453774.21128.4.camel@pred> Content-Transfer-Encoding: 7bit How to configure interchange 4.6.5 to use VeriSign/Signio's Payflow Pro version 3.0 as your default payment gateway. Introduction: The aim of this document is to explain what was necessary for me to get VeriSign/Signo set up as my payment gateway. At the time of this writing, I was using interchange 4.6.5 and the Payflow Pro SDK version 3.00 Getting / Installing Payflo Pro SDK After getting your Payflo Pro account set up, log in to your account at https://manager.verisign.com. Click the link towards the top of your screen that says download. Under the section labeled Payflow Pro Software Development Kit (SDK), will be a link for your operating system. I used the Linux version. Once you have downloaded the software, uncompress it. I uncompressed the file in my interchange users directory /home/interch/. You should now have a new subdirectory named verisign. I changed directory to /home/interch/verisign/payflowpro/linux/lib. The file libpfpro.so needs to be copied into one of your system library paths, or you need to modify your LD_LIBRARY_CONF environment variable to include the directory that you want to store this file. I chose to copy libpfpro.so into /usr/lib/. In order to do this though I had to become root. If you do not have root access to the machine, you will need to use the LD_LIBRARY_CONF method of making this library visible to the system. Once you have moved that file you will need to run ldconfig to make sure the system can see the new library. A good way to test that this is all properly set up is to change your present directory to /home/interch/verisign/payflowpro/linux/bin/ and run ./pfpro If you get an error that says something like it couldn't load a .so file, then you need to make sure that the payflow library is visible. Another good thing to do is edit the test.sh file located in the same bin directory so that it contains your information for the USER,PARTNER, PWD, and VENDOR variables. Once you have done that, run the program. The output should resemble this: interch@localhost:~/verisign/payflowpro/linux/bin$ ./test.sh ---------------------------------------------------- ***> Performing 'pfpro' binary test transaction..... RESULT=0&PNREF=V28A02586876&RESPMSG=Approved&AUTHCODE=874PNI&AVSADDR=X&AVSZIP=X Done with 'pfpro' binary test transaction... --------------------------------------------------- Making the Payflow Pro SDK work with Interchange In order to facilitate my instructions a little bit, I am going to define a few variables that I will use in this section of instructions. $VENDROOT is a variable that defines where the makecat and interchange binaries are located. In my installation (from the tarball) it is located at /home/interch/interchange. $SRCROOT is the directory where I uncompress the interchange tarball. In my situation it is ~/home/interch/src/interchange-4.6.5. $CATROOT is the directory where my catalog is stored. In my installation, it is ~/home/interch/catalogs/ic_465/ Now that these definitions have been made, let's continue. The first thing that we want to do is copy the pfpro binary file to $VENDROOT/lib. The reason being is that this is where the signio global sub will be looking for it. Next we need to make a directory in $VENDROOT called globalsubs, and then copy $SRCROOT/eg/globalsubs/signio to $VENDROOT/globalsubs/signio. This is where we are going to tell interchange too look for our globalsub. In $VENDROOT, there is a file called interchange.cfg. We must edit this file, and add the line: #include globalsub/signio I added this line towards the bottom with the with the usertag include. Now that interchange knows about the globalsub, we need to tell our catalog that we want to use signio as payment gateway. This is done by editing our $CATROOT/catalog.cfg and adding the following lines of information: #begin signio stuff Variable MV_PAYMENT_ID userid&VENDOR=userid&PARTNER=VeriSign Variable MV_PAYMENT_SECRET password Variable MV_PAYMENT_SERVER test-payflow.verisign.com Variable MV_PAYMENT_MODE custom signio #end signio stuff You will of course need to modify this data so that it reflects the data that Verisign/Signio has provided you. I inserted this information above the section that says CreditCardAuto Yes. You must make sure that the CreditCardAuto Yes line is either commented out (putting a # in front of it) or is set to No. Also, make sure you are not using any other payment gateway at the same time. While trying to get this integration set up on my own machine, I discovered that VeriSign/Signio now require more information than they used to. Above I modified MV_PAYMENT_ID from what the old instructions said to what VeriSign/Signio recommends now. In doing this, some of the old code caused some problems, and so I had to edit it. In the file $VENDROOT/globalsub/signio I had to comment out lines 136 - 139. These lines look like this: my $len = length($val); if($val =~ /[&=]/) { $key .= "[$len]"; } Just put a # in front of each one of these lines in the signio file. Also, the pfpro executable needs to know where it can find their secure certificate which is found in /home/interch/verisign/payflowpro/linux/certs on my machine. In order to do this, I added the following line: $ENV{PFPRO_CERT_PATH} = '/home/interch/verisign/payflowpro/linux/certs'; This will set an environment variable telling pfpro where to find verisigns' secure certificate. Once you have finished making these changes, save the file. Now we can restart interchange and we should have a new payment gateway up and running. --=-Kc0nz6Qw+uaYbQValM5k-- From: interchange-users at interchange.redhat.com (Dave Barr) Date: Fri Aug 10 10:40:00 2001 Subject: [ic] double entries in basket using text link (IC 4.6.5, Debian 2.2-17, Perl 5.005-03) Hi people, I have a strange problem regarding the basket and double entries appearing when I use a text link as opposed to the 'form' approach. I need to use a text link as I wish to pass an attribute with the order request as part of a [perl] block... <snip> $link = $Tag->page( { href => "ord/basket", form => qq{ mv_action=refresh mv_order_item=$sku item_attr=$item } } ) . "BUY</A>"; </snip> This works fine when you *first* arrive at the basket page as does the following which I used as a sanity check... <snip> [page href="ord/basket" form=| mv_order_item=000059 mv_action=refresh |]buy[/page] </snip> However when you either purchase another item, or just plain "go back" to the basket page there is an identical entry of the last ordered item using both the examples above -- I should point out that this is not the old "Reload/refresh" problem where you are submitting the form twice, this is occurring after leaving the basket page altogether. Is this not possible to do (text link order), ergo I'm being a pratt again? Any help, abuse or pointers most welcome. Kind regards Dave From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 10 10:44:00 2001 Subject: [ic] New UI problems.... Hello again, TGIF I'm sure that you're tired of hearing from me, I'm getting a new problem, when I try export tables through the Administration->tables section. It reads: 207.166.192.127 Q2SzGyFU:207.166.192.127 - [10/August/2001:09:37:11 -0400] bluestone /cgi-bin/bluestone.cgi/admin/flex_editor Runtime error: Can't use string ("") as a HASH ref while "strict refs" in use at /usr/local/interchange/lib/UI/Primitive.pm line 215. I get this exact same error, when I go to Adminitration->preferences->anygroup and click on the variable that I want to change. Again, I'm using the IC CVS version (4.8.1) Any ideas? Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 10 10:47:00 2001 Subject: [ic] New UI problems.... >Hello again, TGIF > >I'm sure that you're tired of hearing from me, I'm getting a new problem, when I try >export tables through the Administration->tables section. It reads: > >207.166.192.127 Q2SzGyFU:207.166.192.127 - [10/August/2001:09:37:11 -0400] bluestone >/cgi-bin/bluestone.cgi/admin/flex_editor Runtime error: Can't use string ("") as a HASH >ref while "strict refs" in use at /usr/local/interchange/lib/UI/Primitive.pm line 215.> > >I get this exact same error, when I go to Adminitration->preferences->anygroup and >click on the variable that I want to change.> > >Again, I'm using the IC CVS version (4.8.1) > >Any ideas? Also, same error through the Administration->Wizard Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (cedric Boudin) Date: Fri Aug 10 10:58:01 2001 Subject: [ic] Debugging Is it possible to get interchange to write debug info in the debug log file. what tag is usefull forthis purpouse trying to get used to the system cedric From: interchange-users at interchange.redhat.com (David Totten) Date: Fri Aug 10 11:36:00 2001 Subject: [ic] Debugging On 10 Aug 2001 16:57:12 +0200, cedric Boudin wrote: > Is it possible to get interchange to write debug info in the debug log > file. > what tag is usefull forthis purpouse > trying to get used to the system I don't think I have done this with a [tag] or anything, but within a [perl][/perl] block, you could do ::logDebug("some debugging output"); and it will output into by default /tmp/icdebug.log. Note: you have to make sure that you have this option turned on inside of your interchange.cfg. Another trick that you can do, is ::logError("some debugging output"); and this will output into your catalogs' error.log file. Dave Totten From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Fri Aug 10 11:56:01 2001 Subject: [ic] SQL Stored Procedures "Todd L. Cawthron" wrote: > > Hello. > > I'm using Interchange 4.6.5 on RH Linux 6.2 using Sybase ASE 11.03 as the > database. I would like to call some database stored procedures from > Interchange. I'm not having much luck returning any results and could not > find any relevant information in the mailing list archives. > This is most likely a combination of issues for IC and DBD::Sybase. The DBD connectors are not a plug in to the various database client interfaces. So, whatever extended features that exist in 'isql' (such as EXECUTE may be) will most likely not be present via the same commands through DBI. What I would do is, use a simple perl script to connect to your database directly, and then find out what you have to do to get a stored procedure to execute from there. Also, you're going to have trouble if you are trying to return parameters from stored procedures, as you'd have to use DBI's bind_param_inout to do it, and IC does not have any built-in support for that. To use the full capability of DBI, you'll have to use a database handle in embedded perl (assuming there aren't any Safe gotchas that stop you). If you are unfamiliar with using Perl to interact with your database, "Programming the Perl DBI" is a must have. Well, it's really a must have even if you are familiar :) -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at interchange.redhat.com (Russ Riggs) Date: Fri Aug 10 12:08:00 2001 Subject: [ic] Credit Card Encyption + new file? Some process has 'dumped core'. In other words a process terminated abnormally and generated a core file for debugging purposes. You might be able to discern what tanked by issuing the command 'what core' and gleaning info that that command returns. If you don't care to debug or find out what it is then just remove it. Won't cause any harm if you do... Russ... Garry wrote: > My IC home directory has acquired a new file called "core" it is 2300 kb in > size. > > Does anyone know what this might be or where it is from? > > Cheers > > Garry > > ----- Original Message ----- > From: "Corey Gilmore" <cfg@dln.uvm.edu> > To: <interchange-users@interchange.redhat.com> > Sent: Friday, August 10, 2001 1:10 AM > Subject: RE: [ic] Credit Card Encyption > > > I think part of my problem may be that pgp isn't working for some reason. > > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > > I have a different binary. emails are changed to avoid spam. > > > > $ export PGPPATH=/home/ic/.pgp/ > > $ cat /etc/issue | pgp -fate professional@ced.tld > > Pretty Good Privacy(tm) Version 6.5.8 > > (c) 1999 Network Associates Inc. > > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > > Export of this software may be restricted by the U.S. government. > > > > > > received signal 11 > > > > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > > the default for ENCRYPTOR... > > > > The key is on my keyring, > > $ pgp -kv > > Type bits keyID Date User ID > > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs > <professional@ced.tld> > > 1 matching key found. > > > > The error (shown in red ;) is > > Credit Card Information (Credit card encryption failed: ) > > > > $cat /usr/bin/pgp_shell.sh > > #!/bin/sh > > > > PGPPATH=/home/ic/.pgp; export PGPPATH > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > and from my catalog.cfg > > > > Variable MV_PAYMENT_MODE minivend_test > > CreditCardAuto No > > CyberCash No > > EncryptProgram __ENCRYPTOR__ > > > > Route main attach 0 > > Route main credit_card 0 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 0 > > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate > professional@ced.tld 2>/dev/null' > > Route main errors_to 'cgilmore@dln.tld' > > Route main increment 0 > > Route main pgp_cc_key "" > > Route main pgp_key "0xE1AB9BC5" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 0 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > # i have different email addresses here for debugging > > > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > > and setting it to pgp -feat as suggested in the ic docs. Always though, > > it fails. If i get rid of the encryptor variable (or delete the values > > for encrypt_program) it sends me an unencrypted email, with my CC info. > > > > any ideas? > > > > .cfg > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > > did > > > > you comment out the CYBEr_MODE def? And are you using the > > > minivend_test > > > > payment mode? I am going crazy with this at the moment :/ > > > > > > > > thanks > > > > .cfg > > > > > > > > > > Variable MV_PAYMENT_MODE custom signio > > > CreditCardAuto No > > > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > > code to clean up the config file a bit. > > > > > > Let me know if you need more information. > > > -Ron > > > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > > it is doing when IC calls it? Is the user's public key in the keyring > > > for the user that runs IC? > > > > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > > > Here is the relevant info from a catalog that is working in live > > > mode > > > > > right now. ENCRYPTOR is defined as: > > > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > > 'pgp_shell.sh' is: > > > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > > > And the route in catalog.cfg: > > > > > > > > > > Route main attach 0 > > > > > Route main credit_card 0 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 0 > > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 1 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Good luck! > > > > > -Ron > > > > > > > > > > > -----Original Message----- > > > > > > From: interchange-users-admin@interchange.redhat.com > > > > > [mailto:interchange- > > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > > To: interchange-users@interchange.redhat.com > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > > tried > > > > > > many > > > > > > combinations, to no avail > > > > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > > productive > > > > > > attempt: > > > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > > > #Variable COMPANY Whatever > > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > > > # Main route must be last to make default > > > > > > Route main attach 1 > > > > > > Route main credit_card 1 > > > > > > Route main cybermode "" > > > > > > Route main default 1 > > > > > > Route main email '__ORDERS_TO__' > > > > > > Route main encrypt 1 > > > > > > Route main encrypt_program > > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > > Route main errors_to '__ORDERS_TO__' > > > > > > Route main increment 0 > > > > > > Route main pgp_cc_key "username" > > > > > > Route main pgp_key "" > > > > > > Route main receipt etc/receipt.html > > > > > > Route main report etc/report > > > > > > Route main supplant 0 > > > > > > Route main individual_track orders > > > > > > Route main track logs/tracking.asc > > > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > > > Please could anybody post at least a example which works... > > > maybe > > > > > this > > > > > > would > > > > > > > help... > > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > > > thanx > > > > > > > mike > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > > anyone > > > > > > have > > > > > > > > any idea what I am doing wrong? - does the report email need > > > > > altering > > > > > > in > > > > > > > any > > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > > Do You Yahoo!? > > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > interchange-users mailing list > > > > > > > > interchange-users@lists.akopia.com > > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@interchange.redhat.com > > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Fri Aug 10 12:13:00 2001 Subject: [ic] !! discount prices in steps !! HELP admin wrote: > > i need help to find a solution to display discount prices from > total-prices in several steps. > > from 500 DM up to 1000 DM 1% > from 1000 DM up to 1500 DM 3,5 % > from 2000 DM up to endless 5,5 % Note: I'm going to assume the 2000 is a typo and should have read 1500. [discount ENTIRE_ORDER] my $perc; if ($s >= 1500) { $perc = 0.055; } elsif ($s >= 1000) { $perc = 0.035; } elsif ($s >= 500) { $perc = 0.01; } unless ($perc) { delete $Scratch->{discount_amount}; return; } return $Scratch->{discount_amount} = $s * $perc; [/discount] Now, you have the correct total discount set, and the amount of the discount can be retrieved by [scratch discount_amount]. Wrap in [currency] tag to show as money. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 10 13:02:01 2001 Subject: [ic] Tutorial Problem We are going thru the tutorial exercise and when we try to dispay the first example the text "this is where your content goes." is displayed but the top, left, bottom does not get displayed. We have gone back thru the setup and every thing appears to be ok. we are runnig version 4.7.7. Any ideals that we can try will be helpfull. The only question was where the templates directory get placed the doc. is not real specfic and we assume it is under the tutorial directory. Thanks Terry From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 10 13:04:59 2001 Subject: [ic] New UI problems.... Brian Kosick <briank@nacs.net> writes: > Hello again, TGIF > > I'm sure that you're tired of hearing from me, I'm getting a new problem, > when I try export tables through the Administration->tables section. It reads: > > 207.166.192.127 Q2SzGyFU:207.166.192.127 - [10/August/2001:09:37:11 -0400] > bluestone /cgi-bin/bluestone.cgi/admin/flex_editor Runtime error: Can't use > string ("") as a HASH ref while "strict refs" in use at > /usr/local/interchange/lib/UI/Primitive.pm line 215. > > I get this exact same error, when I go to > Adminitration->preferences->anygroup and click on the variable that I want > to change. > > Again, I'm using the IC CVS version (4.8.1) Yes, this seems to be really a bug. I traced the problem down in Primitive.pm and send my analysis to the other IC core developers. I think a fix will be available soon. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 10 13:06:54 2001 Subject: [ic] admin ui problems (Unable to archive/delete) customer or order Quoting Brian Kosick (briank@nacs.net): > > ><snip> > > > >Ooops. I just made a wrong post. > > > >Thanks for catching this prior to 4.8.1 release -- you are missing a > >file, lib/UI/pages/include/order_delete_archive. It is now in CVS, but > >is attached to this email also. > > > >-- > >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > >phone +1.513.523.7621 <mheins@redhat.com> > > > >Being against torture ought to be sort of a bipartisan thing. > >-- Karl Lehenbauer > > OK please disregard my previous message about the problem with customer UI, > I fixed it by changing my inactive CHAR() to inactive VARCHAR(). And I fixed it in the demo by doing the same....we forgot to set a DEFAULT_TYPE in the userdb database. Thanks for your fine diagnostic work. ( We usually fix things fast when I get good information like you provided; We are not nearly as fast when we have to do mind-reading and guessing. Kudos! ) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 10 13:46:01 2001 Subject: [ic] Show all errors on checkout page A while back someone (Mike I think) posted a ITL snippet that would display all errors received during the checkout process, but I can't find it in the archives. Does anyone remember what it was? thanks, corey From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 10 14:11:01 2001 Subject: [ic] Credit Card Encryption At 03:35 PM 08/10/2001 +0200, you wrote: >at first i want to thank you ron very much for this live example.. it helped >me lot! > >but i've got another question concerning cc&pgp. > >actually it looks like: > >---- snip ---- >[interchange@shopix etc]$ cat ../tmp/pgp.7AhyYfkf.17148.err >gpg: Warning: using insecure memory! >gpg: 0xB8413DE6: skipped: public key not found >gpg: [stdin]: encryption failed: public key not found >[interchange@shopix etc]$ pgp -kv >PGP Command Line for Workstations(tm) Version 7.0.1 >(c) 2000 Network Associates Inc. > >Export of this software may be restricted by the U.S. government. > >Warning: Using insecure memory! > >Type bits keyID Date User ID >DSS 2048/1024 0xB8413DE6 2001/08/10 Interchange <interchange@vis.at> >1 matching key found. >---- / snip ---- > >hmmm strange... i do not know whats wrong... >im calling with >pgp -feat __ORDERS_TO__ >(ORDERS_TO is mailto:interchange@vis.at ive aded for this the public pgp >key) > >in etc/report im using: >[tag op=mime > interpolate=1 > type=application/pgp-encrypted > description="CreditCard_[value mv_order_number]"] >[value mv_credit_card_info] >[/tag] > >with this i get something like: >visa 41 NEED ENCRYPTION 1111 1/06 > >in the cc info... hmmm >maybe another report example would help ;-) > >thanx, mike >----- Original Message ----- >From: Ron Phipps >To: interchange-users@interchange.redhat.com >Sent: Thursday, August 09, 2001 9:11 PM >Subject: RE: [ic] Credit Card Encyption > > >Here is the relevant info from a catalog that is working in live mode >right now. ENCRYPTOR is defined as: >/usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null >in my variables table. The contents of my pgp wrapper named >'pgp_shell.sh' is: >PGPPATH=/home/minivend/.pgp; export PGPPATH >/usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 >And the route in catalog.cfg: >Route main attach 0 >Route main credit_card 0 >Route main cybermode "" >Route main default 1 >Route main email '__ORDERS_TO__' >Route main encrypt 0 >Route main encrypt_program '__ENCRYPTOR__' >Route main errors_to '__ORDERS_TO__' >Route main increment 0 >Route main pgp_cc_key "" >Route main pgp_key "" >Route main receipt etc/receipt.html >Route main report etc/report >Route main supplant 1 >Route main individual_track orders >Route main track logs/tracking.asc >Good luck! >-Ron What is the current value of the ORDERS_TO variable? - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Fri Aug 10 14:15:01 2001 Subject: [ic] !! discount prices in steps !! HELP OK, let's see if I can get this right now. > admin wrote: > > > > i need help to find a solution to display discount prices from > > total-prices in several steps. > > > > from 500 DM up to 1000 DM 1% > > from 1000 DM up to 1500 DM 3,5 % > > from 2000 DM up to endless 5,5 % > > Note: I'm going to assume the 2000 is a typo and should have read 1500. > > [discount ENTIRE_ORDER] > my $perc; > if ($s >= 1500) { > $perc = 0.055; > } > elsif ($s >= 1000) { > $perc = 0.035; > } > elsif ($s >= 500) { > $perc = 0.01; > } > unless ($perc) { delete $Scratch->{discount_amount}; return $s; } return $Scratch->{discount_amount} = $s - $s * $perc; > [/discount] > Sorry about that. -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at interchange.redhat.com (Ton Verhagen) Date: Fri Aug 10 14:18:01 2001 Subject: [ic] Show all errors on checkout page Quoting Corey Gilmore (): >A while back someone (Mike I think) posted a ITL snippet that would >display all errors received during the checkout process, but I can't find Hi Corey, Would this help you: [if type=explicit compare="[error all=1 show_var=1 keep=1]"] There were errors in your last submission:<br> [error all=1 keep=1 show_error=1 show_label=1 joiner="<br>"] [/if] Good luck, Ton From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Fri Aug 10 14:22:00 2001 Subject: [ic] !! discount prices in steps !! HELP And, since the second attempt didn't do it... > > unless ($perc) { > delete $Scratch->{discount_amount}; > return $s; > } $Scratch->{discount_amount} = $s * $perc; return $s - $s * $perc; > > [/discount] > > > Now, finally, you have what you want. Arg! -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@redhat.com 703-456-2912 From: interchange-users at interchange.redhat.com (IC-Admin) Date: Fri Aug 10 14:47:00 2001 Subject: [ic] http://news.wideopen.com/ajb/2-118,209-103,16336878 BF From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 10 15:33:00 2001 Subject: [ic] New UI problems.... Quoting Brian Kosick (briank@nacs.net): > >Hello again, TGIF > > > >I'm sure that you're tired of hearing from me, I'm getting a new problem, > when I try >export tables through the Administration->tables section. It > reads: > > > >207.166.192.127 Q2SzGyFU:207.166.192.127 - [10/August/2001:09:37:11 > -0400] bluestone >/cgi-bin/bluestone.cgi/admin/flex_editor Runtime error: > Can't use string ("") as a HASH >ref while "strict refs" in use at > /usr/local/interchange/lib/UI/Primitive.pm line 215.> > > > >I get this exact same error, when I go to > Adminitration->preferences->anygroup and >click on the variable that I want > to change.> > > > >Again, I'm using the IC CVS version (4.8.1) > > > >Any ideas? > As Stefan mentioned in the other thread, he found the problem and we fixed it. Good teamwork -- you, Stefan, and me. This is really what OSS is all about. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Scott Fletcher) Date: Fri Aug 10 16:01:01 2001 Subject: [ic] http://news.wideopen.com/ajb/2-118,209-103,16336878 eh? -----Original Message----- From: IC-Admin [mailto:interchange@my-school.com] Sent: Friday, August 10, 2001 3:07 PM To: interchange-users@interchange.redhat.com Subject: [ic] http://news.wideopen.com/ajb/2-118,209-103,16336878 BF _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 10 16:07:00 2001 Subject: [ic] How IC 4.6.5 calls EncryptProgram Well I wrote a little wrapper for PGP 6.5.8, #!/usr/bin/perl -w use File::Temp; ($fh, $filename) = File::Temp::tempfile() or die "couldn't create temp file: $!"; #($fh-out, $output) = File::Temp::tempfile() or die "couldn't create temp file: $!"; #print "filename: $filename\nhandle: $fh\n"; while( <> ) { print $fh $_; } $out = $filename . ".asc"; system "/usr/bin/pgp -eat $filename user\@host.com 2>/dev/null"; system "/bin/cat $out"; `/usr/bin/pgp -w $filename 2>/dev/null`; `/usr/bin/pgp -w $out 2>/dev/null`; return 0; #end yes, its not perfect, but its to help me diagnose whats wrong with my config. $ cat /etc/issue.net | /usr/bin/pgpe spits out the encrypted message on stdout. So now, the only time this DOESN'T work, is when IC calls it, I still get the 'Credit card encryption failed: ' error What I can't figure out is how IC calls the EncryptProgram. Any ideas? thanks, corey >From catalog.cfg Variable ORDER_ROUTES log main copy_user Variable MV_PAYMENT_MODE minivend_test CreditCardAuto No # Main route must be last to make default Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email 'cfg@dln.uvm.edu' Route main encrypt 0 Route main encrypt_program __ENCRYPTOR__ Route main errors_to 'cgilmore@dln.uvm.edu' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Variable ENCRYPTOR /usr/bin/pgpe EncryptProgram __ENCRYPTOR__ From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 10 17:33:00 2001 Subject: [ic] New UI problems.... At 03:32 PM 8/10/01 -0400, you wrote: >Quoting Brian Kosick (briank@nacs.net): > > >Hello again, TGIF > > > > > >I'm sure that you're tired of hearing from me, I'm getting a new > problem, > > when I try >export tables through the Administration->tables section. It > > reads: > > > > > >207.166.192.127 Q2SzGyFU:207.166.192.127 - [10/August/2001:09:37:11 > > -0400] bluestone >/cgi-bin/bluestone.cgi/admin/flex_editor Runtime error: > > Can't use string ("") as a HASH >ref while "strict refs" in use at > > /usr/local/interchange/lib/UI/Primitive.pm line 215.> > > > > > >I get this exact same error, when I go to > > Adminitration->preferences->anygroup and >click on the variable that I > want > > to change.> > > > > > >Again, I'm using the IC CVS version (4.8.1) > > > > > >Any ideas? > > > >As Stefan mentioned in the other thread, he found the problem and >we fixed it. Good teamwork -- you, Stefan, and me. This is really what >OSS is all about. 8-) > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >Few blame themselves until they have exhausted all other possibilities. > -- anonymous >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Why, thank you, getting some recognition makes me feels good, but I won't feel like I've truly contributed, until I actually get some hack of mine into the code base. ;-) I hope all of you have a great weekend! Me, I'm going to play a Luddite this weekend, and go camping. tchuss! Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 10 20:02:01 2001 Subject: [ic] How IC 4.6.5 calls EncryptProgram At 04:05 PM 08/10/2001 -0400, you wrote: >Well I wrote a little wrapper for PGP 6.5.8, > > >#!/usr/bin/perl -w > >use File::Temp; > >($fh, $filename) = File::Temp::tempfile() or die "couldn't create temp >file: $!"; >#($fh-out, $output) = File::Temp::tempfile() or die "couldn't create temp >file: $!"; > >#print "filename: $filename\nhandle: $fh\n"; > >while( <> ) { > print $fh $_; >} > >$out = $filename . ".asc"; >system "/usr/bin/pgp -eat $filename user\@host.com 2>/dev/null"; >system "/bin/cat $out"; >`/usr/bin/pgp -w $filename 2>/dev/null`; >`/usr/bin/pgp -w $out 2>/dev/null`; >return 0; >#end > >yes, its not perfect, but its to help me diagnose whats wrong with my >config. > >$ cat /etc/issue.net | /usr/bin/pgpe > >spits out the encrypted message on stdout. > >So now, the only time this DOESN'T work, is when IC calls it, I still get >the 'Credit card encryption failed: ' error > >What I can't figure out is how IC calls the EncryptProgram. > >Any ideas? It opens it like a filehandle - take a look at sub encrypt_cc() in interchange/lib/Vend/Order.pm. If you are having trouble, have you tried adding ' 2>>~/encrypt.err' to the end of your ENCRYPTOR string? This should force PGP to log its complaints to a file called encrypt.err in the IC user's home directory. - Ed L. >thanks, >corey > > From catalog.cfg > >Variable ORDER_ROUTES log main copy_user >Variable MV_PAYMENT_MODE minivend_test >CreditCardAuto No > ># Main route must be last to make default >Route main attach 0 >Route main credit_card 0 >Route main cybermode "" >Route main default 1 >Route main email 'cfg@dln.uvm.edu' >Route main encrypt 0 >Route main encrypt_program __ENCRYPTOR__ >Route main errors_to 'cgilmore@dln.uvm.edu' >Route main increment 0 >Route main pgp_cc_key "" >Route main pgp_key "" >Route main receipt etc/receipt.html >Route main report etc/report >Route main supplant 1 >Route main individual_track orders >Route main track logs/tracking.asc > >Variable ENCRYPTOR /usr/bin/pgpe >EncryptProgram __ENCRYPTOR__ > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Aug 10 22:02:01 2001 Subject: [ic] IC 4.8 On Thu, 9 Aug 2001, IC-Admin wrote: I>>> Is there an ETA on the release of 4.8 ? I>> I>>What is an ETA ? Extra-Terrestial Alien -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 10, 2001 at 22:05 PM: The meek shall inherit the earth, if that's OK with you ---------------------------------------------------------------- This Linux System has been up 771 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Mike Thompson) Date: Sat Aug 11 10:42:00 2001 Subject: [ic] How can I log search requests? I am interested in trying to capture and log search requests that are entered in by my customers from both the small and advanced search forms. It is valuable to me to know what people are looking for when they come to my store. Also even more valuable is to know what they are looking for but didn't find. Has anyone already set up something similar? Any ideas about how to go about this? I didn't see anything in the archives. Thanks, -Mike Thompson From: interchange-users at interchange.redhat.com (Tim Mirecki) Date: Sat Aug 11 11:43:00 2001 Subject: [ic] CommonAdjust! Hi all. I have one item (pizza) that has about 60 modifiers pulled from a database. I have a configuration page with a bunch of checkboxes on it. My pizza table looks like this: (note only one pizza is customizable) Sku name S M L XL 0060 customizable 7.99 10.99 12.99 14.99 0061 other pizza1 7.99 10.99 12.99 14.99 0063 other pizza2 7.99 10.99 12.99 14.99 I have a unique code for each topping (unrelated to the sku of my customizable pizza), and a different price for each size. This gets complicated. My toppings table is in this format: topping_code name S M L XL T01 green pepper 1.00 2.00 3.00 4.00 T02 pepperoni 1.50 2.00 3.00 4.00 T03 olives 1.00 2.02 2.50 3.00 In my catalog.cfg: UseModifier size,topping CommonAdjust ==size:pricing, ==topping:toppings:L You’ll notice that I’m working with Large only right now to simplify things. In my store, on the custom pizza configuration page, I have checkboxes with the following info: name=mv_order_topping value=topping_code Here’s what I’m passing in attempt to place the order (I can successfully order a pizza with the right price, but only ONE topping of my choice :0) mv_order_item=0060 mv_order_size=L mv_order_topping=T01 mv_order_topping=T02 mv_order_topping=T03 mv_order_topping=T04 And so on... Anyone out there have any suggestions? I know this is pretty hardcore in a sense, but I don’t think I’m too far off here. Thanks... Tim From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Aug 11 13:43:01 2001 Subject: [ic] How can I log search requests? Quoting Mike Thompson (mthompso@nmsu.edu): > I am interested in trying to capture and log search requests that are > entered in by my customers from both the small and advanced search forms. > > It is valuable to me to know what people are looking for when they come to > my store. Also even more valuable is to know what they are looking for but > didn't find. > > Has anyone already set up something similar? Any ideas about how to go > about this? I didn't see anything in the archives. I used to do this with a special feature, but as it turns out it is much easier to do right on the results page. Use a hidden parameter in any search forms called log_search_data: <INPUT TYPE=hidden NAME=log_search_data VALUE=1> Then, do in results: [no-match] [if cgi log_search_data] [tmp log_data] NOT FOUND: [value-extended name=mv_searchspec joiner=" AND "] from_page: @@MV_PREV_PAGE@@ host: [data session host] username if logged in: [data session username] email: [value email] [/tmp] [calc] $Scratch->{log_data} =~ s/^\s+//mg; $Scratch->{log_data} =~ s/\s+$//mg; return; [/calc] [log file=logs/not_found interpolate=1][scratch log_data][/log] [/if] [/no-match] You can get as fancy as you want with the data, even to the point of doing a database import (not recommended, especially for DBM, mostly for performance). -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> When the only tool you have is a hammer, all your problems tend to look like nails. -- Abraham Maslow From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Sat Aug 11 15:44:00 2001 Subject: [ic] How can I log search requests? At 08:41 AM 08/11/2001 -0600, you wrote: >I am interested in trying to capture and log search requests that are >entered in by my customers from both the small and advanced search forms. > >It is valuable to me to know what people are looking for when they come to >my store. Also even more valuable is to know what they are looking for but >didn't find. > >Has anyone already set up something similar? Any ideas about how to go >about this? I didn't see anything in the archives. > >Thanks, > >-Mike Thompson Back in MV3 there was a catalog.cfg directive called CollectData: CollectData The points at which to log various data items collected by MiniVend, such as failed or successful searches. This allows you to find out what your customers are searching for and NOT finding -- perhaps you want to add it, or change your product description to match. Uses something like the HTTP common log format. The choices to enter are: matched Search strings that match nomatch Search strings that fail to match page Pages that are accessed nopage Pages that are not found basket Items placed in shopping carts cache Pages/searches added to cache Enter as a space or comma-separated list, i.e. CollectData matched,nomatch,page ...but it couldn't grep it in IC 4.x.x. You can roll your own without too much trouble; take a look the [log] tag, which could be used to construct logging code, which you could include in a [no-match] block on your results page to catch those failed searches. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jason Timm) Date: Sat Aug 11 18:25:01 2001 Subject: [ic] IC 4.8 >On Thu, 9 Aug 2001, IC-Admin wrote: > >I>>> Is there an ETA on the release of 4.8 ? >I>> >I>>What is an ETA ? > >Extra-Terrestial Alien > ------- Well, this must be an Extra Tough Answer (ETA), because nobody seems to have an answer... Seriously - does anyone know if it will be out in the next month timeframe or will it be more like 2-3 or more months? Also, I noticed that there are books out on 4.8 now. Are they any different than the online docs and mailing list - or is it just a compilation of those things? Thanks... Jason Timm From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Aug 11 22:24:00 2001 Subject: [ic] IC 4.8 Quoting Jason Timm (jason@itchoices.com): > > >On Thu, 9 Aug 2001, IC-Admin wrote: > > > >I>>> Is there an ETA on the release of 4.8 ? > >I>> > >I>>What is an ETA ? > > > >Extra-Terrestial Alien > > > ------- > > Well, this must be an Extra Tough Answer (ETA), because nobody seems to have > an answer... Seriously - does anyone know if it will be out in the next > month timeframe or will it be more like 2-3 or more months? Also, I noticed > that there are books out on 4.8 now. Are they any different than the online > docs and mailing list - or is it just a compilation of those things? > It is iminent. We would have released last week except for the network outage, and then we found a couple of issues that required some further testing. I would be very surprised if it wasn't released by the end of the week. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at interchange.redhat.com (Admin Account) Date: Sun Aug 12 01:55:00 2001 Subject: [ic] Adding fields in UI 4.7 How do I make product fields display in Item-Edit of UI with 4.7? I can't find item_display_fields. Has this changed from 4.6.5? Thanks From: interchange-users at interchange.redhat.com (Admin Account) Date: Sun Aug 12 15:35:00 2001 Subject: [ic] Adding fields in UI 4.7 >How do I make product fields display in Item-Edit of UI with 4.7? >I can't find item_display_fields. Has this changed from 4.6.5? Never mind discovered options. From: interchange-users at interchange.redhat.com (Admin Account) Date: Sun Aug 12 15:59:00 2001 Subject: [ic] Can't get SeparateItems to work in 4.7.7 I can't get multiple quantities of the same item to display as separate lines in cart or checkout. I have SeparateItems yes in catalog.cfg I egrep -r 'mv_separate_items' * from catalog root and no found results. I tried adding <INPUT TYPE=hidden NAME=mv_separate_items VALUE="1"> to checkout and flypage with no results. What am I missing? Thanks, as always From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Aug 12 16:12:00 2001 Subject: [ic] IC 4.8 On Sat, 11 Aug 2001, Jason Timm wrote: JT>>>I>>> Is there an ETA on the release of 4.8 ? JT>>>I>> JT>>>I>>What is an ETA ? JT>>> JT>>>Extra-Terrestial Alien JT>>> JT>>------- JT>> JT>>Well, this must be an Extra Tough Answer (ETA), because nobody seems to have JT>>an answer... Seriously - does anyone know if it will be out in the next JT>>month timeframe or will it be more like 2-3 or more months? Also, I noticed JT>>that there are books out on 4.8 now. Are they any different than the online JT>>docs and mailing list - or is it just a compilation of those things? >From my old FidoNet days when everyone (or, almost everyone) waited with bated breath about the arrival of the latest Binkly mailer and they would ask when it would be released, the development team's answer was always: "It will be released when it is ready!" Producers of software are like cooks making soup. Don't push them or you won't like the product! Or, "It's not soup yet!" -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, August 12, 2001 at 16:10 PM: Why am I asking all these things? ---------------------------------------------------------------- This Linux System has been up 28 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sun Aug 12 16:15:00 2001 Subject: [ic] IC 4.8 On Sat, 11 Aug 2001, Mike Heins wrote: MH>>> Well, this must be an Extra Tough Answer (ETA), because nobody seems to have MH>>> an answer... Seriously - does anyone know if it will be out in the next MH>>> month timeframe or will it be more like 2-3 or more months? Also, I noticed MH>>> that there are books out on 4.8 now. Are they any different than the online MH>>> docs and mailing list - or is it just a compilation of those things? MH>>> MH>> MH>>It is iminent. We would have released last week except for the network MH>>outage, and then we found a couple of issues that required some further MH>>testing. Take your time and make it right! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Sunday, August 12, 2001 at 16:15 PM: Seen on BBSer's tombstone: CONNECT 1953, NO CARRIER 1994 ---------------------------------------------------------------- This Linux System has been up 28 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Allen Armstrong) Date: Sun Aug 12 19:02:00 2001 Subject: [ic] Is it me or is everyone recieving dupes Is it me or is everyone recieving duplicate messages? ttyl, Allen Armstrong From: interchange-users at interchange.redhat.com (Jason Timm) Date: Sun Aug 12 21:06:01 2001 Subject: [ic] IC 4.8 >"It will be released when it is ready!" > >Producers of software are like cooks making soup. Don't push them or >you won't like the product! > >Or, "It's not soup yet!" OTOH, some may be curious not because they think the development should move faster, but because they are trying to plan for upgrades, business development, etc. I mean no disrespect at all, it's just that I am in a position where I must build a new server to move my existing clients to, and would rather not install an 'old' version if it only means waiting for a week or whatever. But, if it is months off, then I do not have a choice. [anxiously waiting...] ;) Jason From: interchange-users at interchange.redhat.com (JT Justman) Date: Mon Aug 13 02:29:00 2001 Subject: [ic] Multiple images... Hi! My site is coming along nicely, thanks to a couple choice tidbits of help from the group. Thanks, guys, for being such a helpfull bunch! Now my latest hitch: some of my products require only one (or zero) images, while others may require four or five. My plan is to name images based on SKU, and have IC show all that exist for a given SKU (i.e. 10002-01.jpg would be the second image of SKU 10002). I could simply write as many [if file /location/(sku)-(n)] statements as I could imagine using, but I'd prefer a more eligant solution. I can't seem to get the hang of diong loops in IC, has anyone worked this out? Thanks! JT Justman From: interchange-users at interchange.redhat.com (admin) Date: Mon Aug 13 03:48:01 2001 Subject: [ic] Re: !! discount prices in steps !! HELP (Mark Johnson) hello, thank you for your examples. but the result is, that are all positions zero. i place the code in my checkout.html, is this correct? btw. i use perl v5.6.0, interchange 4.7.7 and red hat 7.1 mfg erik kendel From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Mon Aug 13 03:59:00 2001 Subject: [ic] Europe Billing Systems (especially paybox, bezahlen.at) thanx. i've also asked there but i didn`t received a response until now (ok .. i`ve sent the mail at friday.. i think i will get a response today or tomorrow.. i will post a interpretation of their response to the mailing list (if i get a response :))) thanx mike ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 10, 2001 3:07 PM Subject: Re: [ic] Europe Billing Systems (especially paybox, bezahlen.at) > "Mangeng Michael" <m1k3@vis.at> writes: > > > Hi > > > > Does anybody has expierence with the European billing systems "paybox" > > and/or "bezahlen.at" (possible in a few european countries.. at, ch, de, > > fr,...) ? > > > > Is there any information how i can implement these payment systems into > > interchange ? > > Well, I can take a look at it if no one else has tried this. > > Ciao > Racke > > -- > Racke happily hacks Interchange and maintains Debian packages like Courier. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Mon Aug 13 05:22:01 2001 Subject: [ic] Credit Card Encyption hm... same problem here... i get with the report mail: ----snip--- Credit Card Info: visa 41 NEED ENCRYPTION 1111 1/03 Payment Method: Credit Card (visa) Account Number: 41**1111 Expiration: 1/03 ---/snip--- i get in the pgp.*.err: ----snip--- gpg: %s: skipped: public key not found gpg: [stdin]: encryption failed: public key not found ---/snip--- the strange thing is that from the command line all orders get interpreted well but interchange always causes this error message... i'm using following seetings in catalog.cfg: ----snip--- Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program '__ENCRYPTORGPG__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "interchange@vis.at" Route main pgp_key "interchange@vis.at" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc ---/snip--- (i´ve inserted the target email adress for pgp_key and pgp_cc_key here.. if i use "" as the values of these, the effect is the same) the important vars in variables.txt look like: ---snip--- ENCRYPTORPGP /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>>~/encrypt.err ENCRYPTORGPG /usr/bin/gpg_shell.sh -ea --always-trust -r __ORDERS_TO__ 2>>~/encrypt.err ORDERS_TO interchange@vis.at Order ---/snip--- (i tried both, PGP from pgpi.com and gnupg from www.gnupg.org) encrypt.err does not get created... pgp_shell.sh and gpg_shell.sh look like: ---snip--- GNUPGPATH='/home/interchange/.gnugp'; export GNUPGPATH /usr/bin/gpg $1 $2 $3 $4 $5 $6 $7 ---/snip--- (pgp_shell with PGPPATH, .pgp and /usr/bin/pgp as binary) as etc/report im using the one supplied wby the foundation demo. i hope somebody can help me... i`ve tried many many permutations of the seetings :)) thanx mike ----- Original Message ----- From: "Garry" <gazonice@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 10, 2001 3:05 PM Subject: Re: [ic] Credit Card Encyption > I have made some progress on this subject (but not a lot): > > I at least get the "encryption failed" error message now. > > Does anyone know what the obvious possible causes for this error message > might be? > > Also, where does one install the pgp program?, at the moment, mine is in a > seperate folder of its own in the root directory of the web server - is > this the correct place to put it? > > Any advice / suggestions would be greatly appreciated. > > Garry > > ----- Original Message ----- > From: "Corey Gilmore" <cfg@dln.uvm.edu> > To: <interchange-users@interchange.redhat.com> > Sent: Friday, August 10, 2001 1:10 AM > Subject: RE: [ic] Credit Card Encyption > > > > I think part of my problem may be that pgp isn't working for some reason. > > I have 6.5.8, not the 5.x that all docs (except my IC books!) refer to, so > > I have a different binary. emails are changed to avoid spam. > > > > $ export PGPPATH=/home/ic/.pgp/ > > $ cat /etc/issue | pgp -fate professional@ced.tld > > Pretty Good Privacy(tm) Version 6.5.8 > > (c) 1999 Network Associates Inc. > > Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > > Export of this software may be restricted by the U.S. government. > > > > > > received signal 11 > > > > > > Is there a reason why this would fail? The docs for 4.8 show pgp -feat as > > the default for ENCRYPTOR... > > > > The key is on my keyring, > > $ pgp -kv > > Type bits keyID Date User ID > > DSS 1024/1024 0xE1AB9BC5 2001/08/09 Professional Programs > <professional@ced.tld> > > 1 matching key found. > > > > The error (shown in red ;) is > > Credit Card Information (Credit card encryption failed: ) > > > > $cat /usr/bin/pgp_shell.sh > > #!/bin/sh > > > > PGPPATH=/home/ic/.pgp; export PGPPATH > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > and from my catalog.cfg > > > > Variable MV_PAYMENT_MODE minivend_test > > CreditCardAuto No > > CyberCash No > > EncryptProgram __ENCRYPTOR__ > > > > Route main attach 0 > > Route main credit_card 0 > > Route main cybermode "" > > Route main default 1 > > Route main email '__ORDERS_TO__' > > Route main encrypt 0 > > Route main encrypt_program '/usr/bin/pgp_shell.sh -fate > professional@ced.tld 2>/dev/null' > > Route main errors_to 'cgilmore@dln.tld' > > Route main increment 0 > > Route main pgp_cc_key "" > > Route main pgp_key "0xE1AB9BC5" > > Route main receipt etc/receipt.html > > Route main report etc/report > > Route main supplant 0 > > Route main individual_track orders > > Route main track logs/tracking.asc > > > > # i have different email addresses here for debugging > > > > I've also tried setting the ENCRYPTOR variable and using that everywhere, > > and setting it to pgp -feat as suggested in the ic docs. Always though, > > it fails. If i get rid of the encryptor variable (or delete the values > > for encrypt_program) it sends me an unencrypted email, with my CC info. > > > > any ideas? > > > > .cfg > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > Just out of curiousity, what do you have CreditCardAuto set to? And > > > did > > > > you comment out the CYBEr_MODE def? And are you using the > > > minivend_test > > > > payment mode? I am going crazy with this at the moment :/ > > > > > > > > thanks > > > > .cfg > > > > > > > > > > Variable MV_PAYMENT_MODE custom signio > > > CreditCardAuto No > > > > > > Cybermode is set to "" in each route. I removed the ifdef cybermode > > > code to clean up the config file a bit. > > > > > > Let me know if you need more information. > > > -Ron > > > > > > P.S. Have you tried outputting the PGP call to a text file to see what > > > it is doing when IC calls it? Is the user's public key in the keyring > > > for the user that runs IC? > > > > > > > > > > On Thu, 9 Aug 2001, Ron Phipps wrote: > > > > > > > > > Here is the relevant info from a catalog that is working in live > > > mode > > > > > right now. ENCRYPTOR is defined as: > > > > > > > > > > /usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null > > > > > > > > > > in my variables table. The contents of my pgp wrapper named > > > > > 'pgp_shell.sh' is: > > > > > > > > > > PGPPATH=/home/minivend/.pgp; export PGPPATH > > > > > /usr/bin/pgp $1 $2 $3 $4 $5 $6 $7 > > > > > > > > > > And the route in catalog.cfg: > > > > > > > > > > Route main attach 0 > > > > > Route main credit_card 0 > > > > > Route main cybermode "" > > > > > Route main default 1 > > > > > Route main email '__ORDERS_TO__' > > > > > Route main encrypt 0 > > > > > Route main encrypt_program '__ENCRYPTOR__' > > > > > Route main errors_to '__ORDERS_TO__' > > > > > Route main increment 0 > > > > > Route main pgp_cc_key "" > > > > > Route main pgp_key "" > > > > > Route main receipt etc/receipt.html > > > > > Route main report etc/report > > > > > Route main supplant 1 > > > > > Route main individual_track orders > > > > > Route main track logs/tracking.asc > > > > > > > > > > Good luck! > > > > > -Ron > > > > > > > > > > > -----Original Message----- > > > > > > From: interchange-users-admin@interchange.redhat.com > > > > > [mailto:interchange- > > > > > > users-admin@interchange.redhat.com] On Behalf Of Garry > > > > > > Sent: Thursday, August 09, 2001 9:11 AM > > > > > > To: interchange-users@interchange.redhat.com > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > I would love to see a working example of the Catalog.cfg - I have > > > > > tried > > > > > > many > > > > > > combinations, to no avail > > > > > > > > > > > > > > > > > > PGP version is 6.5.8, on Linux 6.2 > > > > > > > > > > > > This is what my catalog.cgf looks like on my most recent, non > > > > > productive > > > > > > attempt: > > > > > > > > > > > > Please help me mend this......... .. > > > > > > > > > > > > #Variable COMPANY Whatever > > > > > > #Variable ENCRYPTOR ./pgp > > > > > > > > > > > > # Main route must be last to make default > > > > > > Route main attach 1 > > > > > > Route main credit_card 1 > > > > > > Route main cybermode "" > > > > > > Route main default 1 > > > > > > Route main email '__ORDERS_TO__' > > > > > > Route main encrypt 1 > > > > > > Route main encrypt_program > > > > > > '/home/whatever/pgp-6.5.8/./pgp -feast -a' > > > > > > Route main errors_to '__ORDERS_TO__' > > > > > > Route main increment 0 > > > > > > Route main pgp_cc_key "username" > > > > > > Route main pgp_key "" > > > > > > Route main receipt etc/receipt.html > > > > > > Route main report etc/report > > > > > > Route main supplant 0 > > > > > > Route main individual_track orders > > > > > > Route main track logs/tracking.asc > > > > > > > > > > > > Many Thanks - Garry > > > > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Michael Mangeng" <interchange@vis.at> > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > Sent: Thursday, August 09, 2001 3:02 PM > > > > > > Subject: Re: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > hmmmm.... as the most of you know, I`ve got the same problem... > > > > > > > Isn't there anywhere a brave knight who can help us ? :-) > > > > > > > > > > > > > > Please could anybody post at least a example which works... > > > maybe > > > > > this > > > > > > would > > > > > > > help... > > > > > > > i have no "pgpe" here.. only a "pgp" executeable.. > > > > > > > > > > > > > > thanx > > > > > > > mike > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Garry" <gazonice@yahoo.com> > > > > > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > > > > > Sent: Tuesday, August 07, 2001 9:10 PM > > > > > > > Subject: [ic] Credit Card Encyption > > > > > > > > > > > > > > > > > > > > > > I have some, but not a lot, of progress: > > > > > > > > > > > > > > > > Trying to encrypt the Credit Card number on the report email: > > > > > > > > > > > > > > > > The emails arrive, with the Credit card line number missing - > > > > > anyone > > > > > > have > > > > > > > > any idea what I am doing wrong? - does the report email need > > > > > altering > > > > > > in > > > > > > > any > > > > > > > > way to enable CC encryption? > > > > > > > > > > > > > > > > I am using PGP6.5.8 on Linux 6.2 > > > > > > > > > > > > > > > > Any help would be gratefully appreciated. > > > > > > > > > > > > > > > > Gaz > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > > > Do You Yahoo!? > > > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > interchange-users mailing list > > > > > > > > interchange-users@lists.akopia.com > > > > > > > > http://lists.akopia.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > interchange-users mailing list > > > > > > > interchange-users@interchange.redhat.com > > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > > > > > > _________________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > interchange-users mailing list > > > > > > interchange-users@interchange.redhat.com > > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kim Christensen) Date: Mon Aug 13 07:12:01 2001 Subject: [ic] qmail and not sendmail Hi Can someone tell me what has to be changed when using qmail and not sendmail. I am getting errors when IC is trying to send any kinds of mail like order confirmation, forgotten passwords etc. The error is: 195.97.164.2 hG3DZcYR:195.97.164.2 - [13/August/2001:09:25:45 +0200] foundation /cgi-bin/foundation/process.html Unable to send mail using Net::SMTP and Error sending mail to sales@web-counting.com: > Can't call method "mail" on an undefined value at /home/freemoney/interchange/lib/Vend/Util.pm line 1987. Best regards Kim From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Aug 13 07:56:00 2001 Subject: [ic] qmail and not sendmail "Kim Christensen" <kim@hambrosalle.dk> writes: > Hi > Can someone tell me what has to be changed when using qmail and not > sendmail. I am getting errors when IC is trying to send any kinds of mail > like order confirmation, forgotten passwords etc. > > The error is: > 195.97.164.2 hG3DZcYR:195.97.164.2 - [13/August/2001:09:25:45 +0200] > foundation /cgi-bin/foundation/process.html Unable to send mail using > Net::SMTP > > and > > Error sending mail to sales@web-counting.com: > > Can't call method "mail" on an undefined value at /home/freemoney/interchange/lib/Vend/Util.pm line 1987. Why do you use Net::SMTP ? The default is to call the sendmail wrapper directly. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 13 08:54:01 2001 Subject: [ic] Multiple images... Quoting JT Justman (ic@signless.com): > Hi! My site is coming along nicely, thanks to a couple choice tidbits of > help from the group. Thanks, guys, for being such a helpfull bunch! > > Now my latest hitch: some of my products require only one (or zero) images, > while others may require four or five. My plan is to name images based on > SKU, and have IC show all that exist for a given SKU (i.e. 10002-01.jpg > would be the second image of SKU 10002). > > I could simply write as many [if file /location/(sku)-(n)] statements as I > could imagine using, but I'd prefer a more eligant solution. I can't seem to > get the hang of diong loops in IC, has anyone worked this out? If this is just the flypage (you wouldn't want to do this on a list) then you can grab one of the UI tags (undocumented) which does globbing. [calc] my $spec = q{__DOCROOT____IMAGE_DIR__/items/[item-code]*}; my @files = $Tag->list_glob($spec); for(@files) { s:^__DOCROOT__::; } $Scratch->{img_files} = join "\n", @files; return; [/calc] <XMP> [loop list="[scratchd img_files]*"] <IMG SRC="[loop-code]"> [/loop] </XMP> -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 13 09:00:01 2001 Subject: [ic] Credit Card Encyption Quoting Michael Mangeng (interchange@vis.at): > i get in the pgp.*.err: > ----snip--- > gpg: %s: skipped: public key not found > gpg: [stdin]: encryption failed: public key not found This should be clear enough. You don't have a matching key on your GPG keyring. Go back to the FAQ and do what it says -- try gpg with the exact command line *as the user who runs Interchange* and see what happens. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 13 09:05:02 2001 Subject: [ic] qmail and not sendmail Quoting Kim Christensen (kim@hambrosalle.dk): > Hi > Can someone tell me what has to be changed when using qmail and not > sendmail. I am getting errors when IC is trying to send any kinds of mail > like order confirmation, forgotten passwords etc. > > The error is: > 195.97.164.2 hG3DZcYR:195.97.164.2 - [13/August/2001:09:25:45 +0200] > foundation /cgi-bin/foundation/process.html Unable to send mail using > Net::SMTP > > and > > Error sending mail to sales@web-counting.com: > > Can't call method "mail" on an undefined value at /home/freemoney/interchange/lib/Vend/Util.pm line 1987. You need to give it the path to the sendmail clone. It looks in /usr/sbin and /usr/lib, but if it can't find it the value falls back to trying SMTP. If you have a known mail server that relays for you, you can do: Variable MV_SMTPHOST smtp.somedomain.com Then Net::SMTP will be used to send the mail using that mail server. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Mark Johnson) Date: Mon Aug 13 09:10:01 2001 Subject: [ic] Re: !! discount prices in steps !! HELP (Mark Johnson) If you will post the exact code you're using, and where you're putting it, maybe I can help. Unfortunately, I sent out a couple of addenda to the original I sent out (which didn't work), so I'm not sure what you used and what you didn't. I also noticed, after going through some variations, that there seemed to be a one-request "lag" for the discount amount that was set, though not the discount itself. Not sure I have a workaround for that one, which would mean if you really need to be able to display the actual amount discounted, you'll probably have to write a usertag. admin wrote: > > hello, > > thank you for your examples. but the result > is, that are all positions zero. > i place the code in my checkout.html, is this > correct? > btw. i use perl v5.6.0, interchange 4.7.7 and > red hat 7.1 > > mfg > erik kendel > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.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 interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Aug 13 09:45:01 2001 Subject: [ic] qmail and not sendmail On Mon, Aug 13, 2001 at 11:11:53AM +0000, Kim Christensen wrote: > Hi > Can someone tell me what has to be changed when using qmail and not > sendmail. I am getting errors when IC is trying to send any kinds of mail > like order confirmation, forgotten passwords etc. > > The error is: > 195.97.164.2 hG3DZcYR:195.97.164.2 - [13/August/2001:09:25:45 +0200] > foundation /cgi-bin/foundation/process.html Unable to send mail using > Net::SMTP You don't say what OS. If qmail is installed properly on linux, at least, there will be a /usr/sbin/sendmail - a sendmail wrapper for qmail in the default sendmail location - and IC can use that. Just act like you use sendmail. Your log shows Net::SMTP, not qmail. > > and > > Error sending mail to sales@web-counting.com: > >Can't call method "mail" on an undefined value at > >/home/freemoney/interchange/lib/Vend/Util.pm line 1987. > > Best regards > Kim > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Aug 13 10:12:01 2001 Subject: [ic] Trouble with tag mime and name="[scratch foo]" Hi list, I use MV Version 3.14-5 and could not find the right email address for my question. I've [tag mime header application/x-unknown-content-type-Excel.CSV; name="[scratch bestellnummer]" interpolate=1][/tag] [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username] ... [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username] works fine and I get "description:000079.cvs" in my email. But [tag mime header application/x-unknown-content-type-Excel.CSV; name="[scratch bestellnummer]" interpolate=1][/tag] is not working. I get "Name: [scratch bestellnumme". Looking into Interpolate.pm at the section do_tag --------snip------------ sub do_tag { my($arg, $text) = @_; #print("Do_tag: arg=$arg text=$text\n") if $Global::DEBUG; #jojo logGlobal( errmsg('Interpolate', "alles = " . @_ . " \n/ Do_tag: arg=$arg\n" ) ); --------snip------------ I get 192.168.3.1 spfbLYCq:nobody - [13/August/2001:15:50:23 +0200] owkpa /cgi-bin/owkpa/process alles = 2 > / Do_tag: arg=mime header application/x-unknown-content-type-Excel.CSV; name="[scratch bestellnummer > 192.168.3.1 spfbLYCq:nobody - [13/August/2001:15:50:23 +0200] owkpa /cgi-bin/owkpa/process alles = 2 > / Do_tag: arg=mime 000079.cvs > What can I do to set the name of the attached file with [value mv_order_number]? Any tips, helps and hints are very welcome! Thanks! Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Mon Aug 13 10:38:01 2001 Subject: [ic] Debian Test Packages for 4.8.1 Hello, with the imminent release of Interchange 4.8.1 in mind I uploaded Debian packages for testing purposes to: deb http://debian.cobolt.net/ interchange-dev main Any comments, suggestions etc. are welcome. Please send them to racke@linuxia.de. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Mon Aug 13 11:57:01 2001 Subject: [ic] Credit Card Encyption hi ok, after a very long fight today the problem is (nearly) solved... the entire report gets encrypted and in this encrypted email.. the credit card information resides.. also encrypted.. (if i decrypt 1 time, i can read nearly all infos, except the credit card info.. this is still pgp encrypted)... actually a´m using: Route main credit_card 1 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 1 Route main encrypt_program '__ENCRYPTORGPG__' Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "interchange@vis.at" Route main pgp_key "interchange@vis.at" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc i`ve testet the four permutations 1/0 with credit_card an encrypt but i cannot get the desired encryption function (all encrypted.. but only one time :)) is there anything other ? maybe in the etc/report file ? (im using the one supplied with the foundation demo) i hope this is the last question for a long period of time ;-) thanx to all helpers :-) mike ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, August 13, 2001 2:58 PM Subject: Re: [ic] Credit Card Encyption > Quoting Michael Mangeng (interchange@vis.at): > > i get in the pgp.*.err: > > ----snip--- > > gpg: %s: skipped: public key not found > > gpg: [stdin]: encryption failed: public key not found > > This should be clear enough. You don't have a matching key on your > GPG keyring. > > Go back to the FAQ and do what it says -- try gpg with the exact command > line *as the user who runs Interchange* and see what happens. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Experience is what allows you to recognize a mistake the second > time you make it. -- unknown > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Aug 13 12:05:03 2001 Subject: [ic] Trouble with tag mime and name="[scratch foo]" Joachim Leidinger wrote: > [tag mime header application/x-unknown-content-type-Excel.CSV; > name="[scratch bestellnummer]" interpolate=1][/tag] How can I set the name in Content-Type: application/x-unknown-content-type-Excel.CSV; name="bestellnummer" with "[value mv_order_number]" or "[scratch bestellnummer]" instead of "bestellnummer"? I've a same problem with IC version 4.6.5! Are there any solution like [tag op=???...] Content-Type: application/x-unknown-content-type-Excel.CSV; name="[value mv_order_number]" In MV Version 3.14-5 I've made another test with --------snip--------- [set name="contentpara" interpolate=1]application/x-unknown-content-type-Excel.CSV; name="[scratch bestellnummer].csv"[/set] [tag mime type [scratch contentpara]][/tag] [tag mime type="[scratch bestellnummer].csv"]TEST:[scratch contentpara] 1;[scratch foo] --------snip--------- and I get ---------snip E-Mail source---------- --010813175843-spfbLYCq-2396:=4426 Content-Type: [scratch contentpara Content-ID: <MiniVend.3.14-5.010813175843.spfbLYCq.2398@http://www.leidinger.dev/cgi-bin/owkpa> Content-Description: type="000098.csv" TEST:application/x-unknown-content-type-Excel.CSV; name="000098.csv" 1;11111 ---------snip E-Mail source---------- You can see, [scratch contentpara] ist right. But the field "Content-Type:" is wron. Why? Any tips, helps, suggestions and hints are very welcome! Thanks! Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at interchange.redhat.com (STEVE LANGE) Date: Mon Aug 13 14:38:00 2001 Subject: [ic] problem with mail receipts Hello all, I'm trying to customize the e-mail sent by Interchange, and have run into a snag. I've got the following code in both the /etc/report and /etc/mail_receipt [if-modifier sample]FREE[else][item-price][/else][/if-modifier] The problem? It works in the report, but if I add this to mail_receipt, I get back a completely blank e-mail. Previously, I added this chunk of code, and tested it: [if-modifier sample] SAMPLE: [/if-modifier][item-field title] This works fine in _both_ places - so it makes me wonder if there's something IC doesn't like about using the [else] tag in the mail receipt. Anyone have an idea on what's wrong? Did I find a real bug? Steve Steve Lange Business Analyst - Web Application Developer Menasha Advantage steve.lange@menasha.com ph: 920.751.1196 fax: 920.751.2399 From: interchange-users at interchange.redhat.com (Tim Mirecki) Date: Mon Aug 13 20:24:01 2001 Subject: [ic] loop-code Hi, I am trying to do a loop like this: [loop arg=”1 2 3”] [item-param ‘modname[loop-code]’] [/loop] This loop will return on the page: [item-param ‘modname1’] [item-param ‘modname2’] [item-param ‘modname3’] but obviously I’m trying to get the value for each of those, not that string. Anyone have any ideas?? Thanks, Tim From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Mon Aug 13 21:23:01 2001 Subject: [ic] loop-code change item-param to loop-param ? Ven >Hi, I am trying to do a loop like this: > >[loop arg=”1 2 3”] > [item-param ‘modname[loop-code]’] >[/loop] > >This loop will return on the page: > >[item-param ‘modname1’] >[item-param ‘modname2’] >[item-param ‘modname3’] > >but obviously I’m trying to get the value for each of those, not that >string. Anyone have any ideas?? > >Thanks, > >Tim > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Aug 14 02:26:01 2001 Subject: [ic] genconfig admin error I receive the following error when trying to run Administration after a successful Admin login. /htbin/construct/admin/genconfig.html Runtime error: Can't use string ("") as a n ARRAY ref while "strict refs" in use at (eval 61) line 20. mod_perl is off (as noted in an earlier post). I don't have a clue where to start debugging this. David Work (541) 942-7088 Oregon Internet Properties,LLC fax (541) 942-1892 PO Box 188, Cottage Grove OR 97424 Lane and Douglas County Real Estate : http://www.oip.net From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Aug 14 04:28:01 2001 Subject: [ic] Interchange 4.8 release now available We are proud to announce the public release of Interchange 4.8. This is the best Interchange we have ever produced, and it has many, many, improvements and fixes over 4.6 while maintaining a high degree of compatibility. Here are the highlights: Server Core ----------- * New pre-forked server mode uses Apache-style multiple server dispatch to dramatically increase performance (up to 7X!) on busy systems. * New SOAP protocol support allows two-way communication with all sorts of other web "objects". Foundation Catalog ------------------ * The new "Foundation" demo catalog simplifies many aspects of HTML for generating catalogs. Uses CSS to define colors, font styles, and other parameters. Includes components that drop in with the page editor to provide configurable feature additions on a page-by-page basis. Database -------- * Transactions now fully supported, including in order routes. * Improved autonumbering support allows use of SQL database sequences or auto_increment fields, as well as built-in Interchange autonumbering. * New attributes and logic allow failover to a second database server. Orders/Payments --------------- * Standard payment gateway support for 5 major payment gateways, with support for multiple instances of accounts, common parameters for easy gateway changes, and much more. Explicit [charge ...] tag can implement returns, voids, split payments, and other special handling. * Encryption is much more automatically handled. * Instituted VAT and extended taxing, including UI support. * New tag [assign] can override subtotal, shipping, handling, and salestax. Product Display --------------- * Improved option handling. Any item can have multiple and infinitely varying options. * [tree] tag allows you to build product display trees and display exploding lists. Security -------- * New [restrict] tag allows only certain tags to run within a region. * Many password/user checking improvements, better logging. Admin Interface --------------- * Login screen adds choice of German, Danish, Dutch, or Swedish language. * Added a "wizard" which allows step-by-step definition of many parts of a standard catalog, e.g. shipping, tax definition, and payment gateway. * Improved page and template editors allow creation of templates and definition of new components with auto-generated component menus. Packaging/Portability --------------------- * RPM specfile reworked to build 3 RPMs: core and foundation skeleton (architecture-independent) and foundation live demo (i386). * Debian packaging extensively reworked and improved. * Runs on Windows if Cygwin toolset and Perl are installed. * Runs on Mac OS X when Perl and requisite modules are installed. There are many more changes and additions. See the WHATSNEW file for an extensive account of changes. You can download Interchange 4.8.1 here: http://interchange.redhat.com/cgi-bin/ic/download.html Thanks to the Interchange community for continual contributions in the form of bug reports, patches, code contributions, and ideas. As always, we look forward to feedback on the interchange-users list. The Interchange Team From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 14 09:10:00 2001 Subject: [ic] Interchange-users guidelines [semi-monthly posting] interchange-users@lists.akopia.com is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://developer.akopia.com/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://developer.akopia.com/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.6.1. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. -- Contextual quoting is preferred, i.e. Quoting user1 (<user1@somedomain.redhat.com>): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (<user1@somedomain.redhat.com>): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From: interchange-users at interchange.redhat.com (Barry Flanagan) Date: Tue Aug 14 11:15:01 2001 Subject: [ic] Displaying Euro in random component Hi, We have set up our Interchange (4.8.1) server to display prices in both the local currency and in Euro. This works fine in flypage and results, but the random component dsoesn't work correctly - it always diplays the Eiro price as "0.00" Here is the code from the random component: <tr> <td align="center"> Our Price: <b>[loop-price]</b> </td> <td>([setlocale en_EU][currency convert=1][loop-price][/currency])[setlocale]</td> </tr> ...which should print Our Price: IR£2.95 (Euro 3.15) Am I missing something here? Thanks in advance. -Barry Flanagan From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Aug 14 11:32:00 2001 Subject: [ic] Displaying Euro in random component Barry Flanagan wrote: > > Hi, > > We have set up our Interchange (4.8.1) server to display prices in both the > local currency and in Euro. This works fine in flypage and results, but the > random component dsoesn't work correctly - it always diplays the Eiro price > as "0.00" > > Here is the code from the random component: > > <tr> > <td align="center"> > Our Price: <b>[loop-price]</b> > </td> > <td>([setlocale en_EU][currency convert=1][loop-price][/currency])[setlocale]</td> > </tr> > > ...which should print > > Our Price: IR£2.95 (Euro 3.15) > > Am I missing something here? Try <td>([setlocale en_EU][currency convert=1][loop-price noformat=1][/currency])[setlocale]</td> or [seti europrice][loop-price noformat=1][/seti] <td>([setlocale en_EU][currency convert=1][scratch europrice][/currency])[setlocale]</td> ciao Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Tue Aug 14 11:35:01 2001 Subject: [ic] encryption, Authorize.net I thought I'd ask here first . . . Going from a catalog where encryption works, but where Authorize.net support is not enabled, to one where it is enabled, breaks encryption. >From "encryption works, no anet support" catalog: #Variable MV_PAYMENT_MODE minivend_test >From "anet support on, encryption broken" catalog: Variable MV_PAYMENT_MODE authorizenet These are very nearly identical catalogs otherwise. Oh, yeah, the catalogs are based on the construct demo catalog from 4.6.5. And were built under 4.8.1 (same symptoms under 4.7.7). Any clues, or do I need to chase this one myself? Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 14 12:46:03 2001 Subject: [ic] problem with mail receipts At 01:35 PM 08/13/2001 -0500, you wrote: >Hello all, > > I'm trying to customize the e-mail sent by Interchange, and have run > into a snag. I've got the following code in both the /etc/report and > /etc/mail_receipt > >[if-modifier sample]FREE[else][item-price][/else][/if-modifier] > > The problem? It works in the report, but if I add this to > mail_receipt, I get back a completely blank e-mail. > > Previously, I added this chunk of code, and tested it: > >[if-modifier sample] SAMPLE: [/if-modifier][item-field title] The docs have been long-incomplete on this, but just for fun, you might want to try: [if-item-modifier sample]FREE[else][item-price][/else][/if-item-modifier] - Ed L. > This works fine in _both_ places - so it makes me wonder if there's > something IC doesn't like about using the [else] tag in the mail receipt. > > Anyone have an idea on what's wrong? Did I find a real bug? > > Steve > >Steve Lange >Business Analyst - Web Application Developer >Menasha Advantage >steve.lange@menasha.com >ph: 920.751.1196 >fax: 920.751.2399 > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Boone, Ricky) Date: Tue Aug 14 13:31:01 2001 Subject: [ic] VisaNet authorization... Okay, I'm a newbie here. Just lettin' y'all know that before I go any further. :) Alright, here's the situation. We have a server running Interchange on our Intranet, and will not be accessable to any outside access. We are a credit union, and we have a Visanet terminal in the same area. Would it be possible to go straight through Visanet for credit card verification, or do we have to go some other route. Any help would be appreciated. From: interchange-users at interchange.redhat.com (Barry Flanagan) Date: Tue Aug 14 13:41:00 2001 Subject: [ic] Credit Card Encyption I think CreditCardAuto in catalog.cfg is responsible for encrypting the CC number, which is unnecessary if you are encrypting the entire order. Try turning it off. Hope htis helps. -- -Barry Flanagan Creative & Technical Director DigiServe Ltd., Dublin, Ireland From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Tue Aug 14 15:14:00 2001 Subject: [ic] loop-code > > Hi, I am trying to do a loop like this: > > > > [loop arg="1 2 3"] > > [item-param ‘modname[loop-code]’] > > [/loop] > > > > This loop will return on the page: > > > > [item-param ‘modname1’] > > [item-param ‘modname2’] > > [item-param ‘modname3’] > > > > but obviously I’m trying to get the value for each of those, not that > > string. Anyone have any ideas?? > > > change item-param to loop-param ? > Ven > Tim, mixing [item-*] with [loop-*] doesn't work, as you have found. Fortunately, as ever, there's more than one way to do it. For instance, you could try this: [loop arg="1 2 3"] [data table="products" col="modname[loop-code]" key="[item-code]"] [/loop] I'll assume your opening and closing quote mismatch was generated by a "helpful" email client. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 14 15:35:04 2001 Subject: [ic] VisaNet authorization... Quoting Boone, Ricky (BOONER@truliantfcu.org): > Okay, I'm a newbie here. Just lettin' y'all know that before I go any > further. :) > > Alright, here's the situation. We have a server running Interchange on our > Intranet, and will not be accessable to any outside access. We are a credit > union, and we have a Visanet terminal in the same area. Would it be > possible to go straight through Visanet for credit card verification, or do > we have to go some other route. This depends on what sort of software Visanet supports. I don't know what Visanet is exactly, so I can't be sure, but I am guessing that it is the main clearinghouse for Visa and that it has some method for automated connection. If ICVerify supports it, it is possible to make Interchange use that by mounting a PC directory via Samba and manipulating some files. It won't be like falling off of a log, but it shouldn't be too hard for a top-notch consultant. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (Tim Mirecki) Date: Tue Aug 14 15:49:01 2001 Subject: [ic] loop-code Here's what I am REALLY trying to do...I was attempting to simplify it. [loop arg="1 2 3"] [data base="table" column="price" code="[item-param [loop-code]]"] [/loop] Which will first produce: [data base="table" column="price" code="[item-param 1]"] [data base="table" column="price" code="[item-param 2]"] [data base="table" column="price" code="[item-param 3]"] I want it to get the values for [item-param 1], [item-param 2], etc... However, it seems to be getting stuck at [item-param 1] and returning that, without looking up the value for item-param 1. Because of that, it's actually looking up the code "[item-param 1]" which doesn't exist. Any suggestions? -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Kevin Walsh Sent: Tuesday, August 14, 2001 3:13 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] loop-code > > Hi, I am trying to do a loop like this: > > > > [loop arg="1 2 3"] > > [item-param 'modname[loop-code]'] > > [/loop] > > > > This loop will return on the page: > > > > [item-param 'modname1'] > > [item-param 'modname2'] > > [item-param 'modname3'] > > > > but obviously I'm trying to get the value for each of those, not that > > string. Anyone have any ideas?? > > > change item-param to loop-param ? > Ven > Tim, mixing [item-*] with [loop-*] doesn't work, as you have found. Fortunately, as ever, there's more than one way to do it. For instance, you could try this: [loop arg="1 2 3"] [data table="products" col="modname[loop-code]" key="[item-code]"] [/loop] I'll assume your opening and closing quote mismatch was generated by a "helpful" email client. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (crouzer) Date: Tue Aug 14 15:54:01 2001 Subject: [ic] /usr/interchange/bin on freebsd install I have mentioned this in the past and did not get any confirmation as to whether this was a bug or not. Interchange v4.8.1 still installs the bin directory in /usr/interchange/bin instead of /usr/local/interchange/bin on FreeBSD v4.3 ... Has this been overlooked or why hasn't it been fixed? I will enter a bug report if someone can confirm this. Thanks. Thanks. __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Tue Aug 14 16:11:01 2001 Subject: [ic] (no subject) > Hi list, I use MV Version 3.14-5 and could not find the right email address for > my question. > I've > > [tag mime header application/x-unknown-content-type-Excel.CSV; > name="[scratch bestellnummer]" interpolate=1][/tag] > [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username] > ... > > [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username] > works fine and I get "description:000079.cvs" in my email. > But > > [tag mime header application/x-unknown-content-type-Excel.CSV; > name="[scratch bestellnummer]" interpolate=1][/tag] > > is not working. I get "Name: [scratch bestellnumme". Looking into > Interpolate.pm at the section do_tag > > <snip> > > What can I do to set the name of the attached file with [value > mv_order_number]? > Firstly, I don't think there is a correct mail list for MV3 questions any more. I'll hold back the obvious suggestion. :-) To your question... The file name doesn't really want to be in the MIME header at all, so, in MV3, you should probably just use: [tag mime header][/tag] Your filename belongs in the actual attachment header, so: [tag mime type application/x-unknown-content-type-Excel.CSV; name="[scratch bestellnummer].csv"][/tag] [tag mime Some description text] your attachment contents here [/tag] I'm sure somebody will correct me if I'm wrong - I have no way of checking that against MV3. btw, I think a better MIME type would be "application/excel", or "text/comma-separated-values". -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Aug 14 16:21:01 2001 Subject: [ic] loop-code "Tim Mirecki" <tim@q5.ca> writes: > Here's what I am REALLY trying to do...I was attempting to simplify it. > > [loop arg="1 2 3"] > [data base="table" column="price" code="[item-param [loop-code]]"] > [/loop] > > Which will first produce: > > [data base="table" column="price" code="[item-param 1]"] > [data base="table" column="price" code="[item-param 2]"] > [data base="table" column="price" code="[item-param 3]"] > > I want it to get the values for [item-param 1], [item-param 2], etc... > > However, it seems to be getting stuck at [item-param 1] and returning that, > without looking up the value for item-param 1. Because of that, it's > actually looking up the code "[item-param 1]" which doesn't exist. You can't do that because in a item list, the [item-] stuff is evaluated before anything else, so this renders your example useless. But why not [calc] my $out; for ('[item-param foo]', '[item-param bar]') { $out .= $Tag->data('table','price',$_); } $out; [/calc] Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jason Timm) Date: Tue Aug 14 16:36:00 2001 Subject: [ic] IC 4.8.1 installation docs Hello all! Thanks to all the hard working folks at Red Hat for getting IC 4.8.1 out! We have been using 4.6.4 and are now going to start the upgrade to 4.8.1 on a new server. When I installed 4.6.4, there were online docs with instructions for doing the install. It told which CPAN modules were necessary and what the prerequisites were, etc. Then it gave step by step instructions to get up and running. They weren't perfect, but they did help a lot. Where are the instructions for installing 4.8.1? I see that I can buy a book that might tell, but aren't there instructions online somewhere? I have downloaded the 3 RPM's for RH 7.x and also the CPAN modules indicated on the download page. Are all of these modules necessary? Is Bundle::Interchange still necessary? Is it the same thing? Is it up to date? What else is necessary? If I do a fresh build of RH 7.x, then install all of the CPAN modules listed on the download pages, then install the three RPM's for 4.8.1, will that do the trick? Is that all there is to it? Thanks! Jason From: interchange-users at interchange.redhat.com (Jason Timm) Date: Tue Aug 14 16:43:01 2001 Subject: [ic] 4.8 Books Hi again, So do the 4.8 books (http://www.redhat.com/software/ecommerce/interchangedocs/) contain information that is not online? Or is it just a compilation of the online info? I'd rather not spend the money if it is what I have already seen... Thanks. Jason From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Tue Aug 14 16:50:00 2001 Subject: [ic] IC 4.8.1 installation docs http://ic.redhat.com/cgi-bin/ic/document.html http://ic.redhat.com/cgi-bin/ic/dev/index.html all the 4.8 docs On Tue, 14 Aug 2001, Jason Timm wrote: > Hello all! > > Thanks to all the hard working folks at Red Hat for getting IC 4.8.1 out! > > We have been using 4.6.4 and are now going to start the upgrade to 4.8.1 on > a new server. When I installed 4.6.4, there were online docs with > instructions for doing the install. It told which CPAN modules were > necessary and what the prerequisites were, etc. Then it gave step by step > instructions to get up and running. They weren't perfect, but they did help > a lot. > > Where are the instructions for installing 4.8.1? I see that I can buy a > book that might tell, but aren't there instructions online somewhere? I > have downloaded the 3 RPM's for RH 7.x and also the CPAN modules indicated > on the download page. Are all of these modules necessary? Is > Bundle::Interchange still necessary? Is it the same thing? Is it up to > date? What else is necessary? > > If I do a fresh build of RH 7.x, then install all of the CPAN modules listed > on the download pages, then install the three RPM's for 4.8.1, will that do > the trick? Is that all there is to it? > > Thanks! > > Jason > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Aug 14 17:06:01 2001 Subject: [ic] (no subject) At 09:09 PM 8/14/2001 +0100, you wrote: > > Hi list, I use MV Version 3.14-5 and could not find the right email address >for > > my question. > > I've > > > > [tag mime header application/x-unknown-content-type-Excel.CSV; > > name="[scratch bestellnummer]" interpolate=1][/tag] > > [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username] > > ... > > > > [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username] > > works fine and I get "description:000079.cvs" in my email. > > But > > > > [tag mime header application/x-unknown-content-type-Excel.CSV; > > name="[scratch bestellnummer]" interpolate=1][/tag] > > > > is not working. I get "Name: [scratch bestellnumme". Looking into > > Interpolate.pm at the section do_tag > > > > <snip> > > > > What can I do to set the name of the attached file with [value > > mv_order_number]? > > >Firstly, I don't think there is a correct mail list for MV3 questions >any more. I'll hold back the obvious suggestion. :-) It's been a few weeks since anyone posted, but the minivend-users list is still in operation: http://lists.akopia.com/mailman/listinfo/minivend-users It is for Minivend 3.x stuff, the 4.x and above is covered in interchange-users. HTH, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Aug 14 17:16:00 2001 Subject: [ic] Trouble with the tag mime part and presetting the name of the Kevin Walsh wrote: > Firstly, I don't think there is a correct mail list for MV3 questions > any more. I'll hold back the obvious suggestion. :-) > > To your question... > > The file name doesn't really want to be in the MIME header at all, > so, in MV3, you should probably just use: > > [tag mime header][/tag] > > Your filename belongs in the actual attachment header, so: > > [tag mime type application/x-unknown-content-type-Excel.CSV; name="[scratch > bestellnummer].csv"][/tag] > [tag mime Some description text] your attachment contents here [/tag] > > I'm sure somebody will correct me if I'm wrong - I have no way of > checking that against MV3. > > btw, I think a better MIME type would be "application/excel", > or "text/comma-separated-values". Thank you for your suggestion and sorry for my long e-mail! I've tried ----------snip-------- [tag mime header][/tag] [tag mime type text/comma-separated-values; name="Bestellung_[scratch bestellnummer].csv"][/tag] [tag mime Bestellung-[scratch bestellnummer].csv]1;[value mv_username] 2;[value mv_order_number] .... EOF [/tag] ----------snip-------- and I get ----------snip source codes of the mail from the report--------- MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="010814224405-oxYRdDmD-1596:=4024" Content-ID: <MiniVend.3.14-5.010814224405.oxYRdDmD.1598@http://www.leidinger.dev/cgi-bin/owkpa> --010814224405-oxYRdDmD-1596:=4024 Content-Type: text/comma-separated-values; name="Bestellung_[scratch bestellnumme" Content-ID: <MiniVend.3.14-5.010814224405.oxYRdDmD.1599@http://www.leidinger.dev/cgi-bin/owkpa> Content-Description: Bestellung-1;11111 .... EOF --010814224405-oxYRdDmD-1596:=4024-- ----------snip source codes of the mail from the report--------- With ----------snip-------- [tag mime type text/comma-separated-values; name="Bestellung.csv"][/tag] [tag mime type="Bestellung-[scratch bestellnummer].csv"]1;[value mv_username] .... EOF [/tag] ----------snip-------- I get ----------snip source codes of the mail from the report--------- --010814230442-oxYRdDmD-1704:=4198 Content-Type: text/comma-separated-values; name="Bestellung.csv" Content-ID: <MiniVend.3.14-5.010814230442.oxYRdDmD.1706@http://www.leidinger.dev/cgi-bin/owkpa> Content-Description: type="Bestellung-000148.csv" ..... EOF --010814230442-oxYRdDmD-1704:=4198-- ----------snip source codes of the mail from the report--------- What I want is ----------snip source codes of the mail from the report-------- Content-Type: text/comma-separated-values; name="Bestellung-000148.csv" Content-ID: <MiniVend.3.14-5.010814230442.oxYRdDmD.1706@http://www.leidinger.dev/cgi-bin/owkpa> Content-Description: type="Bestellung-000148.csv" ----------snip source codes of the mail from the report--------- It seems to me, something is wrong with the file Parser.pm (MV Version 3.14-5), because the Parser believe the right braket of [scratch bestellnummer] is the endtag of [tag ....] and the do_tag (in Interpolate.pm) get a wrong argument with mime type text/comma-separated-values; name="Bestellung_[scratch bestellnummer instead of mime type text/comma-separated-values; name="Bestellung_[scratch bestellnummer].csv" A quick check with IC 4.6.5 show me, there is a problem with that version too. The Parser.pm is not able to recognize another IC tag inside of the [tag...]...[/tag] part. I'm missing another check for any other MV/IC tag inside of the [tag mime....] tag. Or am I wrong? How can I set the name of the attachment in my report file to the shop owner with a scratch variable? Please! Help me! Thank you! Joachim -- ------------------------------------------------------------------ Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing. Black Point Arts Internet Solutions GmbH [Hans-Joachim.leidinger@bpanet.de] w w w . b p a n e t . d e From: interchange-users at interchange.redhat.com (Boone, Ricky) Date: Tue Aug 14 18:14:01 2001 Subject: [ic] RE: Mega Perl Modules! (was IC 4.8.1 installation docs) <snipsnip> > ... It told which CPAN modules were > necessary and what the prerequisites were, etc. </snipsnip> Is it just me, or were there a lot more Perl modules needed than were asked for in the prerequisites? Here is a list of all of the ones I had to install, plus ones I had to install to let the original ones install: Spreadsheet::ParseExcel 0.2403 OLE::Storage_Lite 0.09 IO-stringy 2.105 Spreadsheet::WriteExcel 0.33 Parse::RecDescent 1.80 libwww-perl 5.53 HTML::Parser 3.25 HTML::Tagset 3.03 URI 1.15 Storable 1.012 MIME::Base64 2.12 Safe::Hole 0.08 SQL::Statement 0.1020 Net 1.07 Bundle::libnet 1.00 Bundle::Interchange All I'm asking is... am I missing something, or should all of that be okay? From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Tue Aug 14 18:30:00 2001 Subject: [ic] loop-code At 12:50 PM 8/14/01 , you wrote: >Here's what I am REALLY trying to do...I was attempting to simplify it. > >[loop arg="1 2 3"] > [data base="table" column="price" code="[item-param [loop-code]]"] >[/loop] Sure, try [loop-param [loop-code]] -- in case you missed the part about mixing item and loop tags. :-) Ryan Hertz tel 800-645-BAIT Webmaster fax 520-645-2588 E-Commerce Director http://www.baits.com Gary Yamamoto Custom Baits, Inc. mailto:rhertz@baits.com From: interchange-users at interchange.redhat.com (Jason Timm) Date: Tue Aug 14 18:56:01 2001 Subject: [ic] IC 4.8.1 installation docs >http://ic.redhat.com/cgi-bin/ic/document.html >http://ic.redhat.com/cgi-bin/ic/dev/index.html > >all the 4.8 docs I have found these, but there doesn't seem to be installation instructions anywhere in there - configuration, yes - installation, no. Maybe I just missed them? Can anyone show me where the install instructions are in these links? Anywhere else? Jason From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Aug 14 20:07:00 2001 Subject: [ic] Clear Basket A while back, this code was posted to clear the basket: [button text="Clear Basket" src="other/clear_basket.gif" hidetext=1 form=basket ] mv_todo=cancel mv_nextpage=index [/button] This works fine under Internet Explorer (ugh) but Netscape passes over it and ignores it. (I've got it in basket.html) Is there some way to make this work under Netscape? -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, August 14, 2001 at 20:05 PM: WHAT??? Give up C:\> for silly ICONS? ---------------------------------------------------------------- This Linux System has been up 80 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Tue Aug 14 20:58:01 2001 Subject: [ic] Clear Basket On Tue, 14 Aug 2001, Jim Balcom wrote: > A while back, this code was posted to clear the basket: > > [button > text="Clear Basket" > src="other/clear_basket.gif" > hidetext=1 > form=basket > ] > mv_todo=cancel > mv_nextpage=index > [/button] > > This works fine under Internet Explorer (ugh) but Netscape passes over > it and ignores it. (I've got it in basket.html) > > Is there some way to make this work under Netscape? > I know I had one strange problem with Netscape, and nested tables. For some reason, NS wouldn't show the entire table, unless I set the height and width on the table. I don't know if you are using tables or not, but try adding a border to it. Or try the code in an empty page. I'm not sure about the syntax for the button tag though, since I left my books at work, and the IC docs online just have the word 'button' inside of an EM html tag. http://ic.redhat.com/cgi-bin/ic/docfly.html?id=hYiv2GzV&mv_arg=ictags05%2e08 .cfg From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Tue Aug 14 21:02:01 2001 Subject: [ic] IC 4.8.1 installation docs If you get the source, its a fairly simple install. tar xfzv interchange-4.8.1.tar.gz cd interchange-4.8.1 ./configure And then you are prompted for everything you need to do. It might complain about missing perl modules, then as root, run cpan (if you have a newer version of perl installed), or perl -MCPAN -e shell; >From there, just install Safe::Hole etc, and then restart the configure script. On Tue, 14 Aug 2001, Jason Timm wrote: > > >http://ic.redhat.com/cgi-bin/ic/document.html > >http://ic.redhat.com/cgi-bin/ic/dev/index.html > > > >all the 4.8 docs > > I have found these, but there doesn't seem to be installation instructions > anywhere in there - configuration, yes - installation, no. Maybe I just > missed them? Can anyone show me where the install instructions are in these > links? Anywhere else? > > Jason > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 14 21:30:01 2001 Subject: [ic] Trouble with the tag mime part and presetting the name of the attachment Quoting Joachim Leidinger (jojo@blackpoint.de): > Kevin Walsh wrote: > > Firstly, I don't think there is a correct mail list for MV3 questions > > any more. I'll hold back the obvious suggestion. :-) > > > > To your question... > > > > The file name doesn't really want to be in the MIME header at all, > > so, in MV3, you should probably just use: > > > > [tag mime header][/tag] > > > > Your filename belongs in the actual attachment header, so: > > > > [tag mime type application/x-unknown-content-type-Excel.CSV; name="[scratch > > bestellnummer].csv"][/tag] > > [tag mime Some description text] your attachment contents here [/tag] > > > > I'm sure somebody will correct me if I'm wrong - I have no way of > > checking that against MV3. > > > > btw, I think a better MIME type would be "application/excel", > > or "text/comma-separated-values". > > Thank you for your suggestion and sorry for my long e-mail! I've tried > > ----------snip-------- > [tag mime header][/tag] > [tag mime type text/comma-separated-values; name="Bestellung_[scratch > bestellnummer].csv"][/tag] This has zero chance of working because tags are not interpolated in tag arguments unless quoted. You might get it going with something on the order of: [tag arg='mime type text/comma-separated-values; name="Bestellung_[scratch bestellnummer].csv'][/tag] You can also write a UserTag to format things for you.... But you have reached the limit of what I will do anymore for Minivend 3. Time to update, you are about 10 revs and two years back. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 14 21:33:00 2001 Subject: [ic] RE: Mega Perl Modules! (was IC 4.8.1 installation docs) Quoting Boone, Ricky (BOONER@truliantfcu.org): > <snipsnip> > > > ... It told which CPAN modules were > > necessary and what the prerequisites were, etc. > > </snipsnip> > > Is it just me, or were there a lot more Perl modules needed than were asked > for in the prerequisites? Here is a list of all of the ones I had to > install, plus ones I had to install to let the original ones install: These are essential: > MIME::Base64 2.12 > Safe::Hole 0.08 > MD5 > SQL::Statement 0.1020 This is strongly recommended: > Storable 1.012 These are needed for the UI: > libwww-perl 5.53 > HTML::Parser 3.25 > HTML::Tagset 3.03 > URI 1.15 > Bundle::libnet 1.00 This is just a collection of the above and a few others: > Bundle::Interchange These are only needed for XLS spreadsheet import/export: > Spreadsheet::ParseExcel 0.2403 > OLE::Storage_Lite 0.09 > IO-stringy 2.105 > Spreadsheet::WriteExcel 0.33 > Parse::RecDescent 1.80 Don't know what this is even. > Net 1.07 -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I don't want to get to the end of my life and find I have just lived the length of it. I want to have lived the width of it as well. -- Diane Ackerman From: interchange-users at interchange.redhat.com (Boyd Lynn Gerber) Date: Tue Aug 14 21:59:01 2001 Subject: [ic] Upgrade from IC 4.6.5 to 4.8.1 problems starting IC After installing IC from the CVS or the 4.8.1 I get the following errors. I have three calalogs. Construct my demo cataloge from 4.6.5, a foundation catalog. I was using during alpha and beta, and a second foundation catalog using tools that was working yesterday. I did a bin/makecat with database foundation-tools and then tried to restart interchange as user interch... This is from the CVS... Does this message mean it does not like my interchange.cfg file? line 2716 # Read interchange.cfg (or whatever its name is set to be) global_config(); # l interchange.cfg -rw-r--r-- 1 interch zenez 2589 Aug 14 19:25 interchange.cfg "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange line 2716 Low traffic settings. Calling UI.... ...UI is loaded... Interchange V4.9.0 Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. done. Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation. done. Configuring catalog foundation-tools...Using MySQL, DSN=dbi:mysql:test_foundation-tools...table 'state' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.state' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'orderline' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.orderline' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'userdb' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.userdb' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'affiliate' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.affiliate' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'gift_certs' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.gift_certs' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'pricing' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.pricing' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'options' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.options' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'order_returns' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.order_returns' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'inventory' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.inventory' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'country' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.country' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'products' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.products' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'cat' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.cat' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'area' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.area' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'transactions' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.transactions' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. table 'merchandising' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.merchandising' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. foundation-tools config error: products not a database, cannot use as products file foundation-tools: error in configuration. Skipping. foundation-tools: config error. Skipping. Interchange server started in UNIX mode(s) (process id 1500) I did a bin/makecat on my foundation-tools and something got broken. This is how I started. mysqladmin -uuser -p drop test_foundation-tools and the database was dropped bin/makecat does create the database test_foundation-tools, but when I restart interchange it get this above. Any ideas on what happened? Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 3748 Valley Forge Road, Magna Utah 84044 Office 801-250-0795 FAX 801-250-7975 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Aug 14 22:23:01 2001 Subject: [ic] IC 4.8.1 installation docs Hi, IC4.8.1, I would like to modify the <Meta charset> setting in the admin pages to show Japanese language. [scratch meta_header][set meta_header][/set] are in lib/UI/vars/UI_STD_HEAD. How and where should I define meta_header ? Or should I replace the whole with <Meta http-equiv ......charset=......> ? I hope that I will be able to define <Meta charset> in lib/UI/locales/xx_XX or another definition file. Thanks. S.Murahashi From: interchange-users at interchange.redhat.com (Boone, Ricky) Date: Tue Aug 14 22:30:00 2001 Subject: [ic] RE: Mega Perl Modules! (was IC 4.8.1 installation docs) > These are essential: > > MIME::Base64 2.12 > > Safe::Hole 0.08 > > MD5 > > SQL::Statement 0.1020 Thought so. ;) > This is strongly recommended: > > Storable 1.012 > > These are needed for the UI: > > libwww-perl 5.53 > > HTML::Parser 3.25 > > HTML::Tagset 3.03 > > URI 1.15 > > Bundle::libnet 1.00 > > This is just a collection of the above and a few others: > > Bundle::Interchange It kept on saying I needed each individual one whenever I'd try installing Interchange, so I just pulled each one from CPAN and manually installed them. > These are only needed for XLS spreadsheet import/export: > > Spreadsheet::ParseExcel 0.2403 > > OLE::Storage_Lite 0.09 > > IO-stringy 2.105 > > Spreadsheet::WriteExcel 0.33 > > Parse::RecDescent 1.80 Well, at least for the beta, it only listed the two Spreadsheet::* modules, and nothing else. I don't know if that's been changed for 4.8.1, but if it hasn't it may be a good idea to have it check for the others too. > Don't know what this is even. > > Net 1.07 Oh, that. That was when it was trying to find the "missing" modules, that it couldn't find in Bundle::Interchange. It kept on asking for Net::FTP, so I installed that one too, so I could at least finish the install. Must be my kookie linux box... ;) From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Tue Aug 14 22:34:01 2001 Subject: [ic] Upgrade from IC 4.6.5 to 4.8.1 problems starting IC I just had the same thing happen It's because you dropped the MySQL database. My workaround was to uninstall the old version of interchange and reinstall from fresh. Ian Riddler ----- Original Message ----- From: "Boyd Lynn Gerber" <gerberb@zenez.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 15, 2001 1:58 PM Subject: [ic] Upgrade from IC 4.6.5 to 4.8.1 problems starting IC > After installing IC from the CVS or the 4.8.1 I get the following errors. > > I have three calalogs. Construct my demo cataloge from 4.6.5, a > foundation catalog. I was using during alpha and beta, and a second > foundation catalog using tools that was working yesterday. I did a > bin/makecat with database foundation-tools and then tried to restart > interchange as user interch... > > This is from the CVS... Does this message mean it does not like my > interchange.cfg file? > > line 2716 > # Read interchange.cfg (or whatever its name is set to be) > global_config(); > > # l interchange.cfg > -rw-r--r-- 1 interch zenez 2589 Aug 14 19:25 interchange.cfg > > "mode" is not defined in %Fcntl::EXPORT_TAGS at > /usr/local/interchange/bin/interchange line 2716 > > Low traffic settings. > Calling UI.... > ...UI is loaded... > Interchange V4.9.0 > Configuring catalog construct...Using MySQL, DSN=dbi:mysql:test_construct. > done. > Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation. > done. > Configuring catalog foundation-tools...Using MySQL, DSN=dbi:mysql:test_foundation-tools...table 'state' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.state' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'orderline' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.orderline' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'userdb' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.userdb' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'affiliate' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.affiliate' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'gift_certs' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.gift_certs' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'pricing' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.pricing' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'options' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.options' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'order_returns' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.order_returns' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'inventory' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.inventory' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'country' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.country' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'products' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.products' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'cat' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.cat' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'area' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.area' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'transactions' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.transactions' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > table 'merchandising' failed: DBD::mysql::st execute failed: Table 'test_foundation-tools.merchandising' doesn't exist at /usr/local/interchange/lib/Vend/Table/DBI.pm line 1321. > > foundation-tools config error: products not a database, cannot use as products file > > > foundation-tools: error in configuration. Skipping. > foundation-tools: config error. Skipping. > Interchange server started in UNIX mode(s) (process id 1500) > > > > I did a bin/makecat on my foundation-tools and something got broken. This > is how I started. > > mysqladmin -uuser -p drop test_foundation-tools and the database was > dropped > > bin/makecat does create the database test_foundation-tools, but when I > restart interchange it get this above. > > > Any ideas on what happened? > > Thanks, > > -- > Boyd Gerber <gerberb@zenez.com> > ZENEZ 3748 Valley Forge Road, Magna Utah 84044 > Office 801-250-0795 FAX 801-250-7975 > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Tue Aug 14 22:45:00 2001 Subject: [ic] IC 4.8.1 installation docs At 03:59 PM 8/14/01 -0700, you wrote: > >http://ic.redhat.com/cgi-bin/ic/document.html > >http://ic.redhat.com/cgi-bin/ic/dev/index.html > > > >all the 4.8 docs > >I have found these, but there doesn't seem to be installation instructions >anywhere in there - configuration, yes - installation, no. Maybe I just >missed them? Can anyone show me where the install instructions are in these >links? Anywhere else? > >Jason > Jason, Go to: http://ic.redhat.com/cgi-bin/ic/document.html Click on left nav under "Documentation": "Interchange Reference" Then on that page select the fourth link: (Note other docs here also useful) "Interchange Catalog-Building Tutorial Guided tour through building a very simple catalog from scratch" Which puts you here: http://ic.redhat.com/cgi-bin/ic/dev-4.8/iccattut Which covers installation (Note: looks like covers the new 4.8) Kyle From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Tue Aug 14 22:46:33 2001 Subject: [ic] Trouble with the tag mime part and presetting the name of the attachment hello list - i've just installed IC4.8.1 on a redhat 7.1 system.... makecat did its thing without any errors. this is what i get when i start interchange: ---------- Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog test...test config error: Please specify the MailOrderTo directive in the configuration file '' test: error in configuration. Skipping. test: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 13895) --------- this is from catalog.cfg: MailOrderTo __ORDERS_TO__ this is a brand new install on a brand new system... all perl modules are up to date.. any ideas?... thanks Vlad From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 15 00:17:01 2001 Subject: [ic] RE: Mega Perl Modules! (was IC 4.8.1 installation docs) Quoting Boone, Ricky (BOONER@truliantfcu.org): > Well, at least for the beta, it only listed the two Spreadsheet::* modules, > and nothing else. I don't know if that's been changed for 4.8.1, but if it > hasn't it may be a good idea to have it check for the others too. > The others are *those* modules dependencies. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 02:15:00 2001 Subject: [ic] Trouble with the tag mime part and presetting the name of the attachment > this is from catalog.cfg: > MailOrderTo __ORDERS_TO__ > > this is a brand new install on a brand new system... all perl modules are up > to date.. > > any ideas?... I guess you should specify this through the admin UI under admin->Preferences->Order->Orders_to Rene From: interchange-users at interchange.redhat.com (Jason Timm) Date: Wed Aug 15 02:46:05 2001 Subject: [ic] IC 4.8.1 installation docs >Go to: > >http://ic.redhat.com/cgi-bin/ic/document.html > >Click on left nav under "Documentation": > >"Interchange Reference" > >Then on that page select the fourth link: >(Note other docs here also useful) > >"Interchange Catalog-Building Tutorial > Guided tour through building a very simple > catalog from scratch" > >Which puts you here: > >http://ic.redhat.com/cgi-bin/ic/dev-4.8/iccattut > >Which covers installation (Note: looks like covers the new 4.8) > Okay, I will give this up now, but my point was that even at that place in the docs, all it says is to be sure to install IC before continuing. It mentions that you should know what kind of an install you did, etc. but nowhere does it say what is required to have installed first, the syntax for installing it, or suggestions for what to input during the install. For instance, the old docs say to install Bundle::Interchange, but this is not mentioned here. There are many CPAN modules indicated on the download page which I assume are mandatory. This would tell me that Bundle::Interchange is no longer current and because the CPAN module list is comprehensive, Bundle::Interchange is no longer needed. I assume that 4.8.1 still needs Perl 5.6+, but again that is not mentioned anywhere. I am not trying to be difficult, all I am saying is that there once were instructions for installing IC, and now there are not. I did check through the online docs, but as I said before, there isn't anything there about installation steps. The links that people are saying to use do not lead to any new information... I will be able to install it just fine I am sure - I was just trying to point out a possible oversight. New users may not know exactly what to do or what is required as we will undoubtedly see on the list at some point. TTFN Jason From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 15 02:56:01 2001 Subject: [ic] How Can I Force A New Session ID for next purchase? Hi everybody, The customer has purchased and on the reciept page I need to start another session so he can buy some more with another transaction/session number. I have tried [userdb function=logout hide=1 clear=1] and also [set mv_session_id][/set]. Any ideas? Geoff From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Wed Aug 15 03:19:02 2001 Subject: [ic] Trouble with the tag mime part and presetting the At 09:50 PM 8/14/01 -0500, you wrote: >hello list - >i've just installed IC4.8.1 on a redhat 7.1 system.... >makecat did its thing without any errors. >this is what i get when i start interchange: > >---------- >Low traffic settings. >Calling UI......UI is loaded... >Interchange V4.8.1 >Configuring catalog test...test config error: Please specify the MailOrderTo >directive in the configuration file '' > >test: error in configuration. Skipping. >test: config error. Skipping. >Interchange server started in INET and UNIX mode(s) (process id 13895) >--------- > >this is from catalog.cfg: >MailOrderTo __ORDERS_TO__ > >this is a brand new install on a brand new system... all perl modules are up >to date.. > >any ideas?... > > > >thanks > >Vlad Vlad, I'm familiar with the MailOrderTo being set to a real email address and I'm familiar with the structure of __VARIABLE__ so I'm guessing you need to assign the email address to the var ORDERS_TO (Maybe this has been Wizardized and /or trying to pull from a table, I don't know about the newest versions.) Check your config file for a line like: Variable ORDERS_TO your@email.add If it is not there then maybe it is trying to get variables from a table and something is wrong with the DB, or .....? Good Luck, Kyle From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Aug 15 03:37:01 2001 Subject: [ic] Trouble with the tag mime part and presetting the name of the Vlad Sedov wrote: > > hello list - > i've just installed IC4.8.1 on a redhat 7.1 system.... > makecat did its thing without any errors. > this is what i get when i start interchange: [....] > any ideas?... > > thanks > > Vlad Please! Please! Please! Rewrite the subject line, if you don't write anything about the subject! Did you understand why? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 15 04:47:02 2001 Subject: [ic] IC 4.8.1 installation docs murahashi@ayayu.com writes: > Hi, > > IC4.8.1, I would like to modify the <Meta charset> setting in the admin > pages > to show Japanese language. > > [scratch meta_header][set meta_header][/set] > are in lib/UI/vars/UI_STD_HEAD. > > How and where should I define meta_header ? > Or should I replace the whole with <Meta http-equiv ......charset=......> ? > > I hope that I will be able to define <Meta charset> in lib/UI/locales/xx_XX > or another > definition file. Do you want to display product descriptions in Japanese or translate the UI to Japanese ? Please continue the discussion on interchange-i18n@interchange.redhat.com. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 15 04:54:01 2001 Subject: [ic] IC 4.8.1 installation docs "Jason Timm" <jason@itchoices.com> writes: [...] > > Okay, I will give this up now, but my point was that even at that place in > the docs, all it says is to be sure to install IC before continuing. It > mentions that you should know what kind of an install you did, etc. but > nowhere does it say what is required to have installed first, the syntax for > installing it, or suggestions for what to input during the install. For > instance, the old docs say to install Bundle::Interchange, but this is not > mentioned here. There are many CPAN modules indicated on the download page > which I assume are mandatory. This would tell me that Bundle::Interchange > is no longer current and because the CPAN module list is comprehensive, > Bundle::Interchange is no longer needed. I assume that 4.8.1 still needs > Perl 5.6+, but again that is not mentioned anywhere. No, it doesn't. IC 4.8.1 runs fine with Perl 5.005 and I'll look that stays true at least until Debian 3.0 is released. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Aug 15 05:38:01 2001 Subject: [ic] Trouble with the tag mime part and presetting the name of the Mike Heins wrote: [...] > > Thank you for your suggestion and sorry for my long e-mail! I've tried > > > > ----------snip-------- > > [tag mime header][/tag] > > [tag mime type text/comma-separated-values; name="Bestellung_[scratch > > bestellnummer].csv"][/tag] > > This has zero chance of working because tags are not interpolated in > tag arguments unless quoted. You might get it going with something on > the order of: > > [tag arg='mime type text/comma-separated-values; name="Bestellung_[scratch bestellnummer].csv'][/tag] Thank you for your time. With quoted arguments, I get ----snip----- [] --010815103745-Rb6dcgaW-482:=1219 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <MiniVend.3.14-5.010815103745.Rb6dcgaW.484@http://www.leidinger.dev/cgi-bin/owkpa> Content-Description: type="Bestellung_000163.csv" ..... --010815103745-Rb6dcgaW-482:=1219-- ----snip----- My testing codes was -----snip--------- [tag arg='mime type text/comma-separated-values; name="Bestellung_TEST.csv"'][/tag] [tag mime type="Bestellung_[scratch bestellnummer].csv"] .... [/tag] -----snip--------- Another suggestion from Racke like ------snip----- [tag op="mime" type='application/x-...; name="[scratch xxx].csv' description='type="Bestellung-[scratch xxx].csv"'] DEINE BESTELLUNG, FASEL [/tag] ------snip----- does not work. But after a long running trial-and-error-test, I've found a solution with a little bit error. The next codes ----------snip-------- [tag mime type arg='text/comma-separated-values; name="Bestellung_[scratch bestellnummer].csv"'][/tag] [tag mime type='Bestelldaten Nr. [scratch bestellnummer]'] .... [/tag] ----------snip-------- make --------snip---------- --010815111115-Rb6dcgaW-821:=1708 Content-Type: arg='text/comma-separated-values; name="Bestellung_000175.csv"' Content-ID: <MiniVend.3.14-5.010815111115.Rb6dcgaW.823@http://www.leidinger.dev/cgi-bin/owkpa> Content-Description: type='Bestelldaten Nr. 000175' .... --010815111115-Rb6dcgaW-821:=1708-- --------snip---------- But without [tag ....arg='....'], it doesn't work. I can live with "Conten-Type: arg='....'", but I would prefer to get a right solution. If I've time, I will test that with IC 4.8.1 and see what I get. > You can also write a UserTag to format things for you.... But you have > reached the limit of what I will do anymore for Minivend 3. Time to > update, you are about 10 revs and two years back. 8-) Yes! You are right! But I've test my codes with IC 4.6.5 too and get the same misbehavior. Can you give me a little tip to set the mime header with an usertag? Something like Usertag setminetype ...... Usertag setmimetype ROUTINE <<EOR sub{ my ($type, $name) = @_; my $mimetype = "Content-Type: $type; name=\"$name\""; $Vend::MIME_TYPE = $mimetype; .... } ? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 07:35:01 2001 Subject: [ic] (no subject) hi list, I'm using IC 4.8.1. I just upgraded a mv4 catalog to work with the 4.8.1 release, and I got this error while opening the access-page through the admin. /ic.cgi/admin/access.html Runtime error: Can't use string ("mv_junk") as a HASH ref while "strict refs" in use at (eval 83) line 54. I got rid of the error by commenting out this section in the page [if-mm advanced access=e] [button name=mv_junk value="[L]Edit user[/L]"][/button]<p> [/if-mm] What does the advanced access=e mean? I suppose that this has to do with my user-rights. Is there a easy way in getting this fixed? René ---------------------------------------------------- I don't have a solution but I do admire the problem. From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 08:00:00 2001 Subject: [ic] UI-error during restart of IC 4.8.1 Hi list, What does this error mean? I get this when I restarted IC after upgrading from 4.7.5 to 4.8.1: Calling UI.... "mode" is not defined in %Fcntl::EXPORT_TAGS at interchange/bin/interchange line 2716 ...UI is loaded... Everything seems to work fine, but the above complaint does not belong there... René ---------------------------------------------------- I don't have a solution but I do admire the problem. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 15 08:11:01 2001 Subject: [ic] usertrack questions Joachim Leidinger <jojo@blackpoint.de> writes: > Hi list, > > I can see the page name of the UI in my usertrack file. But I want to > see, which sku did my customer edit/change. What I mean is, I've > > -----------snip-------------- > 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 > 996593873 VIEWPAGE=admin/item_edit > -----------snip-------------- > > and i want to see > > -----------snip-------------- > 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 > 996593873 VIEWPAGE=admin/item_edit/<sku number> > -----------snip-------------- > > Any tips, helps and suggestions are very welcome! Changes vs. 4.8.1: racke@snowflake:~/interchange/dev/lib/Vend$ cvschanges Config.pm Track.pm Running cvs diff -r 2.2 -r 2.3 Config.pm Index: Config.pm =================================================================== RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v retrieving revision 2.2 retrieving revision 2.3 diff -u -r2.2 -r2.3 --- Config.pm 2001/08/01 00:58:49 2.2 +++ Config.pm 2001/08/15 11:55:59 2.3 @@ -1,6 +1,6 @@ # Vend::Config - Configure Interchange # -# $Id: Config.pm,v 2.2 2001/08/01 00:58:49 heins Exp $ +# $Id: Config.pm,v 2.3 2001/08/15 11:55:59 racke Exp $ # # Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com> # @@ -95,7 +95,7 @@ use Vend::Parse; use Vend::Util; -$VERSION = substr(q$Revision: 2.2 $, 10); +$VERSION = substr(q$Revision: 2.3 $, 10); my %CDname; @@ -472,6 +472,7 @@ ['EncryptKey', undef, ''], ['AsciiTrack', undef, ''], ['TrackFile', undef, ''], + ['TrackPageParam', 'hash', ''], ['SalesTax', undef, ''], ['SalesTaxFunction', undef, ''], ['StaticDBM', undef, ''], /usr/bin/cvschanges: Couldn't assign branch for revision "1.3.2.1" Running cvs diff -r 2.0 -r 2.1 Track.pm Index: Track.pm =================================================================== RCS file: /anon_cvs/repository/interchange/lib/Vend/Track.pm,v retrieving revision 2.0 retrieving revision 2.1 diff -u -r2.0 -r2.1 --- Track.pm 2001/07/18 02:23:14 2.0 +++ Track.pm 2001/08/15 11:55:59 2.1 @@ -1,6 +1,6 @@ # Vend::Track - Interchange User Tracking # -# $Id: Track.pm,v 2.0 2001/07/18 02:23:14 jon Exp $ +# $Id: Track.pm,v 2.1 2001/08/15 11:55:59 racke Exp $ # # Copyright (C) 2000 by Stefan Hornburg <racke@linuxia.de> # @@ -35,7 +35,7 @@ require Exporter; use vars qw($VERSION); -$VERSION = substr(q$Revision: 2.0 $, 10); +$VERSION = substr(q$Revision: 2.1 $, 10); @ISA = qw(Exporter); @@ -92,8 +92,17 @@ sub view_page { my ($self, $page) = @_; + my @params; - push (@{$self->{actions}}, ['VIEWPAGE', {page => $page}]); + if (exists $Vend::Cfg->{TrackPageParam}->{$page}) { + for (split /,/, $Vend::Cfg->{TrackPageParam}->{$page}) { + next if $_ eq 'mv_credit_card_number' || $_ eq 'mv_credit_card_cvv2'; + if ($CGI::values{$_} =~ /\S/) { + push(@params, "$_=$CGI::values{$_}"); + } + } + } + push (@{$self->{actions}}, ['VIEWPAGE', {page => $page, params => \@params}]); } sub view_product { @@ -119,7 +128,7 @@ $_->{'quantity'}, $_->{'price'})} @{$href->{'items'}});}, - 'VIEWPAGE' => sub {my $href = shift; $href->{'page'}}, + 'VIEWPAGE' => sub {my $href = shift; join ("\t", $href->{'page'}, @{$href->{'params'}})}, 'VIEWPROD' => sub {my $href = shift; join ("\t", $href->{'code'}, $href->{'description'}, $href->{'category'});}); sub header { Usage example: TrackPageParam admin/item mv_data_table,ui_sort_field Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 15 08:25:00 2001 Subject: [ic] UI-error during restart of IC 4.8.1 "Rene Hertell" <rene@hertell.com> writes: > Hi list, > > What does this error mean? I get this when I restarted IC after upgrading from > 4.7.5 to 4.8.1: > > Calling UI.... > "mode" is not defined in %Fcntl::EXPORT_TAGS at interchange/bin/interchange > line 2716 > ...UI is loaded... > > Everything seems to work fine, but the above complaint does not belong there... This error message seems to appear only on Perl 5.005 installations, but is totally harmless AFAIK. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Aug 15 08:27:01 2001 Subject: [ic] usertrack questions "Stefan Hornburg (Racke)" wrote: > > and i want to see > > -----------snip-------------- > > 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 > > 996593873 VIEWPAGE=admin/item_edit/<sku number> > > -----------snip-------------- [....] > Changes vs. 4.8.1: > > racke@snowflake:~/interchange/dev/lib/Vend$ cvschanges Config.pm Track.pm > Running cvs diff -r 2.2 -r 2.3 Config.pm > Index: Config.pm [....] > Running cvs diff -r 2.0 -r 2.1 Track.pm > Index: Track.pm [...] Super! > Usage example: > TrackPageParam admin/item mv_data_table,ui_sort_field Das habe ich nicht kapiert? Kommt das ins catalog.cfg rein? ciao jojo -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Aug 15 08:49:00 2001 Subject: [ic] usertrack questions Joachim Leidinger wrote: [....] > Super! > > > Usage example: > > TrackPageParam admin/item mv_data_table,ui_sort_field > > Das habe ich nicht kapiert? Kommt das ins catalog.cfg rein? > > ciao > > jojo [DEL] Sorry for my wrong posting! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 15 08:57:00 2001 Subject: [ic] usertrack questions Joachim Leidinger <jojo@blackpoint.de> writes: > "Stefan Hornburg (Racke)" wrote: > > > and i want to see > > > -----------snip-------------- > > > 20010731 rVsTsP7s:192.168.3.1 jojo 192.168.3.1 > > > 996593873 VIEWPAGE=admin/item_edit/<sku number> > > > -----------snip-------------- > [....] > > Changes vs. 4.8.1: > > > > racke@snowflake:~/interchange/dev/lib/Vend$ cvschanges Config.pm Track.pm > > Running cvs diff -r 2.2 -r 2.3 Config.pm > > Index: Config.pm > [....] > > Running cvs diff -r 2.0 -r 2.1 Track.pm > > Index: Track.pm > [...] > > Super! > > > Usage example: > > TrackPageParam admin/item mv_data_table,ui_sort_field > > Das habe ich nicht kapiert? Kommt das ins catalog.cfg rein? Yes, add the TrackPageParam line to catalog.cfg. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Gavin Harper) Date: Wed Aug 15 09:03:01 2001 Subject: [ic] Admin UI Can't delete or archive orders? Hi all, I'm using IC version 4.8.1 and am having problems with the order pages of the UI. I just can't seem to get the delete or archive feature to work! I'm not getting errors in the error log it just reloads the order page. Anyone have any ideas, or experiencing similar problems? Thanks Gavin From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 09:21:02 2001 Subject: [ic] UI-error during restart of IC 4.8.1 > This error message seems to appear only on Perl 5.005 installations, > but is totally harmless AFAIK. Thanks :) Rene From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 15 09:25:00 2001 Subject: [ic] IC 4.8.1 installation docs Quoting Jason Timm (jason@itchoices.com): > I am not trying to be difficult, all I am saying is that there once were > instructions for installing IC, and now there are not. I did check through > the online docs, but as I said before, there isn't anything there about > installation steps. The links that people are saying to use do not lead to > any new information... > > I will be able to install it just fine I am sure - I was just trying to > point out a possible oversight. New users may not know exactly what to do > or what is required as we will undoubtedly see on the list at some point. > Thank you -- I believe I have gotten to the bottom of this. The "Getting Started" guide was done by a non-engineer in FrameMaker, and has not yet been re-converted to SDF which we base all of our online does. Therefore, at the moment, it is only availabe in PDF and is not yet in the docs package. That will be changing soon. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 09:29:01 2001 Subject: [ic] Naming user tags Hello out there, I just discovered that the user-tags are now stored *.tag. Since when has this been like this? I also noticed that a few user-tags where removed (from lib/UI/userag) like: button, field_label, ifdef, ifndef, read_serial, rotate_database, send_help, title_bar, unconfigure. Can these be safely removed (where were these user-tags used?) or should I keep them and rename them to *.tag? René ---------------------------------------------------- I don't have a solution but I do admire the problem. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 15 09:32:02 2001 Subject: [ic] How Can I Force A New Session ID for next purchase? Quoting junk@megatronix.com.au (junk@megatronix.com.au): > Hi everybody, > The customer has purchased and on the reciept page I need to start another > session so he can buy some more with another transaction/session number. > > I have tried [userdb function=logout hide=1 clear=1] and also [set > mv_session_id][/set]. Why would you care about session ID? Nothing should depend on that. I would think very strongly about this were I you. And your customers are unlikely to buy from you if they have to re-enter all their info. 8-) There is a way to do it, though: [calc] $Session->{time} = 1; return; [/calc] That should cause immediate session expiration. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 15 09:39:01 2001 Subject: [ic] (no subject) Quoting Rene Hertell (interchange-users@hertell.com): > hi list, > > I'm using IC 4.8.1. > > I just upgraded a mv4 catalog to work with the 4.8.1 release, and I got this > error while opening the access-page through the admin. > > /ic.cgi/admin/access.html Runtime error: Can't use string ("mv_junk") as a HASH > ref while "strict refs" in use at (eval 83) line 54. I bet you have two button tags -- to you get something on startup like "redefined scalar parameter for UserTag button" or something like that? -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Any man who is under 30, and is not liberal, has not heart; and any man who is over 30, and is not a conservative, has not brains. -- Winston Churchill From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 10:16:00 2001 Subject: [ic] 45 min delay before posted message appears on list... Am I the only one with a 45 minutes delay before my mail appears on the list? I posted a message at 16:40 (my local time), and when my posted message arrived back to my mailbox, the messages time was 17.04... Is the list manager somehow overloaded? Regards, René Hertell ---------------------------------------------------- I don't have a solution but I do admire the problem. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 15 10:30:01 2001 Subject: [ic] Naming user tags "Rene Hertell" <interchange-users@hertell.com> writes: > Hello out there, > > I just discovered that the user-tags are now stored *.tag. Since when has this > been like this? AFAIR relative early in 4.7.x. > I also noticed that a few user-tags where removed (from > lib/UI/userag) like: button, field_label, ifdef, ifndef, read_serial, > rotate_database, send_help, title_bar, unconfigure. There are either moved to dist/usertag or no longer used. > > Can these be safely removed (where were these user-tags used?) or should I keep > them and rename them to *.tag? I recommend to delete them. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 10:35:01 2001 Subject: [ic] (no subject) > I bet you have two button tags -- to you get something on startup > like "redefined scalar parameter for UserTag button" or something like > that? Yes, I found a bunch of new tags in my usertag dirs (lib/ui/usertag and usertag) and I moved them away. Now I got the access-page to work :) I posted 5 minutes ago a message regarding the new and old usertags. Regards, Rene From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Wed Aug 15 10:44:01 2001 Subject: [ic] oops! [Trouble with the tag mime part and presetting the name of the attachment] hey sorry for cutting into the thread.. haven't slept for 24 hours heheh cheers Vlad From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 15 11:05:01 2001 Subject: [ic] Admin UI Can't delete or archive orders? Quoting Gavin Harper (gavin@steelblue.co.uk): > Hi all, > > I'm using IC version 4.8.1 and am having problems with the order pages of > the UI. > I just can't seem to get the delete or archive feature to work! > I'm not getting errors in the error log it just reloads the order page. > Anyone have any ideas, or experiencing similar problems? > You are not on the release version -- that bug was fixed just prior to release. You must have checked it out from CVS, and you need an update. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Wed Aug 15 11:16:00 2001 Subject: [ic] new user email Anybody out there sending confirmation emails to new users who create any account? I couldn't find anything about this in the docs. I would like to be able to thank them for signing up and send them their usernames and paswords. From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Wed Aug 15 11:21:01 2001 Subject: [ic] Naming user tags > > Can these be safely removed (where were these user-tags used?) or > should I keep > > them and rename them to *.tag? > > I recommend to delete them. Mission completed :) Thanks, Rene From: interchange-users at interchange.redhat.com (Jason Timm) Date: Wed Aug 15 11:24:00 2001 Subject: [ic] Installing packages While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I get: error: failed dependencies: libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 What is the best way to get these so that perl-Crypt-SSLeay-0.27-1.i386.rpm is installed properly? Which package or module are they part of? ----- Also, for perl-DBD-Pg-1.00-1.i386.rpm, I get: error: failed dependencies: libpq.so.2 is needed by perl-DBD-Pg-1.00-1 ----- And for perl-XML-Parser-2.30-1.i386.rpm, I get: error: failed dependencies: libexpat.so.0 is needed by perl-XML-Parser-2.30-1 ----- These issues may be obvious to everyone else, so please be easy on me... Thanks, Jason From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 15 12:36:00 2001 Subject: [ic] IC 4.8.1 [tree] tag problems On Tue, Aug 14, 2001 at 04:27, Jon Jensen wrote: > We are proud to announce the public release of Interchange 4.8. > This is the best Interchange we have ever produced, and it has many, > many, improvements and fixes over 4.6 while maintaining a high degree > of compatibility. [snip] > * [tree] tag allows you to build product display trees and display > exploding lists. I'm missing something. I've (very carefully) built the example from ictags.8 (around line 10774, so I don't have to clutter up this email) on a page all by itself for testing. With this "tree" table per the example: parent child 99 a a b a c a d a x x y x z 99 m 99 n 99 o o e o f o g This is the resulting output, using the display code per the example: o mv_level=0, mv_increment=1, mv_children=1 g mv_level=1, mv_increment=1, mv_children=0 That is, only the very last parent/child combination is displayed, not the full tree. Any ideas? Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Boone, Ricky) Date: Wed Aug 15 12:45:02 2001 Subject: [ic] RE: Mega Perl Modules! (was IC 4.8.1 installation docs) > > Well, at least for the beta, it only listed the two > Spreadsheet::* modules, > > and nothing else. I don't know if that's been changed for > 4.8.1, but if it > > hasn't it may be a good idea to have it check for the others too. > > > > The others are *those* modules dependencies. Well, ya know, just a thought. Thanks for your help. :) From: interchange-users at interchange.redhat.com (Boone, Ricky) Date: Wed Aug 15 13:37:00 2001 Subject: [ic] VisaNet authorization... > This depends on what sort of software Visanet supports. I don't know > what Visanet is exactly, so I can't be sure, but I am guessing that it > is the main clearinghouse for Visa and that it has some method for > automated connection. If ICVerify supports it, it is possible to make > Interchange use that by mounting a PC directory via Samba and > manipulating some files. It won't be like falling off of a log, but > it shouldn't be too hard for a top-notch consultant. We're checking into that right now. I was reading through the CCVS documentation, and it said it supported Visanet. But CCVS uses a modem to dial into a financial institution that has Visanet. Anywho... I'm talking to a few people a Visa trying to figure this out. Thanks for the advice. :) From: interchange-users at interchange.redhat.com (David Totten) Date: Wed Aug 15 14:07:00 2001 Subject: [ic] Installing packages On 15 Aug 2001 08:23:56 -0700, Jason Timm wrote: > > While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I get: > > error: failed dependencies: > libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 Looks like you need to install whatever rpm that will provide you with libcrypto.so.1, and libssl.so.1 before you can install that rpm. > Also, for perl-DBD-Pg-1.00-1.i386.rpm, I get: > > error: failed dependencies: > libpq.so.2 is needed by perl-DBD-Pg-1.00-1 same thing here.. you probably need to install the devel rpm's for postgresql. > And for perl-XML-Parser-2.30-1.i386.rpm, I get: > > error: failed dependencies: > libexpat.so.0 is needed by perl-XML-Parser-2.30-1 Same thing. Probably some devel rpm that you don't have installed on your machine right now. Dave Totten From: interchange-users at interchange.redhat.com (Russ Riggs) Date: Wed Aug 15 14:16:00 2001 Subject: [ic] Installing packages Those are Linux shared objects. Load them from the rpm's on your distributon CD. Jason Timm wrote: > While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I get: > > error: failed dependencies: > libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > > What is the best way to get these so that perl-Crypt-SSLeay-0.27-1.i386.rpm > is installed properly? Which package or module are they part of? > > ----- > > Also, for perl-DBD-Pg-1.00-1.i386.rpm, I get: > > error: failed dependencies: > libpq.so.2 is needed by perl-DBD-Pg-1.00-1 > > ----- > > And for perl-XML-Parser-2.30-1.i386.rpm, I get: > > error: failed dependencies: > libexpat.so.0 is needed by perl-XML-Parser-2.30-1 > > ----- > > These issues may be obvious to everyone else, so please be easy on me... > > Thanks, > > Jason > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 15 15:30:00 2001 Subject: [ic] IC 4.8.1 [tree] tag problems Quoting Pann McCuaig (pann@ourmanpann.com): > On Tue, Aug 14, 2001 at 04:27, Jon Jensen wrote: > > > We are proud to announce the public release of Interchange 4.8. > > This is the best Interchange we have ever produced, and it has many, > > many, improvements and fixes over 4.6 while maintaining a high degree > > of compatibility. > > [snip] > > > * [tree] tag allows you to build product display trees and display > > exploding lists. > > I'm missing something. I've (very carefully) built the example from > ictags.8 (around line 10774, so I don't have to clutter up this email) > on a page all by itself for testing. With this "tree" table per the > example: > > parent child > 99 a > a b > a c > a d > a x > x y > x z > 99 m > 99 n > 99 o > o e > o f > o g > > This is the resulting output, using the display code per the example: > > o mv_level=0, mv_increment=1, mv_children=1 > > g mv_level=1, mv_increment=1, mv_children=0 > > That is, only the very last parent/child combination is displayed, not > the full tree. > The field names are wrong in the code, which I guess you figured out or you would have gotten no display. With this catalog.cfg: Database tree tree.txt TAB Database tree AUTO_NUMBER 00001 This data: code parent child 99 a a b a c a d a x x y x z 99 m 99 n 99 o o e o f o g and this code: [tree start=99 table=tree master=parent subordinate=child autodetect=1 spacing=4 full=1] <tr> <td> [if-item-param mv_level] [item-calc] return '&nbsp' x [item-param mv_spacing]; [/item-calc] [/if-item-param] [item-param child] </td> <td> mv_level=[item-param mv_level], mv_increment=[item-param mv_increment], mv_children=[item-param mv_children] </td> </tr> [/tree] </table> I get the advertised result. I have updated the docs with this. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Wed Aug 15 15:35:00 2001 Subject: [ic] Admin UI Can't delete or archive orders? This was just answered last week, check to make sure that you have a file called: lib/UI/pages/include/order_delete_archive it was missing from the cvs just before the final 4.8.1 tarball came out. you should just be able to do a cvs update, or grab the tarball, and copy and paste the file. I don't think that the archives have this solution in its db yet, I did a search for it, and couldn't find the original thread. At 02:01 PM 8/15/01 +0100, you wrote: >Hi all, > >I'm using IC version 4.8.1 and am having problems with the order pages of >the UI. >I just can't seem to get the delete or archive feature to work! >I'm not getting errors in the error log it just reloads the order page. >Anyone have any ideas, or experiencing similar problems? > >Thanks > >Gavin > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Dave Jenkins) Date: Wed Aug 15 15:50:00 2001 Subject: [ic] IBM 4690 POS Does anyone here have experience with making IC play nice with the IBM 4690 point-of-sale system? Does anyone know of some existing documentation on the API for dealing with this system? -- From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Wed Aug 15 16:16:01 2001 Subject: [ic] robots/rules-dbm failed test 8 I have been having problems with IC 4.8.1 so I am doing a redo. On RH7 reinstalled perl 5.6.1 no problems went through all the required modules until LWP. I keep getting a the following: robot/rules-dbm.....FAILED test 8 Failed 1/13 tests, 92.31% okay I found in the archives someone said just do a make install. This I have done and it installs but I can't help but wonder if my problems are related to this failed portion of the module. I have searched archives at libwww and although this is a fairly common problem it never got a reply. Unlike this list. This is snip from the test file: [snip] $r = undef; print "*** Dump of database ***\n"; tie(%cat, AnyDBM_File, $file, 0, 0644) or die "Can't tie: $!"; while (($key,$val) = each(%cat)) { print "$key\t$val\n"; } print "******\n"; untie %cat; # Try to open database with a different agent name $r = new WWW::RobotRules::AnyDBM_File "MOMSpider/2.0", $file; print "not " if $r->no_visits("www.sn.no"); print "ok 8\n"; [snip] Is this test relevant to normal IC 4.8.1 operation? Should I make install and move on? Thanks From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Aug 15 16:34:00 2001 Subject: [ic] Installing packages At 08:23 AM 8/15/2001 -0700, you wrote: >While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I get: > >error: failed dependencies: > libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 Those RPM's were built for openssl-0.9.6, RH 7.0 comes with 0.9.5. You can probably install both versions and still be able to use the old stuff for binary compatibilty (like RH 7.0 Apache-SSL) and the new stuff for everything else (using symlinks in /lib/..., if you know how). >What is the best way to get these so that perl-Crypt-SSLeay-0.27-1.i386.rpm >is installed properly? Which package or module are they part of? > >----- > >Also, for perl-DBD-Pg-1.00-1.i386.rpm, I get: > >error: failed dependencies: > libpq.so.2 is needed by perl-DBD-Pg-1.00-1 BTW, you can search for "libpq.so.2" on http://www.rpmfind.net It's not quite as good as Debian, but you can find a lot of packages there. I think that is from postgresql-devel-7.1... But don't take my advice for it, it's easy to screw up a box with willy-nilly rpm's. :-) The easiest route is to install 7.1 from scratch. BTW, I thought I would mention that I upgraded our production rh 7.0 boxes to 2.4.7 and had a noticeable performance/capacity increase. Good luck, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Dave Stevens) Date: Wed Aug 15 18:45:01 2001 Subject: [ic] upgrade FAQ for IC 4.8? I've looked on the site and list archives, but I can't find any upgrade info yet. I ordered the books last Friday. Specifically, we have an IC implementation that was modified by Akopia late last year that we would like to upgrade. Is there anything to look for specifically for compatability with IC4.8 being upgraded from 4.6.1? What exactly gets upgraded, and is there a way someone has found to migrate custom 4.6 apps to 4.8? We've got a few custom features built in that aren't included in the standard dist, but would like the performance and security enhancements of the latest version. I suppose I could try to merge the 4.8 dist into our current tree to see what the diffs were, but thought I'd check to see if anyone else had a better way. Any pointers or suggestions would be greatly appreciated. Dave From: interchange-users at interchange.redhat.com (J. Nick Koston) Date: Wed Aug 15 18:53:00 2001 Subject: [ic] VisaNet authorization... --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This url might be helpful http://www.vitalps.com/sections/int/int_Interfacespecs.html Nick On Tue, Aug 14, 2001 at 03:34:56PM -0400, Mike Heins wrote: > Envelope-to: bdraco@darkorb.net > Delivery-date: Tue, 14 Aug 2001 15:46:27 -0400 > From: Mike Heins <mheins@redhat.com> > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] VisaNet authorization... > User-Agent: Mutt/1.2.5i > In-Reply-To: <1A31624E05D7D311B1F60090273C534302445865@gateway.attffcu.or= g>; from BOONER@truliantfcu.org on Tue, Aug 14, 2001 at 01:23:35PM -0400 > Errors-To: interchange-users-admin@interchange.redhat.com > X-BeenThere: interchange-users@interchange.redhat.com > X-Mailman-Version: 2.0.5 > Precedence: bulk > Reply-To: interchange-users@interchange.redhat.com > X-Reply-To: mike@minivend.com > List-Help: <mailto:interchange-users-request@interchange.redhat.com?subje= ct=3Dhelp> > List-Post: <mailto:interchange-users@interchange.redhat.com> > List-Subscribe: <http://interchange.redhat.com/mailman/listinfo/interchan= ge-users>, > <mailto:interchange-users-request@interchange.redhat.com?subject=3Dsubsc= ribe> > List-Id: Interchange users discussion (high volume) <interchange-users.in= terchange.redhat.com> > List-Unsubscribe: <http://interchange.redhat.com/mailman/listinfo/interch= ange-users>, > <mailto:interchange-users-request@interchange.redhat.com?subject=3Dunsub= scribe> > List-Archive: <http://interchange.redhat.com/pipermail/interchange-users/> > X-Original-Date: Tue, 14 Aug 2001 15:34:56 -0400 > Date: Tue, 14 Aug 2001 15:34:56 -0400 >=20 > Quoting Boone, Ricky (BOONER@truliantfcu.org): > > Okay, I'm a newbie here. Just lettin' y'all know that before I go any > > further. :) > >=20 > > Alright, here's the situation. We have a server running Interchange on= our > > Intranet, and will not be accessable to any outside access. We are a c= redit > > union, and we have a Visanet terminal in the same area. Would it be > > possible to go straight through Visanet for credit card verification, o= r do > > we have to go some other route. >=20 > This depends on what sort of software Visanet supports. I don't know > what Visanet is exactly, so I can't be sure, but I am guessing that it > is the main clearinghouse for Visa and that it has some method for > automated connection. If ICVerify supports it, it is possible to make > Interchange use that by mounting a PC directory via Samba and > manipulating some files. It won't be like falling off of a log, but > it shouldn't be too hard for a top-notch consultant. >=20 > --=20 > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> >=20 > Any man who is under 30, and is not liberal, has not heart; and any man > who is over 30, and is not a conservative, has not brains. > -- Winston Churchill > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users --=20 BurstNET - The Speed the Internet Travels To place an order, or for more info, contact; BurstNET Technologies, Inc. - BurstNET Toll Free 24/7/365 Support: 1-877-BURSTNET Phone (570) 389-1100 - Fax (570) 389-1855=3D20 http://www.burst.net - sales@burst.net P.O. Box #400 Bloomsburg, PA 17815-0400 USA A World Wide Leader in Web Hosting & Internet Solutions The Best Value For Your Dollar On The Net! Copyright 1996-2000 =A9 BurstNET Technologies, Inc. All Rights Reserved. --xXmbgvnjoT4axfJE 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 iD8DBQE7ev0pT5huNxcQLWARAtDIAKCEHZuTCkygzK9RjdKfYb685RuQIwCfd6Nm LVbN6Rr4pzpiJMPRQioJTG8= =2K7Z -----END PGP SIGNATURE----- --xXmbgvnjoT4axfJE-- From: interchange-users at interchange.redhat.com (Boone, Ricky) Date: Wed Aug 15 20:02:01 2001 Subject: [ic] VisaNet authorization... > This url might be helpful > > http://www.vitalps.com/sections/int/int_Interfacespecs.html Sure looks like it is. ;) Thanks. :) From: interchange-users at interchange.redhat.com (Utomo) Date: Wed Aug 15 21:24:00 2001 Subject: [ic] IC 4.8.1 Hello interchange-users, Congratulation for the release of New IC. I hope many user can migrate to the new version, because new version have many new function and big improvements. and we can send more comments/suggestion for next bigger improvements in V 5 :) -- Best regards, Utomo mailto:utomo@flashmail.com From: interchange-users at interchange.redhat.com (Korney Gozman) Date: Wed Aug 15 21:43:01 2001 Subject: [ic] [if] tag Im trying to display some text only if its in a specific category [if [item-field category] =~ /Specific Category/] Display this text here [/if] but it wont do it, Anybody with somewhat interesting suggestions? Cause mine are quiete dull :) Thanks korey From: interchange-users at interchange.redhat.com (JT Justman) Date: Wed Aug 15 23:22:00 2001 Subject: [ic] Multiple search criteria for advanced search Hi everyone, I need to give my customers the option to specify multiple attributes for a search. I'm doing clothing, so I want to be able to specify that results match Category, Size, Color, Price, etc: Category = pants AND Size = Large AND Color = Blue I haven't been able to find an example of how to do this. Can someone point me in the right direction? Thanks, JT From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 16 00:48:01 2001 Subject: [ic] [if] tag At 09:44 PM 8/15/2001 -0400, you wrote: >Im trying to display some text only if its in a specific category > [if [item-field category] =~ /Specific Category/] > Display this text here >[/if] > >but it wont do it, > >Anybody with somewhat interesting suggestions? >Cause mine are quiete dull :) > >Thanks > >korey I think you're looking for something like [if-item-field category =~ ... ] But doing a [seti test][item-field category][/seti] [if scratch test ...] will always work too. HTH, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 16 00:54:00 2001 Subject: [ic] Multiple search criteria for advanced search At 08:20 PM 8/15/2001 -0700, you wrote: >Hi everyone, > >I need to give my customers the option to specify multiple attributes for a >search. I'm doing clothing, so I want to be able to specify that results >match Category, Size, Color, Price, etc: > >Category = pants >AND >Size = Large >AND >Color = Blue > >I haven't been able to find an example of how to do this. Can someone point >me in the right direction? > >Thanks, > >JT Have you read the new 4.8 versions of the documentation?. Here is an example for fun: <FORM ACTION="[area search]" METHOD="POST"> <INPUT TYPE=hidden NAME=mv_coordinate VALUE=1> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db> <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=category> <INPUT TYPE=hidden NAME=mv_search_page VALUE=results> <INPUT TYPE=hidden NAME=mv_search_file VALUE=products> <INPUT TYPE=hidden NAME=mv_substring_match VALUE=1> <INPUT TYPE=hidden NAME=mv_search_field VALUE="category"> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm> <!--equals--> <INPUT type=text NAME=mv_searchspec MAXLENGTH=30 size=10> <!--and--> <INPUT TYPE=hidden NAME=mv_search_field VALUE="size"> <!--equals--> <INPUT type=hidden NAME=mv_searchspec VALUE="large"> <!--and--> <INPUT TYPE=hidden NAME=mv_search_field VALUE="color"> <!--equals--> <INPUT type=hidden NAME=mv_searchspec VALUE="blue"> However, I prefer to do SQL queries. HANN, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Sergey Sheykin) Date: Thu Aug 16 08:07:01 2001 Subject: [ic] Ordering multiple items Hello, list! How can I manually order more than one item? This method not work: http://www.name.com/cgi-bin/catalog/order?;A2001668;A2001667 -really ordering only FIRST item. Sergey. From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Thu Aug 16 09:07:00 2001 Subject: [ic] 4.8.1 intermittent error Hi I'm trying to set up 4.8.1, it's a clean install using the foundation files I get this message intermittently, sometimes a refresh of the browser window allows me to continue, sometimes, I have to close the browser down completely and log in again. /cgi-bin/store/admin/page_edit Died in server spawn: Can't call method "new" on an undefined value at /usr/lib/interchange/Vend/Data.pm line 674. The error is occurring mostly in the Admin UI, but this could simply be down to my spending most of my time in there - it has certainly appeared in the storefront side of things too. The example above was from editing an html snippet, but I've had similar error from several other sections, all pointing to data.pm, line 674. If anyone can shed some light on what's happening here, I'd really appreciate it. Regards, Ian Riddler From: interchange-users at interchange.redhat.com (Jason Timm) Date: Thu Aug 16 10:55:00 2001 Subject: [ic] Installing packages (problem with perl-Crypt-SSLeay-0.27-1.i386.rpm on RH 7.0) >>While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I get: >> >>error: failed dependencies: >> libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 >> libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > >Those RPM's were built for openssl-0.9.6, RH 7.0 comes with 0.9.5. You can >probably install both versions and still be able to use the old stuff for >binary compatibilty (like RH 7.0 Apache-SSL) and the new stuff for >everything else (using symlinks in /lib/..., if you know how). Thanks, Dan. At least you got me looking in the right place... But, I still can't get it to work. When I tried to install openssl-0.9.6, it reported that it can't because it conflicts with openssl-0.9.5a. I had thought of removing 5a, but there are a ton of dependencies to it and I don't want to remove everything else (as well as probably more dependencies as well). So, I got the openssl-0.9.6 tarball, untarred it, and did this: ./configure make make test make install and it seemed to do a bunch of stuff, but when it was done, I couldn't find libcrypto.so.1 anywhere. Same with libssl.so.1. I am obviously fairly new at installing packages, but I can usually figure things out so this is really frustrating. One newsgroup I found had a message that suggested ln -s libcrypto.so.0 libcrypto.so.1 - will that work?? Is it that easy? Is there a major difference in so.0 and so.1? I am sure that other people with RH 7.0 are going to run into this, so any help that anyone can post would be greatly appreciated... Thanks! Jason From: interchange-users at interchange.redhat.com (Stefano Malagoli) Date: Thu Aug 16 11:17:01 2001 Subject: [ic] Discount price and display price Hi all, my item have a standard price and on some condition can have a lower price. In my basket I put this to compute discount [if-item-data <condition>] [discount code="[item-code]"] $q * [item-data merchandising promo_price] [/discount] [else] [discount code="[item-code]"][/discount] [/else] (it's ok ?) then, while displaying item, for discounted one I use this tag to show the original price e and the new price (I get them from the construct demo): [item-price] for original price of one item [discount price] for new discounted price on one item [item-difference] the difference [item-subtotal] the original price of all ordered item [item-discount-subtotal] the new discounted price of all ordered item [item-discount] then difference Here one ex. Price: 2598997 Discounted price: 2078992 Quantity: 6 (in the above order) 2598997 ok 12473952 NOT ok (expected 2078992) -9874955 NOT ok (expected 520005) 15593982 ok 12473952 ok -59249730 NOT ok (expected 3120030) with this number seem that the discount tag is used as a single item price, but in the manual (Interchange Tags 2.20.2. Discount tag description) I see that "In the case of the item and all items discount, the formula must evaluate to a new subtotal for all items of that code that are ordered." Someone have suggestion ? TIA Best Regards, Dott. Stefano Malagoli Resp. Sviluppo Software ---------------------------------------- DATACODE s.r.l. Via S. Morse, 30 41100 Modena (Italy) tel. +39.059.212831 fax +39.059.4390212 E-mail: s.malagoli@datacode.it Web: www.datacode.it From: interchange-users at interchange.redhat.com (Jason Osborne) Date: Thu Aug 16 11:42:00 2001 Subject: [ic] Interchange-4.8.1 - Change = Errors? Ok, so I started to jump for joy when I saw 4.8.1 was out. One problem though, this: [root@meridian products]# su -c "/usr/local/interchange/bin/interchange -r" interch Killing Interchange server 7231 with TERM. Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog construct...construct config error: Please specify the MailOrderTo directive in the configuration file '' construct: error in configuration. Skipping. construct: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 7323) Ok, so check it right, from variable.txt: ORDER_ROUTES log main copy_user Order ORDERS_TO rage@sohonetworks.cc Order PGSQL Database Hrm, looks right to me. Config error? I've seen a couple different posts on this. First I tried adding the following to the top of the catalog.cfg file: Variable ORDERS_TO rage@sohonetworks.cc. This didn't work, I also read from someone else that it needs to be added in the Admin section, well, that would be nice if you could get to it. Since it encounters errors, the admin section is offline and 404 errors are generated by Apache. The final thing I saw was someone said it needs to exist in MySQL. Well, that would explain a few things since Interchange didn't even have the chance to add values to the database. Since that's the case, that theory wouldn't and couldn't be true. Any ideas or suggestions would be much appreciated. Also, on the install of the catalog, I ran into something that may cause issues for some people who only let user "root" create databases in MySQL. I noticed that when you specify additional commands for mysqladmin such as "-u root -p", when it goes to actually create the database, it automatically uses the username and password you specify for interchange to access its database with. On some systems, this could cause problems. Just a side note. Thanks, Jason Osborne Data and Telecom Network Solutions 3847 Timberglen Rd., STE 4013 Dallas, Texas 75287 phone: 972-307-0676 fax: 972-662-7956 e-mail: sales@sohonetworks.cc web: http://www.sohonetworks.cc From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 16 11:47:00 2001 Subject: [ic] Ordering multiple items At 04:08 PM 08/16/2001 +0400, you wrote: >Hello, list! > >How can I manually order more than one item? >This method not work: > >http://www.name.com/cgi-bin/catalog/order?;A2001668;A2001667 > >-really ordering only FIRST item. > >Sergey. I am fairly certain that, without some custom perl, this is only doable with a form: <form action="[process-target]" method=post> <input type=hidden name=mv_todo value=refresh> <input type=hidden name=mv_order_item value=item1> <input type=hidden name=mv_order_quantity value=1> <input type=hidden name=mv_order_item value=item2> <input type=hidden name=mv_order_quantity value=1> ... <input type=submit value="Add to Basket"> </form> ...you could also use the form argument for [area]: <a href="[area form=" mv_todo=refresh mv_order_item=item1 mv_order_quantity=1 mv_order_item=item2 mv_order_quantity=1 "]">Add to Basket</a> - Ed L. >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 16 12:05:00 2001 Subject: [ic] Installing packages (problem with perl-Crypt-SSLeay-0.27-1.i386.rpm on RH 7.0) Quoting Jason Timm (jason@itchoices.com): > > >>While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I > get: > >> > >>error: failed dependencies: > >> libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > >> libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > > > >Those RPM's were built for openssl-0.9.6, RH 7.0 comes with 0.9.5. You can > >probably install both versions and still be able to use the old stuff for > >binary compatibilty (like RH 7.0 Apache-SSL) and the new stuff for > >everything else (using symlinks in /lib/..., if you know how). > > Thanks, Dan. At least you got me looking in the right place... But, I still > can't get it to work. > > When I tried to install openssl-0.9.6, it reported that it can't because it > conflicts with openssl-0.9.5a. I had thought of removing 5a, but there are > a ton of dependencies to it and I don't want to remove everything else (as > well as probably more dependencies as well). > You might also try installing Net::SSLeay instead -- I am not sure if it has the same dependencies, but if you install either it or Crypt::SSLeay with CPAN, they might work with openssl-0.9.5a. I assume you are planning on using one of Vend::Payment::AuthorizeNet Vend::Payment::iTransact Vend::Payment::Skipjack which are the only reasons either module is needed. You only need one of them... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "All you need in this life is ignorance and confidence, and then success is sure." -- Mark Twain From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 16 12:23:01 2001 Subject: [ic] checkout procedure to empty basket, and cart/reoccuring orders Hello list, I have a few questions, regarding IC 4.8.1. 1) IC will not empty the cart/basket empty the cart after a successful checkout. I have gone through the log_transations file, there are three places in there where the clear_cart func appears. [if session logged_in] [userdb function=logout clear=0 clear_cart=0] [/if] [if scratch auto_create] Logout auto-created user: [userdb function=logout clear=0 clear_cart=0] [/if] I ran a diff against the demo log_transactions, and they match in this respect. I also tried changing the 0 to a 1, to no effect. I also tried placing a [set clear_cart]1[/set] at the end of etc/reciept.html Again to no effect. I'm stumped. The hidden input on the login page works great though: <INPUT TYPE=hidden NAME=clear_cart CHECKED VALUE=1> I searched through the archives, only to find that it seems everyone has the exact opposite problem, disappearing baskets. I want mine to go away! 2) Save cart func doesn't work properly. If you save a cart/reoccurring order, it will delete the current basket. The cart will show up in the saved_carts.html page, but will not recall. The entry is in the database as: { 'Aug-16-2001:997974432:c' => [ { 'price_group' => '', 'mv_ip' => '0', 'code' => 'ABDIP', 'mv_ib' => 'products', 'gift_cert' => '', 'quantity' => '1' } ] } You cannot delete the cart either from saved_carts.html (which is straight from the demo) I'm using PGSQL 7.1, carts column is defined as TEXT. No errors show up in either error.log for both problems. If anyone can throw ideas on the table it would be greatly appreciated! Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Thu Aug 16 13:23:01 2001 Subject: [ic] Interchange-4.8.1 - Change = Errors? On Thu, Aug 16, 2001 at 10:43, Jason Osborne wrote: > Ok, so I started to jump for joy when I saw 4.8.1 was out. One problem > though, this: > > [root@meridian products]# su -c "/usr/local/interchange/bin/interchange -r" > interch > Killing Interchange server 7231 with TERM. > Low traffic settings. > Calling UI......UI is loaded... > Interchange V4.8.1 > Configuring catalog construct...construct config error: Please specify the > MailOrderTo directive in the configuration file '' > > > > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 7323) > > Ok, so check it right, from variable.txt: > > ORDER_ROUTES log main copy_user Order > ORDERS_TO rage@sohonetworks.cc Order > PGSQL Database > > Hrm, looks right to me. Config error? catalogs/tpe07/catalog.cfg -------------------------- #Variable ORDERS_TO pann MailOrderTo __ORDERS_TO__ Route main email '__ORDERS_TO__' Route main errors_to '__ORDERS_TO__' catalogs/tpe07/products/variable.txt ------------------------------------ ORDERS_TO pann Order The catalog above is based on the construct demo and loads and runs fine under 4.8.1. Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (System Administrator) Date: Thu Aug 16 13:29:01 2001 Subject: [ic] Check out errors that are cryptic This is a multi-part message in MIME format. ----------997982753 Content-Type: text/plain Content-Transfer-Encoding: 7bit Installed IC 8.0 over 4.6.5 and most works but the check out. Odering a product produced the following error: [16/August/2001:13:23:02 -0400] htfcds /index.cgi/order.html Runtime error: Can't use string ("1") as a HASH ref while "strict refs" in use at (eval 122) line 5. > Any one know what the heck this means? Thanks ----------997982753-- From: interchange-users at interchange.redhat.com (Tim Mirecki) Date: Thu Aug 16 15:02:00 2001 Subject: [ic] modifier limit Anyone remember what I have to set in catalog.cfg to change the modifier limit from the 32 default? limit UseModifier 64 or something like that? Thanks in advance…did it the other day but lost it somehow. From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 16 16:39:01 2001 Subject: [ic] Installing packages (problem with At 07:57 AM 8/16/2001 -0700, you wrote: > >>While trying to install perl-Crypt-SSLeay-0.27-1.i386.rpm onto RH7.0, I >get: > >> > >>error: failed dependencies: > >> libcrypto.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > >> libssl.so.1 is needed by perl-Crypt-SSLeay-0.27-1 > > > >Those RPM's were built for openssl-0.9.6, RH 7.0 comes with 0.9.5. You can > >probably install both versions and still be able to use the old stuff for > >binary compatibilty (like RH 7.0 Apache-SSL) and the new stuff for > >everything else (using symlinks in /lib/..., if you know how). > >Thanks, Dan. At least you got me looking in the right place... But, I still >can't get it to work. > >When I tried to install openssl-0.9.6, it reported that it can't because it >conflicts with openssl-0.9.5a. I had thought of removing 5a, but there are >a ton of dependencies to it and I don't want to remove everything else (as >well as probably more dependencies as well). > >So, I got the openssl-0.9.6 tarball, untarred it, and did this: > >./configure >make >make test >make install > >and it seemed to do a bunch of stuff, but when it was done, I couldn't find >libcrypto.so.1 anywhere. Same with libssl.so.1. I am obviously fairly new >at installing packages, but I can usually figure things out so this is >really frustrating. One newsgroup I found had a message that suggested >ln -s libcrypto.so.0 libcrypto.so.1 - will that work?? Is it that easy? Is >there a major difference in so.0 and so.1? > >I am sure that other people with RH 7.0 are going to run into this, so any >help that anyone can post would be greatly appreciated... Thanks! > >Jason Sorry Jason, I should have mentioned building the perl modules instead of rebuilding openssl. You should be able to install 0.9.6 and 0.9.5 at the same time -- which is what you will need to satisfy the dependencies. (on goes in as so.1, the other as so.2, or something like that). I'd like to help you further but I'm heading out of town for the weekend, and rpmfind.net seems to be down right now. RH Linux administration can get pretty complicated at times, eh? Good luck, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Aug 16 18:08:00 2001 Subject: [ic] interchange Does anyone know of a good site to host Interchange. Have been looking for one in the U.S. and haven't had any luck. Either they never have heard of it or they don't return messages. Any help would be appreciated. Thanks, Glenn From: interchange-users at interchange.redhat.com (Jake Thompson) Date: Thu Aug 16 22:03:01 2001 Subject: [ic] Simple changes = Strong Site Well, This is mostly a success story. I have a brand new site, 4.8.1 w/ PostgreSQL 7.1.2 up and running. My major objective was to make this a easy as possible. So, when 4.7 started, I decided the foundation template was good, I just needed to add a few (very few) personal touches. So, with minimal effort I managed to get a very nice site up and running for a small business and it cost them nothing. (It's my mom and I am doing the hosting) Great job to everyone who has, is and may in the future develop interchange. Perhaps another toss into the tip jar is in order Thanks for the great work, Jake T. PS the site is www.homespunsamplar.com , comments more than welcome. From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Thu Aug 16 22:58:01 2001 Subject: [ic] [if] tag On Wed, 15 Aug 2001, Dan Browning wrote: > At 09:44 PM 8/15/2001 -0400, you wrote: > >Im trying to display some text only if its in a specific category > > [if [item-field category] =~ /Specific Category/] > > Display this text here > >[/if] > > > >but it wont do it, > > > >Anybody with somewhat interesting suggestions? > >Cause mine are quiete dull :) [set item_type][loop-field type][/set] [if explicit][condition]$Scratch->{item_type} ne 'deliverymethod'[/condition] is one method i use. of course, you really should define a variable in your catalog.cfg for the name, just in case. Variable DELIV_METHOD_LABEL deliverymethod [set item_type][loop-field type][/set] [if explicit][condition]$Scratch->{item_type} ne __DELIV_METHOD_LABEL__[/condition] is a little cleaner ;) Now, how could I avoid setting a scratch variable, and just reference it directly? .cfg From: interchange-users at interchange.redhat.com (Mathew Jones) Date: Thu Aug 16 23:45:00 2001 Subject: [ic] Interchange-4.8.1 - Change = Errors? I experienced the same problem, after installing 4.8.1. I installed the tar.gz file, ran a makecat, then restarted. on restart i got the following error. "Configuring catalog test48...test48 config error: Please specify the MailOrderTo directive in the configuration file '' Mat http://www.booksellersolutions.com - building websites for booksellers! Read what the SF Examiner says about us: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 ----- Original Message ----- From: "Jason Osborne" <jason@sohonetworks.cc> To: "Interchange-Users@Developer. Akopia. Com" <interchange-users@anthrax.interchange.redhat.com> Sent: Thursday, August 16, 2001 8:43 AM Subject: [ic] Interchange-4.8.1 - Change = Errors? > Ok, so I started to jump for joy when I saw 4.8.1 was out. One problem > though, this: > > [root@meridian products]# su -c "/usr/local/interchange/bin/interchange -r" > interch > Killing Interchange server 7231 with TERM. > Low traffic settings. > Calling UI......UI is loaded... > Interchange V4.8.1 > Configuring catalog construct...construct config error: Please specify the > MailOrderTo directive in the configuration file '' > > > > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 7323) > > Ok, so check it right, from variable.txt: > > ORDER_ROUTES log main copy_user Order > ORDERS_TO rage@sohonetworks.cc Order > PGSQL Database > > Hrm, looks right to me. Config error? > > I've seen a couple different posts on this. First I tried adding the > following to the top of the catalog.cfg file: > Variable ORDERS_TO rage@sohonetworks.cc. This didn't work, I also read > from someone else that it needs to be added in the Admin section, well, that > would be nice if you could get to it. Since it encounters errors, the admin > section is offline and 404 errors are generated by Apache. The final thing I > saw was someone said it needs to exist in MySQL. Well, that would explain a > few things since Interchange didn't even have the chance to add values to > the database. Since that's the case, that theory wouldn't and couldn't be > true. Any ideas or suggestions would be much appreciated. > > Also, on the install of the catalog, I ran into something that may cause > issues for some people who only let user "root" create databases in MySQL. I > noticed that when you specify additional commands for mysqladmin such as "-u > root -p", when it goes to actually create the database, it automatically > uses the username and password you specify for interchange to access its > database with. On some systems, this could cause problems. Just a side note. > > Thanks, > > Jason Osborne > Data and Telecom Network Solutions > 3847 Timberglen Rd., STE 4013 > Dallas, Texas 75287 > phone: 972-307-0676 > fax: 972-662-7956 > e-mail: sales@sohonetworks.cc > web: http://www.sohonetworks.cc > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Aug 17 03:26:01 2001 Subject: [ic] [if] tag Corey Gilmore wrote: [...] > > >Anybody with somewhat interesting suggestions? > > >Cause mine are quiete dull :) > [set item_type][loop-field type][/set] > [if explicit][condition]$Scratch->{item_type} ne 'deliverymethod'[/condition] > > is one method i use. of course, you really should define a variable in > your catalog.cfg for the name, just in case. > > Variable DELIV_METHOD_LABEL deliverymethod > > [set item_type][loop-field type][/set] > [if explicit][condition]$Scratch->{item_type} ne __DELIV_METHOD_LABEL__[/condition] > > is a little cleaner ;) > > Now, how could I avoid setting a scratch variable, and just reference it > directly? Is [if data products::type::[lopp-code] =~ /deliverymethod/i] There is a delivery method [else] No delivery method available. [/else] [/if] not working for you? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefano Malagoli) Date: Fri Aug 17 07:03:00 2001 Subject: [ic] Discounting and converting Hi all, I have two items in my basket, and the total is present in two different way. If no discount are present all it's ok, but if one of the two items is discounted (via [discount code="[item-code]"] $q * [scratch new_price] [/discount] ) the total in my default currency is ok, but the total in the other currency (displayed via [setlocale eur_EUR][subtotal][setlocale it_IT]) are calculated using the price of the non-discounted items correctly converted and the price of the second discounted items not converted. It is correct and I have to modify the discount tag ? TIA Cordiali Saluti, Dott. Stefano Malagoli Resp. Sviluppo Software ---------------------------------------- DATACODE s.r.l. Via S. Morse, 30 41100 Modena (Italy) tel. +39.059.212831 fax +39.059.4390212 E-mail: s.malagoli@datacode.it Web: www.datacode.it From: interchange-users at interchange.redhat.com (Gavin Harper) Date: Fri Aug 17 07:50:01 2001 Subject: [ic] Uploading Images 4.8.1 Hi Everyone, Has anyone else noticed that you can't upload images correctly with the admin tool in release version 4.8.1 of IC? It used to work on previous versions, but now if you go to the Items section of the admin tool and try to change the images using Browse it uploads the image with the full path name from my local machine for example: E:\Documents and Settings\Administrator\Desktop\image.jpg Obviously this doesn't work very well! Anyone have any ideas how to fix this? Thanks Gavin From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Fri Aug 17 08:16:01 2001 Subject: [ic] Problems importing Textfiles Hello, i was using textfiles for my cat table and now i want to change it into an pgsql database. i have done everything written in the interchange documentation but it wont work. my configfile looks like that: Database cat cat.txt Database cat DSN __SQLDSN__ ifdef SQLUSER Database cat USER __SQLUSER__ endif ifdef SQLPASS Database cat PASS __SQLPASS__ endif Database cat COLUMN_DEF "code=varchar(20) NOT NULL PRIMARY KEY" Database cat COLUMN_DEF "sel=varchar(64) DEFAULT '' NOT NULL" Database cat COLUMN_DEF "name=varchar(64) DEFAULT '' NOT NULL" Database cat COLUMN_DEF "sort=varchar(4) DEFAULT 'ZZ' NOT NULL" Database cat COLUMN_DEF "display_type=varchar(128)" Database cat COLUMN_DEF "link_type=varchar(128)" Database cat COLUMN_DEF "selector=varchar(128)" everything works fine (the shop too) but it is not imported to the database!!! it seems like i am to stupid to do it, is there any standart mistake??? i don't know if this matters but the cat tabel dosen't exist in the interchange database. sorry but the documentation is not very helpfull with this problem. thanks -toby From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 17 08:44:00 2001 Subject: [ic] Discount price and display price Quoting Stefano Malagoli (s.malagoli@datacode.it): > Hi all, > my item have a standard price and on some condition can have a lower price. > In my basket I put this to compute discount > > [if-item-data <condition>] > [discount code="[item-code]"] $q * [item-data merchandising > promo_price] [/discount] > [else] > [discount code="[item-code]"][/discount] > [/else] > > (it's ok ?) > then, while displaying item, for discounted one I use this tag to show the > original price e and the new price (I get them from the construct demo): > [item-price] for original price of one item > [discount price] for new discounted price on one item > [item-difference] the difference > > [item-subtotal] the original price of all ordered item > [item-discount-subtotal] the new discounted price of all ordered item > [item-discount] then difference > > Here one ex. > Price: 2598997 > Discounted price: 2078992 > Quantity: 6 > (in the above order) > 2598997 ok > 12473952 NOT ok (expected 2078992) > -9874955 NOT ok (expected 520005) > > 15593982 ok > 12473952 ok > -59249730 NOT ok (expected 3120030) > I think this is a bug. I will enter it in Bugzilla. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 17 09:00:01 2001 Subject: [ic] Admin Help We have setup the lastest version of interchange and cannot find out in any of the documentation the password to get into the admin section of the Foundation sample. Does anybody know where we can find this or are we just over looking something? Thanks Terry From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 17 09:24:00 2001 Subject: [ic] Admin Help interchange/pass last i knew. i usually just copy and paste my old password field from my products/access.asc file. On Fri, 17 Aug 2001, Terry Kemmerer wrote: > We have setup the lastest version of interchange and cannot find out in any > of the documentation the password to get into the admin section of the > Foundation sample. Does anybody know where we can find this or are we just > over looking something? > > Thanks > Terry > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 17 10:02:00 2001 Subject: [ic] Discounting and converting Quoting Stefano Malagoli (s.malagoli@datacode.it): > Hi all, > I have two items in my basket, and the total is present in two different > way. > If no discount are present all it's ok, but if one of the two items is > discounted (via [discount code="[item-code]"] $q * [scratch new_price] > [/discount] ) > the total in my default currency is ok, but the total in the other currency > (displayed via [setlocale eur_EUR][subtotal][setlocale it_IT]) are > calculated using the price of the non-discounted items correctly converted > and the price of the second discounted items not converted. > > It is correct and I have to modify the discount tag ? This is the way it works; but you would instead do: [discount code="[item-code]" interpolate=1] ## Just in case PriceDivide is zero, which it shouldn't be my $divider = $Config->{PriceDivide} || 1; return $q * [scratch new_price] / $divider; [/discount] This is assuming that [scratch new_price] is in your base currency, i.e. the one where PriceDivide is 1. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Vlad Sedov) Date: Fri Aug 17 10:10:00 2001 Subject: [ic] Interchange-4.8.1 - Change = Errors? that is most likely a permission problem- for some reason, makecat doesnt set gid's on the catalog files... in other words, set the perms so the interchange user has access to your catalog files, like products/*, etc/*, and so on... also, i noticed that interch doesnt create a symbolic link for the IPC socket - ln -s /path/to/interchange/etc/socket /var/run/interchange/socket (if you installed the RPM) Vlad -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mathew Jones Sent: Thursday, August 16, 2001 10:59 pm To: interchange-users@interchange.redhat.com Subject: Re: [ic] Interchange-4.8.1 - Change = Errors? I experienced the same problem, after installing 4.8.1. I installed the tar.gz file, ran a makecat, then restarted. on restart i got the following error. "Configuring catalog test48...test48 config error: Please specify the MailOrderTo directive in the configuration file '' Mat http://www.booksellersolutions.com - building websites for booksellers! Read what the SF Examiner says about us: http://www.sfexaminer.com/business/default.jsp?story=b.web.0121 2141 Mission St #301 San Francisco, CA 94110 (415) 554-0568 ----- Original Message ----- From: "Jason Osborne" <jason@sohonetworks.cc> To: "Interchange-Users@Developer. Akopia. Com" <interchange-users@anthrax.interchange.redhat.com> Sent: Thursday, August 16, 2001 8:43 AM Subject: [ic] Interchange-4.8.1 - Change = Errors? > Ok, so I started to jump for joy when I saw 4.8.1 was out. One problem > though, this: > > [root@meridian products]# su -c "/usr/local/interchange/bin/interchange -r" > interch > Killing Interchange server 7231 with TERM. > Low traffic settings. > Calling UI......UI is loaded... > Interchange V4.8.1 > Configuring catalog construct...construct config error: Please specify the > MailOrderTo directive in the configuration file '' > > > > construct: error in configuration. Skipping. > construct: config error. Skipping. > Interchange server started in INET and UNIX mode(s) (process id 7323) > > Ok, so check it right, from variable.txt: > > ORDER_ROUTES log main copy_user Order > ORDERS_TO rage@sohonetworks.cc Order > PGSQL Database > > Hrm, looks right to me. Config error? > > I've seen a couple different posts on this. First I tried adding the > following to the top of the catalog.cfg file: > Variable ORDERS_TO rage@sohonetworks.cc. This didn't work, I also read > from someone else that it needs to be added in the Admin section, well, that > would be nice if you could get to it. Since it encounters errors, the admin > section is offline and 404 errors are generated by Apache. The final thing I > saw was someone said it needs to exist in MySQL. Well, that would explain a > few things since Interchange didn't even have the chance to add values to > the database. Since that's the case, that theory wouldn't and couldn't be > true. Any ideas or suggestions would be much appreciated. > > Also, on the install of the catalog, I ran into something that may cause > issues for some people who only let user "root" create databases in MySQL. I > noticed that when you specify additional commands for mysqladmin such as "-u > root -p", when it goes to actually create the database, it automatically > uses the username and password you specify for interchange to access its > database with. On some systems, this could cause problems. Just a side note. > > Thanks, > > Jason Osborne > Data and Telecom Network Solutions > 3847 Timberglen Rd., STE 4013 > Dallas, Texas 75287 > phone: 972-307-0676 > fax: 972-662-7956 > e-mail: sales@sohonetworks.cc > web: http://www.sohonetworks.cc > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Fri Aug 17 10:31:00 2001 Subject: [ic] Admin Help Hi Normally, when you create a catalog with bin/makecat, you get asked for the username/pass for the admin section. Default is: interchange/pass mike ----- Original Message ----- From: "Terry Kemmerer" <kemmerer@bwkip.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 17, 2001 3:02 PM Subject: [ic] Admin Help > We have setup the lastest version of interchange and cannot find out in any > of the documentation the password to get into the admin section of the > Foundation sample. Does anybody know where we can find this or are we just > over looking something? > > Thanks > Terry > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 17 10:46:01 2001 Subject: [ic] Foundation Graphics We have setup the Foundation sample and it does come up but does not show any graphics. We have looked at the source for the demo and we have set the path in the .cfg like the demo and the graphics do not display. We have removed it serveral times and reinstalled and still have the same results. Anbody else experience this or know the answer? Thanks From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 17 11:21:00 2001 Subject: [ic] Admin Help Thanks, That was it, only we had to use interch as the userid. Thanks From: interchange-users at interchange.redhat.com (Ben H) Date: Fri Aug 17 11:26:00 2001 Subject: [ic] Foundation Graphics There is a configuration variable "sharedir" in the initial setup, and this was for the admin section. I improperly set it. It should have been left blank.... May or may not help. Ben At 10:47 AM 8/17/2001 -0400, you wrote: >We have setup the Foundation sample and it does come up but does not show >any graphics. We have looked at the source for the demo and we have set the >path in the .cfg like the demo and the graphics do not display. We have >removed it serveral times and reinstalled and still have the same results. >Anbody else experience this or know the answer? > >Thanks > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 17 11:28:00 2001 Subject: [ic] Simple changes = Strong Site Jake, We are trying to do the same thing but cannot get the graphics to display. Any Clue to this. Thanks From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 17 12:10:01 2001 Subject: [ic] Foundation Graphics (Ben) Ben we did a grep and could not find sharedir, which .cfg file is it in? Also we did a rpm install for the interchange installation. We have look at the demo online for the path used and it compares to our path and also looked at the properties of the graphics and they all compare to ours. Could the graphics get corrupt during installation? Thanks From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 17 12:33:00 2001 Subject: [ic] Foundation Graphics My first guess is Make sure you have a symbolic link from your catalog root to the directory that your images are in. ln -s /var/www/html/images /path/to/catalog/root/images Does it say anything in either of the error log files? At 10:47 AM 8/17/01 -0400, you wrote: >We have setup the Foundation sample and it does come up but does not show >any graphics. We have looked at the source for the demo and we have set the >path in the .cfg like the demo and the graphics do not display. We have >removed it serveral times and reinstalled and still have the same results. >Anbody else experience this or know the answer? > >Thanks > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Alessandro Poletto) Date: Fri Aug 17 12:49:01 2001 Subject: [ic] Error after installing 4.8.1 For some month i've used interchange 4.6.x, now i've upgraded to 4.8.1... There are two big problems: 1) in the old demo (that i've used as a shop modifing it really alot!) construct, when I try to show the basket (ord/basket.html) the system say me: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@192.168.11.204 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. And in the error.log I found: 192.168.11.205 Zvb8EbLq:192.168.11.205 - [17/agosto/2001:17:54:46 +0200] construct /cgi-bin/construct/process.html Runtime error: Can't use string ("10000") as a HASH ref while "strict refs" in use at (eval 127) line 5. I've discovered that putting nothing in the weight filed (products table) all works fine!! I've tried without any success to change the type of the field in numeric or text but the error persist!!! For me this is a really big problem because the shop is in production stage! Pleas to all Help!! The second problem is less important... After installing 4.8.1 i've tried the foundation demo, and in all the entrance the server reply me with the: INTERNAL SERVER ERROR... Many thank in advance to all that can help me!! ============================================ Davide.it è il primo servizio italiano di connessione filtrata alla rete. Veloce, sicuro e gratuito: http://www.davide.it Registrati ora! ============================================ Alessandro Poletto Via Emilia 1 Venaria (TO) Tel. 800991475 Fax. (39) 011 4530703 E-mail: alex@davide.it Http://www.davide.it ============================================ From: interchange-users at interchange.redhat.com (Terry Kemmerer) Date: Fri Aug 17 12:57:01 2001 Subject: [ic] Foundation Graphics Brian, Thanks for the reply. The symbolic link is ok, and there are no error msg's in the error logs. Terry From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 17 13:02:00 2001 Subject: [ic] Problems importing Textfiles Quoting Tobias Henle (t.henle@thiesen.com): > Hello, > i was using textfiles for my cat table and now i want to change it into > an pgsql database. i have done everything written in the interchange > documentation but it wont work. > my configfile looks like that: > > Database cat cat.txt Interchange doesn't know it is a DBI type. Usually it is done with: Database cat cat.txt __SQLDSN__ though you could get away with what you have by adding: Database cat Class DBI -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> The U.S. Senate -- white male millionaires working for YOU! -- Dave Barry From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 17 13:04:04 2001 Subject: [ic] Uploading Images 4.8.1 Quoting Gavin Harper (gavin@steelblue.co.uk): > Hi Everyone, > > Has anyone else noticed that you can't upload images correctly with the > admin tool in release version 4.8.1 of IC? > It used to work on previous versions, but now if you go to the Items section > of the admin tool and try to change the images using Browse > it uploads the image with the full path name from my local machine for > example: > > E:\Documents and Settings\Administrator\Desktop\image.jpg > > Obviously this doesn't work very well! It should, at least if your meta display type is "imagehelper". > Anyone have any ideas how to fix this? > Make sure the metadata is: code: products::image type: imagehelper prepend: http://__SAMPLEHTML__ outboard: images/items code: products::thumb type: imagehelper prepend: http://__SAMPLEHTML__ outboard: images/thumb -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 17 13:07:01 2001 Subject: [ic] refer to a friend Has anyone ever written a refer to a friend type link that accepts some comments, an email, etc, and then sends a message describing the current page? or something similar to that? thanks .cfg From: interchange-users at interchange.redhat.com (Peter Jakl) Date: Fri Aug 17 13:20:02 2001 Subject: [ic] Running 4.8.1 and 4.6.x Is there a way to run 4.8.1 and 4.6.x on the same server? Peter From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 17 13:32:01 2001 Subject: [ic] Running 4.8.1 and 4.6.x Yes, just install your 4.8.1 to a different directory. it will import your old 4.6.x install (you can give it the path to the catalogs). I installed IC 4.6 into /home/me/interchange and then ic 4.7.7 to /home/me/ic477 and ic4.8.1 to /home/me/481 4.8.1 i am going to reinstall to a public dir, since I know now about customizing the admin ui on a per-catalog basis. I have two catalogs, pp (4.6.x) and profprog (4.7.7) which is my attempt to upgrade my old pp catalog. I put the cgi scripts in the same directory, and have two different catalog directories for each. I am also running two interchange processes, one for 4.6.x and one for 4.7.7 (no 4.8.x for now). for the 4.6 install, i goto http://my.domain.tld/cgi-bin/pp and for the 4.7.7 install i goto http://my.domain.tld/cgi-bin/profprog I think i messed around with the sample image and html paths too. .cfg On Fri, 17 Aug 2001, Peter Jakl wrote: > Is there a way to run 4.8.1 and 4.6.x on the same server? > > Peter > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Martin Abell) Date: Fri Aug 17 14:03:00 2001 Subject: [ic] Returns not showing up Using 4.6.5, when I click on "Order Tracking" or "Order Returns" on the Customer Service page, no orders are ever found. Anyone figure this out? (Could find nothing in archive.) The returns.html page has this code in it: --------------------------------------- [query st=db arrayref=orders sql="SELECT code,status,nitems,subtotal,shipping,handling,total_cost,payment_method,orde r_date FROM transactions WHERE username = '[data base=session field=username filter=sql]' ORDER by code "][/query] [mvasp tables=transactions] ------------------------------------------- But the arrayref that gets back to the asp-like code that follows seems not to have anything in it. (There are many orders in the transactions file for the username in question.) Any clues? Martin SpeedSpan. From: interchange-users at interchange.redhat.com (Russ Mann) Date: Fri Aug 17 14:40:00 2001 Subject: [ic] refer to a friend Sure. This includes 3 email address enter fields, logging to a text file, and a link to return to the original page. Russ Mann on flypage.html I use this code: ---------------------------------------------------------------------- ********************************************************************** ---------------------------------------------------------------------- <input type="hidden" name="mv_doit" value="return"> <input type="hidden" name="mv_nextpage" value="emailafriend"> <input type="hidden" name="friend_code" value="[item-code]"> <input type="hidden" name="friend_title" value="[item-field description]"> <input type="hidden" name="friend_author" value="[item-field author]"> <input type="hidden" name="friend_covertype" value="[item-field covertype]"> <input type="hidden" name="friend_price" value="[item-field price]"> <input type="hidden" name="friend_save_dollars" value="[calc][item-field retail]-[item-field price][/calc]"> <input type="hidden" name="friend_save_percent" value="[perl arg=sub interpolate=1] you_save_percent ([item-field retail], [item-field price])[/perl]"> <input type="image" name="submit" src="/pics/anirec.gif" width="160" height="31" border="0" value="Recommend A Friend-->>" align="center"> ---------------------------------------------------------------------- ********************************************************************** ---------------------------------------------------------------------- (some of the you_save stuff is custom.) emailfriend.html ---------------------------------------------------------------------- ********************************************************************** ---------------------------------------------------------------------- <form action="[process-target]" method="POST"> <input type="hidden" name="mv_doit" value="return"> <input type="hidden" name="mv_nextpage" value="emailafriend2"> You're sending an email to your friend(s) with this in it:<p> <hr color="#000000" width="85%" noshade> Hi! I thought you'd like to see this product I found at the Koinonia House Store! <p> [value friend_title]<br> [if value friend_author]by [value friend_author][/if]<br> [value friend_covertype]<p> Our Price: [currency][value friend_price][/currency]! / You Save: [currency][value friend_save_dollars][/currency] ([value friend_save_percent])<p> Click here for more information:<br> http://store.khouse.org/store/catalog/[value friend_code]?;;E <hr color="#000000" width="85%" noshade> <p> <table border="0" cellspacing="1"> <tr> <td nowrap>Your Email</td> <td><input type="text" name="email" size="30" value="[if value email][then][value email][/then][else][data session username][/else][/if]"></td> </tr> <tr><td nowrap>Friend 1 Email</td> <td><input type="text" name="friend1_email" size="30" value=""></td></tr> <tr><td nowrap>Friend 2 Email</td> <td><input type="text" name="friend2_email" size="30" value=""></td></tr> <tr><td nowrap>Friend 3 Email</td><td><input type="text" name="friend3_email" size="30" value=""></td> </tr> <tr><td nowrap>Comments</td> <td><textarea name="friend_comments" cols="31" rows="7" wrap="physical"></textarea></td></tr> <tr><td></td><td><br><input type="submit" value="Recommend It!"></td></tr> </table> </form> ---------------------------------------------------------------------- ********************************************************************** ---------------------------------------------------------------------- emailfriend2.html ---------------------------------------------------------------------- ********************************************************************** ---------------------------------------------------------------------- <!-- [if value friend1_email] [tag log products/email_friends.txt][value email] [value friend1_email] [value friend_code][/tag] [email to="[value friend1_email]" subject="[value friend_title]" from="[value email]" reply="[value email]"] Hi! I thought you'd like to see this product I found at the Koinonia House Store! [value friend_title] [if value friend_author]by [value friend_author][/if] [value friend_covertype] Our Price: [currency][value friend_price][/currency]! / You Save: [currency][value friend_save_dollars][/currency] ([value friend_save_percent]) Click here for more information: http://store.khouse.org/store/catalog/[value friend_code]?;;E Comments: [value friend_comments] [/email] [/if] [if value friend2_email] [tag log products/email_friends.txt][value b_email] [value friend2_email] [value friend_code][/tag] [email to="[value friend2_email]" subject="[value friend_title]" from="[value email]" reply="[value email]"] Hi! I thought you'd like to see this product I found at the Koinonia House Store! [value friend_title] [if value friend_author]by [value friend_author][/if] [value friend_covertype] Our Price: [currency][value friend_price][/currency]! / You Save: [currency][value friend_save_dollars][/currency] ([value friend_save_percent]) Click here for more information: http://store.khouse.org/store/catalog/[value friend_code]?;;E Comments: [value friend_comments] [/email] [/if] [if value friend3_email] [tag log products/email_friends.txt][value b_email] [value friend3_email] [value friend_code][/tag] [email to="[value friend3_email]" subject="[value friend_title]" from="[value email]" reply="[value email]"] Hi! I thought you'd like to see this product I found at the Koinonia House Store! [value friend_title] [if value friend_author]by [value friend_author][/if] [value friend_covertype] Our Price: [currency][value friend_price][/currency]! / You Save: [currency][value friend_save_dollars][/currency] ([value friend_save_percent]) Click here for more information: http://store.khouse.org/store/catalog/[value friend_code]?;;E Comments: [value friend_comments] [/email] [/if] --> <table border="0" width="425" cellspacing="1" cellpadding="0"> <tr> <td width="100%"> <tr> <td>An Email was sent to [if value friend1_email][value friend1_email][/if] [if value friend2_email], [value friend2_email][/if] [if value friend3_email], and [value friend3_email][/if] with these contents: <p> <hr color="#000000" width="85%" noshade> Hi! I thought you'd like to see this product I found at the Koinonia House Store!<p> [value friend_title]<br> [if value friend_author]by [value friend_author][/if]<br> [value friend_covertype]<p> Our Price: [currency][value friend_price][/currency]! / You Save: [currency][value friend_save_dollars][/currency] ([value friend_save_percent])<p> Click here for more information:<br> http://store.khouse.org/store/catalog/[value friend_code]?;;E <p>Comments:<p> [value friend_comments] <hr color="#000000" width="85%" noshade> <p> [page index]Continue Shopping</a><p> <a mv="page" mv.href="[value friend_code]" href="[value friend_code].html"> Back To [value friend_title]</a><p> </td> </tr> </table> ---------------------------------------------------------------------- ********************************************************************** ---------------------------------------------------------------------- -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Corey Gilmore Sent: Friday, August 17, 2001 11:06 AM To: interchange-users@anthrax.interchange.redhat.com Subject: [ic] refer to a friend Has anyone ever written a refer to a friend type link that accepts some comments, an email, etc, and then sends a message describing the current page? or something similar to that? thanks .cfg _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Aug 17 16:53:01 2001 Subject: [ic] more than 50 Hi! Can anybody please tell me how can I show more than 50 items in the results page, thanks in advance! Get your own FREE E-mail address at http://www.linuxfreemail.com Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours! From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Aug 17 17:13:02 2001 Subject: [ic] Guess I'm really dumb --- Admin user and password for foundation Hello. Just installed interchange.. seems to run ok. Printed the documentation from the RedHat site but cannot find the password for the Admin Functions. I did find the password files...and the user I realize is "interch" but the password is encrypted. Must be missing it somewhere... Can anyone help. Thanks Dave Clark dclark@bwkip.com From: interchange-users at interchange.redhat.com (Ben H) Date: Fri Aug 17 18:02:01 2001 Subject: [ic] more than 50 In the admin area, go to design, search builder. There is an option there to set number of results per page. Ben At 01:52 PM 8/17/2001 -0700, you wrote: >Hi! > >Can anybody please tell me how can I show more than 50 items in the >results page, thanks in advance! > >Get your own FREE E-mail address at http://www.linuxfreemail.com >Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours! >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Andrew McBeath) Date: Fri Aug 17 20:51:01 2001 Subject: [ic] Guess I'm really dumb --- Admin user and password for foundation UID: Interch Pwd: Pass -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of dclark@bwkip.com Sent: Thursday, 16 August 2001 6:18 p.m. To: interchange-users@interchange.redhat.com Subject: [ic] Guess I'm really dumb --- Admin user and password for foundation Hello. Just installed interchange.. seems to run ok. Printed the documentation from the RedHat site but cannot find the password for the Admin Functions. I did find the password files...and the user I realize is "interch" but the password is encrypted. Must be missing it somewhere... Can anyone help. Thanks Dave Clark dclark@bwkip.com _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Aug 17 22:25:02 2001 Subject: [ic] interchange On Thu, 16 Aug 2001 GFFINC@aol.com wrote: >>Does anyone know of a good site to host Interchange. Have been looking for one in the U.S. and haven't had any luck. Either they never have heard of it or they don't return messages. I am providing co-location services on a T-1 in South Alexandra, VA for $125 per month. That means that you set your own hardware in here. I have a server that is running Interchange that I can let you in on, but we need to discuss that privately. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 17, 2001 at 22:20 PM: Universe is a big place... perhaps the biggest ---------------------------------------------------------------- This Linux System has been up 155 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (rene) Date: Sat Aug 18 02:05:01 2001 Subject: [ic] ???No table in database after setup... help Help.. After i install i check the database: test_foundation for table and they are missing??? This is my first time installing IC on redhat7.0 . Where are the tables?/ Rene From: interchange-users at interchange.redhat.com (rene) Date: Sat Aug 18 02:26:01 2001 Subject: [ic] failed: Undefined subroutine &Vend::Table::DBI::create hello, I restarted using the following command; su -c "/usr/lib/interchange/bin/interchange -r" interch And recieved the following type message on all tables??????? Configuring catalog foundation...Using MySQL, DSN=dbi:mysql:test_foundation...ta ble 'country' failed: Undefined subroutine &Vend::Table::DBI::create called at / usr/lib/interchange/lib/Vend/Table/Common.pm line 923, <IN> line 1. Can some one tell me how to correct? thanks Rene From: interchange-users at interchange.redhat.com (Dewang Mehta) Date: Sat Aug 18 07:15:00 2001 Subject: [ic] Using Oracle/ MySQL Database Hi folks, We are new users of the Interchange application and have a query regarding the same. It would be great if some one can help. We wish to configure an Oracle Database with the Interchange Application. Interchange is hosted on machine A (linux) and the Oracle database is present on machine B (windows). How do we configure the application for the database. Similarly for a MySQL Database. Best Rgds Dewang Mehta From: interchange-users at interchange.redhat.com (Michael Michaelsen) Date: Sat Aug 18 08:19:01 2001 Subject: [ic] "not logged in" Where do go to delete or change this message on the checkout page? Regards Mike From: interchange-users at interchange.redhat.com (Leon van Heerden) Date: Sat Aug 18 08:43:01 2001 Subject: [ic] Parallel run ? is it possable to run minivend 3 and the new interchange on the same machine ? We have minvend 3 running on our Linux machine and I need to get the new Interchange 4.8.1 on there , but with out sdesturbing the shops on mvend 3. Is there ant known problems doing this ? PS I am not on the list, please reply to mee too -- --- Leon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Aug 18 09:52:00 2001 Subject: [ic] CVS tracking Now that there is a stable 4.8 out, those of you who have been tracking CVS may want to think about what you are doing. There are two branches, the main development branch, marked version 4.9.0, and the STABLE_4_8-branch, which is the release version with any bugfixes or minor enhancements. We are about to rip things up again. The default branch is development, so if you have been using the CVS version for a running catalog you may want to switch to the STABLE_4_8-branch for that. The 4.9 branch may introduce instabilities, though most of those should be in the area of catalog configuration to begin with, with little change to core. Best idea is to checkout two new copies of the source: # stable cvs -d :pserver:anon_cvs@cvs.ic.redhat.com:/var/cvs \ co -r STABLE_4_8-branch -d ic48 interchange # devel cvs -d :pserver:anon_cvs@cvs.ic.redhat.com:/var/cvs \ co -d ic49 interchange -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sat Aug 18 09:58:00 2001 Subject: [ic] Using Oracle/ MySQL Database On Sat, Aug 18, 2001 at 04:45:25PM +0530, Dewang Mehta wrote: > Hi folks, > > We are new users of the Interchange application and have a query regarding > the same. It would be great if some one can help. > > We wish to configure an Oracle Database with the Interchange Application. > Interchange is hosted on machine A (linux) and the Oracle database is > present on machine B (windows). How do we configure the application for the > database. Similarly for a MySQL Database. If you are a new user, I'd suggest you take this step by step. You will find it a **lot** easier connecting to an instance of oracle or mysql on the linux box. Oracle on linux is hard to bring up. Mysql is easy. Just dump the data and load it on the linux machine. Once you get that working then you can <ahem>extend</ahem> your installation to windows. > > Best Rgds > > Dewang Mehta > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Sat Aug 18 10:03:00 2001 Subject: [ic] "not logged in" pages/ord/checkout.html On Sat, 18 Aug 2001, Michael Michaelsen wrote: > > Where do go to delete or change this message on the checkout page? > > > Regards > Mike > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Sat Aug 18 14:01:01 2001 Subject: [ic] failed: Undefined subroutine &Vend::Table::DBI::create At 11:25 PM 08/17/2001 -0700, you wrote: >hello, > >I restarted using the following command; > >su -c "/usr/lib/interchange/bin/interchange -r" interch > > >And recieved the following type message on all tables??????? > >Configuring catalog foundation...Using MySQL, >DSN=dbi:mysql:test_foundation...ta >ble 'country' failed: Undefined subroutine &Vend::Table::DBI::create >called at / >usr/lib/interchange/lib/Vend/Table/Common.pm line 923, <IN> line 1. > > >Can some one tell me how to correct? > >thanks > >Rene Usually this means that your perl installation is missing either Bundle::DBI or DBD::Mysql. If you installed Bundle::Interchange (which usually happens automatically, but not necessarily with success, when you install Interchange for the first time), then you just need the latter module. Try this (as root): perl -MCPAN -e 'install DBD::mysql' - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Sat Aug 18 14:05:01 2001 Subject: [ic] Parallel run ? At 02:38 PM 08/18/2001 +0200, you wrote: >is it possable to run minivend 3 and the new interchange on the same machine ? >We have minvend 3 running on our Linux machine and I need to get the new >Interchange 4.8.1 on there , but with out sdesturbing the shops on mvend 3. > >Is there ant known problems doing this ? > >PS I am not on the list, please reply to mee too > I have done this (using the tarball installation in each case, and running both daemons in unix mode) for the same user many times and have had no problems whatsoever as a direct results. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Sat Aug 18 14:47:00 2001 Subject: [ic] PayPal Hi all - Anyone know whatever became of the PayPal stuff? A while back there was some discussion on the list regarding options for this. I specifically remember that 'someone' (http://developer2.akopia.com/archive/interchange-users/2001/msg04127.html) had mentioned a 'silent post' interface for PayPal, allowing (I assume) the use of form fields to collect all needed data on the IC site and shoot it to Paypal without any further user interaction required. I have never been able to get any info from PayPal regarding this. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Garry) Date: Sat Aug 18 15:27:00 2001 Subject: [ic] PayPal I was able to get the total into a paypal field: quoting from a posting I got back: > The lines I tried to use was: (on the checkout page at the very bottom) > > <form action="https://www.paypal.com/cgi-bin/webscr" methd="post"> > <input type="hidden" name="amount" value="[total-cost]"> > <input type="image" src="http://images.paypal.com/images/x-click-but6.gif" > border="0" name="submit"> > </form> > You need to use [total-cost noformat=1], paypal doesnt like the commas and dollar signs. Garry ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Saturday, August 18, 2001 7:30 PM Subject: [ic] PayPal > Hi all - > > Anyone know whatever became of the PayPal stuff? A while back there was > some discussion on the list regarding options for this. I specifically > remember that 'someone' > (http://developer2.akopia.com/archive/interchange-users/2001/msg04127.html) > had mentioned a 'silent post' interface for PayPal, allowing (I assume) the > use of form fields to collect all needed data on the IC site and shoot it > to Paypal without any further user interaction required. I have never been > able to get any info from PayPal regarding this. > > - Ed L. > > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (interchange) Date: Sat Aug 18 15:44:00 2001 Subject: [ic] Quantity Pricing Nightmare, please help I have been wrestling with quantity pricing, and have not been able to get it to work under any circumstances. Most recently, i have installed IC 4.8.1, as a fresh install after i renamed the directories that contained IC 4.6.5, and created a new catalog, based on foundation, using the tools dataset. I have edited catalog.cfg thus: PriceField 0 CommonAdjust pricing:q2,q5,q10,q25,q100 ;products:price, ==:options i removed the reference to the etc/after.cfg in an attempt to simplify things: #==========================================================================# # Allow a template to drop in some ending config. #include etc/after.cfg #==========================================================================# i have issued the command: su -c "/usr/local/interchange/bin/interchange -r" interch and clicked apply changes on the admin ui multiple times, but when i order an item that has all of the q2, q5, q10, etc., filled in, (e.g. carpetner's tool belt, $39.99) i only get the base price, no matter what quantity i cheese, and click recalculate. I have read Mike Heins previous post about commonadjust, have printed out all the pdf files on the website and read the 2.53 Price sections in ictags. Redhat Linux 6.1, perl 5.00503. Any help would be greatly appreciated, Thanks, Alexander McKenna From: interchange-users at interchange.redhat.com (Aaron Kincer) Date: Sat Aug 18 17:12:01 2001 Subject: [ic] 4.8.1 Installation and Configuration Problems I have installed 4.8.1 on Redhat 7.1 and I am trying to use the demo catalog to learn how to use Interchange. Everything seems to be OK right up until the point where I click on either Customer Entrance or Admin Interface links on the main page. I get only the following error: "Undefined Catalog: /cgi-bin/foundation" I accepted all the defaults on installation with one exception: I pressed 1 for the Admin tools helper. I get no errors when restarting Interchange. Any ideas? Any help is much appreciated. Thanks, Aaron ---------------- "Life can only be understood backwards; but it must be lived forwards." --Kierkegaard "I expect to pass through life but once. If, therefore, there be any kindness I can show, or any good thing I can do for any fellow human being, let me do it now, for I shall not pass this way again." -- William Penn _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (rene) Date: Sun Aug 19 02:00:00 2001 Subject: [ic] Success!! But mysql will not restart?? I successfully installed IC. But after a while mysql shut down. Mysql starts at boot time and then shuts down and will not restart. Does this have something to do with modules???? I re-installed mysql with no effect. How can i fix this? Rene From: interchange-users at interchange.redhat.com (saa) Date: Sun Aug 19 05:02:01 2001 Subject: [ic] PGP intructions Hi all, Can someone send me intructions to setup PGP or whatever is simpler Please send intructions for the real dumb :) From: interchange-users at interchange.redhat.com (IC-Admin) Date: Sun Aug 19 08:16:00 2001 Subject: Donations, Re: [ic] PGP intructions On Sun, 19 Aug 2001, saa wrote: > Hi all, Can someone send me intructions to setup PGP or whatever is simpler > Please send intructions for the real dumb :) > Though I write this comment in follow-up to this post, I don't meant to hurt or insult the poster saa. I myself have posted things like this in the past, am a real dumb, but might be around a bit longer to feel I might have the permission from the maintainers of this list to make the following remark: I like to ask one of the Perl Gurus to code the integration of a link to the IC donation (tip jar) PayPal page into this mailing list's source code. Let us give any real dumb the possibility to feel good about himself in providing him an incentive to treat any volunteer, helping out here for absolutely no money, like a decent human being. I am not happy about the way the possibility to donate directly to IC developers, the complete IC project and to IC users, who offer technical support here on the list, (and I like to explicitely include all RH employed IC developers as well), is MISSED. The Interchange project and the IC developers deserve to be supported by our donations. We should have the opportunity to donate directly to the developers and directly to the project and not to a relative anonymous company address. My plea to the maintainers of the RedHat IC web site and IC mailing list is to find a way to integrate a donation link directly into the mailing list, a link which leads to the PayPal site, which should include mailing addresses and some words of committment of RH IC's intent to use money directed to the project as a whole to expand and sustain the IC sourcecode as opened source code as much as possible. I don't know about you, but I start feeling somewhat cheap and low to not give back to the developers and helpers of IC, after I have downloaded the IC software for free and used this tremendously helpful mailing list for free as well. Not everybody might be able to pay the price, which is thought of representing the worth of the complete e-commerce suite as a whole including the support it includes, but that shouldn't mean that people, who use the software for zero dollars don't recognize the outstanding value of the work the developers have done to provide and create the IC package plus an even more amazing value in the additional free help they give on this list. Give us a more clearly marked, in our face and to the point link and method to donate money to the IC developers, IC helpers and the IC project. Thanks for your patience to listen to me and my aplogoies for letting this out of my chest a bit "in your face". I too am a real dumb like the poster above seems to see himself. But I don't like to see myself as a real cheap. Therefore I like to to have a possibility to prove that by giving back something to the people who dedicated their brains, time and efforts to this great free software project. Design a better donation page into your RH IC website, please. Your tip jar page as it is formulated right now isn't really an adaequate expression for what it should represent and be used for. Thank you. BF From: interchange-users at interchange.redhat.com (Korney Gozman) Date: Sun Aug 19 14:33:01 2001 Subject: [ic] [If] tag Thanks guys, I got it working, and learned something new in the process, PS,. Corey , you got really creative.// but hey it works. =Korey From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Sun Aug 19 18:35:01 2001 Subject: [ic] Order Profiles Seen this in a few versions... <!-- Checkout profile in etc/order.profiles --> (various versions up to 4.8.1 in pages/ord/checkout.html) -rw-r--r-- 1 ven 18 Jul 17 22:20 area.recordnumber -rw-r--r-- 1 ven 18 Jul 17 22:20 cat.recordnumber -rw-r--r-- 1 ven 4432 Jul 17 22:20 log_entry -rw-r--r-- 1 ven 4951 Jul 17 22:20 log_transaction -rw-r--r-- 1 ven 3999 Jul 17 22:20 mail_receipt -rw-r--r-- 1 ven 22 Jul 17 22:20 order.number -rw-r--r-- 1 ven 1235 Jul 17 22:20 profiles.login -rw-r--r-- 1 ven 5958 Jul 17 22:20 profiles.order -rw-r--r-- 1 ven 4860 Jul 17 22:20 receipt.html -rw-r--r-- 1 ven 5007 Jul 17 22:20 report -rw-r--r-- 1 ven 15 Jul 17 22:20 return.number -rw-r--r-- 1 ven 15 Jul 17 22:20 rma.number -rw-r--r-- 1 ven 5181 Jul 17 22:20 ship_notice I believe it is to be <!-- Checkout profile in etc/profiles.order --> Could be wrong. Ven From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Aug 19 21:53:00 2001 Subject: [ic] Foundation Graphics Thanks for all the replies... We found the problem. It was not a missing symlink but it was a problem with a link we had set up earlier. Thank you all for your suggestions. Dave On 17 Aug 01, at 12:27, Brian Kosick wrote: My first guess is Make sure you have a symbolic link from your catalog root to the directory that your images are in. ln -s /var/www/html/images /path/to/catalog/root/images Does it say anything in either of the error log files? At 10:47 AM 8/17/01 -0400, you wrote: >We have setup the Foundation sample and it does come up but does not show >any graphics. We have looked at the source for the demo and we have set the >path in the .cfg like the demo and the graphics do not display. We have >removed it serveral times and reinstalled and still have the same results. >Anbody else experience this or know the answer? > >Thanks > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users David M. Clark The Internet Place, Inc. 108 Mulberry Street Berwick, Pa. 18603 570-759-1753 Voice 570-759-7853 FAX dclark@bwkip.com From: interchange-users at interchange.redhat.com (Jose M. Fernandez R) Date: Sun Aug 19 22:15:01 2001 Subject: [ic] Fw: installation assistance I need someone to step me through installation of Interchange on my server. I've tried to install unsuccessfully, but expect this is due to my inexperience. Unfortunately I don't have the time to figure it out. If you're interested and have done this before, please drop me an email with a few details and an hourly rate. thanks, fern2000@hotmail.com Thank you Best regards Jose M. Fernandez R. Caracas, Venezuela From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Sun Aug 19 23:08:01 2001 Subject: [ic] How to use BUY ME image buttons in a form on a results page? The setup: ----------- Red Hat 6.2 Interchange 4.6.5 People are at a results page looking at a form that lists T-shirts. There is a different T-shirt on each row, listed along with its price and description. There are <SELECT> widgets on the each row, letting the user pick size and color. The problem: ----------- The web designer wants an <input type="image"> button on each row of the form. The image shows a "BUY ME!" graphic. It's the same image on each row of the table. It has to be in a form because of the size and color drop down widgets. On another page, I just use something like this: [loop search=...] <tr><td> [order [loop_code]]<img src="buyme.gif">[/order] </td></tr> [/loop] But that results in <a href> tags and not <input type="image"> buttons. This approach doesn't seem to work for page in question either: <form name="results" action="[process-order]" method="POST"> <input type="hidden" name="mv_todo" value="refresh"> <input type="hidden" name="mv_nextpage" value="ord/basket"> [loop search="ra=yes/fi=tshirts/tf=description"] <tr><td> <input type="image" name="mv_junk" src="buybtn.gif" onClick=" results.mv_order_item.value='[loop-code]'; results.mv_order_size.value=results.size_[loop-increment][results.size_[loop-increment].selectedIndex].value; results.mv_order_color.value=results.color_[loop-increment][results.color_[loop-increment].selectedIndex].value; results.submit();"> </td> MORE STUFF (like the code for [loop-accessories] tags for color and size </tr> [/loop] I've been scouring the docs and the archives all day, and can't seem to get my head around how to do this? Anybody? -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Aug 20 03:19:01 2001 Subject: [ic] How to use BUY ME image buttons in a form on a results page? This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C1290D.5B422620 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > The setup: > ----------- > Red Hat 6.2 >=20 > Interchange 4.6.5 >=20 > People are at a results page looking at a form that lists T-shirts. > There is a different T-shirt on each row, listed along with its price > and description. There are <SELECT> widgets on the each row, letting the > user pick size and color.=1A This seems like an easy issue, but it took me quite some time to get it to work. However after the time invested it's now up and running on 2 sites successfully. The reason it does not work in the construct demo is because construct used a perl routine for adding items to the cart which did not take into account options for the item. > The problem: > ----------- > The web designer wants an <input type=3D"image"> button on each row of the > form. The image shows a "BUY ME!" graphic. It's the same image on each > row of the table. It has to be in a form because of the size and color > drop down widgets. >=20 > On another page, I just use something like this: > [loop search=3D...] > <tr><td> > [order [loop_code]]<img src=3D"buyme.gif">[/order] > </td></tr> > [/loop] > But that results in <a href> tags and not <input type=3D"image"> buttons. Yes, href tags will not work. And <input type=3D"image"> will not work either because the type=3D"image" is not a valid type in the HTML spec. Netscape adheres to this guideline which invalidates the onClick or any other javascript event. An <input type=3D"image"> will work in netscape if there is no javascript on the input, but you need the javascript for this problem. > This approach doesn't seem to work for page in question either: >=20 > <form name=3D"results" action=3D"[process-order]" method=3D"POST"> > <input type=3D"hidden" name=3D"mv_todo" value=3D"refresh"> > <input type=3D"hidden" name=3D"mv_nextpage" value=3D"ord/basket"> > [loop search=3D"ra=3Dyes/fi=3Dtshirts/tf=3Ddescription"] > <tr><td> > <input type=3D"image" name=3D"mv_junk" src=3D"buybtn.gif" = onClick=3D" > results.mv_order_item.value=3D'[loop-code]'; > results.mv_order_size.value=3Dresults.size_[loop- > increment][results.size_[loop-increment].selectedIndex].value; > results.mv_order_color.value=3Dresults.color_[loop- > increment][results.color_[loop-increment].selectedIndex].value; > results.submit();"> > </td> >=20 > MORE STUFF (like the code for [loop-accessories] tags for color and size >=20 > </tr> > [/loop] >=20 > I've been scouring the docs and the archives all day, and can't seem to > get my head around how to do this? >=20 > Anybody? Please take a look at the page I have attached to this message. This was used as 'results.html' on http://www.mygamewear.com before we switched to a results page which does not have buy buttons. Similar code is also being used currently at http://www.caseetc.com . Pay particular attention to the form, hidden inputs and the check for which browser is being used to determine how to display the buy button. Good luck! -Ron ------=_NextPart_000_0040_01C1290D.5B422620 Content-Type: text/html; name="results.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="results.html" [comment] ui_template: Yes ui_template_name: top_left_bottom [/comment] [comment] Author: Ron Phipps Date: Jan-22-2001 Company: MyGamewear.com [/comment] [set bgcolor]#FFFFFF[/set] [set component_right][/set] [set component_after][/set] [set component_before][/set] [set members_only]0[/set] [set page_banner][/set] [set component_vsize][/set] [set vbanner][/set] [set vpromo_type][/set] [set component_hsize][/set] [set hbanner][/set] [set hpromo_type][/set] [set header_saying]Search Results[/set] [set page_title]__COMPANY__ | Search Results[/set] @_TLB_TOP_@ [include templates/regions/HEADER_W_RESULTS.TXT] @_TLB_LEFT_@ <!-- BEGIN CONTENT --> [set did_order][/set] [search-region] [tmp cross_sale][value-extended name=3Dmv_searchspec index=3D0][/tmp] [on-match] <FORM ACTION=3D"[process-target]" METHOD=3DPOST NAME=3D"results"> <INPUT TYPE=3Dhidden NAME=3D"mv_todo" VALUE=3D"refresh"> <INPUT TYPE=3Dhidden NAME=3D"mv_nextpage" VALUE=3D"ord/basket"> <INPUT TYPE=3Dhidden NAME=3D"mv_order_item" VALUE=3D""> <INPUT TYPE=3Dhidden NAME=3D"mv_order_quantity" VALUE=3D""> <INPUT TYPE=3Dhidden NAME=3D"mv_order_color" VALUE=3D""> <INPUT TYPE=3Dhidden NAME=3D"mv_order_size" VALUE=3D""> [/on-match] [search-list] <table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2"> <tr> <td colspan=3D"2"><font size=3D"1">&nbsp;</font></td> </tr> <tr> <td width=3D"90"><a href=3D"[area [item-code]]"><img = src=3D"products/list_graphic/[item-field image]" width=3D"82" = height=3D"89" border=3D"0"></a></td> =09 <td valign=3D"top" width=3D"100%"> =09 <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"3"> =09 <tr> =09 <td width=3D"30%"> =09 <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"0"> =09 <tr> =09 <td nowrap><font class=3D"ptitle4">[item-field = category]</font></td> </tr> =09 <tr> =09 <td background=3D"/images/other/h_spacer1.gif" height=3D"1"><img = src=3D"other/h_spacer1.gif" width=3D"1" height=3D"1"></td> </tr> =09 <tr> =09 <td nowrap><a href=3D"[area [item-code]]" = class=3D"ptitle3">[item-field description]</a></td> </tr> =09 </table> </td> <td align=3D"right"> =09 <table border=3D"0" cellspacing=3D"0" cellpadding=3D"3" = width=3D"285"> =09 <tr> <td align=3D"right" width=3D"30"><font = class=3D"form">Qty:</font></td> <td width=3D"40"><font class=3D"form2"><input type=3Dtext = name=3D"qty_[item-increment]" size=3D3 value=3D"1"></font></td> <td align=3D"right" width=3D"40"><font = class=3D"form">Size:</font></td> <td width=3D"70"><font class=3D"form2"> [item-accessories size, select, size, products, = size_[item-increment]] </td> <td align=3D"right" width=3D"35"><font = class=3D"form">Color:</font></td> <td width=3D"70"><font class=3D"form2"> [item-accessories color, select, color, products, = color_[item-increment]] </td> </tr> </table> </td> </tr> <tr> <td colspan=3D"2"><font class=3D"main">[item-field = short_comment]</font></td> </tr> </table> </td> <td valign=3D"top"> <table width=3D"100%" border=3D"0" cellspacing=3D"0" = cellpadding=3D"3"> <tr> <td align=3D"right"><font class=3D"form">Price:</font>&nbsp;<font = class=3D"price">[item-price]&nbsp;</font> </td> </tr> <tr> <td align=3D"right"><a href=3D"[area [item-code]]"><img = src=3D"other/view_details.gif" width=3D"82" height=3D"12" = border=3D"0"></a>&nbsp;</td> </tr> <tr> <td align=3D"right"> [if-item-data inventory quantity < 1] <img src=3D"other/outofstock.gif"> [else] =09 [if session browser =3D~ /MSIE/] <input type=3D"image" border=3D"0" name=3D"Buy Now" = src=3D"other/buynow.gif" width=3D"84" height=3D"23" = bordercolor=3D"white" style=3D"border-width:0px:" = onClick=3D"results.mv_order_item.value=3D'[item-code]'; = results.mv_order_quantity.value=3Dresults.qty_[item-increment].value; = results.mv_order_size.value=3Dresults.size_[item-increment][results.size_= [item-increment].selectedIndex].value; = results.mv_order_color.value=3Dresults.color_[item-increment][results.col= or_[item-increment].selectedIndex].value;">=09 [else] <a href=3D"#" border=3D"0" = onClick=3D"results.mv_order_item.value=3D'[item-code]'; = results.mv_order_quantity.value=3Dresults.qty_[item-increment].value; = results.mv_order_size.value=3Dresults.size_[item-increment][results.size_= [item-increment].selectedIndex].value; = results.mv_order_color.value=3Dresults.color_[item-increment][results.col= or_[item-increment].selectedIndex].value; results.submit(); "><img = src=3D"other/buynow.gif" width=3D"84" height=3D"23" = bordercolor=3D"white" style=3D"border-width:0px:" border=3D"0"></a> [/else] [/if] [/else] [/if-item-data] </td> </tr> </table> </td> </tr> <tr> <td width=3D"90" height=3D"10"><font = style=3D"font-size:6pt;">&nbsp;</font></td> <td valign=3D"top" height=3D"10"><font = style=3D"font-size:6pt;">&nbsp;</font></td> <td valign=3D"top" height=3D"10"><font = style=3D"font-size:6pt;">&nbsp;</font></td> </tr> <tr> <td colspan=3D"3"><hr width=3D"100%" noshade height=3D"1"></td> </tr>=09 </table> [/search-list] [on-match] </FORM> =20 [/on-match] [no-match] <BR><BR><center> <font class=3D"ptitle1"> Sorry, your search for <B>[calc] my $joiner =3D ' AND '; $joiner =3D ' OR ' if defined $Search->{''}->{mv_orsearch}[0] and $Search->{''}->{mv_orsearch}[0]; my @str =3D grep /\D/, @{$Values->{mv_searchspec}}; return join $joiner, @str; [/calc] </B>did not return any matches. <br><br>Please search again or return to our <a href=3D"[area = index]">front page.</a> [if value mv_search_error] <BR><B>Errors: <BR> [value-extended name=3Dmv_search_error joiner=3D"<BR>"] </B> [/if] </font> <BR><BR></center> [/no-match] [comment] <font __FFACE__ size=3D"2"> <BR CLEAR=3DLEFT> </font> [/comment] [more-list] <center> <font face=3D"Tahoma" size=3D"2"> Matches <b>[matches]</b> of <b>[match-count]</b> returned.</font> <font face=3D"Verdana, Arial" size=3D"2" = color=3D"333333"><b><BR>[more]<BR></b></font> </center> [/more-list] [/search-region] <!-- END CONTENT --> @_TLB_BOTTOM_@ ------=_NextPart_000_0040_01C1290D.5B422620-- From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Mon Aug 20 03:26:00 2001 Subject: [ic] Which mv_todo to use? I'm trying to accomplish the 'Send a link to a friend' on a new site design. I was able to send the link using a hard coded email address however I would like to allow the user to enter their name and the destination address. The problem is that if I use [value email_address] the value does not exist yet since the form has not been submitted. Which mv_todo can be used to submit the form before the rest of the code in the button tag is ran? Or is there a way to access the form fields before the form has been submitted? Would a better way be to use an intermediate page which sends the email then bounces back to the current page? I have included the code here for everyone to view. Thanks! -Ron <FORM ACTION="[process-target]" METHOD=POST NAME="email"> <INPUT TYPE=hidden NAME="mv_todo" VALUE="refresh"> <input type=hidden name=mv_session_id value="[data session id]"> <input type="text" name="email_name" size="12" style="font-size:9pt"> <input type="text" name="email_address" size="12" style="font-size:9pt [button text="Submit" src="icon_submit.gif" hidetext=1 form="email" ] [bounce page=[item-code]] [email to="[value email_address]" from="test@reliant-solutions.com" subject="test link" extra="Content-Type: text/html"] testing [/email] mv_nextpage=nothing [/button] </FORM> From: interchange-users at interchange.redhat.com (Thomas N. Stefanidis) Date: Mon Aug 20 03:27:01 2001 Subject: [ic] Suddenly orders won't sent to customer who own Hello, Suddenly my customer can't get the orders in his mail.The orders do show in the UI but he don't get them in mail. Any ideas what can be wrong?The error log won't show anything. Thomas From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Mon Aug 20 03:45:01 2001 Subject: [ic] How to use BUY ME image buttons in a form on a results >The setup: >----------- >Red Hat 6.2 > >Interchange 4.6.5 > >People are at a results page looking at a form that lists T-shirts. >There is a different T-shirt on each row, listed along with its price >and description. There are <SELECT> widgets on the each row, letting the >user pick size and color. > >The problem: >----------- >The web designer wants an <input type="image"> button on each row of the >form. The image shows a "BUY ME!" graphic. It's the same image on each >row of the table. It has to be in a form because of the size and color >drop down widgets. > >On another page, I just use something like this: > [loop search=...] > <tr><td> > [order [loop_code]]<img src="buyme.gif">[/order] > </td></tr> > [/loop] > >But that results in <a href> tags and not <input type="image"> buttons. > >This approach doesn't seem to work for page in question either: > ><form name="results" action="[process-order]" method="POST"> ><input type="hidden" name="mv_todo" value="refresh"> ><input type="hidden" name="mv_nextpage" value="ord/basket"> >[loop search="ra=yes/fi=tshirts/tf=description"] > <tr><td> > <input type="image" name="mv_junk" src="buybtn.gif" onClick=" >results.mv_order_item.value='[loop-code]'; >results.mv_order_size.value=results.size_[loop-increment][results.size_[loop-increment].selectedIndex].value; >results.mv_order_color.value=results.color_[loop-increment][results.color_[loop-increment].selectedIndex].value; >results.submit();"> > </td> > >MORE STUFF (like the code for [loop-accessories] tags for color and size > ></tr> >[/loop] > >I've been scouring the docs and the archives all day, and can't seem to >get my head around how to do this? > >Anybody? [page form="mv_order_item=[item-code] mv_order_quantity=1 mv_todo=refresh"]<img src="/images/orderitnow.gif" alt="Order It" width=250 height=35 border=0>[/page] This has worked for me for many years. may have to change [item-code] to [loop-code] (note you have [loop_code] at the top instead of [loop-code] From: interchange-users at interchange.redhat.com (saa) Date: Mon Aug 20 06:18:01 2001 Subject: [ic] PayPal send the whole checkout page please, where did you put it?? Thanks Sean ----- Original Message ----- From: "Garry" <gazonice@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Saturday, August 18, 2001 9:28 PM Subject: Re: [ic] PayPal > I was able to get the total into a paypal field: > > quoting from a posting I got back: > > > The lines I tried to use was: (on the checkout page at the very bottom) > > > > <form action="https://www.paypal.com/cgi-bin/webscr" methd="post"> > > <input type="hidden" name="amount" value="[total-cost]"> > > <input type="image" src="http://images.paypal.com/images/x-click-but6.gif" > > border="0" name="submit"> > > </form> > > > You need to use [total-cost noformat=1], paypal doesnt like the commas and > dollar signs. > > > Garry > ----- Original Message ----- > From: "Ed LaFrance" <edl@newmediaems.com> > To: <interchange-users@anthrax.interchange.redhat.com> > Sent: Saturday, August 18, 2001 7:30 PM > Subject: [ic] PayPal > > > > Hi all - > > > > Anyone know whatever became of the PayPal stuff? A while back there was > > some discussion on the list regarding options for this. I specifically > > remember that 'someone' > > > (http://developer2.akopia.com/archive/interchange-users/2001/msg04127.html) > > had mentioned a 'silent post' interface for PayPal, allowing (I assume) > the > > use of form fields to collect all needed data on the IC site and shoot it > > to Paypal without any further user interaction required. I have never > been > > able to get any info from PayPal regarding this. > > > > - Ed L. > > > > > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Mon Aug 20 07:24:00 2001 Subject: [ic] Sorting with Item Options Interchange 4.8.1 using GDBM Is there a way to sort options using the Item-Options tag. When entered into the UI options don't seem to be placed in the database any certain sort order. But however they go in is how they are displayed when called w/ item-options. My options need to be displayed in certain order. Where can I find more info on Item-Options tag. Thanks From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Mon Aug 20 07:59:01 2001 Subject: [ic] mysql question HI there! I am a complete newbie to interchange, some knowledge of Linux - basicly never had problems with instalation procedures. I successfully instaled Interchange from gzip file with ./configure. Then ran ./makecat (foundation demo)- also sucessfully, specyfing earlier installed mysql db as a default db to store products for foundation demo. Specified mysql user and passwd, the test_foundation db was created successfully. however, when I start interchange server, it can't connect with the db, with create function. the message sys: table 'xxx' failed : connect failed (create) -- can't connect to local MySQL through socket /var/lib/mysql/mysql.sock (111) Anybody knows what' wrong - permissions, mySQL server? If I install foundation without sql db - everything goes OK untill, with restart of the server I get message - "mode" is not defined in %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange (the script with which we start the interchange server) Would apprecuate answers to those questions Regards, Lukasz Z From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 20 09:05:01 2001 Subject: [ic] Which mv_todo to use? Quoting Ron Phipps (rphipps@reliant-solutions.com): > I'm trying to accomplish the 'Send a link to a friend' on a new site > design. I was able to send the link using a hard coded email address > however I would like to allow the user to enter their name and the > destination address. The problem is that if I use [value email_address] > the value does not exist yet since the form has not been submitted. > Which mv_todo can be used to submit the form before the rest of the code > in the button tag is ran? Or is there a way to access the form fields > before the form has been submitted? Would a better way be to use an > intermediate page which sends the email then bounces back to the current > page? I have included the code here for everyone to view. Thanks! You can either: 1. Use [cgi email_address] to access the address. 2. Use mv_check instead of mv_click. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 20 10:34:01 2001 Subject: [ic] Sorting with Item Options Quoting Lewey Taylor (admin@triparish.net): > Interchange 4.8.1 using GDBM > Is there a way to sort options using the Item-Options tag. > When entered into the UI options don't seem to be placed in > the database any certain sort order. But however they go in > is how they are displayed when called w/ item-options. My > options need to be displayed in certain order. Where can I > find more info on Item-Options tag. You can edit the options table and set the o_sort field, which will control the sorting of the options. I think I will also add an option to the tag whereby you can sort on a specific field, i.e. sort=label. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Mon Aug 20 11:10:00 2001 Subject: [ic] Custom shipping question We have a customer that wants to change a flat rate for one category of sales and charge a scaled price based on price for everything else. The category Saddles should have a flat $50 charge added for shipping and the cost of the saddle should be removed from the total of the order before the rest of the shipping cost is calculated. Has anybody done anything like this? I haven't been able to find anything that talks about doing a calculation this way. Thanks, -- Scott Trunkhill From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Mon Aug 20 11:48:04 2001 Subject: [ic] Order Profiles On Sun, 19 Aug 2001, Victor Nolton wrote: > Seen this in a few versions... > > <!-- Checkout profile in etc/order.profiles --> > (various versions up to 4.8.1 in pages/ord/checkout.html) [...] > I believe it is to be > <!-- Checkout profile in etc/profiles.order --> Thanks, Ven. That comment was wrong. I fixed it in CVS. Jon From: interchange-users at interchange.redhat.com (Jim Van Etten) Date: Mon Aug 20 12:26:01 2001 Subject: [ic] Unable to login as admin I am unable to login to the admin screen. I am running version 4.6. Is there some way to recover the password or create a new account and access the admin. Thanks Jim From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Mon Aug 20 12:43:00 2001 Subject: [ic] Sorting with Item Options >>Quoting Lewey Taylor (admin@triparish.net): >> Interchange 4.8.1 using GDBM >> Is there a way to sort options using the Item-Options tag. >> When entered into the UI options don't seem to be placed in >> the database any certain sort order. But however they go in >> is how they are displayed when called w/ item-options. My >> options need to be displayed in certain order. Where can I >> find more info on Item-Options tag. Quoting Mike Heins (mheins@redhat.com) >You can edit the options table and set the o_sort field, which >will control the sorting of the options. Mike I don't know how to use the o_sort field. I cant find any documentation or archives on proper usage. I tried several options in this field but can't get the items sorted. I am using simple options if that matters. Thanks for your help From: interchange-users at interchange.redhat.com (Tito Abreu) Date: Mon Aug 20 12:55:01 2001 Subject: [ic] doubt Sorry about my poor english.... Hi Friends I would like to take off a doubt regarding the pattern of the Shopping Interchange... Exists the possibility of create some Shoppings in interchange, as in the example below, where my user could buy in different store of products, and finish its purchase in a only checkout? shopping.mydomain.com.br/cgi-bin/Estore1 shopping.mydomain.com.br/cgi-bin/Estore2 shopping.mydomain.com.br/cgi-bin/Estore3 Since already I am thankful for the responses that to come. Yours truly ___________________________________ Tito Abreu WebDesigner e-Business Solutions Connection Network Systems Ltda. Rua do Rosario, 103/10 andar - Centro -RJ CEP: 20041-004 http://www.connection.com.br From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Mon Aug 20 13:06:00 2001 Subject: [ic] Using Oracle/ MySQL Database If you can already connect to the Oracle Database on the Windows box from the Linux box then set SQLDSN to "dbi:Oracle:XXXX" where XXXX is the name you entered in your tnsnames.ora file for connecting to the database. If you can't connect from Linux already you will need to install DBI and DBD::Oracle. >Hi folks, > >We are new users of the Interchange application and have a query regarding >the same. It would be great if some one can help. > >We wish to configure an Oracle Database with the Interchange Application. >Interchange is hosted on machine A (linux) and the Oracle database is >present on machine B (windows). How do we configure the application for the >database. Similarly for a MySQL Database. > >Best Rgds > >Dewang Mehta > > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users -- Scott Trunkhill 725 Broad St Product Research Specialist Augusta, GA 30901 Morris Communications (706) 823-3203 trunk@morris.com http://morris.com From: interchange-users at interchange.redhat.com (John Foster) Date: Mon Aug 20 13:10:00 2001 Subject: [ic] IC-4.8.1 Makecat errors out w/ permission denied When I execute makecat I am getting to error below. What is the problem? mkdir /var/www/demo2 mkdir /var/www/demo2: Permission denied at ./makecat line 1487 Thanks. John From: interchange-users at interchange.redhat.com (Greg St.Onge) Date: Mon Aug 20 14:03:00 2001 Subject: [ic] Re: interchange-users digest, Vol 1 #681 - 17 msgs We run multiple carts on one secure-server. With no major problems we have not handled. The question is I get this message on a couple of carts when they start. Output from su -c "/usr/local/interchange/bin/interchange -r" interch .. High traffic settings. Calling UI.... ...UI is loaded.... Interchange V4.6.5 Configuring catalog cart001...Using MySQL, DSN=dbi:mysql:cart001. done. Configuring catalog cart002...Using MySQL, DSN=dbi:mysql:cart002. done. Configuring catalog cart003...Intelligent Model Using MySQL, DSN=dbi:mysql:cart003. done. Configuring catalog cart004...Using MySQL, DSN=dbi:mysql:cart004. done. Configuring catalog cart006...Using MySQL, DSN=dbi:mysql:cart006. done. Configuring catalog cart007...Using MySQL, DSN=dbi:mysql:cart007. done. Configuring catalog cart008...Using MySQL, DSN=dbi:mysql:cart008. done. Configuring catalog cart009...Intelligent Model ]Using MySQL, DSN=dbi:mysql:cart009. done. Configuring catalog cart010...Using MySQL, DSN=dbi:mysql:cart010. done. Configuring catalog cart110...Using MySQL, DSN=dbi:mysql:cart110. done. Configuring catalog cart150...Using MySQL, DSN=dbi:mysql:cart150. done. Configuring catalog cart151...Using MySQL, DSN=dbi:mysql:cart151. done. Configuring catalog cart155...Using MySQL, DSN=dbi:mysql:cart155. done. Configuring catalog cart160...Using MySQL, DSN=dbi:mysql:cart160. done. Interchange server started in INET and UNIX mode(s) (process id 1747) Greg St.Onge LightSpeed Software On the web at www.lswwm.com Now expanding. Come join us! From: interchange-users at interchange.redhat.com (chaim klar) Date: Mon Aug 20 14:43:00 2001 Subject: [ic] execute upon restart I have some scripts that I would like to have executed automatically upon restart of interchange. Are there any hooks in interchange where this can be plugged in? If not is there any way I can force interchange to modify a file upon a successful restart so that the change can be detected by a cron job? Your help will be greatly appreciated. Chaim Klar _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Aug 20 14:52:00 2001 Subject: [ic] mysql question > Specified mysql user and passwd, the test_foundation db was created > successfully. however, when I start interchange server, it can't connect > with the db, with create function. the message sys: table 'xxx' failed : > connect failed (create) -- can't connect to local MySQL through socket > /var/lib/mysql/mysql.sock (111) Anybody knows what' wrong - permissions, > mySQL server? Have you (re)started the MySQL server? I get this error when I'm rebooting my machine, because Interchange starts just before the MySQL server ( i start Interchange from /etc/rc.d/rc.local) René From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Aug 20 15:12:00 2001 Subject: [ic] Unable to login as admin Jim Van Etten wrote: > > I am unable to login to the admin screen. I am running version 4.6. > > Is there some way to recover the password or create a new account and > access the admin. Edit access.txt! Remove the password! Login as an admin user und make a new password! Hope this helps! ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Mon Aug 20 15:29:01 2001 Subject: [ic] accessories questions How do I display color and size attributes after the user has selected them? By following the docs I can display a <SELECT> widget, but I can't figure out how to display the selected value later on. What am I missing? My tshirts database looks like this: ------------------- item price description color size X-01_T-LOGO 14.99 Some description Black-on-White, Black-on-Natural, Black-on-Stone, Black-on-Khaki, Silver-on-Black, Orange-on-Black X-Large, Large, Medium X-02_T-IMAN 14.99 Some description Black-on-White, Black-on-Natural, Black-on-Stone, Black-on-Khaki, Silver-on-Black, Orange-on-Black X-Large, Large, Medium On my tshirts order page I have this loop (which generates one form for each item the user can select, along with <SELECT> widgets for size and color (seems to work): ---------------- [loop search="ra=yes/fi=tshirts/tf=description"] <form name="results_[loop-increment]" action="[process-order]" method="POST"> <input type="hidden" name="mv_todo" value="refresh"> <input type="hidden" name="mv_nextpage" value="ord/basket"> <tr> <td align="center" bgcolor="#CCCC66"><input type="hidden" name="mv_order_item" value="[loop-code]"><input type="image" name="mv_order_item" alt="Submit" src= "buybtn.gif" border="0"></td> <td align="left" bgcolor="#CCCC66">[loop-field description]</td> <td align="center" bgcolor="#CCCC66"> <!-- color SELECT widget --> [accessories code=[loop-code] attribute=color type=select column=color table=tshirts name=color] </td> <td align="center" bgcolor="#CCCC66"> <!-- size SELECT widget --> [accessories code=[loop-code] attribute=size type=select column=size table=tshirts name=size] </td> </tr> </form> [/loop] On my basket page, I am trying this (two approaches, neither works): ---------------- [item-list] <tr> <td>[item-code]</td> <td>[item-field description] <br> <!-- this display nothing at all: --> [item-modifier color][item-modifier size] <br> <!-- this display a SELECT widget: --> [accessories code=[item-code] attribute=color type=display column=color table=tshirts name=color] [accessories code=[item-code] attribute=size type=display column=size table=tshirts name=size] </td> </tr> [/item-list] Ideas? TIA -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Garry) Date: Mon Aug 20 15:51:00 2001 Subject: [ic] PayPal I originally put this script at the bottom of the checkout page, just above the credit card part - however, I was advised to move it to the report page instead. Garry ----- Original Message ----- From: "saa" <smoriarty@wanadoo.es> To: <interchange-users@interchange.redhat.com> Sent: Monday, August 20, 2001 11:08 AM Subject: Re: [ic] PayPal > send the whole checkout page please, where did you put it?? > Thanks > Sean > > > > ----- Original Message ----- > From: "Garry" <gazonice@yahoo.com> > To: <interchange-users@interchange.redhat.com> > Sent: Saturday, August 18, 2001 9:28 PM > Subject: Re: [ic] PayPal > > > > I was able to get the total into a paypal field: > > > > quoting from a posting I got back: > > > > > The lines I tried to use was: (on the checkout page at the very bottom) > > > > > > <form action="https://www.paypal.com/cgi-bin/webscr" methd="post"> > > > <input type="hidden" name="amount" value="[total-cost]"> > > > <input type="image" > src="http://images.paypal.com/images/x-click-but6.gif" > > > border="0" name="submit"> > > > </form> > > > > > You need to use [total-cost noformat=1], paypal doesnt like the commas and > > dollar signs. > > > > > > Garry > > ----- Original Message ----- > > From: "Ed LaFrance" <edl@newmediaems.com> > > To: <interchange-users@anthrax.interchange.redhat.com> > > Sent: Saturday, August 18, 2001 7:30 PM > > Subject: [ic] PayPal > > > > > > > Hi all - > > > > > > Anyone know whatever became of the PayPal stuff? A while back there was > > > some discussion on the list regarding options for this. I specifically > > > remember that 'someone' > > > > > > (http://developer2.akopia.com/archive/interchange-users/2001/msg04127.html) > > > had mentioned a 'silent post' interface for PayPal, allowing (I assume) > > the > > > use of form fields to collect all needed data on the IC site and shoot > it > > > to Paypal without any further user interaction required. I have never > > been > > > able to get any info from PayPal regarding this. > > > > > > - Ed L. > > > > > > > > > > > > =============================================================== > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Aug 20 16:13:01 2001 Subject: [ic] Member/Non-member prices Is there a way to have a Member Price or NonMember Price show depending on if the user has logged into the catalog without duplicating the whole catalog. If the user logs in, they will see the Member Prices for the products on all the pages and if they don't log in, the see NonMember prices? What would I have to do for the Subtotal field on the checkout page also? I am running Interchange 4.6 on RH 7.1. Any help is greatly apprectiated. Chad ============================================================================ Chad M. Wittrock IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 IIIII IIIII IIIII University of Northern Iowa IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 IIIII IIIII IIIIII Phone: (319) 273-7437 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Aug 20 16:28:00 2001 Subject: [ic] Banner Color I am trying to find where the colors for the "Also see...", "New Items", etc banners are set. I have found that the banner is referred to as "hbanner" in the pages, but I don't see anywhere where the color of the background and font are specified. I am working on customizing the construct catalog to my own needs. I have done a grep "hbanner" within just about every directory in the catalog directory, but only find where it is referenced and not defined. Can anyone help with this? Thanks in advance Chad ============================================================================ Chad M. Wittrock IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 IIIII IIIII IIIII University of Northern Iowa IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 IIIII IIIII IIIIII Phone: (319) 273-7437 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Aug 20 16:52:00 2001 Subject: [ic] execute upon restart > I have some scripts that I would like to have executed automatically upon > restart of interchange. Are there any hooks in interchange where this can be > plugged in? If not is there any way I can force interchange to modify a file > upon a successful restart so that the change can be detected by a cron job? If my memory serves me correct IC creates a pid-file (interchange.pid) either in interchange/etc or in /var/run (RPM install) René From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Mon Aug 20 16:59:00 2001 Subject: [ic] execute upon restart At 06:31 PM 08/20/2001 +0000, you wrote: >I have some scripts that I would like to have executed automatically upon >restart of interchange. Are there any hooks in interchange where this can >be plugged in? If not is there any way I can force interchange to modify a >file upon a successful restart so that the change can be detected by a >cron job? > >Your help will be greatly appreciated. > Interchange writes a status file for each catalog which is successfully configured on start, located in VENDROOT/etc and having the name status.yourcatalogname. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (MITECH Trading) Date: Mon Aug 20 17:01:01 2001 Subject: [ic] Status change, no email sent. Ver. 4.7.7 My customers do not receive the email when order status is changed from pending to shipped. Sendmail should be ok since I receive the orders and customer the confirmation. Any ideas what is causing this error? Best regards Michael Michaelsen www.mitechtrading.com From: interchange-users at interchange.redhat.com (Jillian Carroll) Date: Mon Aug 20 18:55:01 2001 Subject: [ic] Sales tax calculation in wrong currency... I've run into an interesting problem... My client has his site displaying prices in US dollars, because his primary clientbase is in the US. However, because he lives in Canada he must charge GST tax to all Canadian customers. Now this isn't a big deal... because of course a person can charge tax based on the province codes as easily as state codes... However... The tax calculation is wrong and gives the customer the wrong total... because it is in the wrong currency. SO... What I'm wondering is if anybody has any suggestions? I was thinking of having a field at the bottom that basically says 'Canadian customers: $whatever.00' and do a calculation in the cart based on the cart value, converted to CAD funds, and then multiplied by the GST... but that seems a big clunky... I'm sure somebody may have a more 'slick' idea... I hope. :) Thanks!! _____ Jillian M. Carroll Internet Consultant, Horizon Computer Solutions 360 1st Avenue North Saskatoon, Saskatchewan S7K 1X4 PHONE: (306) 665-5666 FAX: (306) 665-6199 E-mail: jcarroll@horizon.sk.ca Web-Site: http://www.horizon.sk.ca From: interchange-users at interchange.redhat.com (saa) Date: Mon Aug 20 19:14:00 2001 Subject: [ic] PayPal Where do you have it now, send the page, make a gift to humanity :) and me Sean, a Paddy in Spain ----- Original Message ----- From: "Garry" <gazonice@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Monday, August 20, 2001 9:51 PM Subject: Re: [ic] PayPal > I originally put this script at the bottom of the checkout page, just above > the credit card part - however, I was advised to move it to the report page > instead. > > Garry > > > ----- Original Message ----- > From: "saa" <smoriarty@wanadoo.es> > To: <interchange-users@interchange.redhat.com> > Sent: Monday, August 20, 2001 11:08 AM > Subject: Re: [ic] PayPal > > > > send the whole checkout page please, where did you put it?? > > Thanks > > Sean > > > > > > > > ----- Original Message ----- > > From: "Garry" <gazonice@yahoo.com> > > To: <interchange-users@interchange.redhat.com> > > Sent: Saturday, August 18, 2001 9:28 PM > > Subject: Re: [ic] PayPal > > > > > > > I was able to get the total into a paypal field: > > > > > > quoting from a posting I got back: > > > > > > > The lines I tried to use was: (on the checkout page at the very > bottom) > > > > > > > > <form action="https://www.paypal.com/cgi-bin/webscr" methd="post"> > > > > <input type="hidden" name="amount" value="[total-cost]"> > > > > <input type="image" > > src="http://images.paypal.com/images/x-click-but6.gif" > > > > border="0" name="submit"> > > > > </form> > > > > > > > You need to use [total-cost noformat=1], paypal doesnt like the commas > and > > > dollar signs. > > > > > > > > > Garry > > > ----- Original Message ----- > > > From: "Ed LaFrance" <edl@newmediaems.com> > > > To: <interchange-users@anthrax.interchange.redhat.com> > > > Sent: Saturday, August 18, 2001 7:30 PM > > > Subject: [ic] PayPal > > > > > > > > > > Hi all - > > > > > > > > Anyone know whatever became of the PayPal stuff? A while back there > was > > > > some discussion on the list regarding options for this. I > specifically > > > > remember that 'someone' > > > > > > > > > > (http://developer2.akopia.com/archive/interchange-users/2001/msg04127.html) > > > > had mentioned a 'silent post' interface for PayPal, allowing (I > assume) > > > the > > > > use of form fields to collect all needed data on the IC site and shoot > > it > > > > to Paypal without any further user interaction required. I have never > > > been > > > > able to get any info from PayPal regarding this. > > > > > > > > - Ed L. > > > > > > > > > > > > > > > > =============================================================== > > > > New Media E.M.S. Software Solutions for Business > > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > > Placerville, CA 95667 edl@newmediaems.com > > > > (530) 622-9421 http://www.newmediaems.com > > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > > =============================================================== > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ben H) Date: Mon Aug 20 19:39:01 2001 Subject: [ic] editing index.html file First of all, I'm running version 4.8.1 I'm getting this error when attempting to open files for editing. ==== [snip] /cgi-bin/steger/admin/page_edit search error: your search file a valid database reference, was 'backup'. [snip] /cgi-bin/steger/admin/page_new.html Safe: Can't call method "open_table" on an undefined value at /usr/local/interchange/lib/Vend/Data.pm line 899. ==== This is the statement containing line 899 if($class_config->{Extension}) { $obj->{db_file} = $table_name unless $obj->{db_file}; $obj->{db_text} = $database_txt unless $obj->{db_text}; no strict 'refs'; #::logDebug("ready to try opening db $table_name") if ! $db; eval { -- line 899 if($MVSAFE::Safe) { $db = $Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, $obj->{db_file} ); } else { $db = $class_config->{Class}->open_table( $obj, $obj->{db_file} ); } $obj->{NAME} = $db->[$Vend::Table::Common::COLUMN_INDEX] unless defined $obj->{NAME}; #::logDebug("didn't die but no db") if ! $db; }; ==== end of statement I'm stumped, I don't understand what this 'if' statement accomplish... Another problem I'm having, and I'm thinking these two problems are related... I'm getting the following error when trying to modify the tax tables... through the 'wizard' I was able to modify the rates. This applies to various other areas of the administration section. /cgi-bin/steger/admin/tax_simple.html Attempt to set variable::Variable::TAXSHIPPING in read-only table /cgi-bin/steger/admin/tax_simple.html Attempt to set variable::Variable::TAXRATE in read-only table Any thoughts on any of this? Sincerely, Ben H. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Mon Aug 20 20:08:00 2001 Subject: [ic] editing index.html file That looks very close to the problem that's holding me up as well. Can anyone cast any light? Ian Riddler ----- Original Message ----- From: "Ben H" <z153iq@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, August 21, 2001 11:42 AM Subject: [ic] editing index.html file > First of all, I'm running version 4.8.1 > > > I'm getting this error when attempting to open files for editing. > > ==== > [snip] /cgi-bin/steger/admin/page_edit search error: your search file a > valid database reference, was 'backup'. > [snip] /cgi-bin/steger/admin/page_new.html Safe: Can't call method > "open_table" on an undefined value at > /usr/local/interchange/lib/Vend/Data.pm line 899. > ==== > > > This is the statement containing line 899 > > if($class_config->{Extension}) { > $obj->{db_file} = $table_name unless $obj->{db_file}; > $obj->{db_text} = $database_txt unless $obj->{db_text}; > no strict 'refs'; > #::logDebug("ready to try opening db $table_name") if ! $db; > eval { > > > -- line 899 if($MVSAFE::Safe) { > > > $db = > $Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, > $obj->{db_file} ); > } > else { > $db = ass_config->{Class}->open_table( > $obj, $obj->{db_file} ); > } > $obj->{NAME} = > $db->[$Vend::Table::Common::COLUMN_INDEX] > unless defined $obj->{NAME}; > #::logDebug("didn't die but no db") if ! $db; > }; > ==== end of statement > > I'm stumped, I don't understand what this 'if' statement accomplish... > > Another problem I'm having, and I'm thinking these two problems are related... > > I'm getting the following error when trying to modify the tax tables... > through the 'wizard' I was able to modi fy the rates. This applies to > various other areas of the administration section. > > /cgi-bin/steger/admin/tax_simple.html Attempt to set > variable::Variable::TAXSHIPPING in read-only table > /cgi-bin/steger/admin/tax_simple.html Attempt to set > variable::Variable::TAXRATE in read-only table > > > Any thoughts on any of this? > > > Sincerely, > Ben H. > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Dan Browning) Date: Mon Aug 20 20:10:01 2001 Subject: [ic] Sorting with Item Options At 11:31 AM 8/20/2001 -0500, you wrote: > >>Quoting Lewey Taylor (admin@triparish.net): > >> Interchange 4.8.1 using GDBM > >> Is there a way to sort options using the Item-Options >tag. > >> When entered into the UI options don't seem to be placed >in > >> the database any certain sort order. But however they go >in > >> is how they are displayed when called w/ item-options. >My > >> options need to be displayed in certain order. Where can >I > >> find more info on Item-Options tag. > >Quoting Mike Heins (mheins@redhat.com) > > >You can edit the options table and set the o_sort field, >which > >will control the sorting of the options. > >Mike I don't know how to use the o_sort field. I cant find >any documentation or archives on proper usage. I tried >several options in this field but can't get the items >sorted. I am using simple options if that matters. > >Thanks for your help The new documentation might be of some help in the matter: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_31.html HAND, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (saa) Date: Mon Aug 20 20:31:01 2001 Subject: [ic] NEED ENCRYPTION ENABLED Credit Card Info: NEED ENCRYPTION ENABLED. What I have been trying to do is go into the admin section of his cart, click on Administration, click on Wizard, go to payment preferences, make the payment gateway "PGP sent credit cards", click on next, insert his PGP key, click on next, go to preview, and click on finish. When clicking on finish it now says: compare values saved successfully. GPG key import FAILED. Your catalog is now operational for testing. He therefore can not charge anyone's card since the credit card information just doesn't show up...Do you know if there is any manual way to import the key, or do you have any idea what is wrong? In the Akopia demo (http://www.akopia.com) this is confirmed as working. Your help is appreciated. Thanks From: interchange-users at interchange.redhat.com (Xiaowen Wu) Date: Mon Aug 20 20:45:01 2001 Subject: [ic] Cached of Search I'm using interchange 4.7.7, I added a new item in the product table using the admin interface, commited the change, and then search the product by category, but the new product didn't show up. I have restarted the interchange. Does anybody know how to clean all the "Cached" searches ? Thank you very much Xiaowen Wu Safetopia. From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Mon Aug 20 20:51:00 2001 Subject: [ic] editing index.html file Edit with vi or another text editor? >That looks very close to the problem that's holding me up as well. >Can anyone cast any light? >> First of all, I'm running version 4.8.1 >> I'm getting this error when attempting to open files for editing. >> ==== >> [snip] /cgi-bin/steger/admin/page_edit search error: your search file a >> valid database reference, was 'backup'. >> [snip] /cgi-bin/steger/admin/page_new.html Safe: Can't call method >> "open_table" on an undefined value at >> /usr/local/interchange/lib/Vend/Data.pm line 899. >> ==== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Aug 20 21:06:00 2001 Subject: [ic] Admin UI and tutorial Hi, Can the Admin UI be accessed through the tutorial catalog? I tried it but was unsuccessful -- Sorry, there was an error in processing this form action. Please report the error or try again later. (user database access does not exist. ) --- francis vidal [bitstop network services] streaming media + web services v(02)330-2872,(02)330-2873 From: interchange-users at interchange.redhat.com (Ian Riddler) Date: Mon Aug 20 21:08:01 2001 Subject: [ic] editing index.html file using the interchange UI in my case ----- Original Message ----- From: "Victor Nolton" <ven@pragakhan.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, August 21, 2001 12:50 PM Subject: Re: [ic] editing index.html file > Edit with vi or another text editor? > > >That looks very close to the problem that's holding me up as well. > >Can anyone cast any light? > >> First of all, I'm running version 4.8.1 > >> I'm getting this error when attempting to open files for editing. > >> ==== > >> [snip] /cgi-bin/steger/admin/page_edit search error: your search file a > >> valid database reference, was 'backup'. > >> [snip] /cgi-bin/steger/admin/page_new.html Safe: Can't call method > >> "open_table" on an undefined value at > >> /usr/local/interchange/lib/Vend/Data.pm line 899. > >> ==== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 20 23:31:00 2001 Subject: [ic] execute upon restart Quoting chaim klar (hershey135@hotmail.com): > I have some scripts that I would like to have executed automatically upon > restart of interchange. Are there any hooks in interchange where this can be > plugged in? If not is there any way I can force interchange to modify a file > upon a successful restart so that the change can be detected by a cron job? > > Your help will be greatly appreciated. No direct way, but you can write a module which does what you want and then in interchange.cfg do: Require YourModule When the module is required, any code that is part of the initialization will be run, of course, as with any Perl module. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> "Laughter is inner jogging." -- Norman Cousins From: interchange-users at interchange.redhat.com (Jason Jensen) Date: Tue Aug 21 00:02:00 2001 Subject: [ic] NEED ENCRYPTION ENABLED I had this same problem!!! The way to get GPG to import the key is find out what user is running interchange and in that users' home directory create a folder by typing "mkdir .gnupg".. this will allow you to create the key.. you will then have to type (as the interchange user) "gpg --gen-key" and fallow the steps. Be warned after doing all this, my interchange just started mailing me emails with NO error message NO credit card number and NO NEED ENCRYPTION ENABLED. Also, if i turn on encryption for the entire message it will encrypt the message but still without the credit card number within. Also: find out (if you use an isp) if your isp uses software called "CPANEL" that is what my isp uses and it automatically updates.. that is what caused this problem (cpanel auto updated to 4.8.1 and it hasn't worked since). Jason Jensen ----- Original Message ----- From: "saa" <smoriarty@wanadoo.es> To: <interchange-users@interchange.redhat.com> Sent: Monday, August 20, 2001 7:15 PM Subject: [ic] NEED ENCRYPTION ENABLED > Credit Card Info: > NEED ENCRYPTION ENABLED. > > What I have been trying to do is go into the admin section of his cart, > click on Administration, click on Wizard, go to payment preferences, make > the payment gateway "PGP sent credit cards", click on next, insert his PGP > key, click on next, go to preview, and click on finish. When clicking on > finish it now says: > > compare values saved successfully. > > GPG key import FAILED. > > > > Your catalog is now operational for testing. > > > He therefore can not charge anyone's card since the credit card information > just doesn't show up...Do you know if there is any manual way to import the > key, or do you have any idea what is wrong? In the Akopia demo > (http://www.akopia.com) this is confirmed as working. > > Your help is appreciated. Thanks > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Tue Aug 21 00:44:01 2001 Subject: [ic] Which mv_todo to use? > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Mike Heins > Sent: Monday, August 20, 2001 6:03 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Which mv_todo to use? > > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > I'm trying to accomplish the 'Send a link to a friend' on a new site > > design. I was able to send the link using a hard coded email address > > however I would like to allow the user to enter their name and the > > destination address. The problem is that if I use [value email_address] > > the value does not exist yet since the form has not been submitted. > > Which mv_todo can be used to submit the form before the rest of the code > > in the button tag is ran? Or is there a way to access the form fields > > before the form has been submitted? Would a better way be to use an > > intermediate page which sends the email then bounces back to the current > > page? I have included the code here for everyone to view. Thanks! > > You can either: > > 1. Use [cgi email_address] to access the address. > 2. Use mv_check instead of mv_click. > I chose to use [cgi email_address] and it works well. Thanks for the idea. I'll post the code for "email a link" later on this week when it's tweaked. Take it easy, -Ron From: interchange-users at interchange.redhat.com (Jim Van Etten) Date: Tue Aug 21 01:20:00 2001 Subject: [ic] Unable to login as admin Where do I find this file? I did a 'find / -name access.txt -print' and came up with nothing. I am using a mysql database would the account be in there?? Thanks Jim -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Joachim Leidinger Sent: Monday, August 20, 2001 3:13 PM To: interchange-users@interchange.redhat.com Subject: Re: [ic] Unable to login as admin Jim Van Etten wrote: > > I am unable to login to the admin screen. I am running version 4.6. > > Is there some way to recover the password or create a new account and > access the admin. Edit access.txt! Remove the password! Login as an admin user und make a new password! Hope this helps! ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rage-DCA) Date: Tue Aug 21 01:32:00 2001 Subject: [ic] Fw: installation assistance If the job is still available, I would be more than willing to help you setup Interchange on your server. I have been working with Interchange now for about one and a half years and have come across and solved quite a few problems with it in my day. If done over chat, I would be willing to do it for $35 an hour. Over the phone, $35 plus phone bill expenses. Please feel free to e-mail me back if you are interested. Sincerely, Jason Osborne Data and Telecom Network Solutions -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Jose M. Fernandez R Sent: Sunday, August 19, 2001 9:24 PM To: interchange-users@interchange.redhat.com Subject: [ic] Fw: installation assistance I need someone to step me through installation of Interchange on my server. I've tried to install unsuccessfully, but expect this is due to my inexperience. Unfortunately I don't have the time to figure it out. If you're interested and have done this before, please drop me an email with a few details and an hourly rate. thanks, fern2000@hotmail.com Thank you Best regards Jose M. Fernandez R. Caracas, Venezuela _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Steve Bourg) Date: Tue Aug 21 02:55:01 2001 Subject: [ic] authorizenet globalsub missing variables Hey All, I'm using Interchange 4.6.5 and setting up credit card authorization through Authorize.Net. I managed to mostly follow the directions and have gotten my transactions to authorize.net. Unfortunately, I noticed that several fields were not making it over. These include the Order/Invoice #, Company, Country, Phone, and Email. The mapping for the order # was already setup and I've added the rest. However.. I've been unable to get any of the data over. With the help of cursor (Hi cursor!), I was able to drop in a few lines that would echo the variable values to my error.log file. I am able to echo the fields that are making it over but not any of the fields that aren't. My question is.. why can I access some fields from this global sub and not others? The fields are making to the etc/transaction_log file and they make it to emails PGP encrypted (when the store was setup for that method). Here's my error logging code from the globalsub: ::logGlobal(qq{mv_order_number variable has this value: $actual{mv_order_number}}); ::logGlobal(qq{mv_credit_card_number variable has this value: $actual{mv_credit_card_number}}); I manage to get the credit card # returned but not the order number. I've tried my other fields as well. Here's variable mapping for my broken fields: x_Invoice_Num => $actual{mv_order_number}, x_Company => $actual{company}, x_Phone => $actual{day_phone}, x_Email => $actual{email}, and here's the credit card mapping: x_Card_Num => $actual{mv_credit_card_number}, Thanks, Steve Bourg From: interchange-users at interchange.redhat.com (Stefano Malagoli) Date: Tue Aug 21 04:35:01 2001 Subject: [ic] Search with multiple page Hi everyone, I have made my own search engine using a page and an sql query through the [query] tag. In this result page do some othes stuff and I use [more] tag to display other page. When I do the search all it.s ok, but when I browse the other page I lose all my parameter passed to the search engine. Is there a way to pass argument to the other page of my result set ? Or is there a way to know if my page is viewing the fisrt page or another one ? TIA Cordiali Saluti, Dott. Stefano Malagoli Resp. Sviluppo Software ---------------------------------------- DATACODE s.r.l. Via S. Morse, 30 41100 Modena (Italy) tel. +39.059.212831 fax +39.059.4390212 E-mail: s.malagoli@datacode.it Web: www.datacode.it From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Aug 21 05:35:00 2001 Subject: [ic] Display error ***,***,*** on basket and checkout.html Hi, On IC4.8.1, values of caluculations on cart and checkout pages are displayed ***,***,***. [item-price] in flypage are displayed well but ... >From http://ayayu.com/cgibin/foundation.cgi/index.html , you can see this at ord/basket.html page. Sorry for this site is running with Japanese. How can I investigate ? Can anyone help with this? Thanks in advance. Murahashi From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Tue Aug 21 05:53:00 2001 Subject: [ic] Accessories help Hi I need help with the accessories system. Ok, in the table pricing i can add e.g 2 columns named L and XL which should represent the size of a product. To each product in this table i can add now price differences to the price in the products table, when one of this accessories is chosen by the user. pricing: sku ... ... XL X 001 . . 2 1 products: sku ... ... price size 001 . . 10 M, X, XL As far as i know this would cause the price increases by 1 if we choose size X and by 2 if we choose size XL right ? My problem now is now (as long as the information above is right) how i have to add the select box into flypage and ord/basket. I`ve tried it with: [accessories code="[item-code]" type=radio attribute=size table=products] ...in flypage.html.. but nothing appears... thanx mike From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Tue Aug 21 05:58:00 2001 Subject: [ic] hiding a product in the product data table Hi, is there any function to hide a product in the product datatable? -tobias henle From: interchange-users at interchange.redhat.com (Robert Trembath) Date: Tue Aug 21 07:28:01 2001 Subject: [ic] mysql question Try appending a host=<yourservername> to the DSN name in catalog.cfg, that fixed it for myself and others here. ----- Original Message ----- From: "Lukasz Z" <dugi@prion.pl> To: <interchange-users@interchange.redhat.com> Sent: Monday, August 20, 2001 6:53 AM Subject: [ic] mysql question > HI there! > > I am a complete newbie to interchange, some knowledge of Linux - basicly > never had problems with instalation procedures. I successfully instaled > Interchange from gzip file with ./configure. Then ran ./makecat (foundation > demo)- also sucessfully, specyfing earlier installed mysql db as a default > db to store products for foundation demo. > > Specified mysql user and passwd, the test_foundation db was created > successfully. however, when I start interchange server, it can't connect > with the db, with create function. the message sys: table 'xxx' failed : > connect failed (create) -- can't connect to local MySQL through socket > /var/lib/mysql/mysql.sock (111) Anybody knows what' wrong - permissions, > mySQL server? > > If I install foundation without sql db - everything goes OK untill, with > restart of the server I get message - "mode" is not defined in > %Fcntl::EXPORT_TAGS at /usr/local/interchange/bin/interchange (the script > with which we start the interchange server) > > Would apprecuate answers to those questions > Regards, > Lukasz Z > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Lewey Taylor) Date: Tue Aug 21 07:56:00 2001 Subject: [ic] Sorting with Item Options Quoting Dan Browning (danpb@mail.com) > The new documentation might be of some help in the matter: > > http://ic.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_31.html > Thanks Dan, Sorry to the list on that last post. I guess friends really shouldn't let friends Outlook From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Aug 21 07:57:10 2001 Subject: [ic] "mode" is not defined IC 4.8.1 Hi List, I get > bin/interchange -u RPC traffic settings. "mode" is not defined in %Fcntl::EXPORT_TAGS at bin/interchange line 2716 Calling UI......UI is loaded... Interchange V4.8.1 and I've no idea, why "mode" is not defined! Any suggestions? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Tue Aug 21 08:04:01 2001 Subject: [ic] Accessories help Append... I`ve successfully added a drop-down menu where the sizes in the products table con be selected. ([item_accessories size]) [price quantity=10 code=[item-code] size=X] This shows the price mentioned in the product database. The price doesn`t change... not with quantity=10 (quantity prricing) nor with the modifier size=X. Is there any setting which should be added to catalog.cfg or is something else wrong ? (In catalog.cfg i tryd with and without "UseModifier size" thanx mike ----- Original Message ----- From: "Michael Mangeng" <interchange@vis.at> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Tuesday, August 21, 2001 11:52 AM Subject: [ic] Accessories help > Hi > > I need help with the accessories system. > Ok, in the table pricing i can add e.g 2 columns named L and XL which should > represent the size of a product. To each product in this table i can add now > price differences to the price in the products table, when one of this > accessories is chosen by the user. > > pricing: > sku ... ... XL X > 001 . . 2 1 > > products: > sku ... ... price size > 001 . . 10 M, X, XL > > As far as i know this would cause the price increases by 1 if we choose size > X and by 2 if we choose size XL right ? > > My problem now is now (as long as the information above is right) how i have > to add the select box into flypage and ord/basket. > > I`ve tried it with: > > [accessories code="[item-code]" > type=radio > attribute=size > table=products] > > ...in flypage.html.. but nothing appears... > > thanx > mike > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Aug 21 08:16:01 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? Hi list, I have a simple question: How can I change the boot-order of the daemons during start-up (Running RH 7.1)? On my system I get IC started before MySQL, and that causes db-connection errors. Regards, René ---------------------------------------------------- I don't have a solution but I do admire the problem. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Aug 21 08:25:00 2001 Subject: [ic] "mode" is not defined IC 4.8.1 Joachim Leidinger <jojo@blackpoint.de> writes: > Hi List, > > I get > > > > bin/interchange -u > RPC traffic settings. > "mode" is not defined in %Fcntl::EXPORT_TAGS at bin/interchange line > 2716 > Calling UI......UI is loaded... > Interchange V4.8.1 > > > and I've no idea, why "mode" is not defined! Any suggestions? Upgrade Perl to 5.6 (Otherwise harmless). Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Tue Aug 21 08:50:00 2001 Subject: [ic] Upgrade from 4.6 to 4.8 I am thinking of updating from 4.6 to 4.8. Is there any know problems or quirks I should know about? Also, what do I have to do to use my existing catalog on the new server? Do I just copy it into the catalog directive I specify in the install? I am planning on using the rpm install. Thanks for any advice Chad ============================================================================ Chad M. Wittrock IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 IIIII IIIII IIIII University of Northern Iowa IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 IIIII IIIII IIIIII Phone: (319) 273-7437 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Tue Aug 21 08:57:00 2001 Subject: [ic] Unable to login as admin I believe you are looking for access.asc. Mine is located in /var/lib/interchange/YOURCATALOG/products/access.asc Hope this helps Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Jim > Van Etten > Sent: Tuesday, August 21, 2001 12:15 AM > To: interchange-users@interchange.redhat.COM > Subject: RE: [ic] Unable to login as admin > > > Where do I find this file? I did a 'find / -name access.txt > -print' and came > up with nothing. I am using a mysql database would the account be > in there?? > > Thanks > Jim > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Joachim Leidinger > Sent: Monday, August 20, 2001 3:13 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Unable to login as admin > > > Jim Van Etten wrote: > > > > I am unable to login to the admin screen. I am running version 4.6. > > > > Is there some way to recover the password or create a new account and > > access the admin. > > Edit access.txt! > Remove the password! > Login as an admin user und make a new password! > > Hope this helps! > > ciao > > Joachim > > -- > Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce > [Hans-Joachim.leidinger@bpanet.de] > Black Point Arts Internet Solutions GmbH > http://www.bpanet.de > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Aug 21 09:02:01 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? "Rene Hertell" <rene@hertell.com> writes: > Hi list, > > I have a simple question: How can I change the boot-order of the daemons during > start-up (Running RH 7.1)? On my system I get IC started before MySQL, and that > causes db-connection errors. The scripts in /etc/rc.d/rc*.d are executed in order of there numbers (S are the start scripts), the number for mysql must be lower than the number for interchange. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Brian Pribis) Date: Tue Aug 21 09:42:00 2001 Subject: [ic] setup Hello: I am new to interchange and just have a question (or two): I would like to simply use the demo cat (construct) to build a site. I already have the demo set up and would like to leave it there for testing. If I ran makecat again but put in different name for the company, etc. (Same IP address and stuff because I would like all my catalogs at the same IP), should I get a completely distinct catalog? I guess there was just one question. Thanks, Brian Pribis From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Aug 21 09:55:00 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? > The scripts in /etc/rc.d/rc*.d are executed in order of there numbers > (S are the start scripts), the number for mysql must be lower than > the number for interchange. Thank you again very much for your help! :) Rene From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Tue Aug 21 09:57:01 2001 Subject: [ic] hiding a product in the product data table Tobias Henle wrote: > > Hi, > > is there any function to hide a product in the product datatable? > > -tobias henle > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users sorry i have found a solution (but it smells like a workaround ;() i have added a field "aviallable" to the products table and to each search the option <INPUT TYPE=hidden NAME=mv_search_field VALUE=available> <INPUT TYPE=hidden NAME=mv_column_op VALUE=eq> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1> or <INPUT TYPE=hidden NAME=mv_value VALUE=1> or tf=available/va=1/op=eq but i think it would be a nice feature if it is included in the standart configuration!? -toby ps. does anybody know how to add an expretion to every search, like tf=available/va=1/op=eq so that i can use the Intechange tags corse i am to lazy to edit every bage From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Aug 21 09:59:00 2001 Subject: [ic] hiding a product in the product data table > Hi, > > is there any function to hide a product in the product datatable? I have added a new column named "display" to my products-table. I use 1 for displaying the product, and 0 for hiding it. After this you have just to modify the search arguments to include all those products that have an "1" in the "display" column. Works fine for me, Rene From: interchange-users at interchange.redhat.com (Ben H) Date: Tue Aug 21 10:26:01 2001 Subject: [ic] editing index.html file I'm using the interchange UI as well. At 08:50 PM 8/20/2001 -0400, you wrote: >Edit with vi or another text editor? > >>That looks very close to the problem that's holding me up as well. >>Can anyone cast any light? >>> First of all, I'm running version 4.8.1 >>> I'm getting this error when attempting to open files for editing. >>> ==== >>> [snip] /cgi-bin/steger/admin/page_edit search error: your search file a >>> valid database reference, was 'backup'. >>> [snip] /cgi-bin/steger/admin/page_new.html Safe: Can't call method >>> "open_table" on an undefined value at >>> /usr/local/interchange/lib/Vend/Data.pm line 899. >>> ==== > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Aug 21 10:35:01 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? "Rene Hertell" <rene@hertell.com> writes: > > The scripts in /etc/rc.d/rc*.d are executed in order of there numbers > > (S are the start scripts), the number for mysql must be lower than > > the number for interchange. > > Thank you again very much for your help! :) I discovered in my first days of Interchange Debian packaging how you make this right the hard way. I had the same values for mysql and interchange and Interchange eats up all memory :-( Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ben H) Date: Tue Aug 21 10:45:00 2001 Subject: [ic] editing index.html file [more debugging info] I pulled this from the info section of the admin area. ============== Perl Version Perl 5.6.0 (called with: /usr/bin/perl) Optional Module Information LWP::Simple found (v1.34). MD5 found (v2.02). MIME::Base64 found (v2.12). SQL::Statement found (v0.1020). Safe::Hole found (v0.08). Storable found (v1.012). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped: ftfile sort rand =============== Again, the line in question: if($MVSAFE::Safe) { I'm thinking its related somehow to safe.pm. Does anyone know if the "Safe operations untrapped" is anything relevant?? I'm just as confused with this hitch every time I try to diagnose it.... Ben _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Aug 21 11:26:00 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? > I discovered in my first days of Interchange Debian packaging how you > make this right the hard way. I had the same values for MySQL and > interchange and Interchange eats up all memory :-( I'm not 100% sure if I choose the values correct. IC and MySQL was on S99, so I moved MySQL to s98 from s99. This is anyway not so big deal (with memory consumption), because this machine works as my playground here at home :) Rene From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Aug 21 11:30:01 2001 Subject: [ic] 4.8.1 Leaving 'template:' header blank in pages We're having a number of problem's where, after editing via the UI, the header of a page goes from: [comment] ui_template: Yes ui_template_name: leftright [/comment] to [comment] ui_template: Yes ui_template_name: [/comment] Any thoughts? We upgraded the RPM's (-Uvh) from 4.6.5 to 4.7.7 to 4.8.1 rebuilt packages from source (lot's errors) to official 4.8.1 binaries. Maybe that's the problem. . . TIA Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 21 11:37:01 2001 Subject: [ic] Accessories help At 02:02 PM 08/21/2001 +0200, you wrote: >Append... > >I`ve successfully added a drop-down menu where the sizes in the products >table con be selected. >([item_accessories size]) > >[price quantity=10 code=[item-code] size=X] >This shows the price mentioned in the product database. The price doesn`t >change... not with quantity=10 (quantity prricing) nor with the modifier >size=X. > >Is there any setting which should be added to catalog.cfg or is something >else wrong ? >(In catalog.cfg i tryd with and without "UseModifier size" Make sure your CommonAdjust string includes: ==size:pricing - Ed L. >thanx >mike >----- Original Message ----- >From: "Michael Mangeng" <interchange@vis.at> >To: <interchange-users@anthrax.interchange.redhat.com> >Sent: Tuesday, August 21, 2001 11:52 AM >Subject: [ic] Accessories help > > > > Hi > > > > I need help with the accessories system. > > Ok, in the table pricing i can add e.g 2 columns named L and XL which >should > > represent the size of a product. To each product in this table i can add >now > > price differences to the price in the products table, when one of this > > accessories is chosen by the user. > > > > pricing: > > sku ... ... XL X > > 001 . . 2 1 > > > > products: > > sku ... ... price size > > 001 . . 10 M, X, XL > > > > As far as i know this would cause the price increases by 1 if we choose >size > > X and by 2 if we choose size XL right ? > > > > My problem now is now (as long as the information above is right) how i >have > > to add the select box into flypage and ord/basket. > > > > I`ve tried it with: > > > > [accessories code="[item-code]" > > type=radio > > attribute=size > > table=products] > > > > ...in flypage.html.. but nothing appears... > > > > thanx > > mike > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Aug 21 11:39:00 2001 Subject: [ic] Sorting with Item Options > Quoting Dan Browning (danpb@mail.com) > > The new documentation might be of some help in the matter: > > > > > http://ic.redhat.com/cgi-bin/ic/dev-4.8/icfoundation_31.html Has anybody got the o_sort to work with simple options and GDBM. I tried using the format as descibed in the above link. 01 02 03 04 05 and so on for all my options. I deleted the options.gdbm file and recreated from options.txt and the options are not sorted. I greped the interchange root and I see sort code for modular and matrix but not simple. Any ideas? Thanks Lewey From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 21 11:42:01 2001 Subject: [ic] Member/Non-member prices At 03:12 PM 08/20/2001 -0500, you wrote: >Is there a way to have a Member Price or NonMember Price show depending on >if the user has logged into the catalog without duplicating the whole >catalog. If the user logs in, they will see the Member Prices for the >products on all the pages and if they don't log in, the see NonMember >prices? > >What would I have to do for the Subtotal field on the checkout page also? > >I am running Interchange 4.6 on RH 7.1. > >Any help is greatly apprectiated. > If you take a look at Autoload in your catalog.cfg you can see the way this is handled for 'dealers' (a feature of the construct demo). You could apply the same concept to 'members'. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ben H) Date: Tue Aug 21 12:14:00 2001 Subject: [ic] editing index.html file [more debugging info] I pulled this from the info section of the admin area. ============== Perl Version Perl 5.6.0 (called with: /usr/bin/perl) Optional Module Information LWP::Simple found (v1.34). MD5 found (v2.02). MIME::Base64 found (v2.12). SQL::Statement found (v0.1020). Safe::Hole found (v0.08). Storable found (v1.012). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped: ftfile sort rand =============== Again, the line in question: if($MVSAFE::Safe) { I'm thinking its related somehow to safe.pm. Does anyone know if the "Safe operations untrapped" is anything relevant?? Ok, now I'm finding that my ability to manipulate much of anything is quite restricted because of this error: { search error: your search file a valid database reference, was 'backup'. } Also, in the Tables area of the Admin section, nothing shows up. Same with the DB Tables area of the Info Area. ============= DB INFO (in info area Database Interfaces GDBM available (v1.03) No Berkeley DB_File. DBI enabled (v1.19), available drivers: ADO ExampleP Multiplex Pg Proxy mysql Database Tables [nothing] ============== Its sounding like some perl module may be corrupted or malfunctioning or causing conflicts or something. I'm using MySQL. I'm stumped. Is backup a DB table I should have, but for whatever reason, don't? Do any of you have any suggestions? Another bit of info that may be relevant was how I setup the IC permissions... [snip from makecat] # The type of permission structure for multiple user catalogs. # Select M for each user in own group (with interchange user in group) # G for all users in group of interchange user # U for all catalogs owned by interchange user (must be catuser as well) [/snip from makecat] I chose 'U'. It was the only structure I got operational with the least work. Ben crazy, whack, funky _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ben H) Date: Tue Aug 21 12:25:00 2001 Subject: [ic] editing index.html file I pulled this from the info section of the admin area. ============== Perl Version Perl 5.6.0 (called with: /usr/bin/perl) Optional Module Information LWP::Simple found (v1.34). MD5 found (v2.02). MIME::Base64 found (v2.12). SQL::Statement found (v0.1020). Safe::Hole found (v0.08). Storable found (v1.012). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.02). Safe operations untrapped: ftfile sort rand =============== Again, the line in question: if($MVSAFE::Safe) { I'm thinking its related somehow to safe.pm. Does anyone know if the "Safe operations untrapped" is anything relevant?? Ok, now I'm finding that my ability to manipulate much of anything is quite restricted because of this error: { search error: your search file a valid database reference, was 'backup'. } Also, in the Tables area of the Admin section, nothing shows up. Same with the DB Tables area of the Info Area. ============= DB INFO (in info area Database Interfaces GDBM available (v1.03) No Berkeley DB_File. DBI enabled (v1.19), available drivers: ADO ExampleP Multiplex Pg Proxy mysql Database Tables [nothing] ============== Its sounding like some perl module may be corrupted or malfunctioning or causing conflicts or something. I'm using MySQL. I'm stumped. Is backup a DB table I should have, but for whatever reason, don't? Do any of you have any suggestions? Another bit of info that may be relevant was how I setup the IC permissions... [snip from makecat] # The type of permission structure for multiple user catalogs. # Select M for each user in own group (with interchange user in group) # G for all users in group of interchange user # U for all catalogs owned by interchange user (must be catuser as well) [/snip from makecat] I chose 'U'. It was the only structure I got operational with the least work. Ben crazy, whack, funky _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 21 13:54:01 2001 Subject: [ic] Search with multiple page Quoting Stefano Malagoli (s.malagoli@datacode.it): > Hi everyone, I have made my own search engine using a page and an sql query > through the [query] tag. > In this result page do some othes stuff and I use [more] tag to display > other page. > When I do the search all it.s ok, but when I browse the other page I lose > all my parameter passed to the search engine. > > Is there a way to pass argument to the other page of my result set ? > Or is there a way to know if my page is viewing the fisrt page or another > one ? Actually there is: [query more=1 ml=10 form=" param1=[cgi value1] param2=[cgi value2] " list=1 sql="select * from yourtable"] [sql-code] [cgi value1] [/query] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Tue Aug 21 14:21:01 2001 Subject: [ic] Remove Products I am using the construct demo as a starting point for my own catalog. I have added my own products and done some other customization. I deleted the products that the construct demo comes with from the product table. But, from time to time and product will display on one of the pages with no image and no information, but the link will be to one of the old products that I deleted. How to I get rid of these old products and keep them from showing up on my catalog pages. I am running Interchange 4.6.5 on RH 7.1. I removed the products from the table by using the administrative ui. The products.txt looks fine. It shows only the products that I still want in the table. The administrative ui also shows the correct items. Does anyone have any idea why links to the deleted products show up on my catalog pages?? Thanks in advance Chad ============================================================================ Chad M. Wittrock IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 IIIII IIIII IIIII University of Northern Iowa IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 IIIII IIIII IIIIII Phone: (319) 273-7437 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Aug 21 14:34:00 2001 Subject: [ic] (no subject) Hello Interchange users, We are trying to have a form with a list of items as checkboxes. For instance if <input type=checkbox name=c-0001> was checked it would be passed to another page, which would then insert this item into a table. Sometimes there will be several items that will need to be inserted at once. This is the syntax that were playing around with. <FORM METHOD=POST ACTION="[process]"> <INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="items"> <INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> <INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="user_items.html"> <INPUT TYPE=HIDDEN NAME="mv_data_fields" VALUE="sku,category,user,subcategory"> Can some one point us in the right direction? Thanks Joe Bloggs and Company __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Tue Aug 21 15:18:01 2001 Subject: [ic] gdbm bug? I have this is a posters.txt database file (rows numbered for your convenience): --------------------------- item type price description title 1.Rainbow-P01 Rainbow Dolphins Poster 25.00 Poster -- Normal Rainbow 2.Rainbow-P02 Rainbow Dolphins Poster 35.00 Poster -- Hand-Signed by Artist Rainbow 3.Eclipse-P01 Eclipse Dolphins Poster 25.00 Poster -- Normal Rainbow 4.Eclipse-P02 Eclipse Dolphins Poster 35.00 Poster -- Hand-Signed by Artist Eclipse ---OTHER LINES, BUT NONE WITH title=Rainbow AND NONE WITH title=Eclipse--- I have this in a page: --------------------------- [page search="fi=posters/se=Rainbow/sf=title"]CLICK HERE[/page] (Rows 1,2,3 should match. I am getting three rows back.) Problems: ---------------------------- [item-field title] returns titles from rows 2,3,4 (not 1,2,3). [item-field type] returns nothing for rows 1,3. And the correct result for row 2. [item-field description] returns what [item-field type] should for rows 1,3. And the correct results for row 2. My results page contains this: --------------------------- [search-region] [search-list] <tr> <td>ITEM: [item-field item]</td> <td>TYPE: [item-field type]</td> <td>PRICE: [item-field price]</td> <td>DESCRIPTION: [item-field description]</td> <td>TITLE: [item-field title]</td> </tr> [/search-list] [/search-region] The results I get are this: --------------------------- <tr> <td>ITEM: Rainbow-P01</td> <td>TYPE: </td> <td>PRICE: 25.00</td> <td>DESCRIPTION: Rainbow Dolphins Poster</td> <td>TITLE: Rainbow </td> </tr> <tr> <td>ITEM: Rainbow-P02</td> <td>TYPE: Rainbow Dolphins Poster</td> <td>PRICE: 35.00</td> <td>DESCRIPTION: Poster -- Hand-Signed by Artist</td> <td>TITLE: Rainbow</td> </tr> <tr> <td>ITEM: Eclipse-P01</td> <td>TYPE: </td> <td>PRICE: 25.00</td> <td>DESCRIPTION: Eclipse Dolphins Poster</td> <td>TITLE: Eclipse </td> </tr> -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Tue Aug 21 15:28:01 2001 Subject: [ic] Remove Products > I am using the construct demo as a starting point for my own > catalog. I have > added my own products and done some other customization. I deleted the > products that the construct demo comes with from the product table. But, > from time to time and product will display on one of the pages > with no image > and no information, but the link will be to one of the old products that I > deleted. How to I get rid of these old products and keep them from showing > up on my catalog pages. Your old product references are still in the merchandising table. Do the same to this one as you did to the products. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Stephen E. Hargrove) Date: Tue Aug 21 15:30:14 2001 Subject: [ic] Link to ssh-2? I'm trying to get interchange installed. FWIW, I'm installing it from the .tar.gz on a Debian Woody system. ./configure completes successfully. I then cd to /usr/local/interchange and execute bin/makecat. I make it to the following question/response: run "sh /home/interchange/catalogs/foundation/config/installsample"? y /home/interchange/catalogs/foundation/config/installsample: reports: command not found and the system (apparently) copies some files. Then it begins spitting out streams of the following (edited for brevity): tar: ./working/ssh-2.4.0/include/sshuser.h: Cannot link to ./working/ssh-2.4.0/include/sshuser.h: No such file or directory tar: ./working/ssh-2.4.0/include/sshpgp.h: Cannot link to ./working/ssh-2.4.0/include/sshpgp.h: No such file or directory tar: ./working/ssh-2.4.0/include/sshfilexfer.h: Cannot link to ./working/ssh-2.4.0/include/sshfilexfer.h: No such file or directory tar: ./working/ssh-2.4.0/include/zlib.h: Cannot link to ./working/ssh-2.4.0/include/zlib.h: No such file or directory tar: ./working/ssh-2.4.0/include/zconf.h: Cannot link to ./working/ssh-2.4.0/include/zconf.h: No such file or directory tar: ./working/ssh-2.4.0/include/sshconf.h: Cannot link to ./working/ssh-2.4.0/include/sshconf.h: No such file or directory tar: ./working/ssh-2.4.0/include/sshdistdefs.h: Cannot link to ./working/ssh-2.4.0/include/sshdistdefs.h: No such file or directory tar: ./working/ssh-2.4.0/lib/sshutil/sshcore/sshsnprintf.h: Cannot link to ./working/ssh-2.4.0/lib/sshutil/sshcore/sshsnprintf.h: No such file or directory >From what I can tell, it's wanting the header files for SSH-2, which I have but it doesn't know where to find. How do I tell it where to find these files? Thanks. -- ____) ,_) (-(__ -|- _ _ ____) | (/_\/(/_ ( _______________________________________________ | We must know, we will know. -- David Hilbert | _______________________________________________ From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Tue Aug 21 15:46:01 2001 Subject: [ic] Remove Products GREAT!! Thanks alot! > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > Jonathan Clark > Sent: Tuesday, August 21, 2001 2:22 PM > To: interchange-users@interchange.redhat.COM > Subject: RE: [ic] Remove Products > > > > > > I am using the construct demo as a starting point for my own > > catalog. I have > > added my own products and done some other customization. I deleted the > > products that the construct demo comes with from the product table. But, > > from time to time and product will display on one of the pages > > with no image > > and no information, but the link will be to one of the old > products that I > > deleted. How to I get rid of these old products and keep them > from showing > > up on my catalog pages. > > Your old product references are still in the merchandising table. Do the > same to this one as you did to the products. > > Jonathan > Webmaint. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 21 16:43:00 2001 Subject: [ic] Credit card info encrypted twice by GPG! GPG: gpg (GnuPG) 1.0.6 IC: 4.7.4 OS: Yellowdog linux 1.3 GPG is double-encrypting the credit card info - It has to be passed through decryption twice to get down to the plain text. This only happens when the encryption is handled by IC as part of the submission process; a text encryption with the same command string and options in the shell works fine. I've looked at Order.pm and the Route's and nothing is jumping out at me. Ideas anyone? - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Erik Wheeler) Date: Tue Aug 21 16:46:00 2001 Subject: [ic] Executable in cgi-bin won't execute? Hello all: I just did 'makecat' to set up a store with Interchange 4.8.1 on RH 7.1. Actually, I did it twice--but both times, when I click on "Customer Entrance" or "Admin Interface", the browser gets no response from the server. When I try to run the executable (/cgi-bin/store) on the command line, it just hangs until I kill it. Shouldn't I be able to run it on the command line? Any pointers would be greatly appreciated. Erik From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Aug 21 16:48:01 2001 Subject: [ic] Admin UI and tutorial On Tue, 21 Aug 2001 francisv@dagupan.com wrote: > Can the Admin UI be accessed through the tutorial catalog? No, not without some work. The tutorial is just a tutorial, for your learning and enlightenment. Use makecat and foundation for anything you want to use with the admin UI. Jon From: interchange-users at interchange.redhat.com (Garry) Date: Tue Aug 21 16:58:01 2001 Subject: [ic] Remove Products I believe some items remain in the cross sell tables Garry ----- Original Message ----- From: "Chad Wittrock" <Chad.Wittrock@uni.edu> To: "Interchange-users" <interchange-users@anthrax.interchange.redhat.COM> Sent: Tuesday, August 21, 2001 7:20 PM Subject: [ic] Remove Products > I am using the construct demo as a starting point for my own catalog. I have > added my own products and done some other customization. I deleted the > products that the construct demo comes with from the product table. But, > from time to time and product will display on one of the pages with no image > and no information, but the link will be to one of the old products that I > deleted. How to I get rid of these old products and keep them from showing > up on my catalog pages. > > I am running Interchange 4.6.5 on RH 7.1. I removed the products from the > table by using the administrative ui. The products.txt looks fine. It shows > only the products that I still want in the table. The administrative ui also > shows the correct items. > > Does anyone have any idea why links to the deleted products show up on my > catalog pages?? > > Thanks in advance > Chad > > ============================================================================ > Chad M. Wittrock > IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Programmer Analyst > IIIIIIIIIIIIII IIIIIIIIIIIIII IIIIIIIIIIIII Gilchrist 255 > IIIII IIIII IIIII University of Northern Iowa > IIIII IIIII IIIIIIIIIII Cedar Falls, IA 50614-0007 > IIIII IIIII IIIIII Phone: (319) 273-7437 > IIIIIIIIIIIIII IIIII IIIIIIIIIIIIIII Fax: (319) 273-5836 > IIIIIIIIIIIIII IIIII IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Aug 21 17:18:01 2001 Subject: [ic] hiding a product in the product data table At 12:02 PM 8/21/2001 +0200, you wrote: >Hi, > >is there any function to hide a product in the product datatable? > >-tobias henle There's an 'inactive' field in the products table -- or you can create one of your own fields to act as one, then include the parameter in your searches. HAND, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Aug 21 17:21:01 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? At 03:15 PM 8/21/2001 +0300, you wrote: >Hi list, > >I have a simple question: How can I change the boot-order of the daemons >during >start-up (Running RH 7.1)? On my system I get IC started before MySQL, and >that >causes db-connection errors. I'm glad stefan answered your question, but I thought I would also mention that redhat-list@redhat.com usually has pretty good participants. Also, there are a variety of admin tools that will do the manual-labor portion of moving the INIT symlinks around for you (linuxconf, for one). HAND, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Aug 21 17:27:00 2001 Subject: [ic] check boxes [was: (no subject) ] At 02:33 PM 8/21/2001 -0400, you wrote: >Hello Interchange users, > >We are trying to have a form with a list of items as checkboxes. For >instance if ><input type=checkbox name=c-0001> was checked it would be passed to another >page, which would then insert this item into a table. Sometimes there >will be >several items that will need to be inserted at once. > >This is the syntax that were playing around with. ><FORM METHOD=POST ACTION="[process]"> ><INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="items"> ><INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert"> ><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="user_items.html"> ><INPUT TYPE=HIDDEN NAME="mv_data_fields" >VALUE="sku,category,user,subcategory"> > >Can some one point us in the right direction? > >Thanks >Joe Bloggs and Company It wasn't entirely clear regarding what you are asking, but maybe this will be of some help: [set do_some_stuff] <!-- check the value of some checkboxes --> [value checkbox1] ? [if value checkbox1 ...] ...mv_nextpage = ... [/if] [/set] <INPUT TYPE=HIDDEN NAME="mv_check" VALUE="do_some_stuff"> HAND, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 21 17:31:00 2001 Subject: [ic] gdbm bug? At 12:17 PM 08/21/2001 -0700, you wrote: >I have this is a posters.txt database file (rows numbered for your >convenience): >--------------------------- > item type price >description title >1.Rainbow-P01 Rainbow Dolphins Poster 25.00 Poster -- >Normal Rainbow >2.Rainbow-P02 Rainbow Dolphins Poster 35.00 Poster -- Hand-Signed by >Artist Rainbow >3.Eclipse-P01 Eclipse Dolphins Poster 25.00 Poster -- >Normal Rainbow >4.Eclipse-P02 Eclipse Dolphins Poster 35.00 Poster -- Hand-Signed by >Artist Eclipse >---OTHER LINES, BUT NONE WITH title=Rainbow AND NONE WITH >title=Eclipse--- > >I have this in a page: >--------------------------- >[page search="fi=posters/se=Rainbow/sf=title"]CLICK HERE[/page] > >(Rows 1,2,3 should match. I am getting three rows back.) > >Problems: >---------------------------- >[item-field title] returns titles from rows 2,3,4 (not 1,2,3). >[item-field type] returns nothing for rows 1,3. And the correct result >for row 2. >[item-field description] returns what [item-field type] should for rows >1,3. And the correct results for row 2. > >My results page contains this: >--------------------------- >[search-region] > [search-list] > <tr> ><td>ITEM: [item-field item]</td> ><td>TYPE: [item-field type]</td> ><td>PRICE: [item-field price]</td> ><td>DESCRIPTION: [item-field description]</td> ><td>TITLE: [item-field title]</td> > </tr> > > [/search-list] >[/search-region] > > >The results I get are this: >--------------------------- > <tr> ><td>ITEM: Rainbow-P01</td> ><td>TYPE: </td> ><td>PRICE: 25.00</td> ><td>DESCRIPTION: Rainbow Dolphins Poster</td> ><td>TITLE: Rainbow ></td> > </tr> > > <tr> ><td>ITEM: Rainbow-P02</td> ><td>TYPE: Rainbow Dolphins Poster</td> ><td>PRICE: 35.00</td> ><td>DESCRIPTION: Poster -- Hand-Signed by Artist</td> ><td>TITLE: Rainbow</td> > </tr> > > > <tr> ><td>ITEM: Eclipse-P01</td> ><td>TYPE: </td> ><td>PRICE: 25.00</td> ><td>DESCRIPTION: Eclipse Dolphins Poster</td> ><td>TITLE: Eclipse ></td> > </tr> > >-- >Richard Seymour : Anarchy Software, Inc. >- * - - * - - - * -+- * - - - * - - * - > `°º¤ø,¸ ¸,ø¤º°' > `°º¤ø,¸¸,ø¤º° Could be embedded carriage returns. Try this (from the shell, in your products directory): perl -i -p -e 's/\r//g' posters.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: interchange-users at interchange.redhat.com (Jason Kohles) Date: Tue Aug 21 17:36:00 2001 Subject: [ic] Executable in cgi-bin won't execute? On Tue, Aug 21, 2001 at 04:43:43PM -0400, Erik Wheeler wrote: > > When I try to run the executable (/cgi-bin/store) on the command line, it > just hangs until I kill it. Shouldn't I be able to run it on the command > line? > It isn't hanging, since its a cgi script it is expecting you to provide it with the headers and content of a cgi request. -- Red Hat Professional Consulting Jason Kohles (703)786-8036 (cellular) jkohles@redhat.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 21 18:09:01 2001 Subject: [ic] Credit card info encrypted twice by GPG! Quoting Ed LaFrance (edl@newmediaems.com): > GPG: gpg (GnuPG) 1.0.6 > IC: 4.7.4 > OS: Yellowdog linux 1.3 > > GPG is double-encrypting the credit card info - It has to be passed through > decryption twice to get down to the plain text. This only happens when the > encryption is handled by IC as part of the submission process; a text > encryption with the same command string and options in the shell works > fine. I've looked at Order.pm and the Route's and nothing is jumping out > at me. Ideas anyone? Sounds like both "encrypt" and "credit_card" are set in the route. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Tue Aug 21 18:12:01 2001 Subject: [ic] How do I make MySQL start before IC during a reboot? On Tue, 21 Aug 2001, Dan Browning wrote: > Also, there are a variety of admin tools that will do the manual-labor > portion of moving the INIT symlinks around for you (linuxconf, for > one). The safest is probably chkconfig, and it's standard in all Red Hat Linux installations AFAIK. See the manpage if you haven't used it before. Jon From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Tue Aug 21 19:00:00 2001 Subject: [ic] hiding a product in the product data table > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Dan Browning > Sent: Tuesday, August 21, 2001 2:16 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] hiding a product in the product data table > > At 12:02 PM 8/21/2001 +0200, you wrote: > >Hi, > > > >is there any function to hide a product in the product datatable? > > > >-tobias henle > > There's an 'inactive' field in the products table -- or you can create one > of your own fields to act as one, then include the parameter in your > searches. HAND, > Dan, I use a field in my database for this purpose. Have you figured out how to nest it into a search so that the user cannot see the item by simply changing the link in the address bar to not include the check for that field? Does it need to go into a search profile of some sort (I only have experience with link based searches). Our problem was that we had an item which the users are dying to purchase, be shown on the website due to a user changing the link manually and then purchasing the item. We'd rather not give them the chance to see items that are hidden if possible. Thanks! -Ron From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Aug 21 19:21:00 2001 Subject: [ic] hiding a product in the product data table "Ron Phipps" <rphipps@reliant-solutions.com> writes: [...] > > Dan, I use a field in my database for this purpose. Have you figured > out how to nest it into a search so that the user cannot see the item by > simply changing the link in the address bar to not include the check for > that field? Does it need to go into a search profile of some sort (I > only have experience with link based searches). Our problem was that we > had an item which the users are dying to purchase, be shown on the > website due to a user changing the link manually and then purchasing the > item. We'd rather not give them the chance to see items that are hidden > if possible. Thanks! Maybe use a search profile ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 21 19:24:00 2001 Subject: [ic] Credit card info encrypted twice by GPG! At 06:07 PM 08/21/2001 -0400, you wrote: >Quoting Ed LaFrance (edl@newmediaems.com): > > GPG: gpg (GnuPG) 1.0.6 > > IC: 4.7.4 > > OS: Yellowdog linux 1.3 > > > > GPG is double-encrypting the credit card info - It has to be passed > through > > decryption twice to get down to the plain text. This only happens when > the > > encryption is handled by IC as part of the submission process; a text > > encryption with the same command string and options in the shell works > > fine. I've looked at Order.pm and the Route's and nothing is jumping out > > at me. Ideas anyone? > >Sounds like both "encrypt" and "credit_card" are set in the route. > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> Hmmm... encrypt is set to 0 in all routes; credit_card is set to 1 in the last route (main) and is omitted from all others. This is exactly the way the foundation demo was distributed with 4.7.4. Setting credit_card to 0 in the last route did the trick. So when both credit_card and encrypt are set to 0, but an encryptor is supplied, the credit card info is encrypted. Never would have thought as such... boolean logic re-invented, I guess ;-} Thanks! - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Tue Aug 21 20:40:01 2001 Subject: [ic] Credit card info encrypted twice by GPG! Quoting Ed LaFrance (edl@newmediaems.com): > At 06:07 PM 08/21/2001 -0400, you wrote: > >Quoting Ed LaFrance (edl@newmediaems.com): > > > GPG: gpg (GnuPG) 1.0.6 > > > IC: 4.7.4 > > > OS: Yellowdog linux 1.3 > > > > > > GPG is double-encrypting the credit card info - It has to be passed > > through > > > decryption twice to get down to the plain text. This only happens when > > the > > > encryption is handled by IC as part of the submission process; a text > > > encryption with the same command string and options in the shell works > > > fine. I've looked at Order.pm and the Route's and nothing is jumping out > > > at me. Ideas anyone? > > > >Sounds like both "encrypt" and "credit_card" are set in the route. > > > >-- > >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > >phone +1.513.523.7621 <mheins@redhat.com> > > Hmmm... encrypt is set to 0 in all routes; credit_card is set to 1 in the > last route (main) and is omitted from all others. This is exactly the way > the foundation demo was distributed with 4.7.4. > > Setting credit_card to 0 in the last route did the trick. So when both > credit_card and encrypt are set to 0, but an encryptor is supplied, the > credit card info is encrypted. Never would have thought as such... boolean > logic re-invented, I guess ;-} Hmm. It is supposed to detect that the CC is already encrypted, as in &credit_card=standard without the "keep". Perhaps the detection regex is wrong... Try changint the detection regex in Order.pm from $::Values->{mv_credit_card_info} =~ /BEGIN\s+PGP\s+MESSAGE/ and $pre_encrypted = 1; to $::Values->{mv_credit_card_info} =~ /BEGIN\s+[PG][GP][PG]\s+MESSAGE/ and $pre_encrypted = 1; and see if that makes a difference. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Tue Aug 21 20:48:00 2001 Subject: [ic] hiding a product in the product data table On Wed, Aug 22, 2001 at 01:20:25AM +0200, Stefan Hornburg (Racke) wrote: > "Ron Phipps" <rphipps@reliant-solutions.com> writes: > > > [...] > > > > > Dan, I use a field in my database for this purpose. Have you figured > > out how to nest it into a search so that the user cannot see the item by > > simply changing the link in the address bar to not include the check for > > that field? Does it need to go into a search profile of some sort (I > > only have experience with link based searches). Our problem was that we > > had an item which the users are dying to purchase, be shown on the > > website due to a user changing the link manually and then purchasing the > > item. We'd rather not give them the chance to see items that are hidden > > if possible. Thanks! > > Maybe use a search profile ? Set up your flypage to check as well. Be careful to be very clear about what that field does. We have such a "status" field and clients **will** find a wide variety of uses: to hide, suspend, remove etc.... Very inconsistent and trouble down the road. > > Ciao > Racke > > > -- > Racke happily hacks Interchange and maintains Debian packages like Courier. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Tue Aug 21 21:09:01 2001 Subject: [ic] gdbm bug? Ed LaFrance wrote: > > At 12:17 PM 08/21/2001 -0700, you wrote: > >I have this is a posters.txt database file (rows numbered for your > >convenience): > >--------------------------- > > item type price > >description title > >1.Rainbow-P01 Rainbow Dolphins Poster 25.00 Poster -- > >Normal Rainbow > >2.Rainbow-P02 Rainbow Dolphins Poster 35.00 Poster -- Hand-Signed by > >Artist Rainbow > >3.Eclipse-P01 Eclipse Dolphins Poster 25.00 Poster -- > >Normal Rainbow > >4.Eclipse-P02 Eclipse Dolphins Poster 35.00 Poster -- Hand-Signed by > >Artist Eclipse > >---OTHER LINES, BUT NONE WITH title=Rainbow AND NONE WITH > >title=Eclipse--- > > > >I have this in a page: > >--------------------------- > >[page search="fi=posters/se=Rainbow/sf=title"]CLICK HERE[/page] > > > >(Rows 1,2,3 should match. I am getting three rows back.) > > > >Problems: > >---------------------------- > >[item-field title] returns titles from rows 2,3,4 (not 1,2,3). > >[item-field type] returns nothing for rows 1,3. And the correct result > >for row 2. > >[item-field description] returns what [item-field type] should for rows > >1,3. And the correct results for row 2. > > > > Could be embedded carriage returns. Try this (from the shell, in your > products directory): > > perl -i -p -e 's/\r//g' posters.txt Thanks. But that didn't help. (GDBM file was rebuilt, but results seem to be the same.) -- Richard Seymour, Anarchy Software, Inc. rseymour@anarchysoftware.com The opinions expressed are those of my employer, not my own. From: interchange-users at interchange.redhat.com (Stephen E. Hargrove) Date: Tue Aug 21 23:29:00 2001 Subject: [ic] Link to ssh-2? I'm not trying to rude or pushy, but if anyone has a suggestion as to the following, I'd sure appreciate it. I've been trying to figure this out for a few hours now, and I'm stumped. Thanks. On Tue, 21 Aug 2001, I wrote: > I'm trying to get interchange installed. FWIW, I'm installing it from the > .tar.gz on a Debian Woody system. > > ./configure completes successfully. I then cd to /usr/local/interchange > and execute bin/makecat. I make it to the following question/response: > > run "sh /home/interchange/catalogs/foundation/config/installsample"? y > /home/interchange/catalogs/foundation/config/installsample: reports: > command not found > > and the system (apparently) copies some files. Then it begins spitting > out streams of the following (edited for brevity): > > tar: ./working/ssh-2.4.0/include/sshuser.h: Cannot link to > ./working/ssh-2.4.0/include/sshuser.h: No such file or directory > tar: ./working/ssh-2.4.0/include/sshpgp.h: Cannot link to > ./working/ssh-2.4.0/include/sshpgp.h: No such file or directory > tar: ./working/ssh-2.4.0/include/sshfilexfer.h: Cannot link to > ./working/ssh-2.4.0/include/sshfilexfer.h: No such file or directory > tar: ./working/ssh-2.4.0/include/zlib.h: Cannot link to > ./working/ssh-2.4.0/include/zlib.h: No such file or directory > tar: ./working/ssh-2.4.0/include/zconf.h: Cannot link to > ./working/ssh-2.4.0/include/zconf.h: No such file or directory > tar: ./working/ssh-2.4.0/include/sshconf.h: Cannot link to > ./working/ssh-2.4.0/include/sshconf.h: No such file or directory > tar: ./working/ssh-2.4.0/include/sshdistdefs.h: Cannot link to > ./working/ssh-2.4.0/include/sshdistdefs.h: No such file or directory > tar: ./working/ssh-2.4.0/lib/sshutil/sshcore/sshsnprintf.h: Cannot link to > ./working/ssh-2.4.0/lib/sshutil/sshcore/sshsnprintf.h: No such file or > directory > > From what I can tell, it's wanting the header files for SSH-2, which I > have but it doesn't know where to find. How do I tell it where to find > these files? > > Thanks. > -- ____) ,_) (-(__ -|- _ _ ____) | (/_\/(/_ ( _______________________________________________ | #define NULL 0 /* silly thing is, we don't | | even use this */ -- Larry Wall in perl.c | | from the perl source code | _______________________________________________ From: interchange-users at interchange.redhat.com (Peter & Darlene) Date: Wed Aug 22 00:13:01 2001 Subject: [ic] Simple fly page question...maybe I was setting up IC 4.8 with company info, privacy policy, inserting products and generally have a great time using more or less the standard foundation store with some cosmetic changes. Then I noticed on a product page that the image was located in the centre of the page, so I thought lets just hit the fly page and change the <td> tag to valign="top" instead of "centre". Well imagine my surprise when NONE of the graphics (on the fly page only) showed up! I had a similar issue with IC 4.6 and ended up re-installing. Any ideas? From: interchange-users at interchange.redhat.com (Dennis Schoen) Date: Wed Aug 22 03:04:00 2001 Subject: [ic] Link to ssh-2? On Tue, Aug 21, 2001 at 10:29:01PM -0500, Stephen E. Hargrove wrote: > > I'm not trying to rude or pushy, but if anyone has a suggestion as to the > following, I'd sure appreciate it. I've been trying to figure this out > for a few hours now, and I'm stumped. why don't you try the debian packages? I guess you know this link: http://ftp.interchange.redhat.com/interchange/4.8/debian/ Dennis -- "The Idea Is Good But The World Isn't Ready Yet" From: interchange-users at interchange.redhat.com (root) Date: Wed Aug 22 04:36:00 2001 Subject: [ic] checkout ERROR: Please help i got this in my error.log file: 203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/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. > when someone places and order the order goes through but you dont see the confirm page. Just an internal error message??????? i am not sure how to fix this at all??? and i dont know how it started happening the store was working fine before..... the before what is what i dont know. snowy From: interchange-users at interchange.redhat.com (root) Date: Wed Aug 22 04:47:00 2001 Subject: [ic] ERROR with checkout ????? got this in my error.log file: 203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/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. > when someone places and order the order goes through but you dont see the confirm page. Just an internal error message??????? i am not sure how to fix this at all??? and i dont know how it started happening the store was working fine before..... the before what is what i dont know. snowy From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Wed Aug 22 06:00:01 2001 Subject: [ic] Accessories help Hi.. thanx... this solved the problem... looks like there is only one left... both the quantity pricing and the size modifier work but as soon as i refresh the basket (at ord/basket or ord/checkout)... it looses the SIZE modifier.. (the quantity pricing still works after the refresh.. but the size modifier doesn`t... with [item-modifier size] i get befor the refresh my "X" (size X) and after the refresh... nothing :) it is empty.. what could cause the loose of this modifier value ? thanx mike ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, August 21, 2001 5:37 PM Subject: Re: [ic] Accessories help > At 02:02 PM 08/21/2001 +0200, you wrote: > >Append... > > > >I`ve successfully added a drop-down menu where the sizes in the products > >table con be selected. > >([item_accessories size]) > > > >[price quantity=10 code=[item-code] size=X] > >This shows the price mentioned in the product database. The price doesn`t > >change... not with quantity=10 (quantity prricing) nor with the modifier > >size=X. > > > >Is there any setting which should be added to catalog.cfg or is something > >else wrong ? > >(In catalog.cfg i tryd with and without "UseModifier size" > > Make sure your CommonAdjust string includes: > > ==size:pricing > > - Ed L. > > > >thanx > >mike > >----- Original Message ----- > >From: "Michael Mangeng" <interchange@vis.at> > >To: <interchange-users@anthrax.interchange.redhat.com> > >Sent: Tuesday, August 21, 2001 11:52 AM > >Subject: [ic] Accessories help > > > > > > > Hi > > > > > > I need help with the accessories system. > > > Ok, in the table pricing i can add e.g 2 columns named L and XL which > >should > > > represent the size of a product. To each product in this table i can add > >now > > > price differences to the price in the products table, when one of this > > > accessories is chosen by the user. > > > > > > pricing: > > > sku ... ... XL X > > > 001 . . 2 1 > > > > > > products: > > > sku ... ... price size > > > 001 . . 10 M, X, XL > > > > > > As far as i know this would cause the price increases by 1 if we choose > >size > > > X and by 2 if we choose size XL right ? > > > > > > My problem now is now (as long as the information above is right) how i > >have > > > to add the select box into flypage and ord/basket. > > > > > > I`ve tried it with: > > > > > > [accessories code="[item-code]" > > > type=radio > > > attribute=size > > > table=products] > > > > > > ...in flypage.html.. but nothing appears... > > > > > > thanx > > > mike > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Gavin Harper) Date: Wed Aug 22 07:28:01 2001 Subject: [ic] [Sorry not working] Uploading Images 4.8.1 >> Hi Everyone, >> >> Has anyone else noticed that you can't upload images correctly with the >>admin tool in release version 4.8.1 of IC? >>It used to work on previous versions, but now if you go to the Items section >>of the admin tool and try to change the images using Browse >>it uploads the image with the full path name from my local machine for >>example: >> >> E:\Documents and Settings\Administrator\Desktop\image.jpg >> >> Obviously this doesn't work very well! > >It should, at least if your meta display type is "imagehelper". > >> Anyone have any ideas how to fix this? >> > >Make sure the metadata is: > >code: products::image >type: imagehelper >prepend: http://__SAMPLEHTML__ >outboard: images/items > >code: products::thumb >type: imagehelper >prepend: http://__SAMPLEHTML__ >outboard: images/thumb Sorry Mike but I have checked the mv_metadata.asc file and it is exactly as you specify above. I'm still having the sames problems. Any ideas now? Thanks for all you help so far. Gavin From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 09:43:01 2001 Subject: [ic] 4.8.1 Leaving 'template:' header blank in pages Quoting Zack Johnson (zack@office.standardprinting.net): > We're having a number of problem's where, after editing via the UI, the > header of a page goes from: > > [comment] > ui_template: Yes > ui_template_name: leftright > [/comment] > > to > > [comment] > ui_template: Yes > ui_template_name: > [/comment] > > Any thoughts? We upgraded the RPM's (-Uvh) from 4.6.5 to 4.7.7 to 4.8.1 > rebuilt packages from source (lot's errors) to official 4.8.1 binaries. > Maybe that's the problem. . . > Are these old-style templates from the 4.6.5 tree, or the newer-style templates? -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From: interchange-users at interchange.redhat.com (Viktors Rotanovs) Date: Wed Aug 22 10:12:00 2001 Subject: [ic] "widget" field in Template Editor (template_edit) Hello, template editor doesn't show "widget" field by default, I fixed that by changing line 609 of template_edit.html to for(qw/description widget help options height width filter prefilter/) { Is it a bug or there is some reason for not showing "widget" field? Best Wishes, Viktors Rotanovs From: interchange-users at interchange.redhat.com (Viktors Rotanovs) Date: Wed Aug 22 10:15:00 2001 Subject: [ic] editing index.html file [more debugging info] Hi Ben, I recently had "Internal Server Error" when trying to edit *.html from UI, fixed by reviewing database definitions in dbconf/ twice -- there was a typo there. Hope this helps! Best Wishes, Viktors Rotanovs ----- Original Message ----- From: "Ben H" <z153iq@yahoo.com> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, August 21, 2001 7:17 PM Subject: Re: [ic] editing index.html file [more debugging info] > I pulled this from the info section of the admin area. > > ============== > Perl Version Perl 5.6.0 (called with: /usr/bin/perl) > > Optional Module Information LWP::Simple found (v1.34). > MD5 found (v2.02). > MIME::Base64 found (v2.12). > SQL::Statement found (v0.1020). > Safe::Hole found (v0.08). > Storable found (v1.012). > Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. > URI::URL found (v5.02). > > Safe operations untrapped: ftfile sort rand > =============== > > Again, the line in question: > > if($MVSAFE::Safe) { > > I'm thinking its related somehow to safe.pm. > Does anyone know if the "Safe operations untrapped" is anything relevant?? > > Ok, now I'm finding that my ability to manipulate much of anything is quite > restricted because of this error: > { search error: your search file a valid database reference, was > 'backup'. } > > Also, in the Tables area of the Admin section, nothing shows up. > Same with the DB Tables area of the Info Area. > > ============= DB INFO (in info area > Database Interfaces GDBM available (v1.03) > No Berkeley DB_File. > DBI enabled (v1.19), available drivers: > ADO > ExampleP > Multiplex > Pg > Proxy > mysql > > Database Tables [nothing] > ============== > > Its sounding like some perl module may be corrupted or malfunctioning or > causing conflicts or something. > I'm using MySQL. > > I'm stumped. Is backup a DB table I should have, but for whatever reason, > don't? Do any of you have any suggestions? > Another bit of info that may be relevant was how I setup the IC permissions... > > [snip from makecat] > # The type of permission structure for multiple user catalogs. > # Select M for each user in own group (with interchange user in group) > # G for all users in group of interchange user > # U for all catalogs owned by interchange user (must be catuser as well) > [/snip from makecat] > > I chose 'U'. It was the only structure I got operational with the least work. > > Ben > > crazy, whack, funky > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Aug 22 10:55:01 2001 Subject: [ic] 4.8.1 Leaving 'template:' header blank in pages These are generated using 4.8.1's 'template edit' feature. After submitting the note to the list, I completely removed interchange (rpm -e, rm /var/lib/interchange -Rf, rm /usr/lib/interchange -Rf). I then re-installed from downloaded 4.8.1 rpms (rpm -ivh). Using the latest install, I created a new cat based on foundation. Using the template editor, we created a new template based on leftright called 'test'. Test would not work. Furthermore, pages based on 'test' would not display all of the normal page options as you would expect. Upon inspecting the template file, we found the the 'ui_template' var would read 'leftright' instead of 'yes'. Whenever we viewed the 'test' with the template editor, the contents we blank even though 'cat test' revealed a copy of 'leftright'. We have since copied the 'foundation' folder to 'new_style' and switched the 'default' symlink from 'foundation' to 'new_style'. This way we can edit 'leftright' directly and avoid these problems. ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 22, 2001 9:42 AM Subject: Re: [ic] 4.8.1 Leaving 'template:' header blank in pages > Quoting Zack Johnson (zack@office.standardprinting.net): > > We're having a number of problem's where, after editing via the UI, the > > header of a page goes from: > > > > [comment] > > ui_template: Yes > > ui_template_name: leftright > > [/comment] > > > > to > > > > [comment] > > ui_template: Yes > > ui_template_name: > > [/comment] > > > > Any thoughts? We upgraded the RPM's (-Uvh) from 4.6.5 to 4.7.7 to 4.8.1 > > rebuilt packages from source (lot's errors) to official 4.8.1 binaries. > > Maybe that's the problem. . . > > > > Are these old-style templates from the 4.6.5 tree, or the newer-style > templates? > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Being against torture ought to be sort of a bipartisan thing. > -- Karl Lehenbauer > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Wed Aug 22 11:18:00 2001 Subject: [ic] gdbm bug? > Ed LaFrance wrote: > > Could be embedded carriage returns. Try this (from the shell, in your > > products directory): > > > > perl -i -p -e 's/\r//g' posters.txt > > Thanks. But that didn't help. (GDBM file was rebuilt, but results seem > to be the same.) I examined the source text file with hex dump and the only special characters I see are tabs and line feeds -- no \r's at all. Everything looks correct. So, I added this to my catalog, trying to sidestep GDBM: Database posters DB_FILE 1 I deleted the gdbm files and restarted interchange. My posters.db file was created, so I guess I'm sidestepping gdbm. But I get the same incorrect results. I'm beginning to smell a bug in either (a) interchange, or (b) the perl modules that support interchange. This is getting very frustrating. Any ideas? -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 22 11:24:00 2001 Subject: [ic] Credit card info encrypted twice by GPG! At 08:39 PM 08/21/2001 -0400, you wrote: >Quoting Ed LaFrance (edl@newmediaems.com): > > At 06:07 PM 08/21/2001 -0400, you wrote: > > >Quoting Ed LaFrance (edl@newmediaems.com): > > > > GPG: gpg (GnuPG) 1.0.6 > > > > IC: 4.7.4 > > > > OS: Yellowdog linux 1.3 > > > > > > > > GPG is double-encrypting the credit card info - It has to be passed > > > through > > > > decryption twice to get down to the plain text. This only happens > when > > > the > > > > encryption is handled by IC as part of the submission process; a text > > > > encryption with the same command string and options in the shell works > > > > fine. I've looked at Order.pm and the Route's and nothing is > jumping out > > > > at me. Ideas anyone? > > > > > >Sounds like both "encrypt" and "credit_card" are set in the route. > > > > > >-- > > >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > > >phone +1.513.523.7621 <mheins@redhat.com> > > > > Hmmm... encrypt is set to 0 in all routes; credit_card is set to 1 in the > > last route (main) and is omitted from all others. This is exactly the way > > the foundation demo was distributed with 4.7.4. > > > > Setting credit_card to 0 in the last route did the trick. So when both > > credit_card and encrypt are set to 0, but an encryptor is supplied, the > > credit card info is encrypted. Never would have thought as such... boolean > > logic re-invented, I guess ;-} > >Hmm. It is supposed to detect that the CC is already encrypted, as in > > &credit_card=standard > >without the "keep". Perhaps the detection regex is wrong... Try changint >the detection regex in Order.pm from > > $::Values->{mv_credit_card_info} =~ /BEGIN\s+PGP\s+MESSAGE/ > and $pre_encrypted = 1; > >to > > $::Values->{mv_credit_card_info} =~ /BEGIN\s+[PG][GP][PG]\s+MESSAGE/ > and $pre_encrypted = 1; > >and see if that makes a difference. > That is probably the crux of the problem - this check is not present in Order.pm in IC 4.7.4. I imagine it would go in sub encrypt_cc(), which obligingly encrypts whatever it is passed to it in its current state. I don't want to mess with the customer's installation right now because they have gone live, but it looks like this would do the trick. I assume that the 4.8.x releases already have it. FWIW, your revision of the regex is not necessary; the first line of a GPG block is equivalent to that of PGP: -----BEGIN PGP MESSAGE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org hQIOA3AMRDXaPVSuEAf+KXjRtt8G0GS4Zd8uCrxbm4j6K99+iOLh/ixsSZclC5RZ mg0Z53Fq/dMLtjkA9+sDTd4/0TP25PAgF2K1YatSVG99PpTZHp6U8rpDyqk5o/Nr +8wAN5pF2s/ZPhEjTLtEav9/k5CGnX52jFb8scmhrKE/tbxJH/YtGIfMMBjzG+gH ... =yKNT -----END PGP MESSAGE----- Not trying to be a pain, but I still don't understand the logic behind the encrypt and credit_card parameters for route (0 + 0 = 1). - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 22 11:31:01 2001 Subject: [ic] Accessories help At 11:59 AM 08/22/2001 +0200, you wrote: >Hi.. > >thanx... this solved the problem... >looks like there is only one left... >both the quantity pricing and the size modifier work but as soon as i >refresh the basket (at ord/basket or ord/checkout)... it looses the SIZE >modifier.. (the quantity pricing still works after the refresh.. but the >size modifier doesn`t... with [item-modifier size] i get befor the refresh >my "X" (size X) and after the refresh... nothing :) it is empty.. > >what could cause the loose of this modifier value ? I dunno. Could you post the chunk of code from your basket which includes the size display? - Ed L. >thanx >mike >----- Original Message ----- >From: "Ed LaFrance" <edl@newmediaems.com> >To: <interchange-users@interchange.redhat.com> >Sent: Tuesday, August 21, 2001 5:37 PM >Subject: Re: [ic] Accessories help > > > > At 02:02 PM 08/21/2001 +0200, you wrote: > > >Append... > > > > > >I`ve successfully added a drop-down menu where the sizes in the products > > >table con be selected. > > >([item_accessories size]) > > > > > >[price quantity=10 code=[item-code] size=X] > > >This shows the price mentioned in the product database. The price >doesn`t > > >change... not with quantity=10 (quantity prricing) nor with the modifier > > >size=X. > > > > > >Is there any setting which should be added to catalog.cfg or is something > > >else wrong ? > > >(In catalog.cfg i tryd with and without "UseModifier size" > > > > Make sure your CommonAdjust string includes: > > > > ==size:pricing > > > > - Ed L. > > > > > > >thanx > > >mike > > >----- Original Message ----- > > >From: "Michael Mangeng" <interchange@vis.at> > > >To: <interchange-users@anthrax.interchange.redhat.com> > > >Sent: Tuesday, August 21, 2001 11:52 AM > > >Subject: [ic] Accessories help > > > > > > > > > > Hi > > > > > > > > I need help with the accessories system. > > > > Ok, in the table pricing i can add e.g 2 columns named L and XL which > > >should > > > > represent the size of a product. To each product in this table i can >add > > >now > > > > price differences to the price in the products table, when one of this > > > > accessories is chosen by the user. > > > > > > > > pricing: > > > > sku ... ... XL X > > > > 001 . . 2 1 > > > > > > > > products: > > > > sku ... ... price size > > > > 001 . . 10 M, X, XL > > > > > > > > As far as i know this would cause the price increases by 1 if we >choose > > >size > > > > X and by 2 if we choose size XL right ? > > > > > > > > My problem now is now (as long as the information above is right) how >i > > >have > > > > to add the select box into flypage and ord/basket. > > > > > > > > I`ve tried it with: > > > > > > > > [accessories code="[item-code]" > > > > type=radio > > > > attribute=size > > > > table=products] > > > > > > > > ...in flypage.html.. but nothing appears... > > > > > > > > thanx > > > > mike > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@interchange.redhat.com > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 12:15:00 2001 Subject: [ic] 4.8.1 Leaving 'template:' header blank in pages Quoting Zack Johnson (zack@office.standardprinting.net): > These are generated using 4.8.1's 'template edit' feature. After submitting > the note to the list, I completely removed interchange (rpm -e, rm > /var/lib/interchange -Rf, rm /usr/lib/interchange -Rf). I then re-installed > from downloaded 4.8.1 rpms (rpm -ivh). Using the latest install, I created > a new cat based on foundation. Using the template editor, we created a new > template based on leftright called 'test'. Test would not work. One thing that may not be obvious, now that I go through it -- you have to reconfig after you create a new template. > Furthermore, pages based on 'test' would not display all of the normal page > options as you would expect. They don't when you "create new page", but if you save and then go back and edit the page again they should show up. I will see what I can do about showing them the first go-round. > > Upon inspecting the template file, we found the the 'ui_template' var would > read 'leftright' instead of 'yes'. Whenever we viewed the 'test' with the > template editor, the contents we blank even though 'cat test' revealed a > copy of 'leftright'. > The value of ui_template doesn't really matter as long as it is not blank. > We have since copied the 'foundation' folder to 'new_style' and switched the > 'default' symlink from 'foundation' to 'new_style'. This way we can edit > 'leftright' directly and avoid these problems. > I am still unable to duplicate your problem of the template name not showing up in the generated page. I did just what you said: 1. Created a new "test" template based on leftright. 2. Reconfigged. 3. Created a new page "testit" using "test" template. 4. Saved page. 5. Edited "testit" again and noticed it showed that it used the "test" template and showed the component options for the test template. 6. Saved again. All worked as I would have expected. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Experience is what allows you to recognize a mistake the second time you make it. -- unknown From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 22 12:21:01 2001 Subject: [ic] gdbm bug? At 08:17 AM 08/22/2001 -0700, you wrote: > > Ed LaFrance wrote: > > > Could be embedded carriage returns. Try this (from the shell, in your > > > products directory): > > > > > > perl -i -p -e 's/\r//g' posters.txt > > > > Thanks. But that didn't help. (GDBM file was rebuilt, but results seem > > to be the same.) > >I examined the source text file with hex dump and the only special >characters I see are tabs and line feeds -- no \r's at all. Everything >looks correct. > >So, I added this to my catalog, trying to sidestep GDBM: > > Database posters DB_FILE 1 > >I deleted the gdbm files and restarted interchange. My posters.db file >was created, so I guess I'm sidestepping gdbm. > >But I get the same incorrect results. > >I'm beginning to smell a bug in either (a) interchange, or (b) the perl >modules that support interchange. > Or possibly your Perl installation or database source file. Attach the latter in a reply so we can take a look. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 13:09:00 2001 Subject: [ic] gdbm bug? Quoting Richard Seymour (rseymour@anarchysoftware.com): > > Ed LaFrance wrote: > > > Could be embedded carriage returns. Try this (from the shell, in your > > > products directory): > > > > > > perl -i -p -e 's/\r//g' posters.txt > > > > Thanks. But that didn't help. (GDBM file was rebuilt, but results seem > > to be the same.) > > I examined the source text file with hex dump and the only special > characters I see are tabs and line feeds -- no \r's at all. Everything > looks correct. > > So, I added this to my catalog, trying to sidestep GDBM: > > Database posters DB_FILE 1 > > I deleted the gdbm files and restarted interchange. My posters.db file > was created, so I guess I'm sidestepping gdbm. > > But I get the same incorrect results. > > I'm beginning to smell a bug in either (a) interchange, or (b) the perl > modules that support interchange. > This has nothing to do with GDBM. The context is completely lost because the subject doesn't have anything to do with the real problem, which as I recall was not finding some word in some field. Try putting su=1 in the search spec and see what happens. I am guessing the problem might have to do with your locale and what constitutes a word, but I cannot tell. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 13:11:00 2001 Subject: [ic] Credit card info encrypted twice by GPG! Quoting Ed LaFrance (edl@newmediaems.com): > Not trying to be a pain, but I still don't understand the logic behind the > encrypt and credit_card parameters for route (0 + 0 = 1). The encryption is happening when you do &credit_card=standard. encrypt Encrypt the entire message credit_card Encrypt only the card info I know this works, as we use it extensively for several clients. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From: interchange-users at interchange.redhat.com (Jeremy Peel) Date: Wed Aug 22 13:53:00 2001 Subject: [ic] Remove Products Original Message: 4 Date: Tue, 21 Aug 2001 13:20:08 -0500 From: Chad Wittrock <Chad.Wittrock@uni.edu> To: Interchange-users <interchange-users@anthrax.interchange.redhat.COM> Subject: [ic] Remove Products Reply-To: interchange-users@interchange.redhat.com I am using the construct demo as a starting point for my own catalog. I have added my own products and done some other customization. I deleted the products that the construct demo comes with from the product table. But, from time to time and product will display on one of the pages with no image and no information, but the link will be to one of the old products that I deleted. How to I get rid of these old products and keep them from showing up on my catalog pages. I am running Interchange 4.6.5 on RH 7.1. I removed the products from the table by using the administrative ui. The products.txt looks fine. It shows only the products that I still want in the table. The administrative ui also shows the correct items. Does anyone have any idea why links to the deleted products show up on my catalog pages?? Thanks in advance Chad Hello Chad, I think your products are still in the Merchandising table not the mv_metadata table. I hope this helps Regards, Jeremy Peel From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Wed Aug 22 14:24:01 2001 Subject: [ic] gdbm bug? This is a multi-part message in MIME format. --------------3FC91A6D420B245CEB2BD147 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > >I'm beginning to smell a bug in either (a) interchange, or (b) the perl > >modules that support interchange. Ed LaFrance wrote: > Or possibly your Perl installation or database source file. Attach the > latter in a reply so we can take a look. Here is my three line database source file, currently test.txt. -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° --------------3FC91A6D420B245CEB2BD147 Content-Type: application/octet-stream; name="test.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.txt" aXRlbQl0aXRsZQlwcmljZQlkZXNjcmlwdGlvbgl0eXBlClJhaW5ib3ctUDAxCVJhaW5ib3cg RG9scGhpbnMgUG9zdGVyCTI1LjAwCVBvc3RlciAtLSBOb3JtYWwJUmFpbmJvdwpSYWluYm93 LVAwMglSYWluYm93IERvbHBoaW5zIFBvc3RlcgkzNS4wMAlQb3N0ZXIgLS0gSGFuZC1TaWdu ZWQgYnkgQXJ0aXN0CVJhaW5ib3cKRWNsaXBzZS1QMDEJRWNsaXBzZSBEb2xwaGlucyBQb3N0 ZXIJMjUuMDAJUG9zdGVyIC0tIE5vcm1hbAlSYWluYm93Cg== --------------3FC91A6D420B245CEB2BD147-- From: interchange-users at interchange.redhat.com (Sekou Nensala) Date: Wed Aug 22 14:26:00 2001 Subject: [ic] Problems using Page Editor in IC 4.8 --0-1024872456-998504759=:22643 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've just upgraded from IC 4.6 to 4.8 and have almost everything working except for one thing. 1. When I log in as the administrator and then select "Content" from the menu, a listing of all the pages (flypage.html, results.html, etc) appears. However, if I click on the link for any of these .html pages, what would normally spawn the editor utility for that page now gives me an HTTP 500 Internal Server Error - Page Not Found. I've tried searching my directory structure to find out where the page editor file is located, but I haven't been able to locate it. Also, no posts of this kind have appeared in the mailing list. Thanks for any insight ;-) Sekou Neoshi, "I just might be the last woman on Earth who openly admits to still grooving to the Spice Girls...." GP __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ --0-1024872456-998504759=:22643-- From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Wed Aug 22 14:33:00 2001 Subject: [ic] search results problem (WAS: gdbm bug?) Mike Heins wrote: > This has nothing to do with GDBM. The context is completely lost > because the subject doesn't have anything to do with the real problem, > which as I recall was not finding some word in some field. The problems are numerous (see below). > Try putting su=1 in the search spec and see what happens. I am guessing > the problem might have to do with your locale and what constitutes > a word, but I cannot tell. su=1 had no effect >From my original post: > I have this is a posters.txt database file (rows numbered for your convenience): > --------------------------- > item type price description title > 1.Rainbow-P01 Rainbow Dolphins Poster 25.00 Poster -- Normal Rainbow > 2.Rainbow-P02 Rainbow Dolphins Poster 35.00 Poster -- Hand-Signed by Artist Rainbow > 3.Eclipse-P01 Eclipse Dolphins Poster 25.00 Poster -- Normal Rainbow > 4.Eclipse-P02 Eclipse Dolphins Poster 35.00 Poster -- Hand-Signed by Artist Eclipse > ---OTHER LINES, BUT NONE WITH title=Rainbow AND NONE WITH title=Eclipse--- > I have this in a page: > --------------------------- > [page search="fi=posters/se=Rainbow/sf=title"]CLICK HERE[/page] > (Rows 1,2,3 should match. I am getting three rows back.) > Problems: > ---------------------------- > [item-field title] returns titles from rows 2,3,4 (not 1,2,3). > [item-field type] returns nothing for rows 1,3. And the correct result for row 2. > [item-field description] returns what [item-field type] should for rows 1,3. And the correct results for row 2. I have since tried eliminating gdbm, and when the problem did not go away, determined that it wasn't a bug or misconfiguration there, as you point out. I still don't know where the problem is though. -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Aug 22 14:35:01 2001 Subject: [ic] Remove Products Jeremy Peel wrote: > I am using the construct demo as a starting point for my own catalog. I have > added my own products and done some other customization. I deleted the > products that the construct demo comes with from the product table. But, > from time to time and product will display on one of the pages with no image > and no information, but the link will be to one of the old products that I > deleted. How to I get rid of these old products and keep them from showing > up on my catalog pages. > > I am running Interchange 4.6.5 on RH 7.1. I removed the products from the > table by using the administrative ui. The products.txt looks fine. It shows Sure? > only the products that I still want in the table. The administrative ui also > shows the correct items. > > Does anyone have any idea why links to the deleted products show up on my > catalog pages?? If you remove any items by using the administratice ui, export all the product into the products.txt. Without that, the sku of the removed item with blank description, price, etc. is still there. Hope this helps you! ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Wed Aug 22 14:36:00 2001 Subject: [ic] 4.8.1 Leaving 'template:' header blank in pages Thanks for straightening me out. The reconfigure did it. ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 22, 2001 12:14 PM Subject: Re: [ic] 4.8.1 Leaving 'template:' header blank in pages > Quoting Zack Johnson (zack@office.standardprinting.net): > > These are generated using 4.8.1's 'template edit' feature. After submitting > > the note to the list, I completely removed interchange (rpm -e, rm > > /var/lib/interchange -Rf, rm /usr/lib/interchange -Rf). I then re-installed > > from downloaded 4.8.1 rpms (rpm -ivh). Using the latest install, I created > > a new cat based on foundation. Using the template editor, we created a new > > template based on leftright called 'test'. Test would not work. > > One thing that may not be obvious, now that I go through it -- you have > to reconfig after you create a new template. > > > Furthermore, pages based on 'test' would not display all of the normal page > > options as you would expect. > > They don't when you "create new page", but if you save and then go back > and edit the page again they should show up. I will see what I can do > about showing them the first go-round. > > > > > Upon inspecting the template file, we found the the 'ui_template' var would > > read 'leftright' instead of 'yes'. Whenever we viewed the 'test' with the > > template editor, the contents we blank even though 'cat test' revealed a > > copy of 'leftright'. > > > > The value of ui_template doesn't really matter as long as it is not > blank. > > > We have since copied the 'foundation' folder to 'new_style' and switched the > > 'default' symlink from 'foundation' to 'new_style'. This way we can edit > > 'leftright' directly and avoid these problems. > > > > I am still unable to duplicate your problem of the template name not > showing up in the generated page. I did just what you said: > > 1. Created a new "test" template based on leftright. > 2. Reconfigged. > 3. Created a new page "testit" using "test" template. > 4. Saved page. > 5. Edited "testit" again and noticed it showed that it > used the "test" template and showed the component options > for the test template. > 6. Saved again. > > All worked as I would have expected. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Experience is what allows you to recognize a mistake the second > time you make it. -- unknown > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 22 14:49:01 2001 Subject: [ic] 4.8.1 bin/makecat issues (foundation) A couple of things cropped up while I was gently customizing a catalog based on the foundation demo as shipped with IC 4.8.1 . Funny thing number 1: -------------------- In the file .../interchange/tpe09/config/additional_fields, if I change: !CACHEDIR The base directory for sessions and temps /var/cache/interchange/__MVC_CATALOGNAME__ to: !CACHEDIR The base directory for sessions and temps /var/cache/interchange/__MVC_CATALOGNAME__ the session dir is created by bin/makecat, but user interch has no write permissions, and the catalog won't run. Funny thing number 2: -------------------- This is a typescript. Note that the following line is ignored further down the page, and the database creation attempt is made using the catalog database's specified user, who has no CREATE permissions (in my case): Extra options for creation: ......................-u root -p 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: .....pann Administrative password: .........................xXxXxX99 Set to 1 to display demo helper features in your store: .. Found system commands to run. Since you selected the MySQL option, you need to create a database named "tpe09". In a default MySQL configuration, any user may create and drop and modify test_* databases, but some administrators disable this. run "mysqladmin -u dogbert -pSAdams create tpe09"? y Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 14:52:01 2001 Subject: [ic] search results problem (WAS: gdbm bug?) Quoting Richard Seymour (rseymour@anarchysoftware.com): > > [item-field title] returns titles from rows 2,3,4 (not 1,2,3). > > [item-field type] returns nothing for rows 1,3. And the correct result for row 2. > > [item-field description] returns what [item-field type] should for rows 1,3. And the correct results for row 2. [item-data poster title], unless that is the only match in multiple product files. If that is the problem, this is one of the oldest FAQs in Interchange/Minivend, and is covered at least 5 times in the FAQ and the docs. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Friends don't let friends use Outlook. -- Bob Blaylock From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 15:11:01 2001 Subject: [ic] 4.8.1 bin/makecat issues (foundation) Quoting Pann McCuaig (pann@ourmanpann.com): > A couple of things cropped up while I was gently customizing a catalog > based on the foundation demo as shipped with IC 4.8.1 . > > Funny thing number 1: > -------------------- > In the file .../interchange/tpe09/config/additional_fields, if I > change: > > !CACHEDIR > The base directory for sessions and temps > /var/cache/interchange/__MVC_CATALOGNAME__ > > to: > > !CACHEDIR > The base directory for sessions and temps > /var/cache/interchange/__MVC_CATALOGNAME__ > > the session dir is created by bin/makecat, but user interch has no write > permissions, and the catalog won't run. Of course. That is why it is not distributed that way. 8-) It is intended to allow you to pass a bin/makecat cachedir=/your/cache/dir and relocate the place where you put session and tmp. > > > Funny thing number 2: > -------------------- > This is a typescript. Note that the following line is ignored further > down the page, and the database creation attempt is made using the > catalog database's specified user, who has no CREATE permissions (in my > case): Yes, this is a bug that can be fixed by changing the template in precopy_commands to mysqladmin __MVC_MYSQLCREATEOPT__ create __MVC_SQLDB__ instead of mysqladmin -u __MVC_SQLUSER__ -p__MVC_SQLPASS__ create __MVC_SQLDB__ -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 22 15:18:00 2001 Subject: [ic] gdbm bug? At 11:24 AM 08/22/2001 -0700, you wrote: > > >I'm beginning to smell a bug in either (a) interchange, or (b) the perl > > >modules that support interchange. > >Ed LaFrance wrote: > > Or possibly your Perl installation or database source file. Attach the > > latter in a reply so we can take a look. > >Here is my three line database source file, currently test.txt. > >-- >Richard Seymour : Anarchy Software, Inc. >- * - - * - - - * -+- * - - - * - - * - > `°º¤ø,¸ ¸,ø¤º°' > Erp. My brain is disengaged today. The probem is not the database, the Perl, IC or the cycles of the moon - it is the syntax on the results page. Try this search: [page search="fi=posters/se=Rainbow/sf=title/sp=posters"]CLICK HERE[/page] You'll need to create a custom results page called posters.html. Put this on that page: [search-region] <table> [search-list] <tr> <td>ITEM: [item-code]</td> <td>TYPE: [item-data posters type]</td> <td>PRICE: [currency][item-data posters price][/currency]</td> <td>DESCRIPTION: [item-data posters description]</td> <td>TITLE: [item-data posters title]</td> </tr> [/search-list] </table> [/search-region] You should see what you expect. - Ed L. > `°º¤ø,¸¸,ø¤º° =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Wed Aug 22 15:44:00 2001 Subject: [ic] search results problem (WAS: gdbm bug?) Mike Heins wrote: > > Quoting Richard Seymour (rseymour@anarchysoftware.com): > > > [item-field title] returns titles from rows 2,3,4 (not 1,2,3). > > > [item-field type] returns nothing for rows 1,3. And the correct result for row 2. > > > [item-field description] returns what [item-field type] should for rows 1,3. And the correct results for row 2. > > [item-data poster title], unless that is the only match in multiple > product files. Thanks. That does seem to be the problem. > If that is the problem, this is one of the oldest FAQs > in Interchange/Minivend, and is covered at least 5 times in the FAQ > and the docs. I have read (and re-read) the documentation, and would *greatly* appreciate any links to a good FAQ, because I have not seen this issue spelled out explicitly anywhere. I did come across the following, which is what led me to believe that, by specifying "fi=posters", my search would be limited to the posters database. (It is previously stated that "fi" is equivalent to "item_mv_search_file"): From http://ic.redhat.com/cgi-bin/ic/docfly?mv_arg=icdatabase05.11#item_mv_search_file : > mv_search_file > > In the text search, set this variable to the file(s) to be scanned > for a match. The default, if not set, is to scan the default > ProductFiles (i.e., products.txt). If set multiple times in a form > (for a text search), will cause a search all the files. One file > name per instance. Since I'm explicitly setting fi=posters, then the above indicates that posters (not everything else) would be searched. (That's not how it actually works, though.) Any pointer to a good FAQ that covers this (and other issues), will help me tremendously, and generate a lot less noise on this list. (I've got five PDF docs printed out, and have read them over multiple times in the last 8 weeks, but finding the answer to this ate up six hours of my time, plus a few posts here.) -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Wed Aug 22 15:48:00 2001 Subject: [ic] gdbm bug? Ed LaFrance wrote: > Erp. My brain is disengaged today. The probem is not the database, the > Perl, IC or the cycles of the moon - it is the syntax on the results > page. Try this search: > > [page search="fi=posters/se=Rainbow/sf=title/sp=posters"]CLICK HERE[/page] I figured out the "sp=" thingie on my own. > You'll need to create a custom results page called posters.html. Put this > on that page: > > <td>ITEM: [item-code]</td> > <td>TYPE: [item-data posters type]</td> > <td>PRICE: [currency][item-data posters price][/currency]</td> > <td>DESCRIPTION: [item-data posters description]</td> > <td>TITLE: [item-data posters title]</td> Yep. It was using "item-field" instead of "item-data etc." that bit me. Where is this documented? -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Ben H) Date: Wed Aug 22 15:51:01 2001 Subject: [ic] editing index.html file [finally solved!] So the saga with my IC installation is over. Here's a summary: Many things weren't operating properly. Namely, the Tables, Tax and UI page edit areas. I was getting different errors. I just reinstalled to see if I could get it working. It didn't work. So I approached the problems one at a time, starting with Tax. There was a previous post: http://developer2.akopia.com/archive/interchange-users/2001/msg06402.html Giving a solution to the tax problem. I followed the instructions: We will fix this soon -- for now, if you comment out the line in templates/*/theme.cfg which says "Pragma dynamic_variables" this should be OK. And... Everything worked. I'm glad its all straightened out, and I hope my tribulations will save furthur tribulation of other users! Ben At 05:16 PM 8/22/2001 +0300, you wrote: >Hi Ben, > >I recently had "Internal Server Error" when trying to edit >*.html from UI, fixed by reviewing database definitions in >dbconf/ twice -- there was a typo there. > >Hope this helps! > >Best Wishes, >Viktors Rotanovs > >----- Original Message ----- >From: "Ben H" <z153iq@yahoo.com> >To: <interchange-users@interchange.redhat.com> >Sent: Tuesday, August 21, 2001 7:17 PM >Subject: Re: [ic] editing index.html file [more debugging info] > > > > I pulled this from the info section of the admin area. > > > > ============== > > Perl Version Perl 5.6.0 (called with: /usr/bin/perl) > > > > Optional Module Information LWP::Simple found (v1.34). > > MD5 found (v2.02). > > MIME::Base64 found (v2.12). > > SQL::Statement found (v0.1020). > > Safe::Hole found (v0.08). > > Storable found (v1.012). > > Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. > > URI::URL found (v5.02). > > > > Safe operations untrapped: ftfile sort rand > > =============== > > > > Again, the line in question: > > > > if($MVSAFE::Safe) { > > > > I'm thinking its related somehow to safe.pm. > > Does anyone know if the "Safe operations untrapped" is anything relevant?? > > > > Ok, now I'm finding that my ability to manipulate much of anything is >quite > > restricted because of this error: > > { search error: your search file a valid database reference, was > > 'backup'. } > > > > Also, in the Tables area of the Admin section, nothing shows up. > > Same with the DB Tables area of the Info Area. > > > > ============= DB INFO (in info area > > Database Interfaces GDBM available (v1.03) > > No Berkeley DB_File. > > DBI enabled (v1.19), available drivers: > > ADO > > ExampleP > > Multiplex > > Pg > > Proxy > > mysql > > > > Database Tables [nothing] > > ============== > > > > Its sounding like some perl module may be corrupted or malfunctioning or > > causing conflicts or something. > > I'm using MySQL. > > > > I'm stumped. Is backup a DB table I should have, but for whatever reason, > > don't? Do any of you have any suggestions? > > Another bit of info that may be relevant was how I setup the IC >permissions... > > > > [snip from makecat] > > # The type of permission structure for multiple user catalogs. > > # Select M for each user in own group (with interchange user in group) > > # G for all users in group of interchange user > > # U for all catalogs owned by interchange user (must be catuser as >well) > > [/snip from makecat] > > > > I chose 'U'. It was the only structure I got operational with the least >work. > > > > Ben > > > > crazy, whack, funky > > > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 22 16:12:01 2001 Subject: [ic] gdbm bug? At 12:47 PM 08/22/2001 -0700, you wrote: >Ed LaFrance wrote: > > Erp. My brain is disengaged today. The probem is not the database, the > > Perl, IC or the cycles of the moon - it is the syntax on the results > > page. Try this search: > > > > [page search="fi=posters/se=Rainbow/sf=title/sp=posters"]CLICK HERE[/page] > >I figured out the "sp=" thingie on my own. > > > You'll need to create a custom results page called posters.html. Put this > > on that page: > > > > <td>ITEM: [item-code]</td> > > <td>TYPE: [item-data posters type]</td> > > <td>PRICE: [currency][item-data posters price][/currency]</td> > > <td>DESCRIPTION: [item-data posters description]</td> > > <td>TITLE: [item-data posters title]</td> > >Yep. It was using "item-field" instead of "item-data etc." that bit me. >Where is this documented? > http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictags_3.html#sub_PREFIX-data http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictags_45.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Mike Eheler) Date: Wed Aug 22 16:22:00 2001 Subject: [ic] Upgrading production 4.6.5 to 4.8.1 I have searched the archives of this list, and found one topic about upgrading, but dealt with just default/demo catalogs. On our systems we have dozens of catalogs maintained by our users, and we would like to provide the most seamless upgrade possible. Ideally we want to completely replace our 4.6.5 server with 4.8.1, and as well completely upgrade the administrative interface. I have done some test upgrades using very basic default installs of 4.6.5's "construct" demo, and every time I did it, the store would work fine, but the admin would be broken.. either the colours would only be half changed, or in one test case (the one closest to an actual production upgrade), all of the toolbars in the admin interface were completely broken. Each bar simply had the word "line" and there were no images. I have scoured the web for any kind of an upgrade doc from 4.6.5 to 4.8.1, and have found nothing, other than a cryptic "Upgrade Guide" on redhat's site, and the less-than-usefull UPGRADE file that comes with 4.8.1. Any help/experience notes/anything is greatly appreciated. Mike Eheler Search BC Communications From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Wed Aug 22 16:29:00 2001 Subject: [ic] shipping method woes (bad formula error) Hello all, I'm trying to figure out a problem with a custom shipping method. I keep getting "Shipping mode 'ground': bad formula. Returning 0.No match found for mode 'ground', quantity '2.4', returning 0" Basically what I'm trying to do is: The first 2 pounds are a set price, for each additional pound over 2, 1 dollar is added to the base price. Here's my shipping.asc entry which I updated according to the docs ground UPS Ground weight 0 2 4.95 ground UPS Ground weight 2 150 f [ground_ship weight=@@TOTAL@@] ground UPS Ground weight 150 999999 e Please call for quote. I've updated actual code from a GlobalSub to an IC Usertag which is in the interchange/usertag dir Here's the entry: UserTag ground_ship Order weight UserTag ground_ship Routine <<EOF sub { use POSIX qw(modf); my($TOTAL) = @_; my $gcost; my $g_total; my $g; my $h; $g_total = $TOTAL; ($g,$h) = modf($g_total); if ($g > 0) { $h++; $g_total = $h; } $g_total = ($g_total - 2.00); $gcost = (4.95 + $g_total); return $gcost; } EOF Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Wed Aug 22 16:30:00 2001 Subject: [ic] Upgrading production 4.6.5 to 4.8.1 I too am interested in this. Please let me know if you find anything out. Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Mike > Eheler > Sent: Wednesday, August 22, 2001 8:21 AM > To: interchange-users@interchange.redhat.COM > Subject: [ic] Upgrading production 4.6.5 to 4.8.1 > > > I have searched the archives of this list, and found one topic about > upgrading, but dealt with just default/demo catalogs. > > On our systems we have dozens of catalogs maintained by our users, and > we would like to provide the most seamless upgrade possible. Ideally we > want to completely replace our 4.6.5 server with 4.8.1, and as well > completely upgrade the administrative interface. > > I have done some test upgrades using very basic default installs of > 4.6.5's "construct" demo, and every time I did it, the store would work > fine, but the admin would be broken.. either the colours would only be > half changed, or in one test case (the one closest to an actual > production upgrade), all of the toolbars in the admin interface were > completely broken. Each bar simply had the word "line" and there were no > images. > > I have scoured the web for any kind of an upgrade doc from 4.6.5 to > 4.8.1, and have found nothing, other than a cryptic "Upgrade Guide" on > redhat's site, and the less-than-usefull UPGRADE file that comes > with 4.8.1. > > Any help/experience notes/anything is greatly appreciated. > > Mike Eheler > Search BC Communications > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 22 16:53:01 2001 Subject: [ic] Upgrading production 4.6.5 to 4.8.1 On Wed, Aug 22, 2001 at 01:21:20PM +0000, Mike Eheler wrote: > I have searched the archives of this list, and found one topic about > upgrading, but dealt with just default/demo catalogs. > > On our systems we have dozens of catalogs maintained by our users, and > we would like to provide the most seamless upgrade possible. Ideally we > want to completely replace our 4.6.5 server with 4.8.1, and as well > completely upgrade the administrative interface. > > I have done some test upgrades using very basic default installs of > 4.6.5's "construct" demo, and every time I did it, the store would work > fine, but the admin would be broken.. either the colours would only be > half changed, or in one test case (the one closest to an actual > production upgrade), all of the toolbars in the admin interface were > completely broken. Each bar simply had the word "line" and there were no > images. > > I have scoured the web for any kind of an upgrade doc from 4.6.5 to > 4.8.1, and have found nothing, other than a cryptic "Upgrade Guide" on > redhat's site, and the less-than-usefull UPGRADE file that comes with 4.8.1. > > Any help/experience notes/anything is greatly appreciated. I'd suggest you consider **not** upgrading them. Seriously. If you change it, you own it until it's right "the way they remember it". That's not to say you might not offer a special service rate for clients who want to upgrade in, say, next 30 days. This is more a general policy issue of script maintenance and you'd probably want it to align with your systems policies there. cfm > > Mike Eheler > Search BC Communications > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 16:56:00 2001 Subject: [ic] Upgrading production 4.6.5 to 4.8.1 Quoting Mike Eheler (meheler@searchbc.com): > I have searched the archives of this list, and found one topic about > upgrading, but dealt with just default/demo catalogs. > > On our systems we have dozens of catalogs maintained by our users, and > we would like to provide the most seamless upgrade possible. Ideally we > want to completely replace our 4.6.5 server with 4.8.1, and as well > completely upgrade the administrative interface. > > I have done some test upgrades using very basic default installs of > 4.6.5's "construct" demo, and every time I did it, the store would work > fine, but the admin would be broken.. either the colours would only be > half changed, or in one test case (the one closest to an actual > production upgrade), all of the toolbars in the admin interface were > completely broken. Each bar simply had the word "line" and there were no > images. > > I have scoured the web for any kind of an upgrade doc from 4.6.5 to > 4.8.1, and have found nothing, other than a cryptic "Upgrade Guide" on > redhat's site, and the less-than-usefull UPGRADE file that comes with 4.8.1. > > Any help/experience notes/anything is greatly appreciated. 95% of the problems are in variable.txt and mv_metadata.asc; both of those might require some hand editing. The most important thing is to remove all of the old UI_* variable definitions (except maybe UI_TRAFFIC_STATS) from the variable.txt database and add the new ones. Also, you should make sure you get the new mv_metadata.asc file in place, though you will have to hand-edit the lines that have the __MVC_SOMESETTING__ things in them. You can make a blank foundation which has these, and figure it out from there. After that, it should be plain sailing. We are going to try and make this process quite a bit more trouble-free in the next version. I am afraid I do this without thinking, and I guess I shouldn't expect it to be so natural for others. Better management of icmenu.txt, mv_metadata.asc, and variable.txt is going to be at the top of the list in the next version of Interchange. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 22 17:26:01 2001 Subject: [ic] Upgrading production 4.6.5 to 4.8.1 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Quoting Mike Heins (mheins@redhat.com): > Quoting Mike Eheler (meheler@searchbc.com): > > I have searched the archives of this list, and found one topic about > > upgrading, but dealt with just default/demo catalogs. > > > > On our systems we have dozens of catalogs maintained by our users, and > > we would like to provide the most seamless upgrade possible. Ideally we > > want to completely replace our 4.6.5 server with 4.8.1, and as well > > completely upgrade the administrative interface. > > > > I have done some test upgrades using very basic default installs of > > 4.6.5's "construct" demo, and every time I did it, the store would work > > fine, but the admin would be broken.. either the colours would only be > > half changed, or in one test case (the one closest to an actual > > production upgrade), all of the toolbars in the admin interface were > > completely broken. Each bar simply had the word "line" and there were no > > images. > > > > I have scoured the web for any kind of an upgrade doc from 4.6.5 to > > 4.8.1, and have found nothing, other than a cryptic "Upgrade Guide" on > > redhat's site, and the less-than-usefull UPGRADE file that comes with 4.8.1. > > > > Any help/experience notes/anything is greatly appreciated. > > 95% of the problems are in variable.txt and mv_metadata.asc; both of those > might require some hand editing. > > The most important thing is to remove all of the old UI_* variable > definitions (except maybe UI_TRAFFIC_STATS) from the variable.txt database > and add the new ones. > > Also, you should make sure you get the new mv_metadata.asc > file in place, though you will have to hand-edit the lines that have > the __MVC_SOMESETTING__ things in them. You can make a blank foundation > which has these, and figure it out from there. I have attached to this email a sample variable.txt and mv_metadata.asc where I have done this to port a stock 4.6.5 Construct to 4.8.1. It seems to work pretty well. The lines with __MVC_.*__ values I have left in with the source line commented out, and the edited line below it. -- 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 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Description: variable.txt Content-Disposition: attachment; filename="variable.txt" code Variable pref_group ADDRESS 123 Main St. Company BAR_LINK_TEMPLATE <A HREF="$URL$" CLASS="barlink"><FONT COLOR="#FFFFFF">$ANCHOR$</FONT></A> Admin colors CATALOG_STATIC No Static pages CGI_URL /cgi-bin/construct Directories and Paths CHECK_ACCEPTED 1 Payment CITY Reston, VA 20190 Company COD_ACCEPTED 0 Payment COMPANY Construct Something Company CONTRAST RED Template CREDIT_CARDS_ACCEPTED visa mc discover amex Payment DOCROOT /var/www/html Directories and Paths EMAIL_INFO Company EMAIL_SERVICE Company ENCRYPTOR none Payment FAX (703) 555-9999 Company FFACE face="Verdana, Arial, Helvetica, sans-serif" Template IMAGE_DIR /construct/images Directories and Paths LOGGED_STATIC 1 Static pages LOGO Template MV_DEFAULT_SEARCHTYPE_DB Database MYSQL Database ORACLE Database ORDER_ROUTES log main copy_user Order ORDERS_TO Order PGSQL Database PHONE (703) 555-1212 Company PO_ACCEPTED 1 Payment POSTAL_ACCEPTED 0 Payment SAMPLEHTML /var/www/html/construct Directories and Paths SAMPLEURL Directories and Paths SECURE_SERVER http://sam.heins.net Directories and Paths SERVER_NAME sam.heins.net Directories and Paths SMLOGO Template SQLPASS Database SQLUSER Database TAXAREA VA UT OH Tax TAXFIELD state Tax TAXRATE VA=4.5, UT=6.25, OH=5.0 Tax TAXSHIPPING Tax TOLLFREE (888) 555-1212 Company UI_TRAFFIC_STATS /home/mike/catalogs/construct/logs/usertrack Directories and Paths UPS_COUNTRY_FIELD country Shipping UPS_ORIGIN Shipping UPS_POSTCODE_FIELD zip Shipping --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Description: mv_metadata.asc Content-Disposition: attachment; filename="mv_metadata.asc" code type width height field db name outboard options attribute label help lookup filter help_url pre_filter lookup_exclude prepend append display_filter 2ndDayAir 200 Air Shipping Rates 1 Ground 200 Ground Shipping Rates 1 NextDayAir 200 Air Shipping Rates 1 access 1 access::super select 0=No, 1=Yes affiliate text 25 affiliate,name,url,active Affiliates Data affiliate::affiliate text 12 Affiliate ID word affiliate::join_date date Join date affiliate::name text 50 Affiliate Name affiliate::timeout text 8 Timeout delay (in seconds, 0 to disable) affiliate::url text 70 URL Default URL to redirect to area code name which_page url search page selector Category Groups/Placement area::display_type select name=Banner Text or Name,url=URL only,icon=Icon and name, image=Image #area::image imagedir __MVC_IMAGEDIR__/images area::image imagedir /var/www/html/construct/images/images area::link_template textarea 30 4 none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search area::link_type select none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search cat text code name page selector url Categories cat::area multiple 5 area code cat::display_type select name=Banner Text or Name,url=URL only,icon=Icon and name, image=Image cat::link_template textarea 30 4 none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search cat::link_type select none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search cat::search textarea 50 4 country 200 International Shipping Settings custview::userdb::dealer display =No,1=Yes Dealer custview::userdb::email_copy display =No, 1=Yes Payment method custview::userdb::fax_order display =Credit Card*, 1=Fax or Mail, 2=Purchase order, 3=COD Payment method custview::userdb::mail_list display offer=Special Offers, newsletter=Newsletter, alert=Alerts and Recalls, upgrade=Upgrades null_to_space dbconfig::mv_metadata::attribute move_combo 30 10 columns:: Spreadsheet columns Must have the key field (usually it is the first one) null_to_comma dbconfig::mv_metadata::code hidden_text Database table dbconfig::mv_metadata::db reverse_combo tables last_non_null dbconfig::mv_metadata::display_filter select =Yes, 1=No Backup select If Yes, table should be checked by default in backup/download. dbconfig::mv_metadata::field move_combo 20 10 columns:: List on select page Must have the key field (usually it is the first one) null_to_comma dbconfig::mv_metadata::field move_combo 30 10 columns:: List on select page Must have the key field (usually it is the first one) null_to_comma dbconfig::mv_metadata::filter multiple 5 filesafe=Safe for file name, uc=Upper case, nullselect=First non-null (combo box), null_to_space=Translate null to space, null_to_comma=Translate null to comma, lc=Lower case, digits_dot=Decimal number (not negative), backslash=Remove backslashes, namecase=Name case, name=Turn LAST,FIRST into FIRST LAST, digits=Digits only, word=Word chars only (A-z0-9_), unix=DOS to UNIX, dos=UNIX to DOS, mac=UNIX to MAC, gate=Only allow if scratch set, no_white=No whitespace, strip=Strip leading/trailing whitespace, sql=Escape single quotes (SQL), text2html=Simple text to HTML, urlencode=URL encode (%20, etc), pagefile=Safe for Interchange page name, entities=HTML entities (& -> &amp;), date_change=MM/DD/YYYY to YYYYMMDD option_format dbconfig::mv_metadata::height text 4 Select page rows Number of rows to display at selector page. digits dbconfig::mv_metadata::help textarea 70 4 Help displays at top of page dbconfig::mv_metadata::help_url text 70 4 Help URL links below help text dbconfig::mv_metadata::lookup text 20 dbconfig::mv_metadata::name text 70 4 Description dbconfig::mv_metadata::options move_combo 20 8 columns:: Fields to edit Recommended fields to display on editor screen, in order of display. If a blank line is between them, a break line will be put in. dbconfig::mv_metadata::options move_combo 20 8 columns:: Fields to edit Recommended fields to display on editor screen, in order of display. dbconfig::mv_metadata::outboard multiple 8 NONE, Qty price;pricing:q5:rn=Qty price, Options;options:o_enable:r=Options, Up-sell;merchandising:upsell_to:r=Up-sell, Cross-sell;merchandising:cross_sell:r=Cross-sell, Promo;merchandising:featured:r=Promo, Inventory;inventory:quantity:rn=Inventory Special display These are extra links for the item editor -- various merchandising, inventory, and pricing links. null_to_comma dbconfig::mv_metadata::type select =No, 1=Yes Display with meta (spreadsheet) filesafe dbconfig::mv_metadata::type select select=Select box, text=Text entry*,textarea=Textarea,combo=Combo Select, radio=Radio box, radio_nbsp=Radio (nbsp), checkbox=Check box, check_nbsp=Checkbox (nbsp), hidden_text=Hidden (show text), multiple=Multiple Select, imagedir=Image listing, date=Date selector,display=Text of option Widget type filesafe dbconfig::mv_metadata::width text 4 digits dbconfig::mv_metadata::width text 4 Default spreadsheet column width digits ichelp::helptext textarea 72 15 Help Text icmenu 1 12 50 code mgroup msort next_line page name(30) inactive Interchange menus code mgroup msort next_line depends_on page name inactive icmenu::inactive yesno inventory 25 sku,quantity sku =Quantity info quantity stock_message =Accounting info account cogs_account inventory::account text 20 Sales account inventory::cogs_account text 20 COGS Account inventory::quantity text 8 On hand inventory::sku text 16 SKU inventory::stock_message select In stock, Ships in 3-5 days, Ships in 4-6 weeks, Special order Out of stock message stock_message inventory::stock_message select In stock, Ships in 3-5 days, Ships in 4-6 weeks, Special order matrix::options::price text 12 Price digits_dot matrix_options::options code sku =Option information o_group o_label o_value merchandising::banner_image text Banner image if appropriate merchandising::banner_text text Banner text for use where appropriate. merchandising::blurb_begin text Teaser catch line for feature display merchandising::blurb_end text Closer end text for feature display merchandising::cross_category select products =- none - Cross-sale category If there are no item-specific cross sells for an item, it will fall back to a cross-category sale. Select a category for <b>this item</b> to be cross-sold to. category merchandising::cross_sell text 50 products Cross-sell SKUs &nbsp;&nbsp;<A HREF="admin/sku_selector?caller=item_cross&table=_UI_TABLE_&col=_UI_COLUMN_&item_id=_UI_KEY_&value=_UI_URL_VALUE_">select...</A> merchandising::cross_sell text 50 products Cross-sell SKUs null_to_space &nbsp;&nbsp;<A HREF="admin/sku_selector?caller=item_cross&table=_UI_TABLE_&col=_UI_COLUMN_&item_id=_UI_KEY_&value=_UI_URL_VALUE_">select...</A> merchandising::featured select =none, specials=Specials, new=New item, expired=expired Promotions Selects where to feature the item for a promotion. option_format <A HREF="admin/add_meta_option?item_id=_UI_TABLE_::_UI_COLUMN_&ui_return_to=admin/item&ui_return_to=ui_return_table=products">add...</A> merchandising::finish_date date End date merchandising::sku text products sku merchandising::start_date date Start date date_change merchandising::timed_promotion select =No, 1=Yes Timed? <B>Yes</B> if the promotion is timed with the start and end dates. merchandising::upsell_to text 50 products Up-sell SKUs &nbsp;&nbsp;<A HREF="admin/sku_selector?caller=item_up&table=_UI_TABLE_&col=_UI_COLUMN_&item_id=_UI_KEY_&value=_UI_URL_VALUE_">select...</A> metaconfig::mv_metadata::append textarea 60 5 Append HTML <SMALL>HTML to be appended to the widget. Will substitute in the macros _UI_TABLE_, _UI_COLUMN_, _UI_KEY, and _UI_VALUE_, and will resolve relative links with absolute links.</SMALL> metaconfig::mv_metadata::attribute text 20 Column name Do not set this. metaconfig::mv_metadata::code text 30 Table::Column Table::Column to be operated on. metaconfig::mv_metadata::db combo tables Lookup Table Table for an external lookup. nullselect metaconfig::mv_metadata::field move_combo 20 10 columns:: Field for lookup Can be two comma separated fields, in which case second is used as the label text. Both must be in the same table. metaconfig::mv_metadata::filter move_combo 30 1 filters Filter(s) Filters which can transform or constrain your data. Some widgets require filters. metaconfig::mv_metadata::height text 4 Height SIZE for SELECT<BR> ROWS for TEXTAREA<BR> digits metaconfig::mv_metadata::help textarea 70 4 Help This help text. textarea_get textarea_put metaconfig::mv_metadata::help_url text 70 4 Help URL A URL which will provide more help metaconfig::mv_metadata::lookup text 20 Lookup select <SMALL>Whether lookup is performed to get options for a select type. If nothing is in the <B>field</B>, then used as the name of the field to lookup in. Use <B>Lookup Table</B> if you want to look up in a different table.</SMALL> metaconfig::mv_metadata::lookup_exclude text 20 Lookup exclude <B>ADVANCED</B>: regular expression that excludes certain keys from the lookup. metaconfig::mv_metadata::name text 20 Variable name Normally left empty, changes variable name to send in form. metaconfig::mv_metadata::options textarea 20 8 Options Options for SELECT/COMBO types (if lookup, prepended). Entered in the interchange option format:<P> <blockquote> value=label*</blockquote> option_format metaconfig::mv_metadata::outboard text 30 Directory Select directory for image listing widget. metaconfig::mv_metadata::prepend textarea 60 5 Prepend HTML <SMALL>HTML to be prepended to the widget. Will substitute in the macros _UI_TABLE_, _UI_COLUMN_, _UI_KEY, and _UI_VALUE_, and will resolve relative links with absolute links.</SMALL> metaconfig::mv_metadata::type select textarea=Textarea, text=Text entry*, select=Select box, yesno=Yes/No (Yes=1), noyes=No/Yes (No=1), multiple=Multiple Select, combo=Combo Select, reverse_combo=Reverse Combo, move_combo=Combo move, display=Text of option, hidden_text=Hidden (show text), radio=Radio box, radio_nbsp=Radio (nbsp), checkbox=Checkbox, check_nbsp=Checkbox (nbsp), imagedir=Image listing, imagehelper=Image upload, date=Date selector, value=Value, option_format=Option formatter, show=Show all options Widget type Select the basic display type for the field. metaconfig::mv_metadata::type select textarea=Textarea, text=Text entry*, select=Select box, multiple=Multiple Select, combo=Combo Select, reverse_combo=Reverse Combo, move_combo=Combo move, display=Text of option, hidden_text=Hidden (show text), radio=Radio box, radio_nbsp=Radio (nbsp), checkbox=Checkbox, check_nbsp=Checkbox (nbsp), imagedir=Image listing, date=Date selector, value=Value, show=Show all options Widget type Select the basic display type for the field. metaconfig::mv_metadata::width text 4 Width SIZE for TEXT<BR> COLS for TEXTAREA<BR> Label limit for SELECT digits modular::options text 20 code o_master sku o_enable options Modular option view code o_master sku o_group phantom o_default o_enable =Ordering information description price differential modular::options::differential text 12 Price offset Adjustment to option price when phantom. A positive or negative number. modular::options::o_default select =No, 1=Yes Default? Yes if the default selection for the group. modular::options::o_enable select =No, 1=Yes Follow? Enable for next level modular::options::o_group combo 5 options Option group Scanned to see if it applies (or doesn't apply) to this product. o_group nullselect modular::options::o_master select options =none Master item Always included when the base SKU is equal to this. sku modular::options::phantom select =No, 1=Yes Phantom? If yes, this item is just a placeholder for modular options. modular::options::price text 12 Price Price of option modular::options::sku text 20 modular_create::options code o_master sku o_group description(30) price code o_master sku o_group phantom o_default =Attributes price description modular_create::options::code text 20 code will be auto-assigned if left blank modular_create::options::description text 30 3 Option description modular_create::options::o_default select =No, 1=Yes Default? Whether a/the default selection for this group. modular_create::options::o_enable select =No, 1=Yes Sub-items modular_create::options::phantom select =No, 1=Yes Phantom? Whether a phantom for structuring modular_create::options::price text 12 Price Price of this option. modular_create::options::sku text 20 Unique SKU mv_metadata 1 mv_metadata 200 code type options 1 mv_metadata::append textarea 60 5 Append HTML <SMALL>HTML to be appended to the widget. Will substitute in the macros _UI_TABLE_, _UI_COLUMN_, _UI_KEY, and _UI_VALUE_, and will resolve relative links with absolute links.</SMALL> mv_metadata::attribute text 20 Column name Do not set this. mv_metadata::code text 30 Table::Column Table::Column to be operated on. mv_metadata::db combo tables Lookup Table Table for an external lookup. nullselect mv_metadata::field move_combo 20 10 columns:: Field for lookup Can be two comma separated fields, in which case second is used as the label text. Both must be in the same table. mv_metadata::filter move_combo 30 1 filters Filter(s) Filters which can transform or constrain your data. Some widgets require filters. mv_metadata::height text 4 Height SIZE for SELECT<BR> ROWS for TEXTAREA<BR> digits mv_metadata::help textarea 70 4 Help This help text. textarea_get textarea_put mv_metadata::help_url text 70 4 Help URL A URL which will provide more help mv_metadata::lookup text 20 Lookup select <SMALL>Whether lookup is performed to get options for a select type. If nothing is in the <B>field</B>, then used as the name of the field to lookup in. Use <B>Lookup Table</B> if you want to look up in a different table.</SMALL> mv_metadata::lookup_exclude text 20 Lookup exclude <B>ADVANCED</B>: regular expression that excludes certain keys from the lookup. mv_metadata::name text 20 Variable name Normally left empty, changes variable name to send in form. mv_metadata::options textarea 20 8 Options Options for SELECT/COMBO types (if lookup, prepended). Entered in the interchange option format:<P> <blockquote> value=label*</blockquote> option_format mv_metadata::outboard text 30 Directory Select directory for image listing widget. mv_metadata::prepend textarea 60 5 Prepend HTML <SMALL>HTML to be prepended to the widget. Will substitute in the macros _UI_TABLE_, _UI_COLUMN_, _UI_KEY, and _UI_VALUE_, and will resolve relative links with absolute links.</SMALL> mv_metadata::type select textarea=Textarea, text=Text entry*, , select=Select box, multiple=Multiple Select, combo=Combo Select, reverse_combo=Reverse Combo, move_combo=Combo move, display=Text of option, hidden_text=Hidden (show text), radio=Radio box, radio_nbsp=Radio (nbsp), checkbox=Checkbox, check_nbsp=Checkbox (nbsp), imagedir=Image listing, date=Date selector, value=Value, option_format=Option format, show=Show all options Widget type Select the basic display type for the field. mv_metadata::type select textarea=Textarea, text=Text entry*, select=Select box, multiple=Multiple Select, combo=Combo Select, reverse_combo=Reverse Combo, move_combo=Combo move, display=Text of option, hidden_text=Hidden (show text), radio=Radio box, radio_nbsp=Radio (nbsp), checkbox=Checkbox, check_nbsp=Checkbox (nbsp), imagedir=Image listing, date=Date selector, value=Value, show=Show all options Widget type Select the basic display type for the field. mv_metadata::width text 4 Width SIZE for TEXT<BR> COLS for TEXTAREA<BR> Label limit for SELECT digits optadd::mv_metadata::options textarea 20 8 Options Options in the format:<P> <blockquote> value=label*</blockquote> option_format options code sku o_group o_master description(30) price Product Options options::code text 10 options::description textarea 50 5 Description For description in display options::o_exclude textarea 35 5 Exclude Only for modular options. Lists the option groups to exclude once the include has been done. Takes the form of a number of wildcard atoms. options::o_group text 20 Option name Name of option variable, i.e. "size__MVC_FIELDMUNGE__" options::o_height text 4 options::o_include textarea 35 5 Include Only for modular options. Lists the option groups to include with your item. Takes the form of a number of wildcard atoms. options::o_label text 40 Label Short name for option display options::o_matrix select =Non-matrix,!=Matrix options Matrix options Matrix options allow you to maintain multiple option sets with inventory on each combination. options::o_modular select =Not modular,Modular options Modular options Modular options allow you to attach multiple SKUs to the same item, possibly with attached options of their own. Very complex but you can do most anything. options::o_value option_format 20 5 Possible Values In Interchange option format:&lt;PRE> VALUE1=Label 1, VALUE2=Label 2* &lt;/PRE>(* = default selection) option_format options::o_widget select textarea=Textarea, text=Text entry, select=Select box*, multiple=Multiple Select, combo=Combo Select, reverse_combo=Reverse Combo, move_combo=Combo move, display=Text of option, hidden_text=Hidden (show text), radio=Radio box, radio_nbsp=Radio (nbsp), checkbox=Checkbox, check_nbsp=Checkbox (nbsp), imagedir=Image listing, date=Date selector, value=Value, show=Show all options, Widget type Select the basic display type for the field. options::o_width text 4 options::price text 12 Price Price data, either option=N.NN or a number, depending on matrix settings. options::sku text 20 Associated item options::volume text 10 Volume (if different, mostly for matrix/modular) options::weight text 10 Weight (if different, mostly for matrix/modular) optmaster::options::code text 15 optmaster::options::o_enable select =No,1=Yes Enable options Whether any options processing is done optmaster::options::o_exclude textarea 20 5 Exclude optmaster::options::o_include textarea 20 5 Include optmaster::options::o_matrix select =Non-matrix,1=Matrix options Matrix? optmaster::options::o_modular select =Not modular,1=Modular options Modular options? optmaster::options::o_simple select =No,1=Yes Enable options Whether any options processing is done order_returns::username text Username order_view::orderline::status display pending=Pending, shipped=Shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled nullselect order_view::transactions::status display pending=Pending, shipped=Shipped, partial=Partially shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled nullselect orderline text code,sku,description,price, quantity,subtotal 1 orderline::status combo pending=Pending, shipped=Shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled nullselect pricing text Pricing Settings 2 pricing::price_group combo pricing Discount group price_group nullselect pricing::q3 text products text 50 sku description(30) prod_group category price(%.2f align=right) Product information Qty price;pricing:q5:rn,Options;options:o_enable:r,Promo;merchandising:featured:r,Inventory;inventory:quantity:rn sku description prod_group category =Pricing price wholesale =Information/Images image thumb comment weight gift_cert nontaxable products::artist text 30 Artist products::category combo 20 1 products Category Enter in box for new category. category nullselect nullselect products::color textarea 70 2 products::comment textarea 70 8 Long Description products::comment__MVC_FIELDMUNGE__ textarea 70 8 Detailed Description products::description text 60 Short Description products::gift_cert select =No,1=Yes Gift certificate handling? Yes if price should appear to be quantity #products::image imagehelper images/items Image __MVC_SAMPLEURL__ <A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/items/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> products::image imagehelper images/items Image http://sam.heins.net/construct <A HREF="admin/upload_file?ui_image_preview=/construct/images/items/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/items/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> products::nontaxable select =Yes, 1=No Taxable? products::price text 12 Product Price digits_dot products::prod_group combo 20 products Product Group prod_group nullselect products::related multiple 5 sku products Related items space-separated SKUs products::sale_price text 12 Sale Price products::size textarea 70 2 products::sku text SKU #products::thumb imagehelper 30 images/thumb Thumb nullselect __MVC_SAMPLEURL__ <A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/thumb/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/thumb/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> products::thumb imagehelper 30 images/thumb Thumb nullselect http://sam.heins.net/construct/ <A HREF="admin/upload_file?ui_image_preview=/construct/images/thumb/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/thumb/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A> products::title text 30 Title namecase products::weight text 4 Weight in pounds digits_dot products::wholesale text 12 Dealer Price shipping text description state code country state name tax tax_name State/Province Settings (tax, etc) state::state text 4 word transactions text 1 transactions::status combo pending=Pending, shipped=Shipped, partial=Partially shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled nullselect userdb text username,company,lname,fname Users userdb::address1 text 40 Address userdb::address2 text 40 userdb::address2 text 40 &nbsp; userdb::b_address1 text 40 Billing Address userdb::b_address2 text 40 userdb::b_city text 40 Billing City userdb::b_company text 30 Billing Company If different userdb::b_country text 10 Billing Country userdb::b_fname text 40 Billing First Name userdb::b_lname text 40 Billing Last Name userdb::b_phone text Billing Phone userdb::b_state text 10 Billing State userdb::b_zip text 10 Billing Postcode userdb::city text 40 City userdb::comment text Comments by user userdb::company text 40 Company userdb::country text 10 Country userdb::dealer radio_nbsp =No,1=Yes Dealer userdb::email text 40 Email Address userdb::email_copy select =No, 1=Yes userdb::fax_order select =Credit Card*, 1=Fax or Mail, 2=Purchase order, 3=COD Payment method userdb::fax_order select =Credit Card, 1=Fax or Mail, 2=Purchase order, 3=COD Payment method userdb::feedback textarea 70 8 userdb::fname text 30 First Name userdb::lname text 30 Last Name userdb::mail_list check_nbsp offer=Special Offers, newsletter=Newsletter, alert=Alerts and Recalls, upgrade=Upgrades null_to_space userdb::mod_time text 20 userdb::phone_day text 30 Daytime Phone userdb::phone_night text 30 Home Phone userdb::price_level select =Retail,dealer=Dealer,distributor=Distributor Price level userdb::state text 10 State userdb::subject text Subject userdb::username hidden_text 16 Username no_white userdb::zip text 10 Postcode uc word variable 1 variable::Variable::ADDRESS text Company Address variable::Variable::CATALOG_STATIC select No, Yes Enabled for users? <b>Yes</b> will cause Interchange to generate static links where possible.<BR><BR> <b>No</b> disables generation of static links for users; you can still send a search engine to the statically generated URL and it will spider the static links on the page. variable::Variable::CGI_URL text CGI URL URL that calls Interchange, without the server name variable::Variable::CHECK_ACCEPTED select 0=No, 1=Yes variable::Variable::COD_ACCEPTED select 0=No, 1=Yes variable::Variable::CREDIT_CARDS_ACCEPTED checkbox visa=Visa, mc=Mastercard, discover=Discover, amex=American Express null_to_space variable::Variable::DOCROOT text Document root This is the directory where your HTML originates. It should match the DocumentRoot of your HTTP server. http://www.apache.org/docs/mod/core.html#documentroot variable::Variable::MULTIORDER select =No,1=Yes Whether users should by default have multipage order forms. variable::Variable::MYSQL select 0=No, 1=Yes variable::Variable::POSTAL_ACCEPTED select =No, 1=Yes Accept postal orders? variable::Variable::PO_ACCEPTED select 0=No, 1=Yes variable::Variable::SECURE_ENABLE yesno Enable Secure URL? variable::Variable::STATIC_LOGGED select No, Yes Enabled for logged in users? <b>Yes</b> will cause Interchange to generate static links where possible, even when users are logged in. variable::Variable::STYLE select foundation=Foundation Theme variable::Variable::TAXFIELD select state=Simple state-based, multi=State/Province and VAT Type of tax You must <b>apply changes</b> after changing this. variable::Variable::UI_ITEM_EXPUNGE text 60 Item expunge tables The tables that should have the SKU removed when you DELETE ITEM from the items menu. variable::Variable::UI_META_LINK select 0=No, 1=Yes Meta edit links Determines whether enabled by default. They can be turned on in Preferences. variable::Variable::UI_SECURE yesno Determines whether to force UI into secure mode or not. variable::code text Variable name variable::pref_group combo 20 Preferences area pref_group nullselect variable::pref_group text 20 Preferences area variant::inventory::quantity text 8 On hand Inventory of this variant. variant::options::code text 20 SKU variant::options::description textarea 60 3 Variant description variant::options::o_height text 4 Height of Widget Height of widget (if applicable) variant::options::o_width text 4 Width of widget variant::options::price text 12 Price Price of this variant. variant::options::weight text 8 Weight Weight for this variant. variant::options::wholesale text 12 Dealer price --bp/iNruPH9dso1Pn-- From: interchange-users at interchange.redhat.com (Davide Repetto) Date: Wed Aug 22 19:01:01 2001 Subject: [ic] On "barry" the cart resets after 25th product I'm using a slightly modified "barry" demo on Interchange 4.7.2 and I noticed that after entering the 25th product in the cart, the cart content is dropped and you're left with an empty cart. Did someone experience the same problem? Got any solution? Best Regards, Davide Repetto From: interchange-users at interchange.redhat.com (Jillian Carroll) Date: Wed Aug 22 19:05:01 2001 Subject: [ic] This Page has Expired when User Clicks 'Buy' Button from Search R Hey everybody... I've searched through the archives but I can't find anything (I'm sure it is because I don't know what words to use in my search)... but I just noticed, when somebody does a search on my site, and they are given a list of results... if somebody enters a quantity in beside a product and clicks 'buy' I get a 'page expired' notice. Please help! _____ Jillian M. Carroll Internet Consultant, Horizon Computer Solutions 360 1st Avenue North Saskatoon, Saskatchewan S7K 1X4 PHONE: (306) 665-5666 FAX: (306) 665-6199 E-mail: jcarroll@horizon.sk.ca Web-Site: http://www.horizon.sk.ca From: interchange-users at interchange.redhat.com (Simon B) Date: Wed Aug 22 19:50:01 2001 Subject: [ic] This Page has Expired when User Clicks 'Buy' Button from Search R esult There was a recent thread in the archives called: '[ic] "Buy List" button' that touches on this. > > Hey everybody... I've searched through the archives but I can't find > anything (I'm sure it is because I don't know what words to use in my > search)... but I just noticed, when somebody does a search on my site, and > they are given a list of results... if somebody enters a quantity in beside > a product and clicks 'buy' I get a 'page expired' notice. > > Please help! From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Aug 22 20:08:01 2001 Subject: [ic] checkout ERROR: Please help On Wed, 22 Aug 2001, root wrote: r>>203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, r>>probably search group without search specification. at r>>/usr/local/interchange/lib/Vend/Search.pm line 703. > I get the same thing. I've asked about it here on the list, but got no reply. Apparently, there is no answer to it, except to keep deleting the error log :-) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 22, 2001 at 20:05 PM: Why can't we just spell it orderves? ---------------------------------------------------------------- This Linux System has been up 272 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Aug 22 20:23:00 2001 Subject: [ic] This Page has Expired when User Clicks 'Buy' Button from On Wed, 22 Aug 2001, Jillian Carroll wrote: JC>>Hey everybody... I've searched through the archives but I can't find JC>>anything (I'm sure it is because I don't know what words to use in my JC>>search)... but I just noticed, when somebody does a search on my site, and JC>>they are given a list of results... if somebody enters a quantity in beside JC>>a product and clicks 'buy' I get a 'page expired' notice. It hasn't popped up, or I would remember this one! I don't get a 'page expired' notice, but rather I get that the page 'whitepaper' can't be found, which is the wallpaper (whitepaper.jpg) that I use on many pages. If you click on the product title it works fine. Just don't expect to buy the product directly off this search results page. (I wonder how many sales that I have lost!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 22, 2001 at 20:20 PM: Flying saucers are real, the Air Force doesn't exist. ---------------------------------------------------------------- This Linux System has been up 273 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (c.d. tobola) Date: Wed Aug 22 21:11:00 2001 Subject: [ic] Setting DocumentRoot Any assistance would be appreciated.... I've built a catalog in /var/lib/interchange/ (it's a sibling to the construct directory) and everything seems to work correctly if I used the following address: ns2.tobola.com/cgi-bin/dramstad. So how do I set this up so that I can use a virtual domain (www.dramstadwoodcrafts.com) to point to the site? (I know how to set up a virtual domain -- can't figure out the what path I should use for the DocumentRoot.) Thanks, in advance! -Cloy Tobola From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Wed Aug 22 21:40:01 2001 Subject: [ic] On "barry" the cart resets after 25th product >I'm using a slightly modified "barry" demo on Interchange 4.7.2 >and I noticed that after entering the 25th product in the cart, >the cart content is dropped and you're left with an empty cart. I would believe... you'd have to set the OrderLineLimit . Not sure what the default would be, I think in the early days it was 25 or 50 OrderLineLimit The number of items that the user is allowed to place in the shopping cart. Some poorly-mannered robots may ``attack'' your site by following all links one after another. Some even ignore any robots.txt file you may have created. If one of these bad robots orders several dozen or more items, then the time required to save and restore the shopping cart from the user session may become excessive. If the limit is exceeded, then the command defined in the Global directive LockoutCommand will be executed and the shopping cart will be emptied. The default is 0, disabling the check. Set it to a number greater than the number of line items you ever expect a user to order. OrderLineLimit 50 This would be set in your catalog.cfg Ven From: interchange-users at interchange.redhat.com (root) Date: Wed Aug 22 22:41:01 2001 Subject: [ic] Remove Products get phpMyAdmin or something similar go in and edit the merchandising table and remove the products from there. Chances are they could be still in there. YOu also have to edit the inventory table and remove them from there. On Thu, 23 Aug 2001, you wrote: > Original Message: 4 > Date: Tue, 21 Aug 2001 13:20:08 -0500 > From: Chad Wittrock <Chad.Wittrock@uni.edu> > To: Interchange-users <interchange-users@anthrax.interchange.redhat.COM> > Subject: [ic] Remove Products > Reply-To: interchange-users@interchange.redhat.com > > I am using the construct demo as a starting point for my own catalog. I have > added my own products and done some other customization. I deleted the > products that the construct demo comes with from the product table. But, > from time to time and product will display on one of the pages with no image > and no information, but the link will be to one of the old products that I > deleted. How to I get rid of these old products and keep them from showing > up on my catalog pages. > > I am running Interchange 4.6.5 on RH 7.1. I removed the products from the > table by using the administrative ui. The products.txt looks fine. It shows > only the products that I still want in the table. The administrative ui also > shows the correct items. > > Does anyone have any idea why links to the deleted products show up on my > catalog pages?? > > Thanks in advance > Chad > > > Hello Chad, > > I think your products are still in the Merchandising table not the > mv_metadata table. > > I hope this helps > > Regards, > > Jeremy Peel > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jeremy Peel) Date: Wed Aug 22 23:09:01 2001 Subject: [ic] SQL Error Sorry about the HTML E-mail I forgot I was on a WinDoze Box I'm using IC 4.6.5 SuSE 7.0 Pro ApacheSSL 1.3.14 heres the error Sorry, there was an error in processing this form action. Please report the error or try again later. (You have an error in your SQL syntax near 'where sku = 'new0037' ' at line 1 ) I don't have this problem unless i create a new item without pictures. TIA for any help Jeremy Peel LightSpeed Software On the web at www.lswwm.com Now expanding. Come join us! From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 22 23:25:00 2001 Subject: [ic] checkout ERROR: Please help On Wed, Aug 22, 2001 at 08:11:00PM -0400, Jim Balcom wrote: > On Wed, 22 Aug 2001, root wrote: > > r>>203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, > r>>probably search group without search specification. at > r>>/usr/local/interchange/lib/Vend/Search.pm line 703. > > > I get the same thing. I've asked about it here on the list, but got no > reply. > > Apparently, there is no answer to it, except to keep deleting the error > log :-) You have the code, just add some debugging. -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (root) Date: Thu Aug 23 00:18:01 2001 Subject: [ic] 500 internal error on checkout i am getting a 500 internal error on checkout. after clicking the place order button. the order does get through and is placed in the orders database table, but the internal 500 comes up and no receipt is displayed???? can anyone help i checked my error logs and there is noting besides the usual 203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/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. > but i am told that is nothing ??? and i have been having that error being reported since day one. i have changed nothing in the shop. Just one day checkout works , next it doesn't. help???? Ryan Snow. Programmer ryan@whoopersnetwork.com From: interchange-users at interchange.redhat.com (Bedlamedia) Date: Thu Aug 23 01:03:00 2001 Subject: [ic] New and Stuck I've just started to try and work with Interchange and have gotten stuck on installation. It's embarrassing but I keep getting the same error no matter what I try. I am installing it on a Red Hat server but get the following error upon trying to run ./configure: lsh107:~/www/interchange-4.8.1$ ./configure Interchange Version 4.7.x Configuration Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line 143 Can't write uid file: Permission denied make: *** No targets. Stop. make: *** No rule to make target `test'. Stop. lsh107:~/www/interchange-4.8.1$ tech support for the host can't do anything. Can someone point me in he right direction? Thanks From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 23 02:48:01 2001 Subject: [ic] Accessories help I`m simply using: [item-modifier size] which returns the chosen size when adding a new product but gets empty after a refresh... i`ve left the code... ##### [item-calc] return if '[item-modifier mv_si]'; delete $Scratch->{subitems[item-increment]}; my $master = '[item-modifier mv_mi]'; ... ##### ... from the foundation demo in basket.html and other code which includes a modifier tag... mike ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 22, 2001 5:31 PM Subject: Re: [ic] Accessories help > At 11:59 AM 08/22/2001 +0200, you wrote: > >Hi.. > > > >thanx... this solved the problem... > >looks like there is only one left... > >both the quantity pricing and the size modifier work but as soon as i > >refresh the basket (at ord/basket or ord/checkout)... it looses the SIZE > >modifier.. (the quantity pricing still works after the refresh.. but the > >size modifier doesn`t... with [item-modifier size] i get befor the refresh > >my "X" (size X) and after the refresh... nothing :) it is empty.. > > > >what could cause the loose of this modifier value ? > > I dunno. Could you post the chunk of code from your basket which includes > the size display? > > - Ed L. > > > > >thanx > >mike > >----- Original Message ----- > >From: "Ed LaFrance" <edl@newmediaems.com> > >To: <interchange-users@interchange.redhat.com> > >Sent: Tuesday, August 21, 2001 5:37 PM > >Subject: Re: [ic] Accessories help > > > > > > > At 02:02 PM 08/21/2001 +0200, you wrote: > > > >Append... > > > > > > > >I`ve successfully added a drop-down menu where the sizes in the products > > > >table con be selected. > > > >([item_accessories size]) > > > > > > > >[price quantity=10 code=[item-code] size=X] > > > >This shows the price mentioned in the product database. The price > >doesn`t > > > >change... not with quantity=10 (quantity prricing) nor with the modifier > > > >size=X. > > > > > > > >Is there any setting which should be added to catalog.cfg or is something > > > >else wrong ? > > > >(In catalog.cfg i tryd with and without "UseModifier size" > > > > > > Make sure your CommonAdjust string includes: > > > > > > ==size:pricing > > > > > > - Ed L. > > > > > > > > > >thanx > > > >mike > > > >----- Original Message ----- > > > >From: "Michael Mangeng" <interchange@vis.at> > > > >To: <interchange-users@anthrax.interchange.redhat.com> > > > >Sent: Tuesday, August 21, 2001 11:52 AM > > > >Subject: [ic] Accessories help > > > > > > > > > > > > > Hi > > > > > > > > > > I need help with the accessories system. > > > > > Ok, in the table pricing i can add e.g 2 columns named L and XL which > > > >should > > > > > represent the size of a product. To each product in this table i can > >add > > > >now > > > > > price differences to the price in the products table, when one of this > > > > > accessories is chosen by the user. > > > > > > > > > > pricing: > > > > > sku ... ... XL X > > > > > 001 . . 2 1 > > > > > > > > > > products: > > > > > sku ... ... price size > > > > > 001 . . 10 M, X, XL > > > > > > > > > > As far as i know this would cause the price increases by 1 if we > >choose > > > >size > > > > > X and by 2 if we choose size XL right ? > > > > > > > > > > My problem now is now (as long as the information above is right) how > >i > > > >have > > > > > to add the select box into flypage and ord/basket. > > > > > > > > > > I`ve tried it with: > > > > > > > > > > [accessories code="[item-code]" > > > > > type=radio > > > > > attribute=size > > > > > table=products] > > > > > > > > > > ...in flypage.html.. but nothing appears... > > > > > > > > > > thanx > > > > > mike > > > > > > > > > > _______________________________________________ > > > > > interchange-users mailing list > > > > > interchange-users@interchange.redhat.com > > > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > > > > > > > >_______________________________________________ > > > >interchange-users mailing list > > > >interchange-users@interchange.redhat.com > > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > =============================================================== > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 23 05:08:01 2001 Subject: [ic] Dynamic Accessories/Modifier SELECT Hi I cannot get to a solution with my modifier problem (modifier gets lost after a update)... so i think the only possibility is to include the modifier with a input tag (hidden or with a select box) and resubmit it each time... it workes :-) my question now is how i can create dynamic drop down box... with dynamic i mean that this drop down box should bring the following features: + list all possibilitys of the given attribute (e.G. M, X, XL of modifier size) + pre-select (selected option of the select tag) the selected modifier (the customer should`t be forced to update all modifiers each time he updates the basket :-) the first point could be solved with [accessories code size] i know.. and the second with this [SELECTED ...] tag.. but i dont know how i can combine them... and the [selected...]example in the docu only shows how to add a static drop down box with list="m, X, XL"... can anybody help me out here ? thanx, mike From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Thu Aug 23 05:17:01 2001 Subject: [ic] How does [More] work? I have a [perl] section building $Scratch->{journals}. Later on that page is this construction [loop more=1 ml=10 list=`$Scratch->{journals}`] [list] <TR VALIGN=TOP> <td SIZE="10%"></td> <td bgcolor="#FEEDD2" align="center"> <input type="radio" value="[loop-increment]" name="select_journal"> </TD> <td bgcolor="#FEEDD2" align="left"> [loop-pos 1] </TD> ... </TR> [/list] [more-list] <BR> [more] [/more-list] [/loop] This works very well up to 10 items. When there's more items in the list, I see the usual more list ("1 2 Next"), but then the problem starts. When pushing "2" or "Next" to get to item 11 and up, I just get the same page with items 1 to 10. How do I tell it to go to the next page? In a normal loop this works automatically. I believe the trouble is with the list=`$Scratch->{journals}` option. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Marco Mescoli) Date: Thu Aug 23 05:57:00 2001 Subject: [ic] Connecting problem with RH 7.x IC and MySQL: Solution To all It is a rights problem on /var/lib/mysql dir. Don't matter mysql user, password tables rights, no socket, .... Please try chmod and solve Can't connect (111). From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Thu Aug 23 07:04:00 2001 Subject: [ic] 3-level category tree Hi everyone! I've been wondering how to build a 3-level category tree using area/category tables layout from "foundation" store. To give you a specific example of what I need (for the sportsman inside of you;): level (1) (2) (3) / |----- skiing | | | |------skis | | | | | --------carving | | --------racing | | --------kids | | --------etc | | | | | |------boots | | | | | |--------men's | | |--------women's | | |--------kids | |------tennis | | | |------rackets | | | | | |-------beginner | | |-------master | | |-------etc Best if "sking" or "tennis" would open a new page (main page for a level 1 category), and "skis" (level 2) or "racing" (level 3) would just trigger a search. How to achieve this result without loosing functionality from foundation admin? (I'm aware - I can build a new table for categories, but that's not what I'm looking for as for now ;) Regards, Lukasz Znaniecki From: interchange-users at interchange.redhat.com (Jake Thompson) Date: Thu Aug 23 08:52:00 2001 Subject: [ic] Order Sent from ?? Hi All, Quick question. I am trying not to change the SMTP server config, however when interchange sends out order information it is coming from interch@host.xyz.com, is there configuration I'm missing somewhere to have this appear as orders@blah.com instead. Thanks, Jake T. From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Aug 23 08:59:01 2001 Subject: [ic] This Page has Expired when User Clicks 'Buy' Button from I also get this error. Someone suggested a thread titled "Buy List"??? I am not finding it. Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Jim > Balcom > Sent: Wednesday, August 22, 2001 7:26 PM > To: 'interchange-users@interchange.redhat.com' > Subject: Re: [ic] This Page has Expired when User Clicks 'Buy' Button > from Search R esult > > > On Wed, 22 Aug 2001, Jillian Carroll wrote: > > JC>>Hey everybody... I've searched through the archives but I can't find > JC>>anything (I'm sure it is because I don't know what words to use in my > JC>>search)... but I just noticed, when somebody does a search on > my site, and > JC>>they are given a list of results... if somebody enters a > quantity in beside > JC>>a product and clicks 'buy' I get a 'page expired' notice. > > It hasn't popped up, or I would remember this one! > > I don't get a 'page expired' notice, but rather I get that the page > 'whitepaper' can't be found, which is the wallpaper (whitepaper.jpg) > that I use on many pages. If you click on the product title it works > fine. Just don't expect to buy the product directly off this search > results page. (I wonder how many sales that I have lost!) > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Wednesday, August 22, 2001 at 20:20 PM: > Flying saucers are real, the Air Force doesn't exist. > > ---------------------------------------------------------------- > This Linux System has been up 273 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Korney Gozman) Date: Thu Aug 23 09:41:00 2001 Subject: [ic] Search Results, and Cart Display Hi Guys, I have an odd problem, I have a complex search result that was ran after you click on the navigation bar (created by area.txt and cat.txt), but once you purchase an item from that result, the cart display comes up at the top of the result, but now the result is altered, it no longer has the complex search criteria that was specified, and displays the whole category. I have my mv_action = set to = refresh, the search is made using the scan/sf=category/se=.... method, Im using the modified version of the construct demo. So my question... is there anything that I can do to display the same complex search result as before? -Thanks Korey From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 10:11:00 2001 Subject: [ic] How does [More] work? Quoting Kaare Rasmussen (kar@webline.dk): > > I have a [perl] section building $Scratch->{journals}. Later on that page > is this construction > > [loop more=1 ml=10 list=`$Scratch->{journals}`] > [list] > <TR VALIGN=TOP> > <td SIZE="10%"></td> > <td bgcolor="#FEEDD2" align="center"> > <input type="radio" value="[loop-increment]" > name="select_journal"> > </TD> > <td bgcolor="#FEEDD2" align="left"> > [loop-pos 1] > </TD> > ... > </TR> > [/list] > [more-list] > <BR> > [more] > [/more-list] > [/loop] > > > This works very well up to 10 items. When there's more items in the list, I > see the usual more list ("1 2 Next"), but then the problem starts. Currently more=1 is not supported unless it is a search or query. I will probably look at this to see what can be done, but for now it will not work. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> When the only tool you have is a hammer, all your problems tend to look like nails. -- Abraham Maslow From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 10:18:01 2001 Subject: [ic] Order Sent from ?? Quoting Jake Thompson (JThompson@allezsoftware.com): > Hi All, > > Quick question. I am trying not to change the SMTP server config, however > when interchange sends out order information it is coming from > interch@host.xyz.com, is there configuration I'm missing somewhere to have > this appear as orders@blah.com instead. > Route main from orders@blah.com -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Thu Aug 23 10:20:00 2001 Subject: [ic] 3-level category tree "Lukasz Z" <dugi@prion.pl> writes: > I've been wondering how to build a 3-level category tree using > area/category tables layout from "foundation" store. I did this in 4.6 for a 2-level category tree. I know it will work for 4.8, but not sure if it's still the best solution. What I did was use one of the unused fields on the product table. In 4.6 'construct' both subcategory and addl_category were unused. I added a form for the customer to choose the primary category and I saved it in a scratch variable. Then I modified the bar_link global sub so that it used that scratch variable when building the leftside links. All this still worked fine with the Admin UI. Honestly, I haven't looked at the code for 'foundation'. I don't know if bar_link is still used or not. Anyway, YMMV. This is just a strategy you might want to consider. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 10:21:00 2001 Subject: [ic] 3-level category tree Quoting Lukasz Z (dugi@prion.pl): > Hi everyone! > > I've been wondering how to build a 3-level category tree using area/category > tables layout from "foundation" store. > To give you a specific example of what I need (for the sportsman inside of > you;): > > level (1) (2) (3) > / > |----- skiing > | | > | |------skis > | | | > | | --------carving > | | --------racing > | | --------kids > | | --------etc > | | > | | > | |------boots > | | | > | | |--------men's > | | |--------women's > | | |--------kids > | > |------tennis > | | > | |------rackets > | | | > | | |-------beginner > | | |-------master > | | |-------etc > > Best if "sking" or "tennis" would open a new page (main page for a level 1 > category), and "skis" (level 2) or "racing" (level 3) would just trigger a > search. > > How to achieve this result without loosing functionality from foundation > admin? (I'm aware - I can build a new table for categories, but that's not > what I'm looking for as for now ;) > You can't do it without losing functionality, but by modifying your templates/components/category_vertical and the bar_link routine you could do something pretty close. The bar_link routine would trigger a search on whatever discriminates the third category level and display that. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Doug Alcorn) Date: Thu Aug 23 10:25:01 2001 Subject: [ic] New and Stuck "Bedlamedia" <sales@bedlamedia.com> writes: > I am installing it on a Red Hat server but get the following What RedHat version is this? > opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm > line 143 > > Can't write uid file: Permission denied > make: *** No targets. Stop. > make: *** No rule to make target `test'. Stop. > lsh107:~/www/interchange-4.8.1$ This looks like the perl installation is at fault to me. -- (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net) oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. From: interchange-users at interchange.redhat.com (Rodney Wallin) Date: Thu Aug 23 10:36:00 2001 Subject: [ic] MiniVend - Passing Varibles in one click searches I've got a site that I haven't moved over to IC yet but still needing to do some things NOW before I Switch them over. Want to be able to give another site code to use to send people to our shopping cart and be able to track them actually just know that they came from the other site (like an affiliate). Currently product line is limited and we are sending them to the results page of the item they clicked. http://................./scan/se=/se=/se=/se=/se=2156/se=gm/ml=100/mm=200/em =0/su=yes/sf=artist/sf=title/sf=style/sf=category/sf=code/sf=special/co=yes How can I fill in a variable on the link that passes in MiniVend so I can then track that through the final order? I'm trying to give the variable REFER a value but it doesn't seem to pass it to the page. I just want to follow that variable to the reciept page so when we get the report it will show the value. Thanks in advance Rodney From: interchange-users at interchange.redhat.com (Jerry) Date: Thu Aug 23 10:53:00 2001 Subject: [ic] This Page has Expired when User Clicks 'Buy' Button from Search R esult This is usually caused by using a proxy server. I posted a fix for this a few months ago here: http://developer2.akopia.com/archive/interchange-users/2001/msg05493.html At least it works for me. Jerry Uphoff -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Chad Wittrock Sent: Thursday, August 23, 2001 8:58 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] This Page has Expired when User Clicks 'Buy' Button from Search R esult I also get this error. Someone suggested a thread titled "Buy List"??? I am not finding it. Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Jim > Balcom > Sent: Wednesday, August 22, 2001 7:26 PM > To: 'interchange-users@interchange.redhat.com' > Subject: Re: [ic] This Page has Expired when User Clicks 'Buy' Button > from Search R esult > > > On Wed, 22 Aug 2001, Jillian Carroll wrote: > > JC>>Hey everybody... I've searched through the archives but I can't find > JC>>anything (I'm sure it is because I don't know what words to use in my > JC>>search)... but I just noticed, when somebody does a search on > my site, and > JC>>they are given a list of results... if somebody enters a > quantity in beside > JC>>a product and clicks 'buy' I get a 'page expired' notice. > > It hasn't popped up, or I would remember this one! > > I don't get a 'page expired' notice, but rather I get that the page > 'whitepaper' can't be found, which is the wallpaper (whitepaper.jpg) > that I use on many pages. If you click on the product title it works > fine. Just don't expect to buy the product directly off this search > results page. (I wonder how many sales that I have lost!) > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Wednesday, August 22, 2001 at 20:20 PM: > Flying saucers are real, the Air Force doesn't exist. > > ---------------------------------------------------------------- > This Linux System has been up 273 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Larry Roma) Date: Thu Aug 23 11:12:00 2001 Subject: [Mike Heins <mheins@redhat.com>] Re: [ic] Upgrading production Hey Doug, Thanks for that update--just what I wanted to hear. A smooth upgrade with some pre-established tweaks. Regards, -- Larry "Creativity with cereal and lack of knowledge is dangerous but generally edible and subsequently food for the mind." From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Thu Aug 23 11:25:01 2001 Subject: [ic] This Page has Expired when User Clicks 'Buy' Button from Great! That worked. Thanks! Chad > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > Jerry > Sent: Thursday, August 23, 2001 9:52 AM > To: interchange-users@interchange.redhat.COM > Subject: RE: [ic] This Page has Expired when User Clicks 'Buy' Button > from Search R esult > > > This is usually caused by using a proxy server. > I posted a fix for this a few months ago here: > http://developer2.akopia.com/archive/interchange-users/2001/msg05493.html > At least it works for me. > > Jerry Uphoff > > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Chad > Wittrock > Sent: Thursday, August 23, 2001 8:58 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] This Page has Expired when User Clicks 'Buy' Button > from Search R esult > > > I also get this error. Someone suggested a thread titled "Buy > List"??? I am > not finding it. > > Chad > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.COM > > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of Jim > > Balcom > > Sent: Wednesday, August 22, 2001 7:26 PM > > To: 'interchange-users@interchange.redhat.com' > > Subject: Re: [ic] This Page has Expired when User Clicks 'Buy' Button > > from Search R esult > > > > > > On Wed, 22 Aug 2001, Jillian Carroll wrote: > > > > JC>>Hey everybody... I've searched through the archives but I can't find > > JC>>anything (I'm sure it is because I don't know what words to > use in my > > JC>>search)... but I just noticed, when somebody does a search on > > my site, and > > JC>>they are given a list of results... if somebody enters a > > quantity in beside > > JC>>a product and clicks 'buy' I get a 'page expired' notice. > > > > It hasn't popped up, or I would remember this one! > > > > I don't get a 'page expired' notice, but rather I get that the page > > 'whitepaper' can't be found, which is the wallpaper (whitepaper.jpg) > > that I use on many pages. If you click on the product title it works > > fine. Just don't expect to buy the product directly off this search > > results page. (I wonder how many sales that I have lost!) > > > > -= Jim =- > > > > ---------------------------------------------------------------- > > Jim's Linux-Operated Underground Bomb Shelter > > > > Tagline for Wednesday, August 22, 2001 at 20:20 PM: > > Flying saucers are real, the Air Force doesn't exist. > > > > ---------------------------------------------------------------- > > This Linux System has been up 273 hours > > > > My web page: http://www.idk-enterprises.com > > ---------------------------------------------------------------- > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Thu Aug 23 11:28:01 2001 Subject: [ic] [if]problems, strange user id-s, an gift certs HI everyone! 3 problems this time: 1. when setting an [if] clause for display of number of products in cart: [if nitems = = 1] product<br> [else] products<br> [/else] [/if] I always get product, even if i've got >1 products in my cart. Any ideas? 2. When adding a user in the customer part of "foundation", everything goes ok, the new user is created and logged in. However it is created under user-id not specified by me, but something like: U00001 -U00002 - U00003 - U00004 etc. 3. Nothing really happens when I buy a gift cert - no code is generated, no message. Even if it was - how would I redeem a gift cert? Looking fwd to your replies folks, Regards, Luki Znaniecki From: interchange-users at interchange.redhat.com (Davide Repetto) Date: Thu Aug 23 11:39:00 2001 Subject: [ic] On "barry" the cart resets after 25th product Thank you very much, Ven. This hint was really precious, and thanks also for advising me that robots could create problems of this kind. Bye, ReD > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Victor Nolton > Sent: Thursday, August 23, 2001 3:39 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] On "barry" the cart resets after 25th product > > > >I'm using a slightly modified "barry" demo on Interchange 4.7.2 > >and I noticed that after entering the 25th product in the cart, > >the cart content is dropped and you're left with an empty cart. > > I would believe... you'd have to set the OrderLineLimit . From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 23 11:48:00 2001 Subject: [ic] MiniVend - Passing Varibles in one click searches At 10:36 AM 08/23/2001 -0400, you wrote: >I've got a site that I haven't moved over to IC yet but still needing to do >some things NOW before I Switch them over. > >Want to be able to give another site code to use to send people to our >shopping cart and be able to track them actually just know that they came >from the other site (like an affiliate). Currently product line is limited >and we are sending them to the results page of the item they clicked. > >http://................./scan/se=/se=/se=/se=/se=2156/se=gm/ml=100/mm=200/em >=0/su=yes/sf=artist/sf=title/sf=style/sf=category/sf=code/sf=special/co=yes > >How can I fill in a variable on the link that passes in MiniVend so I can >then track that through the final order? I'm trying to give the variable >REFER a value but it doesn't seem to pass it to the page. > >I just want to follow that variable to the reciept page so when we get the >report it will show the value. It's been a long time, but I believe if you do this: http://www.site.com/cgi-bin/catalog/page?;;site_code ...then 'site_code' will be captured in the session; you should be able to retrieve it with: [data session source] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Kaare Rasmussen) Date: Thu Aug 23 11:52:00 2001 Subject: [ic] How does [More] work? > Currently more=1 is not supported unless it is a search or query. I will > probably look at this to see what can be done, but for now it will not > work. OK. Nice to know it's not me that's crazy! -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Howitzvej 75 Åben 14.00-18.00 Web: www.suse.dk 2000 Frederiksberg Lørdag 11.00-17.00 Email: kar@webline.dk From: interchange-users at interchange.redhat.com (Adam Lewis) Date: Thu Aug 23 12:29:01 2001 Subject: [ic] Uploading images >From the admin interface when I add a new item and browse to the picture on a different box interchange appends the entire path name to the name of the image after I upload. I want to upload thispicturere.gif It uploads and renames the file to c:\images\thispicture.gif and of course the images doesn't show up. It does upload the file but renames it and of course that isn't a valid filename so the picture does not show up. Any ideas? Thanks, Adam __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Rodney Wallin) Date: Thu Aug 23 12:51:01 2001 Subject: [ic] Re: MiniVend - Passing Varibles in one click searches Ed, That worked perfectly, thanks a million!!!!!!!!! Rodney From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 23 13:09:00 2001 Subject: [ic] shipping method woes (bad formula error) Well I went home, came in fresh, and figured this out in 5 minutes, and am posting this to the mail list for future use. All I had to do was add single quotes around @@TOTAL@@ ground UPS Ground weight 0 0 e Nothing to Ship! {'ui_ship_type' => "weight",'ups' => "0",'PriceDivide' => "1",} ground UPS Ground weight 0 2 4.95 {'PriceDivide' => "1",} ground UPS Ground weight 2 150 f [de_custom_ship baseprice="4.95" weight='@@TOTAL@@' shipcalc_start_weight="2.00"] {'PriceDivide' => "1",} ground UPS Ground weight 150 999999 e Please call for quote. Then I cleaned up the usertag code ;-) ############################################################################### # This tag provides the custom shipping routine that Diabetic Express uses # to calculate shipping # # Basically it's 1 set price for the first two pounds, after that, it's an # additional dollar for each pound. UserTag de_custom_ship Order baseprice weight shipcalc_start_weight UserTag de_custom_ship Routine <<EOR sub { use POSIX qw(modf); my($baseprice, $weight, $shipcalc_start_weight) = @_; my $x; my $y; my $actualshipweight = $weight; my $shipcost; # Check to see if modulo is greater than 0. ($x, $y) = modf($weight); # If it is round up to next pound. if ($x > 0) { $y++; $actualshipweight = $y; } $actualshipweight = ($actualshipweight - $shipcalc_start_weight); $shipcost = ($baseprice + $actualshipweight); return $shipcost; } EOR Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 23 13:12:00 2001 Subject: [ic] [if]problems, strange user id-s, an gift certs At 05:23 PM 08/23/2001 +0200, you wrote: >HI everyone! > >3 problems this time: >1. when setting an [if] clause for display of number of products in cart: > > [if nitems = = 1] > product<br> > [else] > products<br> > [/else] > [/if] > >I always get product, even if i've got >1 products in my cart. Any ideas? 'nitems' is not a valid type for if, as far as I know. Try this: [if items][then] [if type=explicit compare="[calc][nitems] > 1[/calc]"] products<br> [else] product<br> [/else] [/if] [/then] [else] no products<br> [/else] [/if] - Ed L. >2. When adding a user in the customer part of "foundation", everything goes >ok, the new user is created and logged in. However it is created under >user-id not specified by me, but something like: U00001 -U00002 - U00003 - >U00004 etc. > >3. Nothing really happens when I buy a gift cert - no code is generated, no >message. Even if it was - how would I redeem a gift cert? > >Looking fwd to your replies folks, >Regards, >Luki Znaniecki > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 23 13:15:01 2001 Subject: [ic] 4.8.2 UI Customer Order Summary not in [currency] Has anyone else noticed that the Order Total field In the UI Customer->View Customer is not set up as a currency? Is there a particular reason for this? Or is it a minor bug? I have values from xx.y, xx.yy, xx.yyy. Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Gavin Harper) Date: Thu Aug 23 13:22:02 2001 Subject: [ic] Image Upload still not working >> Hi Everyone, >> >> Has anyone else noticed that you can't upload images correctly with the >>admin tool in release version 4.8.1 of IC? >>It used to work on previous versions, but now if you go to the Items section >>of the admin tool and try to change the images using Browse >>it uploads the image with the full path name from my local machine for >>example: >> >> E:\Documents and Settings\Administrator\Desktop\image.jpg >> >> Obviously this doesn't work very well! > >It should, at least if your meta display type is "imagehelper". > >> Anyone have any ideas how to fix this? >> > >>Make sure the metadata is: >> >>code: products::image >>type: imagehelper >>prepend: http://__SAMPLEHTML__ >>outboard: images/items >> >>code: products::thumb >>type: imagehelper >>prepend: http://__SAMPLEHTML__ >>outboard: images/thumb Just noticed that its not working in the demo version of 4.8.2 at: http://demo.akopia.com/cgi-bin/ic3/admin/index >Sorry Mike but I have checked the mv_metadata.asc file and it is exactly as >you specify above. >I'm still having the sames problems. >Any ideas now? > >Thanks for all you help so far. > >Gavin From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 13:33:01 2001 Subject: [ic] MiniVend - Passing Varibles in one click searches Quoting Ed LaFrance (edl@newmediaems.com): > At 10:36 AM 08/23/2001 -0400, you wrote: > >I've got a site that I haven't moved over to IC yet but still needing to do > >some things NOW before I Switch them over. > > > >Want to be able to give another site code to use to send people to our > >shopping cart and be able to track them actually just know that they came > >from the other site (like an affiliate). Currently product line is limited > >and we are sending them to the results page of the item they clicked. > > > >http://................./scan/se=/se=/se=/se=/se=2156/se=gm/ml=100/mm=200/em > >=0/su=yes/sf=artist/sf=title/sf=style/sf=category/sf=code/sf=special/co=yes > > > >How can I fill in a variable on the link that passes in MiniVend so I can > >then track that through the final order? I'm trying to give the variable > >REFER a value but it doesn't seem to pass it to the page. > > > >I just want to follow that variable to the reciept page so when we get the > >report it will show the value. > > It's been a long time, but I believe if you do this: > > http://www.site.com/cgi-bin/catalog/page?;;site_code > > ...then 'site_code' will be captured in the session; you should be able to > retrieve it with: > > [data session source] > Yes. Though the way to do it in Interchange (and Minivend 4) is to do: http://www.site.com/cgi-bin/catalog/page?mv_pc=site_code site_code must contain at least one alpha character ( [A-Za-z] ). -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Prove you aren't stupid. Say NO to Passport. From: interchange-users at interchange.redhat.com (root) Date: Thu Aug 23 13:43:00 2001 Subject: [ic] can't install foundation-demo I installed the interchange rpm on my Mandrake Linux box and everything was ok, but makecat wouldn't build foundation. So I went back to the Red Hat site and downloaded the foundation and foundation-demo rpm's and the first one installed ok. But foundation-demo fails on the rpm command like this: # rpm -i interchange-foundation-demo-4.8.1-1.i386.rpm unpacking of archive failed on file /var/lib/interchange/foundation/logs: cpio: unlink failed - Is a directory I re-downloaded the rpm but it's the same. I am a linux newbie and I don't know how much more of this I can take, so please help. From: interchange-users at interchange.redhat.com (Xavier de GELIS) Date: Thu Aug 23 16:37:00 2001 Subject: [ic] Foundation catalog - Admin UI default login and password Hello, Interchange 4.8.1 RPM installation What is the default Admin login and password for the Foundation catalog ? Is it interch / but is that case, what is the default password ? I checked /products/access.asc but the password is encrypted. Thanks and Regards, Xavier From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Thu Aug 23 17:06:00 2001 Subject: [ic] Foundation catalog - Admin UI default login and password Hi XAvier, It's interch/pass Regards, Lukasz Z ----- Original Message ----- From: "Xavier de GELIS" <xgelis@omnidatasys.com> To: <interchange-users@interchange.redhat.com> Sent: Thursday, August 23, 2001 10:36 PM Subject: [ic] Foundation catalog - Admin UI default login and password > Hello, > > Interchange 4.8.1 RPM installation > What is the default Admin login and password for the Foundation catalog ? > Is it interch / but is that case, what is the default password ? > I checked /products/access.asc but the password is encrypted. > > Thanks and Regards, Xavier > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Terese Elbring) Date: Thu Aug 23 17:15:01 2001 Subject: [ic] Lost cart on checkout to SSL server - new session ID created? Hello, I was losing my cart contents every time I attempted to check out using our SSL server. Every time I accessed the SSL server, I was assigned a new session ID. I tried all possible solutions listed in the various threads here, with no success. I turned on debugging and added some statements to bin/interchange to try to figure out what was happening. Long story short, I commented out line 1895 (init_session();) in bin/interchange and everything seems to be working properly now. My question is, have I broken the script in some way that I have not yet discovered? What might the ramifications of this change be? Thanks for your time, code snippet follows. --------- CODE SNIP --------- if(! $Vend::CookieID) { if( is_retired($sessionid) ) { new_session(); last RESOLVEID; } my $compare_host = $CGI::secure ? ($Vend::Session->{shost}) : ($Vend::Session->{ohost}); if(! $compare_host) { new_session($seed) unless $CGI::secure; # init_session(); $Vend::Session->{shost} = $CGI::remote_addr; } elsif ($compare_host ne $CGI::remote_addr) { new_session($seed); init_session(); } ---------- END CODE SNIP ------------- Terese Elbring atlantis@belowsealevel.org From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 23 17:17:01 2001 Subject: [ic] Foundation catalog - Admin UI default login and Most likey the password is: pass At 02:36 AM 8/24/01 +0600, you wrote: >Hello, > >Interchange 4.8.1 RPM installation >What is the default Admin login and password for the Foundation catalog ? >Is it interch / but is that case, what is the default password ? >I checked /products/access.asc but the password is encrypted. > >Thanks and Regards, Xavier > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Ben H) Date: Thu Aug 23 17:19:01 2001 Subject: [ic] Uploading images The only way I've been able to get images working with 4.8.1 is to put the images into the default directory (items & thumbs), then simply type in the filename of the image I wanted to use. I would like to use the upload functionality, but I can't get it working either. Is it possible to assign multiple images to a SKU? Ben At 09:28 AM 8/23/2001 -0700, you wrote: > From the admin interface when I add a new item and >browse to the picture on a different box interchange >appends the entire path name to the name of the image >after I upload. > >I want to upload thispicturere.gif > >It uploads and renames the file to >c:\images\thispicture.gif and of course the images >doesn't show up. It does upload the file but renames >it and of course that isn't a valid filename so the >picture does not show up. Any ideas? > >Thanks, > >Adam > >__________________________________________________ >Do You Yahoo!? >Make international calls for as low as $.04/minute with Yahoo! Messenger >http://phonecard.yahoo.com/ >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (interch) Date: Thu Aug 23 17:35:00 2001 Subject: [ic] UPS api change? This didn't start happening until we upgraded from 4.7.8 to 4.8.1, but I don't think that had anything to do with it. The ups-query tag undefines the country if the country is 'US', but UPS is returning 'Missing ConsigneeCountry' when the country is not passed. Commented out the line that undefines country and it works fine. Chris From: interchange-users at interchange.redhat.com (Richard White) Date: Thu Aug 23 19:23:00 2001 Subject: [ic] tutorial problem with checkout Hi all, I'm new to interchange and am working through the tutorial. When I try to check out I get the error: < ----------- Begin Error ---------------- > The following information was not given: Please go back to the checkout page and fill out the form properly. < ------------ End Error ------------------ > Does anyone have an idea how to fix this? Im using version 4.8.1 Thanks in advance Richard __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Aug 23 19:32:00 2001 Subject: [ic] [sort] across [more] pages One of the drawbacks to the sort tag in IC 4.6.1 was that it did not work correctly with the more tag. Has this problem been fixed in the 4.8 release? The larger issue at hand is that we have a customer who would like to have sort links at the top of their results page. The links would be for sku, title, price, availability, etc. I know that I could do this task if I were either able to use the sort tag or able to retrieve what was last used as search criteria and to modify the sort field. Any ideas on this one? Thanks! -Ron From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Aug 23 19:53:00 2001 Subject: [ic] checkout ERROR: Please help On Wed, 22 Aug 2001 cfm@maine.com wrote: >>On Wed, Aug 22, 2001 at 08:11:00PM -0400, Jim Balcom wrote: >>> On Wed, 22 Aug 2001, root wrote: >>> >>> r>>203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/process.html search error: Limit subroutine creation: bad limit creation code in coordinated search, >>> r>>probably search group without search specification. at >>> r>>/usr/local/interchange/lib/Vend/Search.pm line 703. > >>> >>> I get the same thing. I've asked about it here on the list, but got no >>> reply. >>> >>> Apparently, there is no answer to it, except to keep deleting the error >>> log :-) >> >>You have the code, just add some debugging. Yes, I realize that. But, it's not written in C. If it were written in C I could do all of that. My knowledge of Perl is meager. I found that line that it is referencing, but it doesn't tell me diddley! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 23, 2001 at 19:50 PM: It's not an optical illusion. It just looks like one. ---------------------------------------------------------------- This Linux System has been up 296 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 23 20:36:01 2001 Subject: [ic] [sort] across [more] pages At 04:29 PM 08/23/2001 -0700, you wrote: >One of the drawbacks to the sort tag in IC 4.6.1 was that it did not >work correctly with the more tag. Has this problem been fixed in the >4.8 release? > >The larger issue at hand is that we have a customer who would like to >have sort links at the top of their results page. The links would be >for sku, title, price, availability, etc. I know that I could do this >task if I were either able to use the sort tag or able to retrieve what >was last used as search criteria and to modify the sort field. Any >ideas on this one? > The core of the issue is that the sorting has to be done on the entire list of search results, before the paging with [more] is generated. [sort] just isn't used in that scope, and I think its days are numbered. Take a look at VENDROOT/lib/UI/pages/admin/item.html for an example of how to resubmit a search with different sort criteria, to get the entire list in the desired order across multiple pages. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Thu Aug 23 20:49:00 2001 Subject: [ic] tutorial problem with checkout On Thu, Aug 23, 2001 at 16:22, Richard White wrote: > Hi all, > > I'm new to interchange and am working through the > tutorial. When I try to check out I get the error: > > > < ----------- Begin Error ---------------- > > The following information was not given: > > > Please go back to the checkout page and fill out the > form properly. > > < ------------ End Error ------------------ > > > Does anyone have an idea how to fix this? > > Im using version 4.8.1 Restart interchange. You've probably made some change in catalog.cfg that needs to be re-read. IIRC, the tutorial isn't really clear on when and why you need to restart interchange. At least not clear enough for the folks most likely to be working through that tutorial. Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (root) Date: Thu Aug 23 20:50:00 2001 Subject: [ic] Interchange 4.8.1 Install I am new user and I can't find install documentation for RPM install on Red Hat 7.1. I tried to install the Perl modules using : perl -MCPAN -e 'install Bundle::Interchange' but I get errors: Can't locate LWP::Simple Aborts on build MD5 and Business::UPS Also I can't start the foundation store from account interch although I installed from root. Is this an account authorization problem? From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Aug 23 21:29:00 2001 Subject: [ic] [sort] across [more] pages > At 04:29 PM 08/23/2001 -0700, you wrote: > >One of the drawbacks to the sort tag in IC 4.6.1 was that it did not > >work correctly with the more tag. Has this problem been fixed in the > >4.8 release? > > > > The core of the issue is that the sorting has to be done on the entire > list > of search results, before the paging with [more] is generated. [sort] > just > isn't used in that scope, and I think its days are numbered. I now understand the problem and can see why it does not work with more. > Take a look at VENDROOT/lib/UI/pages/admin/item.html for an example of how > to resubmit a search with different sort criteria, to get the entire list > in the desired order across multiple pages. Thanks for the pointer. I had thought about doing it a similar way with passing all of the options for the search as cgi values then building the search based on those cgi values instead of passing them like: /scan/se=/sf=/ etc. However this would require that our static search links be rebuilt. Do you know if it's possible to get the values that were submitted in a link that looks like this: /scan/sf=display/se=yes/se=Case%20Badges/sf=category/ml=15/tf=sku/to=f.h tml , without rewriting the link to pass the values as a cgi string? It would even be enough if it came back as a complete string and I could then parse out the sort option, change it to the new value, and rebuild the string. Thank you for your help, -Ron From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 21:31:00 2001 Subject: [ic] UPS api change? Quoting interch (interch@web3.valley-internet.com): > > This didn't start happening until we upgraded from 4.7.8 to 4.8.1, but I > don't think that had anything to do with it. The ups-query tag undefines > the country if the country is 'US', but UPS is returning 'Missing > ConsigneeCountry' when the country is not passed. Commented out the line > that undefines country and it works fine. I think what it means is that UPS started requiring ConsigneeCountry, and the update to 4.8.1 was coincidental. The last change to the ups_query.tag code was January 2001. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 21:31:22 2001 Subject: [ic] [sort] across [more] pages Quoting Ron Phipps (rphipps@reliant-solutions.com): > One of the drawbacks to the sort tag in IC 4.6.1 was that it did not > work correctly with the more tag. Has this problem been fixed in the > 4.8 release? You misunderstand. It works correctly, just not the way you want it to. 8-) > > The larger issue at hand is that we have a customer who would like to > have sort links at the top of their results page. The links would be > for sku, title, price, availability, etc. I know that I could do this > task if I were either able to use the sort tag or able to retrieve what > was last used as search criteria and to modify the sort field. Any > ideas on this one? This is easy to do if you just re-do the query. Some examples of how to do this are found in the UI. It is quite possible to sort the list yourself if you do queries and manage the saving. It is a good suggestion to automate this, however, and I suggest you file an enhancement request on Bugzilla. That will make sure it gets paid attention to, if not done right away. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Fast, reliable, cheap. Pick two and we'll talk. -- unknown From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 21:31:44 2001 Subject: [ic] Lost cart on checkout to SSL server - new session ID created? Quoting Terese Elbring (atlantis@belowsealevel.org): > Hello, > > I was losing my cart contents every time I attempted to check out using > our SSL server. Every time I accessed the SSL server, I was assigned a > new session ID. I tried all possible solutions listed in the various > threads here, with no success. > > I turned on debugging and added some statements to bin/interchange to try > to figure out what was happening. > > Long story short, I commented out line 1895 (init_session();) in > bin/interchange and everything seems to be working properly now. My > question is, have I broken the script in some way that I have not yet > discovered? What might the ramifications of this change be? Thanks for > your time, code snippet follows. I think you fixed something, not broke it. > > --------- CODE SNIP --------- > > if(! $Vend::CookieID) { > if( is_retired($sessionid) ) { > new_session(); > last RESOLVEID; > } > my $compare_host = $CGI::secure > ? ($Vend::Session->{shost}) > : ($Vend::Session->{ohost}); > > if(! $compare_host) { > new_session($seed) unless $CGI::secure; > # init_session(); > $Vend::Session->{shost} = $CGI::remote_addr; > } > elsif ($compare_host ne $CGI::remote_addr) { > new_session($seed); > init_session(); > } > CVS annotation says this line of code was added July 18, but I don't think that would be correct. I will look at previous versions and see where it appeared. The basic idea is to allow one IP address to talk per session, and allow separate IPs for secure and non-secure (as when you are behind a proxy in HTTP but not in HTTPS). Interchange can tolerate almost anything if it has a cookie, and theoretically should allow one attempt per session to make the transition between non-secure and secure. It should then try and set a cookie on the secure side and be OK. I think we should do an analysis of diffferent scenarios to try and fully characterize where sessions are lost and not lost. We may not be able to fix the worst scenario, which is: 1. No cookies enabled. 2. Differing secure and non-secure server domains. 3. Differing IP addresses on client for HTTP and HTTPS. 4. WideOpen not set. but we should be able to characterize what goes wrong where. If I ever get enough time to do this, I will. But someone who is interested in having differing secure/non-secure domains would be more motivated than me. 8-) -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at interchange.redhat.com (Richard White) Date: Thu Aug 23 22:22:01 2001 Subject: [ic] tutorial problem with checkout Pann, That didn't appear to fix the issue, are there any other recommendations. Richard --- Pann McCuaig <pann@ourmanpann.com> wrote: > On Thu, Aug 23, 2001 at 16:22, Richard White wrote: > > Hi all, > > > > I'm new to interchange and am working through the > > tutorial. When I try to check out I get the error: > > > > > > < ----------- Begin Error ---------------- > > > The following information was not given: > > > > > > Please go back to the checkout page and fill out the > > form properly. > > > > < ------------ End Error ------------------ > > > > > Does anyone have an idea how to fix this? > > > > Im using version 4.8.1 > > Restart interchange. You've probably made some change in catalog.cfg > that needs to be re-read. IIRC, the tutorial isn't really clear on when > and why you need to restart interchange. At least not clear enough for > the folks most likely to be working through that tutorial. > > Luck, > Pann > -- > geek by nature, Linux by choice L I N U X .~. > The Choice /V\r > http://www.ourmanpann.com/linux/ of a GNU /( > )\r > Generation > ^^-^^ > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 23 22:30:02 2001 Subject: [ic] [sort] across [more] pages Quoting Ron Phipps (rphipps@reliant-solutions.com): > Thanks for the pointer. I had thought about doing it a similar way with > passing all of the options for the search as cgi values then building > the search based on those cgi values instead of passing them like: > /scan/se=/sf=/ etc. However this would require that our static search > links be rebuilt. Do you know if it's possible to get the values that > were submitted in a link that looks like this: > /scan/sf=display/se=yes/se=Case%20Badges/sf=category/ml=15/tf=sku/to=f.h > tml > , without rewriting the link to pass the values as a cgi string? It > would even be enough if it came back as a complete string and I could > then parse out the sort option, change it to the new value, and rebuild > the string. > You can do a quick-and-dirty pretty easily. Save the following to any page and then access it. [page scan/ra=yes/sp=@@MV_PAGE@@]Test it[/page] <P> [loop code prod_group category description price:n ] [loop-calc] my $url; my $search; if( $search = $Session->{last_search}) { $search =~ s!tf=\w+!tf=[loop-code]! or $search .= "/tf=[loop-code]"; } else { $search = 'scan/ra=yes/tf=code/sp=@@MV_PAGE@@'; } my $url = $Tag->area($search); return qq{<A HREF="$url">Sort on [loop-code]</A><BR>}; [/loop-calc] [/loop] <P> [search-region] <table> <tr> <td> code </td> <td> prod_group </td> <td> category </td> <td> description </td> <td> price </td> </tr> [search-list] <tr> <td> [item-code] </td> <td> [item-field prod_group] </td> <td> [item-field category] </td> <td> [item-description] </td> <td> [item-price] </td> </tr> [/search-list] </table> [/search-region] -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From: interchange-users at interchange.redhat.com (Honest 2 Goodness) Date: Thu Aug 23 22:44:01 2001 Subject: [ic] foundation demo I did a makecat on the foundation demo, and everything seemed to go okay. But when I restarted the interchange server I got the following: # interchange -r interch Killing Interchange server 14325 with TERM. Low traffic settings. Calling UI......UI is loaded... Interchange V4.8.1 Configuring catalog foundation...Required Perl module Safe::Hole not present. Aborting catalog. In line 7 of the configuration file 'catalog.cfg': Require module Safe::Hole foundation: error in configuration. Skipping. foundation: config error. Skipping. Interchange server started in INET and UNIX mode(s) (process id 23064) My localhost/foundation url shows the HTML page but the enter links lead to an error page that says the catalog is invalid. Will interchange be any less frustrating when I finally get the example started? From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Aug 23 22:53:01 2001 Subject: [ic] [sort] across [more] pages > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Mike Heins > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > One of the drawbacks to the sort tag in IC 4.6.1 was that it did not > > work correctly with the more tag. Has this problem been fixed in the > > 4.8 release? > > You misunderstand. It works correctly, just not the way you want it > to. 8-) So true :) > > > > The larger issue at hand is that we have a customer who would like to > > have sort links at the top of their results page. The links would be > > for sku, title, price, availability, etc. I know that I could do this > > task if I were either able to use the sort tag or able to retrieve what > > was last used as search criteria and to modify the sort field. Any > > ideas on this one? > > This is easy to do if you just re-do the query. Some examples of > how to do this are found in the UI. When you say re-do the query do you mean to pass all of the search options as cgi values and pass those values to the search-region in the arg tag? Then build my sort links based off of those CGI values? How can I handle if I have more then one sf and se value when passing them as CGI values? > It is quite possible to sort the list yourself if you do queries and > manage the saving. I thought about this one too... figured there had to be an easier way. Is there a way to get the current search string being used that was passed in the URL? > It is a good suggestion to automate this, however, and I suggest you file > an enhancement request on Bugzilla. That will make sure it gets paid > attention to, if not done right away. I will do just that. I noticed that in the UI (pointed out by Ed) there was a sort argument being passed to the [search-region] tag. If you use the sort argument are you required to send an arg argument as well? Or will it pull the arg from the URL and sort that list? Thanks for your help, -Ron From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Thu Aug 23 22:59:00 2001 Subject: [ic] [sort] across [more] pages > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Mike Heins > Quoting Ron Phipps (rphipps@reliant-solutions.com): > > Do you know if it's possible to get the values that > > were submitted in a link that looks like this: > > /scan/sf=display/se=yes/se=Case%20Badges/sf=category/ml=15/tf=sku/to=f.h > > tml > > , without rewriting the link to pass the values as a cgi string? It > > would even be enough if it came back as a complete string and I could > > then parse out the sort option, change it to the new value, and rebuild > > the string. > > > > You can do a quick-and-dirty pretty easily. Save the following to any > page and then access it. > > [page scan/ra=yes/sp=@@MV_PAGE@@]Test it[/page] > <P> > [loop code prod_group category description price:n ] > [loop-calc] > my $url; > my $search; > if( $search = $Session->{last_search}) { $Session->{last_search} was what I was looking for!!! Thanks Mike, you even gave me the expression to replace the tf tag, too cool :) I appreciate your help tonight. -Ron > $search =~ s!tf=\w+!tf=[loop-code]! > or $search .= "/tf=[loop-code]"; > } > else { > $search = 'scan/ra=yes/tf=code/sp=@@MV_PAGE@@'; > } > my $url = $Tag->area($search); > return qq{<A HREF="$url">Sort on [loop-code]</A><BR>}; > [/loop-calc] > [/loop] > > <P> > [search-region] > <table> > <tr> > <td> > code > </td> > <td> > prod_group > </td> > <td> > category > </td> > <td> > description > </td> > <td> > price > </td> > </tr> > [search-list] > <tr> > <td> > [item-code] > </td> > <td> > [item-field prod_group] > </td> > <td> > [item-field category] > </td> > <td> > [item-description] > </td> > <td> > [item-price] > </td> > </tr> > [/search-list] > </table> > [/search-region] > > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > I have a cop friend who thinks he ought be able to give a new ticket; > "too dumb for conditions". > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Totten) Date: Thu Aug 23 23:03:01 2001 Subject: [ic] foundation demo On 23 Aug 2001 14:45:14 -0400, Honest 2 Goodness wrote: > I did a makecat on the foundation demo, and everything seemed to go > okay. But when I restarted the interchange server I got the following: > > # interchange -r interch > Killing Interchange server 14325 with TERM. > Low traffic settings. > Calling UI......UI is loaded... > Interchange V4.8.1 > Configuring catalog foundation...Required Perl module Safe::Hole not > present. Aborting catalog. > In line 7 of the configuration file 'catalog.cfg': > Require module Safe::Hole You need to install the Safe::Hole Module. Either install the rpm/deb binary of the module, or you could install it as root by doing the following command: perl -MCPAN -e 'install Safe::Hole' If you are not very sure of what you are doing, I would suggest using the rpm/deb binary packages. > My localhost/foundation url shows the HTML page but the enter links lead > to an error page that says the catalog is invalid. Will interchange be > any less frustrating when I finally get the example started? Unfortunatly, probably not. Interchange has a very steep learning curve. Make sure and have plenty of time set aside for building a store. It could take a while. Dave Totten -- ___________________________________________________________________ GnuPG uid: 0x887B864C Key fingerprint: 749E E8A9 E905 7372 163B 2D19 E8D6 4BA9 887B 864C For more information about GnuPG, visit http://www.gnupg.org From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 23 23:14:00 2001 Subject: [ic] foundation demo David Totten <dstotten@davetotten.com> writes: > On 23 Aug 2001 14:45:14 -0400, Honest 2 Goodness wrote: > > I did a makecat on the foundation demo, and everything seemed to go > > okay. But when I restarted the interchange server I got the following: > > > > # interchange -r interch > > Killing Interchange server 14325 with TERM. > > Low traffic settings. > > Calling UI......UI is loaded... > > Interchange V4.8.1 > > Configuring catalog foundation...Required Perl module Safe::Hole not > > present. Aborting catalog. > > In line 7 of the configuration file 'catalog.cfg': > > Require module Safe::Hole > > You need to install the Safe::Hole Module. Either install the rpm/deb > binary of the module, or you could install it as root by doing the > following command: > > perl -MCPAN -e 'install Safe::Hole' > > If you are not very sure of what you are doing, I would suggest using > the rpm/deb binary packages. The dependencies for the .debs are correct, so it is quite unprobably that he has made a .deb install :-) Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Aug 24 03:03:00 2001 Subject: [ic] Link to /foundation/images __THEME__/? Foundation example site Hi I don't follow how this link is set up in theme.cfg A pointer to a man page or a tip would be much appreciated. THEME foundation THEME_IMG_DIR __THEME__/ (foundation/ but actually /usr/local/interchange/foundation/images THEME_LOGO __THEME_IMAGE_DIR__/logo.gif (foundation//logo.gif) why the double // ? THEME_LOGO now points to /usr/local/interchange/foundation/images/logo.gif how It's probably glaringly obvious but I've been looking at it for ages and can't see it or find any reference in the docs/web site/mail list etc. Thanks in advance Steve -- Steven Ellis From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Fri Aug 24 03:25:01 2001 Subject: [ic] cart problem Hi, I am new user and I installed the foundation demo on OSX ( IC 4.81 runs great !) I starting to customise the shop but with the cart I have the following problem: I add 2 times for example SKU 28111 to the basket In the basket I can see 2 items but I want the same SKU to be summed up. The same problem appears when I want to select quantity pricing and I get the following output: SKU Quantitiy price 28111 1 15 28111 5 14 I hope it's only a setting problem in the admin interface. Excuse me for my poor english ( and my IC know how ) Thanks for your help. Best regards Goetz ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Mangeng Michael) Date: Fri Aug 24 08:27:01 2001 Subject: [ic] Search check Hi A little question concerning search... How can i do a check on the search results. I want to get in my item-list loop only products with skus NOT containing a special char. lets say a dot (.). If i have 111, 111.1, 111.2, 112, 112.1 and 112.2, i only want to get 111 and 112 in the [item-list]. how can get this ? thnax michael mangeng From: interchange-users at interchange.redhat.com (Jake Thompson) Date: Fri Aug 24 09:31:01 2001 Subject: [ic] Item Description problem... Hi all, I would like to concat the category to the product category to the description in the order. That is, when the user sees it in the shopping cart, in the e-mail that is sent, the detail in order tracking and in the order management for the admin. Could someone help me identify how many places of code this actually modifies and is there more than just adding [item-field category] to it. Thanks, Jake T. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Fri Aug 24 09:42:01 2001 Subject: [ic] Item Description problem... > I would like to concat the category to the product category to the > description in the order. That is, when the user sees it in the shopping > cart, in the e-mail that is sent, the detail in order tracking and in the > order management for the admin. > > Could someone help me identify how many places of code this actually > modifies and is there more than just adding [item-field category] to it. off the top of my head... pages/results.html pages/ord/basket.html /etc/receipt.html /etc/report /templates/regions/ any region file for item promotion did I miss anything? Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Aug 24 10:15:01 2001 Subject: [ic] IC 4.6.5 on FreeBSD and Bad counter magic Hi list, regarding the message from Mike Heins http://developer2.akopia.com/archive/interchange-users/2000/msg09612.html I'm in a muddle! Where is the bugfix for the CounterFile.pm? Am I wrong or was anythere a bugfix? I couldn't find it in the archives! The CounterFile.pm of IC 4.6.5 has the version 1.1.1.1! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Fri Aug 24 11:16:00 2001 Subject: [ic] Problems installing I have encountered a "PERL error on line 143" upon trying to run the ./configure and install Interchange 4.7 and 4.8. Since the Documentation 4.8 is very poor for beginners I went back and found some older versions with the nicer PDF files. They mention "Install the necessary Perl modules from CPAN (from Bundle::Interchange)." I can't find these for one thing and another I am not running the server myself so I don't know if I can get access to do this. Could this be my problem? BTW I am trying to install on HOSTWAY.COM and they are currently running Redhat 6 I believe. HELP! thanks in advance :-) From: interchange-users at interchange.redhat.com (Raymond Kirby) Date: Fri Aug 24 11:21:01 2001 Subject: [ic] Runtime Error I Receive this error everytime I press the buy now button 192.168.10.115 Hhhsh56r:192.168.10.115 - [23/August/2001:14:47:51 -0600] happistore /cgi-bin/happistore/order.html Runtime error: Can't use string ("2") as a HASH ref while "strict refs" in use at (eval 124) line 5. If I remove the weight amount from the product table the button will work but won't calculate shipping (Obviously)! From: interchange-users at interchange.redhat.com (Fred Pope) Date: Fri Aug 24 11:47:01 2001 Subject: [ic] Problems installing >> I have encountered a "PERL error on line 143" upon trying to run the ./configure and install Interchange 4.7 and 4.8. Not having the CPAN modules will cause the problem. You need to install all the PERL modules before you can run ./configure. >> They mention "Install the necessary Perl modules from CPAN (from Bundle::Interchange)." This is precisely what you need to do. I would suggest doing som ereadin on PERL, and you will understand how this works. _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Barney Treadway) Date: Fri Aug 24 11:57:00 2001 Subject: [ic] usertrack and tmp dir After combing through the archives and searching the site I can find nothing regarding what to do with this 28MB usertrack file. Can i clean it up? Can i delete it? Can I compress it? On secondary note, I also have a few thousand directories sitting in /catalogs/mystore/tmp and no one seems to care about them. I know about ScratchDir etc but can I kill these subdirs when I run expireall? B Treadway From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Fri Aug 24 12:05:01 2001 Subject: [ic] Problems installing Thanks Fred. I found the CPAN modules list http://ftp.interchange.redhat.com/perl/. You wouldn't happen to know which one is more relevant or do I need to install them all (if I can figure out how)? Frederick > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Fred > Pope > Sent: Friday, August 24, 2001 9:48 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Problems installing > > > >> I have encountered a "PERL error on line 143" upon trying to run the > ./configure and install Interchange 4.7 and 4.8. > > Not having the CPAN modules will cause the problem. You need to > install all > the PERL modules before you can run ./configure. > > >> They mention "Install the necessary Perl modules from CPAN (from > Bundle::Interchange)." > > This is precisely what you need to do. I would suggest doing som > ereadin on > PERL, and you will understand how this works. > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Aug 24 12:22:00 2001 Subject: [ic] Foundation Won't Run I just started working with Interchange and cannot get Foundation to work although the "tutorial" version I created from the tutorial runs fine. All ownership and permissions also look good. I am running the latest versions of Interchange and demo from the Red Hat website on the latest Fisher Beta Linux. When I execute "/usr/sbin/interchange -r " I get 2 errors. 1. "line 7 of "catalog.cfg" required module "Hole" missing .... // .... Safe::Hole 2. Foundation fails to start with "error in configuration: // config error" Questions: 1. Could I have possibly entered something incorrect in "makecat"? I selected the defaults. 2. Is there any way of debugging catalog.cfg for Foundation. - How does one find which statement is failing in the catalog.cfg ? - How can I replace the cryptic constants with absolute path names? - Can someone send me a working copy of a working catalog.cfg for Foundation (with private information replaced with the word "crap") 3. Why is the "Hole" file missing from the installation? Thanx for any help. John G. Hambleton eTechical Solutions From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Fri Aug 24 12:24:00 2001 Subject: [ic] FAQ? Where is the FAQ for interchange? A search for "interchange FAQ" on google turns up many non-IC related links and this one: http://developer.akopia.com/cgi-bin/ic/document.html ...which has a link to a page without content: http://ic.redhat.com/cgi-bin/ic/faq.html -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Terese Elbring) Date: Fri Aug 24 12:29:01 2001 Subject: [ic] Lost cart on checkout to SSL server - new session ID >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 8/23/01, 6:52:36 PM, Mike Heins <mheins@redhat.com> wrote regarding Re: [ic] Lost cart on checkout to SSL server - new session ID created?: ---------- MESSAGE SNIP ------- >>Long story short, I commented out line 1895 (init_session();) in bin/interchange and everything seems to be working properly now. > I think you fixed something, not broke it. Well that's good to hear!!! --------- MESSAGE SNIP -------- > I think we should do an analysis of diffferent scenarios to try > and fully characterize where sessions are lost and not lost. We may > not be able to fix the worst scenario, which is: > 1. No cookies enabled. > 2. Differing secure and non-secure server domains. > 3. Differing IP addresses on client for HTTP and HTTPS. > 4. WideOpen not set. > but we should be able to characterize what goes wrong where. > If I ever get enough time to do this, I will. But someone who > is interested in having differing secure/non-secure domains would > be more motivated than me. 8-) <G> Well, here are 2 scenarios that work for me with the change to bin/interchange mentioned above: Scenario 1: Different secure/non-secure domains Cookies enabled CookieDomain secure.domain.com .insecuredomain.com all other variables are undef/default values Scenario 2: Different secure/non-secure domains Cookies DISabled all other variables are undef/default values added to the login form of the checkout template: <input type=hidden name=mv_session_id value="[data session id]"> **new session was assigned if you tried to login from the checkout page without the above change Unfortunately I have not been able to test for differing IP addresses on client for HTTP and HTTPS and the store is not live yet, so no customer complaints... if anyone is interested in trying to test this before I go live, they can email me directly at atlantis@belowsealevel.org. Additionally, previous to the change to bin/interchange, a new session was always assigned upon entry to the SSL server. If you entered the store via the SSL server FIRST you didn't lose your cart if you had cookies enabled. Additional additional, I have my icdebug info if anyone is interested in that. I think that is it! Terese From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 24 12:45:00 2001 Subject: [ic] Item Description problem... At 02:36 PM 08/24/2001 +0100, you wrote: > > I would like to concat the category to the product category to the > > description in the order. That is, when the user sees it in the shopping > > cart, in the e-mail that is sent, the detail in order tracking and in the > > order management for the admin. > > > > Could someone help me identify how many places of code this actually > > modifies and is there more than just adding [item-field category] to it. > >off the top of my head... > >pages/results.html >pages/ord/basket.html >/etc/receipt.html >/etc/report > >/templates/regions/ any region file for item promotion > >did I miss anything? > >Jonathan >Webmaint. You can probably get a list of all likely candidates by going to your catroot on the command line and doing a grep: grep -r item-description * | more - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 24 12:51:01 2001 Subject: [ic] Search check At 11:38 AM 08/24/2001 +0200, you wrote: >Hi > >A little question concerning search... >How can i do a check on the search results. I want to get in my item-list >loop only products with skus NOT containing a special char. lets say a dot >(.). > >If i have 111, 111.1, 111.2, 112, 112.1 and 112.2, i only want to get 111 >and 112 in the [item-list]. > >how can get this ? > >thnax >michael mangeng The best way to do this is with some coordinated search terms, something like: co=yes sf=sku se=. op=rn Unless you wrote the search yourself, you will probably have to go into yourcat/templates/components and modify the appropriate files. For sidebar links on the demo, you can specify a complex search in the design area of the UI and add the terms there. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Douglas Manning) Date: Fri Aug 24 13:09:01 2001 Subject: [ic] Sur tax based on Zip codes / Counties I am new to Interchange and don't get as much time as I would like however I was wondering if anyone knew of a way to apply a surtax of varying percentages with a cap on the dollar amount that is surtaxed. In Florida we have a 6% State sales tax and many counties have varying Surtaxes that have to be collected and reported based on the county that the item ships too. In the county that I am in the surtax is 1% on up to $5,000.00. Counties that have surtaxes have them varying from 0.5% to 1.75%. I can separate counties by the Zip Code. PS. Does anybody know of a way to have one item exist in multiple categories? Thanks in advance for any help Doug ~~~~~~~~~~~~~~~~~~~~~~~ Douglas Manning Discount Computers, Inc 6524 B. S. Tamiami Tr. Sarasota, FL 34231 941-925-2215 ~~~~~~~~~~~~~~~~~~~~~~~ From: interchange-users at interchange.redhat.com (Terese Elbring) Date: Fri Aug 24 13:10:08 2001 Subject: [ic] Problems installing Frederick, If you are using 4.8.1, you might check your interchange/src directory for a script called cpan_local_install. I think it is also in the dist/src/ directory of the installation source directory. Terese >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 8/24/01, 11:15:26 AM, Frederick "R." Matzen <fmatzen@home.com> wrote regarding RE: [ic] Problems installing: > Thanks Fred. > I found the CPAN modules list http://ftp.interchange.redhat.com/perl/. > You wouldn't happen to know which one is more relevant or do I need to > install them all (if I can figure out how)? > Frederick > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Fred > > Pope > > Sent: Friday, August 24, 2001 9:48 AM > > To: interchange-users@interchange.redhat.com > > Subject: RE: [ic] Problems installing > > > > > > >> I have encountered a "PERL error on line 143" upon trying to run the > > ./configure and install Interchange 4.7 and 4.8. > > > > Not having the CPAN modules will cause the problem. You need to > > install all > > the PERL modules before you can run ./configure. > > > > >> They mention "Install the necessary Perl modules from CPAN (from > > Bundle::Interchange)." > > > > This is precisely what you need to do. I would suggest doing som > > ereadin on > > PERL, and you will understand how this works. > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 24 13:15:00 2001 Subject: [ic] error tag Hello all, I'm trying to change the color of displayed error message on the checkout page. When I add MV_ERROR_STD_LABEL to variable.txt with the value <FONT COLOR=GREEN>label_str<SMALL>(%s)</SMALL></FONT> The required fields in the checkout page do not show up. Like in this message: http://developer2.akopia.com/archive/interchange-users/2000/msg09376.html I also tried MV_ERROR_STD_LABEL = <FONT COLOR=RED>Credit Card Information<SMALL>(%s)</SMALL></FONT> As the docs say you can replace the label_str with std_label. Same result, the rest of the required fields do not show up. It would be nice to be able to specify the color of the error message in the error tag like this [error std_label="Credit Card Information" name=mv_credit_card_valid std_label_color="__COLOR_VAR__" err_color="#00616A"] OR by having a var in variable.txt. MV_STD_ERROR_COLOR = #00616A MV_ERROR_STD_LABEL = <FONT COLOR=__MV_ERROR_COLOR__>label_str<SMALL>(%s)</SMALL></FONT> Since the above thread is fairly old, has this been addressed in the newer versions? Is there a way to do what I want to do, without implementing the "workaround" specified? Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Fred Pope) Date: Fri Aug 24 13:25:00 2001 Subject: [ic] Problems installing I forget exactly what you need to do. I would do the RedHat modules after you have upgraded the Perl Modules. You are going to need to get root access to the server that you are on and then you are going to need to type something like PERL -e CPAN bundle::interchange . I cannot assure you there that my syntax is correct, but if you get to something that looks like that, then you are on the right track. Best - FP -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Frederick R. Matzen Sent: Friday, August 24, 2001 10:15 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Problems installing Thanks Fred. I found the CPAN modules list http://ftp.interchange.redhat.com/perl/. You wouldn't happen to know which one is more relevant or do I need to install them all (if I can figure out how)? Frederick > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Fred > Pope > Sent: Friday, August 24, 2001 9:48 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Problems installing > > > >> I have encountered a "PERL error on line 143" upon trying to run the > ./configure and install Interchange 4.7 and 4.8. > > Not having the CPAN modules will cause the problem. You need to > install all > the PERL modules before you can run ./configure. > > >> They mention "Install the necessary Perl modules from CPAN (from > Bundle::Interchange)." > > This is precisely what you need to do. I would suggest doing som > ereadin on > PERL, and you will understand how this works. > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Aug 24 13:43:00 2001 Subject: [ic] error tag Try adding this at the end of your MV_ERROR_STD_LABEL [else]{REQUIRED <B>}{LABEL}{REQUIRED </B>}[/else] Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 Brian Kosick <briank@nacs.net> Sent by: interchange-users-admin@interchange.redhat.com 08/24/2001 01:10 PM Please respond to interchange-users To: interchange-users@interchange.redhat.com cc: Subject: [ic] error tag Hello all, I'm trying to change the color of displayed error message on the checkout page. When I add MV_ERROR_STD_LABEL to variable.txt with the value <FONT COLOR=GREEN>label_str<SMALL>(%s)</SMALL></FONT> The required fields in the checkout page do not show up. Like in this message: http://developer2.akopia.com/archive/interchange-users/2000/msg09376.html I also tried MV_ERROR_STD_LABEL = <FONT COLOR=RED>Credit Card Information<SMALL>(%s)</SMALL></FONT> As the docs say you can replace the label_str with std_label. Same result, the rest of the required fields do not show up. It would be nice to be able to specify the color of the error message in the error tag like this [error std_label="Credit Card Information" name=mv_credit_card_valid std_label_color="__COLOR_VAR__" err_color="#00616A"] OR by having a var in variable.txt. MV_STD_ERROR_COLOR = #00616A MV_ERROR_STD_LABEL = <FONT COLOR=__MV_ERROR_COLOR__>label_str<SMALL>(%s)</SMALL></FONT> Since the above thread is fairly old, has this been addressed in the newer versions? Is there a way to do what I want to do, without implementing the "workaround" specified? Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jake Thompson) Date: Fri Aug 24 14:03:00 2001 Subject: [ic] Image Upload still not working Has there been any solution to this? I am using win2k as the client and for uplad it insists on appending the entire path, then the file is uploaded with the entire path. Could it be a problem with parsing, does it not like spaces or some other characters? Thanks, Jake -----Original Message----- From: Gavin Harper [mailto:gavin@steelblue.co.uk] Sent: Thursday, August 23, 2001 1:22 PM To: interchange-users@interchange.redhat.com Subject: [ic] Image Upload still not working >> Hi Everyone, >> >> Has anyone else noticed that you can't upload images correctly with the >>admin tool in release version 4.8.1 of IC? >>It used to work on previous versions, but now if you go to the Items section >>of the admin tool and try to change the images using Browse >>it uploads the image with the full path name from my local machine for >>example: >> >> E:\Documents and Settings\Administrator\Desktop\image.jpg >> >> Obviously this doesn't work very well! > >It should, at least if your meta display type is "imagehelper". > >> Anyone have any ideas how to fix this? >> > >>Make sure the metadata is: >> >>code: products::image >>type: imagehelper >>prepend: http://__SAMPLEHTML__ >>outboard: images/items >> >>code: products::thumb >>type: imagehelper >>prepend: http://__SAMPLEHTML__ >>outboard: images/thumb Just noticed that its not working in the demo version of 4.8.2 at: http://demo.akopia.com/cgi-bin/ic3/admin/index >Sorry Mike but I have checked the mv_metadata.asc file and it is exactly as >you specify above. >I'm still having the sames problems. >Any ideas now? > >Thanks for all you help so far. > >Gavin _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Terese Elbring) Date: Fri Aug 24 14:23:00 2001 Subject: [ic] Problems installing Hi Again, I recently installed v. 4.8.1 modules without being root. http://ic.redhat.com/cgi-bin/ic/docfly.html?id=9FrP6ATq&mv_arg=icinstall 06%2e00 addresses this. My installopts file looked like this: PREFIX=/apache/htdocs/interchange \ INSTALLPRIVLIB=/apache/htdocs/interchange/lib \ INSTALLSCRIPT=/apache/htdocs/interchange/bin \ INSTALLSITELIB=/apache/htdocs/interchange/lib \ INSTALLBIN=/apache/htdocs/interchange/bin \ INSTALLMAN1DIR=/apache/htdocs/interchange/lib/man \ INSTALLMAN3DIR=/apache/htdocs/interchange/lib/man/man3 you would of course replace /apache/htdocs with the actual path to where you are installing interchange. At the end of the 'make install' I believe the cpan_local_install script is run, and it attempts to automatically download and install the necessary perl modules using CPAN, beginning with Bundle::Interchange. Of Special Attention perhaps specific only to my installation: 1. I had to run 'make install' twice for interchange to recognize that I had all the necessary modules available, and copy the tlink, vlink etc to the interchange/src directory. 2. Just like the cpan_local_install script warned, it did try to install a new version of Perl on my machine. I simply CTRL-C at the point of the installation wherein the CPAN install pauses to begin asking for the configuration variables for the Perl installation (it's a rather long message, you won't miss it). This may be why the fist 'make install' does not complete successfully, I don't know. 3. I was also having Safe::Hole errors before doing the installation in this fashion. I hope this is helpful!! Terese >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 8/24/01, 12:25:56 PM, Fred Pope <fred@satcomresources.com> wrote regarding RE: [ic] Problems installing: > I forget exactly what you need to do. I would do the RedHat modules after > you have upgraded the Perl Modules. You are going to need to get root access > to the server that you are on and then you are going to need to type > something like PERL -e CPAN bundle::interchange . I cannot assure you there > that my syntax is correct, but if you get to something that looks like that, > then you are on the right track. > Best - FP > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > Frederick R. Matzen > Sent: Friday, August 24, 2001 10:15 AM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Problems installing > Thanks Fred. > I found the CPAN modules list http://ftp.interchange.redhat.com/perl/. > You wouldn't happen to know which one is more relevant or do I need to > install them all (if I can figure out how)? > Frederick > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Fred > > Pope > > Sent: Friday, August 24, 2001 9:48 AM > > To: interchange-users@interchange.redhat.com > > Subject: RE: [ic] Problems installing > > > > > > >> I have encountered a "PERL error on line 143" upon trying to run the > > ./configure and install Interchange 4.7 and 4.8. > > > > Not having the CPAN modules will cause the problem. You need to > > install all > > the PERL modules before you can run ./configure. > > > > >> They mention "Install the necessary Perl modules from CPAN (from > > Bundle::Interchange)." > > > > This is precisely what you need to do. I would suggest doing som > > ereadin on > > PERL, and you will understand how this works. > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 24 14:28:01 2001 Subject: [ic] Possible minor bug (?): '-' and $Scratch->{var-name} Hi all - Working on some code in an IC 4.6.5 catalog, I found that I could set and view the contents of a scratch variable which contains a dash in its name using IC tags: [set var-name]something[/set] [scratch var-name] but operations failed within a Perl block: [set var-name][/set] [perl] $Scratch->{var-name} = "foo"; return; [/perl] [scratch var-name] In the latter example, var-name remains empty; no message in the error log. Removing the dash from var-name fixes the problem instantly. It also fixes the problem to enclose the var-name in single quotes: [perl] $Scratch->{'var-name'} = "foo"; return; [/perl] ...and furthermore, using an underscore instead of a dash works. This is pretty minor, but has me wondering; is this a side-effect of code intended for other purposes or an undocumented character usage restriction? - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Fri Aug 24 14:45:00 2001 Subject: [ic] error tag Thanks!! This is what I was looking for. This is the full working value for MV_ERROR_STD_LABEL MV_ERROR_STD_LABEL = <FONT COLOR="#00616A">{LABEL} <SMALL>(%s)</SMALL></FONT>[else]{REQUIRED <B>}{LABEL}{REQUIRED </B>}[/else] At 01:42 PM 8/24/01 -0400, you wrote: >Try adding this at the end of your MV_ERROR_STD_LABEL >[else]{REQUIRED <B>}{LABEL}{REQUIRED </B>}[/else] > >Bill Carr >Worldwide Impact >bill@worldwideimpact.com >413.253.6700 <snip> Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Aaron Kincer) Date: Fri Aug 24 14:48:00 2001 Subject: [ic] Re: Interchange 4.8.1 Install (root) > >I am new user and I can't find install documentation for RPM install on >Red Hat 7.1. I tried to install the Perl modules using : >perl -MCPAN -e 'install Bundle::Interchange' >but I get errors: >Can't locate LWP::Simple Aborts on build MD5 and Business::UPS > >Also I can't start the foundation store from account interch although I >installed from root. Is this an account authorization problem? I myself had many problems installing 4.8.1 on RH 7.1 even though I had documentation. In the end, these are the steps I took: 1) Fresh install of 7.1 -All Perl modules included with 7.1 installed -Apache installed 2) Downloaded all Perl modules linked on the interchange website. 3) Installed them all (one had a dependency problem) 4) Downloaded the three interchange RPM's from the interchange site. 5) Installed them in the proper order 6) rpm -ivh rpmname on all of them as root (including the Perl modules) 7) cd /usr/lib/interchange 8) bin/makecat 9) accept the defaults unless you otherwise have extensive experience 10) su -c "/usr/local/interchange/bin/interchange -r" interch (as root) 11) /etc/rc.d/init.d/httpd restart (as root) You should now be set to go. This all worked for me in this order. Aaron _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 24 16:44:00 2001 Subject: [ic] Problems installing Quoting Terese Elbring (atlantis@belowsealevel.org): > Hi Again, > > I recently installed v. 4.8.1 modules without being root. > http://ic.redhat.com/cgi-bin/ic/docfly.html?id=9FrP6ATq&mv_arg=icinstall > 06%2e00 addresses this. My installopts file looked like this: > > PREFIX=/apache/htdocs/interchange \ > INSTALLPRIVLIB=/apache/htdocs/interchange/lib \ > INSTALLSCRIPT=/apache/htdocs/interchange/bin \ > INSTALLSITELIB=/apache/htdocs/interchange/lib \ > INSTALLBIN=/apache/htdocs/interchange/bin \ > INSTALLMAN1DIR=/apache/htdocs/interchange/lib/man \ > INSTALLMAN3DIR=/apache/htdocs/interchange/lib/man/man3 > > you would of course replace /apache/htdocs with the actual path to where > you are installing interchange. Note: It is never a good idea to install Interchange in your HTML document tree. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 24 16:48:00 2001 Subject: [ic] Possible minor bug (?): '-' and $Scratch->{var-name} Quoting Ed LaFrance (edl@newmediaems.com): > Hi all - > > Working on some code in an IC 4.6.5 catalog, I found that I could set and > view the contents of a scratch variable which contains a dash in its name > using IC tags: > > [set var-name]something[/set] > [scratch var-name] > > but operations failed within a Perl block: > > [set var-name][/set] > [perl] > $Scratch->{var-name} = "foo"; > return; > [/perl] > [scratch var-name] > > In the latter example, var-name remains empty; no message in the error > log. Removing the dash from var-name fixes the problem instantly. It also > fixes the problem to enclose the var-name in single quotes: > > [perl] > $Scratch->{'var-name'} = "foo"; > return; > [/perl] > > ...and furthermore, using an underscore instead of a dash works. This is > pretty minor, but has me wondering; is this a side-effect of code intended > for other purposes or an undocumented character usage restriction? It is a Perl thing, no more, no less. '-' is a minus sign, and not a word character. You can only use word characters in variable names unless you quote them. (Knowledgeable Perl people will know the one exception -- when you prepend the word with a - sign and have no leading word chars.) Remember, this has nothing to do with any other reference -- for instance, you can do: $label = 'var-name'; return $Scratch->{$label}; That is why I rarely if ever use - in a name. Any places you see it, the code came from somewhere else. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Few blame themselves until they have exhausted all other possibilities. -- anonymous From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Fri Aug 24 17:10:00 2001 Subject: [ic] Possible minor bug (?): '-' and $Scratch->{var-name} At 11:28 AM 8/24/01, you wrote: >Hi all - > >Working on some code in an IC 4.6.5 catalog, I found that I could set and >view the contents of a scratch variable which contains a dash in its name >using IC tags: > >[set var-name]something[/set] >[scratch var-name] > >but operations failed within a Perl block: > >[set var-name][/set] >[perl] > $Scratch->{var-name} = "foo"; > return; >[/perl] >[scratch var-name] > >In the latter example, var-name remains empty; no message in the error >log. Removing the dash from var-name fixes the problem instantly. It >also fixes the problem to enclose the var-name in single quotes: > >[perl] > $Scratch->{'var-name'} = "foo"; > return; >[/perl] > >...and furthermore, using an underscore instead of a dash works. This is >pretty minor, but has me wondering; is this a side-effect of code intended >for other purposes or an undocumented character usage restriction? > >- Ed L. > Ed, Actually this is a perl question: quoted from O'REILLY "Programming perl" : -------------------------------------------------- $days{'Feb'} can be written as: $days{Feb} and the quotes will be assumed automatically. But anything more complicated in the subscript will be interpreted as an expression. ------------------------------------------------ So in your case perl is trying to evaluate var-name which of course makes no sense and thus fails. Kyle Cook From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 24 17:21:00 2001 Subject: [ic] Possible minor bug (?): '-' and $Scratch->{var-name} At 04:47 PM 08/24/2001 -0400, you wrote: >Quoting Ed LaFrance (edl@newmediaems.com): > > Hi all - > > > > Working on some code in an IC 4.6.5 catalog, I found that I could set and > > view the contents of a scratch variable which contains a dash in its name > > using IC tags: > > > > [set var-name]something[/set] > > [scratch var-name] > > > > but operations failed within a Perl block: > > > > [set var-name][/set] > > [perl] > > $Scratch->{var-name} = "foo"; > > return; > > [/perl] > > [scratch var-name] > > > > In the latter example, var-name remains empty; no message in the error > > log. Removing the dash from var-name fixes the problem instantly. It > also > > fixes the problem to enclose the var-name in single quotes: > > > > [perl] > > $Scratch->{'var-name'} = "foo"; > > return; > > [/perl] > > > > ...and furthermore, using an underscore instead of a dash works. This is > > pretty minor, but has me wondering; is this a side-effect of code intended > > for other purposes or an undocumented character usage restriction? > >It is a Perl thing, no more, no less. '-' is a minus sign, and not >a word character. You can only use word characters in variable names >unless you quote them. (Knowledgeable Perl people will know the one >exception -- when you prepend the word with a - sign and have no leading word >chars.) > >Remember, this has nothing to do with any other reference -- for instance, >you can do: > > $label = 'var-name'; > return $Scratch->{$label}; > >That is why I rarely if ever use - in a name. Any places you see it, >the code came from somewhere else. > Hmmm... I understand about character restrictions on perl variable names, but I thought that "$Scratch" was a reference to the scratch variable hash, and that Scratch->{something} retrieves a hash element, not a variable. It works in my lame little test script: #!/usr/bin/perl my %hash; my $hashref = %hash; $hashref->{foo-bar} = 'test'; print "foo-bar: $hashref->{foo-bar}\n"; I guess this goes deeper. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jillian Carroll) Date: Fri Aug 24 17:32:01 2001 Subject: [ic] Flat fee Shipping Charge Hey... I am sure this has been covered... but I've been wandering through the archives for an hour now and can't find exactly what I'm looking for... if somebody could just quickly help me, I'd really appreciate it. I need to know what line in my shipping.asc file will do this: If the weight is 1 or higher, charge $6.50 shipping. If the weight is 0, shipping is free. I'm sure it's easy and my brain just isn't working... but I keep getting errors: Note: No match found for mode 'inc', quantity '', returning 0. and such... and it seems once I fix one error, it's another. Please help! _____ Jillian M. Carroll Internet Consultant, Horizon Computer Solutions 360 1st Avenue North Saskatoon, Saskatchewan S7K 1X4 PHONE: (306) 665-5666 FAX: (306) 665-6199 E-mail: jcarroll@horizon.sk.ca Web-Site: http://www.horizon.sk.ca From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 24 17:52:00 2001 Subject: [ic] Possible minor bug (?): '-' and $Scratch->{var-name} Quoting Ed LaFrance (edl@newmediaems.com): > At 04:47 PM 08/24/2001 -0400, you wrote: > >Quoting Ed LaFrance (edl@newmediaems.com): > > > Hi all - > > > > > > Working on some code in an IC 4.6.5 catalog, I found that I could set and > > > view the contents of a scratch variable which contains a dash in its name > > > using IC tags: [snip] > > I guess this goes deeper. Believe me, it doesn't. It isn't a bug in Interchange and every Perl 5.004 and higher on the planet operates the same way. It is just a shortcut to not have to quote hash keys -- prior to 5.004 you had to quote them early and often. It makes the code much more readable to not have to quote them, IMHO. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> In character, in manners, in style, in all things, the supreme excellence is simplicity. -- Longfellow From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Fri Aug 24 18:16:00 2001 Subject: [ic] 'Others Who Bought' not working In the construct demo, when I run 'others who bought', I get these lines in the error log: pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - [24/August/2001:16:21:51 -0400] diaperstore /cgi-bin/diaperstore/admin/build_related.html Error saving matches: pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - [24/August/2001:16:21:51 -0400] diaperstore /cgi-bin/diaperstore/admin/build_related.html Attempt to set merchandising::others_bought::2X2BE in read-only table pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - [24/August/2001:16:21:51 -0400] diaperstore /cgi-bin/diaperstore/admin/build_related.html Attempt to set merchandising::times_ordered::2X2BE in read-only table (Plus similar onese for every product in the store) I have checked permissions all of the way through the installation. I've even gone so far as to make every file in the /products directory set at 666, and it is still complaining about a read only table. As far as I can tell from the build_related.html, it is only playing with merchandising.txt and orderline.txt and those are definitely set for r/w by everyone. Is there a file missing perhaps? A temp file it needs? What's the problem? TIA -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Friday, August 24, 2001 at 18:15 PM: To poldly bow air mobius gumby four: Trek on novocaine. ---------------------------------------------------------------- This Linux System has been up 318 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Kenny Shi) Date: Fri Aug 24 19:22:00 2001 Subject: [ic] undefined catalog Hello All, I just installed Interchange on a Linux 2.2.16C27_III as a normal user. I ran bin/makecat to create a catalog, everything seems right from the screen output. However, when I tried to access http://www.fashionorange.com/~orange/fashion.cgi/index.html The screen shows: Undefined catalog: /~orange/fashion.cgi/index.html and the error_log shows: 216.217.36.235 - - [24/August/2001:18:17:55 -0500] - /~orange/fashion.cgi/index. html/~orange/fashion.cgi/index.html CGI mapping error: Undefined catalog: /~oran ge/fashion.cgi/index.html at /home/sites/site81/users/orange/interchange/lib/Ven d/Server.pm line 182. Can anyone help me please? Thanks __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (newsletters at mail.lineaux.com) Date: Fri Aug 24 19:57:00 2001 Subject: [ic] cgiwrap, SUID, "We are out of service," and other questions... I am a newbie on a RAQ4. I installed the tarball of interchange. configure went fine. makecat did not complain. I do have cgiwrap and answered as such, making note of the instructions makecat gave me: >Moving link program to /home/sites/site3/web/cgi-bin/foundation.cgi..done. >Since you selected the SUEXEC/CGIwrap option and are root, we aren't sure >which user and group you intended to own the link program. We have selected >the catalog user's UID/GID (501/501), but this may not match your >server definition. My plan was to have the user interch own the program. So this sounds like makecat did what i needed it to, right? (I couldn't run makecat as interch because it gave me a permissions error - maybe because my cgi-bin directory is in the site3 folder? i'm not sure) >If you get a server error, change the ownership to its >proper value and ensure that the SUID bit is turned off on the link >program (/home/sites/site3/web/cgi-bin/foundation.cgi) It does look like SUID is turned off. -rwxr-xr-x 1 interch interch 7568 Aug 24 15:44 foundation.cgi wouldn't there be an "s" in the permissions if SUID was on? but cgiwrap brings up an error that the user is not privileged. I have tried various things I've seen after searching the list archives for SUID, RAQ, cgiwrap: 1. chmod u-s foundation.cgi and restarting interchange /usr/local/interchange/error.log does not complain, but I get the same result. 2. chmod 4755 foundation.cgi and restarting interchange /usr/local/interchange/error.log does not complain, but I get the same result. 3. when I changed the owner to: -rwxr-xr-x 1 xxxx site3 7568 Aug 24 15:44 foundation.cgi I get the infamous: "We are out of service or may be experiencing" in my browser I tried giving apache some directives (and restarting httpd): <Directory /home/sites/site3/web/cgi-bin> Options All ExecCgi </Directory> to see if that is what cgiwrap wanted from me, but to no avail. I feel like I must be just some small step away from making the foundation demo work - Please Advise! I greatly appreciate any tips you may be able to offer! jim kreinbrink (evil spambots please send to cannedham@lineaux.com) From: interchange-users at interchange.redhat.com (Mike Heins) Date: Fri Aug 24 21:49:00 2001 Subject: [ic] 'Others Who Bought' not working Quoting Jim Balcom (jim@idk-enterprises.com): > In the construct demo, when I run 'others who bought', I get these > lines in the error log: > > pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - > [24/August/2001:16:21:51 -0400] diaperstore > /cgi-bin/diaperstore/admin/build_related.html Error saving matches: > > pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - > [24/August/2001:16:21:51 -0400] diaperstore > /cgi-bin/diaperstore/admin/build_related.html Attempt to set > merchandising::others_bought::2X2BE in read-only table > > pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - > [24/August/2001:16:21:51 -0400] diaperstore > /cgi-bin/diaperstore/admin/build_related.html Attempt to set > merchandising::times_ordered::2X2BE in read-only table > > (Plus similar onese for every product in the store) > > I have checked permissions all of the way through the installation. > I've even gone so far as to make every file in the /products directory > set at 666, and it is still complaining about a read only table. > > As far as I can tell from the build_related.html, it is only playing > with merchandising.txt and orderline.txt and those are definitely set > for r/w by everyone. > > Is there a file missing perhaps? A temp file it needs? > > What's the problem? We are missing [flag type=write table=merchandising] at the top of the page that generates it. Put that near the top of lib/UI/pages/admin/build_related.html and I am guessing it will work. This type of thing can be logged in Bugzilla and we will be more sure to take care of it.... -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (root) Date: Sat Aug 25 00:22:01 2001 Subject: [ic] 500 internal error on checkout i fixed it. the problem lied in sendmail it wasn't resolving the DNS correctly =) all working fine now. On Thu, 23 Aug 2001, you wrote: > i am getting a 500 internal error on checkout. after clicking the place order > button. > the order does get through and is placed in the orders database table, but the > internal 500 comes up and no receipt is displayed???? > > > can anyone help > i checked my error logs > and there is noting besides the usual > > 203.198.84.94 cI8GIbLR:203.198.84.94 - [21/August/2001:15:56:29 -0400] chantel /cgi-bin/chantel/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. > > > but i am told that is nothing ??? and i have been having that error being > reported since day one. > > i have changed nothing in the shop. > Just one day checkout works , next it doesn't. > > help???? > > Ryan Snow. > Programmer > ryan@whoopersnetwork.com > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ben Myles) Date: Sat Aug 25 00:25:00 2001 Subject: [ic] Admin process.html 404 file not found error Hi, I've been working with the admin interface on a catalog I'm building. As a whole it seems to work nicely, however there are a few major problems I have run into that I can't seem to find help for in the archives. None of these problems used to occur with earlier versions of Interchange on Linux, however I am using Interchange 4.8.1 with FreeBSD 4.2-RELEASE and Roxen 2.1.231 as my webserver. Some features in the admin UI work, others do not. Here is an example of something that does not work: * Search Builder When I click the 'Search Builder' link under the Design button the Search Builder page appears. I choose the relevant information from the drop-down menus and press the Next button at the bottom of the form. At this point I receive a HTTP 404 Not Found error, and the address the browser is trying to display is: http://mysite.com/cgi-bin/mysite/process.html?mv_todo=back&ui_target=&ui_ret urn_to=admin%2Fsearch_wizard&search_table=products&search_type=db&search_tem plate=&matchlimit=50&unique_results=&allow_regex=&mv_click=Next+--%3E I'm using Internet Explorer 5.00 for the records. * Site Layout If I click the Site Layout link under the Design button and then click the blue '+' to add a new section I receive the same 404 error. The page trying to be accessed is: http://mysite.com/cgi-bin/mysite/process.html?ui_window_name=mainwindow&mv_t odo=return&mv_nextpage=admin%2Flayout&ui_filter_class=&mv_click_map=Section_ properties&mv_click_Section_properties=&mv_click_map=Sort_section_higher&mv_ click_Sort_section_higher=&mv_click_map=Sort_section_lower&mv_click_Sort_sec tion_lower=&mv_click_map=Create_section&mv_click_Create_section=Create+secti on&mv_click_map=Delete_section&mv_click_Delete_section= Other tasks, such as creating new items, deleting items, editing pages etc. all work fine. I have /usr/interchange/share/interchange copied to my document root - /home/collection71/www/ and this seems to work as all images appear. I also copied /usr/interchange/lib/UI/pages/admin/* to /home/collection71/catalogs/collection71/pages/admin. Any suggestions would be greatly appreciated. Thanks, Ben Myles From: interchange-users at interchange.redhat.com (Kenny Shi) Date: Sat Aug 25 03:40:01 2001 Subject: [ic] Interchange and Cobalt I've spent last 3 hours trying and reading messages regarding Interchange on Cobalt and CGIWrap issues, but didn't seem to find a successful installation example. I am installing Interchange as a normal user (no su access) and everything went fine til makecat. Then I see the famouse undefined catalog error. I printed out script_name and path_info they are the same. I added CGIWRAP_WORKAROUND to interchange.cfg, but didn't see effect - error.log still shows path twice. Anyone can help me please? Thanks. Kenny __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Sat Aug 25 07:00:00 2001 Subject: [ic] passing category id to next page - 3-level category tree HI THERE! Continuing the problems with 3-level categorty tree. I built a database with such a strucrture: "id" "name" "parent_id" 1 skiing 0 |----skiing 2 skis 1 | |-------skis 3 boots 1 | | |-----racing 4 googles 1 | | |-----slalom 5 racing 2 | | |-----kids 6 slalom 2 | | 7 kids 2 | |-------boots 8 snowdoarding 0 | |-------googles 9 boards 8 | 10 boots 8 |-----snowboarding 11 softboots 10 | |-------boards 12 hardboots 10 | |-------boots | | |----softboots | | |----hardboots Ok, now, on the main page of the catalog I would like to display a list of categories with parent_id=0 (skiing, snowbaoarding in this example). Cat names should be links to "next page" - content, dynamicly built page for selected "main" category. Main PAge: Choose the category: skiing snowboarding mountain biking etc. Could you give me an ide idea of the [loop] code with appropriate search params to do that (I think I could figure it out, just didn't get down to the code, busy with planning so far). But my main problem is - how to pass a chosen category "id" to the next page - main page for the category (dynamicly generated - skeleton like flypage) which content should be built totaly based on the selected category "id". At best i would like to have the chosen cat_id stored in session for further referal. "Next page" _ Skiing skis racing slalom This page would appear after choosing skiing in main page kids googles boots "Next page" - Snowboarding boards boots This page would appear after choosing snowboarding in main page softoots hardboots Code examples would be graetly appreciated, as I am a newbie to Interchange, learning it hard. Regards, Lukasz Z From: interchange-users at interchange.redhat.com (Jason Korkin) Date: Sat Aug 25 08:58:01 2001 Subject: [ic] CGIWrap WORKAROUND To All: Here is a quick workaround for using Minivend or Interchange on a Colbalt RAQ server.. In the httpd.conf file, add a new directive... AddHandler cgi-script .ic Save & restart Apache. When required to use Interchange or Minivend, make sure that your CGI binary has the .ic extension, this will by-pass the CGIWrap system and it should work without issue. We've done this for several customer servers, both here and abroad and it has worked out in the past. Best, Jason Korkin President Korksoft LLC -- --------------------------------------------------------------- **** Virtual Hosting w/ Interchange, $20/month! **** --------------------------------------------------------------- KORKSOFT - Software & Internet Solutions Interchange, E-Commerce, C++/Perl/PHP/ASP http://www.korksoft.com Tel: (561) 642-7005 x 201 From: interchange-users at interchange.redhat.com (Mike Heins) Date: Sat Aug 25 09:19:00 2001 Subject: [ic] passing category id to next page - 3-level category tree Quoting Lukasz Z (dugi@prion.pl): > HI THERE! > > Continuing the problems with 3-level categorty tree. I built a database with > such a strucrture: > id name parent_id 1 skiing 0 2 skis 1 3 boots 1 4 googles 1 5 racing 2 6 slalom 2 7 kids 2 8 snowdoarding 0 9 boards 8 10 boots 8 11 softboots 10 12 hardboots 10 You apparently tried to line this up with a proportionally spaced font, and I fixed it. This is perfect structure for the tree tag: [tree start=0 table=?????? master=parent_id subordinate=id autodetect=1 spacing=4 full=1] <tr> <td> [if-item-param mv_level] [item-calc] return '&nbsp' x [item-param mv_spacing]; [/item-calc] [/if-item-param] [item-param name] </td> <td> mv_level=[item-param mv_level], mv_increment=[item-param mv_increment], mv_children=[item-param mv_children] </td> </tr> [/tree] </table> Save that data in a table and you are in business. See the messages about the tree tag last week. -- Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 phone +1.513.523.7621 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: interchange-users at interchange.redhat.com (Aaron Kincer) Date: Sat Aug 25 13:45:00 2001 Subject: [ic] Re: Correction on #10 >10) su -c "/usr/local/interchange/bin/interchange -r" interch (as root) > The path should be /usr/bin/interchange/bin/interchange. Sorry about that. Aaron _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Lukasz Z) Date: Sat Aug 25 14:01:01 2001 Subject: [ic] passing category id to next page - 3-level category tree Great thanks MIke, now it's gonna take some time for me to get through your code;)), will contact you with nore questions probably, Regards, Lukasz Z ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: <interchange-users@interchange.redhat.com> Sent: Saturday, August 25, 2001 3:18 PM Subject: Re: [ic] passing category id to next page - 3-level category tree > Quoting Lukasz Z (dugi@prion.pl): > > HI THERE! > > > > Continuing the problems with 3-level categorty tree. I built a database with > > such a strucrture: > > > id name parent_id > 1 skiing 0 > 2 skis 1 > 3 boots 1 > 4 googles 1 > 5 racing 2 > 6 slalom 2 > 7 kids 2 > 8 snowdoarding 0 > 9 boards 8 > 10 boots 8 > 11 softboots 10 > 12 hardboots 10 > > You apparently tried to line this up with a proportionally spaced > font, and I fixed it. > > This is perfect structure for the tree tag: > > [tree start=0 > table=?????? > master=parent_id > subordinate=id > autodetect=1 > spacing=4 > full=1] > <tr> > <td> > [if-item-param mv_level] > [item-calc] > return '&nbsp' x [item-param mv_spacing]; > [/item-calc] > [/if-item-param] > [item-param name] > </td> > <td> > mv_level=[item-param mv_level], > mv_increment=[item-param mv_increment], > mv_children=[item-param mv_children] > </td> > </tr> > [/tree] > </table> > > Save that data in a table and you are in business. See the messages about > the tree tag last week. > > -- > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 > phone +1.513.523.7621 <mheins@redhat.com> > > Unix version of an Outlook-style virus: > It works on the honor system. Please forward this message to everyone > you know, and delete a bunch of your files at random. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > > From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Sat Aug 25 20:11:01 2001 Subject: [ic] 'Others Who Bought' not working On Fri, 24 Aug 2001, Mike Heins wrote: MH>>We are missing [flag type=write table=merchandising] at MH>>the top of the page that generates it. Put that near the top of MH>>lib/UI/pages/admin/build_related.html and I am guessing it MH>>will work. Thanks Mike! That fixed all of the problems except: > pos.idk-enterprises.com gzQfDFap:idk-enterprises.com - > [24/August/2001:16:21:51 -0400] diaperstore > /cgi-bin/diaperstore/admin/build_related.html Error saving matches: That problem is still in existence. OTOH, it got things under way to where I could recognize the solutions to a couple of other problems that I was having.... Since ALL SKU's in the 'products.txt' database are all in CAPS, then all of the SKU's in the merchandising.txt fields of 'cross-sell', 'upsell' and 'others who bought' must also be in CAPS. True Unix-type case sensitivity at work :-) Changing all of that fixed all of the broken referrals that were floating around my store. That cleaned up a tremendous amount of glitches. I'm happier than a pig in #nTg [cheating mode on] Armed with the knowledge of how the 'Others Who Bought...' works, I was able to go in and create my own references, thus steering customers to items that I want them to buy. Jon Jensen's 'te' is a lifesaver for this! It's a fantastic tool! (And, it works! An order just came in for an item that I have never sold before! But, I had put it in the 'Others who bought' field.) (What's the SKU for the Brooklyn Bridge? As well as the swampland in Florida?) [cheating mode off] This is fantastic software! It's a real money maker! -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Saturday, August 25, 2001 at 19:55 PM: Artist seeks Boss with vision impairment. ---------------------------------------------------------------- This Linux System has been up 344 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Michel Matte) Date: Sat Aug 25 21:04:00 2001 Subject: [ic] Interchange 4.8.1 Install This is a multi-part message in MIME format. --------------BB50561BBB610FD19FE4E77D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thank you very much for answering my question. I reinstalled Interchange with no errors. I still have problems starting the foundation store. The first page appears and then I get TCP error : no route to host. It may be due to my gateway router I don't know. The procedures that I used to reinstall perl and all following modules based on your advice are attached. -- Michel Matte --------------BB50561BBB610FD19FE4E77D Content-Type: text/plain; charset=us-ascii; name="a1_perl_rpms" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="a1_perl_rpms" #!/bin/bash # echo Shell script a1_perl_rpms to install perl rpms from Red Hat cd-rom 1 # # rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-5.6.0-12.i386.rpm # main perl modules rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-DBI-1.14-10.i386.rpm # required by DBD which is superseeded by download version... #rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-DBD-Pg-0.95-1.i386.rpm rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-File-MMagic-1.06-2.i386.rpm rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-NKF-1.71-1.i386.rpm rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-SGMLSpm-1.03ii-4.noarch.rpm # language filter for Japanese documents ... #rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-Text-Kakasi-1.04-2.i386.rpm --------------BB50561BBB610FD19FE4E77D Content-Type: text/plain; charset=us-ascii; name="a2_perl_rpms" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="a2_perl_rpms" #!/bin/bash # echo Shell script a2_perl_rpms to install perl rpms from Red Hat CPAN download directory # # rpm -Uvh perl-Archive-Tar-0.22-10.i386.rpm rpm -Uvh perl-Archive-Zip-0.11-1.i386.rpm rpm -Uvh perl-Business-UPS-1.13-10.i386.rpm rpm -Uvh perl-Compress-Zlib-1.13-1.i386.rpm rpm -Uvh perl-Crypt-SSLeay-0.27-1.i386.rpm # next one supersedes cd-rom version rpm -Uvh perl-DBD-Pg-1.00-1.i386.rpm rpm -Uvh perl-File-CounterFile-0.12-10.i386.rpm rpm -Uvh perl-HTML-Parser-3.25-1.i386.rpm rpm -Uvh perl-HTML-Tagset-3.03-1.i386.rpm rpm -Uvh perl-Image-Size-2.93-1.i386.rpm rpm -Uvh perl-IO-stringy-1.220-1.i386.rpm rpm -Uvh perl-libwww-perl-5.53-1.i386.rpm # required by ... rpm -Uvh perl-libnet-1.0703-10.i386.rpm rpm -Uvh perl-Mail-Sendmail-0.78-10.i386.rpm rpm -Uvh perl-MIME-Base64-2.12-1.i386.rpm rpm -Uvh perl-Newt-1.08-1.i386.rpm rpm -Uvh perl-OLE-Storage_Lite-0.09-1.i386.rpm rpm -Uvh perl-Parse-RecDescent-1.80-1.i386.rpm rpm -Uvh perl-Safe-Hole-0.08-1.i386.rpm rpm -Uvh perl-SOAP-Lite-0.50-1.i386.rpm rpm -Uvh perl-Spreadsheet-ParseExcel-0.22.3-1.i386.rpm rpm -Uvh perl-Spreadsheet-WriteExcel-0.32-1.i386.rpm rpm -Uvh perl-SQL-Statement-0.1020-1.i386.rpm rpm -Uvh perl-Storable-1.0.11-1.i386.rpm rpm -Uvh perl-Term-ReadLine-Perl-0.9908-10.i386.rpm # required by ... rpm -Uvh perl-TermReadKey-2.14-10.i386.rpm rpm -Uvh perl-Tie-Watch-1.0-10.i386.rpm rpm -Uvh perl-Time-HiRes-01.20-10.i386.rpm rpm -Uvh perl-URI-1.12-1.i386.rpm rpm -Uvh perl-XML-Parser-2.30-1.i386.rpm --------------BB50561BBB610FD19FE4E77D Content-Type: text/plain; charset=us-ascii; name="a3_ic_rpms" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="a3_ic_rpms" #!/bin/bash # echo Shell script a3_ic_rpms to install Interchange rpms from Red Hat download page # # rpm -Uvh interchange-4.8.1-1.noarch.rpm rpm -Uvh interchange-foundation-4.8.1-1.noarch.rpm rpm -Uvh interchange-foundation-demo-4.8.1-1.i386.rpm --------------BB50561BBB610FD19FE4E77D-- From: interchange-users at interchange.redhat.com (jandaman) Date: Sun Aug 26 02:53:01 2001 Subject: [ic] MailOrderTo error when following the tutorial This is a multi-part message in MIME format. ------=_NextPart_000_007D_01C12DC1.17267960 Content-Type: multipart/alternative; boundary="----=_NextPart_001_007E_01C12DC1.17267960" ------=_NextPart_001_007E_01C12DC1.17267960 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am following the Interchange tuturial guide and got stuck. I made it upto http://ic.redhat.com/cgi-bin/ic/dev/iccattut_26.html=20 I restarted interchange and get the following error for the tutorial = catalog: "Configuring catalog tutorial...tutorial config error: Please = specify the MailOrderTo directive in the configuration file" I went back to http://ic.redhat.com/cgi-bin/ic/dev/iccattut_17.html to = check the directions on the bottom of the page. My tutorial.cfg file = looks like its correct. I can't figure out the problem. I am using KEdit to create the files. Is that alright? Anything I should = try? Any help would be appreciated. ------=_NextPart_001_007E_01C12DC1.17267960 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.4807.2300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I am following the Interchange tuturial = guide and=20 got stuck.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I made it upto <A=20 href=3D"http://ic.redhat.com/cgi-bin/ic/dev/iccattut_26.html">http://ic.r= edhat.com/cgi-bin/ic/dev/iccattut_26.html</A>&nbsp;</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I restarted interchange and get the = following error=20 for the tutorial catalog:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; "Configuring catalog = tutorial...tutorial config error: Please specify the MailOrderTo = directive in=20 the configuration file"</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I went back to <A=20 href=3D"http://ic.redhat.com/cgi-bin/ic/dev/iccattut_17.html">http://ic.r= edhat.com/cgi-bin/ic/dev/iccattut_17.html</A>&nbsp;to=20 check the directions on the bottom of the page. My tutorial.cfg file = looks like=20 its correct. I can't figure out the problem.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I am using KEdit to create the files. = Is that=20 alright? Anything I should try? Any help would be = appreciated.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML> ------=_NextPart_001_007E_01C12DC1.17267960-- ------=_NextPart_000_007D_01C12DC1.17267960 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII3jCCAnww ggHloAMCAQICAwT/rTANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw MC44LjMwMB4XDTAxMDYxMTA1NDExNVoXDTAyMDYxMTA1NDExNVowQzEfMB0GA1UEAxMWVGhhd3Rl IEZyZWVtYWlsIE1lbWJlcjEgMB4GCSqGSIb3DQEJARYRamFuZGFtYW5AaG9tZS5jb20wgZ8wDQYJ KoZIhvcNAQEBBQADgY0AMIGJAoGBAKWKtOV02hrTKUHSC9ApGq8o43J2JfkWvY0SfOkkshSMTEjf Lbrc9gODaiC0g5aspA0xCgPVJ+YCV0EOZZ1qdDejizSt9VWMco0qMgTt4SLFEYMY9mG3aqqiOBq0 RW+gOcaubuf4tS75W/cVtXt6yQ+BT+FVr6sdDDu6plYMa0ABAgMBAAGjLjAsMBwGA1UdEQQVMBOB EWphbmRhbWFuQGhvbWUuY29tMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAzOd016HV I/093OBzQBrq6D75JAIAcMHlOTY5xNSC7WwilchOEl97ELapYxmsTFfnTPRwFERrwgs5/zyEW+2P bv5kNRQp2yXfermUhvgbpXzc7NjqdWQ6oBIBZvnTUDq/tI9Giy42B9VR984rO0akDGijebsPAi3N ms+zzVyZqKswggMpMIICkqADAgECAgEMMA0GCSqGSIb3DQEBBAUAMIHRMQswCQYDVQQGEwJaQTEV MBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0 ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQw IgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNv bmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDAwODMwMDAwMDAwWhcNMDIwODI5MjM1OTU5WjCB kjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du MQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQD Ex9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB iQKBgQDeMzKmY8cJJUU+0m54J2eBxdqIGYKXDuNEKYpjNSptcDz63K737nRvMLwzkH/5NHGgo22Y 8cNPomXbDfpL8dbdYaX5hc1VmjUanZJ1qCeu2HL5ugL217CR3hzpq+AYA6h8Q0JQUYeDPPA5tJtU ihOH/7ObnUlmAC0JieyUa+mhaQIDAQABo04wTDApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJp dmF0ZUxhYmVsMS0yOTcwEgYDVR0TAQH/BAgwBgEB/wIBADALBgNVHQ8EBAMCAQYwDQYJKoZIhvcN AQEEBQADgYEAcxtvJmWL/xU0S1liiu1EvknH6A27j7kNaiYqYoQfuIdjdBxtt88aU5FL4c3mONnt UPQ6bDSSrOaSnG7BIwHCCafvS65y3QZn9VBvLli4tgvBUFe17BzX7xe21Yibt6KIGu05Wzl9NPy2 lhglTWr0ncXDkS+plrgFPFL83eliA0gwggMtMIIClqADAgECAgEAMA0GCSqGSIb3DQEBBAUAMIHR MQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24x GjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZp Y2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkq hkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNOTYwMTAxMDAwMDAwWhcN MjAxMjMxMjM1OTU5WjCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAG A1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2Vy dGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZy ZWVtYWlsIENBMSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMIGf MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUadfUsJRkW3HpR9gMUbbqcpGwhF59LQ2PexLfhSV1 KHQ6QixjJ5+Ve0vvfhmHHYbqo925zpZkGsIUbkSsfOaP6E0PcR9AOKYAo4d49vmUhl6t6sBeduvZ FKNdbnp8DKVLVX8GGSl/npom1Wq7OCQIapjHsdqjmJH9edvlWsQcuQIDAQABoxMwETAPBgNVHRMB Af8EBTADAQH/MA0GCSqGSIb3DQEBBAUAA4GBAMfskn5O+PWWpWdiKqTwTRFg0G+NYFhhrCa7UjVc CM8w+6hKloofYkIjjBcP9LpknBesRynfnZhe0mxgcVyirNx54+duAEcftQ0o6AKd5Jr9E/Sm2Xyx +NxfIyYJkYBz0BQb3kOpgyXy5pwvFcr+pquKB3WLDN1RhGvk+NHOd6KBMYIB/jCCAfoCAQEwgZow gZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93 bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UE AxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMAIDBP+tMAkGBSsOAwIaBQCggbowGAYJ KoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDEwODI2MDY1MzA3WjAjBgkq hkiG9w0BCQQxFgQU0dvu0l339BQ7M+UHD1fs0VU4DfgwWwYJKoZIhvcNAQkPMU4wTDAKBggqhkiG 9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwIC ASgwBwYFKw4DAh0wDQYJKoZIhvcNAQEBBQAEgYAc5HmmuKEnzkhK1f4cNDs5dV38SnQsYkadZvDT uQczDh0qzHlimBd6yu3WlQo1529SsxubZiVqzZ2Yn2WvrfQEVKj6UGx10aZHHgqkDm+U5f4XcYaT j70ZSOZWPmi/bV/ZLu0WA9Yt6VXVyuHf0K5CJjLt/Umhpui508ET2B2kFwAAAAAAAA== ------=_NextPart_000_007D_01C12DC1.17267960-- From: interchange-users at interchange.redhat.com (Ken Douglas) Date: Sun Aug 26 06:53:01 2001 Subject: [ic] Change of id to session Hi, How can I change id string to session? Also is it possible to use longer session key? index.html?id=jkasd658G to index.html?session=83jhjdffs Regards __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Sun Aug 26 12:34:01 2001 Subject: [ic] Interchange 4.8.1 Install Gee, your scripts are very timely for me since I am trying to get it all working, too. I have been snooping around trying to get the right combination of Perl modules and you have documented them. One thing I was curious about is when you run the foundation demo. My current issue is when I attempt to crank up "/usr/sbin/interchange -r", I am getting an error #101 "SecureURL directive is missing" from the foundation catalog.cfg. Have you happened upon that or does your foundation execute without problems? BTW, I think you and I are the same nationality. I live in San Diego but grew up in Stoney Creek (near Hamilton). John G. Hambleton eTechical Solutions Solutions for the New Economy voice: (760)413-6305 pgr: (619)973-6188 JOHN@HAMBLETON.COM ----- Original Message ----- From: "Michel Matte" <michel.matte@sympatico.ca> To: <interchange-users@interchange.redhat.com> Sent: Saturday, August 25, 2001 6:02 PM Subject: [ic] Interchange 4.8.1 Install > Thank you very much for answering my question. I reinstalled Interchange with no errors. I still have problems starting the foundation store. The first page appears and then I get TCP error : no route to host. It may be due to my gateway router I don't know. > > The procedures that I used to reinstall perl and all following modules based on your advice are attached. > > -- > Michel Matte > > > ---------------------------------------------------------------------------- ---- > #!/bin/bash > # > echo Shell script a1_perl_rpms to install perl rpms from Red Hat cd-rom 1 > # > # > rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-5.6.0-12.i386.rpm # main perl modules > > rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-DBI-1.14-10.i386.rpm > # required by DBD which is superseeded by download version... > #rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-DBD-Pg-0.95-1.i386.rpm > rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-File-MMagic-1.06-2.i386.rpm > rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-NKF-1.71-1.i386.rpm > rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-SGMLSpm-1.03ii-4.noarch.rpm > # language filter for Japanese documents ... > #rpm -ivh /mnt/cdrom/RedHat/RPMS/perl-Text-Kakasi-1.04-2.i386.rpm > ---------------------------------------------------------------------------- ---- > #!/bin/bash > # > echo Shell script a2_perl_rpms to install perl rpms from Red Hat CPAN download directory > # > # > rpm -Uvh perl-Archive-Tar-0.22-10.i386.rpm > rpm -Uvh perl-Archive-Zip-0.11-1.i386.rpm > rpm -Uvh perl-Business-UPS-1.13-10.i386.rpm > rpm -Uvh perl-Compress-Zlib-1.13-1.i386.rpm > rpm -Uvh perl-Crypt-SSLeay-0.27-1.i386.rpm > # next one supersedes cd-rom version > rpm -Uvh perl-DBD-Pg-1.00-1.i386.rpm > rpm -Uvh perl-File-CounterFile-0.12-10.i386.rpm > rpm -Uvh perl-HTML-Parser-3.25-1.i386.rpm > rpm -Uvh perl-HTML-Tagset-3.03-1.i386.rpm > rpm -Uvh perl-Image-Size-2.93-1.i386.rpm > rpm -Uvh perl-IO-stringy-1.220-1.i386.rpm > rpm -Uvh perl-libwww-perl-5.53-1.i386.rpm > # required by ... > rpm -Uvh perl-libnet-1.0703-10.i386.rpm > rpm -Uvh perl-Mail-Sendmail-0.78-10.i386.rpm > rpm -Uvh perl-MIME-Base64-2.12-1.i386.rpm > rpm -Uvh perl-Newt-1.08-1.i386.rpm > rpm -Uvh perl-OLE-Storage_Lite-0.09-1.i386.rpm > rpm -Uvh perl-Parse-RecDescent-1.80-1.i386.rpm > rpm -Uvh perl-Safe-Hole-0.08-1.i386.rpm > rpm -Uvh perl-SOAP-Lite-0.50-1.i386.rpm > rpm -Uvh perl-Spreadsheet-ParseExcel-0.22.3-1.i386.rpm > rpm -Uvh perl-Spreadsheet-WriteExcel-0.32-1.i386.rpm > rpm -Uvh perl-SQL-Statement-0.1020-1.i386.rpm > rpm -Uvh perl-Storable-1.0.11-1.i386.rpm > rpm -Uvh perl-Term-ReadLine-Perl-0.9908-10.i386.rpm > # required by ... > rpm -Uvh perl-TermReadKey-2.14-10.i386.rpm > rpm -Uvh perl-Tie-Watch-1.0-10.i386.rpm > rpm -Uvh perl-Time-HiRes-01.20-10.i386.rpm > rpm -Uvh perl-URI-1.12-1.i386.rpm > rpm -Uvh perl-XML-Parser-2.30-1.i386.rpm > ---------------------------------------------------------------------------- ---- > #!/bin/bash > # > echo Shell script a3_ic_rpms to install Interchange rpms from Red Hat download page > # > # > rpm -Uvh interchange-4.8.1-1.noarch.rpm > rpm -Uvh interchange-foundation-4.8.1-1.noarch.rpm > rpm -Uvh interchange-foundation-demo-4.8.1-1.i386.rpm > From: interchange-users at interchange.redhat.com (Michel Matte) Date: Sun Aug 26 16:57:00 2001 Subject: [ic] IC 4.8 Install Hi John, Check if you have openssl-0.9.6-3 and openssl-perl-0.9.6-3. These are security modules that should be in the procedure. Also you may use the procedure in the discussion Aug 24 between Mr. Matzen and Pope if you can get that to run correctly. I haven't succeeded to run my store. I have ten copies of Apache running and I wonder what's wrong. -- Michel Matte From: interchange-users at interchange.redhat.com (Ben Myles) Date: Sun Aug 26 20:19:01 2001 Subject: [ic] FW: Admin process.html 404 file not found error Hi all - I sent this message a few days ago but do not think it made its way through to the list, so here it is again. > -----Original Message----- > From: Ben Myles [mailto:ben@blmfreelancing.com] > Sent: Saturday, 25 August 2001 2:27 PM > To: interchange-users@interchange.redhat.com > Subject: Admin process.html 404 file not found error > > > Hi, > > I've been working with the admin interface on a catalog I'm > building. As a whole it seems to work nicely, however there are a > few major problems I have run into that I can't seem to find help > for in the archives. None of these problems used to occur with > earlier versions of Interchange on Linux, however I am using > Interchange 4.8.1 with FreeBSD 4.2-RELEASE and Roxen 2.1.231 as > my webserver. > > Some features in the admin UI work, others do not. Here is an > example of something that does not work: > > * Search Builder > > When I click the 'Search Builder' link under the Design button > the Search Builder page appears. I choose the relevant > information from the drop-down menus and press the Next button at > the bottom of the form. At this point I receive a HTTP 404 Not > Found error, and the address the browser is trying to display is: > > http://mysite.com/cgi-bin/mysite/process.html?mv_todo=back&ui_targ et=&ui_return_to=admin%2Fsearch_wizard&search_table=products&search_type=db& search_template=&matchlimit=50&unique_results=&allow_regex=&mv_click=Next+-- %3E I'm using Internet Explorer 5.00 for the records. * Site Layout If I click the Site Layout link under the Design button and then click the blue '+' to add a new section I receive the same 404 error. The page trying to be accessed is: http://mysite.com/cgi-bin/mysite/process.html?ui_window_name=mainwindow&mv_t odo=return&mv_nextpage=admin%2Flayout&ui_filter_class=&mv_click_map=Section_ properties&mv_click_Section_properties=&mv_click_map=Sort_section_higher&mv_ click_Sort_section_higher=&mv_click_map=Sort_section_lower&mv_click_Sort_sec tion_lower=&mv_click_map=Create_section&mv_click_Create_section=Create+secti on&mv_click_map=Delete_section&mv_click_Delete_section= Other tasks, such as creating new items, deleting items, editing pages etc. all work fine. I have /usr/interchange/share/interchange copied to my document root - /home/collection71/www/ and this seems to work as all images appear. I also copied /usr/interchange/lib/UI/pages/admin/* to /home/collection71/catalogs/collection71/pages/admin. Any suggestions would be greatly appreciated. Thanks, Ben Myles From: interchange-users at interchange.redhat.com (Malcolm Webb) Date: Sun Aug 26 20:44:00 2001 Subject: [ic] 4.8.1 Install instructions?... Hi- I am about to install 4.8.1 onto my test environment, and cannot seem to locate the install instructions for 4.8.1. I remember seeing a post about this in the mail archives, and someone responded that the docs hadn't been uploaded to interchange.redhat.com due to an oversight - well I just checked, and I still can't find them! I'm mainly concerned with the order - I've got a fresh Redhat 7.1 system, and I'm going to install Postgres 7.1.3 also. But there are about 15 RPMs in the IC install - 4 for IC alone!! Before I start installing stuff I'd like to know the right order. Can anyone assist? Please respond to this email address - thanks! P.S. - a note to the IC team: some install instructions would be helpful... -Malcolm Webb __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Electron) Date: Mon Aug 27 00:15:01 2001 Subject: [ic] HEEEELP Hello interchange-users, I have a problem: i want to display my all my products on the index page, but i want to divide results on many pages. How can i do this? -- Best regards, LicPic mailto:licpic@licpic.com From: interchange-users at interchange.redhat.com (Utomo) Date: Mon Aug 27 05:57:00 2001 Subject: [ic] Server load, problem ? Hello, I read posting in EcTalk mailing list at ecommerce-guide.com that some user having problem with huge server load when running Interchange. I hope we can consider this for future improvements, so server load is not so big. Thanks -- Best regards, Utomo From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Mon Aug 27 06:04:00 2001 Subject: [ic] Search check ok, this worked... thanx.. but i`ve got another problem... the target is to get a menu page where all products which have a "1" in their "idx" column (got created) of the products table, should get listed and linked to the category in which they reside. (the idea behind this is a product catalog with many sub products, where the customer should be able to select the type of product first by a image (marked with 1 in products.idx) and then gets a listing of all those products (by name) in the category where the product is. example: product 1.1 idx=1 image=image1.1.gif cat=cat1 product 1.2 idx=0 image=image1.2.gif cat=cat1 when i get to the page with the link menu.. there should be image1.1 which links to cat1. the target of this link displays a new site with "product1, product2" (each with a link on its flypage). i think a loop in a loop would help.. but i have no clue how to pass the results from search-loop 1 to search loop2.. the code i use to return all products with idx=1 is: ######### [loop prefix=box search=" fi=products st=db tf=sort ac=0 co=yes sf=idx op=eq se=1 ########## but how can i get the link to scan the category into <a href=... ??? its not important if the search for the the idx=1 data is done via a searchbox or a link, or if the search for this stuff is in the same site where the links getps placed.. like in the left menu of the foundation demo... i hope somebody can help me out here.. greetings Michael Mangeng ----- Original Message ----- From: "Ed LaFrance" <edl@newmediaems.com> To: <interchange-users@interchange.redhat.com> Sent: Friday, August 24, 2001 6:51 PM Subject: Re: [ic] Search check > At 11:38 AM 08/24/2001 +0200, you wrote: > >Hi > > > >A little question concerning search... > >How can i do a check on the search results. I want to get in my item-list > >loop only products with skus NOT containing a special char. lets say a dot > >(.). > > > >If i have 111, 111.1, 111.2, 112, 112.1 and 112.2, i only want to get 111 > >and 112 in the [item-list]. > > > >how can get this ? > > > >thnax > >michael mangeng > > The best way to do this is with some coordinated search terms, something like: > > co=yes > sf=sku > se=. > op=rn > > Unless you wrote the search yourself, you will probably have to go into > yourcat/templates/components and modify the appropriate files. For sidebar > links on the demo, you can specify a complex search in the design area of > the UI and add the terms there. > > - Ed L. > > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Tobias Henle) Date: Mon Aug 27 08:07:01 2001 Subject: [ic] using database based tables Hello, i use the Interchange example shop to build my own shop, now i want to import every file based table (shipping cat etc.) from the products directory in a pgSQL database! but i do not exectly know how. is there any description about that??? -Tobias Henle -- ________E-Mail________________________URL____________________________ mailto:t.henle@thiesen.com http://www.thiesen.com _____________________________________________________________________ From: interchange-users at interchange.redhat.com (Leon Leslie) Date: Mon Aug 27 08:30:01 2001 Subject: [ic] Can't login to admin I am a new user who has just installed interchange and the foundation demo on a Redhat 7.1 box. I can't login to the admin section because I don't know the password. I also tried editing the access.* file(s) but still couldn't get though can someone please help me out in this area.. Leon From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Aug 27 09:11:00 2001 Subject: [ic] PreFork and VendURL Hi, Interchange 4.8.1, Linux kernel 2.4.9 I have a VendURL directive like this: VendURL http://__DOMAIN____CGI_URL__ ifdef HOST_NAME eq 'cosmo' VendURL <&EOF sub { return 'http://__DOMAIN____CGI_URL__' if $ENV{HTTPS}; return "http://$ENV{HTTP_HOST}__CGI_URL__"; } EOF endif This is done so that each developer may have their own development area. joe.somedomain.com is different then bob.somedomain.com. This has been working fine until I set PreFork Yes. In that case the area tag outputs something like http://joe.joe.somedomain.com/ic/... instead of http://joe.somedomain.com/ic/... Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Mon Aug 27 09:14:01 2001 Subject: [ic] Foundation Won't Run You need to install the Safe::Hole module Enter this as root: perl -MCPAN -e "install Safe::Hole" > -----Original Message----- > From: interchange-users-admin@interchange.redhat.COM > [mailto:interchange-users-admin@interchange.redhat.COM]On Behalf Of > john@hambleton.COM > Sent: Friday, August 24, 2001 11:21 AM > To: interchange-users@interchange.redhat.COM > Subject: [ic] Foundation Won't Run > > > I just started working with Interchange and cannot get Foundation to work > although > the "tutorial" version I created from the tutorial runs fine. All > ownership and permissions > also look good. > > I am running the latest versions of Interchange and demo from the Red Hat > website > on the latest Fisher Beta Linux. > > When I execute "/usr/sbin/interchange -r " I get 2 errors. > > 1. "line 7 of "catalog.cfg" required module "Hole" missing .... // .... > Safe::Hole > > 2. Foundation fails to start with "error in configuration: // config > error" > > Questions: > > 1. Could I have possibly entered something incorrect in "makecat"? I > selected the defaults. > > 2. Is there any way of debugging catalog.cfg for Foundation. > > - How does one find which statement is failing in the > catalog.cfg ? > - How can I replace the cryptic constants with absolute path > names? > - Can someone send me a working copy of a working catalog.cfg > for Foundation (with private information replaced with the > word "crap") > > 3. Why is the "Hole" file missing from the installation? > > Thanx for any help. > > John G. Hambleton > eTechical Solutions > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (John Larsen) Date: Mon Aug 27 09:38:00 2001 Subject: [ic] How to Manual Install as regular user Hello, I would like to install as regular user as mentioned as one of the choices for installation of interchange. Problem is I cant find anything anywhere in regards to installing as regular user. I do not have root access to the server. It is shared virtual hosted server. This is a RedHat Linux server. Am I out of luck until I can get dedicated server? Or is it possible to install on virtual accounts? If so are there any installation instructions for this type of installation? Thank you for your patience if this is a pretty newbie question. John Larsen Designer/animator From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Aug 27 11:18:01 2001 Subject: [ic] 4.8.1 Install instructions?... > I am about to install 4.8.1 onto my test environment, and cannot seem > to locate the install instructions for 4.8.1. There's a bunch of readme-files in the tar-package. If you want the RPM-version then just run rpm -i name_of_package.rpm. If I remember correctly, the packages end up in /usr/local/interchange Rene From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Mon Aug 27 11:21:00 2001 Subject: [ic] Can't login to admin > I can't login to the admin section because I don't know the password. I also > tried editing the access.* file(s) but still couldn't get though can someone > please help me out in this area.. interch/pass From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Aug 27 12:12:00 2001 Subject: [ic] Frameset document not working too well Since moving from 4.7.6 to 4.8.1 a frameset document is not working too well. I have a frame set like this on a IC page: <frameset rows="95%,77" cols="*" frameborder="NO" border="0" framespacing="0"> <frame src="[area main]" name="main" frameborder="NO" marginwidth="0" marginheight="0" noresize> <frame src="[area footer]" name="footer" scrolling="NO" noresize marginwidth="0" marginheight="2" frameborder="NO"> </frameset> One of the frames is always slow to load. Sometimes it's one sometimes it's the other. Slow is about a minute. If I change one of the frame srcs to http://yahoo.com the page loads quickly every time. Why is this happening? How can I fix it? Please don't say don't use frames. My client wants frames and that's that. Thank you, Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at interchange.redhat.com (Mike Heins) Date: Mon Aug 27 12:58:01 2001 Subject: [ic] Server load, problem ? Quoting Utomo (utomo@flashmail.com): > Hello, > > I read posting in EcTalk mailing list at ecommerce-guide.com that some > user having problem with huge server load when running Interchange. > I hope we can consider this for future improvements, so server load is > not so big. This is not normally a problem. For instance, the interchange.redhat.com server, which serves many thousands of pages a day, typically runs at a load average of from .01 to .07. www.freecell.com, which serves 2 million Interchange pages a month (as well as many million mor images and game server hits) runs at a load average of about .7 or .8. The usual problem is not enough memory on the system, or an IDE hard drive that has too much to do. -- 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 interchange.redhat.com (Luis Filipe Silvestre Marques) Date: Mon Aug 27 13:05:01 2001 Subject: [ic] Tutorial - How can I acess the back-office UI Hi. I installed interchange 4.8.1 and went trough the tutorial (installed the foundation demo and then build the tutorial manually). My question is how can I access the back-office UI for the tutorial (not the foundation demo). I can access the login page (http://mysite/cgi-bin/tutorial/admin/index.html), but can't login. I tried to copy the access.asc into my products catalog, but it didn't work. I receive the following message: "Sorry, there was an error in processing this form action. Please report the error or try again later. (user database access does not exist. )". Can someone help me?? How can I access the backoffice UI?? Or do I need to build it(the backoffice-UI)?? Thanks, -- Luís Filipe Silvestre Marques L8 Tecnologias de Informação, Lda Rua Alves Redol Nº11 - 1 Andar 1000-030 LISBOA Tel: +351 217800009 Fax: +351 217800012 www.l8ti.com From: interchange-users at interchange.redhat.com (Götz Verdieck) Date: Mon Aug 27 13:35:00 2001 Subject: [ic] quantity pricing Hi, how can I add quantity pricing to a user how has created an account. In the demo quantity pricing is only added to dealers. Any help ? Best regards Goetz Verdieck ============================== Goetz.Verdieck@com4office.de From: interchange-users at interchange.redhat.com (Juan Gonzalo Lopez) Date: Mon Aug 27 13:48:01 2001 Subject: [ic] Shipping Problems Hi everybody, I am having problems with some templates (I think are the templates) on the version 4.8.1, For example in the check out page, I can't select the shipping method, it shows the following: "Missing ConsigneeCountry" and there's no way to calculate a shipping, by the other hand in the Administration section, I can select options inventory, but the system soesn't save the quantities, I can upload the images, it takes all the path but nothing happenes with the images. What can I do with this? Thank you for your Help Juan! From: interchange-users at interchange.redhat.com (Klaus Koch) Date: Mon Aug 27 13:59:01 2001 Subject: [ic] Interchange and Sybase DBI for ASAny I have problems using interchange with the DBI driver for ASAny from Sybase. I thought it is possible to use interchange with any SQL database for which there is a DBI driver. With the driver comes a test perl script which works well. I am able to access the database with these settings at the beginning: ------------------------------ #!/usr/bin/perl -w use DBI; use strict; my($database) = "customer"; my($data_source) = "DBI:ASAny:shop:$database"; my($username) = "UID=minivend;PWD=123654;ENG=shop"; my($sql_statement) = "SELECT sku,description FROM products"; [...] ------------------------------- I have set up the tutorial catalog of Interchange. How should I configure it so it can use the database for its products? I really dont know what to use for SQLUSER and SQLDSN. Itried a few settings but only got DBI connection errors. Or is this a compatibility problem? Any help would be greatly appreciated. Thank you! From: interchange-users at interchange.redhat.com (Kenny Shi) Date: Mon Aug 27 14:16:00 2001 Subject: [ic] credit card section and shipping method I have 4.8.1 running. When I only enable Online Check and Postal Billing as payment methods, and click on Checkout, the credit card section still shows up even though the default selection is Online Check. If I select Postal Billing and then switch back to Online Check again, credit card is gone and is replaced by checking info. Something to do with Check Out button URL? kenny __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Kenny Shi) Date: Mon Aug 27 14:38:01 2001 Subject: [ic] US shipping 1DA: Missing ConsigneeCountry I am running 4.8.1, foundation store On checkout screen, when US is selected, the shipping method box is empty, and there is a note:1DA: Missing ConsigneeCountry line. Other countries seem fine. I am using UPS and a customized USPS Priority Mail shipping. THanks for help! kenny __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Frank Maestas) Date: Mon Aug 27 17:04:01 2001 Subject: [ic] MYSQL - how do you make IC aware of new catalog data location? Hello, Using MySQL with Interchange 4.8.1. Just installed new hard drive so I can keep the MySQL catalog files in a different directory than before. I looked in /foundation/dbconf/mysql/mysql.cfg but did not see anything that I could use as far as specifying where the catalog data is now kept. Also tried creating a new test catalog, but makecat did not create any mysql files anywhere on the drive. (mysql "is" running). Is there a config file that can be changed or is this an argument I can key in when using makecat? Thanks! Frank Maestas TTS Inc. / www.MyPlantsTraining.com fmaestas@ttseagle.com fmaestas@myplantstraining.com From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Aug 27 17:24:01 2001 Subject: [ic] order multiple items once a time with a form page Hi List, I've a page like <FORM ACTION="[process-target]" METHOD=POST> <INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh"> <INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="ord/warenkorb_anzeige"> <INPUT TYPE="hidden" NAME="mv_orderpage" VALUE="ord/warenkorb_anzeige"> <INPUT TYPE="hidden" NAME="mv_session_id" VALUE="[data session id]"> <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> ... <input type=hidden name="mv_oi1" value=""><INPUT TYPE="text" NAME="mv_order_quantity" SIZE=3 VALUE=""> ... up to <input type=hidden name="mv_oi32" value=""><INPUT TYPE="text" NAME="mv_order_quantity" SIZE=3 VALUE=""> ... <INPUT TYPE="submit" VALUE="Bestellen"> It works fine until an user make a typo. I've 32 input field. If an user choose 2 items and the one sku of the one item is wrong, I get 31 lines in my error.log like 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos /cgi-bin/intos/process.html Attempt to order missing product code: 654654 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos /cgi-bin/intos/process.html Attempt to order missing product code: [DEL 30 other same lines like above. How can I prevent it? I know, there are a solution to check for an existing items and I can write this kind of check. But I believe and think, it is a big feature, if IC are able to check for an existing items, go back to that page and make the line with the wrong field red by error or report the user about the error. Hmmm...maybe a new IC Tag like [if session ordererror] ...[/if] to print out for example "SKU 1234 is not available" is the fastest new implementation? Any suggestions? Any hints, helps and suggestions for the quick solutions are very welcome! Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (STEVE LANGE) Date: Mon Aug 27 17:39:00 2001 Subject: [ic] Check Out Freezing Up Hello all, We've recently installed 4.8.1, and while using the foundation store, we've been running into the following problem. When you click 'check out' from the basket page, everything hangs. The only log message I can seem to find says: hammered PID 17111 running 300 seconds Any ideas? We haven't even modified the basket or cart pages yet. We didn't have this problem with the 4.6 versions. Thanks in advance, Steve From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Mon Aug 27 17:59:00 2001 Subject: [ic] MYSQL - how do you make IC aware of new catalog data IC doesn't create any mysql files. It sounds like you are trying to either move your mysql database, which doesn't involve IC. On Mon, 27 Aug 2001, Frank Maestas wrote: > Hello, > Using MySQL with Interchange 4.8.1. > Just installed new hard drive so I can keep the MySQL catalog files in a > different directory than before. I looked in > /foundation/dbconf/mysql/mysql.cfg but did not see anything that I could > use as far as specifying where the catalog data is now kept. > > Also tried creating a new test catalog, but makecat did not create any mysql > files anywhere on the drive. (mysql "is" running). Is there a config file > that can be changed or is this an argument I can key in when using makecat? > > Thanks! > > Frank Maestas > TTS Inc. / www.MyPlantsTraining.com > fmaestas@ttseagle.com > fmaestas@myplantstraining.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Frank Maestas) Date: Mon Aug 27 18:15:00 2001 Subject: [ic] MYSQL - how do you make IC aware of new catalog data location? I have moved the mysql database files, but IC does not see them anymore. Using mysql at the command prompt works fine though, and so is another app I use, "MyPhpAdmin". After I moved my database files, mysql works as normal everywhere else except IC. I noticed that when I tried to create a new test db based on Foundation, the database directory is created, but does not get populated. I don't know if I'm up against configuration for IC or Mysql in trying to fix this. Frank Maestas TTS Inc. / www.MyPlantsTraining.com fmaestas@ttseagle.com fmaestas@myplantstraining.com From: interchange-users at interchange.redhat.com (Xavier de GELIS) Date: Mon Aug 27 18:21:00 2001 Subject: [ic] Check Out Freezing Up Hello, On my platform (Celeron 700, 384MB RAM, 20GB, Redhat 7.1, Interchange 4.8.1), it takes about 25s just to see the check-out page, but it is not freezing up. I use the original catalog too. Regards, Xav. From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Mon Aug 27 18:52:01 2001 Subject: [ic] Check Out Freezing Up Xavier de GELIS wrote: > > Hello, > > On my platform (Celeron 700, 384MB RAM, 20GB, Redhat 7.1, Interchange > 4.8.1), it takes about 25s just to see the check-out page, but it is not > freezing up. I use the original catalog too. Hmmmm...it is difficult to give you any right answer or solution. I've noticed a long running access of a page too. But I get this behavior only, if there are a few pid files like "pid<PIDNUMBER>" in cataloges/<yourshop>/etc. For example: 1. an user call a page and a new process with pid 12345 is starting 2. something goes wrong with that process with pid 12345 3. closing or shut down the browser, restarting the browser and a new access to the shop once more need more times or "Internal server error" or "document has no data" is showing up suddenly 4. after a long time, the pid file 12345 is still in /etc 5. restarting the IC server has no effect to get a normal behavior 6. removing the pid file in /etc solve it It seems to me, the function housekeeping is not working right or can't remove the wrong pidfiles or has another problem. I don't know about the cause, because it is difficult to reproduce that kind of behavior and to debug it with my less available time. It is possible, that you can access another page quickly. But we need more informations. Can you reproduce the misbehavior? Can you investigate or find a coherence to get such kind of the misbehavior? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Mon Aug 27 19:54:00 2001 Subject: [ic] MYSQL - how do you make IC aware of new catalog data location? On Mon, Aug 27, 2001 at 04:05:53PM -0600, Frank Maestas wrote: > I have moved the mysql database files, but IC does not see them anymore. > Using mysql at the command prompt works fine though, and so is another app I > use, "MyPhpAdmin". After I moved my database files, mysql works as normal > everywhere else except IC. Try NoImport. Just a guess. If you are really using mysql the location does not matter to ic at all. Perhaps you have managed to create a hybrid. > > I noticed that when I tried to create a new test db based on Foundation, the > database directory is created, but does not get populated. I don't know if > I'm up against configuration for IC or Mysql in trying to fix this. > > > Frank Maestas > TTS Inc. / www.MyPlantsTraining.com > fmaestas@ttseagle.com > fmaestas@myplantstraining.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Mon Aug 27 21:13:01 2001 Subject: [ic] Frameset document not working too well On Mon, 27 Aug 2001 bill@worldwideimpact.com wrote: >>Why is this happening? How can I fix it? Please don't say don't use >>frames. My client wants frames and that's that. I can understand that ..... However...... In the last half of 2000 I was running a page that had frames, it had bouncing balls that i had stolen from Six Flags Over America. It was a very nice site. In December of 2000 I revamped the site to get rid of frames and my hits, as well as sales, doubled! Maybe it was the market. Maybe it was the frames. The general feedback that I get is that people don't like frames If your client wants hits, and wants sales, they need to have a format and appearance that people like. And, people are finicky! Their personal opinion doesn't count (in my book) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Monday, August 27, 2001 at 21:10 PM: I float like an anchor and sting like a moth. ---------------------------------------------------------------- This Linux System has been up 393 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (satya narayanan) Date: Tue Aug 28 02:03:01 2001 Subject: [ic] Multiple Store Cration Using Interchange Hi folks, We are new users of the Interchange application and have a query regarding the same. It would be great if some one can help. We Have Alredy Created The Demo Store( i.e, Foundation).Now We Want To Create Multiple stores.So Please help us which are all The steps To be Followed. Regards satyapat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (satya narayanan) Date: Tue Aug 28 02:07:01 2001 Subject: [ic] Multiple Store Cration Using Interchange Hi folks, We are new users of the Interchange application and have a query regarding the same. It would be great if some one can help. We Have Alredy Created The Demo Store( i.e, Foundation).Now We Want To Create Multiple stores.So Please help us which are all The steps To be Followed. Regards satyapat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Tommi Labermo) Date: Tue Aug 28 02:38:00 2001 Subject: [ic] UI page_edit error. Hi I get this error VERY often: /cgi-bin/shop_ekm/admin/page_edit search error: your search file a valid database reference, was 'backup'. and I dont know whats wrong. This error message is starting to fill up my log files, making it really difficult to read them. The only changes I've done, is added a couple of fields to the 'products' table. This error does not seem to affect the normal operation of Interchange, it is just filling up my log files. I'm running IC 4.8.1 on a RedHat 6.2 system, with mySQL. Any information on this subject is really appreciated. /cheers Tommi From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Tue Aug 28 05:27:01 2001 Subject: [ic] order multiple items once a time with a form page Joachim Leidinger <jojo@blackpoint.de> writes: > Hi List, > > I've a page like > > <FORM ACTION="[process-target]" METHOD=POST> > <INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh"> > <INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="ord/warenkorb_anzeige"> > <INPUT TYPE="hidden" NAME="mv_orderpage" VALUE="ord/warenkorb_anzeige"> > <INPUT TYPE="hidden" NAME="mv_session_id" VALUE="[data session id]"> > <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> > ... > <input type=hidden name="mv_oi1" value=""><INPUT TYPE="text" > NAME="mv_order_quantity" SIZE=3 VALUE=""> > ... up to > <input type=hidden name="mv_oi32" value=""><INPUT TYPE="text" > NAME="mv_order_quantity" SIZE=3 VALUE=""> > ... > <INPUT TYPE="submit" VALUE="Bestellen"> > > It works fine until an user make a typo. I've 32 input field. If an user > choose 2 items and the one sku of the one item is wrong, I get 31 lines > in my error.log like > > 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos > /cgi-bin/intos/process.html Attempt to order missing product code: > 654654 > 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos > /cgi-bin/intos/process.html Attempt to order missing product code: > [DEL 30 other same lines like above. > > How can I prevent it? I know, there are a solution to check for an > existing items and I can write this kind of check. But I believe and > think, it is a big feature, if IC are able to check for an existing > items, go back to that page and make the line with the wrong field red > by error or report the user about the error. Hmmm...maybe a new IC Tag > like [if session ordererror] ...[/if] to print out for example "SKU 1234 > is not available" is the fastest new implementation? Any suggestions? Why ? I think the stock features of IC are sufficient. Furthermore you can use the "formel" tag to save some typing. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Tue Aug 28 08:01:01 2001 Subject: [ic] order multiple items once a time with a form page "Stefan Hornburg (Racke)" wrote: > > <FORM ACTION="[process-target]" METHOD=POST> > > <INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh"> > > <INPUT TYPE="hidden" NAME="mv_nextpage" VALUE="ord/warenkorb_anzeige"> > > <INPUT TYPE="hidden" NAME="mv_orderpage" VALUE="ord/warenkorb_anzeige"> > > <INPUT TYPE="hidden" NAME="mv_session_id" VALUE="[data session id]"> > > <INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity"> > > ... > > <input type=hidden name="mv_oi1" value=""><INPUT TYPE="text" > > NAME="mv_order_quantity" SIZE=3 VALUE=""> > > ... up to > > <input type=hidden name="mv_oi32" value=""><INPUT TYPE="text" > > NAME="mv_order_quantity" SIZE=3 VALUE=""> > > ... > > <INPUT TYPE="submit" VALUE="Bestellen"> > > > > It works fine until an user make a typo. I've 32 input field. If an user > > choose 2 items and the one sku of the one item is wrong, I get 31 lines > > in my error.log like > > > > 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos > > /cgi-bin/intos/process.html Attempt to order missing product code: > > 654654 > > 192.168.3.1 2XYgZ6nI:192.168.3.1 - [27/August/2001:23:06:28 +0200] intos > > /cgi-bin/intos/process.html Attempt to order missing product code: > > [DEL 30 other same lines like above. > > > > How can I prevent it? I know, there are a solution to check for an > > existing items and I can write this kind of check. But I believe and > > think, it is a big feature, if IC are able to check for an existing > > items, go back to that page and make the line with the wrong field red > > by error or report the user about the error. Hmmm...maybe a new IC Tag > > like [if session ordererror] ...[/if] to print out for example "SKU 1234 > > is not available" is the fastest new implementation? Any suggestions? > > Why ? I think the stock features of IC are sufficient. Furthermore > you can use the "formel" tag to save some typing. I'm in a muddle. I've search the mailinglist for an example with the formal tag. See http://developer2.akopia.com/archive/interchange-users/2001/msg01353.html I'm unsure about the right using of that tag. Did that formel tag print out a message like "SKU 12345 is not available! Please remove it from this page or choose another item!" ? Racke, have you another example for a stupid boy like me? Thank you a lot for your time! ciao Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Leon Harris) Date: Tue Aug 28 09:54:01 2001 Subject: [ic] Fixed Pricing Hi. I am having a supprising amount of difficulty wit this. I have put the definitions into shipping.asc for a flat mode: FLAT Flat rate quantity 0 0 e nothing to ship FLAT Flat rate quntity 1 100 f [ var SHIP_FLAT_RATE] FLAT Flat Rate quantity 101 9999 e contact us for rates on this many items I edited the variable table and set MV_SHIPPING to FLAT and SHIP_FLAT_RATE to 10.00 when I checkout from interchange, I get an error Note: No match found for mode 'FLAT', quantity '', returning 0. Shipping method I also have the shipmode set to FLAT in the country db for the country (australia) that I testing this for. Any suggestions and help will be greatly appreciated. I am running ic 4.7.7 with a customised construct-style catalogue. Cheers, Leon From: interchange-users at interchange.redhat.com (IC-Admin) Date: Tue Aug 28 10:57:01 2001 Subject: [ic] order multiple items once a time with a form page On Tue, 28 Aug 2001, Joachim Leidinger wrote: > > Racke, > > have you another example for a stupid boy like me? > > Thank you a lot for your time! > > ciao > > Joachim > Joachim, stop putting yourself down in front of the world and in front of our honorable gurus. That is not appropriate and they down deserve it, they don't need it and you shouldn't have to do it. You are not a stupid boy and if you can't find info to the formel usertag, submit the request so that it might be documented appropriately. BF From: interchange-users at interchange.redhat.com (Juan Gonzalo Lopez) Date: Tue Aug 28 11:17:00 2001 Subject: [ic] Shipping Calculation Problems Hi everybody, I am having problems with some templates (I think are the templates) on the version 4.8.1, For example in the check out page, I can't select the shipping method, it shows the following: "Missing ConsigneeCountry" and there's no way to calculate a shipping, by the other hand in the Administration section, I can select options inventory, but the system soesn't save the quantities, I can upload the images, it takes all the path but nothing happenes with the images. What can I do with this? Thank you for your Help Juan! From: interchange-users at interchange.redhat.com (Frank Maestas) Date: Tue Aug 28 11:48:01 2001 Subject: [ic] MYSQL - how do you make IC aware of new catalog data location? Fixed my own problem with Interchange not creating Mysql databases or being able to see my old databases. Though I'd share what I did. I needed to install the DBD-mysql and DBI modules from the CPAN site. These are not included in the Redhat CPAN modules download area. Now the server works fine when creating mysql databases! ... Frank Maestas TTS Inc. / www.MyPlantsTraining.com fmaestas@ttseagle.com fmaestas@myplantstraining.com From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 28 12:03:59 2001 Subject: [ic] CATROOT/tmp folder Anyone else noticed how that nasty CATROOT/tmp folder just grows and grows? It guess the expire program ignores it. I set up a cron job to recursively delete the contents of the folder in the wee hours; if anyone has a more correct solution, I would love to hear 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 interchange.redhat.com (Ed LaFrance) Date: Tue Aug 28 12:07:01 2001 Subject: [ic] Multiple Store Cration Using Interchange At 06:02 AM 08/28/2001 +0000, you wrote: >Hi folks, > >We are new users of the Interchange application and have a query regarding >the same. It would be great if some one can help. > >We Have Alredy Created The Demo Store( i.e, Foundation).Now We Want To >Create Multiple stores.So Please help us which are all The steps To be >Followed. > >Regards > >satyapat Repeat the steps you followed to create the first store, but give each new store a unique name. That's all there is to it, unless I am not understanding your question. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Tue Aug 28 12:10:01 2001 Subject: [ic] Fixed Pricing At 09:53 PM 08/28/2001 +0800, you wrote: >Hi. >I am having a supprising amount of difficulty wit this. >I have put the definitions into shipping.asc for a flat mode: > > >FLAT Flat rate quantity 0 0 e nothing to ship >FLAT Flat rate quntity 1 100 f [ var SHIP_FLAT_RATE] ^^^^^^^ If this typo is in your shipping.asc file, it will cause a problem. - Ed L. >FLAT Flat Rate quantity 101 9999 e contact us for rates >on this many items > >I edited the variable table and set MV_SHIPPING to FLAT >and SHIP_FLAT_RATE to 10.00 > >when I checkout from interchange, >I get an error > > Note: No match found for mode 'FLAT', >quantity '', returning 0. > Shipping method > > >I also have the shipmode set to FLAT in the country db for the country >(australia) that I testing this for. > > >Any suggestions and help will be greatly appreciated. > >I am running ic 4.7.7 with a customised construct-style catalogue. > >Cheers, >Leon > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Leon Leslie) Date: Tue Aug 28 13:34:00 2001 Subject: [ic] Can't login to admin Thank you....It worked. -----Original Message----- From: interchange-users-admin@interchange.redhat.com [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Rene Hertell Sent: Monday, August 27, 2001 11:19 AM To: interchange-users@interchange.redhat.com Subject: RE: [ic] Can't login to admin > I can't login to the admin section because I don't know the password. I also > tried editing the access.* file(s) but still couldn't get though can someone > please help me out in this area.. interch/pass _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Tue Aug 28 15:22:01 2001 Subject: [ic] Check Out Freezing Up At 12:53 AM 8/28/2001 +0200, you wrote: >Xavier de GELIS wrote: > > > > Hello, > > > > On my platform (Celeron 700, 384MB RAM, 20GB, Redhat 7.1, Interchange > > 4.8.1), it takes about 25s just to see the check-out page, but it is not > > freezing up. I use the original catalog too. > >Hmmmm...it is difficult to give you any right answer or solution. I've >noticed a long running access of a page too. But I get this behavior >only, if there are a few pid files like "pid<PIDNUMBER>" in >cataloges/<yourshop>/etc. For example: > >1. >an user call a page and a new process with pid 12345 is starting >2. >something goes wrong with that process with pid 12345 >3. >closing or shut down the browser, restarting the browser and a new >access to the shop once more need more times or "Internal server error" >or "document has no data" is showing up suddenly >4. >after a long time, the pid file 12345 is still in /etc >5. >restarting the IC server has no effect to get a normal behavior >6. removing the pid file in /etc solve it > >It seems to me, the function housekeeping is not working right or can't >remove the wrong pidfiles or has another problem. > >I don't know about the cause, because it is difficult to reproduce that >kind of behavior and to debug it with my less available time. It is >possible, that you can access another page quickly. But we need more >informations. Can you reproduce the misbehavior? Can you investigate or >find a coherence to get such kind of the misbehavior? > >Joachim In addition to Joachim's suggestions, what is your platform, distribution & perl version? Second, what, if any thing, have you modified from the foundation catalog? Third, does your sendmail work correctly (name resolution, etc.)? HTH, Dan Browning, Cyclone Computer Systems, danpb@mail.com From: interchange-users at interchange.redhat.com (Craig Bedard) Date: Tue Aug 28 16:02:01 2001 Subject: [ic] Administration password Hi, After some time I have successfully installed the rpm version of interchange 4.8 but now I am having problems logging onto the administration area. Isn't the initial user/password 'interchange' and 'pass' ? are there any other reasons why this might not be working? cheers, Craig. From: interchange-users at interchange.redhat.com (Dave Jenkins) Date: Tue Aug 28 16:15:00 2001 Subject: [ic] Administration password interch pass Craig Bedard wrote: > > Hi, > > After some time I have successfully installed the rpm version of interchange > 4.8 but now I am having problems logging onto the administration area. > Isn't the initial user/password 'interchange' and 'pass' ? are there any > other reasons why this might not be working? > > cheers, > Craig. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- ---------- Dave Jenkins Engagement Manager Professional Services djenkins@redhat.com 703.456.2944 ---------- From: interchange-users at interchange.redhat.com (Rene Hertell) Date: Tue Aug 28 16:21:00 2001 Subject: [ic] Administration password > After some time I have successfully installed the rpm version of interchange > 4.8 but now I am having problems logging onto the administration area. > Isn't the initial user/password 'interchange' and 'pass' ? are there any > other reasons why this might not be working? try interch/pass From: interchange-users at interchange.redhat.com (Korey Gozman) Date: Tue Aug 28 16:54:01 2001 Subject: [ic] Administration password I've had a similar problem, but it was because I changed the password and didn't know what I changed it to. So anyways to cut the story short, I removed the password field from the products/access.asc file and was able to log in using interchange and pass but I think that it could have worked with out the passwd at that time, Hope it helps -Korey Rene Hertell wrote: > > After some time I have successfully installed the rpm version of interchange > > 4.8 but now I am having problems logging onto the administration area. > > Isn't the initial user/password 'interchange' and 'pass' ? are there any > > other reasons why this might not be working? > > try interch/pass > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Tue Aug 28 17:02:00 2001 Subject: [ic] Check Out Freezing Up We've been seeing what appears to be the same problem. In particular, restarting does not work even in the absence of any /var/run or /var/lock/ entries. After a few minutes, starting is possible. We've set a daily cron job to restart the server, and so far so good. The whole IC server shuts down, so admin is effected as well. Single CPU, Stock RH 7.0, stock IC 4.8.1, perl 5.6.0. Sendmail and DNS are fine, and we believe, unrelated. Sometimes we find hammered pid entries, sometimes not. We're stumped here. zack ----- Original Message ----- From: "Dan Browning" <db@cyclonehq.dnsalias.net> To: <interchange-users@interchange.redhat.com> Sent: Tuesday, August 28, 2001 3:19 PM Subject: Re: [ic] Check Out Freezing Up > At 12:53 AM 8/28/2001 +0200, you wrote: > >Xavier de GELIS wrote: > > > > > > Hello, > > > > > > On my platform (Celeron 700, 384MB RAM, 20GB, Redhat 7.1, Interchange > > > 4.8.1), it takes about 25s just to see the check-out page, but it is not > > > freezing up. I use the original catalog too. > > > >Hmmmm...it is difficult to give you any right answer or solution. I've > >noticed a long running access of a page too. But I get this behavior > >only, if there are a few pid files like "pid<PIDNUMBER>" in > >cataloges/<yourshop>/etc. For example: > > > >1. > >an user call a page and a new process with pid 12345 is starting > >2. > >something goes wrong with that process with pid 12345 > >3. > >closing or shut down the browser, restarting the browser and a new > >access to the shop once more need more times or "Internal server error" > >or "document has no data" is showing up suddenly > >4. > >after a long time, the pid file 12345 is still in /etc > >5. > >restarting the IC server has no effect to get a normal behavior > >6. removing the pid file in /etc solve it > > > >It seems to me, the function housekeeping is not working right or can't > >remove the wrong pidfiles or has another problem. > > > >I don't know about the cause, because it is difficult to reproduce that > >kind of behavior and to debug it with my less available time. It is > >possible, that you can access another page quickly. But we need more > >informations. Can you reproduce the misbehavior? Can you investigate or > >find a coherence to get such kind of the misbehavior? > > > >Joachim > > In addition to Joachim's suggestions, what is your platform, distribution & > perl version? Second, what, if any thing, have you modified from the > foundation catalog? Third, does your sendmail work correctly (name > resolution, etc.)? HTH, > > Dan Browning, Cyclone Computer Systems, danpb@mail.com > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Aaron Kincer) Date: Tue Aug 28 17:36:01 2001 Subject: [ic] Problems with tutorial Is anyone else having problems getting the tutorial to work for 4.8.1 on Red Hat 7.1? I have followed the directions exactly up to the end of section 7.1 of the tutorial. When I restart interchange and try to view the page, it does not work. I have tried a huge multitude of things including makecat. I also verified that the permissions for everything was the same for both the foundation and the tutorial. The foundation works fine, but tutorial does not. If I type localhost/cgi-bin/foundation I get the storefront for the foundation. If I type localhost/cgi-bin/tutorial I get a "catalog not defined" error. Any ideas anyone? Thanks in advance for any help provided. Aaron _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Xavier de GELIS) Date: Tue Aug 28 18:20:01 2001 Subject: [ic] Problems with tutorial Hello, You might check your catalog definition in /etc/interchange.cfg You need something like this (TAB separated, no spaces before and after the TAB): Catalog tutorial /var/lib/interchange/tutorial /cgi-bin/tutorial /tutorial After editing, restart Interchange by: /etc/init.d/interchange restart Regards, Xav. From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Tue Aug 28 18:27:00 2001 Subject: [ic] Fixed Pricing On Tue, 28 Aug 2001, Leon Harris wrote: LH>>I am having a supprising amount of difficulty wit this. LH>>I have put the definitions into shipping.asc for a flat mode: LH>> LH>> LH>>FLAT Flat rate quantity 0 0 e nothing to ship LH>>FLAT Flat rate quntity 1 100 f [ var SHIP_FLAT_RATE] LH>>FLAT Flat Rate quantity 101 9999 e contact us for rates LH>>on this many items LH>> LH>>I edited the variable table and set MV_SHIPPING to FLAT LH>>and SHIP_FLAT_RATE to 10.00 LH>> When I was adding shipping modes I had to also go into /dbconf and add a database definition in there. It also seems to me that I had to define somewhere else, also. If you can find what I wrote back then (around the end of June) that might give you some clues. I detailed how I added Priority Mail with zone based shipping. As I recall, there are some other 'gotchas' that no one had mentioned, and I covered. (I would detail it here, but I don't remember. In old age the memory is the 2nd thing to go. I don't remember the first!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Tuesday, August 28, 2001 at 18:25 PM: I tried to daydream, but my mind kept wandering. ---------------------------------------------------------------- This Linux System has been up 415 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Roland at beda) Date: Tue Aug 28 19:35:01 2001 Subject: [ic] WARNING: Reconfiguration may have timed out. Can anyone help me....? I finally managed to get the programme running and I need to start tweaking the preferences. Unfortunately I get this (from error.log): - - - [29/August/2001:00:04:07 +0100] - - Bad script name '/atrium/go/firsttest.cgi' for reconfig. - - - [29/August/2001:00:04:07 +0100] - - Bad script name '/atrium/go/firsttest.cgi' for reconfig. - - - [29/August/2001:00:04:07 +0100] - - Died in housekeeping, retry: unlink /web/guide/main/public_html/atrium/go/etc/reconfig: No such file or directory > The paths seem to be correct but I don't recognise the reconfig file - should it have been placed on the server with installation? Does it actually exist? Previous threads on this issue haven't been too useful. Any suggestions would be greatly appreciated. Roland. From: interchange-users at interchange.redhat.com (Kenny Shi) Date: Wed Aug 29 00:34:01 2001 Subject: [ic] Shipping Calculation Problems I am having the same problem on shipping method and upload images. For shipping method, even the demo store 2 and 3 have the same error (http://demo.akopia.com/). For images uploading. It actually uploads the images you selected to /store/images/items or thumb, however, the filename is wrong. It is using the whole path as the name. Quite a few bugs to be useful out of box... --- Juan Gonzalo Lopez <gonzalo@webkds.com> wrote: > > Hi everybody, I am having problems with some > templates (I think are the > templates) on the version 4.8.1, > > For example in the check out page, I can't select > the shipping method, > it shows the following: "Missing ConsigneeCountry" > and there's no way to > calculate a shipping, by the other hand in the > Administration section, I > can select options inventory, but the system soesn't > save the > quantities, I can upload the images, it takes all > the path but nothing > happenes with the images. > > What can I do with this? > > Thank you for your Help > Juan! > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Wed Aug 29 03:26:00 2001 Subject: [ic] Administration password Korey Gozman wrote: > > I've had a similar problem, but it was because > I changed the password and didn't know what I changed it to. > So anyways to cut the story short, I removed the password field from > the products/access.asc file and was able to log in using interchange and pass > but I think that it could have worked with out the passwd at that time, > Hope it helps > -Korey Set a new password via UI, if you have removed the password in products/access! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 29 03:40:04 2001 Subject: [ic] order multiple items once a time with a form page Joachim Leidinger <jojo@blackpoint.de> writes: [...] > > I'm in a muddle. I've search the mailinglist for an example with the > formal tag. See > > http://developer2.akopia.com/archive/interchange-users/2001/msg01353.html > > I'm unsure about the right using of that tag. Did that formel tag print > out a message like > > "SKU 12345 is not available! Please remove it from this page or choose > another item!" No, but why not [if errors] The highlighted product lines are not available. Blah. Blah. [/if] Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Mangeng Michael) Date: Wed Aug 29 05:25:00 2001 Subject: [ic] flypage as server side include hi a little question... how can i use instead of flypage.html, flypage.shtml ? (i need a environment variable on the page) thanx mike From: interchange-users at interchange.redhat.com (Tomas Lindhoff) Date: Wed Aug 29 05:32:00 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation Hi everybody. I know this is a frequent problem and many questions has been asked, but I'm lost. Downloaded the RPM's for Interchange, Interchange Foundation and Interchange Foundation Demo. Installed on RH 7.1 with Apache 1.3.9-1 Installation went fine and after running bin/makecat using default config and foundation everything looked OK. I've been running makecat as root Started Interchange by: /etc/rc.d/init.d/interchange start Checked with ps -ef that it's running OK as user interch. When opening page http://servername/foundation I get the screen where I can choose "Customer Entrance" or "Admin Entrance". When I try either of those I get this familiar message: Undefined Catalog: /cgi-bin/foundation In the error log: - - - [28/August/2001:21:44:30 -0100] - - Interchange V4.8.1 - - - [28/August/2001:21:44:30 -0100] - - foundation config error: Please specify the MailOrderTo directive in the configuration file '' > - - - [28/August/2001:21:44:30 -0100] - - foundation: config error. Skipping. - - - [28/August/2001:21:44:30 -0100] - - START server (19502) (INET and UNIX) - - - [28/August/2001:21:44:31 -0100] - - Accepting connections from localhost|127\.0\.0\.1 - - - [28/August/2001:21:44:31 -0100] - - START server (19504) (INET and UNIX) www.lindhoff.com - - [28/August/2001:21:46:54 -0100] - /cgi-bin/foundation.cgi/admin/index.html CGI mapping error: Undefined catalog: /cgi-bin/foundation.cgi at /usr/lib/interchange/lib/Vend/Server.pm line 182. > In interchange.cfg I have the following: Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation.cgi /foundation In the error.log there seem to be some kind of config error but I dont know why. I have specified the MailOrderTo when running bin/makecat I have deinstalled/reinstalled and tried makecat several times but no luck Please help out if you have any ideas. I would love to test this product TIA /Tomas From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 29 05:35:00 2001 Subject: [ic] flypage as server side include "Mangeng Michael" <m1k3@vis.at> writes: > hi > > a little question... how can i use instead of flypage.html, flypage.shtml ? > (i need a environment variable on the page) You _can_ configure this with "SpecialPage flypage ...", but probably there is a better way to do this way. What environment variable do you need for what purpose ? Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (cedric Boudin) Date: Wed Aug 29 05:43:00 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation Tomas Lindhoff writes: > Hi everybody. > I know this is a frequent problem and many questions has been asked, but I'm lost. > > Downloaded the RPM's for Interchange, Interchange Foundation and Interchange Foundation Demo. > Installed on RH 7.1 with Apache 1.3.9-1 > Installation went fine and after running bin/makecat using default config and foundation everything looked OK. > I've been running makecat as root > Started Interchange by: /etc/rc.d/init.d/interchange start > Checked with ps -ef that it's running OK as user interch. > > When opening page http://servername/foundation I get the screen where I can choose "Customer Entrance" or "Admin Entrance". > When I try either of those I get this familiar message: > > Undefined Catalog: /cgi-bin/foundation > > In the error log: > - - - [28/August/2001:21:44:30 -0100] - - Interchange V4.8.1 > - - - [28/August/2001:21:44:30 -0100] - - foundation config error: Please specify the MailOrderTo directive in the configuration file '' > > > - - - [28/August/2001:21:44:30 -0100] - - foundation: config error. Skipping. > - - - [28/August/2001:21:44:30 -0100] - - START server (19502) (INET and UNIX) > - - - [28/August/2001:21:44:31 -0100] - - Accepting connections from localhost|127\.0\.0\.1 > - - - [28/August/2001:21:44:31 -0100] - - START server (19504) (INET and UNIX) > www.lindhoff.com - - [28/August/2001:21:46:54 -0100] - /cgi-bin/foundation.cgi/admin/index.html CGI mapping error: Undefined catalog: /cgi-bin/foundation.cgi at /usr/lib/interchange/lib/Vend/Server.pm line 182. > > > > In interchange.cfg I have the following: > Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation.cgi /foundation > > In the error.log there seem to be some kind of config error but I dont know why. I have specified the MailOrderTo when running bin/makecat > > I have deinstalled/reinstalled and tried makecat several times but no luck > > Please help out if you have any ideas. I would love to test this product > TIA > /Tomas Have you set the different ScriptAlias directives in httpd.conf ??? From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Wed Aug 29 06:00:01 2001 Subject: [ic] flypage as server side include The purpose was to get back to a sub menu via submitting the scan-link (which i thought resides in HTTP_REFERER).. but javascript solved the problem simpler with a parent.<framename>.history.back() .. hehe. i hate jscript and therefore i didn`t test this possibility befor asking here... thanx anyway mike ----- Original Message ----- From: "Stefan Hornburg (Racke)" <racke@linuxia.de> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 11:34 AM Subject: Re: [ic] flypage as server side include > "Mangeng Michael" <m1k3@vis.at> writes: > > > hi > > > > a little question... how can i use instead of flypage.html, flypage.shtml ? > > (i need a environment variable on the page) > > You _can_ configure this with "SpecialPage flypage ...", but probably > there is a better way to do this way. What environment variable > do you need for what purpose ? > > Ciao > Racke > > -- > Racke happily hacks Interchange and maintains Debian packages like Courier. > > For projects and other business stuff please refer to COBOLT NetServices > (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Victor Nolton) Date: Wed Aug 29 06:49:00 2001 Subject: [ic] POSIX strftime Found this site sometime ago. Thought others may find it handy. http://www.opengroup.org/onlinepubs/7908799/xsh/strftime.html 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 interchange.redhat.com (Tomas Lindhoff) Date: Wed Aug 29 06:55:00 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation No, I have not set the ScriptAlias in httpd.conf. Please tell me more...and how I can check this. My script report looks like this: -------------------------- CGI/1.0 test script report: argc is 0. argv is . SERVER_SOFTWARE = Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 DAV/1.0.2 PHP/4.0.4pl1 mod_perl/1.24_01 SERVER_PROTOCOL = HTTP/1.0 SERVER_NAME = www.lindhoff.com SERVER_PORT = 80 HTTP_FROM = HTTP_REFERRER = HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* HTTP_USER_AGENT = Mozilla/4.72 [en] (Win98; I) PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin GATEWAY_INTERFACE = CGI/1.1 REQUEST_METHOD = GET PATH_INFO = PATH_TRANSLATED = SCRIPT_NAME = /cgi-bin/test-cgi QUERY_STRING = REMOTE_HOST = bull.se REMOTE_ADDR = 193.44.17.2 REMOTE_USER = REMOTE_IDENT = AUTH_TYPE = CONTENT_TYPE = CONTENT_LENGTH = -------------------------- /Tomas ----- Original Message ----- From: "cedric Boudin" <cedric.boudin@iconmedialab.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 11:42 AM Subject: [ic] Undefined Catalog: /cgi-bin/foundation > Tomas Lindhoff writes: > > Hi everybody. > > I know this is a frequent problem and many questions has been asked, but I'm lost. > > > > Downloaded the RPM's for Interchange, Interchange Foundation and Interchange Foundation Demo. > > Installed on RH 7.1 with Apache 1.3.9-1 > > Installation went fine and after running bin/makecat using default config and foundation everything looked OK. > > I've been running makecat as root > > Started Interchange by: /etc/rc.d/init.d/interchange start > > Checked with ps -ef that it's running OK as user interch. > > > > When opening page http://servername/foundation I get the screen where I can choose "Customer Entrance" or "Admin Entrance". > > When I try either of those I get this familiar message: > > > > Undefined Catalog: /cgi-bin/foundation > > > > In the error log: > > - - - [28/August/2001:21:44:30 -0100] - - Interchange V4.8.1 > > - - - [28/August/2001:21:44:30 -0100] - - foundation config error: Please specify the MailOrderTo directive in the configuration file '' > > > > > - - - [28/August/2001:21:44:30 -0100] - - foundation: config error. Skipping. > > - - - [28/August/2001:21:44:30 -0100] - - START server (19502) (INET and UNIX) > > - - - [28/August/2001:21:44:31 -0100] - - Accepting connections from localhost|127\.0\.0\.1 > > - - - [28/August/2001:21:44:31 -0100] - - START server (19504) (INET and UNIX) > > www.lindhoff.com - - [28/August/2001:21:46:54 -0100] - /cgi-bin/foundation.cgi/admin/index.html CGI mapping error: Undefined catalog: /cgi-bin/foundation.cgi at /usr/lib/interchange/lib/Vend/Server.pm line 182. > > > > > > > In interchange.cfg I have the following: > > Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation.cgi /foundation > > > > In the error.log there seem to be some kind of config error but I dont know why. I have specified the MailOrderTo when running bin/makecat > > > > I have deinstalled/reinstalled and tried makecat several times but no luck > > > > Please help out if you have any ideas. I would love to test this product > > TIA > > /Tomas > Have you set the different ScriptAlias directives in httpd.conf ??? > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (cedric Boudin) Date: Wed Aug 29 07:17:00 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation Tomas Lindhoff writes: > No, I have not set the ScriptAlias in httpd.conf. > Please tell me more...and how I can check this. > My script report looks like this: You should have something like ScriptAlias /cgi/construct "/usr/lib/cgi-bin/construct" ScriptAlias /construct "/usr/lib/cgi-bin/construct" ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/" in httpd.conf so that apache changes the first argument with the second to know where to find the pgm that makes the connection to the intercjhange server. You can place it in the main body of the conf file or in some virtual host directives good luck cedric From: interchange-users at interchange.redhat.com (Tomas Lindhoff) Date: Wed Aug 29 07:55:01 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation Thanks Cedric, but I'm somewhat confused... Let's say I configure "foundation" as a catalog. It's then placed in /usr/lib/interchange/foundation/ Based on the above, should I put something like this in the httpd.conf file: ScriptAlias /cgi-bin/foundation "/usr/lib/interchange/foundation" ScriptAlias /foundation "/usr/lib/interchange/foundation" ???? ----- Original Message ----- From: "cedric Boudin" <cedric.boudin@iconmedialab.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 1:16 PM Subject: Re: [ic] Undefined Catalog: /cgi-bin/foundation > You should have something like > > ScriptAlias /cgi/construct "/usr/lib/cgi-bin/construct" > ScriptAlias /construct "/usr/lib/cgi-bin/construct" > ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/" > > in httpd.conf > so that apache changes the first argument with the second to know > where to find the pgm that makes the connection to the intercjhange > server. > You can place it in the main body of the conf file or in some virtual > host directives > > good luck > > cedric > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (cedric Boudin) Date: Wed Aug 29 08:30:00 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation Tomas Lindhoff writes: > Thanks Cedric, but I'm somewhat confused... > Let's say I configure "foundation" as a catalog. > It's then placed in /usr/lib/interchange/foundation/ > > Based on the above, should I put something like this in the httpd.conf file: > > ScriptAlias /cgi-bin/foundation "/usr/lib/interchange/foundation" > ScriptAlias /foundation "/usr/lib/interchange/foundation" > ???? yes you should have after the instalation a pgm called the catalog_name in your cgi directory this program makes the connection to the interch server and the server looks in the catalog subdir for the pages to deliver. the catalog subdir is not necessary in the cgi dir you configure this from interchage.ini or conf somewhre in etc From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 09:42:01 2001 Subject: [ic] SecureURL is being replaced by CGI::script_name Interchange 4.8.1, Linux kernel 2.4.9, perl 5.6.1 I think the following lines are causing me problems. bin/interchange Line 1771 $Vend::Cfg->{VendURL} =~ s!$real!$CGI::script_name!; $Vend::Cfg->{SecureURL} =~ s!$real!$CGI::script_name!; I have FullURL set to yes. I have many different Catalog aliases for various reasons including separate development servers (joe.domain.com/ic, fred.domain.com/ic) and for clients that simply want more than one domain name (teabread.com, teabreads.com). I have only one SecureURL for each catalog. When I say [process secure=1] I end up with the CGI::script_name and not the SecureURL I set in catalog.cfg. For me this is not desired. How can I solve this problem. What am I missing? Thank you, Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 10:16:01 2001 Subject: [ic] SecureURL is being replaced by CGI::script_name On Wed, Aug 29, 2001 at 09:40:46AM -0400, bill@worldwideimpact.com wrote: > Interchange 4.8.1, Linux kernel 2.4.9, perl 5.6.1 > > I think the following lines are causing me problems. > bin/interchange Line 1771 > $Vend::Cfg->{VendURL} =~ s!$real!$CGI::script_name!; > $Vend::Cfg->{SecureURL} =~ s!$real!$CGI::script_name!; > > I have FullURL set to yes. I have many different Catalog aliases for > various reasons including separate development servers (joe.domain.com/ic, > fred.domain.com/ic) and for clients that simply want more than one domain > name (teabread.com, teabreads.com). I have only one SecureURL for each > catalog. When I say [process secure=1] I end up with the CGI::script_name > and not the SecureURL I set in catalog.cfg. For me this is not desired. > How can I solve this problem. What am I missing? I too have looked at those lines, of course in our older version they are only at lines 1296.... FullURL brings its own set of complications. At least in the version we are using, domain names were case sensitive! Simplify. Use DNS and redirects to deal with teabreads?.com issue. Don't try to solve it inside ic. That will lead you into SSL, cookie and dropped session hell. Just because you can be more complex does not mean you have to; why use 8 bits when 64 will do? If SecureURL gives you problems for dev catalogs, just use a different SecureURL. You only need to change it once in the catalog.cfg. In our case it has to be different because we never prototype on production machine (or daemon) so the host and port must be different. cfm > > Thank you, > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From: interchange-users at interchange.redhat.com (Garry) Date: Wed Aug 29 10:47:00 2001 Subject: [ic] AOL 6 Users and Interchange Hi, I have had 2 AOL 6 users tell me that when they used the IC Shopping Cart, started to fill their baskets, but went back to the Home page (index), their baskets became empty. Has anyone else experienced this?, and if so, have you been able to do anything about it? Cheers Garry Version 4.6.3 Red Hat Linux 6.2 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Kevin Walsh) Date: Wed Aug 29 11:25:00 2001 Subject: [ic] WARNING: Reconfiguration may have timed out. > Can anyone help me....? > > I finally managed to get the programme running and I need to start > tweaking the preferences. Unfortunately I get this (from error.log): > > - - - [29/August/2001:00:04:07 +0100] - - Bad script name > '/atrium/go/firsttest.cgi' for reconfig. > - - - [29/August/2001:00:04:07 +0100] - - Bad script name > '/atrium/go/firsttest.cgi' for reconfig. > - - - [29/August/2001:00:04:07 +0100] - - Died in housekeeping, retry: > unlink /web/guide/main/public_html/atrium/go/etc/reconfig: No such file > or directory > > The paths seem to be correct but I don't recognise the reconfig file - > should it have been placed on the server with installation? Does it > actually exist? > Previous threads on this issue haven't been too useful. > > Any suggestions would be greatly appreciated. > Firstly, I couldn't help notice that you appear to have installed Interchange under what seems to be a public_html area. This is very brave of you, although it has nothing to do with the question you are asking. The 'reconfig' file is created when you attempt to reconfigure one of your catalogs, either with 'interchange --reconfigure=catname' or using a tag like [reconfig]. The file is picked up and read by Interchange's housekeeping sub (in lib/Vend/Server.pm) and is deleted when the file has been processed, so you will not find it very often if you go looking for it. The 'No such file or directory' error, on unlink, suggests that something else is deleting this file. When the housekeeping sub goes to delete the file, it finds that it's not there any more. Are you, by any chance, attempting to run Interchange in some sort of cluster, perhaps sharing the etc directory on an NFS filesystem? I say this because the default flock lock on the reconfig file will not work on an NFS filesystem and that is the only thing I can think of that will cause this problem. If this is the case, then changing LockType to 'fcntl' (interchange.cfg) will ensure that only one housekeeping routine will work on the reconfig file at a time, but will also mean that only one of your Interchange servers will process the reconfig requests (whichever one locks the file first). -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.uk.com _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 29 11:34:01 2001 Subject: [ic] [query] tag has me dazed and confused When I access a page that consists of the following: --------------------------------------------------- <p>Testing sql query<br> [query sql="select * from products"] Result: [sql-code]<br> [/query] <p>Testing loop<br> [loop search="ra=yes/fi=products"] [loop-code]<br> [/loop] --------------------------------------------------- Here is the result: ------------------ Testing sql query Testing loop 4600-HO B2040035 30-10005 7901 PP-815 10-10004 10-10012 2067 30-10004 10-10005 30-10006 30-10011 C14000 C14000AT C14024 C14025 C14099 C15000 C20000 C20002 00067 ------------------ What don't I understand about the [query] tag? TIA, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Garry) Date: Wed Aug 29 11:36:01 2001 Subject: [ic] Log in with blank username and password I am also getting users going to the "login" page, but not entering any username or password to login. IC still accepts them and allows them to amend the personal info. Is there a way to stop this and make sure a username is entered? Thanks Garry _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Leon Harris) Date: Wed Aug 29 11:39:02 2001 Subject: [ic] Fixed Pricing Hi Jim, Hi Ed. Thanks for your responses. Jim, I thought this would just return the value of the variable SHIP_FLAT_RATE without having to lookup any further table. I looked at your email, from Jun 28, but it seems to be trying to do a lot more than what I want to - I just want one shipping price. Should there be a shipping.gdbm file in the products directory? - I am missing one - I only have a shipping.asc file ? Cheers, Leon Jim Balcom wrote: > On Tue, 28 Aug 2001, Leon Harris wrote: > > LH>>I am having a supprising amount of difficulty wit this. > LH>>I have put the definitions into shipping.asc for a flat mode: > LH>> > LH>> > LH>>FLAT Flat rate quantity 0 0 e nothing to ship > LH>>FLAT Flat rate quntity 1 100 f [ var SHIP_FLAT_RATE] > LH>>FLAT Flat Rate quantity 101 9999 e contact us for rates > LH>>on this many items > LH>> > LH>>I edited the variable table and set MV_SHIPPING to FLAT > LH>>and SHIP_FLAT_RATE to 10.00 > LH>> > > When I was adding shipping modes I had to also go into /dbconf and add > a database definition in there. It also seems to me that I had to > define somewhere else, also. > > If you can find what I wrote back then (around the end of June) that > might give you some clues. I detailed how I added Priority Mail with > zone based shipping. As I recall, there are some other 'gotchas' that > no one had mentioned, and I covered. > > (I would detail it here, but I don't remember. In old age the memory is > the 2nd thing to go. I don't remember the first!) > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Tuesday, August 28, 2001 at 18:25 PM: > I tried to daydream, but my mind kept wandering. > > ---------------------------------------------------------------- > This Linux System has been up 415 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Wed Aug 29 12:04:55 2001 Subject: [ic] [query] tag has me dazed and confused > When I access a page that consists of the following: > --------------------------------------------------- > <p>Testing sql query<br> > [query sql="select * from products"] > Result: [sql-code]<br> > [/query] > > <p>Testing loop<br> > [loop search="ra=yes/fi=products"] > [loop-code]<br> > [/loop] > --------------------------------------------------- How about this scenario: using SQL db eg. MySQL. list of items in products.txt All items deleted from the SQL table? your [loop] tag list is using the products.txt without st=db? Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 29 12:08:01 2001 Subject: [ic] AOL 6 Users and Interchange At 03:46 PM 08/29/2001 +0100, you wrote: >Hi, > >I have had 2 AOL 6 users tell me that when they used the IC Shopping Cart, >started to fill their baskets, but went back to the Home page (index), their >baskets became empty. > >Has anyone else experienced this?, and if so, have you been able to do >anything about it? > >Cheers > >Garry It could be a cookie issue. Some parts of the construct demo did not work correctly with browsers that could not / would not accept cookies. Try it yourself with your favorite browser, disabling cookie support first (don't forget to start a new browser session). If it happens to you, edit all forms in the construct demo to include this tag (you should really do this regardless): <input type=hidden name=mv_session_id value="[data session id]"> - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 29 12:11:01 2001 Subject: [ic] Fixed Pricing At 11:39 PM 08/29/2001 +0800, you wrote: >Hi Jim, Hi Ed. >Thanks for your responses. > >Jim, I thought this would just return the value of the variable SHIP_FLAT_RATE >without having to lookup any further table. I looked at your email, from Jun >28, but it seems to be trying to do a lot more than what I want to - I just >want one shipping price. > >Should there be a shipping.gdbm file in the products directory? - I am missing >one - I only have a shipping.asc file ? No - shipping.asc does not get built as a binary, it is strictly a text file. Did you fix the typo? - Ed L. >Cheers, >Leon > > > > >Jim Balcom wrote: > > > On Tue, 28 Aug 2001, Leon Harris wrote: > > > > LH>>I am having a supprising amount of difficulty wit this. > > LH>>I have put the definitions into shipping.asc for a flat mode: > > LH>> > > LH>> > > LH>>FLAT Flat rate quantity 0 0 e nothing to ship > > LH>>FLAT Flat rate quntity 1 100 f [ var SHIP_FLAT_RATE] > > LH>>FLAT Flat Rate quantity 101 9999 e contact us for rates > > LH>>on this many items > > LH>> > > LH>>I edited the variable table and set MV_SHIPPING to FLAT > > LH>>and SHIP_FLAT_RATE to 10.00 > > LH>> > > > > When I was adding shipping modes I had to also go into /dbconf and add > > a database definition in there. It also seems to me that I had to > > define somewhere else, also. > > > > If you can find what I wrote back then (around the end of June) that > > might give you some clues. I detailed how I added Priority Mail with > > zone based shipping. As I recall, there are some other 'gotchas' that > > no one had mentioned, and I covered. > > > > (I would detail it here, but I don't remember. In old age the memory is > > the 2nd thing to go. I don't remember the first!) > > > > -= Jim =- > > > > ---------------------------------------------------------------- > > Jim's Linux-Operated Underground Bomb Shelter > > > > Tagline for Tuesday, August 28, 2001 at 18:25 PM: > > I tried to daydream, but my mind kept wandering. > > > > ---------------------------------------------------------------- > > This Linux System has been up 415 hours > > > > My web page: http://www.idk-enterprises.com > > ---------------------------------------------------------------- > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 12:12:01 2001 Subject: [ic] Foundation Admin 'gif' Path None of the gif's are being displayed when I bring up the Admin interface. I notice the required gif's are in /usr/lib/interchange/share/ {language} / . Can anyone tell me where this Path is setup? From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 12:34:01 2001 Subject: [ic] SecureURL is being replaced by CGI::script_name I started using FullURL because I wanted to simplify. It's easier for me to use the same link file name for all of my catalogs. domin1.com/ic, domain2.com/ic, etc. All of the catalogs I do need a domain name because that is how most people find things on the web so I have to think about that anyway. I like to always call the link program ic and in fact use the same one for all catalogs. I also find it simple and convenient to have many developers working off of the same catalog with their own pages directory and htdocs directory. We have a set up that's working for us where we do not have to set up a separate catalog for each developer. We just set VendURL and PageDir using a programmed Watch Point in catalog_after.cfg based on the CGI::http_host. Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 cfm@maine.com Sent by: interchange-users-admin@interchange.redhat.com 08/29/2001 10:15 AM Please respond to interchange-users To: interchange-users@interchange.redhat.com cc: Subject: Re: [ic] SecureURL is being replaced by CGI::script_name On Wed, Aug 29, 2001 at 09:40:46AM -0400, bill@worldwideimpact.com wrote: > Interchange 4.8.1, Linux kernel 2.4.9, perl 5.6.1 > > I think the following lines are causing me problems. > bin/interchange Line 1771 > $Vend::Cfg->{VendURL} =~ s!$real!$CGI::script_name!; > $Vend::Cfg->{SecureURL} =~ s!$real!$CGI::script_name!; > > I have FullURL set to yes. I have many different Catalog aliases for > various reasons including separate development servers (joe.domain.com/ic, > fred.domain.com/ic) and for clients that simply want more than one domain > name (teabread.com, teabreads.com). I have only one SecureURL for each > catalog. When I say [process secure=1] I end up with the CGI::script_name > and not the SecureURL I set in catalog.cfg. For me this is not desired. > How can I solve this problem. What am I missing? I too have looked at those lines, of course in our older version they are only at lines 1296.... FullURL brings its own set of complications. At least in the version we are using, domain names were case sensitive! Simplify. Use DNS and redirects to deal with teabreads?.com issue. Don't try to solve it inside ic. That will lead you into SSL, cookie and dropped session hell. Just because you can be more complex does not mean you have to; why use 8 bits when 64 will do? If SecureURL gives you problems for dev catalogs, just use a different SecureURL. You only need to change it once in the catalog.cfg. In our case it has to be different because we never prototype on production machine (or daemon) so the host and port must be different. cfm > > Thank you, > Bill Carr > Worldwide Impact > bill@worldwideimpact.com > 413.253.6700 > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 12:34:44 2001 Subject: [ic] Still Clueless I'm still not getting ./configure to work and I've the admin install the BUNDLE::INTERCHANGE packet, I've installed everything I could find. I don't LINUX and I don't know PERL. I've had the same error upon trying to install 4.7 and 4.8. lsh107:~/interchange-4.8.1$ ./configure Interchange Version 4.7.x Configuration Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line 143 Can't write uid file: Permission denied make: *** No targets. Stop. make: *** No rule to make target `test'. Stop. I am about to give up. I don't know what to ask the admin to do or what to do myself. I don't know if I'm logged in as ROOT or how to check. I also don't know if the system is on REdHat 7 yet or how to check (without actually asking that is). This will be my last request for help. If I don't get it form your replies this time I give up and will use Agora.cgi :-( thanks! You've all been very kind to help a novice. From: interchange-users at interchange.redhat.com (Morris Gindi) Date: Wed Aug 29 12:39:01 2001 Subject: [ic] Looking for InterChange installers Friends, We're very new to InterChange. We are looking for a good organization with experience that can help install it for us, and train us, here at a site in NJ. If you are that organization, or know of one, please reply directly to my email address: mailto:morrisg@alacartesystems.com. Thank you in advance for your help. As well, any recommendations or warnings would be appreciated. Regards, Morris Gindi A La Carte Systems, Inc. -- -------------------------------------------------------------- mailto:morrisg@alacartesystems.com Morris Gindi http://www.alacartesystems.com A La Carte Systems, Inc. New York Boston San Francisco 212-779-8090 x1633 508-795-1411 x1633 415-721-7457 x1633 fax:212-779-1545 fax:508-795-1433 fax:415-458-8706 --------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Leon Harris) Date: Wed Aug 29 12:48:00 2001 Subject: [ic] Fixed Pricing > > Did you fix the typo? > Yes, that came from when I typed the email, not the shipping.asc file. Cheers, leon > > - Ed L. > > >Cheers, > >Leon > > > > > > > > > >Jim Balcom wrote: > > > > > On Tue, 28 Aug 2001, Leon Harris wrote: > > > > > > LH>>I am having a supprising amount of difficulty wit this. > > > LH>>I have put the definitions into shipping.asc for a flat mode: > > > LH>> > > > LH>> > > > LH>>FLAT Flat rate quantity 0 0 e nothing to ship > > > LH>>FLAT Flat rate quntity 1 100 f [ var SHIP_FLAT_RATE] > > > LH>>FLAT Flat Rate quantity 101 9999 e contact us for rates > > > LH>>on this many items > > > LH>> > > > LH>>I edited the variable table and set MV_SHIPPING to FLAT > > > LH>>and SHIP_FLAT_RATE to 10.00 > > > LH>> > > > > > > When I was adding shipping modes I had to also go into /dbconf and add > > > a database definition in there. It also seems to me that I had to > > > define somewhere else, also. > > > > > > If you can find what I wrote back then (around the end of June) that > > > might give you some clues. I detailed how I added Priority Mail with > > > zone based shipping. As I recall, there are some other 'gotchas' that > > > no one had mentioned, and I covered. > > > > > > (I would detail it here, but I don't remember. In old age the memory is > > > the 2nd thing to go. I don't remember the first!) > > > > > > -= Jim =- > > > > > > ---------------------------------------------------------------- > > > Jim's Linux-Operated Underground Bomb Shelter > > > > > > Tagline for Tuesday, August 28, 2001 at 18:25 PM: > > > I tried to daydream, but my mind kept wandering. > > > > > > ---------------------------------------------------------------- > > > This Linux System has been up 415 hours > > > > > > My web page: http://www.idk-enterprises.com > > > ---------------------------------------------------------------- > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 29 12:58:01 2001 Subject: [ic] [query] tag has me dazed and confused On Wed, Aug 29, 2001 at 17:00, Jonathan Clark wrote: > > > When I access a page that consists of the following: > > --------------------------------------------------- > > <p>Testing sql query<br> > > [query sql="select * from products"] > > Result: [sql-code]<br> > > [/query] > > > > <p>Testing loop<br> > > [loop search="ra=yes/fi=products"] > > [loop-code]<br> > > [/loop] > > --------------------------------------------------- > > How about this scenario: > > using SQL db eg. MySQL. > list of items in products.txt > All items deleted from the SQL table? $ mysql tpe08 -e 'select sku from products' sku 4600-HO B2040035 30-10005 7901 PP-815 10-10004 10-10012 2067 30-10004 10-10005 30-10006 30-10011 C14000 C14000AT C14024 C14025 C14099 C15000 C20000 C20002 00067 > your [loop] tag list is using the products.txt without st=db? Nope, that ain't it. :-( Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Moe Pitman) Date: Wed Aug 29 13:05:01 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation I got the same error. Simply setting a valid email address in products/variable.txt did the trick for me: ORDERS_TO you@your.domain Order --Moe Pitman Tomas Lindhoff wrote: > Hi everybody. > I know this is a frequent problem and many questions has been asked, but I'm lost. > > Downloaded the RPM's for Interchange, Interchange Foundation and Interchange Foundation Demo. > Installed on RH 7.1 with Apache 1.3.9-1 > Installation went fine and after running bin/makecat using default config and foundation everything looked OK. > I've been running makecat as root > Started Interchange by: /etc/rc.d/init.d/interchange start > Checked with ps -ef that it's running OK as user interch. > > When opening page http://servername/foundation I get the screen where I can choose "Customer Entrance" or "Admin Entrance". > When I try either of those I get this familiar message: > > Undefined Catalog: /cgi-bin/foundation > > In the error log: > - - - [28/August/2001:21:44:30 -0100] - - Interchange V4.8.1 > - - - [28/August/2001:21:44:30 -0100] - - foundation config error: Please specify the MailOrderTo directive in the configuration file '' > > > - - - [28/August/2001:21:44:30 -0100] - - foundation: config error. Skipping. > - - - [28/August/2001:21:44:30 -0100] - - START server (19502) (INET and UNIX) > - - - [28/August/2001:21:44:31 -0100] - - Accepting connections from localhost|127\.0\.0\.1 > - - - [28/August/2001:21:44:31 -0100] - - START server (19504) (INET and UNIX) > www.lindhoff.com - - [28/August/2001:21:46:54 -0100] - /cgi-bin/foundation.cgi/admin/index.html CGI mapping error: Undefined catalog: /cgi-bin/foundation.cgi at /usr/lib/interchange/lib/Vend/Server.pm line 182. > > > > In interchange.cfg I have the following: > Catalog foundation /var/lib/interchange/foundation /cgi-bin/foundation.cgi /foundation > > In the error.log there seem to be some kind of config error but I dont know why. I have specified the MailOrderTo when running bin/makecat > > I have deinstalled/reinstalled and tried makecat several times but no luck > > Please help out if you have any ideas. I would love to test this product > TIA > /Tomas > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Aug 29 13:10:00 2001 Subject: [ic] Log in with blank username and password > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of Garry > Sent: Wednesday, August 29, 2001 8:36 AM > To: interchange-users@interchange.redhat.com > Subject: [ic] Log in with blank username and password > > I am also getting users going to the "login" page, but not entering any > username or password to login. IC still accepts them and allows them to > amend the personal info. > > Is there a way to stop this and make sure a username is entered? > Garry, Which version of IC? In minivend and the early IC's it was possible for a blank username to be created by using the order desk to enter an order without a username. Then when users would hit the login button it would accept this blank username, login them in, and allow them to not only change the information in the personal but also see past orders for other users that logged in with the blank username. Mike fixed this bug in one of the later versions of IC (check bugzilla for the exact version) and now a blank username is not valid. If this is the symptom you are subscribing then the way to fix it on your side is to search userdb for a blank username (run some sql tool against your db with the query: select * from userdb where username = '') Then you need to change the username and password for this user so that no one logs on as this user again and there is no longer a blank username in your database. After that's complete the users should have to login if they are attempting to go to the personal info section of the account. The way I know of to prevent this from happening again if you do not upgrade is to make sure that when you use the order_desk that you enter a username when entering the order. Good luck! -Ron From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Aug 29 13:17:01 2001 Subject: [ic] [query] tag has me dazed and confused At 12:59 PM 8/29/2001 -0400, you wrote: >On Wed, Aug 29, 2001 at 17:00, Jonathan Clark wrote: > > > > > When I access a page that consists of the following: > > > --------------------------------------------------- > > > <p>Testing sql query<br> > > > [query sql="select * from products"] > > > Result: [sql-code]<br> > > > [/query] > > > > > > <p>Testing loop<br> > > > [loop search="ra=yes/fi=products"] > > > [loop-code]<br> > > > [/loop] > > > --------------------------------------------------- > > > > How about this scenario: > > > > using SQL db eg. MySQL. > > list of items in products.txt > > All items deleted from the SQL table? > >$ mysql tpe08 -e 'select sku from products' > >sku >4600-HO >B2040035 >30-10005 >7901 >PP-815 >10-10004 >10-10012 >2067 >30-10004 >10-10005 >30-10006 >30-10011 >C14000 >C14000AT >C14024 >C14025 >C14099 >C15000 >C20000 >C20002 >00067 > > > your [loop] tag list is using the products.txt without st=db? > >Nope, that ain't it. :-( > >Cheers, > Pann Turn on your MySQL logging and see what's actually getting passed to the database. Also, try [sql-param sku] instead of [sql-code] just to see if it helps. HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (System Administrator) Date: Wed Aug 29 13:21:00 2001 Subject: [ic] Still Clueless This is a multi-part message in MIME format. ----------999105602 Content-Type: text/plain Content-Transfer-Encoding: 7bit >From the line; lsh107:~/interchange-4.8.1$ ./configure I would say, no you were not loged in as root. Install logged in as root, when the configure program states, "program can not run as root, select user to install interchange as:" enter the user name at that time that IC will be run under. After ./configure runs, log out of root and in as user you stated during install and then you can run the interchange/bin/interchange -r to start it. RS "Frederick R. Matzen" <fmatzen@home.com> wrote .. > I'm still not getting ./configure to work and I've the admin install the > BUNDLE::INTERCHANGE packet, I've installed everything I could find. I don't > LINUX and I don't know PERL. I've had the same error upon trying to install > 4.7 and 4.8. > > lsh107:~/interchange-4.8.1$ ./configure > > Interchange Version 4.7.x Configuration > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > Interchange was originally based on Vend 0.2 and 0.3 > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > Distributed under the GNU General Public License. > See the file LICENSE for license information. > > Found Perl 5.6.0 as /usr/bin/perl > > If you get a CPAN error, rerun the configuration and it should go away. > > opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm > line > 143 > Can't write uid file: Permission denied > make: *** No targets. Stop. > make: *** No rule to make target `test'. Stop. > > I am about to give up. I don't know what to ask the admin to do or what > to > do myself. I don't know if I'm logged in as ROOT or how to check. I also > don't know if the system is on REdHat 7 yet or how to check (without > actually asking that is). > > This will be my last request for help. If I don't get it form your replies > this time I give up and will use Agora.cgi :-( > > thanks! You've all been very kind to help a novice. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users ----------999105602-- From: interchange-users at interchange.redhat.com (Eric Paul) Date: Wed Aug 29 13:23:00 2001 Subject: [ic] Still Clueless Your problem is definitely permissions based. Let's start with some simple background, and then tackle your problem. On a UNIX-based system, root is the super-user. If you are logging in with your own username and password, you're not root. If we take a quick look at your prompt, we can also tell that you are a regular user and not root: -snip- > lsh107:~/interchange-4.8.1$ ./configure Notice the $ at the end of your prompt? That shows you're just a regular joe. The root prompt (almost) always ends with a # instead of a $. That way you know you're in a super-user shell and don't inadvertently run any dangerous commands and wipe your whole system out. If this is not your system (which it sounds like is the case) then whoever administrates it will most likely not give you root access. They may install programs for you, but they are not going to let you run around with root. Too much of a security compromise. Anyhoo, on to the crux of your problem... -snip- >opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line >143 >Can't write uid file: Permission denied >make: *** No targets. Stop. >make: *** No rule to make target `test'. Stop. Ok, for some reason the installer is trying to write a file two directories below the current working directory. Since you don't have rights to this directory, it goes boom. I'm not sure why this is happening this way, but I can tell you how I installed this software the other day and hope this will work for you too. From your home directory (The one where your prompt looks like lsh107:~$ ) type: mkdir tmp mv interchange-4.8.1 tmp cd tmp ./configure What you are doing here is making a temporary directory to hold the ic distro. Then you move the distro directory in there. Last to change to that directory and run configure again. Give it a shot, and see if it works out for you. If not, drop another email with error messaegs to the list, and we'll see what we can do to help you out. Getting IC working the first time can be a frustrating experience, especially if you are new to how UNIX works. But trust me, it's getting a lot easier as time goes on. I struggled with my first MiniVend 3 site for a long time, and that was with a lot of years working on UNIX boxes. The mailing lists and especially the archives are your friend! HTH! Eric --- Eric Paul SpellBook Systems http://www.spellbook.net From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 13:39:01 2001 Subject: [ic] Still Clueless Thanks for trying. I'm still getting exactly the same error message though: lsh107:~/tmp/interchange-4.8.1$ ./configure Interchange Version 4.7.x Configuration Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> Interchange was originally based on Vend 0.2 and 0.3 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> Distributed under the GNU General Public License. See the file LICENSE for license information. Found Perl 5.6.0 as /usr/bin/perl If you get a CPAN error, rerun the configuration and it should go away. opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm line 143 Can't write uid file: Permission denied make: *** No targets. Stop. make: *** No rule to make target `test'. Stop. lsh107:~/tmp/interchange-4.8.1$ > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Eric > Paul > Sent: Wednesday, August 29, 2001 11:22 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > Your problem is definitely permissions based. Let's start with > some simple > background, and then tackle your problem. > > On a UNIX-based system, root is the super-user. If you are > logging in with > your own username and password, you're not root. If we take a quick look > at your prompt, we can also tell that you are a regular user and not root: > > -snip- > > > lsh107:~/interchange-4.8.1$ ./configure > > Notice the $ at the end of your prompt? That shows you're just a regular > joe. The root prompt (almost) always ends with a # instead of a $. That > way you know you're in a super-user shell and don't inadvertently run any > dangerous commands and wipe your whole system out. If this is not your > system (which it sounds like is the case) then whoever administrates it > will most likely not give you root access. They may install programs for > you, but they are not going to let you run around with root. Too > much of a > security compromise. > > Anyhoo, on to the crux of your problem... > > -snip- > > >opendir(./../..): Permission denied at > /usr/lib/perl5/5.6.0/FindBin.pm line > >143 > >Can't write uid file: Permission denied > >make: *** No targets. Stop. > >make: *** No rule to make target `test'. Stop. > > Ok, for some reason the installer is trying to write a file two > directories > below the current working directory. Since you don't have rights to this > directory, it goes boom. I'm not sure why this is happening this > way, but > I can tell you how I installed this software the other day and hope this > will work for you too. > > From your home directory (The one where your prompt looks like > lsh107:~$ ) type: > > mkdir tmp > mv interchange-4.8.1 tmp > cd tmp > ./configure > > What you are doing here is making a temporary directory to hold the ic > distro. Then you move the distro directory in there. Last to change to > that directory and run configure again. > > Give it a shot, and see if it works out for you. If not, drop another > email with error messaegs to the list, and we'll see what we can > do to help > you out. > > Getting IC working the first time can be a frustrating experience, > especially if you are new to how UNIX works. But trust me, it's > getting a > lot easier as time goes on. I struggled with my first MiniVend 3 > site for > a long time, and that was with a lot of years working on UNIX boxes. The > mailing lists and especially the archives are your friend! > > HTH! > > Eric > > > --- > Eric Paul > SpellBook Systems > http://www.spellbook.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 13:43:00 2001 Subject: [ic] Still Clueless That might be good if I knew how (or possibly could) log in as root. Its not my system so it's possible I cannot do that. > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > System Administrator > Sent: Wednesday, August 29, 2001 11:20 AM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > From the line; > > lsh107:~/interchange-4.8.1$ ./configure > > I would say, no you were not loged in as root. Install logged in > as root, when the configure program states, "program can not run > as root, select user to install interchange as:" enter the user > name at that time that IC will be run under. > > After ./configure runs, log out of root and in as user you stated > during install and then you can run the > interchange/bin/interchange -r to start it. > > > RS > > "Frederick R. Matzen" <fmatzen@home.com> wrote .. > > I'm still not getting ./configure to work and I've the admin install the > > BUNDLE::INTERCHANGE packet, I've installed everything I could > find. I don't > > LINUX and I don't know PERL. I've had the same error upon > trying to install > > 4.7 and 4.8. > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > Interchange Version 4.7.x Configuration > > > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > > > Interchange was originally based on Vend 0.2 and 0.3 > > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > > > Distributed under the GNU General Public License. > > See the file LICENSE for license information. > > > > Found Perl 5.6.0 as /usr/bin/perl > > > > If you get a CPAN error, rerun the configuration and it should go away. > > > > opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm > > line > > 143 > > Can't write uid file: Permission denied > > make: *** No targets. Stop. > > make: *** No rule to make target `test'. Stop. > > > > I am about to give up. I don't know what to ask the admin to do or what > > to > > do myself. I don't know if I'm logged in as ROOT or how to check. I also > > don't know if the system is on REdHat 7 yet or how to check (without > > actually asking that is). > > > > This will be my last request for help. If I don't get it form > your replies > > this time I give up and will use Agora.cgi :-( > > > > thanks! You've all been very kind to help a novice. > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 29 13:56:01 2001 Subject: [ic] [query] tag has me dazed and confused On Wed, Aug 29, 2001 at 10:14, Dan Browning wrote: > At 12:59 PM 8/29/2001 -0400, you wrote: > >On Wed, Aug 29, 2001 at 17:00, Jonathan Clark wrote: > > > > > > > When I access a page that consists of the following: > > > > --------------------------------------------------- > > > > <p>Testing sql query<br> > > > > [query sql="select * from products"] > > > > Result: [sql-code]<br> > > > > [/query] > > > > > > > > <p>Testing loop<br> > > > > [loop search="ra=yes/fi=products"] > > > > [loop-code]<br> > > > > [/loop] > > > > --------------------------------------------------- > > > > > > How about this scenario: > > > > > > using SQL db eg. MySQL. > > > list of items in products.txt > > > All items deleted from the SQL table? > > > >$ mysql tpe08 -e 'select sku from products' > > > >sku > >4600-HO > >B2040035 > >30-10005 > >7901 > >PP-815 > >10-10004 > >10-10012 > >2067 > >30-10004 > >10-10005 > >30-10006 > >30-10011 > >C14000 > >C14000AT > >C14024 > >C14025 > >C14099 > >C15000 > >C20000 > >C20002 > >00067 > > > > > your [loop] tag list is using the products.txt without st=db? > > > >Nope, that ain't it. :-( > > > >Cheers, > > Pann > > Turn on your MySQL logging and see what's actually getting passed to the > database. Also, try [sql-param sku] instead of [sql-code] just to see if > it helps. HAND, 010829 13:54:14 77 Connect ratbert@localhost on tpe08 77 Query select * from products 77 Quit Looks fine to me? And [sql-param sku] changes nothing. :-( Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Russ Riggs) Date: Wed Aug 29 14:03:00 2001 Subject: [ic] Still Clueless I'd be curious to know what the directory is at ./../.. Do a pwd then an ls -ld ./../.. and see what directory configure is trying to open... Maybe that'll give someone a clue as to what the problem is. I'll also say that not having root permission is going to give you headaches. russ... "Frederick R. Matzen" wrote: > That might be good if I knew how (or possibly could) log in as root. Its not > my system so it's possible I cannot do that. > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > System Administrator > > Sent: Wednesday, August 29, 2001 11:20 AM > > To: interchange-users@interchange.redhat.com > > Subject: Re: [ic] Still Clueless > > > > > > From the line; > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > I would say, no you were not loged in as root. Install logged in > > as root, when the configure program states, "program can not run > > as root, select user to install interchange as:" enter the user > > name at that time that IC will be run under. > > > > After ./configure runs, log out of root and in as user you stated > > during install and then you can run the > > interchange/bin/interchange -r to start it. > > > > > > RS > > > > "Frederick R. Matzen" <fmatzen@home.com> wrote .. > > > I'm still not getting ./configure to work and I've the admin install the > > > BUNDLE::INTERCHANGE packet, I've installed everything I could > > find. I don't > > > LINUX and I don't know PERL. I've had the same error upon > > trying to install > > > 4.7 and 4.8. > > > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > > > Interchange Version 4.7.x Configuration > > > > > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > > > > > Interchange was originally based on Vend 0.2 and 0.3 > > > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > > > > > Distributed under the GNU General Public License. > > > See the file LICENSE for license information. > > > > > > Found Perl 5.6.0 as /usr/bin/perl > > > > > > If you get a CPAN error, rerun the configuration and it should go away. > > > > > > opendir(./../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm > > > line > > > 143 > > > Can't write uid file: Permission denied > > > make: *** No targets. Stop. > > > make: *** No rule to make target `test'. Stop. > > > > > > I am about to give up. I don't know what to ask the admin to do or what > > > to > > > do myself. I don't know if I'm logged in as ROOT or how to check. I also > > > don't know if the system is on REdHat 7 yet or how to check (without > > > actually asking that is). > > > > > > This will be my last request for help. If I don't get it form > > your replies > > > this time I give up and will use Agora.cgi :-( > > > > > > thanks! You've all been very kind to help a novice. > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Aug 29 14:15:01 2001 Subject: [ic] [query] tag has me dazed and confused At 01:57 PM 8/29/2001 -0400, you wrote: >On Wed, Aug 29, 2001 at 10:14, Dan Browning wrote: > > At 12:59 PM 8/29/2001 -0400, you wrote: > > >On Wed, Aug 29, 2001 at 17:00, Jonathan Clark wrote: > > > > > > > > > When I access a page that consists of the following: > > > > > --------------------------------------------------- > > > > > <p>Testing sql query<br> > > > > > [query sql="select * from products"] > > > > > Result: [sql-code]<br> > > > > > [/query] > > > > > > > > > > <p>Testing loop<br> > > > > > [loop search="ra=yes/fi=products"] > > > > > [loop-code]<br> > > > > > [/loop] > > > > > --------------------------------------------------- > > > > > > > > How about this scenario: > > > > > > > > using SQL db eg. MySQL. > > > > list of items in products.txt > > > > All items deleted from the SQL table? > > > > > >$ mysql tpe08 -e 'select sku from products' > > > > > >sku > > >4600-HO > > >B2040035 > > >30-10005 > > >7901 > > >PP-815 > > >10-10004 > > >10-10012 > > >2067 > > >30-10004 > > >10-10005 > > >30-10006 > > >30-10011 > > >C14000 > > >C14000AT > > >C14024 > > >C14025 > > >C14099 > > >C15000 > > >C20000 > > >C20002 > > >00067 > > > > > > > your [loop] tag list is using the products.txt without st=db? > > > > > >Nope, that ain't it. :-( > > > > > >Cheers, > > > Pann > > > > Turn on your MySQL logging and see what's actually getting passed to the > > database. Also, try [sql-param sku] instead of [sql-code] just to see if > > it helps. HAND, > >010829 13:54:14 77 Connect ratbert@localhost on tpe08 > 77 Query select * from products > 77 Quit > >Looks fine to me? > >And [sql-param sku] changes nothing. :-( > >Cheers, > Pann And nothing in the error logs either? I'm sure it's something really simple staring us in the face. How about trying a list-style for your query: [query prefix=test list=1 type=list sql=| SELECT * FROM products ; | ] [no_match] No matches<BR> [/no_match] [on_match] Match!<BR> [/on_match] [list] [test-param sku] [/list] [/query] HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Dan Browning) Date: Wed Aug 29 14:17:00 2001 Subject: [ic] Still Clueless At 11:49 AM 8/29/2001 -0600, you wrote: >Thanks for trying. I'm still getting exactly the same error message though: > >lsh107:~/tmp/interchange-4.8.1$ ./configure > > Interchange Version 4.7.x Configuration > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > Interchange was originally based on Vend 0.2 and 0.3 > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > Distributed under the GNU General Public License. > See the file LICENSE for license information. > >Found Perl 5.6.0 as /usr/bin/perl > >If you get a CPAN error, rerun the configuration and it should go away. > >opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm >line 143 >Can't write uid file: Permission denied >make: *** No targets. Stop. >make: *** No rule to make target `test'. Stop. >lsh107:~/tmp/interchange-4.8.1$ Maybe the scripts/cpan_local_install might come in handy. I haven't needed it myself, however. HAND, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 14:17:18 2001 Subject: [ic] Still Clueless Here are the results of that from both the root directory I'm in at telnet and the tmp dir I created from someone's suggestion. lsh107:~$ pwd /home/shop4thingys lsh107:~$ ls -ld ./../../ drwxr-xr-x 16 root root 1024 Aug 9 15:05 ./../../ lsh107:~$ cd tmp lsh107:~/tmp$ cd interchange-4.8.1 lsh107:~/tmp/interchange-4.8.1$ pwd /home/shop4thingys/tmp/interchange-4.8.1 lsh107:~/tmp/interchange-4.8.1$ ls -ld ./../../ drwxr-x--x 6 shop4thi shop4thi 1024 Aug 29 12:32 ./../../ lsh107:~/tmp/interchange-4.8.1$ > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Russ > Riggs > Sent: Wednesday, August 29, 2001 12:01 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > I'd be curious to know what the directory is at ./../.. > Do a pwd then an ls -ld ./../.. and see what directory > configure is trying to open... Maybe that'll give someone > a clue as to what the problem is. I'll also say that > not having root permission is going to give you headaches. > > russ... > > > "Frederick R. Matzen" wrote: > > > That might be good if I knew how (or possibly could) log in as > root. Its not > > my system so it's possible I cannot do that. > > > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > > System Administrator > > > Sent: Wednesday, August 29, 2001 11:20 AM > > > To: interchange-users@interchange.redhat.com > > > Subject: Re: [ic] Still Clueless > > > > > > > > > From the line; > > > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > > > I would say, no you were not loged in as root. Install logged in > > > as root, when the configure program states, "program can not run > > > as root, select user to install interchange as:" enter the user > > > name at that time that IC will be run under. > > > > > > After ./configure runs, log out of root and in as user you stated > > > during install and then you can run the > > > interchange/bin/interchange -r to start it. > > > > > > > > > RS > > > > > > "Frederick R. Matzen" <fmatzen@home.com> wrote .. > > > > I'm still not getting ./configure to work and I've the > admin install the > > > > BUNDLE::INTERCHANGE packet, I've installed everything I could > > > find. I don't > > > > LINUX and I don't know PERL. I've had the same error upon > > > trying to install > > > > 4.7 and 4.8. > > > > > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > > > > > Interchange Version 4.7.x Configuration > > > > > > > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > > > > > > > Interchange was originally based on Vend 0.2 and 0.3 > > > > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > > > > > > > Distributed under the GNU General Public License. > > > > See the file LICENSE for license information. > > > > > > > > Found Perl 5.6.0 as /usr/bin/perl > > > > > > > > If you get a CPAN error, rerun the configuration and it > should go away. > > > > > > > > opendir(./../..): Permission denied at > /usr/lib/perl5/5.6.0/FindBin.pm > > > > line > > > > 143 > > > > Can't write uid file: Permission denied > > > > make: *** No targets. Stop. > > > > make: *** No rule to make target `test'. Stop. > > > > > > > > I am about to give up. I don't know what to ask the admin > to do or what > > > > to > > > > do myself. I don't know if I'm logged in as ROOT or how to > check. I also > > > > don't know if the system is on REdHat 7 yet or how to check (without > > > > actually asking that is). > > > > > From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 29 14:20:00 2001 Subject: [ic] [query] tag has me dazed and confused And here's the mysql.log entry after I added st=db to the loop search: 010829 14:19:46 84 Connect ratbert@localhost on tpe08 84 Query select * from products 84 Query select * from products 84 Quit On Wed, Aug 29, 2001 at 10:14, Dan Browning wrote: > At 12:59 PM 8/29/2001 -0400, you wrote: > >On Wed, Aug 29, 2001 at 17:00, Jonathan Clark wrote: > > > > > > > When I access a page that consists of the following: > > > > --------------------------------------------------- > > > > <p>Testing sql query<br> > > > > [query sql="select * from products"] > > > > Result: [sql-code]<br> > > > > [/query] > > > > > > > > <p>Testing loop<br> > > > > [loop search="ra=yes/fi=products"] > > > > [loop-code]<br> > > > > [/loop] > > > > --------------------------------------------------- > > > > > > How about this scenario: > > > > > > using SQL db eg. MySQL. > > > list of items in products.txt > > > All items deleted from the SQL table? > > > >$ mysql tpe08 -e 'select sku from products' > > > >sku > >4600-HO > >B2040035 > >30-10005 > >7901 > >PP-815 > >10-10004 > >10-10012 > >2067 > >30-10004 > >10-10005 > >30-10006 > >30-10011 > >C14000 > >C14000AT > >C14024 > >C14025 > >C14099 > >C15000 > >C20000 > >C20002 > >00067 > > > > > your [loop] tag list is using the products.txt without st=db? > > > >Nope, that ain't it. :-( > > > >Cheers, > > Pann > > Turn on your MySQL logging and see what's actually getting passed to the > database. Also, try [sql-param sku] instead of [sql-code] just to see if > it helps. HAND, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Wed Aug 29 14:28:01 2001 Subject: [ic] No action passed for processing I have a development box running Redhat 6.2 and Interchange 4.6.5 which seems to be up and working. I am deploying on another Redhat 6.2 box running Interhchange 4.6.3. On each box I can view the catalog pages and when I click on a product to order, I am take to my shopping cart "ord/basket.html". Good so far. On the deployement box when I submit the order I am brought to an error page stating "No action passed for processing". I should land on a page where I enter my account information "ord/account.html". I can go directly to this page from another link. But when I submit the data in that form, I also end up on a "No action passed for processing" error page. This all works fine on the developement box. Any ideas on where I should start looking? One other difference between the two (if it matters) is the location and name of the cgi-bin directory has changed. But I have changed the lines in all config files to match the new location. One other possible clue: The following lines appears in the error log when I try to submit: 1.2.3.4 8JmKTuzu:1.2.3.4 - [29/August/2001:11:05:31 -0700] mystore /store/mystore/process Difficulty interacting with browser: No action passed for processing > 63.229.134.166 8JmKTuzu:63.229.134.166 - [29/August/2001:11:05:31 -0700] mystore /store/mystore/process Missing special page: interact -- Richard Seymour, Anarchy Software, Inc. rseymour@anarchysoftware.com The opinions expressed are those of my employer, not my own. From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 14:53:00 2001 Subject: [ic] Still Clueless I did that already too :( Thanks > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Dan > Browning > Sent: Wednesday, August 29, 2001 12:14 PM > To: interchange-users@interchange.redhat.com > Subject: RE: [ic] Still Clueless > > > At 11:49 AM 8/29/2001 -0600, you wrote: > >Thanks for trying. I'm still getting exactly the same error > message though: > > > >lsh107:~/tmp/interchange-4.8.1$ ./configure > > > > Interchange Version 4.7.x Configuration > > > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > > > Interchange was originally based on Vend 0.2 and 0.3 > > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > > > Distributed under the GNU General Public License. > > See the file LICENSE for license information. > > > >Found Perl 5.6.0 as /usr/bin/perl > > > >If you get a CPAN error, rerun the configuration and it should go away. > > > >opendir(./../../..): Permission denied at /usr/lib/perl5/5.6.0/FindBin.pm > >line 143 > >Can't write uid file: Permission denied > >make: *** No targets. Stop. > >make: *** No rule to make target `test'. Stop. > >lsh107:~/tmp/interchange-4.8.1$ > > Maybe the scripts/cpan_local_install might come in handy. I > haven't needed > it myself, however. HAND, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 29 15:04:00 2001 Subject: [ic] [query] tag has me dazed and confused --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline That works! See two attached files (and then tell me why, please). And here is the log entry: 010829 15:00:25 87 Connect ratbert@localhost on tpe08 87 Query select * from products 87 Query select * from products 87 Query SELECT * FROM products ; 87 Quit And note that one of the "select * from products" entries is from the loop search (which is working) and the other if from the [query] try, which is not. On Wed, Aug 29, 2001 at 11:12, Dan Browning wrote: > At 01:57 PM 8/29/2001 -0400, you wrote: > >On Wed, Aug 29, 2001 at 10:14, Dan Browning wrote: > > > At 12:59 PM 8/29/2001 -0400, you wrote: > > > >On Wed, Aug 29, 2001 at 17:00, Jonathan Clark wrote: > > > > > > > > > > > When I access a page that consists of the following: > > > > > > --------------------------------------------------- > > > > > > <p>Testing sql query<br> > > > > > > [query sql="select * from products"] > > > > > > Result: [sql-code]<br> > > > > > > [/query] > > > > > > > > > > > > <p>Testing loop<br> > > > > > > [loop search="ra=yes/fi=products"] > > > > > > [loop-code]<br> > > > > > > [/loop] > > > > > > --------------------------------------------------- > > > > > > > > > > How about this scenario: > > > > > > > > > > using SQL db eg. MySQL. > > > > > list of items in products.txt > > > > > All items deleted from the SQL table? > > > > > > > >$ mysql tpe08 -e 'select sku from products' > > > > > > > >sku > > > >4600-HO > > > >B2040035 > > > >30-10005 > > > >7901 > > > >PP-815 > > > >10-10004 > > > >10-10012 > > > >2067 > > > >30-10004 > > > >10-10005 > > > >30-10006 > > > >30-10011 > > > >C14000 > > > >C14000AT > > > >C14024 > > > >C14025 > > > >C14099 > > > >C15000 > > > >C20000 > > > >C20002 > > > >00067 > > > > > > > > > your [loop] tag list is using the products.txt without st=db? > > > > > > > >Nope, that ain't it. :-( > > > > > > > >Cheers, > > > > Pann > > > > > > Turn on your MySQL logging and see what's actually getting passed to the > > > database. Also, try [sql-param sku] instead of [sql-code] just to see if > > > it helps. HAND, > > > >010829 13:54:14 77 Connect ratbert@localhost on tpe08 > > 77 Query select * from products > > 77 Quit > > > >Looks fine to me? > > > >And [sql-param sku] changes nothing. :-( > > > >Cheers, > > Pann > > And nothing in the error logs either? > > I'm sure it's something really simple staring us in the face. > > How about trying a list-style for your query: > > [query prefix=test list=1 type=list sql=| > SELECT * > FROM products > ; | ] > [no_match] > No matches<BR> > [/no_match] > [on_match] > Match!<BR> > [/on_match] > [list] > [test-param sku] > [/list] > [/query] > > HTH, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ --3MwIy2ne0vdjdPXF Content-Type: text/html; charset=us-ascii Content-Disposition: attachment; filename="testing.html" <p>Testing sql query<br> [query sql="select * from products"] Result: [sql-code]<br> [sql-param sku]<br> [/query] <p>Testing loop<br> [loop search="ra=yes/fi=products/st=db"] [loop-code]<br> [/loop] <p>Testing Dan Browning<br> [query prefix=test list=1 type=list sql=| SELECT * FROM products ; | ] [no_match] No matches<BR> [/no_match] [on_match] Match!<BR> [/on_match] [list] [test-param sku]<br> [/list] [/query] --3MwIy2ne0vdjdPXF Content-Type: text/html; charset=us-ascii Content-Disposition: attachment; filename="db_result.html" <p>Testing sql query<br> <p>Testing loop<br> 4600-HO<br> B2040035<br> 30-10005<br> 7901<br> PP-815<br> 10-10004<br> 10-10012<br> 2067<br> 30-10004<br> 10-10005<br> 30-10006<br> 30-10011<br> C14000<br> C14000AT<br> C14024<br> C14025<br> C14099<br> C15000<br> C20000<br> C20002<br> 00067<br> <p>Testing Dan Browning<br> Match!<BR> 4600-HO<br> B2040035<br> 30-10005<br> 7901<br> PP-815<br> 10-10004<br> 10-10012<br> 2067<br> 30-10004<br> 10-10005<br> 30-10006<br> 30-10011<br> C14000<br> C14000AT<br> C14024<br> C14025<br> C14099<br> C15000<br> C20000<br> C20002<br> 00067<br> --3MwIy2ne0vdjdPXF-- From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 15:18:01 2001 Subject: [ic] What do you think? WOULDN'T AN EXTRA $8,000 A MONTH TAKE A LOT OF THE PRESURE OFF OF YOU? Imagine being able to offer the hottest consumer savings package in America today and earn $1,000 each and every time someone joins for $0 DOWN! Imagine being plugged into a proven system that puts your entire business on auto-pilot and has you earning $3,000 every week! Time keeps ticking... We're all getting older… Are you flush or are you as far behind schedule in accomplishing your goals as most people? Lets be honest with one another... Would you like to make some serious extra money... so that you could: - Pay off your bills and mortgage? - Send your children to the finest schools? - Work when you want to and not when you have to? I can show you how you can make an extra $5,000 a month working just 10-15 hours a week. I know you are probably skeptical... it's normal and healthy. I was skeptical too the first time I read this email. But I decided to check it out and I'm glad I did... ... I made over $12,000 within my first 60 days! :-) I'll be happy to show you how you can do the same. To find out more send an e-mail to: make_10k_a_month@excite.com with <Send-Info> in the subject line or JUST CLICK: mailto:make_10k_a_month@excite.com?subject=Send_Info START TODAY WITH $0 DOWN! 100% FINANCING - 100% CASH MACHINE EVERYBODY IS A PROSPECT - 98% APPROVED EARN $1,000 ON EACH AND EVERY SALE TO INFINITY! OVER $15,000 IN FREE BONUSES We provide you with all the tools and the absolute BEST marketing system available on the web. The only thing you need to do is join our team and plug into our proven system for success today! Testimonials: I did it all with my computer! People sign up like crazy! First I said, ok, I am financially totally down, I need to give this one a try. But after two weeks I am already out of dept! Oh god, I did not expect that! And I am not a sales person and I did it! I am so excited, thank you Richard and Mary! - Randy S. Los Angeles, CA I was in my chiropractor's office when the secretary was about to throw out a fax that they had just received. The fax was similar to this email and caught my eye. I did exactly what it told me to do (a fax blast) and in my second day I made $6,000. No hard selling, no hustling my friends, just friendly people looking at a great opportunity and wanting in. Even if it took me a month to make an extra $5,000 I would have been happy, but $6,000 in my second day, wow! I'm excited! - Dave W. Newport Beach, CA If you have been looking for something that is NOT MLM, is turnkey and very easy to do, then join us now. This is a truly explosive income opportunity! Sign up 3 people and earn $3,000! Sign up 10 people & earn $10,000...how much do you want? This is the easiest sale you will EVER make! GET STARTED WITH INCREDIBLE $0 DOWN + START EARNING $1,000 COMMISSIONS YOUR FIRST MONTH! All sales wired into your checking account on a daily basis! To find out more send an e-mail to: make_10k_a_month@excite.com with <Send-Info> in the subject line or JUST CLICK: mailto:make_10k_a_month@excite.com?subject=Send_Info IMPORTANT: To remove please click: mailto:make_10k_a_month@excite.com?subject=remove ======================================================== This message is in full compliance with U.S. Federal requirements for commercial email under bill S.1618 Title lll, Section 301, Paragraph (a)(2)(C) passed by the 105th U.S. Congress and cannot be considered SPAM since it includes a remove mechanism. From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 15:18:44 2001 Subject: [ic] What do you think? WOULDN'T AN EXTRA $8,000 A MONTH TAKE A LOT OF THE PRESURE OFF OF YOU? Imagine being able to offer the hottest consumer savings package in America today and earn $1,000 each and every time someone joins for $0 DOWN! Imagine being plugged into a proven system that puts your entire business on auto-pilot and has you earning $3,000 every week! Time keeps ticking... We're all getting older… Are you flush or are you as far behind schedule in accomplishing your goals as most people? Lets be honest with one another... Would you like to make some serious extra money... so that you could: - Pay off your bills and mortgage? - Send your children to the finest schools? - Work when you want to and not when you have to? I can show you how you can make an extra $5,000 a month working just 10-15 hours a week. I know you are probably skeptical... it's normal and healthy. I was skeptical too the first time I read this email. But I decided to check it out and I'm glad I did... ... I made over $12,000 within my first 60 days! :-) I'll be happy to show you how you can do the same. To find out more send an e-mail to: make_10k_a_month@excite.com with <Send-Info> in the subject line or JUST CLICK: mailto:make_10k_a_month@excite.com?subject=Send_Info START TODAY WITH $0 DOWN! 100% FINANCING - 100% CASH MACHINE EVERYBODY IS A PROSPECT - 98% APPROVED EARN $1,000 ON EACH AND EVERY SALE TO INFINITY! OVER $15,000 IN FREE BONUSES We provide you with all the tools and the absolute BEST marketing system available on the web. The only thing you need to do is join our team and plug into our proven system for success today! Testimonials: I did it all with my computer! People sign up like crazy! First I said, ok, I am financially totally down, I need to give this one a try. But after two weeks I am already out of dept! Oh god, I did not expect that! And I am not a sales person and I did it! I am so excited, thank you Richard and Mary! - Randy S. Los Angeles, CA I was in my chiropractor's office when the secretary was about to throw out a fax that they had just received. The fax was similar to this email and caught my eye. I did exactly what it told me to do (a fax blast) and in my second day I made $6,000. No hard selling, no hustling my friends, just friendly people looking at a great opportunity and wanting in. Even if it took me a month to make an extra $5,000 I would have been happy, but $6,000 in my second day, wow! I'm excited! - Dave W. Newport Beach, CA If you have been looking for something that is NOT MLM, is turnkey and very easy to do, then join us now. This is a truly explosive income opportunity! Sign up 3 people and earn $3,000! Sign up 10 people & earn $10,000...how much do you want? This is the easiest sale you will EVER make! GET STARTED WITH INCREDIBLE $0 DOWN + START EARNING $1,000 COMMISSIONS YOUR FIRST MONTH! All sales wired into your checking account on a daily basis! To find out more send an e-mail to: make_10k_a_month@excite.com with <Send-Info> in the subject line or JUST CLICK: mailto:make_10k_a_month@excite.com?subject=Send_Info IMPORTANT: To remove please click: mailto:make_10k_a_month@excite.com?subject=remove ======================================================== This message is in full compliance with U.S. Federal requirements for commercial email under bill S.1618 Title lll, Section 301, Paragraph (a)(2)(C) passed by the 105th U.S. Congress and cannot be considered SPAM since it includes a remove mechanism. From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Wed Aug 29 15:23:01 2001 Subject: [ic] [query] tag has me dazed and confused > That works! See two attached files (and then tell me why, please). > > And here is the log entry: > > 010829 15:00:25 87 Connect ratbert@localhost on tpe08 > 87 Query select * from products > 87 Query select * from products > 87 Query SELECT * > FROM products > ; > 87 Quit > [snip] > > > > [query prefix=test list=1 type=list sql=| > > SELECT * > > FROM products > > ; | ] > > [no_match] > > No matches<BR> > > [/no_match] > > [on_match] > > Match!<BR> > > [/on_match] > > [list] > > [test-param sku] > > [/list] > > [/query] there are a couple of differences: type=list, but this is the default.. use of [list] tags, which I suspect is the _real_ reason - I still use the [sql query=] format, which doesnt seem to need these (but doesn't allow [no_match] etc. So, I recon that: <p>Testing sql query<br> [query sql="select * from products"] [list] Result: [sql-code]<br> [/list] [/query] should work.. Jonathan Webmaint. From: interchange-users at interchange.redhat.com (David Harrell) Date: Wed Aug 29 15:24:00 2001 Subject: [ic] contents of cart I have configured everything correctly as far as I know - but when I use my ssl server, I go to check out and it shows my shopping cart to be empty. Whereas, I can view the cart on the non-secure server, and it shows all of my items. Anybody know what's going on here? The secure server runs in a directory right beside my non-secure, on the same machine. I can turn SSL off in the admin interface, and it works fine. -David From: interchange-users at interchange.redhat.com (Russ Riggs) Date: Wed Aug 29 15:26:01 2001 Subject: [ic] Still Clueless ok.....from the logged in directory from telnet ../.. is the root diretory and you'll never have permission to write there....nor should you. When in the tmp directory ../../ points to /home/shop4thingys and is owned by same. You shouldn't have any problems writing to that directory if you are logged in as shop4thingys. If you aren't then you don't have permission to write to that directory either. Another possible problem may be that the permissions on that directoy are 751 for some reason. I'd change that to 755 and give it another go. Don't know if that is the problem or not but might be... You might also check your umask to see how permissions are being handled. russ.... "Frederick R. Matzen" wrote: > Here are the results of that from both the root directory I'm in at telnet > and the tmp dir I created from someone's suggestion. > > lsh107:~$ pwd > /home/shop4thingys > lsh107:~$ ls -ld ./../../ > drwxr-xr-x 16 root root 1024 Aug 9 15:05 ./../../ > lsh107:~$ cd tmp > lsh107:~/tmp$ cd interchange-4.8.1 > lsh107:~/tmp/interchange-4.8.1$ pwd > /home/shop4thingys/tmp/interchange-4.8.1 > lsh107:~/tmp/interchange-4.8.1$ ls -ld ./../../ > drwxr-x--x 6 shop4thi shop4thi 1024 Aug 29 12:32 ./../../ > lsh107:~/tmp/interchange-4.8.1$ > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Russ > > Riggs > > Sent: Wednesday, August 29, 2001 12:01 PM > > To: interchange-users@interchange.redhat.com > > Subject: Re: [ic] Still Clueless > > > > > > I'd be curious to know what the directory is at ./../.. > > Do a pwd then an ls -ld ./../.. and see what directory > > configure is trying to open... Maybe that'll give someone > > a clue as to what the problem is. I'll also say that > > not having root permission is going to give you headaches. > > > > russ... > > > > > > "Frederick R. Matzen" wrote: > > > > > That might be good if I knew how (or possibly could) log in as > > root. Its not > > > my system so it's possible I cannot do that. > > > > > > > -----Original Message----- > > > > From: interchange-users-admin@interchange.redhat.com > > > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of > > > > System Administrator > > > > Sent: Wednesday, August 29, 2001 11:20 AM > > > > To: interchange-users@interchange.redhat.com > > > > Subject: Re: [ic] Still Clueless > > > > > > > > > > > > From the line; > > > > > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > > > > > I would say, no you were not loged in as root. Install logged in > > > > as root, when the configure program states, "program can not run > > > > as root, select user to install interchange as:" enter the user > > > > name at that time that IC will be run under. > > > > > > > > After ./configure runs, log out of root and in as user you stated > > > > during install and then you can run the > > > > interchange/bin/interchange -r to start it. > > > > > > > > > > > > RS > > > > > > > > "Frederick R. Matzen" <fmatzen@home.com> wrote .. > > > > > I'm still not getting ./configure to work and I've the > > admin install the > > > > > BUNDLE::INTERCHANGE packet, I've installed everything I could > > > > find. I don't > > > > > LINUX and I don't know PERL. I've had the same error upon > > > > trying to install > > > > > 4.7 and 4.8. > > > > > > > > > > lsh107:~/interchange-4.8.1$ ./configure > > > > > > > > > > Interchange Version 4.7.x Configuration > > > > > > > > > > Copyright 1996-2001 Red Hat, Inc. <interchange@redhat.com> > > > > > > > > > > Interchange was originally based on Vend 0.2 and 0.3 > > > > > Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com> > > > > > > > > > > Distributed under the GNU General Public License. > > > > > See the file LICENSE for license information. > > > > > > > > > > Found Perl 5.6.0 as /usr/bin/perl > > > > > > > > > > If you get a CPAN error, rerun the configuration and it > > should go away. > > > > > > > > > > opendir(./../..): Permission denied at > > /usr/lib/perl5/5.6.0/FindBin.pm > > > > > line > > > > > 143 > > > > > Can't write uid file: Permission denied > > > > > make: *** No targets. Stop. > > > > > make: *** No rule to make target `test'. Stop. > > > > > > > > > > I am about to give up. I don't know what to ask the admin > > to do or what > > > > > to > > > > > do myself. I don't know if I'm logged in as ROOT or how to > > check. I also > > > > > don't know if the system is on REdHat 7 yet or how to check (without > > > > > actually asking that is). > > > > > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Erik) Date: Wed Aug 29 15:30:00 2001 Subject: [ic] What do you think? (RH you idiots) Why is it, companies like RedHat can't build a friggen mailing list that only allows subscribers to post? I'm so sick of these companies HELP SPAMMERS. You idiots. --- Erik Parker --- From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 15:47:01 2001 Subject: [ic] Still Clueless I checked permissions and they are set to 755 <ignorance alert> How do I check UMASK? > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Russ > Riggs > Sent: Wednesday, August 29, 2001 1:24 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > ok.....from the logged in directory from telnet ../.. is the root > diretory and you'll never have permission to write there....nor > should you. > > When in the tmp directory ../../ points to /home/shop4thingys > and is owned by same. You shouldn't have any problems > writing to that directory if you are logged in as shop4thingys. > If you aren't then you don't have permission to write to that > directory either. Another possible problem may be that the > permissions on that directoy are 751 for some reason. I'd > change that to 755 and give it another go. Don't know if > that is the problem or not but might be... You might also > check your umask to see how permissions are being handled. > > russ.... > > "Frederick R. Matzen" wrote: > > > Here are the results of that from both the root directory I'm > in at telnet > > and the tmp dir I created from someone's suggestion. > > > > lsh107:~$ pwd > > /home/shop4thingys > > lsh107:~$ ls -ld ./../../ > > drwxr-xr-x 16 root root 1024 Aug 9 15:05 ./../../ > > lsh107:~$ cd tmp > > lsh107:~/tmp$ cd interchange-4.8.1 > > lsh107:~/tmp/interchange-4.8.1$ pwd > > /home/shop4thingys/tmp/interchange-4.8.1 > > lsh107:~/tmp/interchange-4.8.1$ ls -ld ./../../ > > drwxr-x--x 6 shop4thi shop4thi 1024 Aug 29 12:32 ./../../ > > lsh107:~/tmp/interchange-4.8.1$ > > > From: interchange-users at interchange.redhat.com (Dave Jenkins) Date: Wed Aug 29 15:48:01 2001 Subject: [ic] What do you think? (RH you idiots) Erik wrote: > > Why is it, companies like RedHat can't build a friggen mailing list that > only allows subscribers to post? > > I'm so sick of these companies HELP SPAMMERS. You idiots. > > --- > Erik Parker > --- [sigh] Erik, This issue has been addressed several times. The reason we keep the mailing list 'open' is to allow our plethora of developers and users to post messages from wherever they are currently (at a client's site; logged in as interch to the server, logged in as root, on the road posting through yahoo, etc.) The real way to stop spam is right there on your front door: rigorous filters. I hate it too-- trust me. Fortunately, we only get maybe one or two spams each month. Considering the amount of traffic and subscribers to this list, that is an excellent signal-to-noise ratio in my book. Saludos, Dave From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 29 15:55:00 2001 Subject: [ic] contents of cart At 02:23 PM 08/29/2001 -0500, you wrote: >I have configured everything correctly as far as I know - but when I use >my ssl server, I go to check out and it shows my shopping cart to be >empty. Whereas, I can view the cart on the non-secure server, and it >shows all of my items. Anybody know what's going on here? The secure >server runs in a directory right beside my non-secure, on the same >machine. I can turn SSL off in the admin interface, and it works fine. > >-David What is you sercure url vs. insecure? - Ed L. >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ryan Hertz) Date: Wed Aug 29 15:59:00 2001 Subject: [ic] What do you think? (RH you idiots) At 12:29 PM 8/29/01 -0700, Erik wrote: >Why is it, companies like RedHat can't build a friggen mailing list that >only allows subscribers to post? > >I'm so sick of these companies HELP SPAMMERS. You idiots. > > >--- >Erik Parker >--- Well, the message did contain: >This message is in full compliance with U.S. Federal requirements for >commercial >email under bill S.1618 Title lll, Section 301, Paragraph (a)(2)(C) passed >by the 105th U.S. Congress and cannot be considered SPAM since it includes >a remove mechanism. So, I guess it isn't Spam, then, is it? ;-) Actually, this list has been incredibly spam-free and I'd bet you a nickel that the spammer subscribed to the list. In all honestly, however, I find your reply just as offensive as the spam. But thankfully I can delete it and I hope you will do the same with mine. -Ryan From: interchange-users at interchange.redhat.com (Pann McCuaig) Date: Wed Aug 29 16:06:00 2001 Subject: [ic] [query] tag has me dazed and confused On Wed, Aug 29, 2001 at 20:22, Jonathan Clark wrote: > > That works! See two attached files (and then tell me why, please). > > > > And here is the log entry: > > > > 010829 15:00:25 87 Connect ratbert@localhost on tpe08 > > 87 Query select * from products > > 87 Query select * from products > > 87 Query SELECT * > > FROM products > > ; > > 87 Quit > > > [snip] > > > > > > [query prefix=test list=1 type=list sql=| > > > SELECT * > > > FROM products > > > ; | ] > > > [no_match] > > > No matches<BR> > > > [/no_match] > > > [on_match] > > > Match!<BR> > > > [/on_match] > > > [list] > > > [test-param sku] > > > [/list] > > > [/query] > > there are a couple of differences: > > type=list, but this is the default.. > > use of [list] tags, which I suspect is the _real_ reason - I still use the > [sql query=] format, which doesnt seem to need these (but doesn't allow > [no_match] etc. > > > So, I recon that: > > <p>Testing sql query<br> > [query sql="select * from products"] > [list] > Result: [sql-code]<br> > [/list] > [/query] > > should work.. Alas, it does not. Same (blank) result. Cheers, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^ From: interchange-users at interchange.redhat.com (Erik) Date: Wed Aug 29 16:08:00 2001 Subject: [ic] What do you think? (RH you idiots) Dave, I figured as much. I'd like to see Redhat take something like Mailman, and with a little Python background in one of their developers, add the ability for people to register multiple names them selves. That would save quite a bit. Right now, you can subscribe 10 addresses, then select NO-mail for it. Similiar things can be done with Majordomo and Smartlist as I'm sure we all know. I keep adding the spammers into sendmails access list (including about 50 over seas TLD's).. But lately it seems like there has been an insane burst in the amounts of spam. For a couple of years it was a trickle.. Since Christmas, it's just been sick. > This issue has been addressed several times. The reason we keep the > mailing list 'open' is to allow our plethora of developers and users to > post messages from wherever they are currently (at a client's site; > logged in as interch to the server, logged in as root, on the road > posting through yahoo, etc.) > > The real way to stop spam is right there on your front door: rigorous > filters. > > I hate it too-- trust me. Fortunately, we only get maybe one or two > spams each month. Considering the amount of traffic and subscribers to > this list, that is an excellent signal-to-noise ratio in my book. > > Saludos, > > Dave > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > --- Erik Parker --- From: interchange-users at interchange.redhat.com (Raymond Kirby) Date: Wed Aug 29 16:09:00 2001 Subject: [ic] Novice PGP questions with credit cards I have gpg setup and installed on redhat 6.2 I have setup and configured gpg in ic 4.8.1 (I think) here is how it is working. When an order is placed with a credit card the order is placed in store/orders encrypted .. then an e-mail is sent to admin with the order number in the subject but nothing in the body of the message. I can see what was ordered by going into UI but not the credit card #. in order to get that I have to goto store/orders and decrypt the order twice to get the number. I don't think this is how it was intended to work. Any suggestions would be greatly appreciated. Thanks in advanced. Ray From: interchange-users at interchange.redhat.com (David Harrell) Date: Wed Aug 29 16:11:00 2001 Subject: [ic] contents of cart http://www.camotruckseats.com/foundation/ https://ssl.camotruckseats.com/foundation/ -DH Ed LaFrance wrote: > At 02:23 PM 08/29/2001 -0500, you wrote: > >I have configured everything correctly as far as I know - but when I use > >my ssl server, I go to check out and it shows my shopping cart to be > >empty. Whereas, I can view the cart on the non-secure server, and it > >shows all of my items. Anybody know what's going on here? The secure > >server runs in a directory right beside my non-secure, on the same > >machine. I can turn SSL off in the admin interface, and it works fine. > > > >-David > > What is you sercure url vs. insecure? > > - Ed L. > > >_______________________________________________ > >interchange-users mailing list > >interchange-users@interchange.redhat.com > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > =============================================================== > New Media E.M.S. Software Solutions for Business > 463 Main St., Suite D eCommerce | Consulting | Hosting > Placerville, CA 95667 edl@newmediaems.com > (530) 622-9421 http://www.newmediaems.com > (866) 519-4680 Toll-Free (530) 622-9426 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Russ Riggs) Date: Wed Aug 29 16:15:00 2001 Subject: [ic] Still Clueless Hmmmmmm....after changing the permissions on that directory to 755 you are still encountering the same problem? umask determins the permisson bits on files and directories when you create them. You can check your umask by simply typing in 'umask' and seeing what it returns. A typical umask is 022 which translates to a 644 permissions bit set for regular files and 755 for directories. To get a 751 directory permission bit mask your umask should look something like 026....odd indeed as the 'world' will not have read or write (but has execution) permission on the directory. If you've changed the perms to 755 and are logged in as shop4thingys and it owns the ../.. directory then I don't know what the prob is. Run the configure script again and let's take a look at the errors... "Frederick R. Matzen" wrote: > I checked permissions and they are set to 755 > <ignorance alert> How do I check UMASK? > > > -----Original Message----- > > From: interchange-users-admin@interchange.redhat.com > > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Russ > > Riggs > > Sent: Wednesday, August 29, 2001 1:24 PM > > To: interchange-users@interchange.redhat.com > > Subject: Re: [ic] Still Clueless > > > > > > ok.....from the logged in directory from telnet ../.. is the root > > diretory and you'll never have permission to write there....nor > > should you. > > > > When in the tmp directory ../../ points to /home/shop4thingys > > and is owned by same. You shouldn't have any problems > > writing to that directory if you are logged in as shop4thingys. > > If you aren't then you don't have permission to write to that > > directory either. Another possible problem may be that the > > permissions on that directoy are 751 for some reason. I'd > > change that to 755 and give it another go. Don't know if > > that is the problem or not but might be... You might also > > check your umask to see how permissions are being handled. > > > > russ.... > > > > "Frederick R. Matzen" wrote: > > > > > Here are the results of that from both the root directory I'm > > in at telnet > > > and the tmp dir I created from someone's suggestion. > > > > > > lsh107:~$ pwd > > > /home/shop4thingys > > > lsh107:~$ ls -ld ./../../ > > > drwxr-xr-x 16 root root 1024 Aug 9 15:05 ./../../ > > > lsh107:~$ cd tmp > > > lsh107:~/tmp$ cd interchange-4.8.1 > > > lsh107:~/tmp/interchange-4.8.1$ pwd > > > /home/shop4thingys/tmp/interchange-4.8.1 > > > lsh107:~/tmp/interchange-4.8.1$ ls -ld ./../../ > > > drwxr-x--x 6 shop4thi shop4thi 1024 Aug 29 12:32 ./../../ > > > lsh107:~/tmp/interchange-4.8.1$ > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 29 16:33:00 2001 Subject: [ic] contents of cart At 03:11 PM 08/29/2001 -0500, you wrote: >http://www.camotruckseats.com/foundation/ >https://ssl.camotruckseats.com/foundation/ You could start with these: http://ic.redhat.com/cgi-bin/ic/dev-4.8/icconfig_18.html http://ic.redhat.com/cgi-bin/ic/dev-4.8/icconfig_167.html I'll admin that I only have first-hand experience with situations like: http://www.domain.com https://www.domain.com - Ed L. >-DH > >Ed LaFrance wrote: > > > At 02:23 PM 08/29/2001 -0500, you wrote: > > >I have configured everything correctly as far as I know - but when I use > > >my ssl server, I go to check out and it shows my shopping cart to be > > >empty. Whereas, I can view the cart on the non-secure server, and it > > >shows all of my items. Anybody know what's going on here? The secure > > >server runs in a directory right beside my non-secure, on the same > > >machine. I can turn SSL off in the admin interface, and it works fine. > > > > > >-David > > > > What is you sercure url vs. insecure? > > > > - Ed L. > > > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Wed Aug 29 16:35:00 2001 Subject: [ic] Novice PGP questions with credit cards At 02:06 PM 08/29/2001 -0600, you wrote: >I have gpg setup and installed on redhat 6.2 >I have setup and configured gpg in ic 4.8.1 (I think) >here is how it is working. >When an order is placed with a credit card the order >is placed in store/orders encrypted .. then an e-mail is >sent to admin with the order number in the subject but >nothing in the body of the message. I can see what was >ordered by going into UI but not the credit card #. in order >to get that I have to goto store/orders and decrypt the >order twice to get the number. I don't think this is how it was >intended to work. Any suggestions would be greatly appreciated. > >Thanks in advanced. >Ray Sounds like your entire order is being encrypted. See the docs on Route for more info. - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 16:40:00 2001 Subject: [ic] Still Clueless umask = 022 like you thought. tried configure again. Exact same error. IC is a really nice looking app but I think it might be better if someone who knows unix installs it. > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Russ > Riggs > Sent: Wednesday, August 29, 2001 2:13 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > Hmmmmmm....after changing the permissions on that directory > to 755 you are still encountering the same problem? > > umask determins the permisson bits on files and directories > when you create them. You can check your umask by simply > typing in 'umask' and seeing what it returns. A typical umask > is 022 which translates to a 644 permissions bit set for regular > files and 755 for directories. To get a 751 directory permission > bit mask your umask should look something like 026....odd > indeed as the 'world' will not have read or write (but has > execution) permission on the directory. > > If you've changed the perms to 755 and are logged in as > shop4thingys and it owns the ../.. directory then I don't know > what the prob is. Run the configure script again and let's take > a look at the errors... > > "Frederick R. Matzen" wrote: > > > I checked permissions and they are set to 755 > > <ignorance alert> How do I check UMASK? > > > > > -----Original Message----- > > > From: interchange-users-admin@interchange.redhat.com > > > [mailto:interchange-users-admin@interchange.redhat.com]On > Behalf Of Russ > > > Riggs > > > Sent: Wednesday, August 29, 2001 1:24 PM > > > To: interchange-users@interchange.redhat.com > > > Subject: Re: [ic] Still Clueless > > > > > > > > > ok.....from the logged in directory from telnet ../.. is the root > > > diretory and you'll never have permission to write there....nor > > > should you. > > > > > > When in the tmp directory ../../ points to /home/shop4thingys > > > and is owned by same. You shouldn't have any problems > > > writing to that directory if you are logged in as shop4thingys. > > > If you aren't then you don't have permission to write to that > > > directory either. Another possible problem may be that the > > > permissions on that directoy are 751 for some reason. I'd > > > change that to 755 and give it another go. Don't know if > > > that is the problem or not but might be... You might also > > > check your umask to see how permissions are being handled. > > > > > > russ.... > > > > > > "Frederick R. Matzen" wrote: > > > > > > > Here are the results of that from both the root directory I'm > > > in at telnet > > > > and the tmp dir I created from someone's suggestion. > > > > > > > > lsh107:~$ pwd > > > > /home/shop4thingys > > > > lsh107:~$ ls -ld ./../../ > > > > drwxr-xr-x 16 root root 1024 Aug 9 15:05 ./../../ > > > > lsh107:~$ cd tmp > > > > lsh107:~/tmp$ cd interchange-4.8.1 > > > > lsh107:~/tmp/interchange-4.8.1$ pwd > > > > /home/shop4thingys/tmp/interchange-4.8.1 > > > > lsh107:~/tmp/interchange-4.8.1$ ls -ld ./../../ > > > > drwxr-x--x 6 shop4thi shop4thi 1024 Aug 29 12:32 ./../../ > > > > lsh107:~/tmp/interchange-4.8.1$ > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Wed Aug 29 16:41:01 2001 Subject: [ic] contents of cart > From: interchange-users-admin@interchange.redhat.com [mailto:interchange- > users-admin@interchange.redhat.com] On Behalf Of David Harrell > > http://www.camotruckseats.com/foundation/ > https://ssl.camotruckseats.com/foundation/ Do you have cookie domain set to: CookieDomain .camotruckseats.com Do you need to have the domain set to ssl.camotruckseats.com in apache? Or could you set it up to be www.camotruckseat.com? In Apache you can set it to respond to one Virtual Domain on port 80 and another Virtual Domain on port 443 even though the server name will be the same. Or set the virtual host to respond to both port 80 and port 443 and that eliminates the need for the second directory. We've found, after dealing with a client that would not buy their own SSL cert, that it is MUCH easier to setup IC when the SSL domain is the same as the Non-SSL domain. However it is possible to have them in separate domains by using CookeDomain, WideOpen and SessionExpire. Good luck! -Ron > Ed LaFrance wrote: > > > At 02:23 PM 08/29/2001 -0500, you wrote: > > >I have configured everything correctly as far as I know - but when I > use > > >my ssl server, I go to check out and it shows my shopping cart to be > > >empty. Whereas, I can view the cart on the non-secure server, and it > > >shows all of my items. Anybody know what's going on here? The secure > > >server runs in a directory right beside my non-secure, on the same > > >machine. I can turn SSL off in the admin interface, and it works fine. > > > > > >-David > > > > What is you sercure url vs. insecure? > > > > - Ed L. > > > > >_______________________________________________ > > >interchange-users mailing list > > >interchange-users@interchange.redhat.com > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > =============================================================== > > New Media E.M.S. Software Solutions for Business > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > Placerville, CA 95667 edl@newmediaems.com > > (530) 622-9421 http://www.newmediaems.com > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > =============================================================== > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Bill Loughlin) Date: Wed Aug 29 17:18:01 2001 Subject: [ic] IC won't update templates The interchange site I am building does not accept changes to page templates. I started by creating new templates based on the included LEFTONLY templates. I have tried editing the copied template component files manually, and by using the admin utility. Editing files by hand produces no visible changes in IC. I can save changes to the template components themselves, but the IC store does not recognize the changes, even after using the "Apply Changes" feature. Editing through the admin utility then pressing "Save" produces one of two results. Either I get a "500 Server Error" response, or the browser loops back to the same template edit page minus the content. These two response occur with relatively 50-50% frequency. Sometimes I am able to preview changes to the template files when using the admin utility, but I can't save changes. Now I am unable to revert to the original Foundation templates. IC will not display the content of the original templates when they are selected. Pages display only their specific content with no banner or nav elements included. I can successfully save changes to any other part of my site. I have re-installed the catalog and IC several times, and checked all permissions. Suggestions? From: interchange-users at interchange.redhat.com (crouzer) Date: Wed Aug 29 17:44:01 2001 Subject: [ic] suggestions for tracking STABLE_4_8-branch Just curious if anyone has any suggestions for tracking the STABLE_4_8-branch for production catalogs. Thanks! __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Mike Heins) Date: Wed Aug 29 17:54:01 2001 Subject: [ic] Still Clueless Quoting Frederick R. Matzen (fmatzen@home.com): > umask = 022 like you thought. > tried configure again. Exact same error. > IC is a really nice looking app but I think it might be better if someone > who knows unix installs it. We cannot repeal the UNIX permissions setup. Bottom line -- if you have permission to modify files, it will work. If you don't, it won't. It sounds to me like you are in some sort of a virtual host chroot jail where you are constrained by quota or other things. The fact that you cannot read your parent path (that is the source of the FindBin error) says that something bizarre is going on. There is nothing we can do; indeed, I would be interested to see if you can install *any* program that is not just a simple file-copy-and-edit setup. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Unix version of an Outlook-style virus: It works on the honor system. Please forward this message to everyone you know, and delete a bunch of your files at random. From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 18:08:00 2001 Subject: [ic] Still Clueless I wasn't expecting you to fix it. I feel that what you have created is very good. It's just that my setup wont currently allow me to use it. Had I done some more research before signing on with Hostway.com I would have found some of the sites that were Interchange friendly and used them instead. I've only given up for now (unless some genius figures it out) but I haven't given up forever. If I have to in the near future I will change servers. BTW Anyone using IC successfully on a hosting service? > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Mike > Heins > Sent: Wednesday, August 29, 2001 3:53 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > Quoting Frederick R. Matzen (fmatzen@home.com): > > umask = 022 like you thought. > > tried configure again. Exact same error. > > IC is a really nice looking app but I think it might be better > if someone > > who knows unix installs it. > > We cannot repeal the UNIX permissions setup. > > Bottom line -- if you have permission to modify files, it will > work. If you don't, it won't. > > It sounds to me like you are in some sort of a virtual host chroot > jail where you are constrained by quota or other things. > > The fact that you cannot read your parent path (that is the > source of the FindBin error) says that something bizarre is going > on. There is nothing we can do; indeed, I would be interested to > see if you can install *any* program that is not just a simple > file-copy-and-edit setup. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Unix version of an Outlook-style virus: > It works on the honor system. Please forward this message to everyone > you know, and delete a bunch of your files at random. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Russ Riggs) Date: Wed Aug 29 18:26:01 2001 Subject: [ic] Still Clueless I'm forced to agree with Mr. Heins. Have your administrator install the package. It's almost impossible to install any software system of any complexity without root permission..... Good luck.... Mike Heins wrote: > Quoting Frederick R. Matzen (fmatzen@home.com): > > umask = 022 like you thought. > > tried configure again. Exact same error. > > IC is a really nice looking app but I think it might be better if someone > > who knows unix installs it. > > We cannot repeal the UNIX permissions setup. > > Bottom line -- if you have permission to modify files, it will > work. If you don't, it won't. > > It sounds to me like you are in some sort of a virtual host chroot > jail where you are constrained by quota or other things. > > The fact that you cannot read your parent path (that is the > source of the FindBin error) says that something bizarre is going > on. There is nothing we can do; indeed, I would be interested to > see if you can install *any* program that is not just a simple > file-copy-and-edit setup. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Unix version of an Outlook-style virus: > It works on the honor system. Please forward this message to everyone > you know, and delete a bunch of your files at random. > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (chad m. townsend) Date: Wed Aug 29 18:31:00 2001 Subject: [ic] Still Clueless conditional stmts. inside theme.cfg i have a Variable named STYLE that the admin can change in the Preferences area. in theme.cfg i would like say something like this: ifdef @STYLE =~ /red/i Variable BACKGROUND #rgb_code endif ifdef @STYLE =~ /blue/i Variable BACKGROUND #rgb_code endif etc. sorta like they do for traffic: ifdef @TRAFFIC =~ /low/i Pragma dynamic_variables endif what i'm i doing wrong? it's prob my syntax any help = mucho gracias ./chad& From: interchange-users at interchange.redhat.com (chad m. townsend) Date: Wed Aug 29 18:32:00 2001 Subject: [ic] re: conditional stmts. inside theme.cfg somehow i got the wrong subject on the first one :) "chad m. townsend" wrote: > > conditional stmts. inside theme.cfg > > i have a Variable named STYLE that the admin can change in the > Preferences area. in theme.cfg i would like say something like this: > > ifdef @STYLE =~ /red/i > Variable BACKGROUND #rgb_code > endif > > ifdef @STYLE =~ /blue/i > Variable BACKGROUND #rgb_code > endif > > etc. sorta like they do for traffic: > > ifdef @TRAFFIC =~ /low/i > Pragma dynamic_variables > endif > > what i'm i doing wrong? it's prob my syntax any help = mucho gracias > > ./chad& From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Aug 29 19:19:01 2001 Subject: [ic] Fixed Pricing On Wed, 29 Aug 2001, Leon Harris wrote: LH>>Jim, I thought this would just return the value of the variable SHIP_FLAT_RATE LH>>without having to lookup any further table. I looked at your email, from Jun LH>>28, but it seems to be trying to do a lot more than what I want to - I just LH>>want one shipping price. I can understand that. But there are other steps that I detailed there beyond changing shipping.asc LH>>Should there be a shipping.gdbm file in the products directory? - I am missing LH>>one - I only have a shipping.asc file ? No, you don't need a shipping.gdbm file (or, at least I don't have one) But, I suspect you need a gdbm file for your flat rate file. Or, perhaps this works and is easier:::: (This is an excerpt from my shipping.asc: uspsexp Express Mail weight 0 0 e Nothing to ship! uspsexp Express Mail weight 0 0.5 12.45 {} uspsexp Express Mail weight 0.5 2 16.25 {} uspsexp Express Mail weight 2 3 19.15 {} uspsexp Express Mail weight 3 4 22.05 {} ................ etc. I suspect that if I change the 0.5 in this second line to something like 1000 that 12.45 would be applied to everything. So: I am suggesting that in shipping.asc that you put: flatrate Flat Rate weight 0 0 e Nothing to ship! flatrate Flat Rate weight 0 1000 12.45 {} (Make sure that tabs separate those fields!) In country.txt put something like: TZ TZ flatrate Tanzania UA UA flatrate Ukraine I recommend going into the admin interface and click on the 'apply changes' option, and also restart the IC server. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 29, 2001 at 19:00 PM: Catalyze: To lie while looking cute. ---------------------------------------------------------------- This Linux System has been up 439 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Wed Aug 29 19:27:01 2001 Subject: [ic] Still Clueless Russ Riggs <rriggs@pinkpig.com> writes: > I'm forced to agree with Mr. Heins. Have your administrator > install the package. It's almost impossible to install any software > system of any complexity without root permission..... Huh ? You can very easily install Interchange without root permission - if the necessary Perl modules are there. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Wed Aug 29 19:44:01 2001 Subject: [ic] What do you think? (RH you idiots) On Wed, 29 Aug 2001, Dave Jenkins wrote: DJ>>This issue has been addressed several times. The reason we keep the DJ>>mailing list 'open' is to allow our plethora of developers and users to DJ>>post messages from wherever they are currently (at a client's site; DJ>>logged in as interch to the server, logged in as root, on the road DJ>>posting through yahoo, etc.) I'm sorry, but this seems like a weak argument. Mail from the list is being delivered to one, and only one, address for a person (unless they have subscribed with multiple e-mail addresses.) In order to get the messages, they are going to have to either access that mail spool directly, or they are going to have to pop in and get it. It seems to me that people that have figured out how to install IC are competent enough to be able to manage mail and to be able to post using the same address that they are receiving at. Or, dummy as I am, I can post using this address from anywhere in North America, including various turnpike rest areas. DJ>>The real way to stop spam is right there on your front door: rigorous DJ>>filters. Then, would you please explain, on a dummy level, how to add a filter to procmail that filters on this: Date: Wed, 29 Aug 2001 14:12:18 From: make_10k_a_month@excite.com Reply-To: interchange-users@interchange.redhat.com To: interchange-users@ic.redhat.com Subject: [ic] What do you think? Am I supposed to filter out everything from excite.com? If I use that whole e-mail address, he will probably not use it again. It's very likely that it's a hit-and-run e-mail address. Am I supposed to filter on 'month'? What happens when my broker sends me an e-mail about my losses this 'month'? Maybe I should filter on '10K'? What about the Labor Day 10K race? I simply do not see anything there that can be filtered that won't filter out legitimate e-mail. DJ>>I hate it too-- trust me. Fortunately, we only get maybe one or two DJ>>spams each month. Considering the amount of traffic and subscribers to DJ>>this list, that is an excellent signal-to-noise ratio in my book. I think that you are being overly optimistic. Or else, you are losing mail. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Wednesday, August 29, 2001 at 19:30 PM: Those who can't write, write help files. ---------------------------------------------------------------- This Linux System has been up 440 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Eric Paul) Date: Wed Aug 29 20:46:01 2001 Subject: [ic] Still Clueless At 07:26 PM 8/29/01, you wrote: >Huh ? You can very easily install Interchange without root >permission - if the necessary Perl modules are there. Even if the Perl modules aren't there, you can always put them in a local path and IC will work just fine. I just did this on my test system. Eric --- Eric Paul SpellBook Systems http://www.spellbook.net From: interchange-users at interchange.redhat.com (Frederick R. Matzen) Date: Wed Aug 29 20:50:01 2001 Subject: [ic] Still Clueless OK.. I ask "how is this done?". I did the LOCAL_INSTALL thing. hasn't helped. Hasn't hurt either :-) > -----Original Message----- > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Eric > Paul > Sent: Wednesday, August 29, 2001 6:46 PM > To: interchange-users@interchange.redhat.com > Subject: Re: [ic] Still Clueless > > > At 07:26 PM 8/29/01, you wrote: > > >Huh ? You can very easily install Interchange without root > >permission - if the necessary Perl modules are there. > > Even if the Perl modules aren't there, you can always put them in a local > path and IC will work just fine. I just did this on my test system. > > Eric > --- > Eric Paul > SpellBook Systems > http://www.spellbook.net > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Wed Aug 29 20:54:00 2001 Subject: [ic] What do you think? (RH you idiots) At 04:47 PM 8/29/01, you wrote: >On Wed, 29 Aug 2001, Dave Jenkins wrote: > >DJ>>This issue has been addressed several times. The reason we keep the >DJ>>mailing list 'open' is to allow our plethora of developers and users to >DJ>>post messages from wherever they are currently (at a client's site; >DJ>>logged in as interch to the server, logged in as root, on the road >DJ>>posting through yahoo, etc.) > >I'm sorry, but this seems like a weak argument. > >Mail from the list is being delivered to one, and only one, address for >a person (unless they have subscribed with multiple e-mail addresses.) >In order to get the messages, they are going to have to either access >that mail spool directly, or they are going to have to pop in and get >it. It seems to me that people that have figured out how to install IC >are competent enough to be able to manage mail and to be able to post >using the same address that they are receiving at. > >Or, dummy as I am, I can post using this address from anywhere in North >America, including various turnpike rest areas. > >DJ>>The real way to stop spam is right there on your front door: rigorous >DJ>>filters. > >Then, would you please explain, on a dummy level, how to add a filter >to procmail that filters on this: > >Date: Wed, 29 Aug 2001 14:12:18 >From: make_10k_a_month@excite.com >Reply-To: interchange-users@interchange.redhat.com >To: interchange-users@ic.redhat.com >Subject: [ic] What do you think? > >Am I supposed to filter out everything from excite.com? > >If I use that whole e-mail address, he will probably not use it again. >It's very likely that it's a hit-and-run e-mail address. > >Am I supposed to filter on 'month'? What happens when my broker sends >me an e-mail about my losses this 'month'? > >Maybe I should filter on '10K'? What about the Labor Day 10K race? > >I simply do not see anything there that can be filtered that won't >filter out legitimate e-mail. > >DJ>>I hate it too-- trust me. Fortunately, we only get maybe one or two >DJ>>spams each month. Considering the amount of traffic and subscribers to >DJ>>this list, that is an excellent signal-to-noise ratio in my book. > >I think that you are being overly optimistic. Or else, you are losing >mail. > >-= Jim =- > >---------------------------------------------------------------- >Jim's Linux-Operated Underground Bomb Shelter > >Tagline for Wednesday, August 29, 2001 at 19:30 PM: >Those who can't write, write help files. > >---------------------------------------------------------------- >This Linux System has been up 440 hours > >My web page: http://www.idk-enterprises.com >---------------------------------------------------------------- My 2 cents: 1. I too would think that those "on-the-road" should be able to "use" the email address they signed up under and don't think that very many on this list would see this as a problem. (maybe I'm wrong, maybe we could hear of a "good" reason to leave as-is?) 2. With that being said, I personally have not seen much spam in the list, going by memory alone (mine not my computers :-) I think the rate of spam is only about a couple per month. Maybe others have another view on this? Kyle Cook From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Wed Aug 29 21:47:01 2001 Subject: [ic] re: conditional stmts. inside theme.cfg please help me! :) On Wed, 29 Aug 2001, chad m. townsend wrote: > > somehow i got the wrong subject on the first one :) > > "chad m. townsend" wrote: > > > > conditional stmts. inside theme.cfg > > > > i have a Variable named STYLE that the admin can change in the > > Preferences area. in theme.cfg i would like say something like this: > > > > ifdef @STYLE =~ /red/i > > Variable BACKGROUND #rgb_code > > endif > > > > ifdef @STYLE =~ /blue/i > > Variable BACKGROUND #rgb_code > > endif > > > > etc. sorta like they do for traffic: > > > > ifdef @TRAFFIC =~ /low/i > > Pragma dynamic_variables > > endif > > > > what i'm i doing wrong? it's prob my syntax any help = mucho gracias > > > > ./chad& > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (satya narayanan) Date: Thu Aug 30 00:32:00 2001 Subject: [ic] Multiple Stores Creation Using Interchange Hi folks, We are new users of the Interchange application and have a query regarding the same. It would be great if some one can help. We Have Already Created The Demo Store( i.e, Foundation).Now We Want To Create Multiple stores.So Please help us which are all The steps To be Followed. Regards satyapat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (root) Date: Thu Aug 30 00:36:01 2001 Subject: [ic] What do you think? (RH you idiots) enough already. mailing list is fine as is. if you are so concerned about spam, go track down the spammers and contact there isp. Stop filling this board up,complaining about the free service, that i for one, have used alot and appreciate. On Thu, 30 Aug 2001, you wrote: > At 04:47 PM 8/29/01, you wrote: > >On Wed, 29 Aug 2001, Dave Jenkins wrote: > > > >DJ>>This issue has been addressed several times. The reason we keep the > >DJ>>mailing list 'open' is to allow our plethora of developers and users to > >DJ>>post messages from wherever they are currently (at a client's site; > >DJ>>logged in as interch to the server, logged in as root, on the road > >DJ>>posting through yahoo, etc.) > > > >I'm sorry, but this seems like a weak argument. > > > >Mail from the list is being delivered to one, and only one, address for > >a person (unless they have subscribed with multiple e-mail addresses.) > >In order to get the messages, they are going to have to either access > >that mail spool directly, or they are going to have to pop in and get > >it. It seems to me that people that have figured out how to install IC > >are competent enough to be able to manage mail and to be able to post > >using the same address that they are receiving at. > > > >Or, dummy as I am, I can post using this address from anywhere in North > >America, including various turnpike rest areas. > > > >DJ>>The real way to stop spam is right there on your front door: rigorous > >DJ>>filters. > > > >Then, would you please explain, on a dummy level, how to add a filter > >to procmail that filters on this: > > > >Date: Wed, 29 Aug 2001 14:12:18 > >From: make_10k_a_month@excite.com > >Reply-To: interchange-users@interchange.redhat.com > >To: interchange-users@ic.redhat.com > >Subject: [ic] What do you think? > > > >Am I supposed to filter out everything from excite.com? > > > >If I use that whole e-mail address, he will probably not use it again. > >It's very likely that it's a hit-and-run e-mail address. > > > >Am I supposed to filter on 'month'? What happens when my broker sends > >me an e-mail about my losses this 'month'? > > > >Maybe I should filter on '10K'? What about the Labor Day 10K race? > > > >I simply do not see anything there that can be filtered that won't > >filter out legitimate e-mail. > > > >DJ>>I hate it too-- trust me. Fortunately, we only get maybe one or two > >DJ>>spams each month. Considering the amount of traffic and subscribers to > >DJ>>this list, that is an excellent signal-to-noise ratio in my book. > > > >I think that you are being overly optimistic. Or else, you are losing > >mail. > > > >-= Jim =- > > > >---------------------------------------------------------------- > >Jim's Linux-Operated Underground Bomb Shelter > > > >Tagline for Wednesday, August 29, 2001 at 19:30 PM: > >Those who can't write, write help files. > > > >---------------------------------------------------------------- > >This Linux System has been up 440 hours > > > >My web page: http://www.idk-enterprises.com > >---------------------------------------------------------------- > > > My 2 cents: > > 1. I too would think that those "on-the-road" should be able to "use" > the email address they signed up under and don't think that very many > on this list would see this as a problem. (maybe I'm wrong, maybe we > could hear of a "good" reason to leave as-is?) > > 2. With that being said, I personally have not seen much spam in the list, > going by memory alone (mine not my computers :-) I think the rate of spam > is only about a couple per month. > > Maybe others have another view on this? > > Kyle Cook > > > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Aug 30 00:48:01 2001 Subject: [ic] Multiple Stores Creation Using Interchange ~interchage/bin/makecat <storename> On Thu, 30 Aug 2001, satya narayanan wrote: > Hi folks, > > We are new users of the Interchange application and have a query regarding > the same. It would be great if some one can help. > > We Have Already Created The Demo Store( i.e, Foundation).Now We Want To > Create Multiple stores.So Please help us which are all The steps To be > Followed. > > Regards > > satyapat > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (satya narayanan) Date: Thu Aug 30 01:56:01 2001 Subject: [ic] Multiple stores Creation Using Interchange Hi folks, We are new users of the Interchange application and have a query regarding the same. It would be great if some one can help. We Have Already Created The Demo Store( i.e, Foundation).Now We Want To Create Multiple stores.So Please help us which are all The steps To be Followed. Regards satyapat _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Tomas Lindhoff) Date: Thu Aug 30 02:22:01 2001 Subject: [ic] Undefined Catalog: /cgi-bin/foundation ----- Original Message ----- From: "cedric Boudin" <cedric.boudin@iconmedialab.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 2:29 PM Subject: Re: [ic] Undefined Catalog: /cgi-bin/foundation > Tomas Lindhoff writes: > > Thanks Cedric, but I'm somewhat confused... > > Let's say I configure "foundation" as a catalog. > > It's then placed in /usr/lib/interchange/foundation/ > > > > Based on the above, should I put something like this in the httpd.conf file: > > > > ScriptAlias /cgi-bin/foundation "/usr/lib/interchange/foundation" > > ScriptAlias /foundation "/usr/lib/interchange/foundation" > > ???? > yes > > you should have after the instalation a pgm called the catalog_name in > your cgi directory > this program makes the connection to the interch server and the server > looks in the catalog subdir for the pages to deliver. > the catalog subdir is not necessary in the cgi dir > you configure this from interchage.ini or conf somewhre in etc ehh..........sorry all ! Well, the problem with "Undefined Catalog: /cgi-bin/foundation" was due to permission problems. When running makecat I specified server running as "interch", store owned by user "tomas" and group was "interch". When I added "interch" as primary group for user "tomas" instead off supplementary, things went better. No more complaints about missing MailOrderTo directive However, when running /usr/sbin/interchange --serve as user "interch" it complained about Perl modules "Safe::Hole" "SQL:Statement" "LWP::Simple" was missing. After digging around the mail archive I found a nifty command which checked and updated ALOT of Perl stuff: # perl -MCPAN -e 'install Bundle::Interchange' This installed all needed modules (among others) and I could login to the admin area. Wicked...... Thanks for all your efforts trying to help (probably more to come along the way) cheers - Tomas From: interchange-users at interchange.redhat.com (root) Date: Thu Aug 30 02:28:01 2001 Subject: [ic] Multiple stores Creation Using Interchange i hate when people say this but i must, you should read the docs on setting up multiply stores before posting about setup procedures. It is also good to have you questions narrowed down to specifics rather than large topics that would require pages of emails to be written. i think if you search the mail lists and flip through the docs on interchange you can find some info on it. a quick suggestion would be to run makecat again setting up another store though that, using a different install directory etc.... it should work that way. On Thu, 30 Aug 2001, you wrote: > Hi folks, > > We are new users of the Interchange application and have a query regarding > the same. It would be great if some one can help. > > We Have Already Created The Demo Store( i.e, Foundation).Now We Want To > Create Multiple stores.So Please help us which are all The steps To be > Followed. > > Regards > > satyapat > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Klaus Koch) Date: Thu Aug 30 04:32:01 2001 Subject: [ic] ODBC segmentation fault after nobody could help me with the Sybase connection via the standard DBI, I have set up a ODBC driver for the database. Like the DBI module, it works fine from a perl script. But if I put up this line in catalog.cfg, I get a segmentation fault: Database products DSN dbi:ODBC:shop >From the perl script, it gets its user and pwd from the odbc.ini file. So I started a try to give it user/pwd/ over this line: Database products DSN dbi:ODBC:'uid=user;pwd=pwd;eng=shop' but then it cant load the ODBC driver. I tried it with NoImport and a products.sql file in the products directory, in case it couldnt write. Does somebody know why I get this segmentation fault? Please help me, I really have to get this working. Thank you! From: interchange-users at interchange.redhat.com (JT Justman) Date: Thu Aug 30 05:11:01 2001 Subject: [ic] What do you think? (RH you idiots) ----- Original Message ----- From: "Kyle Cook" <kyle@invisio.com> To: <interchange-users@interchange.redhat.com> Sent: Wednesday, August 29, 2001 5:49 PM Subject: Re: [ic] What do you think? (RH you idiots) <-snipped-> > 1. I too would think that those "on-the-road" should be able to "use" > the email address they signed up under and don't think that very many > on this list would see this as a problem. (maybe I'm wrong, maybe we > could hear of a "good" reason to leave as-is?) Everyone has a different configuration. I set up a separate pop box for receiving IC mail so I wouldn't have to dig through it when checking my regular account "on the road". Also, I have several aliases for my main account that I use on different machines... if I send from my web mail interface, it will default to the account name, while I have one machine set to send as "webmaster". So I have posted from about four different e-mail addresses to this list, not to mention the fact that I might one day have to shoot off a quick question while logged into a shell on a root account. > 2. With that being said, I personally have not seen much spam in the list, > going by memory alone (mine not my computers :-) I think the rate of spam > is only about a couple per month. I agree. I see very little spam here. And my final point is that some spammers will go through the effort of subscribing to a list this big anyway. As to filters, there are methods that work very well. One of my favorites is to filter on the phrase "This is not spam" and variants, or if you're brave, "remove in the subject line". How about "Not MLM" or "make money at home". Personally I give spam no more mind than the miriads of credit card offers I recieve every week. > Kyle Cook JT Justman From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 30 06:24:00 2001 Subject: [ic] Wildchar for accessories display Hi A little question... i`ve written a little script which adds all products from a textfile with all needed information (including accessories) to the database. because of the fact that i want this complete dynamically and as simple as possible, i add the accessories/modifier as in the example below: (i do not group accessories together) therefore: product has 2 modifier -> check if modifier are existing yes -> insert modfifiername to modifiername(column) in products table and insert modifiervalue to modifiername(column) in pricing table no -> alter table products add column (modifiertable) (hehe.. sql is nice) alter table pricing add column (modifiertable) insert modfifiername to modifiername(column) in products table insert modifiervalue to modifiername(column) in pricing table because of the fact that the needed database for this product is rather small, i say that the content manager has to simply change the textfile and update all products each time. (this needs about 2 seconds on a p 233...).. i generate too the UseModifier Line and the CommonAdjust line and echo them into a file.. catalogroot/usemodif (filename) and include this file at the bottom of catalog.cfg ok... i know.. interchange needs to be restarted... the rest here is all added dynamically... the problem comes now with the display of the accessories in flypage.html Is there a way to add all accessories which are mentioned at the product line and at the "UseModifier" variable ? for example... i mean... if the following line would work... it would solve my problem: [item-accessories [item-code] *] the code i have to insert should simply search all availible modifier for a product and display the required checkboxes on the flypage. I think i could make a workaround with [perl].. but this needs time which i only plan to take if there is no other possibility... thanx, mike From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Aug 30 06:32:01 2001 Subject: [ic] What do you think? (RH you idiots) * Erik wrote on Wed, Aug 29, 2001 at 12:29 -0700: > Why is it, companies like RedHat can't build a friggen mailing > list that only allows subscribers to post? Maybe they have an open policy. Many people think that it is important to have unrestricted communication and they call it freedom :) > I'm so sick of these companies HELP SPAMMERS. You idiots. You can adjust you local spam filter. Try procmail. But be careful, since you cannot be sure that you don't get false-positives (that means, some mail from a friend gets dropped). oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Steffen Dettmer) Date: Thu Aug 30 06:32:20 2001 Subject: [ic] flypage as server side include * Mangeng Michael wrote on Wed, Aug 29, 2001 at 11:24 +0200: > a little question... how can i use instead of flypage.html, > flypage.shtml ? (i need a environment variable on the page) If you want Apache Webserver to server-parse that page, you have a problem. Apache-1.3.x is not able to use both handler cgi-script and another handler like server-parsed for the same thing (== page), they override each other. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel. From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 30 06:40:00 2001 Subject: [ic] AOL 6 Users and Interchange Ed LaFrance <edl@newmediaems.com> writes: > At 03:46 PM 08/29/2001 +0100, you wrote: > >Hi, > > > >I have had 2 AOL 6 users tell me that when they used the IC Shopping Cart, > >started to fill their baskets, but went back to the Home page (index), their > >baskets became empty. > > > >Has anyone else experienced this?, and if so, have you been able to do > >anything about it? > > > >Cheers > > > >Garry > > It could be a cookie issue. Some parts of the construct demo did not work > correctly with browsers that could not / would not accept cookies. Try it > yourself with your favorite browser, disabling cookie support first (don't > forget to start a new browser session). If it happens to you, edit all > forms in the construct demo to include this tag (you should really do this > regardless): > > <input type=hidden name=mv_session_id value="[data session id]"> The UI is quite unusable without cookies too. I hope 4.8.2 will be the "Krümelmonster"-release (which means it works without cookies). I'm working on this :-; Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 30 06:58:01 2001 Subject: [ic] flypage as server side include Steffen Dettmer <steffen@dett.de> writes: > * Mangeng Michael wrote on Wed, Aug 29, 2001 at 11:24 +0200: > > a little question... how can i use instead of flypage.html, > > flypage.shtml ? (i need a environment variable on the page) > > If you want Apache Webserver to server-parse that page, you have > a problem. Apache-1.3.x is not able to use both handler > cgi-script and another handler like server-parsed for the same > thing (== page), they override each other. IMHO it makes no sense at all, too. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Thu Aug 30 07:16:00 2001 Subject: [ic] flypage as server side include > Steffen Dettmer <steffen@dett.de> writes: > > > * Mangeng Michael wrote on Wed, Aug 29, 2001 at 11:24 +0200: > > > a little question... how can i use instead of flypage.html, > > > flypage.shtml ? (i need a environment variable on the page) > > > > If you want Apache Webserver to server-parse that page, you have > > a problem. Apache-1.3.x is not able to use both handler > > cgi-script and another handler like server-parsed for the same > > thing (== page), they override each other. > > IMHO it makes no sense at all, too. > If its just an env variable you need, you could use the Env usertag submitted by Ed LaFrance and do the whole thing in ic: http://lists.akopia.com/pipermail/interchange-users/2001-May/007684.html Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 30 09:31:01 2001 Subject: [ic] Still Clueless >Quoting Russ Riggs (rriggs@pinkpig.com): > Mike Heins wrote: > > > Quoting Frederick R. Matzen (fmatzen@home.com): > > > umask = 022 like you thought. > > > tried configure again. Exact same error. > > > IC is a really nice looking app but I think it might be better if someone > > > who knows unix installs it. > > > > We cannot repeal the UNIX permissions setup. > > > > Bottom line -- if you have permission to modify files, it will > > work. If you don't, it won't. > I'm forced to agree with Mr. Heins. Have your administrator > install the package. It's almost impossible to install any software > system of any complexity without root permission..... > > Good luck.... Actually Interchange installs quite nicely on a virtual host if you have a reasonable perl and normal OS services. In fact, I do 98% of my testing by installing as a regular user; working as root is the exception for me. Interchange has been installed thousands of times on virtual hosting setups. Its ancestry guarantees that -- dedicated boxes are a lot more common now than they were back in '96 when I first did the current installer software. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From: interchange-users at interchange.redhat.com (Michael Mangeng) Date: Thu Aug 30 09:45:01 2001 Subject: [ic] UseModifier, CommonAdjust, Automodifier Hi i`ve run into problems concerning the accessories funtion of ic. in catalog.cfg i`ve set: PriceField 0 CommonAdjust pricing:q2,q5,q10,q25, ;products:price, ==Beizen:pricing, ==Designerbohrungen_im_Ruecken:pricing UseModifier Beizen,Designerbohrungen_im_Ruecken I`m accessing them throught: (flypage.html) [accessories code=[item-code] type=checkbox attribute=Beizen] [accessories code=[item-code] type=checkbox attribute=Designerbohrungen_im_Ruecken] products db: sku Beizen Designerbohrungen_im_Ruecken 123 Beizen Designerbohrungen_im_Ruecken pricing db: sku Beizen Designerbohrungen_im_Ruecken 123 5 10 ##### but if i select one of these options on the flypage (the checkbox gets generate correctly) and order the item, the price doesn`t get corrected according the modifier i have chosen... is there any other thing i`ve forgotten and waht exactly does automodifier do ? thanx Michael Mangeng From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 30 09:53:01 2001 Subject: [ic] What do you think? (RH you idiots) Quoting Jim Balcom (jim@idk-enterprises.com): > > Am I supposed to filter out everything from excite.com? I do -- spammers where abusing their envelope-from (and Bigfoots) so often I simply stopped accepting mail from those domains. And Yahoo, and Hotmail, and anything else that doesn't have my specific address in the To: or Cc: line gets canned. (I save IC messages to a folder before that rule, so I see those.) Bottom line is this -- I think the few spam messages per year are worth not having to deal with the constant hassles of not being able to send to the list. I am one who has many email addresses and comes in from many locations, so I need it myself. And I hate spam. Really hate it. I even wrote a tool (before SpamCop) that helped me trace spammers. It had one feature SpamCop didn't have -- it followed the URL in the message and then checked *its* URLs so that I could complain to the spammer behind the free throwaway web page. But now the RSS and the DUL do such a good job on killing spam I don't see but maybe 20 a week these days. In the worst times of the past few years, I got 500 or more per week. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Mike Heins) Date: Thu Aug 30 09:54:01 2001 Subject: [ic] Still Clueless Quoting chad m. townsend (chad@hq.mycity.com): > > conditional stmts. inside theme.cfg > > i have a Variable named STYLE that the admin can change in the > Preferences area. in theme.cfg i would like say something like this: > > ifdef @STYLE =~ /red/i > Variable BACKGROUND #rgb_code > endif > > ifdef @STYLE =~ /blue/i > Variable BACKGROUND #rgb_code > endif > > etc. sorta like they do for traffic: > > ifdef @TRAFFIC =~ /low/i > Pragma dynamic_variables > endif > > what i'm i doing wrong? it's prob my syntax any help = mucho gracias > Sorry, you will be removed from the list if you keep sending the same message to it 8 times. ifdef STYLE =~ /red/i Variable BACKGROUND #rgb_code endif ifdef STYLE =~ /blue/i Variable BACKGROUND #rgb_code endif @ is for global variables. -- Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 phone +1.513.523.7621 fax 7501 <mheins@redhat.com> Nature, to be commanded, must be obeyed. -- Francis Bacon From: interchange-users at interchange.redhat.com (Bruce) Date: Thu Aug 30 10:34:01 2001 Subject: [ic] minimums for 4.8.1 I am having great difficulties building 4.8.1 on my virtual host site. I can build correctly on my own machine. What files can I build and upload, and what must be built on the site? Are there full directories I can upload? Bruce From: interchange-users at interchange.redhat.com (MIKE SCHUETTPELZ) Date: Thu Aug 30 10:36:01 2001 Subject: [ic] themes.cfg file in interchange 4.8 I have made several changes to the font faces and sizes in the 4.8 templates/themes.cfg file... However, these changes do not take effect on pages that reference the themes.cfg, even after I restart the application... Is there something else I need to do to implement changes to the themes?... thks! From: interchange-users at interchange.redhat.com (Garry) Date: Thu Aug 30 10:37:01 2001 Subject: [ic] Still Clueless This message didn't originate from me !! ??? Garry ----- Original Message ----- From: "Mike Heins" <mheins@redhat.com> To: "chad m. townsend" <chad@hq.mycity.com> Cc: <interchange-users@interchange.redhat.com> Sent: Thursday, August 30, 2001 2:54 PM Subject: Re: [ic] Still Clueless > Quoting chad m. townsend (chad@hq.mycity.com): > > > > conditional stmts. inside theme.cfg > > > > i have a Variable named STYLE that the admin can change in the > > Preferences area. in theme.cfg i would like say something like this: > > > > ifdef @STYLE =~ /red/i > > Variable BACKGROUND #rgb_code > > endif > > > > ifdef @STYLE =~ /blue/i > > Variable BACKGROUND #rgb_code > > endif > > > > etc. sorta like they do for traffic: > > > > ifdef @TRAFFIC =~ /low/i > > Pragma dynamic_variables > > endif > > > > what i'm i doing wrong? it's prob my syntax any help = mucho gracias > > > > Sorry, you will be removed from the list if you keep sending the same > message to it 8 times. > > ifdef STYLE =~ /red/i > Variable BACKGROUND #rgb_code > endif > > ifdef STYLE =~ /blue/i > Variable BACKGROUND #rgb_code > endif > > @ is for global variables. > > -- > Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056 > phone +1.513.523.7621 fax 7501 <mheins@redhat.com> > > Nature, to be commanded, must be obeyed. -- Francis Bacon > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 30 10:40:00 2001 Subject: [ic] todays 4.8.2 CVS Just to let someone know, I updated my 4.8.x stable CVS tree and installed today, and all of the sub-menus in the UI disappeared as in if you clicked on Administration, the Info Tax Shipping Payment Access Preferences Tables Wizard Apply Changes menu wasn't there, same deal for all of the main options in the UI. I read a recent thread that Racke is working on 4.8.2 as being the Krümelmonster. (Cookie/Crumb Monster, if I'm wrong, my excuse is that I haven't spoken/read German in 6-7 years.) Is there now an option that I must set to turn cookies on or off, or could this problem be totally unrelated? Switched back to 4.8.1 tarball, and everything is fine, for now. Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Leon Harris) Date: Thu Aug 30 10:47:00 2001 Subject: [ic] Fixed Pricing Hi Jim. Thanks for your reply. I appreciate you help so far. Does anyone know how I can create a flat.dbm file in ./dbconf/default_db/flat.dbm. I am non-us, so the prefixes of postcodes are irrelevant to us here. Is there a clearer and more reasonable description of how shipping is set than in the icdatabases documentation? I just can't get anywhere with this. Cheers, Leon btw ic 4.7.7 immunix 7.0 perl 5.6.1 using mysql on a separate box via a stunnel encrypted tunnel. Jim Balcom wrote: > On Wed, 29 Aug 2001, Leon Harris wrote: > > LH>>Jim, I thought this would just return the value of the variable SHIP_FLAT_RATE > LH>>without having to lookup any further table. I looked at your email, from Jun > LH>>28, but it seems to be trying to do a lot more than what I want to - I just > LH>>want one shipping price. > > I can understand that. But there are other steps that I detailed there > beyond changing shipping.asc > > LH>>Should there be a shipping.gdbm file in the products directory? - I am missing > LH>>one - I only have a shipping.asc file ? > > No, you don't need a shipping.gdbm file (or, at least I don't have one) > But, I suspect you need a gdbm file for your flat rate file. > > Or, perhaps this works and is easier:::: > > (This is an excerpt from my shipping.asc: > > uspsexp Express Mail weight 0 0 e Nothing to ship! > uspsexp Express Mail weight 0 0.5 12.45 {} > uspsexp Express Mail weight 0.5 2 16.25 {} > uspsexp Express Mail weight 2 3 19.15 {} > uspsexp Express Mail weight 3 4 22.05 {} > ................ etc. > > I suspect that if I change the 0.5 in this second line to something > like 1000 that 12.45 would be applied to everything. > > So: I am suggesting that in shipping.asc that you put: > > flatrate Flat Rate weight 0 0 e Nothing to ship! > flatrate Flat Rate weight 0 1000 12.45 {} > > (Make sure that tabs separate those fields!) > > In country.txt put something like: > > TZ TZ flatrate Tanzania > UA UA flatrate Ukraine > > I recommend going into the admin interface and click on the 'apply > changes' option, and also restart the IC server. > > -= Jim =- > > ---------------------------------------------------------------- > Jim's Linux-Operated Underground Bomb Shelter > > Tagline for Wednesday, August 29, 2001 at 19:00 PM: > Catalyze: To lie while looking cute. > > ---------------------------------------------------------------- > This Linux System has been up 439 hours > > My web page: http://www.idk-enterprises.com > ---------------------------------------------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (David Harrell) Date: Thu Aug 30 10:49:00 2001 Subject: [ic] contents of cart Thanks Ron, the CookieDomain setting fixed that problem. Working nicely. -david Ron Phipps wrote: > > From: interchange-users-admin@interchange.redhat.com > [mailto:interchange- > > users-admin@interchange.redhat.com] On Behalf Of David Harrell > > > > http://www.camotruckseats.com/foundation/ > > https://ssl.camotruckseats.com/foundation/ > > Do you have cookie domain set to: > > CookieDomain .camotruckseats.com > > Do you need to have the domain set to ssl.camotruckseats.com in apache? > Or could you set it up to be www.camotruckseat.com? In Apache you can > set it to respond to one Virtual Domain on port 80 and another Virtual > Domain on port 443 even though the server name will be the same. Or set > the virtual host to respond to both port 80 and port 443 and that > eliminates the need for the second directory. > > We've found, after dealing with a client that would not buy their own > SSL cert, that it is MUCH easier to setup IC when the SSL domain is the > same as the Non-SSL domain. However it is possible to have them in > separate domains by using CookeDomain, WideOpen and SessionExpire. > > Good luck! > -Ron > > > Ed LaFrance wrote: > > > > > At 02:23 PM 08/29/2001 -0500, you wrote: > > > >I have configured everything correctly as far as I know - but when > I > > use > > > >my ssl server, I go to check out and it shows my shopping cart to > be > > > >empty. Whereas, I can view the cart on the non-secure server, and > it > > > >shows all of my items. Anybody know what's going on here? The > secure > > > >server runs in a directory right beside my non-secure, on the same > > > >machine. I can turn SSL off in the admin interface, and it works > fine. > > > > > > > >-David > > > > > > What is you sercure url vs. insecure? > > > > > > - Ed L. > > > > > > >_______________________________________________ > > > >interchange-users mailing list > > > >interchange-users@interchange.redhat.com > > > >http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > > > =============================================================== > > > New Media E.M.S. Software Solutions for Business > > > 463 Main St., Suite D eCommerce | Consulting | Hosting > > > Placerville, CA 95667 edl@newmediaems.com > > > (530) 622-9421 http://www.newmediaems.com > > > (866) 519-4680 Toll-Free (530) 622-9426 Fax > > > =============================================================== > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@interchange.redhat.com > > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@interchange.redhat.com > > http://interchange.redhat.com/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 30 10:52:01 2001 Subject: [ic] minimums for 4.8.1 This is really broad, could your narrow it down or post specific errors that your getting? At 08:32 AM 8/30/01 -0600, you wrote: >I am having great difficulties building 4.8.1 on >my virtual host site. I can build correctly on >my own machine. What files can I build and >upload, and what must be built on the site? Are >there full directories I can upload? > Bruce > > >_______________________________________________ >interchange-users mailing list >interchange-users@interchange.redhat.com >http://interchange.redhat.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (David Harrell) Date: Thu Aug 30 11:01:01 2001 Subject: [ic] Cybercash Anyone out there know about the ins / outs of using Cybercash? I have it included in my interchange.cfg - and when the server starts it uses the cybercash module, however when I place my order, it hangs for about 2 minutes, and says - cybercash error - Unable to encrypt, or something to that extent. This is probably more realated to the Cybercash MCK (Merchant Connection Kit) than it is IC. But.... if any of you have had problems with it before your help is greatly appreciated. By the way, do you have to set _ALL_ of the Cybercash info in the database from the Admin UI? I went through the wizard once I had everything configured with Cybercash, and all it asked for is me to upload the merchant_config, which I did and it seemed to accept it OK. Thanks again. -david From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 30 11:01:27 2001 Subject: [ic] todays 4.8.2 CVS Brian Kosick <briank@nacs.net> writes: > Just to let someone know, I updated my 4.8.x stable CVS tree and installed > today, and all of the sub-menus in the UI disappeared as in if you clicked > on Administration, the > > Info Tax Shipping Payment Access Preferences Tables Wizard Apply Changes > > menu wasn't there, same deal for all of the main options in the UI. I read > a recent thread that Racke is working on 4.8.2 as being the Krümelmonster. > (Cookie/Crumb Monster, if I'm wrong, my excuse is that I haven't > spoken/read German in 6-7 years.) This hairy blue guy living in the garbage can ... Seems that I hosed the English version of the UI in the stable CVS tree. I see if I find a fix. > > Is there now an option that I must set to turn cookies on or off, or could > this problem be totally unrelated? > No, just a plain simple bug :-; Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Bruce) Date: Thu Aug 30 11:05:01 2001 Subject: [ic] minimums for 4.8.1 Errors start with pod2man blowing out on options, to unable to get a good CPAN build after FTP, unable to do CPAN builds and even unable to get cpan_local_install to work. I have sent the info to my host for their help. Meanwhile, I am willing to handcarve a minimal working build, using as much as I can from my good build and uploading it, modifying what I have to on the site. IC 4.6.5 did build, except for the sql and safe hole modules. So it is an option to modify that. Bruce From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Thu Aug 30 11:09:01 2001 Subject: [ic] todays 4.8.2 CVS Brian Kosick <briank@nacs.net> writes: > Just to let someone know, I updated my 4.8.x stable CVS tree and installed > today, and all of the sub-menus in the UI disappeared as in if you clicked > on Administration, the > > Info Tax Shipping Payment Access Preferences Tables Wizard Apply Changes > > menu wasn't there, same deal for all of the main options in the UI. I read > a recent thread that Racke is working on 4.8.2 as being the Krümelmonster. > (Cookie/Crumb Monster, if I'm wrong, my excuse is that I haven't > spoken/read German in 6-7 years.) I love fast fixes :-) OK, the submenus should be visible again. The moral of the story: make no jokes about the Krümelmonster. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Richard Seymour) Date: Thu Aug 30 11:36:01 2001 Subject: [ic] problem NOT encrypting credit card numbers (in 4.8) I am attempting to send a test order via email without encrypting it. credit card number = 4111 1111 1111 1111 I am NOT attempting to PGP/GPG encrypt the number. (The eventual intention is to mail in the clear to an email address on the same box that is only accessable to the shopkeeper via secure IMAP.) Recently upgraded to 4.8.1 from 4.6.5. This was working before. Now, upon submission, I get redirected to the "missing.html" page. And this appears in the error log: N.N.N.N KoiHscYM:N.N.N.N - [30/August/2001:08:05:41 -0700] mytest /store/mytest/process PGP failed with status 131072: Ideas??? etc/profiles.order: __NAME__ credit_profile name=required address1=required city=required state=required zip=required email=required &fatal=yes &final=yes &credit_card=standard keep __END__ __NAME__ nocredit_profile name=required address1=required city=required state=required zip=required &fatal=yes &final=yes __END__ ----- $ rpm -qi interchange Name : interchange Relocations: (not relocateable) Version : 4.8.1 Vendor: Red Hat, Inc. Release : 1 Build Date: Mon 13 Aug 2001 10:09:20 PM PDT Install date: Wed 29 Aug 2001 07:39:38 PM PDT Build Host: compaq4.reston.redhat.com Group : Applications/Internet Source RPM: interchange-4.8.1-1.src.rpmSize : 3542204 License: GPL Packager : Interchange Development Team <interchange@redhat.com> URL : http://interchange.redhat.com/ Summary : Interchange - a database access and HTML templating system focused on ecommerce Description : Interchange is the most powerful free ecommerce system available today. $ cat /etc/issue Red Hat Linux release 7.1 (Seawolf) Kernel 2.4.3-12 on an i686 -- Richard Seymour : Anarchy Software, Inc. - * - - * - - - * -+- * - - - * - - * - `°º¤ø,¸ ¸,ø¤º°' `°º¤ø,¸¸,ø¤º° From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 30 11:54:00 2001 Subject: [ic] todays 4.8.2 CVS <snip> >I love fast fixes :-) >OK, the submenus should be visible again. >The moral of the story: make no jokes about the Krümelmonster. > >Ciao > Racke Rock on, all better. The OTHER blue guys If I Remember Correctly are the. Schlumpfkin aka Smurfs ;-) You just gotta love OSS! Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Thu Aug 30 12:03:00 2001 Subject: [ic] Cybercash At 10:00 AM 08/30/2001 -0500, you wrote: >Anyone out there know about the ins / outs of using Cybercash? I have it >included in my interchange.cfg - and when the server starts it uses the >cybercash module, however when I place my order, it hangs for about 2 >minutes, and says - cybercash error - Unable to encrypt, or something to >that extent. This is probably more realated to the Cybercash MCK >(Merchant Connection Kit) than it is IC. But.... if any of you have had >problems with it before your help is greatly appreciated. By the way, do >you have to set _ALL_ of the Cybercash info in the database from the >Admin UI? I went through the wizard once I had everything configured >with Cybercash, and all it asked for is me to upload the >merchant_config, which I did and it seemed to accept it OK. >Thanks again. > Mike Heins posted the 'official' Cybercash docs for Interchange to this list some time ago. At that time the info could not be found anywhere else, and I don't know if that situation has improved: http://developer2.akopia.com/archive/interchange-users/2001/msg03608.html - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Juan Gonzalo Lopez) Date: Thu Aug 30 12:20:01 2001 Subject: [ic] Authorize.net Hello Folks, I am sorry to ask this, but a real newbie on Interchange. I have a merchant account system for my payments with Authorize.net and I want to use it with Interchange, but I am not able to find how, can you tell me how to start. Thank you Juan! From: interchange-users at interchange.redhat.com (Luis Filipe Silvestre Marques) Date: Thu Aug 30 13:14:00 2001 Subject: [ic] [more-list] problem (need explanation) Hi, i'm new to Interchance, and I'm messing around with the tutorial, trying to show list of products, right from my sql database, but I want to paginate the result. I'm using the following: > > [query sql="select b_id, b_descricao from brand order by b_descricao" > type=list > more=1 > ml=2 > prefix=marcas >list_prefix=l_marcas] > > [l_marcas] > <tr> > <td>[marcas-code]</td> > <td><a href="[marcas-code].html">[marcas-param b_descricao]</a></td> > </tr> > [/l_marcas] > > <tr> > <td colspan="2"> > [more_list] > [more] > [/more_list] > </td> > </tr> > [/query] > In the first page returned, if I use the links I go to the flypage.html, where a more detailed description of the product is. But if I start using the paginate links that the [more-list] generates, the products links in those pages try to do a search, instead of calling the flypage. What am I doing wrong??? Is there another way of paginate a result?? Here are the links I obtain: the link I want -> http://testes4.loja.local/cgi-bin/tutorial/1.html the link I don't want -> http://testes4.loja.local/cgi-bin/tutorial/scan/2.html I would appreciate any help, thanks, -- Luís Filipe Silvestre Marques L8 Tecnologias de Informação, Lda Rua Alves Redol Nº11 - 1 Andar 1000-030 LISBOA Tel: +351 217800009 Fax: +351 217800012 www.l8ti.com From: interchange-users at interchange.redhat.com (Scott Trunkhill) Date: Thu Aug 30 13:23:00 2001 Subject: [ic] Custom shipping question We have a customer that wants to change a flat rate for one category of sales and charge a scaled price based on price for everything else. The category Saddles should have a flat $50 charge added for shipping and the cost of the saddle should be removed from the total of the order before the rest of the shipping cost is calculated. Has anybody done anything like this? I haven't been able to find anything that talks about doing a calculation this way. Thanks, -- Scott Trunkhill From: interchange-users at interchange.redhat.com (Zack Johnson) Date: Thu Aug 30 13:29:00 2001 Subject: [ic] Random 500 errors (revived 'Server Errors' thread) A recent thread (http://developer2.akopia.com/archive/interchange-users/2001/msg05467.html) raised a problem we've faced. However, the thread died without a resolution of the problem. We run 4.8.1. Interchange throws 500 errors after a random interval while we work on a stock 'foundation' catalogue. Refreshing a few times brings the page back up. After a few minutes, refreshing looses efficacy. Restarting IC usually fixes things. No abnormal log entries show up in any logs. Zack Johnson Internet Manager Standard Printing & Web Center St. Augustine, FL 32084 phone (904) 829-6488 fax (904) 824-2959 www.standardprinting.net From: interchange-users at interchange.redhat.com (Kyle Cook) Date: Thu Aug 30 13:49:01 2001 Subject: [ic] [more-list] problem (need explanation) At 11:13 AM 8/30/01, you wrote: > Hi, i'm new to Interchance, and I'm messing around with the tutorial, >trying to show list of products, right from my sql database, but I want to >paginate the result. > I'm using the following: > > > > [query sql="select b_id, b_descricao from brand order by b_descricao" > > type=list > > more=1 > > ml=2 > > prefix=marcas > >list_prefix=l_marcas] > > > > [l_marcas] > > <tr> > > <td>[marcas-code]</td> > > <td><a href="[marcas-code].html">[marcas-param b_descricao]</a></td> > > </tr> > > [/l_marcas] > > > > <tr> > > <td colspan="2"> > > [more_list] > > [more] > > [/more_list] > > </td> > > </tr> > > [/query] > > > > In the first page returned, if I use the links I go to the flypage.html, >where a more detailed description of the product is. But if I start using the >paginate links that the [more-list] generates, the products links in those >pages try to do a search, instead of calling the flypage. What am I doing >wrong??? Is there another way of paginate a result?? > Here are the links I obtain: > the link I want -> > http://testes4.loja.local/cgi-bin/tutorial/1.html > the link I don't want -> > http://testes4.loja.local/cgi-bin/tutorial/scan/2.html > > > I would appreciate any help, thanks, > > >-- >Luís Filipe Silvestre Marques >L8 Tecnologias de Informação, Lda >Rua Alves Redol Nº11 - 1 Andar 1000-030 LISBOA >Tel: +351 217800009 Fax: +351 217800012 >www.l8ti.com >_______________________________________________ Luis, I believe you need to change the following line from: <td><a href="[marcas-code].html">[marcas-param b_descricao]</a></td> to: <td>[page href="[marcas-code]"][marcas-param b_descricao]</a></td> Because when you use paging, your url changes and your relative link will then fail. Kyle Cook From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 30 14:10:01 2001 Subject: [ic] Still Clueless At 03:36 PM 8/30/2001 +0100, you wrote: >This message didn't originate from me !! ??? > >Garry Garry, you're a funny guy and I love having you here. Even if Mike was talking to you I think he would let it slide for a little while since you generate a lot of funnies on the list (on purpose, right?). Luckily, this time Mike was talking to Chad. To: "chad m. townsend" <chad@hq.mycity.com> Cc: interchange-users@interchange.redhat.com HAND! Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Richard White) Date: Thu Aug 30 14:15:00 2001 Subject: [ic] Problems with tutorial I had a problem with the checkout. I kept getting a message that something was missing but it never indicated the value. I hacked on it for about a week with no luck. Richard --- Aaron Kincer <aaronkincer@hotmail.com> wrote: > Is anyone else having problems getting the tutorial to work for 4.8.1 > on Red > Hat 7.1? I have followed the directions exactly up to the end of > section > 7.1 of the tutorial. When I restart interchange and try to view the > page, > it does not work. I have tried a huge multitude of things including > makecat. I also verified that the permissions for everything was the > same > for both the foundation and the tutorial. The foundation works fine, > but > tutorial does not. > > If I type localhost/cgi-bin/foundation I get the storefront for the > foundation. If I type localhost/cgi-bin/tutorial I get a "catalog not > defined" error. Any ideas anyone? > > Thanks in advance for any help provided. > > Aaron > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Tito Abreu) Date: Thu Aug 30 14:26:00 2001 Subject: [ic] Errors Messages Hi friends I am using the Interchange version 4,8,1, and I am translating this to Portuguese... Somebody, would know to say me where can find the messages of errors of shopping? In which archives these messages are kept? Thanks, ___________________________________ Tito Abreu WebDesigner e-Business Solutions Connection Network Systems Ltda. Rua do Rosario, 103/10 andar - Centro -RJ CEP: 20041-004 http://www.connection.com.br From: interchange-users at interchange.redhat.com (Garry) Date: Thu Aug 30 14:35:00 2001 Subject: [ic] Still Clueless Hi, I use outlook express and get it to sort my mail into folders. This email from Mike fell into my personal folder instead of the usual IC one.... I thought he was cross with me ! I shouldn't be so paranoid !! Thanks for the kind words - I try to adopt a light hearted approach to life - but take things seriously and responsibly at the same time - esp IC !! (which I love to bits !!) Cheers Garry ----- Original Message ----- From: "Dan Browning" <db@cyclonehq.dnsalias.net> To: <interchange-users@interchange.redhat.com> Sent: Thursday, August 30, 2001 7:04 PM Subject: Re: [ic] Still Clueless > At 03:36 PM 8/30/2001 +0100, you wrote: > >This message didn't originate from me !! ??? > > > >Garry > > Garry, you're a funny guy and I love having you here. Even if Mike was > talking to you I think he would let it slide for a little while since you > generate a lot of funnies on the list (on purpose, right?). Luckily, this > time Mike was talking to Chad. > > To: "chad m. townsend" <chad@hq.mycity.com> > Cc: interchange-users@interchange.redhat.com > > HAND! > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From: interchange-users at interchange.redhat.com (Ivette Mestre) Date: Thu Aug 30 14:49:01 2001 Subject: [ic] spanish translation Hi everybody, I'm very new to interchange and my first task is to create a store in spanish. So far, with the help of the postings on the list, I managed to localize and "translate" to french, as this is one of the fields by default in LocaleDatabase. It was pretty easy, using the [L]...[/L] tag. I would like to use the same when translating into spanish, but for that I think I need to add the field es_CO or something similar in the LocaleDatabase. Please advise, thanks in advance ivt __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Thu Aug 30 15:20:00 2001 Subject: [ic] Question about customer login using Akopia Interchange 4.6. Dear Interchange users, I have a quick question about Customer logging into my online store. Im using Akopia Interchange 4.6 My store is almost ready, Im just working out the kinks now..anyway I made a fake account for me to test some things and I log out then I try to log back into my store I put my Name and Password and click the "Log In" but the same "Log In" page comes up again. I can't seem to be able to log into my store. Only when I make a new acount. That's the only way? Does anyone know of something that I can do? I appreciate anyone's help! Thanks a million! Nick Gregory Psirix@aol.com From: interchange-users at interchange.redhat.com (Dan Browning) Date: Thu Aug 30 16:15:01 2001 Subject: [ic] spanish translation At 11:48 AM 8/30/2001 -0700, you wrote: >Hi everybody, >I'm very new to interchange and my first task is to >create a store in spanish. >So far, with the help of the postings on the list, I >managed to localize and "translate" to french, as this >is one of the fields by default in LocaleDatabase. It >was pretty easy, using the [L]...[/L] tag. I would >like to use the same when translating into spanish, >but for that I think I need to add the field es_CO or >something similar in the LocaleDatabase. >Please advise, >thanks in advance >ivt es_CO, is that for Espanol Colorado? Colorado is now the number one state for Mexican immigration (and who can blame them, I love skiing too). On a more serious note, you might be interested in the interchange-i18n mailing list: http://lists.akopia.com/mailman/listinfo/interchange-i18n I believe that some of the documentation covers translation as well. HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Brian Kosick) Date: Thu Aug 30 16:31:00 2001 Subject: [ic] Possible <textarea> bug in admin UI 4.7.7 Page Editor is still experiencing this problem. I should have replied to this LONG ago. Maybe I should put it in BugZilla At 11:06 PM 7/27/01 -0400, you wrote: >Quoting Kyle Cook (kyle@invisio.com): > > At 02:29 PM 7/27/01, you wrote: > > >I just want to let people know that I can reproduce this on any page > on my > > >site. I have a form that has a text area tag > > > > > ><textarea rows="4" name="Questions" cols="60" wrap="VIRTUAL"></textarea> > > > > > >When editing this through the UI, it doesn't display anything after the > > ><textarea rows="4" name="Questions" cols="60" wrap="VIRTUAL"> tag. > > > > > >take out the </textarea> everything shows up again. > > > > > > > Brian, > > > > Hmmm, tough one. The only patch that comes to mind is > > something like filtering the display value of the page > > through something like: > > > > =~ s/<\/textarea>/<\/CLOSING TEXTAREA>/gi; > > > > (add the usuall checking for spaces in the tag etc....) > > > >I have been following this, but I cannot see what the context is -- is >it in the UI Page editor, a database table editor, or what? > >-- >Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013 >phone +1.513.523.7621 <mheins@redhat.com> > >My wife is great. She doesn't care where I go, just as long as I don't >have any fun. -- Lee Trevino >_______________________________________________ >Interchange-users mailing list >Interchange-users@lists.akopia.com >http://lists.akopia.com/mailman/listinfo/interchange-users Brian Kosick Web Programmer New Age Consulting Service, Inc. 216-619-2000 briank@nacs.net From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Aug 30 18:09:00 2001 Subject: [ic] What do you think? (RH you idiots) On Thu, 30 Aug 2001, Mike Heins wrote: MH>>And I hate spam. Really hate it. I even wrote a tool (before SpamCop) that MH>>helped me trace spammers. It had one feature SpamCop didn't have -- it MH>>followed the URL in the message and then checked *its* URLs so that I MH>>could complain to the spammer behind the free throwaway web page. MH>> MH>>But now the RSS and the DUL do such a good job on killing spam I don't MH>>see but maybe 20 a week these days. In the worst times of the past MH>>few years, I got 500 or more per week. I hate spam too! I have repeatedly sent the offending messages (with headers intact) to the abuse departments of their ISPs and in many cases I've gotten their accounts closed. But, it's much like playing 'whack-a-mole'. The spam got so bad on one domain name of mine that I have simply closed that domain name down for receiving mail and all mail to it gets bounced. The few that do get through and don't seem to be coming from reasonable ISPs get added to my sendmail configuration files (all 5 servers) to reject their mail - IF they have gotten through the Blackhole Registry, as well as 'domain name must resolve' criteria. I've got nearly a dozen e-mail accounts. I've been amazingly spam-free for several months. I've worked hard to eliminate spam from my life, and I've pretty much succeeded. Roaches greatly irritate me, too. And, when I do see one, I take great steps to get it out of my house and my life. I treat spam the same way. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 30, 2001 at 18:00 PM: Hard work has a future payoff. Laziness pays off now. ---------------------------------------------------------------- This Linux System has been up 462 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Aug 30 18:18:00 2001 Subject: [ic] Fixed Pricing On Thu, 30 Aug 2001, Leon Harris wrote: LH>>Does anyone know how I can create a flat.dbm file in ./dbconf/default_db/flat.dbm. I LH>>am non-us, so the prefixes of postcodes are irrelevant to us here. Is there a LH>>clearer and more reasonable description of how shipping is set than in the LH>>icdatabases documentation? I just can't get anywhere with this. As far as I know you can not manually create flat.dbm In my last message I wrote it carefully to assume that you are non-US and perhaps living in the country of Brackus. I offered the USPS Express Mail portion of my file only as an example of what is working here and as a model for you to build on. I did not need to build a .dbm file for Express Mail. I simply made those 2 changes that I suggested to you, I went into the UI and clicked on 'Apply Changes' and restarted the server, and it all worked. If that's not working for you, then my guess is that this is something that changed from 4.6.1 to 4.7.7 -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 30, 2001 at 18:15 PM: Oxymoron: Sweet sorrow. ---------------------------------------------------------------- This Linux System has been up 462 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Aug 30 18:26:01 2001 Subject: [ic] Still Clueless On Thu, 30 Aug 2001, Garry wrote: G>>Thanks for the kind words - I try to adopt a light hearted approach to G>>life - but take things seriously and responsibly at the same time - esp IC G>>!! (which I love to bits !!) Life is too short to take it seriously! And, now with one foot in the grave and the other foot on a bannanna peel, I don't give a damn and just want to have fun! (When I was young, the Dead Sea was still alive!) -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 30, 2001 at 18:25 PM: Does the name Quasimoto ring a bell? ---------------------------------------------------------------- This Linux System has been up 463 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Jim Balcom) Date: Thu Aug 30 18:33:01 2001 Subject: [ic] Question about customer login using Akopia Interchange On Thu, 30 Aug 2001 Psirix@aol.com wrote: >>I have a quick question about Customer logging into my online store. >>Im using Akopia Interchange 4.6 My store is almost ready, Im just >>working out the kinks now. Great! It's a sharp learning curve! It took me several months to get to that point, but I made it! >>.anyway I made a fake account for me to >>test some things and I log out then I try to log back into my store I >>put my Name and Password and click the "Log In" but the same "Log In" >>page comes up again. I can't seem to be able to log into my store. >>Only when I make a new acount. That's the only way? Does anyone know >>of something that I can do? I appreciate anyone's help! The thought that comes to my mind (wrong perhaps!) is that you are allowing auto-logons. Customers can set this individually. You can set it globally in catalog.cfg. Check your error log. You may also have a permissions problem and it can't write the information to the data base. -= Jim =- ---------------------------------------------------------------- Jim's Linux-Operated Underground Bomb Shelter Tagline for Thursday, August 30, 2001 at 18:30 PM: "Knights are hardly worth the trouble! All that shell and so little meat!" ---------------------------------------------------------------- This Linux System has been up 463 hours My web page: http://www.idk-enterprises.com ---------------------------------------------------------------- From: interchange-users at interchange.redhat.com (Randy Clapp) Date: Thu Aug 30 19:54:00 2001 Subject: [ic] Cybercash > Anyone out there know about the ins / outs of using Cybercash? > <snip> David, Are you aware that Verisign is phasing out Cybercash in favor of their own payment gateway system. The following is an excerpt from a letter dated 8/7/01: Important CyberCash customer announcement: Our records show that you are currently registered to process payments through the CyberCash payments gateway. As you know, VeriSign recently acquired CyberCash, and is presently working to integrate the CyberCash CashRegister service into the VeriSign Payment Services (VPS) system. We plan to modify the connection from the CashRegister service to redirect your transactions to the VeriSign PayFlow payment service. When this effort is completed, credit card transactions from your Web site will be processed through the VeriSign system. We intend to make this transition as simple and seamless for you as possible. When the integration is complete, you will begin accessing the VeriSign PayFlow Manager for administration instead of the CyberCash E-Commerce Services Manager. These modifications are currently in pilot with a small number of selected merchants. Upon completion of the pilot, we plan to roll out this conversion to our entire merchant base. We anticipate this process to begin sometime within the next six weeks. You will shortly begin receiving a series of schedule updates for migrating merchants. We're still using Interchange 4.6.x and haven't migrated to the 4.8.x branch yet. I was personally holding moving our production stores over to 4.8.x until we had to make the payment gateway switch. - Randy From: interchange-users at interchange.redhat.com (Rick Lord) Date: Thu Aug 30 20:47:00 2001 Subject: [ic] Interchange and debian I am having a hard time setting up a catalog under interchange. I am using Interchange 4.8.1 with Debian. I installed it with apt-get. When I try to create one it gets to the point where it trys to make the catalog directory I get the error "permission denied at /usr/lib/interchange/bin/makecat line 1487 Any good ideas? Thanks. -- Rick Lord Desert Lord Enterprises http://www.desertlord.com From: interchange-users at interchange.redhat.com (Lee Choquette) Date: Thu Aug 30 23:56:01 2001 Subject: [ic] Running Interchange on an ISP How easy is it to use Interchange when I don't own the Web server? My ISP says that they have: MySQL database Full CGI support (php on request) Secure server access featuring SSL encryption (https://) Roxen web server software functionality including counters, etc. And my account includes shell access, gcc and g++, etc. Is this sufficient to run Interchange, or do I need a server that's completely under my control? Thanks, Lee From: interchange-users at interchange.redhat.com (Jon Jensen) Date: Fri Aug 31 01:59:01 2001 Subject: [ic] Possible <textarea> bug in admin UI 4.7.7 On Thu, 30 Aug 2001, Brian Kosick wrote: > Page Editor is still experiencing this problem. I should have replied to > this LONG ago. Maybe I should put it in BugZilla > > At 11:06 PM 7/27/01 -0400, you wrote: > >Quoting Kyle Cook (kyle@invisio.com): > > > At 02:29 PM 7/27/01, you wrote: > > > >I just want to let people know that I can reproduce this on any page > > on my > > > >site. I have a form that has a text area tag > > > > > > > ><textarea rows="4" name="Questions" cols="60" wrap="VIRTUAL"></textarea> > > > > > > > >When editing this through the UI, it doesn't display anything after the > > > ><textarea rows="4" name="Questions" cols="60" wrap="VIRTUAL"> tag. > > > > > > > >take out the </textarea> everything shows up again. This bug was fixed a few days ago in CVS (pre-4.8.2). Jon From: interchange-users at interchange.redhat.com (Joachim Leidinger) Date: Fri Aug 31 03:05:01 2001 Subject: [ic] Problems with tutorial Richard White wrote: > > I had a problem with the checkout. I kept getting a message that > something was missing but it never indicated the value. I hacked on it > for about a week with no luck. You have a wrong subject in your email. Please! Correct it! Regarding you problem with the checkout, add a line like TEST: What ist happen? [error all=1 show_var=1 keep=1 show_error=1]<BR> an see what you get. Check the etc/profiles.order too! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce [Hans-Joachim.leidinger@bpanet.de] Black Point Arts Internet Solutions GmbH http://www.bpanet.de From: interchange-users at interchange.redhat.com (Support) Date: Fri Aug 31 03:08:01 2001 Subject: [ic] makecat crashes I wonder if I am typing something wrong. When I get to the following step, I get the error and it returns me to the prompt. Does anyone know what I did wrong? ImageUrl? /cartstor/images Couldn't change directory to /usr/local/interchange/ : No such file or director -- John D. Gorena Office: 972-315-0496 Fax: 972-315-3104 From: interchange-users at interchange.redhat.com (Support) Date: Fri Aug 31 03:38:01 2001 Subject: [ic] Need Help with a Cobalt Raq4i makecat Does anyone out there have Interchange installed on a cobalt Raq4i? It seems to install OK but I cannot seem to complete the Makecat procedure without it breaking out of the process. If I could walk through the prompts with someone, that would help. Anyone wanna maybe set up a catalog and print the setup for me to follow? I must be typing something in wrong somewhere. When I get to the following step, I get the error and it returns me to the prompt. ImageUrl? /cartstor/images Couldn't change directory to /usr/local/interchange/ : No such file or director -- John D. Gorena Office: 972-315-0496 Fax: 972-315-3104 From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 31 05:55:00 2001 Subject: [ic] Running Interchange on an ISP Lee Choquette <leec@xmission.com> writes: > How easy is it to use Interchange when I don't own the Web server? My ISP says > that they have: > MySQL database > Full CGI support (php on request) > Secure server access featuring SSL encryption (https://) > Roxen web server software functionality including counters, etc. > > And my account includes shell access, gcc and g++, etc. > > Is this sufficient to run Interchange, or do I need a server that's completely > under my control? Seems to be sufficient, but you should ask the ISP if he allows you to run a daemon. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Rob Buijs) Date: Fri Aug 31 07:21:01 2001 Subject: [ic] spanish translation This is a bit off-topic, but are there any other interchange related mailing lists? I am currently reading interchange-users and interchange-announce, because I found them on the ic.redhat.com page, this is the first time I hear about i18n. Perhaps there are other lists that might be usefull for me. Thanks, Rob > On a more serious note, you might be interested in the interchange-i18n > mailing list: > > http://lists.akopia.com/mailman/listinfo/interchange-i18n > > I believe that some of the documentation covers translation as well. HTH, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Rob Buijs) Date: Fri Aug 31 07:42:01 2001 Subject: [ic] affiliate login Hi List, I'm playing around with IC 4.8.1 at the moment and noticed the affiliate login doesn't seem to do anything. Not just on my box, also on the demo at http://demo.interchange.redhat.com/cgi-bin/ic3/affiliate/login.html If I go there, all I get is a "Log in as an affiliate" on the screen (besides the normal buttons and . When I take a look at the HTML, it is broken off just after this text. Should this login be working in the demo or is this an unfinished or non-functional part of the demo? Thanks, Rob From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 31 08:07:01 2001 Subject: [ic] affiliate login "Rob Buijs" <rob@merchandisingdirect.com> writes: > Hi List, > > I'm playing around with IC 4.8.1 at the moment and noticed the affiliate > login doesn't seem to do anything. > > Not just on my box, also on the demo at > http://demo.interchange.redhat.com/cgi-bin/ic3/affiliate/login.html > > If I go there, all I get is a "Log in as an affiliate" on the screen > (besides the normal buttons and . When I take a look at the HTML, it is > broken off just after this text. > > Should this login be working in the demo or is this an unfinished or > non-functional part of the demo? No, just looks like unbalanced table tags. Please file a bug report. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 31 09:13:00 2001 Subject: [ic] Interchange and debian "Rick Lord" <rick@desertlord.com> writes: > I am having a hard time setting up a catalog under interchange. > I am using Interchange 4.8.1 with Debian. I installed it with apt-get. > When I try to create one it gets to the point where it trys to make the > catalog directory I get the error "permission denied at > /usr/lib/interchange/bin/makecat line 1487 > Any good ideas? > Thanks. This is probably a bug in the Debian package. But the following should work: apt-get install interchange-cat-foundation Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ivette Mestre) Date: Fri Aug 31 09:20:00 2001 Subject: [ic] spanish translation Of course, I didn't know about the list and I think a lot of folks don't, because it doesn't have much activity. It would be great to have more information about the existence of this and other specific lists. Thanks for your help, ivt PS. es_CO = spanish Colombia --- Dan Browning <db@cyclonehq.dnsalias.net> wrote: > At 11:48 AM 8/30/2001 -0700, you wrote: > >Hi everybody, > >I'm very new to interchange and my first task is to > >create a store in spanish. > >So far, with the help of the postings on the list, > I > >managed to localize and "translate" to french, as > this > >is one of the fields by default in LocaleDatabase. > It > >was pretty easy, using the [L]...[/L] tag. I would > >like to use the same when translating into spanish, > >but for that I think I need to add the field es_CO > or > >something similar in the LocaleDatabase. > >Please advise, > >thanks in advance > >ivt > > es_CO, is that for Espanol Colorado? Colorado is > now the number one state > for Mexican immigration (and who can blame them, I > love skiing too). > > On a more serious note, you might be interested in > the interchange-i18n > mailing list: > > http://lists.akopia.com/mailman/listinfo/interchange-i18n > > I believe that some of the documentation covers > translation as well. HTH, > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 31 09:31:01 2001 Subject: [ic] spanish translation Ivette Mestre <ivtmesic@yahoo.com> writes: > Of course, I didn't know about the list and I think a > lot of folks don't, because it doesn't have much > activity. We will start the discussion of i18n issues concerning the foundation catalog in a few days, so I expect the traffic on this list going up. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Patrick S. Stuckenberger) Date: Fri Aug 31 11:46:01 2001 Subject: [ic] not able to start customer or admin interface hi@all! maybe you can help me. os suse 7.1 kernel 2.2.18 interchange v 4.8.1 run makecat, user mode, no suexec, interchange user is interch gave the makecat the right pathes but after visiting myhost/shop I get only the "We are sorry page.." I see that the process interchange runs (ps -aux) but no hope :-( tank you, patrick From: interchange-users at interchange.redhat.com (Faye Gibbins) Date: Fri Aug 31 11:50:01 2001 Subject: [ic] Job hunting Hi, I'm looking for a new job. I have extensive skills in sys admin, programming and building distributed on-line shopping malls, cv on request. e.g. http://www.scotweb.co.uk/shopping/carn/ord/sw-mall Please pass this around. Yours Faye -- ____ \__/ Faye Gibbins faye@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 ----------------------------------------------------------------------- For instructions on how to unsubscribe from the edlug list and other announcements please look at http://www.edlug.ed.ac.uk/. From: interchange-users at interchange.redhat.com (Tim Watts) Date: Fri Aug 31 11:50:11 2001 Subject: [ic] filter last name I know this has to be easy but I'm having a brain cramp I want to use just the first 3 letters of the users last name and make it all uppercase I've tried just to set it to uppercase with [filter uc][value lname][/filter] but tht does not work just to change it to all UC Thanks for any help in advance, Tim From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Fri Aug 31 12:24:01 2001 Subject: [ic] filter last name > I want to use just the first 3 letters of the users last name and make it > all uppercase > > I've tried just to set it to uppercase with > > [filter uc][value lname][/filter] > > but tht does not work just to change it to all UC > what about [value name=lname filter=uc] you can create your own filter by adding the following to interchange.cfg (if my perl is any good): GlobalSub <<EOR sub new_filter { BEGIN { package Vend::Interpolate; $Filter{first_three_uc} = sub my $val = shift; $val = uc($val); $val = substr($val,0,3); return $val; }; } # close BEGIN } EOR and then use [value name=lname filter=first_three_uc] Filters are great! Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Chad Wittrock) Date: Fri Aug 31 12:24:19 2001 Subject: [ic] Troubles with Admin UI when adding/editing categories I am having some trouble with the Admin UI when I add or edit categories. When I want to add a category, I get to the form to fill in the necessary fields, but when I click OK, the category is created but I am sent back to the form with all the same information filled in except the code which is replaced with "new". Has anyone else experienced this problem? Editing does the same thing. Also when I want to add a category and I have just logged into the Admin UI; selecting "New Entry" brings up the last category that was added instead of a clear form like it should. Does anybody have any suggestions? I can work around this, but it becomes a lot of work after I get a few more categorys. thanks in advance. Chad ============================================================================ Chad M. Wittrock UUUUUUUUUUUUUU NNNNNNNNNNNNNN IIIIIIIIIIIII Programmer Analyst UUUUUUUUUUUUUU NNNNNNNNNNNNNN IIIIIIIIIIIII Gilchrist 255 UUUUU NNNNN IIIII University of Northern Iowa UUUUU NNNNN IIIIIIIIIII Cedar Falls, IA 50614-0007 UUUUU NNNNN IIIIII Phone: (319) 273-7437 UUUUUUUUUUUUUU NNNNN IIIIIIIIIIIIIII Fax: (319) 273-5836 UUUUUUUUUUUUUU NNNNN IIIIIIIIIIIIII Email: Chad.Wittrock@uni.edu From: interchange-users at interchange.redhat.com (Ed LaFrance) Date: Fri Aug 31 12:31:00 2001 Subject: [ic] filter last name At 11:23 AM 08/31/2001 -0400, you wrote: >I know this has to be easy but I'm having a brain cramp > >I want to use just the first 3 letters of the users last name and make it >all uppercase > >I've tried just to set it to uppercase with > >[filter uc][value lname][/filter] > >but tht does not work just to change it to all UC > >Thanks for any help in advance, > A little Perl is needed, maybe something like this (untested): [calc]return uc(substr q{[value lname]}, 0, 3)[/calc] - Ed L. =============================================================== New Media E.M.S. Software Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From: interchange-users at interchange.redhat.com (Jonathan Clark) Date: Fri Aug 31 12:37:00 2001 Subject: [ic] filter last name > GlobalSub <<EOR > sub new_filter { > BEGIN { > package Vend::Interpolate; > $Filter{first_three_uc} = sub > > my $val = shift; > $val = uc($val); > $val = substr($val,0,3); appear to have lost a few chars somewhere along the line... should be: . . $Filter{first_three_uc} = sub { my $val = shift; . . Jonathan Webmaint. From: interchange-users at interchange.redhat.com (Tim Watts) Date: Fri Aug 31 13:10:00 2001 Subject: [ic] filter last name thanks Jonathan! on 8/31/01 12:22 PM, Jonathan Clark at jonc@webmaint.com wrote: > [value name=lname filter=uc] returns WATTS [value name=lname filter="uc 3"] returns WAT on 8/31/01 12:22 PM, Jonathan Clark at jonc@webmaint.com wrote: > >> I want to use just the first 3 letters of the users last name and make it >> all uppercase >> >> I've tried just to set it to uppercase with >> >> [filter uc][value lname][/filter] >> >> but tht does not work just to change it to all UC >> > > what about [value name=lname filter=uc] > > you can create your own filter by adding the following to interchange.cfg > (if my perl is any good): > > GlobalSub <<EOR > sub new_filter { > BEGIN { > package Vend::Interpolate; > $Filter{first_three_uc} = sub > > my $val = shift; > $val = uc($val); > $val = substr($val,0,3); > return $val; > }; > } # close BEGIN > } > EOR > > and then use [value name=lname filter=first_three_uc] > > Filters are great! > > Jonathan > Webmaint. > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 31 13:38:01 2001 Subject: [ic] PGP Mime Header Anyone familiar with the best way to configure a mailer for Win2k and Win98 to automatically open the attachment with PGP? I have v7.03. I have tried using Outlook and GroupWise 5.5.4, but Outlook doesn't even recognize the attachment, and GroupWise, well, groupwise just sucks. I am running IC 4.6.5 btw, and using gpg 1.0.6 Part of the problem might be with the attachment filename, 'pp>' My catalog name is PP, but I would like to change the filename somehow (at least add an .asc extension). from catalog.cfg Variable MV_PAYMENT_MODE minivend_test Variable ENCRYPTOR /usr/local/bin/gpg --encrypt --armor -r user@host.com 2>/home/ic/debug_gpg PGP __ENCRYPTOR__ EncryptProgram __ENCRYPTOR__ CreditCardAuto No Route main attach 0 Route main credit_card 0 Route main cybermode "" Route main default 1 Route main email 'cgilmore@ced.uvm.edu,cfg@dln.uvm.edu' Route main encrypt 0 Route main encrypt_program __ENCRYPTOR__ Route main errors_to 'cgilmore@dln.uvm.edu' Route main increment 0 Route main pgp_cc_key "" Route main pgp_key "" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc For some reason, I can't get an entire encrypted email either, by setting encrypt to 1, which AFAIK should be all that I need to do (aside from setting the PGP option). thanks, corey From: interchange-users at interchange.redhat.com (Rick Lord) Date: Fri Aug 31 14:07:00 2001 Subject: [ic] Interchange and debian Actually I did that. I didn't make it this far before I realised I had to do that. Thanks. Any more ideas? I am thinking of downloading the tarball and starting from scratch but I kinda like the way debian does it so I want to give it a chance. Stefan Hornburg (Racke) wrote: > "Rick Lord" <rick@desertlord.com> writes: > > >>I am having a hard time setting up a catalog under interchange. >>I am using Interchange 4.8.1 with Debian. I installed it with apt-get. >>When I try to create one it gets to the point where it trys to make the >>catalog directory I get the error "permission denied at >>/usr/lib/interchange/bin/makecat line 1487 >>Any good ideas? >>Thanks. >> > > This is probably a bug in the Debian package. > > But the following should work: > apt-get install interchange-cat-foundation > > Ciao > Racke > > -- Rick Lord Desert Lord Enterprises http://www.desertlord.com/ From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Aug 31 14:47:01 2001 Subject: [ic] PGP Mime Header At 01:36 PM 8/31/2001 -0400, you wrote: >Anyone familiar with the best way to configure a mailer for Win2k and >Win98 to automatically open the attachment with PGP? I have v7.03. I >have tried using Outlook and GroupWise 5.5.4, but Outlook doesn't even >recognize the attachment, and GroupWise, well, groupwise just sucks. Have you tried Eudora? HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (interchange-users at interchange.redhat.com) Date: Fri Aug 31 14:56:00 2001 Subject: [ic] PGP Mime Header http://www.pgp.com/products/mail-file-encryption/default.asp Bill Carr Worldwide Impact bill@worldwideimpact.com 413.253.6700 Dan Browning <db@cyclonehq.dnsalias.net> Sent by: interchange-users-admin@interchange.redhat.com 08/31/2001 02:45 PM Please respond to interchange-users To: interchange-users@interchange.redhat.com cc: Subject: Re: [ic] PGP Mime Header At 01:36 PM 8/31/2001 -0400, you wrote: >Anyone familiar with the best way to configure a mailer for Win2k and >Win98 to automatically open the attachment with PGP? I have v7.03. I >have tried using Outlook and GroupWise 5.5.4, but Outlook doesn't even >recognize the attachment, and GroupWise, well, groupwise just sucks. Have you tried Eudora? HTH, Dan Browning <danpb@mail.com> _______________________________________________ interchange-users mailing list interchange-users@interchange.redhat.com http://interchange.redhat.com/mailman/listinfo/interchange-users From: interchange-users at interchange.redhat.com (Birgitt Funk) Date: Fri Aug 31 15:16:01 2001 Subject: [ic] Big Apologies Dear List, I am rearranging a lot of my acounts and had to use my back-up hotmail account for some time. I think I made a big booboo and instead of forwarding my accumulated digest to my own mailserver I sent them back to the list. (Stupid hotmail missing forwarding option and me being stupid not to look around). Anyway I must have spammed the list with my digests, though I can't see them yet on the web archives, I sincerely apologize for this mishap. Mike, I will never learn to behave appropriately on your list, darn. I am very sorry for this. Birgitt Funk _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From: interchange-users at interchange.redhat.com (Corey Gilmore) Date: Fri Aug 31 15:19:00 2001 Subject: [ic] PGP Mime Header I would rather use ANY other mailer than groupwise, I am distressed at even having to have an account on the groupwise server, but unfortunately my client uses groupwise. After 2 hours, I got through to a PGP sales rep (you'd think they would make it easier to purchase 150 copies of their product), and discovered that versions 7.0.x and 7.1.x do NOT support groupwise. 7.5, due out later in september, and version 6.x, do. For older versions you can go to http://members.tripod.com/risch_consulting/pgpgw.htm On Fri, 31 Aug 2001, Dan Browning wrote: > At 01:36 PM 8/31/2001 -0400, you wrote: > >Anyone familiar with the best way to configure a mailer for Win2k and > >Win98 to automatically open the attachment with PGP? I have v7.03. I > >have tried using Outlook and GroupWise 5.5.4, but Outlook doesn't even > >recognize the attachment, and GroupWise, well, groupwise just sucks. > > Have you tried Eudora? HTH, > > > Dan Browning <danpb@mail.com> > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Shawn Hamzee) Date: Fri Aug 31 16:36:01 2001 Subject: [ic] Big Apologies appears to me you're in a funk!!!! ----- Original Message ----- From: "Birgitt Funk" <birgitt_funk@hotmail.com> To: <interchange-users@anthrax.interchange.redhat.com> Sent: Friday, August 31, 2001 3:15 PM Subject: [ic] Big Apologies > Dear List, > > I am rearranging a lot of my acounts and had to use my back-up hotmail > account for some time. I think I made a big booboo and instead of forwarding > my accumulated digest to my own mailserver I sent them back to the list. > (Stupid hotmail missing forwarding option and me being stupid not to look > around). > > Anyway I must have spammed the list with my digests, though I can't see them > yet on the web archives, I sincerely apologize for this > mishap. > > Mike, I will never learn to behave appropriately on your list, darn. > I am very sorry for this. > > Birgitt Funk > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > _______________________________________________ > interchange-users mailing list > interchange-users@interchange.redhat.com > http://interchange.redhat.com/mailman/listinfo/interchange-users > From: interchange-users at interchange.redhat.com (Jim Boyer) Date: Fri Aug 31 18:30:00 2001 Subject: [ic] PaylinX/CyberSource Hi, I am reviewing whether Interchange will work with PaylinX/CyberSource as a payment clearing house. Has anybody worked with PaylinX/CyberSource using Interchange? If so, what API do you use? I am told that PaylinX/CyberSource offers a Java API for Red Hat, is there a way that Interchange can call a Java program to do the credit card processing? Thanks for your assistance, ------------------------------------ Jim Boyer Systems & Programming Professional College of Agriculture and Home Economics Washington State University From: interchange-users at interchange.redhat.com (Dan Browning) Date: Fri Aug 31 18:40:01 2001 Subject: [ic] PaylinX/CyberSource At 03:29 PM 8/31/2001 -0700, you wrote: >Hi, > >I am reviewing whether Interchange will work with PaylinX/CyberSource as a >payment clearing house. Has anybody worked with PaylinX/CyberSource using >Interchange? If so, what API do you use? I am told that >PaylinX/CyberSource offers a Java API for Red Hat, is there a way that >Interchange can call a Java program to do the credit card processing? > >Thanks for your assistance, >------------------------------------ >Jim Boyer >Systems & Programming Professional >College of Agriculture and Home Economics >Washington State University I recommend you search the archives for java, solaris, or something like that. There was an individual who got payment processing working using a java module on Solaris -- which might be similar enough to what you want to do. HTH, Dan Browning <danpb@mail.com> From: interchange-users at interchange.redhat.com (Stefan Hornburg Racke) Date: Fri Aug 31 18:49:01 2001 Subject: [ic] Interchange and debian Rick Lord <rick@desertlord.com> writes: > Actually I did that. I didn't make it this far before I realised I had > to do that. > Thanks. > Any more ideas? I am thinking of downloading the tarball and starting > from scratch but I kinda like the way debian does it so I want to give > it a chance. I try to fix it this weekend. Ciao Racke -- Racke happily hacks Interchange and maintains Debian packages like Courier. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400) From: interchange-users at interchange.redhat.com (Ron Phipps) Date: Fri Aug 31 19:01:00 2001 Subject: [ic] PaylinX/CyberSource > Hi, > > I am reviewing whether Interchange will work with PaylinX/CyberSource as a > payment clearing house. Has anybody worked with PaylinX/CyberSource using > Interchange? If so, what API do you use? I am told that > PaylinX/CyberSource offers a Java API for Red Hat, is there a way that > Interchange can call a Java program to do the credit card processing? > Jim I do not have first hand experience with PayLinx/CyberSource however I have setup Verisign's Payflow Pro (Java) to run with IC on an Alpha machine. We had to go the Java route because there was no binary that would run on the Alpha and the compiling of their source failed. I have included the wrapper in which we use to call the JVM which interprets the java API for PfPro. The only thing that I needed to change in the actual Verisign sub on the IC side was to check the value of the result key instead of the return code of the program (since we we're calling a wrapper in which the return code would always be 0 if the wrapper was ran successfully, irregardless of whether the java code returned a non 0 value). IC is able to call command line programs for payment verification. If it is a java program you will need to run it through the jvm (See the code below for details). If no one has attempted this payment system yet then your best bet would be to look in the verisign or authorizenet to get a feel for how those work. Good luck! -Ron #!/usr/bin/perl ########################## # Set environment $ENV{LD_LIBRARY_PATH} .=":.:..:../lib"; #$ENV{CLASSPATH} .= "./Signio.jar:."; $ENV{CLASSPATH} .= "/usr/local/signio/java/Signio.jar:/usr/local/signio/java/ $ENV{PATH} .= "/usr/local/sbin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6 /bin:/usr/local/JDK122/bin:/root/bin"; print `java PFProJava $ARGV[0] $ARGV[1] "$ARGV[2]";`; From: interchange-users at interchange.redhat.com (wendel) Date: Fri Aug 31 21:16:00 2001 Subject: [ic] What data I need to pub on the Wizard? Hi list, Here is my situation: I'm trying to configure a test catalog via Wizard to send credit card to a order mail, but I get a error, is this: ============================================ Credit Card Info: NEED ENCRYPTION ENABLED. ============================================ But I need some information to put on de fields in de Wizard on Payment Preferences, I'm trying to put the public key of mail to send the orders but I unknown what I need to put on PGP/GPG key selection and PGP/GPG Public Key and in the next box I have this error: Failed GPG key import. Anyone can send me a model of data to put on this field? What I need to install on server to enable PGP send credit cards? What necessary configuration I need to do to enable this? ================================================ I'm using Interchange 4.8 on Debian Linux; i'm new in the list and newbie in interchange system, I'm studying the ITL yet. My PGP on Linux Server is: pgp-6.5.8;