From bwesley at zhaz.scanningsystems.com.au Mon Dec 1 08:15:09 2003 From: bwesley at zhaz.scanningsystems.com.au (Brent Wesley) Date: Sun Nov 30 17:18:17 2003 Subject: [ic] Running interchange with apache mod_ssl Message-ID: <20031130221509.GA18530@scanningsystems.com.au> Greetings all, I have recently set up a new interchange 4.9.8 server and I am having a few problems. I have the server running fine and have got all of the credit card stuff working but I can not get Interchnage to work with the apache mod_ssl server for the secure pages. When you try to access any of the secure pages it fails because suexec if complaining about ic being seduid or setgid. I got around the problem of ic not being in the default suexec base directory by recompiling it from debian source with the correct path to where the ic cgi-bin files are. I have tried taking the setuid bit off the interchange files but ic fails to run at all when this is done. How do I get ic to run with apache mod_ssl ? I thought this would have been will documented, but as with most things with ic, it isn't. Regards -- Brent Wesley Systems Programmer Scanning Systems (Aust.) http://www.scanningsystems.com.au PH: 07 3387 5555 FX: 07 3387 55883 From stefano at interline.it Mon Dec 1 09:46:59 2003 From: stefano at interline.it (Stefano Kerschbaumer - Interline S.r.l.) Date: Mon Dec 1 03:48:10 2003 Subject: [ic] Error perl script to upgrate 4.9 In-Reply-To: <5.2.1.1.0.20031117104159.02c32728@mail.newmediaems.com> References: <5.2.1.1.0.20031117104159.02c32728@mail.newmediaems.com> Message-ID: <3FCB0003.5020604@interline.it> In my apache error.log the error is general: Premature end of script headers: .... This is the code complete: [if value payment_method eq credit] [perl reparse=1 tables="products pricing shipping salestax" ] # I have add this: tables="products pricing shipping salestax" my $price = $Tag->total_cost({noformat => 1,}); # This is the line error and is the total cost of the order #my $price = 100,00; If I use this is OK !!! my $order_number = $Values->{mv_order_number}; my $url_prepare = sprintf("http://xxx/xxx.asp?xxxxxx CF__CustOrderNumber=%s xxxxxxxxx Price=%s&Quantity=1 xxxxxx ",$order_number,$order_number,$price); my $hash = "[get-url $url_prepare]"; my $url_make = sprintf("http://xxxx/xxxx.asp?xxxxxxxxx VatFlag=0&VatRate=0.2&Price=%s&Currency=EUR&Quantity=1&Locale=it-IT-SL&StoreID=xxxxxxCF__CustOrderNumber=%s xxxxxxxxxxxxxxx",$order_number,$price); return "Per passare al pagamento clicca qui"; [/perl] Slauti Stefano Ed LaFrance ha scritto: > At 10:32 AM 11/17/2003 +0100, you wrote: > > >> This line of my script give me an error: Premature end >> ....interchange-users@icdevgroup.org >> >> my $price = $Tag->total_cost({noformat => 1,}); >> >> >> Why ? > > > If this is in a [perl] block, you must pre-open all the tables the are > consulted to figure total cost, I believe: > > [perl tables="products pricing"] > > ...you may even need to add shipping and salestax tables to this, > though I could be wrong with regards to those. Try the above first. > > - Ed L. > > > =============================================================== > New Media E.M.S. Technology Solutions for Business > 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting > Fair Oaks, CA 95628 edl@newmediaems.com > (916) 961-0446 http://www.newmediaems.com > (866) 519-4680 Toll-Free (916) 961-0447 Fax > =============================================================== > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > -- Stefano Kerschbaumer Interline S.r.l. Sede: Via Romana, 7 38016 Mezzocorona TN Uffici: Via Tonale, 118 38010 Grumo San Michele a/A TN Recapiti: Tel 0039 0461 606248 Fax 0039 0461 909574 Email: stefano@interline.it Web: http://www.interline.it From kevin at cursor.biz Mon Dec 1 10:58:12 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Mon Dec 1 05:59:07 2003 Subject: [ic] usertrack file is too large In-Reply-To: <000f01c3b7b6$76b12e80$9a7ba8c0@MVILLA> Message-ID: <000401c3b7fa$037c7160$020110ac@majestic.cursor-software.co.uk> Matthew Villa [mvilla213@sbcglobal.net]: > My usertrack file in my logs/ directory has grown over 2 GB. Is there > any script that can purge old entries in that file? > How about logrotate? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange at dominic.per.sg Mon Dec 1 22:57:43 2003 From: interchange at dominic.per.sg (Dominic Tey) Date: Mon Dec 1 09:57:26 2003 Subject: [ic] Certain Orders not showing up in the Admin UI Message-ID: <3FCBC767.27450.1000504@localhost> Hi, My partner and I have this problem with our store using Interchange 4.9.5. Certain Orders (both pending and archived) are not showing up in the Admin UI. However, the order details can be found in the following places: 1) the orders directory as the ordernumber 2) the transaction log in the logs/log file. All log entry indicate that the order is successful, (i.e. details are appended with the number 1) 3) tracking.asc where the details of the transactions can be found No error at all in both the error.log in the catalog directory as well as the interchange directory. No entries were found in icdebug. It has occurred under at least 2 different type of circumstances: a) the server time was reset to before the last date/time of the last order number b) the last order had the shipping method and total cost modified. However, previous such modifications gave no such problem. New orders do show up in the Admin UI without any problems. Question: Has anyone ever encountered such situations? What are the possible reasons for it to occur? Are there any possible solutions to avoid this particular problem? Thanks in advance, Dominic Tey From marty at sediva.com Mon Dec 1 08:25:31 2003 From: marty at sediva.com (Marty Tennison) Date: Mon Dec 1 11:27:49 2003 Subject: [ic] Implications of [input-filter] on "mv_credit_card_number In-Reply-To: <3FCBC767.27450.1000504@localhost> References: <3FCBC767.27450.1000504@localhost> Message-ID: <1070295931.25421.16.camel@marty.mdhome.net> Hi all, 4.9.7 Signio.pm Just curious... I'm trying to keep the customers from entering spaces, slashes, dashes etc into the credit card number field. Does anyone see anything wrong with this setup? [input-filter name=mv_credit_card_number op=digits][/input-filter] We only take Visa/MC, Discover and Amex so 20 digits is sufficient. -- Marty Tennison From edl at newmediaems.com Mon Dec 1 09:35:05 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 1 12:32:15 2003 Subject: [ic] Error perl script to upgrate 4.9 In-Reply-To: <3FCB0003.5020604@interline.it> References: <5.2.1.1.0.20031117104159.02c32728@mail.newmediaems.com> <5.2.1.1.0.20031117104159.02c32728@mail.newmediaems.com> Message-ID: <5.2.1.1.0.20031201093443.02dd46b0@mail.newmediaems.com> At 09:46 AM 12/1/2003 +0100, you wrote: >In my apache error.log the error is general: Premature end of script >headers: .... > >This is the code complete: > >[if value payment_method eq credit] >[perl reparse=1 tables="products pricing shipping salestax" ] # I have >add this: tables="products pricing shipping salestax" > >my $price = $Tag->total_cost({noformat => 1,}); # This is the line error >and is the total cost of the order > >#my $price = 100,00; If I use this is OK !!! > > >my $order_number = $Values->{mv_order_number}; > > >my $url_prepare = sprintf("http://xxx/xxx.asp?xxxxxx >CF__CustOrderNumber=%s xxxxxxxxx Price=%s&Quantity=1 xxxxxx >",$order_number,$order_number,$price); >my $hash = "[get-url $url_prepare]"; > >my $url_make = sprintf("http://xxxx/xxxx.asp?xxxxxxxxx >VatFlag=0&VatRate=0.2&Price=%s&Currency=EUR&Quantity=1&Locale=it-IT-SL&StoreID=xxxxxxCF__CustOrderNumber=%s >xxxxxxxxxxxxxxx",$order_number,$price); > > >return "Per passare al pagamento clicca qui"; >[/perl] > >Slauti Stefano Is there anything in the interchange error.log? - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From edl at newmediaems.com Mon Dec 1 09:39:11 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 1 12:36:22 2003 Subject: [ic] Implications of [input-filter] on "mv_credit_card_number In-Reply-To: <1070295931.25421.16.camel@marty.mdhome.net> References: <3FCBC767.27450.1000504@localhost> <3FCBC767.27450.1000504@localhost> Message-ID: <5.2.1.1.0.20031201093800.02df19c0@mail.newmediaems.com> At 08:25 AM 12/1/2003 -0800, you wrote: >Hi all, > >4.9.7 >Signio.pm > >Just curious... > >I'm trying to keep the customers from entering spaces, >slashes, dashes etc into the credit card number field. > >Does anyone see anything wrong with this setup? > >[input-filter name=mv_credit_card_number op=digits][/input-filter] > > >We only take Visa/MC, Discover and Amex so 20 digits is sufficient. > > >-- Marty Tennison Nothing 'wrong' that comes to mind, but it is really not necessary, since the interchange payment routines strip all non-digit characters from mv_credit_card_number before evaluating it. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From batschelet at exactasphere.com Mon Dec 1 13:11:31 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 13:12:16 2003 Subject: [ic] Item_option.html upgrade help References: <3FCBC767.27450.1000504@localhost><3FCBC767.27450.1000504@localhost> <5.2.1.1.0.20031201093800.02df19c0@mail.newmediaems.com> Message-ID: <011301c3b836$8c236320$6501a8c0@craig> I am trying to get item_option.html to work on an upgraded catalog in the admin section. I migrated the foundation catalog from a 4.7.3 server to a 4.8.9 and it seems to only want to run item_option_old.html. I looked at the code but still am a little lost, I was wondering if someone has gone through this and knew what I had to upgrade to get this to work. Many Thanks, Sam From batschelet at exactasphere.com Mon Dec 1 13:27:47 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 13:28:31 2003 Subject: [ic] Item_option.html upgrade help References: <3FCBC767.27450.1000504@localhost><3FCBC767.27450.1000504@localhost><5.2.1.1.0.20031201093800.02df19c0@mail.newmediaems.com> <011301c3b836$8c236320$6501a8c0@craig> Message-ID: <013501c3b838$d1bb7ab0$6501a8c0@craig> ----- Original Message ----- From: "Sam Batschelet" > I am trying to get item_option.html to work on an upgraded catalog in the > admin section. I migrated the foundation catalog from a 4.7.3 server to a > 4.8.9 and it seems to only want to run item_option_old.html. I looked at > the code but still am a little lost, I was wondering if someone has gone > through this and knew what I had to upgrade to get this to work. > > Many Thanks, > Sam > Quick correction the new server was 4.9.8 vs. 4.8.9 From listbox at email.com Mon Dec 1 10:33:36 2003 From: listbox at email.com (Grant) Date: Mon Dec 1 13:34:40 2003 Subject: [ic] Item_option.html upgrade help In-Reply-To: <011301c3b836$8c236320$6501a8c0@craig> Message-ID: > I am trying to get item_option.html to work on an upgraded catalog in the > admin section. I migrated the foundation catalog from a 4.7.3 server to a > 4.8.9 and it seems to only want to run item_option_old.html. I looked at > the code but still am a little lost, I was wondering if someone has gone > through this and knew what I had to upgrade to get this to work. > > Many Thanks, > Sam Do you have an item_option_old.html file in the pages/admin section of your catalog? - Grant From batschelet at exactasphere.com Mon Dec 1 13:38:53 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 13:39:37 2003 Subject: [ic] Html and product export issue References: <3FCBC767.27450.1000504@localhost><3FCBC767.27450.1000504@localhost><5.2.1.1.0.20031201093800.02df19c0@mail.newmediaems.com> <011301c3b836$8c236320$6501a8c0@craig> Message-ID: <013d01c3b83a$5ec1f7d0$6501a8c0@craig> 4.9.8 foundation In many of my items I use html in the description but I have found on export that the html causes a big problem when i try to edit it infor example Excel. Anyone have any input on a way I can go about this. The characters in the HTML seem to be the issue with Excel / Access. -Sam From cwenham at synesmedia.com Mon Dec 1 13:53:23 2003 From: cwenham at synesmedia.com (Christopher Wenham) Date: Mon Dec 1 13:48:58 2003 Subject: [ic] Conditional options report in mail receipt Message-ID: <200312011353.23606.cwenham@synesmedia.com> Is there a way to display item-options in the mail receipt without showing options that have no value? I have a client who needs to suppress the display of option labels when the value is empty, because otherwise the mail receipt looks confusing to the customer. Before writing a custom item-options-report tag, I'd like to know if this functionality is already in the existing [item-options] tag. The "report=1" parameter isn't sufficient on its own. Regards, -- Chris Wenham - Synesmedia, Inc. http://www.synesmedia.com 516-620-4110 / 1-888-255-7573 Fax: 516-908-7824 From batschelet at exactasphere.com Mon Dec 1 13:56:11 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 13:56:57 2003 Subject: [ic] Item_option.html upgrade help References: Message-ID: <015501c3b83c$c9ffa9f0$6501a8c0@craig> > > I am trying to get item_option.html to work on an upgraded catalog in the > > admin section. I migrated the foundation catalog from a 4.7.3 server to a > > 4.8.9 and it seems to only want to run item_option_old.html. I looked at > > the code but still am a little lost, I was wondering if someone has gone > > through this and knew what I had to upgrade to get this to work. > > > > Many Thanks, > > Sam > > Do you have an item_option_old.html file in the pages/admin section of your > catalog? > > - Grant > Hi Grant thanks for the reply, Yeah and that works but there are some new options with the item_option.html file for example that allow you to adjust the price of an option without having to do it manually through the options table. BTW its a 4.9.8 server not 4.8.9... thanks again -Sam From interchange-users at hertell.com Mon Dec 1 21:04:30 2003 From: interchange-users at hertell.com (Rene Hertell) Date: Mon Dec 1 14:05:18 2003 Subject: [ic] Html and product export issue In-Reply-To: <013d01c3b83a$5ec1f7d0$6501a8c0@craig> Message-ID: > In many of my items I use html in the description but I have > found on export > that the html causes a big problem when i try to edit it infor example > Excel. Anyone have any input on a way I can go about this. The > characters > in the HTML seem to be the issue with Excel / Access. Create a front-end with Access and link it with ODBC to your db (I use a SSH-tunnel through the firewall to the db-server). That is a fast way to maintain your db. Rene From listbox at email.com Mon Dec 1 11:31:51 2003 From: listbox at email.com (Grant) Date: Mon Dec 1 14:32:37 2003 Subject: [ic] Item_option.html upgrade help In-Reply-To: <015501c3b83c$c9ffa9f0$6501a8c0@craig> Message-ID: > > > I am trying to get item_option.html to work on an upgraded catalog in > the > > > admin section. I migrated the foundation catalog from a > 4.7.3 server to > a > > > 4.8.9 and it seems to only want to run item_option_old.html. I looked > at > > > the code but still am a little lost, I was wondering if > someone has gone > > > through this and knew what I had to upgrade to get this to work. > > > > > > Many Thanks, > > > Sam > > > > Do you have an item_option_old.html file in the pages/admin section of > your > > catalog? > > > > - Grant > > > Hi Grant thanks for the reply, > Yeah and that works but there are some new options with the > item_option.html > file for example that allow you to adjust the price of an option without > having to do it manually through the options table. BTW its a > 4.9.8 server > not 4.8.9... thanks again > > -Sam What happens when you try to hit item_option.html? - Grant From batschelet at exactasphere.com Mon Dec 1 14:32:03 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 14:32:49 2003 Subject: [ic] Html and product export issue References: Message-ID: <018701c3b841$cc5edd60$6501a8c0@craig> > > In many of my items I use html in the description but I have > > found on export > > that the html causes a big problem when i try to edit it infor example > > Excel. Anyone have any input on a way I can go about this. The > > characters > > in the HTML seem to be the issue with Excel / Access. > > Create a front-end with Access and link it with ODBC to your db (I use a > SSH-tunnel through the firewall to the db-server). That is a fast way to > maintain your db. > > Rene > Many thanks Rene great idea! -Sam From batschelet at exactasphere.com Mon Dec 1 15:00:20 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 15:01:06 2003 Subject: [ic] Item_option.html upgrade help References: Message-ID: <019301c3b845$bfca3460$6501a8c0@craig> > What happens when you try to hit item_option.html? > > - Grant > Grant, When i hit it it goes to item_options_old.html, what I am trying to do is add simple options to an item: But because of the code below it defaults to item_option_old.html. I have updated the mysql table to include the new columns which are part of the 4.9.8 package. In my catalogs which are made in 4.9.8 simple options have a link to the flex editor which alows you to alter the price of an option but i can't get that to show up on the old upgraded sites (4.7.3). So I guess i am trying to figure out how to fix this or atleast just add it. Should i just delete the o_enable column as they are not still around in 4.9.8? ********************************** my $oenable = $Config->{OptionsEnable}; if(! $oenable) { $Scratch->{bounce_url} = $Tag->area( { href => 'admin/item_option_old', form => " item_id=$CGI->{item_id} ", }); return; ********************************** -Sam From listbox at email.com Mon Dec 1 13:01:45 2003 From: listbox at email.com (Grant) Date: Mon Dec 1 16:02:30 2003 Subject: [ic] Item_option.html upgrade help In-Reply-To: <019301c3b845$bfca3460$6501a8c0@craig> Message-ID: > > What happens when you try to hit item_option.html? > > > > - Grant > > > Grant, > When i hit it it goes to item_options_old.html, what I am > trying to do is > add simple options to an item: But because of the code below it > defaults to > item_option_old.html. I have updated the mysql table to include the new > columns which are part of the 4.9.8 package. In my catalogs > which are made > in 4.9.8 simple options have a link to the flex editor which alows you to > alter the price of an option but i can't get that to show up on the old > upgraded sites (4.7.3). So I guess i am trying to figure out how to fix > this or atleast just add it. Should i just delete the o_enable column as > they are not still around in 4.9.8? > > ********************************** > my $oenable = $Config->{OptionsEnable}; > > if(! $oenable) { > $Scratch->{bounce_url} = $Tag->area( { > > href => 'admin/item_option_old', > > form => " > > item_id=$CGI->{item_id} > > ", > > }); > return; > ********************************** > > -Sam Is there an OptionsEnable directive that needs to be set? - Grant From batschelet at exactasphere.com Mon Dec 1 19:27:27 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 19:28:18 2003 Subject: [ic] Item_option.html upgrade help References: Message-ID: <01e101c3b86b$10bfc2c0$6501a8c0@craig> > > > What happens when you try to hit item_option.html? > > > > > When i hit it it goes to item_options_old.html > > Is there an OptionsEnable directive that needs to be set? > > - Grant Thats kind of my question I mean from looking at the code OptionsEnable is when there is a 1 in the o_enable column of a product. Again its a 4.7.3 function and deleting the column does not fix the issue. Anyone? -Sam From joshua at kingdomdesign.com Mon Dec 1 18:58:37 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Mon Dec 1 19:59:15 2003 Subject: [ic] Item_option.html upgrade help In-Reply-To: <01e101c3b86b$10bfc2c0$6501a8c0@craig> Message-ID: On Monday, December 1, 2003, at 06:27 PM, Sam Batschelet wrote: > >>>> What happens when you try to hit item_option.html? >>>> >>> When i hit it it goes to item_options_old.html >> >> Is there an OptionsEnable directive that needs to be set? >> >> - Grant > > Thats kind of my question I mean from looking at the code > OptionsEnable is > when there is a 1 in the o_enable column of a product. Again its a > 4.7.3 > function and deleting the column does not fix the issue. Anyone? > > -Sam I think you might need to copy an etc/after.cfg to your upgraded catalog (use makecat with the foundation demo). In mine, there are a few lines which might do what you need: OptionsEnable option_type Replace ProductFiles ProductFiles products variants Josh From batschelet at exactasphere.com Mon Dec 1 21:33:05 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 1 21:33:51 2003 Subject: [ic] Item_option.html upgrade help References: Message-ID: <01f601c3b87c$9dc9f620$6501a8c0@craig> > >>>> What happens when you try to hit item_option.html? > >>>> > >>> When i hit it it goes to item_options_old.html > >> > >> Is there an OptionsEnable directive that needs to be set? > >> > >> - Grant > > I think you might need to copy an etc/after.cfg to your upgraded > catalog (use makecat with the foundation demo). In mine, there are a > few lines which might do what you need: > > OptionsEnable option_type > Replace ProductFiles > ProductFiles products variants > > Josh > Good call Josh that did the trick as far as getting the item_option.html to be used but now other issues seem to plauge me. First of all the old options are now unusable and I can't seem to get pass the option selector screen. I see that there is work to be done with the variant table and I have made sure that all of the colums are there for products is there an easier way to do this? The main thing here is the upgrade path of these catalogs mv_metadata obviously doens't take care of it all. Thanks again Josh From gerhard at pugmarks.net Tue Dec 2 18:35:17 2003 From: gerhard at pugmarks.net (Gerhard Conradi) Date: Tue Dec 2 08:08:11 2003 Subject: [ic] order process Message-ID: <00af01c3b8d4$ef103460$490a0a0a@pugmarks> Hi @ all, can anybody explain where the code for the order processing is located? The background: I have a checkout page where the customer can change the shipping addresses for the order (with a select field, populated from the address book). Ok, that works fine. But if the customer changes the address and sends the order the address data becomes changed in the userdb as well. What I want is that the default shipping address in the userdb not is touched and the address that has been selected during the checkout is the one that is written into the transaction table. So I guess that anywhere there's a code which contains a SQL command like "INSERT INTO userdb VALUES..." (or a similar ITL tag) . And that I don't need. Somebody an idea? Thanks Gerhard From mike at perusion.com Tue Dec 2 09:06:37 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 2 09:07:22 2003 Subject: [ic] order process In-Reply-To: <00af01c3b8d4$ef103460$490a0a0a@pugmarks> References: <00af01c3b8d4$ef103460$490a0a0a@pugmarks> Message-ID: <20031202140637.GA11900@bill.heins.net> Quoting Gerhard Conradi (gerhard@pugmarks.net): > Hi @ all, > > can anybody explain where the code for the order processing is located? > > The background: > I have a checkout page where the customer can change the shipping addresses > for the order (with a select field, populated from the address book). Ok, > that works fine. But if the customer changes the address and sends the order > the address data becomes changed in the userdb as well. > What I want is that the default shipping address in the userdb not is > touched and the address that has been selected during the checkout is the > one that is written into the transaction table. > So I guess that anywhere there's a code which contains a SQL command like > "INSERT INTO userdb VALUES..." (or a similar ITL tag) . And that I don't > need. This is done with [userdb save], normally as a result of submitting the checkout page in the Save_database click. All you have to do is remove the mv_check setting which calls this, or make it a radio button defaulting to don't save. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 How far can you open your mind before your brains fall out? From aaronmail at hazenet.net Tue Dec 2 09:16:57 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Tue Dec 2 09:17:45 2003 Subject: [ic] order process In-Reply-To: <00af01c3b8d4$ef103460$490a0a0a@pugmarks> References: <00af01c3b8d4$ef103460$490a0a0a@pugmarks> Message-ID: On Tue, 2 Dec 2003 18:35:17 +0530, Gerhard Conradi wrote: > Hi @ all, > > the address data becomes changed in the userdb as well. > What I want is that the default shipping address in the userdb not is > touched and the address that has been selected during the checkout is the > one that is written into the transaction table. not sure exactly how your 'address book' or values thereof are set up, but you can modify the files: etc/log_entry and etc/log_transaction where updates are made to the userdb table. actually, i believe the userdb stuff is only in log_entry .. > Somebody an idea? > > Thanks > Gerhard > HTH -- Aaron Hazelton Hazenet.net From pater.noster at gmx.net Tue Dec 2 17:01:24 2003 From: pater.noster at gmx.net (Thomas Weiss) Date: Tue Dec 2 11:02:05 2003 Subject: [ic] Table creation error when using database mappings Message-ID: <20031202160124.GA1850@worxpace> Hi all, I'm using Interchange 4.9.9 with PostgreSQL. For internationalisation I'm using the locale based database mappings found in the foundation catalog. Now there is a problem when importing a database/table with mappings into an sql database with support for transactions. The actual problem is raised in Vend::Table::Common (in function import_ascii_delimited()) when trying to call the commit() function on the database table object, which for databases with mappings is represented by Vend::Table::Shadow, which unfortunately doesn't implement a commit() function. Adding the following simple function to Vend::Table::Shadow resolves the problem: sub commit { my ($s) = @_; $s = $s->import_db() unless defined $s->[$OBJ]; return $s->[$OBJ]->commit(); } As I don't have a full understanding of Interchange's internals I would like to know if this is the right way to fix this problem. Bye, Thomas From wfiore at aftermarketcellular.com Tue Dec 2 11:14:49 2003 From: wfiore at aftermarketcellular.com (Aftermarket Cellular) Date: Tue Dec 2 11:15:33 2003 Subject: [ic] ip validation Message-ID: Hi, I have recently received hundreds of fraudulent attempts on my merchant account from within my interchange store, where a customer uses various credit card numbers to find a valid one. The transactions are being declined by authorize.net but I am still receiving an $.08 decline fee each time. Is there an available script that will block an ip address after three attempts. Thank you -Bill Fiore -- From tode at bpanet.de Tue Dec 2 17:41:34 2003 From: tode at bpanet.de (Lars Tode) Date: Tue Dec 2 11:44:13 2003 Subject: [ic] Problem with PGP and credit card Message-ID: Hi, a few days before i read about "set up gpg with interchange" in the mailling list. Few informations about the server os : FreeBSD 4.4-RELEASE gpg : gpg (GnuPG) 1.2.1 IC : 4.8.7 I thought myself it could not be a problem, because the tutorial was not bad. So I began. I set the variables - PGP /usr/local/bin/gpg --no-default-keyring --always-trust --keyring /usr/home/foo/.gnupg/public.gpg -e -a --batch -t -r '%s' - PGP_KEY foo@localhost in the variable.txt Add to the catalog.cfg : Variable EncryptProgram __PGP__ Variable EncyptKey __PGP_KEY__ Route Main looks like this (think you want to know): Route main attach 0 Route main credit_card 1 Route main cybermode "" Route main default 1 Route main email '__ORDERS_TO__' Route main encrypt 0 Route main encrypt_program "__PGP__" Route main errors_to '__ORDERS_TO__' Route main increment 0 Route main pgp_cc_key "__PGP_KEY__" Route main pgp_key "__PGP_KEY__" Route main receipt etc/receipt.html Route main report etc/report Route main supplant 1 Route main individual_track orders Route main track logs/tracking.asc Everytime I get a report the value of mv_credit_card_info is NEED ENCRYPTION ENABLED. OK, so i look back in the route main, found encrypt and set it 1, but than the email contains nothing. So I change it back. The report use this to send the email text : [tag op=mime description="Order Text" interpolate=1] [scratch order_text] [/tag] Now I've no idea what is wrong and how I can fix it. Help, please. Regards, Lars From interchange-users at hertell.com Tue Dec 2 18:56:16 2003 From: interchange-users at hertell.com (Rene Hertell) Date: Tue Dec 2 11:57:05 2003 Subject: [ic] ip validation In-Reply-To: Message-ID: > Hi, > > I have recently received hundreds of fraudulent attempts on my merchant > account from within my interchange store, where a customer uses various > credit card numbers to find a valid one. The transactions are being > declined by authorize.net but I am still receiving an $.08 decline fee > each time. Is there an available script that will block an ip address > after three attempts. You could place this piece of code on the checkout-page [if term="[env REMOTE_ADDR]" op="eq" compare="12.34.56.78"] [bounce href="[area tage.html]"] [/if] Ren? From ven at pragakhan.com Tue Dec 2 12:08:14 2003 From: ven at pragakhan.com (Victor Nolton) Date: Tue Dec 2 12:10:29 2003 Subject: [ic] Free Shipping On Single Item In-Reply-To: References: Message-ID: >Looking for a way (usertag etc) to give free shipping on only 1 item >(item 58-0100). Yet I want to still want to use my standard shipping >lookup I Have. > >I've tried doing something to where the cost of the item is >removed/subtracted from the @@TOTAL@@, then in turn the standard >lookup is used. I failed. > >Archives have pointed me to free shipping on entire order, shipping >based on zipcode etc. > >Considering just adding a freeshipping field to the products >database and using that, but still not sure how it would be done. Wow, no suggestions? I would of sworn someone out there would of done this already. Perhaps it is time for another stradegy. Ven From Treahy at MMaz.com Tue Dec 2 10:18:25 2003 From: Treahy at MMaz.com (Barry Treahy, Jr.) Date: Tue Dec 2 12:19:08 2003 Subject: [ic] Problem with PGP and credit card In-Reply-To: References: Message-ID: <3FCCC961.6040105@MMaz.com> Lars Tode wrote: >Hi, > >a few days before i read about "set up gpg with interchange" in the mailling >list. > >Few informations about the server > >os : FreeBSD 4.4-RELEASE >gpg : gpg (GnuPG) 1.2.1 >IC : 4.8.7 > > >Now I've no idea what is wrong and how I can fix it. > > > What errors are recorded in the logs? Barry -- Barry Treahy, Jr E-mail: Treahy@MMaz.com Midwest Microwave Phone: 480/314-1320 Vice President & CIO FAX: 480/661-7028 From tode at bpanet.de Tue Dec 2 18:40:22 2003 From: tode at bpanet.de (Lars Tode) Date: Tue Dec 2 12:42:57 2003 Subject: AW: [ic] Problem with PGP and credit card In-Reply-To: <3FCCC961.6040105@MMaz.com> Message-ID: Hi, > What errors are recorded in the logs? > > Barry > The shop error.log and the ic server error.log do not contain any errors. If I call gpg outside via shell, it work fine. I do the test that are describe in the tutorial an get no error. Regards, Lars From smiller at twincs.com Tue Dec 2 11:44:56 2003 From: smiller at twincs.com (Scott Miller) Date: Tue Dec 2 12:45:40 2003 Subject: [ic] Admin login problems after upgrade to 4.9.9 In-Reply-To: <3FC4E206.1060005@twincs.com> References: <000401c3b438$5d56be40$0d00a8c0@CORP.BROADGAP.COM> <3FC4E206.1060005@twincs.com> Message-ID: <3FCCCF98.3020705@twincs.com> >>>>> Hi All, >>>>> >>>>> I recently upgraded from Interchange 4.9.5 to 4.9.9. Previously, I >>>>> had >>>>> upgraded from 4.8.7 to 4.9.5. I'm using the Foundation demo with no >>>>> changes to the admin section. Running on RedHat 7.2 with MySQL. I >>>>> upgraded using the cross-platform tarball and followed the >>>>> instructions from the UPGRADE document. >>>>> >>>>> The main web site works great after the upgrade with no problems that >>>>> I have noticed. I can login as a customer and not have any problems. >>>>> >>>>> However, the admin site is having login problems. I can login and it >>>>> will display the main menu. If I click on any link, it them >>>>> bounces me >>>>> back to the login page. If I login again, it then takes me to the >>>>> page >>>>> I selected. If I click on another link, it them bounces me back to >>>>> the >>>>> login page again. This keeps repeating until I get bored and move on. >>>>> :-) >>>>> >>>>> I've reinstalled the Bundle::Interchange with no luck and I've >>>>> checked >>>>> the error logs. >>>>> >>>>> Does any one have any suggestions for me? >>>>> >>>>> Thanks! >>>>> Scott >>>>> >>>> >>>> I had this same problem in my Safari browser on my Mac. Camino works >>>> fine, and does a better job with the DHTML anyways. >>>> >>>> Try another browser? >>>> >>>> Josh >>>> >>>> >>> >>> Thanks for the suggestion. I have tried it with IE 5.5, IE 6.0, and >>> Netscape >>> 7.1 with the same results. I'm thinking it is something with my IC >>> configuration but I'm just not sure what. >>> >>> >> >> >> I experience the problems you have mentioned from time to time, >> however, it >> is usually fixed with an exit of IE or a reboot and a clearing of the >> browser cache. >> >> I know that you have tried several browsers so I wonder what the common >> thread might be. Have all your test been from the same machine or >> different >> machines? >> >> Also, have you tried the 4.9.9 Demo at http://demo.icdevgroup.org >> >> This might help localize it to a machine specific or server specific >> problem. >> >> -Gary >> > Hi Gary, > > I've tried two different machines at home and two different machines > at work with the same results. I tried the 4.9.9 demo at > http://demo.icdevgroup.org and it worked wonderfully. Its really > looking like I probably did something to my IC installation. Thanks > for the suggestions. Please let me know if you have any other ideas or > pointers on where I should look. > > Scott I still haven't been able to figure out this problem. Is there an easy way to totally disable the admin security? All administrators have full access to every thing within the admin site so I don't need any of the role functionality. I would then just use the web server to secure the site. This isn't my ideal solution but it would give me some more time to figure it out. Thanks again for all of the suggestions. Scott From john_young at sonic.net Tue Dec 2 10:28:36 2003 From: john_young at sonic.net (John Young) Date: Tue Dec 2 13:29:15 2003 Subject: AW: [ic] Problem with PGP and credit card References: Message-ID: <3FCCD9D4.5070303@sonic.net> Lars Tode wrote: > Hi, > >>What errors are recorded in the logs? >> >>Barry >> > > The shop error.log and the ic server error.log do not contain any errors. > > If I call gpg outside via shell, it work fine. I do the test that are > describe in the tutorial an get no error. Take a look in your Interchange tmp directory (...catalogname/tmp or whatever). If I recall correctly, GPG/PGP output/errors will write to an obviously-named file there. John Young From Treahy at MMaz.com Tue Dec 2 11:32:01 2003 From: Treahy at MMaz.com (Barry Treahy, Jr.) Date: Tue Dec 2 13:32:46 2003 Subject: AW: [ic] Problem with PGP and credit card In-Reply-To: References: Message-ID: <3FCCDAA1.2070309@MMaz.com> Lars Tode wrote: >Hi, > > > >>What errors are recorded in the logs? >> >>Barry >> >> >> > >The shop error.log and the ic server error.log do not contain any errors. > >If I call gpg outside via shell, it work fine. I do the test that are >describe in the tutorial an get no error. > > > Any you are seeing the receipts page? Are you sure your routing isn't hosed? Barry -- Barry Treahy, Jr E-mail: Treahy@MMaz.com Midwest Microwave Phone: 480/314-1320 Vice President & CIO FAX: 480/661-7028 From docelic at mail.inet.hr Tue Dec 2 20:29:02 2003 From: docelic at mail.inet.hr (Davor Ocelic) Date: Tue Dec 2 14:29:43 2003 Subject: [ic] PIDfile in IC 4.9.9 Message-ID: <20031202202902.2ba60ea5.docelic@mail.inet.hr> Hi, Is it just me, or interchange --stop wants /usr/local/interchange/etc/interchange.pid regardless of PIDfile setting in interchange.cfg ? (On interchange --serve, the correct setting for PIDfile is used). -doc From gem at rellim.com Tue Dec 2 11:35:45 2003 From: gem at rellim.com (Gary E. Miller) Date: Tue Dec 2 14:36:55 2003 Subject: [ic] ip validation In-Reply-To: References: Message-ID: Yo Bill! On Tue, 2 Dec 2003, Aftermarket Cellular wrote: > Is there an available script that will block an ip address > after three attempts. Carefull here. Every single user on my cities cable modem service shows up as coming from just one IP. That is the IP of their local web cache. Folks in this city are often locked out from web sites that have usage limits. THe smart ones try to be first to those sites just after midnight when the usage counter resets. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701 gem@rellim.com Tel:+1(541)382-8588 Fax: +1(541)382-8676 From ryan at ryangrace.com Tue Dec 2 12:11:41 2003 From: ryan at ryangrace.com (Ryan Grace) Date: Tue Dec 2 15:05:04 2003 Subject: [ic] Admin login problems after upgrade to 4.9.9 In-Reply-To: <3FCCCF98.3020705@twincs.com> References: <000401c3b438$5d56be40$0d00a8c0@CORP.BROADGAP.COM> <3FC4E206.1060005@twincs.com> <3FCCCF98.3020705@twincs.com> Message-ID: On Tue, 2 Dec 2003, Scott Miller wrote: > > >>>>> Hi All, > >>>>> > >>>>> I recently upgraded from Interchange 4.9.5 to 4.9.9. Previously, I > >>>>> had > >>>>> upgraded from 4.8.7 to 4.9.5. I'm using the Foundation demo with no > >>>>> changes to the admin section. Running on RedHat 7.2 with MySQL. I > >>>>> upgraded using the cross-platform tarball and followed the > >>>>> instructions from the UPGRADE document. > >>>>> > >>>>> The main web site works great after the upgrade with no problems that > >>>>> I have noticed. I can login as a customer and not have any problems. > >>>>> > >>>>> However, the admin site is having login problems. I can login and it > >>>>> will display the main menu. If I click on any link, it them > >>>>> bounces me > >>>>> back to the login page. If I login again, it then takes me to the > >>>>> page > >>>>> I selected. If I click on another link, it them bounces me back to > >>>>> the > >>>>> login page again. This keeps repeating until I get bored and move on. > >>>>> :-) > >>>>> > >>>>> I've reinstalled the Bundle::Interchange with no luck and I've > >>>>> checked > >>>>> the error logs. > >>>>> > >>>>> Does any one have any suggestions for me? > >>>>> > >>>>> Thanks! > >>>>> Scott > >>>>> > >>>> > >>>> I had this same problem in my Safari browser on my Mac. Camino works > >>>> fine, and does a better job with the DHTML anyways. > >>>> > >>>> Try another browser? > >>>> > >>>> Josh > >>>> > >>>> > >>> > >>> Thanks for the suggestion. I have tried it with IE 5.5, IE 6.0, and > >>> Netscape > >>> 7.1 with the same results. I'm thinking it is something with my IC > >>> configuration but I'm just not sure what. > >>> > >>> > >> > >> > >> I experience the problems you have mentioned from time to time, > >> however, it > >> is usually fixed with an exit of IE or a reboot and a clearing of the > >> browser cache. > >> > >> I know that you have tried several browsers so I wonder what the common > >> thread might be. Have all your test been from the same machine or > >> different > >> machines? > >> > >> Also, have you tried the 4.9.9 Demo at http://demo.icdevgroup.org > >> > >> This might help localize it to a machine specific or server specific > >> problem. > >> > >> -Gary > >> > > Hi Gary, > > > > I've tried two different machines at home and two different machines > > at work with the same results. I tried the 4.9.9 demo at > > http://demo.icdevgroup.org and it worked wonderfully. Its really > > looking like I probably did something to my IC installation. Thanks > > for the suggestions. Please let me know if you have any other ideas or > > pointers on where I should look. > > > > Scott > > I still haven't been able to figure out this problem. Is there an easy > way to totally disable the admin security? All administrators have full > access to every thing within the admin site so I don't need any of the > role functionality. I would then just use the web server to secure the > site. > > This isn't my ideal solution but it would give me some more time to > figure it out. > > Thanks again for all of the suggestions. > Scott > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > I ran into some weird admin UI login problems a while ago and it turned out I didn't have the URL alias I was using for my site listed in interchange.cfg. Are you rewriting URLs with Apache? If so you need to have the URL alias you're using listed at the end of the catalog's entry in interchange.cfg. If you don't then you won't get a cookie set correctly at login. So you may get past the login screen to the main menu, but when you hit a page that checks for your login again it will think you're not cause the cookie's not set right. Ryan From tom at globalfocusdm.com Tue Dec 2 12:25:09 2003 From: tom at globalfocusdm.com (Thomas J.M. Burton) Date: Tue Dec 2 15:25:54 2003 Subject: [ic] Getting rid of /cgi-bin/scriptname References: <3E730B06.9050006@dvdupgrades.ch> Message-ID: <03b801c3b912$620069d0$0a0111ac@TJMB> > Thank you > > In the meantime I found a few new rules that you should put in: > > RewriteEngine On > > RewriteRule ^/error/(.+)$ - [L,NS] > RewriteRule ^/images/(.+)$ - [L,NS] > > RewriteRule ^$ /cgi-bin/shop/mods.html [L,NS,PT] > RewriteRule ^/$ /cgi-bin/shop/mods.html [L,NS,PT] > RewriteRule ^/index\.html$ /cgi-bin/shop/mods.html [L,NS,PT] > > RewriteCond /home/shop/www/html/%{REQUEST_FILENAME} -f [OR] > RewriteCond /home/shop/www/html/%{REQUEST_FILENAME} -d > RewriteRule ^(.+)$ - [L,NS] > > RewriteCond /%{REQUEST_FILENAME} !^.*/cgi-bin/shop.*$ > RewriteRule ^(.+)$ /cgi-bin/shop/$1 [L,NS,PT] > > > Basically the one with 'error' in it will make sure server error > messages do not get forwarded > to interchange (resulting in a potential endless loop). > > Furthermore hard-wiring the images is suggested; a lot of people forget > to put in all pictures needed. > > I will put it into wiki soon... > > Frederic Hello Frederic, I saw your posts on the list about getting rid of the /cgi-bin/scriptname portion of Interchange catalog URLs using apache's mod_rewrite. I've been trying this out on a catalog I'm building and it's working great except for one thing. There are certain areas in the Admin UI that aren't rewriting correctly and result in an error. I happens when performing functions such as edits or deletions on a database, looks like it may have to do with the urls that contain a /ui portion. I'm not very familiar with mod_rewrite and was wondering if you've come across this problem in the catalog you set up or if you have any ideas on rules that will fix it. To anyone else reading this: I've seen reference to mod_interchange and have looked a bit at http://www.interchange.rtfm.info/downloads/mod_interchange.html, but I'm unclear as to how this will effect the IC catalogs I have running. I run multiple catalogs and would prefer to set up something on a per-catalog basis that won't require me to go into each catalog's config in order to prevent malfunctions. Anyone out there who's using mod_interchange, could you please let me know more about how it works with multiple catalogs? Thanks, Tom Running Apache 1.3.27 Interchange 4.8.6 ___________________________________ Thomas J.M. Burton Global Focus Digital Media, LLC www.globalfocusdm.com From aaronmail at hazenet.net Tue Dec 2 15:46:22 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Tue Dec 2 15:47:17 2003 Subject: [ic] Getting rid of /cgi-bin/scriptname In-Reply-To: <03b801c3b912$620069d0$0a0111ac@TJMB> References: <3E730B06.9050006@dvdupgrades.ch> <03b801c3b912$620069d0$0a0111ac@TJMB> Message-ID: On Tue, 2 Dec 2003 12:25:09 -0800, Thomas J.M. Burton wrote: [snip plethora of mod_rewrites] > > To anyone else reading this: > I've seen reference to mod_interchange and have looked a bit at > http://www.interchange.rtfm.info/downloads/mod_interchange.html, but I'm > unclear as to how this will effect the IC catalogs I have running. I run > multiple catalogs and would prefer to set up something on a per-catalog > basis > that won't require me to go into each catalog's config in order to > prevent > malfunctions. Anyone out there who's using mod_interchange, could you > please > let me know more about how it works with multiple catalogs? excellent! it is perfect and you do not have to use it for every catalog, only the ones that you want. basically, you enable mod_interchange so that it can be used, then only on catalogs that you want to use it on, modify your apache configs for that virtual domain with a few lines and all of the other catalogs can be left alone. then modify the url settings in your variable file and your done. its the way to go ... > > Thanks, > Tom > > Running > Apache 1.3.27 > Interchange 4.8.6 > -- Aaron Hazelton Hazenet.net From tom at globalfocusdm.com Tue Dec 2 13:03:19 2003 From: tom at globalfocusdm.com (Thomas J.M. Burton) Date: Tue Dec 2 16:03:54 2003 Subject: [ic] Getting rid of /cgi-bin/scriptname References: <3E730B06.9050006@dvdupgrades.ch><03b801c3b912$620069d0$0a0111ac@TJMB> Message-ID: <03df01c3b917$b68742d0$0a0111ac@TJMB> --snip out bulk of my previous message -- > > Anyone out there who's using mod_interchange, could you > > please > > let me know more about how it works with multiple catalogs? From: "Aaron Hazelton" > excellent! it is perfect and you do not have to use it for every > catalog, only the ones that you want. basically, you enable > mod_interchange > so that it can be used, then only on catalogs that you want to use > it on, modify your apache configs for that virtual domain with a few lines > and all of the other catalogs can be left alone. then modify the url > settings in your variable file and your done. its the way to go ... Thanks, Aaron! Any suggestions for a good walk-through on setting up mod_interchange? -Tom From bill at worldwideimpact.com Tue Dec 2 16:27:35 2003 From: bill at worldwideimpact.com (Bill Carr) Date: Tue Dec 2 16:28:20 2003 Subject: [ic] indirect login with unique column Message-ID: <1070400455.2531.20.camel@localhost> IC 4.9.9, MySQL 4.0.16 I have indirect_login set to email in my UserDB config. I also have a UNIQUE INDEX on my email column in the userdb table. This seems like a reasonable thing to do. Creating a new account was not working because of the UNIQUE INDEX. It worked once but would not work after that because the insert statement was failing with out including the 'email' value. I have made some hacks to UserDB.pm to fix this for myself. I will post the changes if anyone thinks they would be of value. Someone please tell me if I am just missing something here. Thanks and Happy ICing! -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From smiller at twincs.com Tue Dec 2 15:53:18 2003 From: smiller at twincs.com (Scott Miller) Date: Tue Dec 2 16:53:58 2003 Subject: [ic] Admin login problems after upgrade to 4.9.9 In-Reply-To: References: <000401c3b438$5d56be40$0d00a8c0@CORP.BROADGAP.COM> <3FC4E206.1060005@twincs.com> <3FCCCF98.3020705@twincs.com> Message-ID: <3FCD09CE.7000908@twincs.com> >>>>>>>Hi All, >>>>>>> >>>>>>>I recently upgraded from Interchange 4.9.5 to 4.9.9. Previously, I >>>>>>>had >>>>>>>upgraded from 4.8.7 to 4.9.5. I'm using the Foundation demo with no >>>>>>>changes to the admin section. Running on RedHat 7.2 with MySQL. I >>>>>>>upgraded using the cross-platform tarball and followed the >>>>>>>instructions from the UPGRADE document. >>>>>>> >>>>>>>The main web site works great after the upgrade with no problems that >>>>>>>I have noticed. I can login as a customer and not have any problems. >>>>>>> >>>>>>>However, the admin site is having login problems. I can login and it >>>>>>>will display the main menu. If I click on any link, it them >>>>>>>bounces me >>>>>>>back to the login page. If I login again, it then takes me to the >>>>>>>page >>>>>>>I selected. If I click on another link, it them bounces me back to >>>>>>>the >>>>>>>login page again. This keeps repeating until I get bored and move on. >>>>>>>:-) >>>>>>> >>>>>>>I've reinstalled the Bundle::Interchange with no luck and I've >>>>>>>checked >>>>>>>the error logs. >>>>>>> >>>>>>>Does any one have any suggestions for me? >>>>>>> >>>>>>>Thanks! >>>>>>>Scott >>>>>>> >>>>>>> >>>>>>> >>>>>>I had this same problem in my Safari browser on my Mac. Camino works >>>>>>fine, and does a better job with the DHTML anyways. >>>>>> >>>>>>Try another browser? >>>>>> >>>>>>Josh >>>>>> >>>>>> >>>>>> >>>>>> >>>>>Thanks for the suggestion. I have tried it with IE 5.5, IE 6.0, and >>>>>Netscape >>>>>7.1 with the same results. I'm thinking it is something with my IC >>>>>configuration but I'm just not sure what. >>>>> >>>>> >>>>> >>>>> >>>>I experience the problems you have mentioned from time to time, >>>>however, it >>>>is usually fixed with an exit of IE or a reboot and a clearing of the >>>>browser cache. >>>> >>>>I know that you have tried several browsers so I wonder what the common >>>>thread might be. Have all your test been from the same machine or >>>>different >>>>machines? >>>> >>>>Also, have you tried the 4.9.9 Demo at http://demo.icdevgroup.org >>>> >>>>This might help localize it to a machine specific or server specific >>>>problem. >>>> >>>>-Gary >>>> >>>> >>>> >>>Hi Gary, >>> >>>I've tried two different machines at home and two different machines >>>at work with the same results. I tried the 4.9.9 demo at >>>http://demo.icdevgroup.org and it worked wonderfully. Its really >>>looking like I probably did something to my IC installation. Thanks >>>for the suggestions. Please let me know if you have any other ideas or >>>pointers on where I should look. >>> >>>Scott >>> >>> >>I still haven't been able to figure out this problem. Is there an easy >>way to totally disable the admin security? All administrators have full >>access to every thing within the admin site so I don't need any of the >>role functionality. I would then just use the web server to secure the >>site. >> >>This isn't my ideal solution but it would give me some more time to >>figure it out. >> >>Thanks again for all of the suggestions. >>Scott >> >> >> >I ran into some weird admin UI login problems a while ago and it turned out I didn't have the URL alias I was using for my site listed in interchange.cfg. Are you rewriting URLs with Apache? If so you need to have the URL alias you're using listed at the end of the catalog's entry in interchange.cfg. If you don't then you won't get a cookie set correctly at login. So you may get past the login screen to the main menu, but when you hit a page that checks for your login again it will think you're not cause the cookie's not set right. > >Ryan > > Hi Ryan, I'm actually not doing any rewriting but I think you might be onto something with the cookies. When I log into my admin site, it does not set the "MV_SESSION_ID" cookie. When I log into the admin site at http://demo.icdevgroup.org, it does set the cookie. Where is the logic that sets the MV_SESSION_ID cookie? I would like to check it out and see why it isn't getting set. Thanks for your help. Scott From joshua at kingdomdesign.com Tue Dec 2 16:20:05 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Tue Dec 2 17:20:50 2003 Subject: [ic] Free Shipping On Single Item In-Reply-To: Message-ID: On Tuesday, December 2, 2003, at 11:08 AM, Victor Nolton wrote: >> Looking for a way (usertag etc) to give free shipping on only 1 item >> (item 58-0100). Yet I want to still want to use my standard shipping >> lookup I Have. >> >> I've tried doing something to where the cost of the item is >> removed/subtracted from the @@TOTAL@@, then in turn the standard >> lookup is used. I failed. >> >> Archives have pointed me to free shipping on entire order, shipping >> based on zipcode etc. >> >> Considering just adding a freeshipping field to the products database >> and using that, but still not sure how it would be done. > > Wow, no suggestions? I would of sworn someone out there would of done > this already. > > Perhaps it is time for another stradegy. > > Ven I'm doing free shipping on one item by checking for that item on the checkout page, and if ordered, erasing the shipping, but only if they haven't selected a faster shipping method (my default is 'flat'). It's pretty limited, but here's the code: [if ordered 1003227] [and value mv_shipmode eq "flat"] [assign shipping=0.00] [else] [assign clear=1] [/else] [/if] Josh From smiller at twincs.com Tue Dec 2 16:42:47 2003 From: smiller at twincs.com (Scott Miller) Date: Tue Dec 2 17:43:48 2003 Subject: [ic] Admin login problems after upgrade to 4.9.9 In-Reply-To: <3FCD09CE.7000908@twincs.com> References: <000401c3b438$5d56be40$0d00a8c0@CORP.BROADGAP.COM> <3FC4E206.1060005@twincs.com> <3FCCCF98.3020705@twincs.com> <3FCD09CE.7000908@twincs.com> Message-ID: <3FCD1567.3030906@twincs.com> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> I recently upgraded from Interchange 4.9.5 to 4.9.9. Previously, I >>>>>>>> had >>>>>>>> upgraded from 4.8.7 to 4.9.5. I'm using the Foundation demo >>>>>>>> with no >>>>>>>> changes to the admin section. Running on RedHat 7.2 with MySQL. I >>>>>>>> upgraded using the cross-platform tarball and followed the >>>>>>>> instructions from the UPGRADE document. >>>>>>>> >>>>>>>> The main web site works great after the upgrade with no >>>>>>>> problems that >>>>>>>> I have noticed. I can login as a customer and not have any >>>>>>>> problems. >>>>>>>> >>>>>>>> However, the admin site is having login problems. I can login >>>>>>>> and it >>>>>>>> will display the main menu. If I click on any link, it them >>>>>>>> bounces me >>>>>>>> back to the login page. If I login again, it then takes me to the >>>>>>>> page >>>>>>>> I selected. If I click on another link, it them bounces me back to >>>>>>>> the >>>>>>>> login page again. This keeps repeating until I get bored and >>>>>>>> move on. >>>>>>>> :-) >>>>>>>> >>>>>>>> I've reinstalled the Bundle::Interchange with no luck and I've >>>>>>>> checked >>>>>>>> the error logs. >>>>>>>> >>>>>>>> Does any one have any suggestions for me? >>>>>>>> >>>>>>>> Thanks! >>>>>>>> Scott >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> I had this same problem in my Safari browser on my Mac. Camino >>>>>>> works >>>>>>> fine, and does a better job with the DHTML anyways. >>>>>>> >>>>>>> Try another browser? >>>>>>> >>>>>>> Josh >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> Thanks for the suggestion. I have tried it with IE 5.5, IE 6.0, and >>>>>> Netscape >>>>>> 7.1 with the same results. I'm thinking it is something with my IC >>>>>> configuration but I'm just not sure what. >>>>>> >>>>>> >>>>>> >>>>> >>>>> I experience the problems you have mentioned from time to time, >>>>> however, it >>>>> is usually fixed with an exit of IE or a reboot and a clearing of the >>>>> browser cache. >>>>> >>>>> I know that you have tried several browsers so I wonder what the >>>>> common >>>>> thread might be. Have all your test been from the same machine or >>>>> different >>>>> machines? >>>>> >>>>> Also, have you tried the 4.9.9 Demo at http://demo.icdevgroup.org >>>>> >>>>> This might help localize it to a machine specific or server specific >>>>> problem. >>>>> >>>>> -Gary >>>>> >>>>> >>>> >>>> Hi Gary, >>>> >>>> I've tried two different machines at home and two different machines >>>> at work with the same results. I tried the 4.9.9 demo at >>>> http://demo.icdevgroup.org and it worked wonderfully. Its really >>>> looking like I probably did something to my IC installation. Thanks >>>> for the suggestions. Please let me know if you have any other ideas or >>>> pointers on where I should look. >>>> >>>> Scott >>>> >>> >>> I still haven't been able to figure out this problem. Is there an easy >>> way to totally disable the admin security? All administrators have full >>> access to every thing within the admin site so I don't need any of the >>> role functionality. I would then just use the web server to secure the >>> site. >>> >>> This isn't my ideal solution but it would give me some more time to >>> figure it out. >>> >>> Thanks again for all of the suggestions. >>> Scott >>> >>> >> >> I ran into some weird admin UI login problems a while ago and it >> turned out I didn't have the URL alias I was using for my site listed >> in interchange.cfg. Are you rewriting URLs with Apache? If so you >> need to have the URL alias you're using listed at the end of the >> catalog's entry in interchange.cfg. If you don't then you won't get >> a cookie set correctly at login. So you may get past the login >> screen to the main menu, but when you hit a page that checks for your >> login again it will think you're not cause the cookie's not set right. >> >> Ryan >> >> > Hi Ryan, > > I'm actually not doing any rewriting but I think you might be onto > something with the cookies. When I log into my admin site, it does not > set the "MV_SESSION_ID" cookie. When I log into the admin site at > http://demo.icdevgroup.org, it does set the cookie. > > Where is the logic that sets the MV_SESSION_ID cookie? I would like to > check it out and see why it isn't getting set. > > Thanks for your help. > Scott I got it working. I set the CookieDomain in my catalog.cfg and that took care of the problem. I must have just been getting lucky in the older versions of IC and didn't need it. Thanks for pointing me in the right direction! Scott From mike at perusion.com Tue Dec 2 19:20:28 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 2 19:21:10 2003 Subject: [ic] indirect login with unique column In-Reply-To: <1070400455.2531.20.camel@localhost> References: <1070400455.2531.20.camel@localhost> Message-ID: <20031203002028.GA19340@bill.heins.net> Quoting Bill Carr (bill@worldwideimpact.com): > IC 4.9.9, MySQL 4.0.16 > > I have indirect_login set to email in my UserDB config. I also have a > UNIQUE INDEX on my email column in the userdb table. This seems like a > reasonable thing to do. > > Creating a new account was not working because of the UNIQUE INDEX. It > worked once but would not work after that because the insert statement > was failing with out including the 'email' value. > > I have made some hacks to UserDB.pm to fix this for myself. I will post > the changes if anyone thinks they would be of value. Someone please tell > me if I am just missing something here. I don't understand why you think there are two INSERT operations. If you are telling me that a subsequent UPDATE fails because the email column is not included in the list of fields updated, I would say that is a problem in MySQL. I see no reason that you have to include a field on every update. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 There's nothing sweeter than life nor more precious than time. -- Barney From bill at worldwideimpact.com Tue Dec 2 21:09:28 2003 From: bill at worldwideimpact.com (Bill Carr) Date: Tue Dec 2 21:10:16 2003 Subject: [ic] indirect login with unique column References: <1070400455.2531.20.camel@localhost> <20031203002028.GA19340@bill.heins.net> Message-ID: <009a01c3b942$830b1eb0$0100a8c0@STARSHINE> ----- Original Message ----- From: "Mike Heins" To: Sent: Tuesday, December 02, 2003 7:20 PM Subject: Re: [ic] indirect login with unique column > Quoting Bill Carr (bill@worldwideimpact.com): > > IC 4.9.9, MySQL 4.0.16 > > > > I have indirect_login set to email in my UserDB config. I also have a > > UNIQUE INDEX on my email column in the userdb table. This seems like a > > reasonable thing to do. > > > > Creating a new account was not working because of the UNIQUE INDEX. It > > worked once but would not work after that because the insert statement > > was failing with out including the 'email' value. > > > > I have made some hacks to UserDB.pm to fix this for myself. I will post > > the changes if anyone thinks they would be of value. Someone please tell > > me if I am just missing something here. > > I don't understand why you think there are two INSERT operations. > > If you are telling me that a subsequent UPDATE fails because the email > column is not included in the list of fields updated, I would say that > is a problem in MySQL. I see no reason that you have to include a field > on every update. In Vend::UserDB::new_account there is this: my $pass = $udb->set_field( $self->{USERNAME}, $self->{LOCATION}{PASSWORD}, $pw, ); die ::errmsg("Database access error.") . "\n" unless defined $pass; if($foreign) { ... If you somehow have row with a value of '' in the email column the above dies. MySQL complains with error 1062 duplicate key '' for key 2. Now I realize that there should not be a value of '' in the email column but some how it happened. When it did no one else could create an account and therefore no new customers could buy anything a this particular store. I rewrote the above as follows and it solved my problem. my $fary; my $vary; push @$fary, $self->{LOCATION}{PASSWORD}; push @$vary, $pw; if($foreign) { push @$fary,$foreign; push @$vary,$self->{PASSED_USERNAME}; } my $pass = $udb->set_slice( $self->{USERNAME}, $fary, $vary, ); Please tell me what you think. I can take it like a man! Bill Carr From prtyof5 at attglobal.net Tue Dec 2 21:24:56 2003 From: prtyof5 at attglobal.net (Jon) Date: Tue Dec 2 21:25:31 2003 Subject: [ic] ip validation References: Message-ID: <3FCD4978.9D004DBE@attglobal.net> > Hi, > > I have recently received hundreds of fraudulent attempts on my merchant > account from within my interchange store, where a customer uses various > credit card numbers to find a valid one. The transactions are being > declined by authorize.net but I am still receiving an $.08 decline fee > each time. Is there an available script that will block an ip address > after three attempts. > Bill. This could be obvious to everyone else but would you mind sharing how/when did you realize this was happening i.e. what triggered you ? And perhaps share the IP address so everyone can check their logs ? Sounds kind of scary to me. Jon From wfiore at aftermarketcellular.com Tue Dec 2 21:43:38 2003 From: wfiore at aftermarketcellular.com (Aftermarket Cellular) Date: Tue Dec 2 21:44:09 2003 Subject: [ic] ip validation In-Reply-To: <3FCD4978.9D004DBE@attglobal.net> Message-ID: <000201c3b947$41a5b020$0300a8c0@VAIO> Jon wrote "This could be obvious to everyone else but would you mind sharing how/when did you realize this was happening i.e. what triggered you? And perhaps share the IP address so everyone can check their logs?" I was first notified of this activity by my merchant account (NOVA). I don't have the ip address of this specific perpetrator (nor am I sure how to obtain this information). I was hoping to just block any three declines in a row by the same customer. The information being used with the fraudulent credit card numbers is listed below: Name: bgfbn bfbnnvbv Company: Address: bnbb City: chicagp State/Province: il Zip Code: 60602 Country: usa Phone: 65677565778 Fax: Email: bhmbmnb@hfhhjhj.com Thanks -Bill Fiore From andy at andymayer.net Wed Dec 3 11:29:00 2003 From: andy at andymayer.net (Andy Mayer) Date: Wed Dec 3 11:30:24 2003 Subject: [ic] IC Hall of Fame Message-ID: <1070468940.2885.43.camel@larry.andymayer.net> Hi, We'd like to submit the following site to the hall of fame if it's considered worthy: http://www.stthomaschurchshop.org.uk Sorry if this post is the wrong place, but I can't find anywhere to submit it on the icdevgroup site. King regards, Andy -- +-------------------------------------------------------------------- http://andymayer.net Painless IT solutions 127 Manchester Road, Sheffield S10 5DN, United Kingdom office: +44 (0) 114 2631336 / mobile: +44 (0) 7976 717210 +-------------------------------------------------------------------- From tode at bpanet.de Wed Dec 3 02:14:58 2003 From: tode at bpanet.de (Lars Tode) Date: Wed Dec 3 11:34:49 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: <3FCCD9D4.5070303@sonic.net> Message-ID: Hi John, > Take a look in your Interchange tmp directory (...catalogname/tmp or > whatever). > If I recall correctly, GPG/PGP output/errors will write to an > obviously-named > file there. I've a look today morning threw all directories and subdirectories in tmp and found no file that created by gpg/pgp. Why do you think it could be a gpg problem? Regards, Lars From tode at bpanet.de Wed Dec 3 02:19:55 2003 From: tode at bpanet.de (Lars Tode) Date: Wed Dec 3 11:34:51 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: <3FCCDAA1.2070309@MMaz.com> Message-ID: Hi Barry, > Any you are seeing the receipts page? yes I finish the order process everytime successfully. Just in the report mail for the shop owner the value of mv_credit_card_info is always NEED ENCRYPTION ENABLED. > Are you sure your routing isn't hosed? Sorry I didn't get what you mean. Regards, Lars From gerhard at pugmarks.net Tue Dec 2 23:19:38 2003 From: gerhard at pugmarks.net (Gerhard Conradi) Date: Wed Dec 3 11:41:58 2003 Subject: [ic] order process References: <00af01c3b8d4$ef103460$490a0a0a@pugmarks> Message-ID: <001001c3b954$aa8c2ad0$490a0a0a@pugmarks> Hi Aaron, that's it: etc/log_entry. I only have to understand how it works exactly, but I will master that. Thanks to all the help, greetings Gerhard ----- Original Message ----- From: "Aaron Hazelton" To: Sent: Tuesday, December 02, 2003 7:46 PM Subject: Re: [ic] order process > not sure exactly how your 'address book' or values thereof are set up, > but you can modify the files: etc/log_entry and etc/log_transaction where > updates are made to the userdb table. > > actually, i believe the userdb stuff is only in log_entry .. > > HTH > -- > Aaron Hazelton > Hazenet.net > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From tode at bpanet.de Wed Dec 3 11:40:32 2003 From: tode at bpanet.de (Lars Tode) Date: Wed Dec 3 11:43:07 2003 Subject: AW: [ic] Problem with PGP and credit card Message-ID: Hi Barry, > Any you are seeing the receipts page? yes I finish the order process everytime successfully. Just in the report mail for the shop owner the value of mv_credit_card_info is always NEED ENCRYPTION ENABLED. > Are you sure your routing isn't hosed? Sorry I didn't get what you mean. Regards, Lars From mike at perusion.com Tue Dec 2 22:34:24 2003 From: mike at perusion.com (Mike Heins) Date: Wed Dec 3 11:46:06 2003 Subject: [ic] indirect login with unique column In-Reply-To: <009a01c3b942$830b1eb0$0100a8c0@STARSHINE> References: <1070400455.2531.20.camel@localhost> <20031203002028.GA19340@bill.heins.net> <009a01c3b942$830b1eb0$0100a8c0@STARSHINE> Message-ID: <20031203033424.GA21463@bill.heins.net> Quoting Bill Carr (bill@worldwideimpact.com): > ----- Original Message ----- > From: "Mike Heins" > To: > Sent: Tuesday, December 02, 2003 7:20 PM > Subject: Re: [ic] indirect login with unique column > > > > Quoting Bill Carr (bill@worldwideimpact.com): > > > IC 4.9.9, MySQL 4.0.16 > > > > > > I have indirect_login set to email in my UserDB config. I also have a > > > UNIQUE INDEX on my email column in the userdb table. This seems like a > > > reasonable thing to do. > > > > > > Creating a new account was not working because of the UNIQUE INDEX. It > > > worked once but would not work after that because the insert statement > > > was failing with out including the 'email' value. > > > > > > I have made some hacks to UserDB.pm to fix this for myself. I will post > > > the changes if anyone thinks they would be of value. Someone please tell > > > me if I am just missing something here. > > > > I don't understand why you think there are two INSERT operations. > > > > If you are telling me that a subsequent UPDATE fails because the email > > column is not included in the list of fields updated, I would say that > > is a problem in MySQL. I see no reason that you have to include a field > > on every update. > In Vend::UserDB::new_account there is this: > > my $pass = $udb->set_field( > $self->{USERNAME}, > $self->{LOCATION}{PASSWORD}, > $pw, > ); > die ::errmsg("Database access error.") . "\n" unless defined $pass; > > if($foreign) { ... > > If you somehow have row with a value of '' in the email column the above > dies. MySQL complains with error 1062 duplicate key '' for key 2. Now I > realize that there should not be a value of '' in the email column but some > how it happened. When it did no one else could create an account and > therefore no new customers could buy anything a this particular store. > > I rewrote the above as follows and it solved my problem. > my $fary; > my $vary; > push @$fary, $self->{LOCATION}{PASSWORD}; > push @$vary, $pw; > if($foreign) { > push @$fary,$foreign; > push @$vary,$self->{PASSED_USERNAME}; > } > > my $pass = $udb->set_slice( > $self->{USERNAME}, > $fary, > $vary, > ); > > > Please tell me what you think. I can take it like a man! I think it is fine. The case seems pretty borderline, but I guess it could happen; it did. 8-) I think that the $pass = ... is wrong, though. It will actually return the username. Perhaps the value is not used after that; but it would make sense to name it something else. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Some people have twenty years of experience, some people have one year of experience twenty times over. -- Anonymous From jon at endpoint.com Wed Dec 3 11:46:48 2003 From: jon at endpoint.com (Jon Jensen) Date: Wed Dec 3 11:47:22 2003 Subject: [ic] IC Hall of Fame In-Reply-To: <1070468940.2885.43.camel@larry.andymayer.net> References: <1070468940.2885.43.camel@larry.andymayer.net> Message-ID: On Wed, 3 Dec 2003, Andy Mayer wrote: > We'd like to submit the following site to the hall of fame if it's > considered worthy: > > http://www.stthomaschurchshop.org.uk > > Sorry if this post is the wrong place, but I can't find anywhere to > submit it on the icdevgroup site. There's a form for submitting sites at the bottom of the full Hall of Fame listing: http://www.icdevgroup.org/i/dev/hall.html There's a link to it at the top of the page. Jon From chen at lilux.co.il Wed Dec 3 02:45:40 2003 From: chen at lilux.co.il (Chen Naor) Date: Wed Dec 3 12:15:05 2003 Subject: [ic] big orders - slow performance - pgsql Message-ID: <009201c3b971$73515960$0b32a8c0@lilux.co.il> Hello, I have some performance problem while entering big orders 50 - 200 items with options. It seems to me that the INSERT command for the orderline is causing the problems. I know that in Postgres there an option to speedup this process by using the COPY command. Can someone help me out on this issue - it suppose to go to the log_transaction in some way. Here is my configuration: 2 X P3-550Mhz 512MB RAM Fedora 1.0 IC 4.9.9 (RPM) Perl 5.8.2 + Bundle::Interchange (from source) Postgresql 7.4 Thanx, Chen Naor Lilux Systems http://www.lilux.co.il/ mail: chen@lilux.co.il From tartis at cellularmountain.com Wed Dec 3 10:05:06 2003 From: tartis at cellularmountain.com (Terral Artis) Date: Wed Dec 3 12:15:23 2003 Subject: [ic] Discount Tag Question Message-ID: <6.0.0.22.0.20031203094346.01e6b6d8@mail.cellularmountain.com> I am using IC 4.86, and have the discount tag working in the checkout page. The problem that I have is that the customer receipt shows the old price without the discount applied. The subtotal and total are correct thought. Do I need to do something with the receipt page? I also have the same problem if I look at the order in Admin. Here is the tag from checkout.html [discount code=ALL_ITEMS] $s * .90 [/discount] TIA Terral From ronnie at karatedepot.com Wed Dec 3 12:47:52 2003 From: ronnie at karatedepot.com (Aaron Rubin) Date: Wed Dec 3 12:33:56 2003 Subject: [ic] Discount Tag Question In-Reply-To: <6.0.0.22.0.20031203094346.01e6b6d8@mail.cellularmountain.com> Message-ID: <001201c3b9c5$93057490$fa9ea818@D7V3KR11> Are you sure the discount is actually being applied? Is the correct total or the total pre-discount being charged to their CC? Make sure you don't have a [discount ALL_ITEMS][/discount] somewhere, which would remove the discount. -- Aaron Rubin http://www.KarateDepot.com -----Original Message----- From: interchange-users-bounces@icdevgroup.org [mailto:interchange-users-bounces@icdevgroup.org] On Behalf Of Terral Artis Sent: Wednesday, December 03, 2003 10:05 AM To: interchange-users@icdevgroup.org Subject: [ic] Discount Tag Question I am using IC 4.86, and have the discount tag working in the checkout page. The problem that I have is that the customer receipt shows the old price without the discount applied. The subtotal and total are correct thought. Do I need to do something with the receipt page? I also have the same problem if I look at the order in Admin. Here is the tag from checkout.html [discount code=ALL_ITEMS] $s * .90 [/discount]
 Remove SKU Description Quantity Price Extension 
TIA Terral _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From Treahy at MMaz.com Wed Dec 3 12:41:44 2003 From: Treahy at MMaz.com (Barry Treahy, Jr.) Date: Wed Dec 3 12:42:24 2003 Subject: AW: [ic] Problem with PGP and credit card In-Reply-To: References: Message-ID: <3FCE2058.2010202@MMaz.com> Lars Tode wrote: >Hi Barry, > > > >>Any you are seeing the receipts page? >> >> >yes I finish the order process everytime successfully. Just in the report >mail for the shop owner the value of mv_credit_card_info is always NEED >ENCRYPTION ENABLED. > > > from Order.pm: sub pgp_encrypt { my($body, $key, $cmd) = @_; #::logDebug("called pgp_encrypt key=$key cmd=$cmd"); $cmd = $Vend::Cfg->{EncryptProgram} unless $cmd; $key = $Vend::Cfg->{EncryptKey} unless $key; if("\L$cmd" eq 'none') { return ::errmsg("NEED ENCRYPTION ENABLED."); } this is the source of your error, which tells me that you did not tell IC where to find gpg, or that gpg is not in IC's path... Barry -- Barry Treahy, Jr E-mail: Treahy@MMaz.com Midwest Microwave Phone: 480/314-1320 Vice President & CIO FAX: 480/661-7028 From pater.noster at gmx.net Wed Dec 3 12:45:40 2003 From: pater.noster at gmx.net (Thomas Weiss) Date: Wed Dec 3 12:46:23 2003 Subject: [ic] Performance issues with i18n Message-ID: <20031203174540.GA1844@worxpace> Hi all, I'm building an internationalized catalog with Interchange 4.9.9 and the locale based database mappings as found in the foundation catalog. My problem is that as soon as the mappings are used (by using a locale other than the default) everything gets terribly slow. The reason is the way Vend::Table::Shadow applies the mappings when querying the database. For example when using the foundation catalog's data and database mapping settings it takes about 80 sql queries to build the category menu (with the category_vertical component) when using the default locale (no mappings in use, no Vend::Table::Shadow), but with a non-default locale in use it takes about 950 sql queries to do the same, which is IMHO way too much to be efficient. So, have I missed something? Is there an alternative way to do internationalisation of the catalog data in Interchange? How are others doing it besides throwing fat hardware at the problem? Thomas From tartis at cellularmountain.com Wed Dec 3 12:47:48 2003 From: tartis at cellularmountain.com (Terral Artis) Date: Wed Dec 3 12:48:24 2003 Subject: [ic] Discount Tag Question Message-ID: <6.0.0.22.0.20031203124434.01e8b8e8@mail.cellularmountain.com> I am using IC 4.86, and have the discount tag working in the checkout page. The problem that I have is that the customer receipt shows the old price without the discount applied. The subtotal and total are correct thought. Do I need to do something with the receipt page? I also have the same problem if I look at the order in Admin. Do I need to do something with CommonAdjust? Any help would be appreciated. Here is the tag from checkout.html [discount code=ALL_ITEMS] $s * .90 [/discount]
 Remove SKU Description Quantity Price Extension 
Here is example of email. Quan Item No. Description Price Extension ---- ----------- -------------------------------- ------------- --------------- 2 DDYYDDKK My Stuff $16.49 $32.98 SUBTOTAL $29.68 SALES TAX $0.00 SHIPPING $9.95 ORDER TOTAL $39.63 TIA Terral From joshua at kingdomdesign.com Wed Dec 3 13:13:50 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Wed Dec 3 13:14:37 2003 Subject: [ic] Discount Tag Question In-Reply-To: <6.0.0.22.0.20031203094346.01e6b6d8@mail.cellularmountain.com> Message-ID: <724E1F8A-25BC-11D8-9499-0030654BBC4C@kingdomdesign.com> On Wednesday, December 3, 2003, at 09:05 AM, Terral Artis wrote: > I am using IC 4.86, and have the discount tag working in the checkout > page. The problem that I have is that the customer receipt shows the > old price without the discount applied. The subtotal and total are > correct thought. Do I need to do something with the receipt page? I > also have the same problem if I look at the order in Admin. [snip] > > Terral You need to change the [item-price] and [item-subtotal] tags to [item-discount-price] and [item-discount-subtotal], respectively. These should show the discounted price if there's a discount, if not, the regular price. I posted this bug on Nov 10 under the subject: Bug in etc/log_transaction or PREFIX-subtotal. Fixing etc/log_transaction will fix your Admin. Here's a snip from that post: ---- The docs claim that PREFIX-subtotal takes discounts into effect, but this is not happening. I've fixed my etc/log_transaction by changing the subtotal line (where the orderline rows are written) to: "subtotal: [if discount [item-code]][item-discount-subtotal noformat][else][item-subtotal noformat][/else][/if]" This also fixes the orders (new ones, anyways) in the UI. Perhaps there's a better way to do that, or perhaps the PREFIX-subtotal tag should be fixed? Earlier, I had to change include/checkout/shopping_cart, etc/receipt.html, and etc/mail_receipt to use the PREFIX-discount-subtotal tag as well. ---- (My etc/mail_receipt item subtotal looks like: [if discount [item-code]][item-discount-subtotal][else][item-subtotal][/else][/if]. Maybe the if isn't necessary, I don't remember.) Regards, Josh From admin at yoursole.com Wed Dec 3 16:20:36 2003 From: admin at yoursole.com (Andrew Baerg) Date: Wed Dec 3 16:19:01 2003 Subject: [ic] Problems with SOAP Message-ID: <200312032118.hB3LILHS021411@icdevgroup.org> Hello, I am having identical problems to what Racke posted back in March. I am wondering if this issue was ever resolved? Thanks for your help, Andrew Baerg -----Original Message----- From: Stefan Hornburg [mailto:racke@linuxia.de] Sent: Thursday, March 06, 2003 9:49 AM To: Interchange Users Subject: [ic] Problems with SOAP Hello, for two projects I would like to use Interchange as SOAP server (4.9). I wrote a little test script, but unfortunately it fails: #! /usr/bin/perl use strict; use warnings; use SOAP::Lite; my $ic = SOAP::Lite -> uri ('http://localhost:7780/Vend/SOAP/') -> proxy ('http://localhost:7780/matstock') -> on_debug (sub {print @_}) ; $ic->Values->result(); Here is the debugging output: cd /home/racke/matstock/soap/ /home/racke/matstock/soap/test.pl POST http://localhost:7780/matstock Accept: text/xml Accept: multipart/* Content-Length: 458 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://localhost:7780/Vend/SOAP/#Values" HTTP/1.0 200 OK Content-Type: text/xml Client-Date: Thu, 06 Mar 2003 14:46:45 GMT Client-Junk: 11upsg Client-Response-Num: 1 Can't call method "result" on an undefined value at /home/racke/matstock/soap/test.pl line 13. Interpretation exited abnormally with code 9 at Thu Mar 6 15:46:45 What the heck is the Client-Junk header ? Is that coming from SOAP::Lite. If I telnet to localhost 7780 and paste the query, the answer is coming in the body of the HTTP response. I would really appreciate any help in this matter, because I'm stuck for now with this problem. Bye Racke From smartin at steamvalve.com Wed Dec 3 05:23:07 2003 From: smartin at steamvalve.com (Scott Martin) Date: Wed Dec 3 17:24:09 2003 Subject: [ic] newbie question Message-ID: <200312030523.07667.smartin@steamvalve.com> Hello, I am trying to set up using the foundation store as my template. I was adding products via the item editor and for some reason can no longer add items. I tried looking this up in archives and have nbot been able to locate a reason for this. Debian Sarge, IC 4.8.7, Perl 5.8.0 (called with: /usr/bin/perl). Any thoughts or should I reinstall and start over? Thanks Scott Martin smartin@steamvalve.com From mike at perusion.com Wed Dec 3 17:23:55 2003 From: mike at perusion.com (Mike Heins) Date: Wed Dec 3 17:24:36 2003 Subject: [ic] big orders - slow performance - pgsql In-Reply-To: <009201c3b971$73515960$0b32a8c0@lilux.co.il> References: <009201c3b971$73515960$0b32a8c0@lilux.co.il> Message-ID: <20031203222355.GA31990@bill.heins.net> Quoting Chen Naor (chen@lilux.co.il): > Hello, > > I have some performance problem while entering big orders 50 - 200 items with options. > It seems to me that the INSERT command for the orderline is causing the problems. > I know that in Postgres there an option to speedup this process by using the COPY command. > Can someone help me out on this issue - it suppose to go to the log_transaction in some way. > > Here is my configuration: > 2 X P3-550Mhz 512MB RAM > Fedora 1.0 > IC 4.9.9 (RPM) > Perl 5.8.2 + Bundle::Interchange (from source) > Postgresql 7.4 > I bet you don't have transactions enabled. Set TRANSACTION_TABLES to "userdb orderline transactions inventory" in preferences. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From andy at andymayer.net Wed Dec 3 17:37:38 2003 From: andy at andymayer.net (Andy Mayer) Date: Wed Dec 3 17:39:34 2003 Subject: [ic] IC Hall of Fame In-Reply-To: References: <1070468940.2885.43.camel@larry.andymayer.net> Message-ID: <1070491058.2981.1.camel@larry.andymayer.net> On Wed, 2003-12-03 at 16:46, Jon Jensen wrote: > There's a form for submitting sites at the bottom of the full Hall of Fame > listing: > > http://www.icdevgroup.org/i/dev/hall.html > > There's a link to it at the top of the page. > > Jon Duh! Sorry Jon I didn't see that for some reason! Thanks, Andy From rbragg at gmnet.net Wed Dec 3 18:09:49 2003 From: rbragg at gmnet.net (Rick Bragg) Date: Wed Dec 3 18:10:33 2003 Subject: [ic] newbie question References: <200312030523.07667.smartin@steamvalve.com> Message-ID: <3FCE6D3D.4060600@gmnet.net> Scott Martin wrote: > Hello, > > I am trying to set up using the foundation store as my template. I was adding > products via the item editor and for some reason can no longer add items. > > I tried looking this up in archives and have nbot been able to locate a reason > for this. > > Debian Sarge, IC 4.8.7, Perl 5.8.0 (called with: /usr/bin/perl). > > Any thoughts or should I reinstall and start over? > > Thanks > Scott Martin > smartin@steamvalve.com > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > Hi Scott, Try looking in the error logs. If there is a problem, it should show up there. Anything there? It could be many things, could you be more specific? -- Rick Bragg Green Mountain Network web: http://www.gmnet.net email: rbragg@gmnet.net From icdev at mrlock.com Wed Dec 3 18:20:33 2003 From: icdev at mrlock.com (Steve) Date: Wed Dec 3 18:21:15 2003 Subject: [ic] ip validation In-Reply-To: <000201c3b947$41a5b020$0300a8c0@VAIO> Message-ID: > To: interchange-users@icdevgroup.org > Subject: RE: [ic] ip validation > > > Jon wrote > > "This could be obvious to everyone else but would you mind sharing > how/when did you realize this was happening i.e. what triggered you? > And perhaps share the IP address so everyone can check their logs?" > > > I was first notified of this activity by my merchant account (NOVA). I > don't have the ip address of this specific perpetrator (nor am I sure > how to obtain this information). I was hoping to just block any three > declines in a row by the same customer. The information being used with > the fraudulent credit card numbers is listed below: > > -Bill Fiore You might consider checking the session id, and see if it was the same for all attempts - maybe you could limit it in this fashion. -Steve Graham From smartin at steamvalve.com Wed Dec 3 10:20:52 2003 From: smartin at steamvalve.com (Scott Martin) Date: Wed Dec 3 22:21:49 2003 Subject: [ic] newbie question In-Reply-To: <3FCE6D3D.4060600@gmnet.net> References: <200312030523.07667.smartin@steamvalve.com> <3FCE6D3D.4060600@gmnet.net> Message-ID: <200312031020.53105.smartin@steamvalve.com> On Wednesday 03 December 2003 06:09 pm, Rick Bragg wrote: > Scott Martin wrote: > > Hello, > > > > I am trying to set up using the foundation store as my template. I was > > adding products via the item editor and for some reason can no longer add > > items. > > > > I tried looking this up in archives and have nbot been able to locate a > > reason for this. > > > > Debian Sarge, IC 4.8.7, Perl 5.8.0 (called with: /usr/bin/perl). > > > > Any thoughts or should I reinstall and start over? > > > > Thanks > > Scott Martin > > smartin@steamvalve.com > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > Hi Scott, > > Try looking in the error logs. If there is a problem, it should show up > there. Anything there? It could be many things, could you be more > specific? Hi, Being new at this, I think the error message I get is as follows: 127.0.0.1 rS682zTf:127.0.0.1 - [01/December/2003:09:13:38 -0500] foundation / cgi-bin/ic/foundation/ui probable bad form -- number of values min=0 (comment) max=2 (sku) Thanks for responding Scott Martin smartin@steamvalve.com From racke at linuxia.de Thu Dec 4 07:32:19 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 4 07:32:54 2003 Subject: [ic] ip validation In-Reply-To: References: Message-ID: <20031204133219.30a0292d.racke@linuxia.de> On Tue, 2 Dec 2003 18:56:16 +0200 "Rene Hertell" wrote: > > Hi, > > > > I have recently received hundreds of fraudulent attempts on my merchant > > account from within my interchange store, where a customer uses various > > credit card numbers to find a valid one. The transactions are being > > declined by authorize.net but I am still receiving an $.08 decline fee > > each time. Is there an available script that will block an ip address > > after three attempts. > > You could place this piece of code on the checkout-page > > [if term="[env REMOTE_ADDR]" op="eq" compare="12.34.56.78"] > [bounce href="[area tage.html]"] > [/if] I would block them on the firewall or by Apache. Ciao Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From racke at linuxia.de Thu Dec 4 07:43:05 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 4 07:43:43 2003 Subject: [ic] Table creation error when using database mappings In-Reply-To: <20031202160124.GA1850@worxpace> References: <20031202160124.GA1850@worxpace> Message-ID: <20031204134305.2a4e2755.racke@linuxia.de> On Tue, 2 Dec 2003 17:01:24 +0100 Thomas Weiss wrote: > Hi all, > > I'm using Interchange 4.9.9 with PostgreSQL. For internationalisation > I'm using the locale based database mappings found in the foundation > catalog. Now there is a problem when importing a database/table with > mappings into an sql database with support for transactions. The actual > problem is raised in Vend::Table::Common (in function > import_ascii_delimited()) when trying to call the commit() function on > the database table object, which for databases with mappings is > represented by Vend::Table::Shadow, which unfortunately doesn't > implement a commit() function. > > Adding the following simple function to Vend::Table::Shadow resolves the > problem: > > sub commit { > my ($s) = @_; > $s = $s->import_db() unless defined $s->[$OBJ]; > return $s->[$OBJ]->commit(); > } > > As I don't have a full understanding of Interchange's internals I would > like to know if this is the right way to fix this problem. Thank you very much for your analysis. I fixed Vend::Table::Shadow accordingly in CVS. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From tode at bpanet.de Thu Dec 4 09:21:50 2003 From: tode at bpanet.de (Lars Tode) Date: Thu Dec 4 09:24:22 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: <3FCE2058.2010202@MMaz.com> Message-ID: Hi Barry, > this is the source of your error, which tells me that you did not tell > IC where to find gpg, or that gpg is not in IC's path... I added EncryptProgram and EncryptKey to my catalog.cfg Variable EncryptProgram /usr/local/bin/gpg Variable EncyptKey /usr/home/foo/.gnupg/me.pkr I get this NEED ENCRYPTION ENABLED, too. Is there a problem with the key file, or should I use the mail-address as EncryptKey? Regards, Lars From racke at linuxia.de Thu Dec 4 09:25:58 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 4 09:26:35 2003 Subject: [ic] Problems with SOAP In-Reply-To: <200312032118.hB3LILHS021411@icdevgroup.org> References: <200312032118.hB3LILHS021411@icdevgroup.org> Message-ID: <20031204152558.5e8de118.racke@linuxia.de> On Wed, 3 Dec 2003 14:20:36 -0700 Andrew Baerg wrote: > Hello, > > I am having identical problems to what Racke posted back in March. I am wondering if this issue was ever resolved? Actually it should work with current CVS. Which IC version do you using ? Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From racke at linuxia.de Thu Dec 4 09:47:40 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 4 09:48:19 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: References: <3FCE2058.2010202@MMaz.com> Message-ID: <20031204154740.0f9e790c.racke@linuxia.de> On Thu, 4 Dec 2003 15:21:50 +0100 "Lars Tode" wrote: > Hi Barry, > > > this is the source of your error, which tells me that you did not tell > > IC where to find gpg, or that gpg is not in IC's path... > > I added EncryptProgram and EncryptKey to my catalog.cfg > > Variable EncryptProgram /usr/local/bin/gpg > Variable EncyptKey /usr/home/foo/.gnupg/me.pkr That is totally wrong. I suggest to look at a catalog.cfg from the IC distribution. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From joshua at kingdomdesign.com Thu Dec 4 09:49:36 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Thu Dec 4 09:50:17 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: Message-ID: <147DBD79-2669-11D8-9499-0030654BBC4C@kingdomdesign.com> On Thursday, December 4, 2003, at 08:21 AM, Lars Tode wrote: > Hi Barry, > >> this is the source of your error, which tells me that you did not tell >> IC where to find gpg, or that gpg is not in IC's path... > > I added EncryptProgram and EncryptKey to my catalog.cfg > > Variable EncryptProgram /usr/local/bin/gpg > Variable EncyptKey /usr/home/foo/.gnupg/me.pkr > > I get this NEED ENCRYPTION ENABLED, too. > > Is there a problem with the key file, or should I use the mail-address > as > EncryptKey? > > Regards, > > Lars FWIW, I'm using the email address as the encrypt key. Josh From Treahy at MMaz.com Thu Dec 4 10:14:51 2003 From: Treahy at MMaz.com (Barry Treahy, Jr.) Date: Thu Dec 4 10:15:32 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: References: Message-ID: <3FCF4F6B.2060003@MMaz.com> Lars Tode wrote: >Hi Barry, > > > >>this is the source of your error, which tells me that you did not tell >>IC where to find gpg, or that gpg is not in IC's path... >> >> > >I added EncryptProgram and EncryptKey to my catalog.cfg > >Variable EncryptProgram /usr/local/bin/gpg >Variable EncyptKey /usr/home/foo/.gnupg/me.pkr > >I get this NEED ENCRYPTION ENABLED, too. > >Is there a problem with the key file, or should I use the mail-address as >EncryptKey? > > > Wrong, look in the .structure file... and it is the key, not the keyring... You MUST have gpg setup so that it will run as the INTERCH process and the gpg files within its path... Barry -- Barry Treahy, Jr E-mail: Treahy@MMaz.com Midwest Microwave Phone: 480/314-1320 Vice President & CIO FAX: 480/661-7028 From interchange at framework.cx Thu Dec 4 10:54:29 2003 From: interchange at framework.cx (Interchange User) Date: Thu Dec 4 10:55:08 2003 Subject: [ic] 500 Error after UI edit Message-ID: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> Greetings, IC 4.9.9, MySQL 4 In MySQL, I altered a table to include a new field. I then went into the admin UI and added said field to show up in the editor, and immediately started getting 500 errors as soon as I went back to the item editor. This is what the logs tell me: 10.0.1.2 dhcggmaZ:192.168.0.100 - [04/December/2003:07:22:29 -0500] fmridc /cgi-bin/fmridc/admin/item_edit.html Runtime error: Can't use string ("price") as a HASH ref while "strict refs" in use at /Users/peter/interchange/lib/Vend/Table/Editor.pm line 3403. The table I am accessing is not named "products" but is one of the ProductFiles in catalog.cfg, but the table does not contain a field named "price". Is that necessary? Can anyone tell me why this is happening? Thanks, Peter From mike at perusion.com Thu Dec 4 11:19:59 2003 From: mike at perusion.com (Mike Heins) Date: Thu Dec 4 11:20:35 2003 Subject: AW: [ic] Problem with PGP and credit card In-Reply-To: References: <3FCE2058.2010202@MMaz.com> Message-ID: <20031204161959.GA8915@bill.heins.net> Quoting Lars Tode (tode@bpanet.de): > Hi Barry, > > > this is the source of your error, which tells me that you did not tell > > IC where to find gpg, or that gpg is not in IC's path... > > I added EncryptProgram and EncryptKey to my catalog.cfg > > Variable EncryptProgram /usr/local/bin/gpg > Variable EncyptKey /usr/home/foo/.gnupg/me.pkr EncryptKey is not a filename. It is an identifier that selects the key. It is whatever would select a unique key from this command line: gpg --list-keys UNIQUE_STRING For instance, I do: gpg --list-keys 6792C81F and get gpg: WARNING: using insecure memory! pub 1024D/6792C81F 2002-06-10 Mike Heins sub 1024g/F4382AA9 2002-06-10 -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Experience is what allows you to recognize a mistake the second time you make it. -- unknown From racke at linuxia.de Thu Dec 4 11:23:26 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 4 11:23:59 2003 Subject: [ic] 500 Error after UI edit In-Reply-To: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> References: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> Message-ID: <20031204172326.51e42a59.racke@linuxia.de> On Thu, 4 Dec 2003 10:54:29 -0500 Interchange User wrote: > Greetings, > > IC 4.9.9, MySQL 4 > > In MySQL, I altered a table to include a new field. I then went into > the admin UI and added said field to show up in the editor, and > immediately started getting 500 errors as soon as I went back to the > item editor. First of all, reconfig the catalog after changing tables via MySQL. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From mike at perusion.com Thu Dec 4 11:30:50 2003 From: mike at perusion.com (Mike Heins) Date: Thu Dec 4 11:31:24 2003 Subject: [ic] 500 Error after UI edit In-Reply-To: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> References: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> Message-ID: <20031204163050.GA9207@bill.heins.net> Quoting Interchange User (interchange@framework.cx): > Greetings, > > IC 4.9.9, MySQL 4 > > In MySQL, I altered a table to include a new field. I then went > into the admin UI and added said field to show up in the editor, and > immediately started getting 500 errors as soon as I went back to the > item editor. This is what the logs tell me: > > 10.0.1.2 dhcggmaZ:192.168.0.100 - [04/December/2003:07:22:29 -0500] > fmridc /cgi-bin/fmridc/admin/item_edit.html Runtime error: Can't use > string ("price") as a HASH ref while "strict refs" in use at > /Users/peter/interchange/lib/Vend/Table/Editor.pm line 3403. > > The table I am accessing is not named "products" but is one of the > ProductFiles in catalog.cfg, but the table does not contain a field > named "price". Is that necessary? > > Can anyone tell me why this is happening? You didn't restart IC. Interchange reads the table at catalog config time, and builds the column setup then. Do "apply changes" and all should be well. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Opportunity is missed by most people because it is dressed in overalls and looks like work. -- Thomas Edison From cwenham at synesmedia.com Thu Dec 4 11:41:25 2003 From: cwenham at synesmedia.com (Christopher Wenham) Date: Thu Dec 4 11:35:38 2003 Subject: [ic] 500 Error after UI edit In-Reply-To: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> References: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> Message-ID: <200312041141.25911.cwenham@synesmedia.com> On Thursday 04 December 2003 10:54, Interchange User wrote: > ????????In MySQL, I altered a table to include a new field. ?I then went > into the admin UI and added said field to show up in the editor, and > immediately started getting 500 errors as soon as I went back to the > item editor. ?This is what the logs tell me: > > 10.0.1.2 dhcggmaZ:192.168.0.100 - [04/December/2003:07:22:29 -0500] > fmridc /cgi-bin/fmridc/admin/item_edit.html Runtime error: Can't use > string ("price") as a HASH ref while "strict refs" in use at > /Users/peter/interchange/lib/Vend/Table/Editor.pm line 3403. Are you using Safari or Konqueror as your browser? I saw this error once after using Konqueror to edit the UI, and the only way I could fix it was to replace products/mv_metadata.asc with a clean copy from the original foundation catalog. (You'll have to then delete mv_metadata.gdbm, too). The problem didn't come back after I made the same UI edit with Internet Explorer. Regards, -- Chris Wenham - Synesmedia, Inc. http://www.synesmedia.com 516-620-4110 / 1-888-255-7573 Fax: 516-908-7824 From admin at yoursole.com Thu Dec 4 11:39:05 2003 From: admin at yoursole.com (Andrew Baerg) Date: Thu Dec 4 11:37:27 2003 Subject: [ic] Problems with SOAP Message-ID: <200312041637.hB4GapHS017524@icdevgroup.org> >> > I am having identical problems to what Racke posted back in March. I am wondering if this issue was ever resolved? >> Actually it should work with current CVS. Which IC version do you using ? I am using 4.8.7, but I have upgraded SOAP.pm and SOAP/Transport.pm to the current CVS. I just can't figure out why it works, except the result is returned in the Client-Junk header instead of the body of the response. Does it have something to do with the SOAP::Lite version or possibly the LWP version which is responsible for the Client-Junk header? Thank you very much for your time, Andrew From tode at bpanet.de Thu Dec 4 11:37:07 2003 From: tode at bpanet.de (Lars Tode) Date: Thu Dec 4 11:39:39 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: <20031204161959.GA8915@bill.heins.net> Message-ID: Hi, > EncryptKey is not a filename. It is an identifier that selects > the key. It is whatever would select a unique key from this > command line: > > gpg --list-keys UNIQUE_STRING > > For instance, I do: > > gpg --list-keys 6792C81F > > and get > > gpg: WARNING: using insecure memory! > pub 1024D/6792C81F 2002-06-10 Mike Heins > sub 1024g/F4382AA9 2002-06-10 > You mean I'd only to add the public key and it should run? Regards, Lars From frank at goldissue.com Thu Dec 4 12:13:22 2003 From: frank at goldissue.com (frank) Date: Thu Dec 4 12:09:47 2003 Subject: [ic] tables spilling into other shops Message-ID: <3FCF6B32.5030900@goldissue.com> Hi, Tonight I visited a client and we built a photography shop by constructing area.txt, cat.txt, and products.txt using excel. We discovered later that the the links which we had created for cameras, binoculas appeared on another client's site - a hardware shop. Because I use a method of cloning where I build a new shop using makecat, and then write a script to copy the (improvements) from the previous shop (the templates and tables and pages) to the new shop. I though maybe the system uses symbolic links which might be causing this or could it be file ownerships? Has anybody got an idea how I should tackle this? Regards, Frank Reitzenstein. From racke at linuxia.de Thu Dec 4 12:14:29 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 4 12:14:58 2003 Subject: [ic] Problems with SOAP In-Reply-To: <200312041637.hB4GapHS017524@icdevgroup.org> References: <200312041637.hB4GapHS017524@icdevgroup.org> Message-ID: <20031204181429.2430173a.racke@linuxia.de> On Thu, 4 Dec 2003 09:39:05 -0700 Andrew Baerg wrote: > >> > I am having identical problems to what Racke posted back in March. I am wondering if this issue was ever resolved? > > >> Actually it should work with current CVS. Which IC version do you using ? > > I am using 4.8.7, but I have upgraded SOAP.pm and SOAP/Transport.pm to the current CVS. I just can't figure out why it works, except the result is returned in the Client-Junk header instead of the body of the response. Does it have something to do with the SOAP::Lite version or possibly the LWP version which is responsible for the Client-Junk header? If I remember correctly, the Client-Junk is in fact coming from LWP. You need to fix your Server.pm in order to get SOAP working with 4.8.7. The patch you probably need has been applied with CVS revision 2.28: revision 2.28 date: 2003/03/08 00:14:58; author: racke; state: Exp; lines: +3 -2 ensure that SOAP server adds a blank line between HTTP header and HTTP body Probably you cannot use the patch directly on 4.8, but look at the changes. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From marc.brevoort at armazemdedados.com Thu Dec 4 12:32:16 2003 From: marc.brevoort at armazemdedados.com (Marc Brevoort) Date: Thu Dec 4 12:22:17 2003 Subject: [ic] tables spilling into other shops In-Reply-To: <3FCF6B32.5030900@goldissue.com> References: <3FCF6B32.5030900@goldissue.com> Message-ID: <3FCF6FA0.4050603@armazemdedados.com> frank wrote: > We discovered later that the the links which we > had created for cameras, > binoculas appeared on another client's site - > a hardware shop. We once had a similar situation. Have you checked if the Database Setup section in catalog.cfg of both shops happen to point to the same database? What DBMS do you use? Regards, Marc Brevoort From frank at goldissue.com Thu Dec 4 12:47:42 2003 From: frank at goldissue.com (frank) Date: Thu Dec 4 12:44:06 2003 Subject: [ic] tables spilling into other shops In-Reply-To: <3FCF6FA0.4050603@armazemdedados.com> References: <3FCF6B32.5030900@goldissue.com> <3FCF6FA0.4050603@armazemdedados.com> Message-ID: <3FCF733E.5040304@goldissue.com> Marc Brevoort wrote: > frank wrote: > > > We discovered later that the the links which we > > had created for cameras, > > binoculas appeared on another client's site - > > a hardware shop. > > We once had a similar situation. Have you checked if the > Database Setup section in catalog.cfg of both shops > happen to point to the same database? What DBMS do you > use? > > Regards, > > Marc Brevoort > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > Thankyou Marc, I use mysql. I found a reference to the hardware shop's database in the photo shop's catalog.cfg It had occured to me but I was not sure where to look. Regards, Frank Reitzenstein From pater.noster at gmx.net Thu Dec 4 13:17:22 2003 From: pater.noster at gmx.net (Thomas Weiss) Date: Thu Dec 4 13:18:02 2003 Subject: [ic] Performance issues with i18n In-Reply-To: <20031203174540.GA1844@worxpace> References: <20031203174540.GA1844@worxpace> Message-ID: <20031204181722.GA4190@worxpace> * On Wed, Dec 03 panos wrote: > I'm building an internationalized catalog with Interchange 4.9.9 and the > locale based database mappings as found in the foundation catalog. My > problem is that as soon as the mappings are used (by using a locale > other than the default) everything gets terribly slow. The reason is the > way Vend::Table::Shadow applies the mappings when querying the database. > > For example when using the foundation catalog's data and database mapping > settings it takes about 80 sql queries to build the category menu (with > the category_vertical component) when using the default locale (no > mappings in use, no Vend::Table::Shadow), but with a non-default locale > in use it takes about 950 sql queries to do the same, which is IMHO way > too much to be efficient. I've been hacking around a little bit and have been able to speed up the database mapping for this case by more than factor 3. The benchmarks have been done with the foundation catalog's process page with category_vertical being the only enabled component. Always a non-default locale setting was used. Interchange was running on my workstation, a PC with a P4 1.5GHz CPU and 512MB and the database server (PostgreSQL) was running on a machine with a PIII 550GHz CPU with 768MB RAM. The number of database queries required to display the page has dropped from about 950 down to about 120 which raises the number of pages Interchange can server in a minute from 28 up to 95. When using single table mappings (i.e. the mapped column is in the same table as the original column) it served 106 pages in 1 minute. The optimizations made were 1) omitting an unnessessary call to record_exists() in Vend::Table::Shadow and 2) letting the database server do the hard work applying the mappings instead of doing it manually. Below are patches against Vend::Table::DBI (CVS Version 2.57) and Vend::Table::Shadow (CVS Version 1.43) which implement these optimizations. The patches are meant as a proof-of-concept kind of thing and there is of course room for improvement. The most important thing to do is support optimization even if the fallback option is set for the mapping. Currently optimization is done only if fallback is off but it can relatively easy be implemented (see patch no. 2 for details). I'm looking forward to hear any opinions. Thomas ------------------------------------------------------------------------ PATCH 1) ======== diff -ru ic.orig/Vend/Table/Shadow.pm ic.new/Vend/Table/Shadow.pm --- ic.orig/Vend/Table/Shadow.pm Thu Oct 16 00:00:00 2003 +++ ic.new/Vend/Table/Shadow.pm Thu Dec 4 15:39:10 2003 @@ -556,11 +556,9 @@ if (exists $map->{table}) { $db = Vend::Data::database_exists_ref($map->{table}) or die "unknown table $map->{table} in mapping for column $column of $s->[$TABLE] for locale $locale"; - if ($db->record_exists($key)) { - $value = $db->field($key, $map->{column}); - } else { - $value = ''; - } + + $value = $db->field($key, $map->{column}); + $value = '' unless defined $value; } else { $value = $s->[$OBJ]->field($key, $map->{column}); } PATCH 2) ======== diff -ru ic.orig/Vend/Table/DBI.pm ic.new/Vend/Table/DBI.pm --- ic.orig/Vend/Table/DBI.pm Fri Aug 22 00:00:00 2003 +++ ic.new/Vend/Table/DBI.pm Thu Dec 4 17:51:47 2003 @@ -1811,11 +1811,11 @@ # Now supported, including qualification sub each_nokey { - my $s = shift; + my ($s, $qual, $optimap) = @_; $s = $s->import_db() if ! defined $s->[$DBI]; my ($table, $db, $each); unless(defined $s->[$EACH]) { - my $qual = shift || ''; + $qual ||= ''; $qual .= $s->[$CONFIG]{Export_order} if $s->[$CONFIG]{Export_order}; ($table, $db, $each) = @{$s}[$TABLE,$DBI,$EACH]; @@ -1827,11 +1827,88 @@ ! $Global::SuperUserFunction->() ) ) { - $qual = $qual ? "$qual AND " : 'WHERE '; + $qual = $qual ? "$qual AND " : $optimap ? '' : 'WHERE '; my ($rfield, $rsession) = split /\s*=\s*/, $restrict; + + # Map field name if field has mapping and optimization + # was requested. + if ($optimap->{$rfield}) { + $rfield = "$optimap->{$rfield}->{table}." + if $optimap->{$rfield}->{table}; + $rfield .= "$optimap->{$rfield}->{column}"; + } + $qual .= "$rfield = '$Vend::Session->{$rsession}'"; } - my $query = $db->prepare("select * from $table " . ($qual || '') ) + + my @cols = $s->columns() + or die "No column information while trying to optimize query.\n"; + + # Build optimized query using joins if optimization data was given. + # Used with mapped databases (see Vend::Table::Shadow). + my $cols_def = ''; + my $tables_def = ''; + my $where_def = ''; + if ($optimap) { + # First remove mapped columns (for single table mappings) from the + # column list of this table, as otherwise we would select the same + # column twice. + my %localmap_cols = map { + ( lc($optimap->{$_}->{column}) => 1 ) + if $optimap->{$_} && !$optimap->{$_}->{table} + } @cols; + @cols = grep { !$localmap_cols{$_} } @cols; + + my %joined; + my $key_col = $s->[$CONFIG]->{KEY} || $cols[0]; + for my $col (@cols) { + my $optimap_col = $optimap->{$col}; + + $cols_def .= ', ' unless $cols_def eq ''; + + unless ($optimap_col) { + $cols_def .= "$table.$col AS $col"; + next; + } + + if ($optimap_col->{table}) { + $cols_def .= + "$optimap_col->{table}.$optimap_col->{column} AS $col"; + } + else { + $cols_def .= "$optimap_col->{column} AS $col"; + next; + } + + next if $joined{$optimap_col->{table}}; + + $tables_def .= ', ' unless $tables_def eq ''; + $tables_def .= $optimap_col->{table}; + + my @map_cols = $optimap_col->{db}->columns() + or die "No column information while trying to " . + "optimize query.\n"; + my $map_key_col = $optimap_col->{db}->config('KEY') + || $map_cols[0]; + + $where_def .= ' AND ' unless $where_def eq ''; + + $where_def .= "$table.$key_col = " . + "$optimap_col->{table}.$map_key_col"; + $joined{$optimap_col->{table}} = 1; + } + + $tables_def = $tables_def ? "$table, $tables_def" : $table; + $where_def = $where_def + ? "WHERE $where_def" . ($qual ? " AND $qual" : '') : ''; + } + else { + $cols_def = '*'; + $tables_def = $table; + $where_def = $qual ? $qual : ''; + } + + my $query = $db->prepare("select $cols_def from $tables_def $where_def") or die $s->log_error('prepare'); $query->execute() or die $s->log_error('execute'); diff -ru ic.orig/Vend/Table/Shadow.pm ic.new/Vend/Table/Shadow.pm --- ic.orig/Vend/Table/Shadow.pm Thu Oct 16 00:00:00 2003 +++ ic.new/Vend/Table/Shadow.pm Thu Dec 4 17:51:47 2003 @@ -29,8 +29,10 @@ use strict; -use vars qw($CONFIG $TABLE $KEY $NAME $TYPE $OBJ $PENDING); -($CONFIG, $TABLE, $KEY, $NAME, $TYPE, $OBJ, $PENDING) = (0 .. 6); +use vars qw($CONFIG $TABLE $KEY $NAME $TYPE $OBJ $PENDING $EACH_NOKEY); +($CONFIG, $TABLE, $KEY, $NAME, $TYPE, $OBJ, $PENDING, $EACH_NOKEY) = (0 .. 7); + +use constant EACH_NOKEY_OPTIMIZED => 2; sub config { my ($s, $key, $value) = @_; @@ -267,9 +269,27 @@ my $record; $s = $s->import_db() unless defined $s->[$OBJ]; - if ($record = $s->[$OBJ]->each_nokey($qual)) { - return $s->_map_array ($record); + + my $optimap; + if (!defined $s->[$EACH_NOKEY]) { + # first call to each_nokey() + $s->[$EACH_NOKEY] = 1; + + # determine if the query is optimizable + $optimap = $s->_each_nokey_optimap($qual); + $s->[$EACH_NOKEY] |= $s->EACH_NOKEY_OPTIMIZED if $optimap; + } + + unless ($record = $s->[$OBJ]->each_nokey($qual, $optimap)) { + undef $s->[$EACH_NOKEY]; + return $record; } + + # for optimized queries just return the result + return $record if $s->[$EACH_NOKEY] & EACH_NOKEY_OPTIMIZED; + + # for non-optimized queries manually map the record and return the result + return $s->_map_array($record); } sub query { @@ -454,6 +474,65 @@ } \%sqlinfo; +} + +# Check if a query can be optimized. If so return a hashref containing +# relevant data required by the underlying routine to do the actual +# optimization. Otherwise return undef. +sub _each_nokey_optimap { + my ($s, $qual) = @_; + + # Optimization changes column names due to the joins + # it uses, so if there is a qualifier we skip optimization + # as we would have to parse it and replace column names + # in there otherwise. + return undef if $qual; + + # No optimization if shadowing should be skipped. + return undef if $::Scratch->{mv_shadowpass}; + + # Optimization works for SQL queries only. Skip optimization for + # non-SQL databases. + return undef if ref $s->[$OBJ] ne 'Vend::Table::DBI'; + + my @cols = $s->columns() or return undef; + my $map = $s->[$CONFIG]->{MAP}; + my $locale = $::Scratch->{mv_locale} || 'default'; + + my %optimap; + for my $col (@cols) { + next unless exists $map->{$col}->{$locale}; + + my $col_map = $map->{$col}->{$locale}; + + # At least another column name has to be given to do the mapping. + return undef unless $col_map->{column}; + + # Don't optimize if a lookup table was specified or fallback + # requested. Fallback would require more database specific features + # like LEFT OUTER JOIN and functions like CASE in PostgreSQL or + # IF() in MySQL. + return undef if $col_map->{lookup_table} || $col_map->{fallback}; + + unless ($col_map->{table}) { + $optimap{$col} = { column => $col_map->{column} }; + next; + } + + # Skip optimization if the shadow database is not an SQL + # database. + # TODO: Make sure the database object uses the same DSN as the + # shadowed database. + my $map_db = Vend::Data::database_exists_ref($col_map->{table}); + return undef unless ref $map_db eq 'Vend::Table::DBI'; + + $optimap{$col} = { table => $col_map->{table}, + column => $col_map->{column}, + db => $map_db } + } + + return undef unless %optimap; + return \%optimap; } sub _map_entries { From reid at vianet.ca Thu Dec 4 13:40:03 2003 From: reid at vianet.ca (Reid Sutherland) Date: Thu Dec 4 13:43:23 2003 Subject: [ic] Mailing list archives broken Message-ID: <3FCF7F83.8090702@vianet.ca> Please CC me as this email address is not on the list. I guess before pointing new users to searching the archives, maybe the archives should be fixed to include this year at a minimum. Or at least tell them about http://marc.theaimsgroup.com/ or make sure they use the Google search. I would guess it would be best to just remove the "Interchange" list search and out-of-date archives from the mailing lists page to avoid confusion. And simply leave the Google intact. And possibly put a link to marc. Just my thoughts... -reid From mike at perusion.com Thu Dec 4 14:04:36 2003 From: mike at perusion.com (Mike Heins) Date: Thu Dec 4 14:05:15 2003 Subject: [ic] Performance issues with i18n In-Reply-To: <20031204181722.GA4190@worxpace> References: <20031203174540.GA1844@worxpace> <20031204181722.GA4190@worxpace> Message-ID: <20031204190436.GA11231@bill.heins.net> Quoting Thomas Weiss (pater.noster@gmx.net): > * On Wed, Dec 03 panos wrote: > > I'm building an internationalized catalog with Interchange 4.9.9 and the > > locale based database mappings as found in the foundation catalog. My > > problem is that as soon as the mappings are used (by using a locale > > other than the default) everything gets terribly slow. The reason is the > > way Vend::Table::Shadow applies the mappings when querying the database. > > > > For example when using the foundation catalog's data and database mapping > > settings it takes about 80 sql queries to build the category menu (with > > the category_vertical component) when using the default locale (no > > mappings in use, no Vend::Table::Shadow), but with a non-default locale > > in use it takes about 950 sql queries to do the same, which is IMHO way > > too much to be efficient. > > I've been hacking around a little bit and have been able to speed up the > database mapping for this case by more than factor 3. The benchmarks > have been done with the foundation catalog's process page with > category_vertical being the only enabled component. Always a non-default > locale setting was used. Interchange was running on my workstation, a > PC with a P4 1.5GHz CPU and 512MB and the database server (PostgreSQL) > was running on a machine with a PIII 550GHz CPU with 768MB RAM. > > The number of database queries required to display the page has dropped > from about 950 down to about 120 which raises the number of pages > Interchange can server in a minute from 28 up to 95. When using single > table mappings (i.e. the mapped column is in the same table as the > original column) it served 106 pages in 1 minute. > > The optimizations made were 1) omitting an unnessessary call to > record_exists() in Vend::Table::Shadow and 2) letting the database > server do the hard work applying the mappings instead of doing it > manually. > > Below are patches against Vend::Table::DBI (CVS Version 2.57) and > Vend::Table::Shadow (CVS Version 1.43) which implement these > optimizations. The patches are meant as a proof-of-concept kind of thing > and there is of course room for improvement. The most important thing > to do is support optimization even if the fallback option is set for > the mapping. Currently optimization is done only if fallback is off > but it can relatively easy be implemented (see patch no. 2 for details). > > I'm looking forward to hear any opinions. This optimization effort is welcome. However, as a real means of optimzing I recommend looking at timed-build. Just wrapping the category display in [timed-build login=1 file="tmp/category_[scratch mv_locale]" minutes=10] (the ITL for category display) [/timed-build] should remove the necessity to pay too much attention to this. Of course it will not work for users who don't accept cookies, but that should be a small percentage. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Friends don't let friends use Outlook. -- Bob Blaylock From reid at vianet.ca Thu Dec 4 14:10:55 2003 From: reid at vianet.ca (Reid Sutherland) Date: Thu Dec 4 14:14:23 2003 Subject: [ic] Matrix options inventory -- yet again. Message-ID: <3FCF86BF.3060003@vianet.ca> Please CC me as this email address is not on the list. Version: 4.9.8 I've searched the lists and have come to no real conclusion about the state of inventory controls with regards to matrix options. Here's what I understand: "It doesn't work the way it should.". Basically, you can buy things even if there is no stock in the option item. It will even bring the inventory count below 0 (-5 for example). This is plain silly in my opinion. This method confuses would be IC users that are trying to sell clothing, for example. As they would have multiple sizes, colours, etc., and different inventory for each. Sooo, should I stop complaining and patch it myself, or is there something I can do to have it notify/email/complain/etc when a particular option is out of stock? I think the current matrix option inventory system should either be disabled or improved. In it's current state, it makes no sense (to me). It only adds hope that it functions the same way as the regular item inventory does, which of course, it does not. And in the end it may give some users a bad taste for IC (and less consulting money for Mike ;)) Let me know what you think. Thanks much, -reid From interchange at framework.cx Thu Dec 4 13:48:26 2003 From: interchange at framework.cx (Interchange User) Date: Thu Dec 4 14:16:40 2003 Subject: [ic] 500 Error after UI edit References: <2525AA66-2672-11D8-9060-00039393C622@framework.cx> <200312041141.25911.cwenham@synesmedia.com> Message-ID: <034901c3ba9b$1cc9a4a0$1564a8c0@template> > On Thursday 04 December 2003 10:54, Interchange User wrote: > > In MySQL, I altered a table to include a new field. I then went > > into the admin UI and added said field to show up in the editor, and > > immediately started getting 500 errors as soon as I went back to the > > item editor. This is what the logs tell me: > > > > 10.0.1.2 dhcggmaZ:192.168.0.100 - [04/December/2003:07:22:29 -0500] > > fmridc /cgi-bin/fmridc/admin/item_edit.html Runtime error: Can't use > > string ("price") as a HASH ref while "strict refs" in use at > > /Users/peter/interchange/lib/Vend/Table/Editor.pm line 3403. > > Are you using Safari or Konqueror as your browser? > > I saw this error once after using Konqueror to edit the UI, and the only way > I could fix it was to replace products/mv_metadata.asc with a clean copy from > the original foundation catalog. (You'll have to then delete > mv_metadata.gdbm, too). > > The problem didn't come back after I made the same UI edit with Internet > Explorer. Brilliant! Thank you Chris. Safari be damned when it comes to UI edits, I suppose. Thanks again, Peter From jerry at digitalfm.com Thu Dec 4 02:56:19 2003 From: jerry at digitalfm.com (Jerry) Date: Thu Dec 4 14:58:22 2003 Subject: [ic] Matrix options inventory -- yet again. In-Reply-To: <3FCF86BF.3060003@vianet.ca> Message-ID: > Please CC me as this email address is not on the list. > > Version: 4.9.8 > > I've searched the lists and have come to no real conclusion about the > state of inventory controls with regards to matrix options. Here's what > I understand: "It doesn't work the way it should.". > > Basically, you can buy things even if there is no stock in the option > item. It will even bring the inventory count below 0 (-5 for example). > This is plain silly in my opinion. This method confuses would be IC > users that are trying to sell clothing, for example. As they would have > multiple sizes, colours, etc., and different inventory for each. > > Sooo, should I stop complaining and patch it myself, or is there > something I can do to have it notify/email/complain/etc when a > particular option is out of stock? > > I think the current matrix option inventory system should either be > disabled or improved. In it's current state, it makes no sense (to me). > It only adds hope that it functions the same way as the regular item > inventory does, which of course, it does not. And in the end it may > give some users a bad taste for IC (and less consulting money for Mike ;)) > > Let me know what you think. I know Mike Heins did a patch for the 4.8.3 version some time back when I was looking for an easy way. You might want to look at that here: http://www.icdevgroup.org/archive/interchange-users/2001/msg12003.html and that worked fine except if I remember, you could end up with a blank drop down if no item options had inventory. Recently if an item has matrix options, I do a quick row count to make sure there are options available for that item. If not, don't display and the buy button and direct them to out of stock notification system. If so, just build our own drop down with a query, containing only those options that inventory. [query sql="select options.code, options.description from options LEFT JOIN inventory ON inventory.sku=options.code where inventory.quantity > 0 AND options.sku = '[ITEM-CODE]' ORDER BY description" type=list] [/query] THAT, I'm certain can be cleaned up, but it works for me and too busy to mess with something that works. Hopefully this is a good starting point for you. Maybe someone has a cleaner way of getting it done. Good luck! Jerry From reid at vianet.ca Thu Dec 4 15:13:26 2003 From: reid at vianet.ca (Reid Sutherland) Date: Thu Dec 4 15:16:53 2003 Subject: [ic] Matrix options inventory -- yet again. In-Reply-To: References: Message-ID: <3FCF9566.2050303@vianet.ca> Jerry wrote: > > I know Mike Heins did a patch for the 4.8.3 version some time back > when I was looking for an easy way. You might want to look at that > here: http://www.icdevgroup.org/archive/interchange-users/2001/msg12003.html > and that worked fine except if I remember, you could end up with a blank > drop down if no item options had inventory. I saw that too, but I guess I ASSuMEd it was already included. But then I never really tried it! *ducks* > > Recently if an item has matrix options, I do a quick row count to make > sure there are options available for that item. If not, don't display > and the buy button and direct them to out of stock notification system. > If so, just build our own drop down with a query, containing only those > options that inventory. > > [query sql="select options.code, options.description from options LEFT > JOIN inventory ON inventory.sku=options.code where inventory.quantity > 0 > AND options.sku = '[ITEM-CODE]' ORDER BY description" > type=list] > > [/query] > > THAT, I'm certain can be cleaned up, but it works for me and too > busy to mess with something that works. Hopefully this is a good > starting point for you. Maybe someone has a cleaner way of > getting it done. This is mint, I'll check it out! Thanks much Jerry! Take care, -reid From admin at yoursole.com Thu Dec 4 15:44:41 2003 From: admin at yoursole.com (Andrew Baerg) Date: Thu Dec 4 15:43:01 2003 Subject: [ic] Problems with SOAP Message-ID: <200312042043.hB4KgQHS024232@icdevgroup.org> >> If I remember correctly, the Client-Junk is in fact coming from LWP. You >> need >> to fix your Server.pm in order to get SOAP working with 4.8.7. The patch >> you probably need has been applied with CVS revision 2.28: >> revision 2.28 >> date: 2003/03/08 00:14:58; author: racke; state: Exp; lines: +3 -2 >> ensure that SOAP server adds a blank line between HTTP header >> and HTTP body That did it, I added in one line to the Server.pm and now everything works like a dream. Thanks again for all your help. Andrew From jkinney at localnetsolutions.com Thu Dec 4 16:22:06 2003 From: jkinney at localnetsolutions.com (James P. Kinney III) Date: Thu Dec 4 16:22:46 2003 Subject: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: References: Message-ID: <1070572926.29065.15.camel@test.localnetsolutions.com> On Thu, 2003-12-04 at 11:37, Lars Tode wrote: > Hi, > > > > EncryptKey is not a filename. It is an identifier that selects > > the key. It is whatever would select a unique key from this > > command line: > > > > gpg --list-keys UNIQUE_STRING > > > > For instance, I do: > > > > gpg --list-keys 6792C81F > > > > and get > > > > gpg: WARNING: using insecure memory! > > pub 1024D/6792C81F 2002-06-10 Mike Heins > > sub 1024g/F4382AA9 2002-06-10 > > > > You mean I'd only to add the public key and it should run? That's how PKI works. The encryption key is the pubic key. The decrypt key is the private one. so set the values for the interchange user pub key in the field (and have the IC user $HOME/.gnupg setup correctly with the pub key you want on the key ring) and it works. > > Regards, > > Lars > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- James P. Kinney III \Changing the mobile computing world/ CEO & Director of Engineering \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ http://www.localnetsolutions.com GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://localhost.localdomain/pipermail/interchange-users/attachments/20031204/df4b6d3c/attachment.bin From listbox at email.com Thu Dec 4 17:19:38 2003 From: listbox at email.com (Grant) Date: Thu Dec 4 17:20:24 2003 Subject: [ic] loop search empty parameter problem Message-ID: The following code seems to ignore the first set of parameters which should cause only the records with a blank value for the user_id field to be returned. [loop search="ml=100000/fi=ebay_sold/st=db/co=1/sf=user_id/se=/op=eq/nu=0/sf=sku/s e=sku-99/op=eq/nu=0"] [loop-data ebay_sold code] [/loop] If se= is changed to something like se=test then no records are returned as there are no user_id fields with a value of "test". There are also no records with a blank value for the user_id field, so why does sf=user_id/se=/op=eq/nu=0 return records? I'm using 4.9.3. - Grant From jkinney at localnetsolutions.com Thu Dec 4 17:31:17 2003 From: jkinney at localnetsolutions.com (James P. Kinney III) Date: Thu Dec 4 17:32:05 2003 Subject: [ic] tables spilling into other shops In-Reply-To: <3FCF733E.5040304@goldissue.com> References: <3FCF6B32.5030900@goldissue.com> <3FCF6FA0.4050603@armazemdedados.com> <3FCF733E.5040304@goldissue.com> Message-ID: <1070577076.29261.1.camel@test.localnetsolutions.com> Are you positive that the hardware shop data you see is not the foundation demo stuff that ships with IC? There is a lot of it in nearly every table. On Thu, 2003-12-04 at 12:47, frank wrote: > Marc Brevoort wrote: > > > frank wrote: > > > > > We discovered later that the the links which we > > > had created for cameras, > > > binoculas appeared on another client's site - > > > a hardware shop. > > > > We once had a similar situation. Have you checked if the > > Database Setup section in catalog.cfg of both shops > > happen to point to the same database? What DBMS do you > > use? > > > > Regards, > > > > Marc Brevoort > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > Thankyou Marc, > > I use mysql. > > I found a reference to the hardware shop's database in the photo shop's > catalog.cfg It had occured to me but I was not sure where to look. > > Regards, > > Frank Reitzenstein > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- James P. Kinney III \Changing the mobile computing world/ CEO & Director of Engineering \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ http://www.localnetsolutions.com GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://localhost.localdomain/pipermail/interchange-users/attachments/20031204/ad4710b2/attachment.bin From wfiore at aftermarketcellular.com Thu Dec 4 17:42:02 2003 From: wfiore at aftermarketcellular.com (Aftermarket Cellular) Date: Thu Dec 4 17:42:44 2003 Subject: [ic] RE: ip validation In-Reply-To: <200312041701.hB4H0wHU018235@icdevgroup.org> Message-ID: <003401c3bab7$d94ba260$0300a8c0@VAIO> > > Hi, > > > > I have recently received hundreds of fraudulent attempts on my merchant > > account from within my interchange store, where a customer uses various > > credit card numbers to find a valid one. The transactions are being > > declined by authorize.net but I am still receiving an $.08 decline fee > > each time. Is there an available script that will block an ip address > > after three attempts. > > You could place this piece of code on the checkout-page > > [if term="[env REMOTE_ADDR]" op="eq" compare="12.34.56.78"] > [bounce href="[area tage.html]"] > [/if] > >I would block them on the firewall or by Apache. > >Ciao > Racke > All the responses I have received to this post have been helpful. I placed a request through Authorize.net for the perpetrators ip address and am waiting for a response. In general, is there a way to have a session timeout placed on the interchange shopping cart, and after so many attempts to checkout the session will expire? Thanks -Bill From mike at perusion.com Thu Dec 4 19:01:18 2003 From: mike at perusion.com (Mike Heins) Date: Thu Dec 4 19:01:59 2003 Subject: [ic] RE: ip validation In-Reply-To: <003401c3bab7$d94ba260$0300a8c0@VAIO> References: <200312041701.hB4H0wHU018235@icdevgroup.org> <003401c3bab7$d94ba260$0300a8c0@VAIO> Message-ID: <20031205000118.GA13982@bill.heins.net> Quoting Aftermarket Cellular (wfiore@aftermarketcellular.com): > > > > Hi, > > > > > > I have recently received hundreds of fraudulent attempts on my > merchant > > > account from within my interchange store, where a customer uses > various > > > credit card numbers to find a valid one. The transactions are being > > > declined by authorize.net but I am still receiving an $.08 decline > fee > > > each time. Is there an available script that will block an ip > address > > > after three attempts. > > > > You could place this piece of code on the checkout-page > > > > [if term="[env REMOTE_ADDR]" op="eq" compare="12.34.56.78"] > > [bounce href="[area tage.html]"] > > [/if] > > > >I would block them on the firewall or by Apache. > > > >Ciao > > Racke > > > All the responses I have received to this post have been helpful. I > placed a request through Authorize.net for the perpetrators ip address > and am waiting for a response. > > In general, is there a way to have a session timeout placed on the > interchange shopping cart, and after so many attempts to checkout the > session will expire? Easily. Depending on where your [charge ...] is happening, do something like this (untested): [calc] my $filename = "tmp/charge_failed/$Session->{ohost}"; my $past = $Tag->counter({ file=> $fn, value => 1}); return unless $past > 3; die errmsg( "Real-time charge failed. Reason: %s\n", 'too many failed charge attempts', ); [/calc] [tmp name="charge_succeed"][charge route="[var MV_PAYMENT_MODE]"][/tmp] [if scratch charge_succeed] [then] [set do_invoice]1[/set] [set do_payment]1[/set] Real-time charge succeeded. ID=[data session payment_id] amount=[scratch tmp_remaining] [/then] [else] Real-time charge FAILED. Reason: [data session cybercash_error] Failed charge count: [counter file="tmp/charge_failed/[data session ohost]"] [calc] my $count = $Tag->{ die errmsg( "Real-time charge failed. Reason: %s\n", errmsg($Session->{cybercash_error}), ); [/calc] [/else] [/if] -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 If you like what you're gettin', keep doin' what you're doin'. -- Hector From doug1 at ultimatepassage.com Thu Dec 4 21:15:40 2003 From: doug1 at ultimatepassage.com (doug1@ultimatepassage.com) Date: Thu Dec 4 21:16:18 2003 Subject: [ic] Interchange and sendmail Message-ID: Perhaps someone can enlighten me. I'm running interchange 4.9.9 on an AMD opteron using Gentoo Linux. The system is running Apache/2.0.48 (Gentoo/Linux) mod_perl/1.99_10 Perl/v5.8.2 mod_ssl/2.0.48 OpenSSL/0.9.7c. Due to some problems compiling sendmail in pure 64bit mode (I have no 32 bit libs on this system), I'm using ssmtp instead of sendmail. /usr/lib/sendmail and /usr/sbin/sendmail is smybolically linked to /usr/sbin/ssmtp. Now here's where it gets interesting. When the customer places an order, the order copy gets sent to the customer as expected but the encrypted copy of the order appears in the interchange error log with the following message: 66.92.11.157 rDMWEXi2:66.93.10.157 - [04/December/2003:17:42:05 -0500] cart /cgi-bin/cart/process.html Unable to send mail using /usr/sbin/sendmail > To: webuser > Subject: ORDER 0014 > Reply-To: doug1@linux2go.org > >....rest of encrypted e-mail. Now before I go do something silly that I'll reget in the future (such as parsing the error log for e-mail and re-sending it), are there any hard dependency requirements that require sendmail? I find it interesting that interchange has no problems using ssmtp to send the customer copy but obviously does something different for encrypted version. Any advice or suggestions would be appreciated. Thanks, Bruce From gyepi at palmdigitalmedia.com Thu Dec 4 23:17:10 2003 From: gyepi at palmdigitalmedia.com (Gyepi SAM) Date: Thu Dec 4 23:18:28 2003 Subject: [ic] CyberSource payment module Message-ID: <20031205041710.GC22602@palmdigitalmedia.com> Hi -- I just inherited an interchange based app that now needs to use CyberSource, but there is no Payment/CyberSource.pm module! Google and a grep through the list archives show that the question has come up a couple of times, but with no replies. I am willing to write one, but need to be sure that the problem has not already been solved before I do so. So, is there a Payment::CyberSource module lurking about somewhere? Regards -Gyepi From mike at perusion.com Fri Dec 5 01:59:54 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 5 02:00:35 2003 Subject: [ic] Interchange and sendmail In-Reply-To: References: Message-ID: <20031205065954.GA16977@bill.heins.net> Quoting doug1@ultimatepassage.com (doug1@ultimatepassage.com): > Perhaps someone can enlighten me. I'm running interchange 4.9.9 on an AMD > opteron using Gentoo Linux. The system is running Apache/2.0.48 > (Gentoo/Linux) mod_perl/1.99_10 Perl/v5.8.2 mod_ssl/2.0.48 OpenSSL/0.9.7c. > Due to some problems compiling sendmail in pure 64bit mode (I have no 32 > bit libs on this system), I'm using ssmtp instead of sendmail. > > /usr/lib/sendmail and /usr/sbin/sendmail is smybolically linked to > /usr/sbin/ssmtp. Now here's where it gets interesting. When the customer > places an order, the order copy gets sent to the customer as expected but > the encrypted copy of the order appears in the interchange error log with > the following message: > 66.92.11.157 rDMWEXi2:66.93.10.157 - [04/December/2003:17:42:05 -0500] > cart /cgi-bin/cart/process.html Unable to send mail using > /usr/sbin/sendmail > > To: webuser > > Subject: ORDER 0014 y > Reply-To: doug1@linux2go.org > > > >....rest of encrypted e-mail. > > Now before I go do something silly that I'll reget in the future (such as > parsing the error log for e-mail and re-sending it), are there any hard > dependency requirements that require sendmail? I find it interesting that > interchange has no problems using ssmtp to send the customer copy but > obviously does something different for encrypted version. > > Any advice or suggestions would be appreciated. The one uses the [email ...] tag, the other the old Vend::Util::send_mail. I have never heard of IC having problems, and it has used a lot of mailers. My guess is there is some problem in ssmtp with the -t option. Did you look in /var/log/maillog? There should be something there. I would switch to Net::SMTP or fake the order report with [email ...] -- I wouldn't parse logs. 8-) -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From tode at bpanet.de Fri Dec 5 09:44:10 2003 From: tode at bpanet.de (Lars Tode) Date: Fri Dec 5 09:46:44 2003 Subject: AW: AW: AW: [ic] Problem with PGP and credit card In-Reply-To: <1070572926.29065.15.camel@test.localnetsolutions.com> Message-ID: Hi, thanks for your (and rest of list) help, now it works :) Regards, Lars From doug1 at ultimatepassage.com Fri Dec 5 09:55:04 2003 From: doug1 at ultimatepassage.com (doug1@ultimatepassage.com) Date: Fri Dec 5 09:55:45 2003 Subject: [ic] Interchange and sendmail In-Reply-To: <20031205065954.GA16977@bill.heins.net> References: <20031205065954.GA16977@bill.heins.net> Message-ID: On Fri, 5 Dec 2003, Mike Heins wrote: > Quoting doug1@ultimatepassage.com (doug1@ultimatepassage.com): > > Perhaps someone can enlighten me. I'm running interchange 4.9.9 on an AMD > > opteron using Gentoo Linux. The system is running Apache/2.0.48 > > (Gentoo/Linux) mod_perl/1.99_10 Perl/v5.8.2 mod_ssl/2.0.48 OpenSSL/0.9.7c. > > Due to some problems compiling sendmail in pure 64bit mode (I have no 32 > > bit libs on this system), I'm using ssmtp instead of sendmail. > > > > /usr/lib/sendmail and /usr/sbin/sendmail is smybolically linked to > > /usr/sbin/ssmtp. Now here's where it gets interesting. When the customer > > places an order, the order copy gets sent to the customer as expected but > > the encrypted copy of the order appears in the interchange error log with > > the following message: > > 66.92.11.157 rDMWEXi2:66.93.10.157 - [04/December/2003:17:42:05 -0500] > > cart /cgi-bin/cart/process.html Unable to send mail using > > /usr/sbin/sendmail > > > To: webuser > > > Subject: ORDER 0014 > y > Reply-To: doug1@linux2go.org > > > > > >....rest of encrypted e-mail. > > > > Now before I go do something silly that I'll reget in the future (such as > > parsing the error log for e-mail and re-sending it), are there any hard > > dependency requirements that require sendmail? I find it interesting that > > interchange has no problems using ssmtp to send the customer copy but > > obviously does something different for encrypted version. > > > > Any advice or suggestions would be appreciated. > > The one uses the [email ...] tag, the other the old > Vend::Util::send_mail. I have never heard of IC having problems, and it > has used a lot of mailers. My guess is there is some problem in ssmtp > with the -t option. Did you look in /var/log/maillog? There should > be something there. > > I would switch to Net::SMTP or fake the order report with [email ...] -- > I wouldn't parse logs. 8-) > > -- > Mike Heins > Perusion -- Expert Interchange Consulting http://www.perusion.com/ > phone +1.765.647.1295 > > Being against torture ought to be sort of a bipartisan thing. > -- Karl Lehenbauer > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > Mike, It turns out the -t option is not supported in ssmtp. I'll use Net::SMTP instead. Thanks for the info. Bruce From tomfriedel at earthlink.net Fri Dec 5 13:14:44 2003 From: tomfriedel at earthlink.net (tom friedel) Date: Fri Dec 5 13:26:08 2003 Subject: [ic] Interchange should make thumbnails In-Reply-To: <200312051701.hB5H09HU015389@icdevgroup.org> References: <200312051701.hB5H09HU015389@icdevgroup.org> Message-ID: <3FD0CB14.9060804@earthlink.net> It could use Netpbm utilities to resize an image when it is upoaded. I've done that in the custom shopping carts I've written. I think thumbnails are best as jpegs as most people have truecolor displays (as opposed to 256 colors). The code I have converts to 'pnm', calls pnmscale, and then calls ppmtojpeg (for example). If I had more time I would undertake this. If anyone has any questions feel free to contact me. Tom Friedel Ready Ink Incorporated Custom Internet Software and Web Sites http://www.readyink.com > > From tverhagen at alamerce.nl Fri Dec 5 14:02:45 2003 From: tverhagen at alamerce.nl (Ton Verhagen) Date: Fri Dec 5 14:03:30 2003 Subject: [ic] Interchange should make thumbnails In-Reply-To: <3FD0CB14.9060804@earthlink.net> References: <200312051701.hB5H09HU015389@icdevgroup.org> <200312051701.hB5H09HU015389@icdevgroup.org> Message-ID: <5.2.0.9.0.20031205195856.03d66668@verhagen.net> Quoting tom friedel : >It could use Netpbm utilities to resize an image when it is upoaded. >I've done that in the custom shopping carts I've written. I think >thumbnails are best as jpegs as most people have truecolor displays (as >opposed to 256 colors). The code I have converts to 'pnm', calls pnmscale, >and then calls ppmtojpeg (for example). If I had more time I would >undertake this. If anyone has any questions feel free to contact me. Tom, Interchange has a feature to resize images. Have a look at the [image] tag. Example: [image src="os28004.gif" imagesubdir="items" makesize="50x50"] Good luck ! Best regards, Ton -- Alamerce Nederland --- Cornerstone of eBusiness Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl eCommerce Solutions -- Consulting -- Website & Interchange Hosting From gyepi at palmdigitalmedia.com Fri Dec 5 14:42:52 2003 From: gyepi at palmdigitalmedia.com (Gyepi SAM) Date: Fri Dec 5 14:43:43 2003 Subject: [ic] Interchange should make thumbnails In-Reply-To: <3FD0CB14.9060804@earthlink.net> References: <200312051701.hB5H09HU015389@icdevgroup.org> <3FD0CB14.9060804@earthlink.net> Message-ID: <20031205194252.GN23755@palmdigitalmedia.com> On Fri, Dec 05, 2003 at 01:14:44PM -0500, tom friedel wrote: > It could use Netpbm utilities to resize an image when it is upoaded. > I've done that in the custom shopping carts I've written. I think > thumbnails are best as jpegs as most people have truecolor displays (as > opposed to 256 colors). > The code I have converts to 'pnm', calls pnmscale, and then calls > ppmtojpeg (for example). If I had more time I would undertake this. If > anyone has any questions feel free to contact me. You can do this quite easily with Image::Magick, which, of course, requires the C ImageMagick libraries to be installed also. We use it at palmdigitalmedia.com for book cover images. use Image::Magick; p = new Image::Magick; p->Read("imagefile"); #You can specify one or both of height and width. p->Scale(height => $thumbnail_height); p->Write("thumbnail-imagefile"); modulo error checking and sizing policies. -Gyepi -- They know enough who know how to learn. --Henry Adams From pvinci at vinciguerra.com Fri Dec 5 15:14:30 2003 From: pvinci at vinciguerra.com (Paul Vinciguerra) Date: Fri Dec 5 15:07:18 2003 Subject: [ic] Interchange should make thumbnails In-Reply-To: <3FD0CB14.9060804@earthlink.net> References: <200312051701.hB5H09HU015389@icdevgroup.org> <3FD0CB14.9060804@earthlink.net> Message-ID: <20031205201329.M84350@vinciguerra.com> On Fri, 05 Dec 2003 13:14:44 -0500, tom friedel wrote > It could use Netpbm utilities to resize an image when it is upoaded. > I've done that in the custom shopping carts I've written. I think > thumbnails are best as jpegs as most people have truecolor displays > (as opposed to 256 colors). The code I have converts to 'pnm', calls > pnmscale, and then calls ppmtojpeg (for example). If I had more > time I would undertake this. If anyone has any questions feel free > to contact me. > > Tom Friedel > Ready Ink Incorporated > Custom Internet Software and Web Sites > http://www.readyink.com > Look at image_collate.coretag in code/UI_tag -Paul > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From racke at linuxia.de Fri Dec 5 15:20:29 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 5 15:21:17 2003 Subject: [ic] Matrix options inventory -- yet again. In-Reply-To: <3FCF86BF.3060003@vianet.ca> References: <3FCF86BF.3060003@vianet.ca> Message-ID: <20031205212029.686c1ae1.racke@linuxia.de> On Thu, 04 Dec 2003 14:10:55 -0500 Reid Sutherland wrote: > Please CC me as this email address is not on the list. > > Version: 4.9.8 > > I've searched the lists and have come to no real conclusion about the > state of inventory controls with regards to matrix options. Here's what > I understand: "It doesn't work the way it should.". > > Basically, you can buy things even if there is no stock in the option > item. It will even bring the inventory count below 0 (-5 for example). > This is plain silly in my opinion. This method confuses would be IC > users that are trying to sell clothing, for example. As they would have > multiple sizes, colours, etc., and different inventory for each. > > Sooo, should I stop complaining and patch it myself, or is there > something I can do to have it notify/email/complain/etc when a > particular option is out of stock? > > I think the current matrix option inventory system should either be > disabled or improved. In it's current state, it makes no sense (to me). > It only adds hope that it functions the same way as the regular item > inventory does, which of course, it does not. And in the end it may > give some users a bad taste for IC (and less consulting money for Mike ;)) > > Let me know what you think. Citing WHATSNEW from current CVS: * Add inventory function back in. Mysteriously removed during the Options rewrite. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From listbox at email.com Fri Dec 5 17:09:55 2003 From: listbox at email.com (Grant) Date: Fri Dec 5 17:10:38 2003 Subject: [ic] Interchange should make thumbnails In-Reply-To: <20031205194252.GN23755@palmdigitalmedia.com> Message-ID: > On Fri, Dec 05, 2003 at 01:14:44PM -0500, tom friedel wrote: > > It could use Netpbm utilities to resize an image when it is upoaded. > > I've done that in the custom shopping carts I've written. I think > > thumbnails are best as jpegs as most people have truecolor displays (as > > opposed to 256 colors). > > The code I have converts to 'pnm', calls pnmscale, and then calls > > ppmtojpeg (for example). If I had more time I would undertake > this. If > > anyone has any questions feel free to contact me. > > You can do this quite easily with Image::Magick, which, of course, > requires the C ImageMagick libraries to be installed also. We use it at > palmdigitalmedia.com for book cover images. > > use Image::Magick; > p = new Image::Magick; > p->Read("imagefile"); > #You can specify one or both of height and width. > p->Scale(height => $thumbnail_height); > p->Write("thumbnail-imagefile"); > > modulo error checking and sizing policies. > > -Gyepi I'd like to use Image::Magick to resize, unsharp mask, and possibly overlay a semi-transparent logo. Do you use the unsharp mask function at all? - Grant From gyepi at palmdigitalmedia.com Fri Dec 5 17:48:01 2003 From: gyepi at palmdigitalmedia.com (Gyepi SAM) Date: Fri Dec 5 17:48:39 2003 Subject: : [ic] Interchange should make thumbnails In-Reply-To: References: <20031205194252.GN23755@palmdigitalmedia.com> Message-ID: <20031205224801.GD25329@palmdigitalmedia.com> On Fri, Dec 05, 2003 at 02:09:55PM -0800, Grant wrote: > I'd like to use Image::Magick to resize, unsharp mask, and possibly overlay > a semi-transparent logo. Do you use the unsharp mask function at all? No I haven't. I have only used it to resize images, change image formats, and create text in images. http://www.imagemagick.org/ has a lot of information, some of which will probably have your answer. Start here: http://studio.imagemagick.org/Sage/scripts/Sage.cgi?query=mask&sa=Search -Gyepi From interchange at tssphoto.com Fri Dec 5 18:25:38 2003 From: interchange at tssphoto.com (Chris Bair) Date: Fri Dec 5 18:26:32 2003 Subject: [ic] Shipping depending on state Message-ID: I've seen a few references to the shipmode column in the products/state.txt table. As I understand it, using this, I can specify which ship modes to allow based on which state is selected (exclude ground shipping to Hawaii and such). My question is, how exactly do I do this? From joshua at kingdomdesign.com Fri Dec 5 18:31:13 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Fri Dec 5 18:31:59 2003 Subject: [ic] Using MyODBC to update MySQL tables Message-ID: <1D7C2CF4-277B-11D8-9499-0030654BBC4C@kingdomdesign.com> We're changing the way we update our products database. The old way was to upload a new products.txt and remove products.sql. The new way we're trying is using MyODBC to do updates on the products database directly. This is really helpful for us since we are syncing Interchange with a point-of-sale system, and updates are a lot smaller than sending the whole file each night. I'm wondering if there could be any problems with using this method. Say the update fails halfway, is products going to be ruined? Anyone have experience with this? Thanks, Josh From ic at oneil.org Fri Dec 5 18:51:22 2003 From: ic at oneil.org (Rick O'Neil) Date: Fri Dec 5 18:55:39 2003 Subject: [ic] Setting up catalogs on multiple domains Message-ID: <4.1.20031205145634.0101deb0@127.0.0.1> Hello all, For several months now I've been running (quite successfully) an IC 4.9.8 catalog on a dedicated server (with virtual hosting of several other domains as well). Now I want to set up a catalog for one of the other domains but no matter how I configure things I can't get the second catalog to run on the second domain - whenever I go to the customer entrance I get an internal server error. Additionally, IC is running as the user [firstuser] which is the user that is associated with [firstdomain.com]. The user [firstuser] and [seconduser] are both in the same group and I've tried running makecat as both users with the same results. In other words: http://www.[firstdomain.com]/cgi-bin/[firstcatalog]/index.html The above works fine and has been working fine ever since the initial catalog creation http://www.[seconddomain.com]/cgi-bin/[secondcatalog]/index.html This results in an internal server error with no errors in either the interchange or catalog error logs. However, if I instead run makecat and set the cgi directory to that of [firstuser] it works fine. Example: http://www.[firstdomain.com]/cgi-bin/[secondcatalog]/index.html At first I assumed that this was a permissions issue and thus I used in the [seconddomain] home directory: chown -R [firstuser] catalogs/[secondcatalog] chown -R [firstuser] cgi-bin At his point I'm stumped since all of the catalog files are owned by the user [firstuser] as is the cgi script. Running both catalogs from [firstdomain.com] is not an option and I know other people have gotten this working. Unfortunately, I haven't been able to find anything in the archives that has worked. I would certainly appreciate any help anybody could provide. Let me know if I need to provide any more information (like a log of my answers to makecat). -Rick From edl at newmediaems.com Fri Dec 5 20:27:03 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Fri Dec 5 20:27:27 2003 Subject: [ic] Shipping depending on state In-Reply-To: Message-ID: <5.2.1.1.0.20031205172418.0207aee8@mail.newmediaems.com> At 04:25 PM 12/5/2003 -0700, you wrote: >I've seen a few references to the shipmode column in the >products/state.txt table. As I understand it, using this, I can specify >which ship modes to allow based on which state is selected (exclude ground >shipping to Hawaii and such). My question is, how exactly do I do this? Simply populate the shipmode column with valid choices for each state, then modify the shipping selector code in include/checkout/shipping_address: A_STATE_CODE could be your state of origin or just about any other state that makes sense as a starting point, until they specify theirs. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From edl at newmediaems.com Fri Dec 5 20:32:45 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Fri Dec 5 20:33:12 2003 Subject: [ic] Using MyODBC to update MySQL tables In-Reply-To: <1D7C2CF4-277B-11D8-9499-0030654BBC4C@kingdomdesign.com> Message-ID: <5.2.1.1.0.20031205172842.0207c3d0@mail.newmediaems.com> At 05:31 PM 12/5/2003 -0600, you wrote: >We're changing the way we update our products database. The old way was to >upload a new products.txt and remove products.sql. The new way we're >trying is using MyODBC to do updates on the products database directly. >This is really helpful for us since we are syncing Interchange with a >point-of-sale system, and updates are a lot smaller than sending the whole >file each night. > >I'm wondering if there could be any problems with using this method. Say >the update fails halfway, is products going to be ruined? > >Anyone have experience with this? > >Thanks, >Josh I've had one or two clients do this and they never reported a problem with it. If you enable logging in the MyODBC control panel, you'll see that is it simply issuing SQL statements to your server, and I would assume there is ak-start-end-ak stuff around each one, so I think your are pretty well covered as far as individual records go - but that is not from first-hand experience. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From mike at perusion.com Fri Dec 5 23:47:12 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 5 23:47:46 2003 Subject: [ic] Shipping depending on state In-Reply-To: <5.2.1.1.0.20031205172418.0207aee8@mail.newmediaems.com> References: <5.2.1.1.0.20031205172418.0207aee8@mail.newmediaems.com> Message-ID: <20031206044712.GA25324@bill.heins.net> Quoting Ed LaFrance (edl@newmediaems.com): > At 04:25 PM 12/5/2003 -0700, you wrote: > >I've seen a few references to the shipmode column in the > >products/state.txt table. As I understand it, using this, I can specify > >which ship modes to allow based on which state is selected (exclude ground > >shipping to Hawaii and such). My question is, how exactly do I do this? > > Simply populate the shipmode column with valid choices for each state, then > modify the shipping selector code in include/checkout/shipping_address: > > > > A_STATE_CODE could be your state of origin or just about any other state > that makes sense as a starting point, until they specify theirs. Actually, in Interchange 5.0 you can get it automatically via: [shipping widget=select] That will give you the shipping modes valid for the current shopping cart and values. In other words, you have to have a state and country to get the modes; you have to have a ZIP if by UPS, and if the criteria is weight you must have that as well. You can see the effect of some of these in the "mike" demo. If you want all *possible* shipmodes for the country/state, regardless of cart contents or zip, use: [shipping possible=1] That will give you a space-separated list of modes you can loop over: Select your default shipping mode: -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Nature, to be commanded, must be obeyed. -- Francis Bacon From kosmo at trslab.it Sat Dec 6 05:01:43 2003 From: kosmo at trslab.it (Danilo Ingami) Date: Sat Dec 6 04:58:36 2003 Subject: [ic] Automatic refresh on matrix option change In-Reply-To: References: Message-ID: <3FD1A907.6000503@trslab.it> Hi all, I want to make atomatic change on matrix option change. How can I do that? someone can help me? I don't know how can put in this code some javascript on the onChange event. Thanks in advance. danilo [if-item-data options o_enable] [if-item-data !options o_modular] [table-organize cols=4 table=' ' font="size=1" pretty=1] [item-options td=1 label=1 bold=1 price=1] [/table-organize] [/if-item-data] [/if-item-data] From alex at rackst.com Sat Dec 6 14:12:37 2003 From: alex at rackst.com (alexander Daree) Date: Sat Dec 6 14:13:24 2003 Subject: [ic] Return search results In-Reply-To: References: Message-ID: <1070737957.3fd22a2555caf@webmail.rackst.com> Hello I need my reurned search results to come back with the newest posts? sort of by date posted? how can i do that? Thanks ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From pshempel at linuxhardcore.com Sat Dec 6 15:28:58 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Sat Dec 6 15:29:41 2003 Subject: [ic] Matrix Options: selections reset to default Message-ID: <1070742530.1170.27.camel@starfire> CVS version 5.0 of IC Perl 5.8.1 Mikes demo store I am working with this product as a test located at http://www.blossomland.com/none-100.html It has two options, if you make changes from the default the product is correctly set and all is fine. Notice the product selections are not the chosen selections in the cart. There are a few things that you can do to produce the same results. 1. Do a recalculate on the product and it will naturally put the items that are showing in the selections in the cart. 2. Checkout will looking at your cart (this is no different than posting to the form in recalc. I seem to notice the demo store is not afflicted with this problem. But the code for the basket and options seem to be the exact same from what I am doing. Could someone point me what makes the outputs selections work different The below is what I believe to be the portions that support the options output [table-organize cols=4 table=' ' font="size=1" pretty=1] [item-options td=1 label=1 bold=1 price=1] [/table-organize] With this being true basically the data is output using code from the options module within IC. TIA -- Philip S. Hempel Give a man a fish and he will feed himself for a day. Teach a man to fish and he will feed himself for a lifetime. http://linuxhardcore.com/ From kosmo at trslab.it Sat Dec 6 16:44:46 2003 From: kosmo at trslab.it (Danilo Ingami) Date: Sat Dec 6 16:41:39 2003 Subject: [ic] RMA Customization In-Reply-To: <1070742530.1170.27.camel@starfire> References: <1070742530.1170.27.camel@starfire> Message-ID: <3FD24DCE.8010001@trslab.it> Hi all, I need to customize the laste response for the return request. but I can't find the page that buildd teh response. Anyone know something about that? I use Interchange 4.8.7. thanks in advance Danilo From DB at m-and-d.com Sat Dec 6 17:14:33 2003 From: DB at m-and-d.com (DB) Date: Sat Dec 6 17:27:55 2003 Subject: [ic] Removing carriage returns from description Message-ID: <3FD254C9.5050105@m-and-d.com> I'm sure this has come up before.. I think I even figured it out once. A supplier provided me with a product database in csv format. I can import it into Excel or Access and it is formatted ok. But the description fields contain carriage returns (I think that's what they are) which show up as squares. These are causing problems when I try to export to a text file. How can I remove these pesky critters? I've tried many things such as fromdos in linux but can't quite get what I want. Any hints? magic perl snippets? DB From racke at linuxia.de Sat Dec 6 17:48:48 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Sat Dec 6 17:49:27 2003 Subject: [ic] Removing carriage returns from description In-Reply-To: <3FD254C9.5050105@m-and-d.com> References: <3FD254C9.5050105@m-and-d.com> Message-ID: <20031206234848.2dba57e2.racke@linuxia.de> On Sat, 06 Dec 2003 17:14:33 -0500 DB wrote: > I'm sure this has come up before.. I think I even figured it out once. > > A supplier provided me with a product database in csv format. I can > import it into Excel or Access and it is formatted ok. But the > description fields contain carriage returns (I think that's what they > are) which show up as squares. These are causing problems when I try to > export to a text file. How can I remove these pesky critters? I've tried > many things such as fromdos in linux but can't quite get what I want. > Any hints? magic perl snippets? Backup FILE first, and then run: perl -i -pe 's/\r//g' FILE This will remove all carriage returns from the file. Ciao Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From racke at linuxia.de Sat Dec 6 19:52:51 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Sat Dec 6 19:53:32 2003 Subject: [ic] Performance issues with i18n In-Reply-To: <20031204181722.GA4190@worxpace> References: <20031203174540.GA1844@worxpace> <20031204181722.GA4190@worxpace> Message-ID: <20031207015251.294c2e6c.racke@linuxia.de> On Thu, 4 Dec 2003 19:17:22 +0100 Thomas Weiss wrote: > * On Wed, Dec 03 panos wrote: > > I'm building an internationalized catalog with Interchange 4.9.9 and the > > locale based database mappings as found in the foundation catalog. My > > problem is that as soon as the mappings are used (by using a locale > > other than the default) everything gets terribly slow. The reason is the > > way Vend::Table::Shadow applies the mappings when querying the database. > > > > For example when using the foundation catalog's data and database mapping > > settings it takes about 80 sql queries to build the category menu (with > > the category_vertical component) when using the default locale (no > > mappings in use, no Vend::Table::Shadow), but with a non-default locale > > in use it takes about 950 sql queries to do the same, which is IMHO way > > too much to be efficient. > > I've been hacking around a little bit and have been able to speed up the > database mapping for this case by more than factor 3. The benchmarks > have been done with the foundation catalog's process page with > category_vertical being the only enabled component. Always a non-default > locale setting was used. Interchange was running on my workstation, a > PC with a P4 1.5GHz CPU and 512MB and the database server (PostgreSQL) > was running on a machine with a PIII 550GHz CPU with 768MB RAM. > > The number of database queries required to display the page has dropped > from about 950 down to about 120 which raises the number of pages > Interchange can server in a minute from 28 up to 95. When using single > table mappings (i.e. the mapped column is in the same table as the > original column) it served 106 pages in 1 minute. > > The optimizations made were 1) omitting an unnessessary call to > record_exists() in Vend::Table::Shadow and 2) letting the database > server do the hard work applying the mappings instead of doing it > manually. > > Below are patches against Vend::Table::DBI (CVS Version 2.57) and > Vend::Table::Shadow (CVS Version 1.43) which implement these > optimizations. The patches are meant as a proof-of-concept kind of thing > and there is of course room for improvement. The most important thing > to do is support optimization even if the fallback option is set for > the mapping. Currently optimization is done only if fallback is off > but it can relatively easy be implemented (see patch no. 2 for details). > > I'm looking forward to hear any opinions. If I remember correctly the call to record_exists() has been introduced because field() fails for GDBM databases on non-existant records. Many thanks for your analysis/patches, I'll look in detail at it after the release of 5.0. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From mike at perusion.com Sat Dec 6 21:46:16 2003 From: mike at perusion.com (Mike Heins) Date: Sat Dec 6 21:46:47 2003 Subject: [ic] Performance issues with i18n In-Reply-To: <20031207015251.294c2e6c.racke@linuxia.de> References: <20031203174540.GA1844@worxpace> <20031204181722.GA4190@worxpace> <20031207015251.294c2e6c.racke@linuxia.de> Message-ID: <20031207024616.GA17179@bill.heins.net> Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > On Thu, 4 Dec 2003 19:17:22 +0100 > Thomas Weiss wrote: > > > * On Wed, Dec 03 panos wrote: > > The optimizations made were 1) omitting an unnessessary call to > > record_exists() in Vend::Table::Shadow and 2) letting the database > > server do the hard work applying the mappings instead of doing it > > manually. > > > > Below are patches against Vend::Table::DBI (CVS Version 2.57) and > > Vend::Table::Shadow (CVS Version 1.43) which implement these > > optimizations. The patches are meant as a proof-of-concept kind of thing > > and there is of course room for improvement. The most important thing > > to do is support optimization even if the fallback option is set for > > the mapping. Currently optimization is done only if fallback is off > > but it can relatively easy be implemented (see patch no. 2 for details). > > > > I'm looking forward to hear any opinions. > > If I remember correctly the call to record_exists() has been introduced > because field() fails for GDBM databases on non-existant records. We could pretty easily move that to Vend::Table::Common or Vend::Table::GDBM. We would of course have to analyze the effect on DBI mostly, but also DB_File, SDBM, and LDAP. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Friends don't let friends use Outlook. -- Bob Blaylock From mnow at speednetllc.com Sun Dec 7 05:21:00 2003 From: mnow at speednetllc.com (mnow) Date: Sun Dec 7 05:20:01 2003 Subject: [ic] Create a PDF of interchange? Message-ID: <000201c3bcab$d4386100$4f02a8c0@Workgroup> Has anyone had experience on creating a PDF catalog of an interchange site? Thanks, Mark From junk at puffin.org Sun Dec 7 07:56:24 2003 From: junk at puffin.org (Adrian P Wilkinson) Date: Sun Dec 7 07:57:37 2003 Subject: [ic] encrypt.tag - no valid OpenPGP data found Message-ID: <001201c3bcc1$86392d70$0bc0a8c0@invincible.local> Hi, I'm having problems using the encrypt tag to protect data using GPG using a custom order route. The output log says: - Card no: Encrypt failed:
gpg: Warning: using insecure memory! gpg: no valid OpenPGP data found. gpg: processing message failed: eof GPG works absolutely fine with normal orders but fails when called from this custom order route. Can anyone shed any light on this? I believe that Ed LaFrance was the author of this particular tag and there was only one match when searching using Swish or Google. Regards, Ade. From edl at newmediaems.com Sun Dec 7 11:58:32 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Sun Dec 7 11:59:02 2003 Subject: [ic] encrypt.tag - no valid OpenPGP data found In-Reply-To: <001201c3bcc1$86392d70$0bc0a8c0@invincible.local> Message-ID: <5.2.1.1.0.20031207085546.020f8e80@mail.newmediaems.com> At 12:56 PM 12/7/2003 +0000, you wrote: >Hi, > >I'm having problems using the encrypt tag to protect data using GPG using a >custom order route. The output log says: - > >Card no: Encrypt failed:
gpg: Warning: using insecure memory! >gpg: no valid OpenPGP data found. >gpg: processing message failed: eof > >GPG works absolutely fine with normal orders but fails when called from this >custom order route. Can anyone shed any light on this? I believe that Ed >LaFrance was the author of this particular tag and there was only one match >when searching using Swish or Google. > >Regards, Ade. Adrian - Yes, I wrote it a long time ago (4.6 branch, I think) as a quick kludge to get arbitrary encryption of any text within interchange. I really would not be surprised if it has issues now, as I have not maintained it to keep up with advances in the gpg code and/or interchange. Perhaps this coming week I can look at it. - Ed > =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From doug at lathi.net Sun Dec 7 20:23:37 2003 From: doug at lathi.net (Doug Alcorn) Date: Sun Dec 7 20:24:32 2003 Subject: [ic] Using MyODBC to update MySQL tables In-Reply-To: <1D7C2CF4-277B-11D8-9499-0030654BBC4C@kingdomdesign.com> (Joshua Lavin's message of "Fri, 5 Dec 2003 17:31:13 -0600") References: <1D7C2CF4-277B-11D8-9499-0030654BBC4C@kingdomdesign.com> Message-ID: <87ad64je5i.fsf@lathi.net> Joshua Lavin writes: > The new way we're trying is using MyODBC to do updates on the > products database directly. [snip] I'm wondering if there could be > any problems with using this method. Say the update fails halfway, > is products going to be ruined? Here's my warning: all user input is bad. I've had problems trying to facilitate that catalog owner uploading new data because he has a hard time exporting the .txt files correctly (wrong column names, invalid data types, DOS carriage returns, etc.) I don't know what your setup is; however, I strongly encourage you to validate the data as it comes in. -- (__) Doug Alcorn - Unix/Linux/Web Developing oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543 |_/ mailto:doug@lathi.net http://www.lathi.net mailto:tarpit@lathi.net is a spam trap From pshempel at linuxhardcore.com Sun Dec 7 20:56:33 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Sun Dec 7 20:57:04 2003 Subject: [ic] Create a PDF of interchange? In-Reply-To: <000201c3bcab$d4386100$4f02a8c0@Workgroup> References: <000201c3bcab$d4386100$4f02a8c0@Workgroup> Message-ID: <1070848593.10046.0.camel@starfire> On Sun, 2003-12-07 at 05:21, mnow wrote: > Has anyone had experience on creating a PDF catalog of an interchange site? > Yes, here is one, http://www.blossomland.com/pdf/blossomland_supply-catalog.pdf > Thanks, > Mark -- Philip S. Hempel Principles before Personalities From anthony at urbanscooters.com Sun Dec 7 21:27:57 2003 From: anthony at urbanscooters.com (Anthony Minero) Date: Sun Dec 7 21:28:10 2003 Subject: [ic] Putting options in order In-Reply-To: <20031206234848.2dba57e2.racke@linuxia.de> Message-ID: Could someone tell me how to put options in a specific order? I have some products that have 4 separate options and when I enter them they show up in a random order like; Color 1 year warranty Optional color Size I need them to show up in a specific order; Color Optional Color Size 1 Year Warranty. This doesn't seem like it should be too hard, and definitely seems like something that the cart should be able to do, but I've looked through the docs and asked this on this list before and got not answers. I'm on 4.9.8, MySQL, using the "options" table. -- Anthony From frank at goldissue.com Sun Dec 7 21:50:30 2003 From: frank at goldissue.com (frank) Date: Sun Dec 7 21:46:31 2003 Subject: [ic] Putting options in order In-Reply-To: References: Message-ID: <3FD3E6F6.3050805@goldissue.com> Anthony Minero wrote: >Could someone tell me how to put options in a specific order? I have some >products that have 4 separate options and when I enter them they show up in >a random order like; >Color >1 year warranty >Optional color >Size > > Last time I checked options in the foundation Demo (yesterday) I noticed that there is an o_sort field in options.txt. If you increment this for your several options you will find that the smallest number will be displayed first. As for the UI I am not sure how, Frank Reitzenstein > > From shawn at stuckinrealtime.us Mon Dec 8 02:39:05 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Mon Dec 8 02:43:41 2003 Subject: [ic] Discounting Accessories Message-ID: <3FD42A99.1080500@stuckinrealtime.us> I've looked thru the list (well, as much as I have archived) and I have not found an answer to the question........ Let's say I'm selling shirts which come in multiple sizes, and I want to run a special on extra-large shirts only. How would I go about doing this with the discount tag? I can discount the sku, but how do I check if that particular option is selected? Thanks. Shawn Mathews shawn@stuckinrealtime.us From pater.noster at gmx.net Mon Dec 8 05:11:48 2003 From: pater.noster at gmx.net (Thomas Weiss) Date: Mon Dec 8 05:12:24 2003 Subject: [ic] Performance issues with i18n In-Reply-To: <20031207015251.294c2e6c.racke@linuxia.de> References: <20031203174540.GA1844@worxpace> <20031204181722.GA4190@worxpace> <20031207015251.294c2e6c.racke@linuxia.de> Message-ID: <20031208101148.GA1948@worxpace> * On Sun, Dec 07 Stefan Hornburg wrote: > Many thanks for your analysis/patches, I'll look in detail at it > after the release of 5.0. In the meantime I'll go on improving the patch. Optimized fallback is already supported. And there is more to come. From pater.noster at gmx.net Mon Dec 8 05:59:04 2003 From: pater.noster at gmx.net (Thomas Weiss) Date: Mon Dec 8 05:59:41 2003 Subject: [ic] Search by category not working in localized foundation catalog Message-ID: <20031208105904.GC1948@worxpace> When using the foundation catalog of IC 4.9.9 I stumbled across the following problem: When searching by category (i.e. using the category menu) no results are shown when using a non-default locale. Reason is the following: The category menu uses the selector field of the products table. Since this field is not localized the generated one-click searches contain the english category names (/scan/st=db/co=yes/sf=category/se=Putty%20Knives/op=eq). When executing the search Vend::Table::Shadow is used to query the database (select * from products WHERE inactive != 1 AND category = 'Putty Knives') since a database mapping has been configured for table products. each_nokey() of Vend::Table::Shadow returns the mapped result, so that the result contains the non-english category name. This result is then passed to the limiting function (returned by Vend::Search::get_limit()) which checks if the category name returned by the query matches the search spec submitted with the search ("Putty Knives" in this case). But since the returned result contains non-english category names it doesn't match the search term and therefore the result is discarded. To work around the problem I tried to localize the selector field, which correctly generates searches with localized category names, but it still fails since the field name given in the selector field is assumed to be a field of table products and the database mapping isn't applied since the field name is used in the where clause of the database query (select * from products WHERE inactive != 1 AND category = 'Spachtel'). The result is the english category field being searched for a non-english category name. To fix this Vend::Table::Shadow::each_nokey() would not only have to apply the database mapping to the result of a query, but also to the query itself. To really work around the problem I had to put a localized category field and a localized selector field (containing something like "category_de_DE=Spachtel") into the products table and additionally a localized selector field into the cat table or rather the shadow table thereof. There must be a better way to fix this. Any ideas? Thomas From joshua at kingdomdesign.com Mon Dec 8 07:47:19 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Mon Dec 8 07:48:14 2003 Subject: [ic] Setting up catalogs on multiple domains In-Reply-To: <4.1.20031205145634.0101deb0@127.0.0.1> Message-ID: On Friday, December 5, 2003, at 05:51 PM, Rick O'Neil wrote: > Hello all, > > For several months now I've been running (quite successfully) an IC > 4.9.8 > catalog on a dedicated server (with virtual hosting of several other > domains as well). Now I want to set up a catalog for one of the other > domains but no matter how I configure things I can't get the second > catalog > to run on the second domain - whenever I go to the customer entrance I > get > an internal server error. Additionally, IC is running as the user > [firstuser] which is the user that is associated with > [firstdomain.com]. > The user [firstuser] and [seconduser] are both in the same group and > I've > tried running makecat as both users with the same results. In other > words: > > http://www.[firstdomain.com]/cgi-bin/[firstcatalog]/index.html > The above works fine and has been working fine ever since the initial > catalog creation > > http://www.[seconddomain.com]/cgi-bin/[secondcatalog]/index.html > This results in an internal server error with no errors in either the > interchange or catalog error logs. > > However, if I instead run makecat and set the cgi directory to that of > [firstuser] it works fine. > Example: > http://www.[firstdomain.com]/cgi-bin/[secondcatalog]/index.html > > At first I assumed that this was a permissions issue and thus I used > in the > [seconddomain] home directory: > chown -R [firstuser] catalogs/[secondcatalog] > chown -R [firstuser] cgi-bin > > At his point I'm stumped since all of the catalog files are owned by > the > user [firstuser] as is the cgi script. Running both catalogs from > [firstdomain.com] is not an option and I know other people have gotten > this > working. Unfortunately, I haven't been able to find anything in the > archives that has worked. > > I would certainly appreciate any help anybody could provide. Let me > know if > I need to provide any more information (like a log of my answers to > makecat). > > -Rick You didn't mention what your error logs say. I'm running multiple catalogs on one IC, but all under one user. You could install 4.9.9 to run as one user, and use the test variable as mentioned in the UPGRADE file to test your catalogs. Maybe that would work. Josh From joshua at kingdomdesign.com Mon Dec 8 08:01:43 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Mon Dec 8 08:02:40 2003 Subject: [ic] Using MyODBC to update MySQL tables In-Reply-To: <5.2.1.1.0.20031205172842.0207c3d0@mail.newmediaems.com> Message-ID: On Friday, December 5, 2003, at 07:32 PM, Ed LaFrance wrote: > At 05:31 PM 12/5/2003 -0600, you wrote: >> We're changing the way we update our products database. The old way >> was to upload a new products.txt and remove products.sql. The new way >> we're trying is using MyODBC to do updates on the products database >> directly. This is really helpful for us since we are syncing >> Interchange with a point-of-sale system, and updates are a lot >> smaller than sending the whole file each night. >> >> I'm wondering if there could be any problems with using this method. >> Say the update fails halfway, is products going to be ruined? >> >> Anyone have experience with this? >> >> Thanks, >> Josh > > I've had one or two clients do this and they never reported a problem > with it. If you enable logging in the MyODBC control panel, you'll see > that is it simply issuing SQL statements to your server, and I would > assume there is ak-start-end-ak stuff around each one, so I think your > are pretty well covered as far as individual records go - but that is > not from first-hand experience. > > - Ed L. Thanks Ed and Doug. Sounds pretty safe, but I will be backing up the database, just in case. :) Ed, with your clients doing this, do you export products to the text file at all? (Admin -> Tables -> Export) I did this to start out with, and it generates the files for my indices as well. I'm just wondering if this is something I should do regularly. (Maybe those are only for file-based searches?) Josh From jpkennedy at pharmology.com Mon Dec 8 08:09:29 2003 From: jpkennedy at pharmology.com (Jon-Paul Kennedy) Date: Mon Dec 8 08:09:17 2003 Subject: [ic] CommonAdjust using fields other than Pricing. Message-ID: <2014EE1E55B6C0409F0BC37481F61E30A4AAE5@exchange.pharmology.live> Hi, I need to display a value directly relevant to which price I am displaying per user logged in. I posted last week but got no replies. Can this be achieved using CommonAdjust? Can someone please drop me a mail and this is mega urgent!!! Thank you in advance Jon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 From jamie at versado.net Mon Dec 8 09:23:09 2003 From: jamie at versado.net (Jamie Neil) Date: Mon Dec 8 09:23:30 2003 Subject: [ic] Bundling and quantity discounts with matrix options Message-ID: <3FD4894D.6070704@versado.net> Hi all, One of my customers wants to do 3 for the price of 2 type offers on some of their products. No problem I say, we can use quantity discounting: set the base price to ?10/item, set q3 to ?6.666/item, and hey presto 2 widgets cost ?20 and 3 widgets cost ?20 as well! The problem is, it doesn't work when you take matrix options into account: 3 red widgets cost ?20, but 1 red widget and 2 green widgets cost ?30 (different skus). Can anyone suggest a solution? I'm thinking that some kind of product bundling mechanism is required (which is also on my customer's wish list), but I'm not sure how to tackle it at the moment. -- Jamie Neil | | 0870 7777 454 Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254 From edl at newmediaems.com Mon Dec 8 10:22:58 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 8 10:23:36 2003 Subject: [ic] Discounting Accessories In-Reply-To: <3FD42A99.1080500@stuckinrealtime.us> Message-ID: <5.2.1.1.0.20031208072136.020abe50@mail.newmediaems.com> At 02:39 AM 12/8/2003 -0500, you wrote: >I've looked thru the list (well, as much as I have archived) and I >have not found an answer to the question........ > >Let's say I'm selling shirts which come in multiple sizes, and I want to >run a special on extra-large shirts only. How would I go about doing >this with the discount tag? > >I can discount the sku, but how do I check if that particular option is >selected? I believe at one time I verified that you could set a negative cost (i.e.: -$2.00 for extra-small) for an option. It's been a long time, but it would be worth a try... - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From edl at newmediaems.com Mon Dec 8 10:28:32 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 8 10:29:14 2003 Subject: [ic] Using MyODBC to update MySQL tables In-Reply-To: References: <5.2.1.1.0.20031205172842.0207c3d0@mail.newmediaems.com> Message-ID: <5.2.1.1.0.20031208072521.020a65c0@mail.newmediaems.com> At 07:01 AM 12/8/2003 -0600, you wrote: >On Friday, December 5, 2003, at 07:32 PM, Ed LaFrance wrote: > >>At 05:31 PM 12/5/2003 -0600, you wrote: >>>We're changing the way we update our products database. The old way was >>>to upload a new products.txt and remove products.sql. The new way we're >>>trying is using MyODBC to do updates on the products database directly. >>>This is really helpful for us since we are syncing Interchange with a >>>point-of-sale system, and updates are a lot smaller than sending the >>>whole file each night. >>> >>>I'm wondering if there could be any problems with using this method. Say >>>the update fails halfway, is products going to be ruined? >>> >>>Anyone have experience with this? >>> >>>Thanks, >>>Josh >> >>I've had one or two clients do this and they never reported a problem >>with it. If you enable logging in the MyODBC control panel, you'll see >>that is it simply issuing SQL statements to your server, and I would >>assume there is ak-start-end-ak stuff around each one, so I think your >>are pretty well covered as far as individual records go - but that is not >>from first-hand experience. >> >>- Ed L. > >Thanks Ed and Doug. Sounds pretty safe, but I will be backing up the >database, just in case. :) > >Ed, with your clients doing this, do you export products to the text file >at all? (Admin -> Tables -> Export) I did this to start out with, and it >generates the files for my indices as well. I'm just wondering if this is >something I should do regularly. (Maybe those are only for file-based >searches?) > >Josh In the normal course of events, there is very little reason to export your tables to text files unless you have something specific that you need to do with them (or, as you said, you are doing text-based searches on them, though most SQL dbms can get you equivalent or better performance than that technique). - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From edl at newmediaems.com Mon Dec 8 11:56:01 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 8 11:52:51 2003 Subject: [ic] CommonAdjust using fields other than Pricing. In-Reply-To: <2014EE1E55B6C0409F0BC37481F61E30A4AAE5@exchange.pharmology .live> Message-ID: <5.2.1.1.0.20031208085518.02e3cc18@mail.newmediaems.com> At 01:09 PM 12/8/2003 +0000, you wrote: >Hi, > >I need to display a value directly relevant to which price I am displaying >per user logged in. That's a vague statement - if your post from last week was more clearly phrased, I suggest you repost that. - Ed >I posted last week but got no replies. >Can this be achieved using CommonAdjust? >Can someone please drop me a mail and this is mega urgent!!! > >Thank you in advance > >Jon > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From interchange at tssphoto.com Mon Dec 8 12:30:11 2003 From: interchange at tssphoto.com (Chris Bair) Date: Mon Dec 8 12:31:49 2003 Subject: [ic] Shipping depending on state In-Reply-To: <5.2.1.1.0.20031205172418.0207aee8@mail.newmediaems.com> References: <5.2.1.1.0.20031205172418.0207aee8@mail.newmediaems.com> Message-ID: >At 04:25 PM 12/5/2003 -0700, you wrote: >>I've seen a few references to the shipmode column in the >>products/state.txt table. As I understand it, using this, I can >>specify which ship modes to allow based on which state is selected >>(exclude ground shipping to Hawaii and such). My question is, how >>exactly do I do this? > >Simply populate the shipmode column with valid choices for each >state, then modify the shipping selector code in >include/checkout/shipping_address: > > I guess I should have specified that I was running 4.8.7. The trick wasn't working so I upgraded to the latest 4.9.9 all was fine until I try putting in the code above. The shipping method menu ends up empty and this is in the error file: 166.70.101.210 IzWvCmy3:166.70.101.210 - [08/December/2003:10:15:56 -0700] poop /cgi-bin/poop.cgi/ord/checkout.html Runtime error: Can't locate object method "single" via package "Vend::Table::GDBM" (perhaps you forgot to load "Vend::Table::GDBM"?) at /home/inkjet/interchange/lib/Vend/Ship.pm line 429. > From ic at oneil.org Mon Dec 8 15:26:53 2003 From: ic at oneil.org (Rick O'Neil) Date: Mon Dec 8 15:27:36 2003 Subject: [ic] Re: Setting up catalogs on multiple domains In-Reply-To: <200312081704.hB8H3hHT024352@icdevgroup.org> Message-ID: <4.1.20031208120345.00adf480@127.0.0.1> >> Hello all, >> >> For several months now I've been running (quite successfully) an IC >> 4.9.8 >> catalog on a dedicated server (with virtual hosting of several other >> domains as well). Now I want to set up a catalog for one of the other >> domains but no matter how I configure things I can't get the second >> catalog >> to run on the second domain - whenever I go to the customer entrance I >> get >> an internal server error. Additionally, IC is running as the user >> [firstuser] which is the user that is associated with >> [firstdomain.com]. >> The user [firstuser] and [seconduser] are both in the same group and >> I've >> tried running makecat as both users with the same results. In other >> words: >> >> http://www.[firstdomain.com]/cgi-bin/[firstcatalog]/index.html >> The above works fine and has been working fine ever since the initial >> catalog creation >> >> http://www.[seconddomain.com]/cgi-bin/[secondcatalog]/index.html >> This results in an internal server error with no errors in either the >> interchange or catalog error logs. >> >> However, if I instead run makecat and set the cgi directory to that of >> [firstuser] it works fine. >> Example: >> http://www.[firstdomain.com]/cgi-bin/[secondcatalog]/index.html >> >> At first I assumed that this was a permissions issue and thus I used >> in the >> [seconddomain] home directory: >> chown -R [firstuser] catalogs/[secondcatalog] >> chown -R [firstuser] cgi-bin >> >> At his point I'm stumped since all of the catalog files are owned by >> the >> user [firstuser] as is the cgi script. Running both catalogs from >> [firstdomain.com] is not an option and I know other people have gotten >> this >> working. Unfortunately, I haven't been able to find anything in the >> archives that has worked. >> >> I would certainly appreciate any help anybody could provide. Let me >> know if >> I need to provide any more information (like a log of my answers to >> makecat). >> >> -Rick > >You didn't mention what your error logs say. I did say that there was nothing in the catalog error log and nothing in the IC (system) error log. I also checked my Apache error log and as predicted the error there was too generic to be helpful: Premature end of script headers: /home/httpd/vhosts/[seconddomain.com]/cgi-bin/[secondcatalog] >I'm running multiple catalogs on one IC, but all under one user. You >could install 4.9.9 to run as one user, and use the test variable as >mentioned in the UPGRADE file to test your catalogs. Maybe that would >work. I've read through the release notes for 4.9.9 and it doesn't look like the way the catalogs are configured or "run" is any different than in 4.9.8. I'd rather not go through the upgrade process until 5.0 is released since I have one currently running catalog. If I'm wrong about this I'm sure Mike or one of the other IC gurus around here can correct me. I know that other people have gotten multiple catalogs each to run on their own domain and I'd like to figure out what I'm doing wrong. I know I'm close - I just don't know which direction to go in (it's like knowing the grocery store is only 1 mile away, but not knowing which direction to drive). If anybody can help me out with this I'd appreciate it - the catalog is ready to launch except for this. -Rick From blairacampbell at shaw.ca Mon Dec 8 16:20:59 2003 From: blairacampbell at shaw.ca (Claritinet.com) Date: Mon Dec 8 16:26:40 2003 Subject: [ic] 4.8 admin header template Message-ID: <169501c3bdd1$2d257570$6a7ba8c0@BLAIRDOWNSTAIRS> Hi, I need to edit the template for the admin interface in 4.8. I can't find it anywhere. The problem is the links now broken because they point to redhat site. Blair From shawn at stuckinrealtime.us Mon Dec 8 16:47:25 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Mon Dec 8 16:51:48 2003 Subject: [ic] Assigning Absolute Price based on an Item Attribute Message-ID: <3FD4F16D.7020007@stuckinrealtime.us> I've been playing around with my pricing database trying to get interchange to assign a price based on an item attribute like size or color The docs say you can prefix the amount in your pricing database with an = sign, and that should be the price assigned to the item... i.e. code S M L XL 99-102 =9.00 =10 =10 =11 When I try this the adjustment for the accessory comes back as being 0 or blank. Can you still assign a price based on an accessory? I'm using interchange 4.9.9 my common adjust string is: CommonAdjust pricing:q2,q3,q4,q5:, ;products:price, ==supply:pricing: ;$, ==:options Thanks in advance, Shawn Mathews shawn@stuckinrealtime.us From shawn at stuckinrealtime.us Mon Dec 8 17:00:44 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Mon Dec 8 17:05:12 2003 Subject: [ic] Re: Setting up catalogs on multiple domains In-Reply-To: <4.1.20031208120345.00adf480@127.0.0.1> References: <4.1.20031208120345.00adf480@127.0.0.1> Message-ID: <3FD4F48C.4050409@stuckinrealtime.us> I have multiple catalogs running on different domians, but I had to use the FullURL directive in the interchange.cfg i.e. FullUrl Yes Catalog cat1 /some/path/here www.domain1.com/store.cgi Catalog cat2 /some/path/here www.domain2.com/store.cgi Shawn Mathews shawn@stuckinrealtime.us From joshua at kingdomdesign.com Mon Dec 8 18:42:56 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Mon Dec 8 18:43:35 2003 Subject: [ic] Bundling and quantity discounts with matrix options In-Reply-To: <3FD4894D.6070704@versado.net> Message-ID: <3FACA0AE-29D8-11D8-9990-0030654BBC4C@kingdomdesign.com> On Monday, December 8, 2003, at 08:23 AM, Jamie Neil wrote: > Hi all, > > One of my customers wants to do 3 for the price of 2 type offers on > some of their products. No problem I say, we can use quantity > discounting: set the base price to ?10/item, set q3 to ?6.666/item, > and hey presto 2 widgets cost ?20 and 3 widgets cost ?20 as well! > > The problem is, it doesn't work when you take matrix options into > account: 3 red widgets cost ?20, but 1 red widget and 2 green widgets > cost ?30 (different skus). > > Can anyone suggest a solution? I'm thinking that some kind of product > bundling mechanism is required (which is also on my customer's wish > list), but I'm not sure how to tackle it at the moment. > > -- > Jamie Neil | | 0870 7777 454 > Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254 Sounds like you need to use price groups. There's a field for this when you edit pricing in the UI, but I had to edit pricing.txt to get mine to work properly. Josh From anthony at urbanscooters.com Mon Dec 8 18:58:14 2003 From: anthony at urbanscooters.com (Anthony Minero) Date: Mon Dec 8 18:58:31 2003 Subject: [ic] Putting options in order In-Reply-To: <3FD3E6F6.3050805@goldissue.com> Message-ID: > Anthony Minero wrote: > >> Could someone tell me how to put options in a specific order? I have some >> products that have 4 separate options and when I enter them they show up in >> a random order like; >> Color >> 1 year warranty >> Optional color >> Size >> >> > On 12/7/03 6:50 PM, "frank" wrote: > Last time I checked options in the foundation Demo (yesterday) I noticed > that there is an o_sort field in options.txt. If you increment this for > your several options you will find that the smallest number will be > displayed first. As for the UI I am not sure how, > > Frank Reitzenstein Yeah, I saw that too and tried it but it does not work? It had no effect at all. Any body else know why this may be? I wouldn't think this would be such a hard thing to do really. -- Anthony Minero From ic at oneil.org Mon Dec 8 19:15:42 2003 From: ic at oneil.org (Rick O'Neil) Date: Mon Dec 8 19:16:30 2003 Subject: [ic] Re: Setting up catalogs on multiple domains Message-ID: <3FD5142E.6060903@oneil.org> > > >I have multiple catalogs running on different domians, but I had to use >the FullURL directive in the interchange.cfg > > >i.e. > >FullUrl Yes > > >Catalog cat1 /some/path/here www.domain1.com/store.cgi >Catalog cat2 /some/path/here www.domain2.com/store.cgi > > Shawn, Thanks for the tip - in searching through mailing lists I hadn't found this. However, I'm still having the problems as before - my first existing catalog continues to run fine as do any other catalogs I run on domain1. I still get an internal server error when trying to access any pages on a catalog on domain2. Is there anything else I've overlooked? I'd be happy to provide "ls -l" output to show permissions on any directories if that would help (or any other output, like my makecat answers - I just don't want to flood the list with too much superfulous information). Thanks, -Rick From batschelet at exactasphere.com Mon Dec 8 19:19:15 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 8 19:18:54 2003 Subject: [ic] Putting options in order References: Message-ID: <019201c3bdea$14878ad0$6501a8c0@craig> > > > Anthony Minero wrote: > > > >> Could someone tell me how to put options in a specific order? I have some > >> products that have 4 separate options and when I enter them they show up in > >> a random order like; > >> Color > >> 1 year warranty > >> Optional color > >> Size > >> > >> > > On 12/7/03 6:50 PM, "frank" wrote: > > > Last time I checked options in the foundation Demo (yesterday) I noticed > > that there is an o_sort field in options.txt. If you increment this for > > your several options you will find that the smallest number will be > > displayed first. As for the UI I am not sure how, > > > > Frank Reitzenstein > > Yeah, I saw that too and tried it but it does not work? It had no effect at > all. Any body else know why this may be? I wouldn't think this would be such > a hard thing to do really. > > > -- > Anthony Minero > Hi When numbering use this format on o_sort and remember to restart. 01 02 etc.. -Sam From anthony at urbanscooters.com Mon Dec 8 19:46:53 2003 From: anthony at urbanscooters.com (Anthony Minero) Date: Mon Dec 8 19:47:05 2003 Subject: [ic] Putting options in order In-Reply-To: <019201c3bdea$14878ad0$6501a8c0@craig> Message-ID: >>> Anthony Minero wrote: >>> >>>> Could someone tell me how to put options in a specific order? I have > some >>>> products that have 4 separate options and when I enter them they show > up in >>>> a random order like; >>>> Color >>>> 1 year warranty >>>> Optional color >>>> Size >>>> >>>> >>> On 12/7/03 6:50 PM, "frank" wrote: >> >>> Last time I checked options in the foundation Demo (yesterday) I noticed >>> that there is an o_sort field in options.txt. If you increment this for >>> your several options you will find that the smallest number will be >>> displayed first. As for the UI I am not sure how, >>> >>> Frank Reitzenstein >> >> Yeah, I saw that too and tried it but it does not work? It had no effect > at >> all. Any body else know why this may be? I wouldn't think this would be > such >> a hard thing to do really. >> >> >> -- >> Anthony Minero >> > On 12/8/03 4:19 PM, "Sam Batschelet" wrote: > Hi > When numbering use this format on o_sort and remember to restart. > > 01 > 02 > etc.. > > -Sam I tried that but still no go. It has no effect. Is this working for other people? Could it be something with my database file? -- Anthony Minero From shawn at stuckinrealtime.us Mon Dec 8 22:46:26 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Mon Dec 8 23:12:58 2003 Subject: [ic] Re: Setting up catalogs on multiple domains In-Reply-To: <3FD5142E.6060903@oneil.org> References: <3FD5142E.6060903@oneil.org> Message-ID: <3FD54592.8000207@stuckinrealtime.us> > Thanks for the tip - in searching through mailing lists I hadn't found > this. > > However, I'm still having the problems as before - my first existing > catalog continues to run fine as do any other catalogs I run on domain1. > I still get an internal server error when trying to access any pages on > a catalog on domain2. > > Is there anything else I've overlooked? I'd be happy to provide "ls -l" > output to show permissions on any directories if that would help (or any > other output, like my makecat answers - I just don't want to flood the > list with too much superfulous information). > > Thanks, > -Rick > Rick, You might want to make sure you have a tmp directory under the catalog and that you have a directory for your session cache for the second catalog. Also make sure that the permisions on your interchange socket allow the second catalog to write to the socket. On some systems with plesk I've had to set the permissions to 0666 using the following in the interchange.cfg SocketPerms 0666 Shawn Mathews shawn@stuckinrealtime.us From racke at linuxia.de Tue Dec 9 03:08:06 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Tue Dec 9 03:08:56 2003 Subject: [ic] 4.8 admin header template In-Reply-To: <169501c3bdd1$2d257570$6a7ba8c0@BLAIRDOWNSTAIRS> References: <169501c3bdd1$2d257570$6a7ba8c0@BLAIRDOWNSTAIRS> Message-ID: <20031209090806.4f060af9.racke@linuxia.de> On Mon, 08 Dec 2003 13:20:59 -0800 "Claritinet.com" wrote: > Hi, > > I need to edit the template for the admin interface in 4.8. I can't find it > anywhere. The problem is the links now broken because they point to redhat > site. Look for the file lib/UI/vars/UI_STD_HEAD in your installation. Ciao Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From mui at fastex.dk Tue Dec 9 04:15:39 2003 From: mui at fastex.dk (Marem) Date: Tue Dec 9 04:11:23 2003 Subject: [ic] Re: Bundling and quantity discounts with matrix options (Jamie Neil) In-Reply-To: <200312081708.hB8H3hHV024352@icdevgroup.org> References: <200312081708.hB8H3hHV024352@icdevgroup.org> Message-ID: <20031209090010.M68593@fastex.dk> > Message: 11 > Date: Mon, 08 Dec 2003 14:23:09 +0000 > From: Jamie Neil > Subject: [ic] Bundling and quantity discounts with matrix options > To: interchange-users@icdevgroup.org > Message-ID: <3FD4894D.6070704@versado.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi all, > > One of my customers wants to do 3 for the price of 2 type offers on > some of their products. No problem I say, we can use quantity > discounting: set the base price to ?10/item, set q3 to ?6.666/item, > and hey presto 2 widgets cost ?20 and 3 widgets cost ?20 as well! > > The problem is, it doesn't work when you take matrix options into > account: 3 red widgets cost ?20, but 1 red widget and 2 green > widgets cost ?30 (different skus). > > Can anyone suggest a solution? I'm thinking that some kind of > product bundling mechanism is required (which is also on my > customer's wish list), but I'm not sure how to tackle it at the moment. > > -- > Jamie Neil | | 0870 7777 454 > Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254 > > ------------------------------ > This should work.. Specify "price_group" field per item/SKU , than be shore, that the CommonAdjust in etc/after.cfg look similar to this: pricing:price_group,q2,q3,q5,q10,q100:, ;:sale_price, ;:price, ;$, ==:options Check whether displaying of [price code=[loop-code] quantity=[part-code]] appear properly in quantity.hrml (demo catalog) /Marem LinSoft IT (http://www.linsoft.dk) From jpkennedy at pharmology.com Tue Dec 9 04:20:26 2003 From: jpkennedy at pharmology.com (Jon-Paul Kennedy) Date: Tue Dec 9 04:20:21 2003 Subject: [ic] CommonAdjust using fields other than Pricing. Message-ID: <2014EE1E55B6C0409F0BC37481F61E30A4AAE8@exchange.pharmology.live> > At 01:09 PM 12/8/2003 +0000, you wrote: > >Hi, > > > >I need to display a value directly relevant to which price I > am displaying > >per user logged in. > > That's a vague statement - if your post from last week was > more clearly > phrased, I suggest you repost that. > > - Ed > Ed, here is my post from last week: Hi, I have to configure CommonAdjust to enable me to do the following. I have 2 price's, one for accounts customers (PLOF) and one for non account customers (contract). Alongside this I have 2 set's of percentage calculations which I need to display alongside the prices when the items are displayed. These percentage values are static, so no actual calculations take place in Interchange. I need to display the 2 relevant values when either a PLOF customer or a Contract customer logs in. i.e plofprice | contractprice | plofpercentageoff | contractpercentageoff 6.81 5.84 58 64 So if a Contract customer logs in, they see: ?5.84 with 64% off And likewise for a PLOF Customer: ?6.81 with 58% off I know CommonAdjust can do this, but the documentation is thoroughly confusing. I have everything else running fine, but this is a new requirements. I am NOT using the pricing tables either and I am using the default after.cfg. Thanks, Jon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 From reid at vianet.ca Tue Dec 9 09:30:31 2003 From: reid at vianet.ca (Reid Sutherland) Date: Tue Dec 9 09:34:28 2003 Subject: [ic] Matrix options inventory -- yet again. In-Reply-To: <20031205212029.686c1ae1.racke@linuxia.de> References: <3FCF86BF.3060003@vianet.ca> <20031205212029.686c1ae1.racke@linuxia.de> Message-ID: <3FD5DC87.7030200@vianet.ca> Stefan Hornburg wrote: > On Thu, 04 Dec 2003 14:10:55 -0500 > Reid Sutherland wrote: > > >>Please CC me as this email address is not on the list. >> >>Version: 4.9.8 >> >>I've searched the lists and have come to no real conclusion about the >>state of inventory controls with regards to matrix options. Here's what >>I understand: "It doesn't work the way it should.". >> >>Basically, you can buy things even if there is no stock in the option >>item. It will even bring the inventory count below 0 (-5 for example). >> This is plain silly in my opinion. This method confuses would be IC >>users that are trying to sell clothing, for example. As they would have >>multiple sizes, colours, etc., and different inventory for each. >> >>Sooo, should I stop complaining and patch it myself, or is there >>something I can do to have it notify/email/complain/etc when a >>particular option is out of stock? >> >>I think the current matrix option inventory system should either be >>disabled or improved. In it's current state, it makes no sense (to me). >> It only adds hope that it functions the same way as the regular item >>inventory does, which of course, it does not. And in the end it may >>give some users a bad taste for IC (and less consulting money for Mike ;)) >> >>Let me know what you think. > > > Citing WHATSNEW from current CVS: > > * Add inventory function back in. Mysteriously removed during the > Options rewrite. > I've tried the "Live Demo" dev store and this fix appears to do nothing for the matrix options. The code itself doesn't appear to do anything along those lines either. Are there any plans on implementing a functional matrix option inventory control or should I just write the patch myself? Thanks, -reid From edl at newmediaems.com Tue Dec 9 12:40:09 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Tue Dec 9 12:37:02 2003 Subject: [ic] CommonAdjust using fields other than Pricing. In-Reply-To: <2014EE1E55B6C0409F0BC37481F61E30A4AAE8@exchange.pharmology .live> Message-ID: <5.2.1.1.0.20031209091335.02e71950@mail.newmediaems.com> At 09:20 AM 12/9/2003 +0000, you wrote: > > At 01:09 PM 12/8/2003 +0000, you wrote: > > >Hi, > > > > > >I need to display a value directly relevant to which price I > > am displaying > > >per user logged in. > > > > That's a vague statement - if your post from last week was > > more clearly > > phrased, I suggest you repost that. > > > > - Ed > > > >Ed, here is my post from last week: > >Hi, > >I have to configure CommonAdjust to enable me to do the following. >I have 2 price's, one for accounts customers (PLOF) and one for non account >customers (contract). You could probably modify the 'dealer' pricing that is already part of the foundation demo to do this. There are retail and wholesale (dealer) price fields in the products table which should also appear in the item editor, and a dealer flag which can be set for a customer account. When a person with dealer=TRUE logs into the store, they get the wholesale price (configured in etc/after.cfg with pricing profiles). >Alongside this I have 2 set's of percentage calculations which I need to >display alongside the prices when the items are displayed. These percentage >values are static, so no actual calculations take place in Interchange. >I need to display the 2 relevant values when either a PLOF customer or a >Contract customer logs in. >i.e > >plofprice | contractprice | plofpercentageoff | contractpercentageoff > > 6.81 5.84 58 64 > >So if a Contract customer logs in, they see: > >?5.84 with 64% off > >And likewise for a PLOF Customer: > >?6.81 with 58% off If these are static values, then you just need to add plofpercentageoff and contractpercentageoff fields to your products table (or a new table keyed to products by sku if you prefer) and display them as needed. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From cwenham at synesmedia.com Tue Dec 9 15:12:23 2003 From: cwenham at synesmedia.com (Christopher Wenham) Date: Tue Dec 9 15:12:37 2003 Subject: [ic] Interchange fails after second session with Japaneese locale Message-ID: <200312091512.23904.cwenham@synesmedia.com> Interchange 4.9.8 on FreeBSD 4.6 with MySQL database is failing only on the second or third user session when using a Japanese locale for the front-end (store, not Admin UI). Interchange keeps working fine, with Japaneese translations, for the first session. However, if you open up another browser and visit the same site you get an Internal Server Error, and the error.log reports this: nyn /nyn.cgi/index.html Runtime error: ?it@C not a database, cannot use as products file Even as the second visitor is getting only Internal Server Errors, the first visitor can still be browsing. If the first visitor closes his browser and then re-starts it, he'll start getting the same errors, too. Restarting Interchange has no effect and neither does deleting the .gdbm file or the contents of the session and tmp directories. The only way to briefly "reset" the catalog is to temporarily switch to en_US and back, like this: 1) Restore the original locale.txt 2) Change the locale in variables.txt back to en_US 3) Delete locale.gdbm and variables.gdbm 3) Restart the server and check the English version. 4) Replace locale.txt with the Japaneese version, change LOCALE back to ja_JP. 5) Restart and check in browser. First session works fine, second session fails again. There are three other English-language catalogs running on the same Interchange daemon installation, and they're unaffected, they don't even fail down when the Japaneese catalog does. I've tried putting the locale table into a MySQL database instead of gdbm, but this doesn't change the odd behavior. Does anyone know why Interchange might fail for subsequent sessions after the first, but in such a way that the first session can continue to work for as long as its still valid, _AND_ that the only way to reset the catalog is to temporarily switch back? Regards, -- Chris Wenham - Synesmedia, Inc. http://www.synesmedia.com 516-620-4110 / 1-888-255-7573 Fax: 516-908-7824 From edl at newmediaems.com Tue Dec 9 15:55:20 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Tue Dec 9 15:52:12 2003 Subject: [ic] Interchange fails after second session with Japaneese locale In-Reply-To: <200312091512.23904.cwenham@synesmedia.com> Message-ID: <5.2.1.1.0.20031209125302.02f31420@mail.newmediaems.com> At 03:12 PM 12/9/2003 -0500, you wrote: > Interchange 4.9.8 on FreeBSD 4.6 with MySQL database is failing only on the >second or third user session when using a Japanese locale for the front-end >(store, not Admin UI). > > Interchange keeps working fine, with Japaneese translations, for the first >session. However, if you open up another browser and visit the same site you >get an Internal Server Error, and the error.log reports this: > >nyn /nyn.cgi/index.html Runtime error: ?it@C not a database, cannot use as >products file > > Even as the second visitor is getting only Internal Server Errors, the > first >visitor can still be browsing. If the first visitor closes his browser and >then re-starts it, he'll start getting the same errors, too. > > Restarting Interchange has no effect and neither does deleting the .gdbm > file >or the contents of the session and tmp directories. The only way to briefly >"reset" the catalog is to temporarily switch to en_US and back, like this: > > 1) Restore the original locale.txt > 2) Change the locale in variables.txt back to en_US > 3) Delete locale.gdbm and variables.gdbm > 3) Restart the server and check the English version. > 4) Replace locale.txt with the Japaneese version, change LOCALE back to >ja_JP. > 5) Restart and check in browser. First session works fine, second session >fails again. > > There are three other English-language catalogs running on the same >Interchange daemon installation, and they're unaffected, they don't even fail >down when the Japaneese catalog does. > > I've tried putting the locale table into a MySQL database instead of gdbm, >but this doesn't change the odd behavior. > > Does anyone know why Interchange might fail for subsequent sessions > after the >first, but in such a way that the first session can continue to work for as >long as its still valid, _AND_ that the only way to reset the catalog is to >temporarily switch back? > >Regards, >-- >Chris Wenham - Synesmedia, Inc. You've translated the ProductFiles directive to Japanese. Make sure the ProductFiles row in the locale table is empty (except for the key, of course) and restart IC. While you are in there, check for any other directives which should not be translated. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From mike at perusion.com Tue Dec 9 16:31:54 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 9 16:32:39 2003 Subject: [ic] Interchange fails after second session with Japaneese locale In-Reply-To: <200312091512.23904.cwenham@synesmedia.com> References: <200312091512.23904.cwenham@synesmedia.com> Message-ID: <20031209213154.GA25683@bill.heins.net> Quoting Christopher Wenham (cwenham@synesmedia.com): > > Interchange 4.9.8 on FreeBSD 4.6 with MySQL database is failing only on the [snip] > Does anyone know why Interchange might fail for subsequent sessions after the > first, but in such a way that the first session can continue to work for as > long as its still valid, _AND_ that the only way to reset the catalog is to > temporarily switch back? Are you running in PreFork mode? Sounds like a POSIX::setlocale() is sticking somehow. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From ic at oneil.org Tue Dec 9 18:12:02 2003 From: ic at oneil.org (Rick O'Neil) Date: Tue Dec 9 18:13:02 2003 Subject: [ic] Re: Setting up catalogs on multiple domains In-Reply-To: <200312091700.hB9H0eHT004690@icdevgroup.org> Message-ID: <4.1.20031209142132.00e3a508@127.0.0.1> >Rick, > >You might want to make sure you have a tmp directory under the catalog >and that you have a directory for your session cache for the second catalog. > >Also make sure that the permisions on your interchange socket allow the >second catalog to write to the socket. On some systems with plesk I've >had to set the permissions to 0666 using the following in the >interchange.cfg > >SocketPerms 0666 > >Shawn Mathews >shawn@stuckinrealtime.us Shawn, Thanks again for the tips. I do in fact have a tmp directory and a session cache directory both under the catalog I'm trying to get going (as well as the one I have running successfully). I did add the socket permissions line to interchange.cfg, but that didn't seem to make any difference. Other information that I've uncovered in looking around that may be useful: I am in fact running plesk on my system - I found detailed instructions on Interchangeville for running IC on a plesk system: http://interchangeville.com/forum/viewtopic.php?t=952 The main thing that is different is I wasn't running in INET mode - I was running in UNIX mode. I tried running makecat as described in the message using INET mode, but that doesn't make any difference (I still get an internal server error when I try to go to the catalog). However, here is where it gets interesting - I have been running IC in UNIX mode for catalog1 on domain1 and I can run as many catalogs on domain1 as I want (while using UNIX mode). If I switch to INET mode then try to go to the catalogs the message I get for all domain1 catalogs is that the IC server is unavailable, but for catalog2 on domain2 I continue to get an internal server error. The other difference that I see is that the user interchange is running as isn't "interch" but rather the user for domain1. Since the user for domain1 and domain2 are both a member of the "psacln" group I didn't think it necessary to run as "interch". However, the one difference I can think of is that "interch", as described in the Interchangeville post, would be a full shell account, but the account for domain1 is a plesk virtual host account - could this cause the problems I'm seeing? It seems unlikely to me since I did go ahead and create an "interch" user account and followed the directions there to a "t" and I continue to get the same behavior from IC (internal server error for catalog2 running on domain2). I appreciate your help so far, Shawn, but do you, or anybody else, have any other suggestions? -Rick From kaleb at zeald.com Wed Dec 10 07:37:05 2003 From: kaleb at zeald.com (Kaleb Kelly) Date: Tue Dec 9 18:38:14 2003 Subject: [ic] No shipping cost for one item? Message-ID: <200312101237.05686.kaleb@zeald.com> Hi, Im trying to make one item (only) not include shipping costs. I carnt seem to think of / find a solution. Shipping is calculated by price. Thanks in advance for any help. Kaleb Kelly, Zeald Ltd. http://www.zeald.com From shawn at stuckinrealtime.us Wed Dec 10 00:10:02 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Wed Dec 10 01:51:49 2003 Subject: [ic] Re: Setting up catalogs on multiple domains In-Reply-To: <4.1.20031209142132.00e3a508@127.0.0.1> References: <4.1.20031209142132.00e3a508@127.0.0.1> Message-ID: <3FD6AAAA.1030703@stuckinrealtime.us> Rick, I was never able to get those instructions to work properly on all of my domains. I eventually switched to mod_interchange as the way to talk to my catalogs because the cgi's would not run consistently because of the suexec thing that plesk uses. I also had some success using mod_perl to run tlink.pl under different domains. Shawn Mathews shawn@stuckinrealtime.us From DB at M-and-D.com Wed Dec 10 07:37:30 2003 From: DB at M-and-D.com (DB) Date: Wed Dec 10 07:38:14 2003 Subject: [ic] No shipping cost for one item? Message-ID: <3FD7138A.3080609@M-and-D.com> > Hi, > Im trying to make one item (only) not include shipping costs. I carnt seem to > think of / find a solution. > > Shipping is calculated by price. > > Thanks in advance for any help. > > Kaleb Kelly, > Zeald Ltd. > http://www.zeald.com One way I can think of is to calculate shipping by weight, then assign a weight of zero to that one item. You could assign the weights of all other items to be the same as the price and then not display the wieght (which would obviously not reflect actual weights). Maybe not a perfect solution but it should work... DB From joshua at kingdomdesign.com Wed Dec 10 08:09:36 2003 From: joshua at kingdomdesign.com (Joshua Lavin) Date: Wed Dec 10 08:10:19 2003 Subject: [ic] No shipping cost for one item? In-Reply-To: <200312101237.05686.kaleb@zeald.com> Message-ID: <1AA2D8CC-2B12-11D8-9990-0030654BBC4C@kingdomdesign.com> On Wednesday, December 10, 2003, at 06:37 AM, Kaleb Kelly wrote: > Hi, > Im trying to make one item (only) not include shipping costs. I carnt > seem to > think of / find a solution. > > Shipping is calculated by price. > > Thanks in advance for any help. > > Kaleb Kelly, > Zeald Ltd. > http://www.zeald.com I'm doing free shipping on one item by checking for that item on the checkout page, and if ordered, erasing the shipping, but only if they haven't selected a faster shipping method (my default is 'flat'). It's pretty limited, but here's the code: [if ordered 1003227] [and value mv_shipmode eq "flat"] [assign shipping=0.00] [else] [assign clear=1] [/else] [/if] Josh From dave at bluecomconsulting.com.au Wed Dec 10 08:28:42 2003 From: dave at bluecomconsulting.com.au (Dave O'Shaughnessy) Date: Wed Dec 10 08:29:21 2003 Subject: [ic] Question about Interchange's capabilities Message-ID: <3FD71F8A.2060304@bluecomconsulting.com.au> Hi all, I've been using AgoraCart but seem to have hit a problem with what I want to do, so I'm looking at trying out Interchange, but need to know if it will fit my needs first. I have mobile phones for sale, and the user can buy phones on plans with no upfront cost, so the base price of the phone is $0, and cost is added on through options on the product. My required features are; 1) At the shopping cart view and the checkout view I want to have two colums instead of total cost; * Monthly Bill * Upfront Cost These two colums would have their values selected via drop down boxes on the product. So on one box they pick which phone plan (affecting the monthly bill) and the other box they pick either monthly payment (adding to monthly bill) or outright purchase (adding to upfront cost, which is intially $0). Ideally I'd like to also have checkbox option so they can request a gold number, adding $200 to the upfront cost. 2) Be able to customise the checkout order form to either; a. add a lot of fields and use error checking on the fields (some fields are only required if another field is selected etc), or b. Let me insert my own html forms that appear after the checkout is submitted, to gather extra info. Sorry for the lengthy post, but I really wanted to make sure that this can be done before I install the cart. Thanks, Dave. From reid at vianet.ca Wed Dec 10 10:38:27 2003 From: reid at vianet.ca (Reid Sutherland) Date: Wed Dec 10 10:41:57 2003 Subject: [ic] Environment function woes. Message-ID: <3FD73DF3.4000801@vianet.ca> Please CC me as this email is not on this list -- thanks. Hi, I'm trying to set the environment variable for GNUPGHOME, and so far I've had no luck. This is what I've done. - added 'SetEnv GNUPGHOME path_to_catalog/.gnupg' to Apache (virtualhost) - patched suexec to allow GNUPGHOME to pass (just in case) - wrote a test script and I can see GNUPGHOME from %ENV - added GNUPGHOME to Environment in my ic.cfg - can see GNUPGHOME in admin/genconfig too After doing all this, it still does not come up in admin/env_vars.html for my session. Any ideas? -reid From racke at linuxia.de Wed Dec 10 11:05:59 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Wed Dec 10 11:06:16 2003 Subject: [ic] Environment function woes. In-Reply-To: <3FD73DF3.4000801@vianet.ca> References: <3FD73DF3.4000801@vianet.ca> Message-ID: <20031210170559.65ff6c16.racke@linuxia.de> On Wed, 10 Dec 2003 10:38:27 -0500 Reid Sutherland wrote: > Please CC me as this email is not on this list -- thanks. > > Hi, > > I'm trying to set the environment variable for GNUPGHOME, and so far > I've had no luck. This is what I've done. > > - added 'SetEnv GNUPGHOME path_to_catalog/.gnupg' to Apache (virtualhost) > - patched suexec to allow GNUPGHOME to pass (just in case) > - wrote a test script and I can see GNUPGHOME from %ENV > - added GNUPGHOME to Environment in my ic.cfg > - can see GNUPGHOME in admin/genconfig too > > After doing all this, it still does not come up in admin/env_vars.html > for my session. If you need to set GNUPGHOME so Interchange has the correct location for GPG keys, I suggest to set it in the init script for Interchange: export GNUPGHOME=/your/gnupg/path/.gnupg Ciao Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From edl at newmediaems.com Wed Dec 10 11:50:36 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Wed Dec 10 11:46:54 2003 Subject: [ic] Re: Setting up catalogs on multiple domains In-Reply-To: <4.1.20031209142132.00e3a508@127.0.0.1> References: <200312091700.hB9H0eHT004690@icdevgroup.org> Message-ID: <5.2.1.1.0.20031210084634.02e65f80@mail.newmediaems.com> At 03:12 PM 12/9/2003 -0800, you wrote: > >Rick, > > > >You might want to make sure you have a tmp directory under the catalog > >and that you have a directory for your session cache for the second catalog. > > > >Also make sure that the permisions on your interchange socket allow the > >second catalog to write to the socket. On some systems with plesk I've > >had to set the permissions to 0666 using the following in the > >interchange.cfg > > > >SocketPerms 0666 > > > >Shawn Mathews > >shawn@stuckinrealtime.us > >Shawn, > >Thanks again for the tips. I do in fact have a tmp directory and a session >cache directory both under the catalog I'm trying to get going (as well as >the one I have running successfully). I did add the socket permissions line >to interchange.cfg, but that didn't seem to make any difference. > >Other information that I've uncovered in looking around that may be useful: > >I am in fact running plesk on my system - I found detailed instructions on >Interchangeville for running IC on a plesk system: >http://interchangeville.com/forum/viewtopic.php?t=952 > >The main thing that is different is I wasn't running in INET mode - I was >running in UNIX mode. I tried running makecat as described in the message >using INET mode, but that doesn't make any difference (I still get an >internal server error when I try to go to the catalog). However, here is >where it gets interesting - I have been running IC in UNIX mode for >catalog1 on domain1 and I can run as many catalogs on domain1 as I want >(while using UNIX mode). If I switch to INET mode then try to go to the >catalogs the message I get for all domain1 catalogs is that the IC server >is unavailable, but for catalog2 on domain2 I continue to get an internal >server error. > >The other difference that I see is that the user interchange is running as >isn't "interch" but rather the user for domain1. Since the user for domain1 >and domain2 are both a member of the "psacln" group I didn't think it >necessary to run as "interch". However, the one difference I can think of >is that "interch", as described in the Interchangeville post, would be a >full shell account, but the account for domain1 is a plesk virtual host >account - could this cause the problems I'm seeing? It seems unlikely to me >since I did go ahead and create an "interch" user account and followed the >directions there to a "t" and I continue to get the same behavior from IC >(internal server error for catalog2 running on domain2). > >I appreciate your help so far, Shawn, but do you, or anybody else, have any >other suggestions? > >-Rick Dear Rick - I run interchange on Plesk-managed systems. Try disabling suexec, which is by default used by Plesk. Just located the binary 'suexec' (depending on which Plesk dist you use, location can vary), and rename it to suexec.disabled. Then restart apache, and check your catalog again. If you still get a 500 error, try toggling the suid bit on the vlink file for the catalog. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From Sales at rackst.com Wed Dec 10 12:11:17 2003 From: Sales at rackst.com (Rackst.com Sales ) Date: Wed Dec 10 12:11:25 2003 Subject: [ic] Question about Interchange's capabilities In-Reply-To: <3FD71F8A.2060304@bluecomconsulting.com.au> References: <3FD71F8A.2060304@bluecomconsulting.com.au> Message-ID: <1071076277.3fd753b5ef4ec@webmail.rackst.com> Let me tell you, you give me Interchange and a MYSQL database and I can do anthing a man can do with a program, I mean you can do with interchange anything, the limit is the sky, however interchange is not easy, you must work on it and know what you doing. Good luck Quoting Dave O'Shaughnessy : > Hi all, I've been using AgoraCart but seem to have hit a problem with > what I want to do, so I'm looking at trying out Interchange, but need to > know if it will fit my needs first. I have mobile phones for sale, and > the user can buy phones on plans with no upfront cost, so the base price > of the phone is $0, and cost is added on through options on the product. > My required features are; > > 1) At the shopping cart view and the checkout view I want to have two > colums instead of total cost; > > * Monthly Bill > * Upfront Cost > > These two colums would have their values selected via drop down boxes on > the product. So on one box they pick which phone plan (affecting the > monthly bill) and the other box they pick either monthly payment (adding > to monthly bill) or outright purchase (adding to upfront cost, which is > intially $0). Ideally I'd like to also have checkbox option so they can > request a gold number, adding $200 to the upfront cost. > > > 2) Be able to customise the checkout order form to either; > a. add a lot of fields and use error checking on the fields (some fields > are only required if another field is selected etc), or > b. Let me insert my own html forms that appear after the checkout is > submitted, to gather extra info. > > > Sorry for the lengthy post, but I really wanted to make sure that this > can be done before I install the cart. Thanks, > > Dave. > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > ----------- Alexander A Daree Sales & Support Engineer Rackst.com (517)490-4352 alex@rackst.com Visit www.rackst.com for all your Computer & Internet needs ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From edl at newmediaems.com Wed Dec 10 12:37:18 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Wed Dec 10 12:33:34 2003 Subject: [ic] Question about Interchange's capabilities In-Reply-To: <3FD71F8A.2060304@bluecomconsulting.com.au> Message-ID: <5.2.1.1.0.20031210093505.02eefae0@mail.newmediaems.com> At 09:28 PM 12/10/2003 +0800, you wrote: >Hi all, I've been using AgoraCart but seem to have hit a problem with what >I want to do, so I'm looking at trying out Interchange, but need to know >if it will fit my needs first. I have mobile phones for sale, and the user >can buy phones on plans with no upfront cost, so the base price of the >phone is $0, and cost is added on through options on the product. My >required features are; > >1) At the shopping cart view and the checkout view I want to have two >colums instead of total cost; > >* Monthly Bill >* Upfront Cost > >These two colums would have their values selected via drop down boxes on >the product. So on one box they pick which phone plan (affecting the >monthly bill) and the other box they pick either monthly payment (adding >to monthly bill) or outright purchase (adding to upfront cost, which is >intially $0). Ideally I'd like to also have checkbox option so they can >request a gold number, adding $200 to the upfront cost. > > >2) Be able to customise the checkout order form to either; >a. add a lot of fields and use error checking on the fields (some fields >are only required if another field is selected etc), or >b. Let me insert my own html forms that appear after the checkout is >submitted, to gather extra info. > > >Sorry for the lengthy post, but I really wanted to make sure that this can >be done before I install the cart. Thanks, > >Dave. Dave - All this and more is doable with interchange, and the built-in features of the foundation store demo will get you quite a ways along, but you will have to roll up your sleeves and do some work. Most people find the learning curve for customizing interchange projects to be fairly steep, so you might consider securing one of the competent consultants on this list for the rough spots. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From ic at oneil.org Wed Dec 10 16:39:37 2003 From: ic at oneil.org (Rick O'Neil) Date: Wed Dec 10 16:41:49 2003 Subject: [ic] Re: Setting up catalogs on multiple domains SOLVED In-Reply-To: <5.2.1.1.0.20031210084634.02e65f80@mail.newmediaems.com> References: <4.1.20031209142132.00e3a508@127.0.0.1> <200312091700.hB9H0eHT004690@icdevgroup.org> Message-ID: <4.1.20031210133014.00e51580@127.0.0.1> >> >Rick, >> > >> >You might want to make sure you have a tmp directory under the catalog >> >and that you have a directory for your session cache for the second catalog. >> > >> >Also make sure that the permisions on your interchange socket allow the >> >second catalog to write to the socket. On some systems with plesk I've >> >had to set the permissions to 0666 using the following in the >> >interchange.cfg >> > >> >SocketPerms 0666 >> > >> >Shawn Mathews >> >shawn@stuckinrealtime.us >> >>Shawn, >> >>Thanks again for the tips. I do in fact have a tmp directory and a session >>cache directory both under the catalog I'm trying to get going (as well as >>the one I have running successfully). I did add the socket permissions line >>to interchange.cfg, but that didn't seem to make any difference. >> >>Other information that I've uncovered in looking around that may be useful: >> >>I am in fact running plesk on my system - I found detailed instructions on >>Interchangeville for running IC on a plesk system: >>http://interchangeville.com/forum/viewtopic.php?t=952 >> >>The main thing that is different is I wasn't running in INET mode - I was >>running in UNIX mode. I tried running makecat as described in the message >>using INET mode, but that doesn't make any difference (I still get an >>internal server error when I try to go to the catalog). However, here is >>where it gets interesting - I have been running IC in UNIX mode for >>catalog1 on domain1 and I can run as many catalogs on domain1 as I want >>(while using UNIX mode). If I switch to INET mode then try to go to the >>catalogs the message I get for all domain1 catalogs is that the IC server >>is unavailable, but for catalog2 on domain2 I continue to get an internal >>server error. >> >>The other difference that I see is that the user interchange is running as >>isn't "interch" but rather the user for domain1. Since the user for domain1 >>and domain2 are both a member of the "psacln" group I didn't think it >>necessary to run as "interch". However, the one difference I can think of >>is that "interch", as described in the Interchangeville post, would be a >>full shell account, but the account for domain1 is a plesk virtual host >>account - could this cause the problems I'm seeing? It seems unlikely to me >>since I did go ahead and create an "interch" user account and followed the >>directions there to a "t" and I continue to get the same behavior from IC >>(internal server error for catalog2 running on domain2). >> >>I appreciate your help so far, Shawn, but do you, or anybody else, have any >>other suggestions? >> >>-Rick > >Dear Rick - > >I run interchange on Plesk-managed systems. Try disabling suexec, which is >by default used by Plesk. Just located the binary 'suexec' (depending on >which Plesk dist you use, location can vary), and rename it to >suexec.disabled. Then restart apache, and check your catalog again. If you >still get a 500 error, try toggling the suid bit on the vlink file for the >catalog. > >- Ed L. Ed & Shawn, Thanks for your help. I disabled suexec as Ed suggested and everything is working beautifully. I'm curious though, everything I've read about Plesk and IC states/implies that suexec is required - why the misconception? Thanks again, I'll be launching this afternoon. -Rick From asc at vineyard.net Wed Dec 10 16:58:42 2003 From: asc at vineyard.net (Aaron Straup Cope) Date: Wed Dec 10 16:59:45 2003 Subject: [ic] [permissions] who is on first? Message-ID: <3FD79712.7040304@vineyard.net> Hi, I am in the process of investigating Interchange for by clients. So far, the process has gone relatively smoothly but I have encountered a problem updating the status on a pending order. Specifically, the action is denied and I am redirected to the admin login page. The error logs indicate that I have "attempted database update without permission, table=transactions". I am running an "out of the box" install using the default "foundation" store and DBM files. I have checked the actual file system permissions and they are fine. I have poked around the icdevgroup site and google and the last ~3 months list archives but have been unable to find anything that might help explain what's going on. When the program is complaining about permissions, is it complaining about file-system permissions or it's own internal table of allowable actions for a user? (I am logged in a the site admin/super user.) Pointers or suggestions would be much appreciated. Thanks, From edl at newmediaems.com Wed Dec 10 18:01:36 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Wed Dec 10 17:57:51 2003 Subject: [ic] Re: Setting up catalogs on multiple domains SOLVED In-Reply-To: <4.1.20031210133014.00e51580@127.0.0.1> References: <5.2.1.1.0.20031210084634.02e65f80@mail.newmediaems.com> <4.1.20031209142132.00e3a508@127.0.0.1> <200312091700.hB9H0eHT004690@icdevgroup.org> Message-ID: <5.2.1.1.0.20031210145901.02fd2428@mail.newmediaems.com> At 01:39 PM 12/10/2003 -0800, you wrote: > >> >Rick, > >> > > >> >You might want to make sure you have a tmp directory under the catalog > >> >and that you have a directory for your session cache for the second >catalog. > >> > > >> >Also make sure that the permisions on your interchange socket allow the > >> >second catalog to write to the socket. On some systems with plesk I've > >> >had to set the permissions to 0666 using the following in the > >> >interchange.cfg > >> > > >> >SocketPerms 0666 > >> > > >> >Shawn Mathews > >> >shawn@stuckinrealtime.us > >> > >>Shawn, > >> > >>Thanks again for the tips. I do in fact have a tmp directory and a session > >>cache directory both under the catalog I'm trying to get going (as well as > >>the one I have running successfully). I did add the socket permissions line > >>to interchange.cfg, but that didn't seem to make any difference. > >> > >>Other information that I've uncovered in looking around that may be useful: > >> > >>I am in fact running plesk on my system - I found detailed instructions on > >>Interchangeville for running IC on a plesk system: > >>http://interchangeville.com/forum/viewtopic.php?t=952 > >> > >>The main thing that is different is I wasn't running in INET mode - I was > >>running in UNIX mode. I tried running makecat as described in the message > >>using INET mode, but that doesn't make any difference (I still get an > >>internal server error when I try to go to the catalog). However, here is > >>where it gets interesting - I have been running IC in UNIX mode for > >>catalog1 on domain1 and I can run as many catalogs on domain1 as I want > >>(while using UNIX mode). If I switch to INET mode then try to go to the > >>catalogs the message I get for all domain1 catalogs is that the IC server > >>is unavailable, but for catalog2 on domain2 I continue to get an internal > >>server error. > >> > >>The other difference that I see is that the user interchange is running as > >>isn't "interch" but rather the user for domain1. Since the user for domain1 > >>and domain2 are both a member of the "psacln" group I didn't think it > >>necessary to run as "interch". However, the one difference I can think of > >>is that "interch", as described in the Interchangeville post, would be a > >>full shell account, but the account for domain1 is a plesk virtual host > >>account - could this cause the problems I'm seeing? It seems unlikely to me > >>since I did go ahead and create an "interch" user account and followed the > >>directions there to a "t" and I continue to get the same behavior from IC > >>(internal server error for catalog2 running on domain2). > >> > >>I appreciate your help so far, Shawn, but do you, or anybody else, have any > >>other suggestions? > >> > >>-Rick > > > >Dear Rick - > > > >I run interchange on Plesk-managed systems. Try disabling suexec, which is > >by default used by Plesk. Just located the binary 'suexec' (depending on > >which Plesk dist you use, location can vary), and rename it to > >suexec.disabled. Then restart apache, and check your catalog again. If you > >still get a 500 error, try toggling the suid bit on the vlink file for the > >catalog. > > > >- Ed L. > >Ed & Shawn, > >Thanks for your help. I disabled suexec as Ed suggested and everything is >working beautifully. I'm curious though, everything I've read about Plesk >and IC states/implies that suexec is required - why the misconception? > >Thanks again, I'll be launching this afternoon. > >-Rick You can get it working with suexec enabled, but it takes quite a bit of fiddling with vlink ownerships, group affiliations and socket perms to get it right. Disabling suexec is just another (possibly less desireable) way to get there. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From edl at newmediaems.com Wed Dec 10 18:07:35 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Wed Dec 10 18:03:50 2003 Subject: [ic] [permissions] who is on first? In-Reply-To: <3FD79712.7040304@vineyard.net> Message-ID: <5.2.1.1.0.20031210150259.02fd00d8@mail.newmediaems.com> At 04:58 PM 12/10/2003 -0500, you wrote: >Hi, > >I am in the process of investigating Interchange for by clients. So far, >the process has gone relatively smoothly but I have encountered a problem >updating the status on a pending order. Specifically, the action is denied >and I am redirected to the admin login page. The error logs indicate that >I have "attempted database update without permission, table=transactions". > >I am running an "out of the box" install using the default "foundation" >store and DBM files. > >I have checked the actual file system permissions and they are fine. I >have poked around the icdevgroup site and google and the last ~3 months >list archives but have been unable to find anything that might help >explain what's going on. > >When the program is complaining about permissions, is it complaining about >file-system permissions or it's own internal table of allowable actions >for a user? (I am logged in a the site admin/super user.) That message would suggest a problem with logical permissions within the UI, not file system permissions. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From mike at perusion.com Wed Dec 10 18:38:19 2003 From: mike at perusion.com (Mike Heins) Date: Wed Dec 10 18:38:29 2003 Subject: [ic] [permissions] who is on first? In-Reply-To: <5.2.1.1.0.20031210150259.02fd00d8@mail.newmediaems.com> References: <3FD79712.7040304@vineyard.net> <5.2.1.1.0.20031210150259.02fd00d8@mail.newmediaems.com> Message-ID: <20031210233819.GA5598@bill.heins.net> Quoting Ed LaFrance (edl@newmediaems.com): > At 04:58 PM 12/10/2003 -0500, you wrote: > >Hi, > > > >I am in the process of investigating Interchange for by clients. So far, > >the process has gone relatively smoothly but I have encountered a problem > >updating the status on a pending order. Specifically, the action is denied > >and I am redirected to the admin login page. The error logs indicate that > >I have "attempted database update without permission, table=transactions". > > > >I am running an "out of the box" install using the default "foundation" > >store and DBM files. > > > >I have checked the actual file system permissions and they are fine. I > >have poked around the icdevgroup site and google and the last ~3 months > >list archives but have been unable to find anything that might help > >explain what's going on. > > > >When the program is complaining about permissions, is it complaining about > >file-system permissions or it's own internal table of allowable actions > >for a user? (I am logged in a the site admin/super user.) > > That message would suggest a problem with logical permissions within the > UI, not file system permissions. > Also, if you are using DBM you are set up for problems. We now require SQL for catalogs if you are going to use the Admin UI. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Some people have twenty years of experience, some people have one year of experience twenty times over. -- Anonymous From mike at perusion.com Wed Dec 10 18:48:43 2003 From: mike at perusion.com (Mike Heins) Date: Wed Dec 10 18:48:56 2003 Subject: Out of Office AutoReply: [ic] [permissions] who is on first? In-Reply-To: <03FAD7796512D411BE0E00A0CC5A64100147A4D7@PLUTO> References: <03FAD7796512D411BE0E00A0CC5A64100147A4D7@PLUTO> Message-ID: <20031210234843.GB5680@bill.heins.net> Quoting Don Johnson (djohnson@horizon.sk.ca): > Hello, > > Thank you for your e-mail. I am out of the office delivering training > sessions on the following days: December 10, 11, 16, 17 and 18. > > You may call me on my cell at 221-1110 and leave a message, which I will > return during a break or noon hour. > > > > In the event of an emergency please contact the office @ 306.665.5666 and > ask to be either redirected to sales, service or a manager as required. > Hi, Please get an autoresponder that was not written by a clueless newbie. It should never reply to Priority: list, Priority: bulk, or Priority: junk email. Regards, -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Prove you aren't stupid. Say NO to Passport. From jon at endpoint.com Wed Dec 10 22:27:36 2003 From: jon at endpoint.com (Jon Jensen) Date: Wed Dec 10 22:27:51 2003 Subject: [ic] Interchange 5.0.0 release candidate 2 Message-ID: Fellow Interchange users, Interchange 5.0 is close at hand. The second release candidate is now available, and we ask you to please take a few minutes to test this so that the 5.0 final release will be as bug-free as possible. The tarball and RPMs are here: http://ftp.icdevgroup.org/interchange/5.0-rc2/ Please read the read-me-rpm file before downloading any RPMs. Due to vendors shipping threaded Perls, it's a little more complicated now to use the RPMs. You can always build your own with the src RPM, of course. The read-me-rpm file explains things. Debian packages are here: http://ftp.icdevgroup.org/interchange/debian/5.0.0-rc2/ We'd like to get any test reports back by Thursday night or Friday morning if possible, in anticipation of a Monday release. Thanks, Jon From gabi at jpostmail.com Thu Dec 11 08:30:26 2003 From: gabi at jpostmail.com (Gabi) Date: Thu Dec 11 08:30:47 2003 Subject: [ic] Two interchange version possible ? Message-ID: <20031211133026.GA13848@ie.jpost.com> Hi All . I'm sucessfully running 4.8.3 interchange version on Debian Woody ,installed from packages . And I whould like to test release candidate . Does it possible to run on same box second version of interchange (on spare domain and demo store supplyed with it of couse ) ? Thanks , Gabi . From interchange-users at hertell.com Thu Dec 11 09:55:33 2003 From: interchange-users at hertell.com (Rene Hertell) Date: Thu Dec 11 09:55:39 2003 Subject: [ic] Two interchange version possible ? In-Reply-To: <20031211133026.GA13848@ie.jpost.com> Message-ID: > Hi All . > > > I'm sucessfully running 4.8.3 interchange version on Debian Woody > ,installed from packages . > > And I whould like to test release candidate . > Does it possible to run on same box second version of interchange > (on spare domain and demo store supplyed with it of couse ) ? Just install the new release in an other directory, and run it from there. When you create a new catalog with the release candidate, then make sure that you don't replace your other installations by e.g. using same name for catalog. Rene From sandy at scotwebshops.com Thu Dec 11 13:02:21 2003 From: sandy at scotwebshops.com (Sandy Thomson) Date: Thu Dec 11 13:01:43 2003 Subject: [ic] Protx Payment Module Authentication In-Reply-To: References: Message-ID: <3FD8B12D.3020106@scotwebshops.com> Hi all, I have been trying to get protx set up and configured with our customised version of interchange. Currently, I am at the stage of working out what everything does, and trying to get a transaction completed through the protx vsp test server. One of the major things I am unclear about is authentication. I have read the Protx site and module documentation over and over and over, but nothing is mentioned about this. I assume due to the requirement of the SSL module, it uses this in some shape or form. I have orders going into the transaction table ok, and the following relevant lines in my catalog.cfg file: Route protx < I've been trying to set my shipping options to offer only a few of the shipping methods, I searched the list and google in general, I read the help pages and they say "Select one of the currently existing shipping methods from the list and click "edit method" to change its name, enable or disable it". For the life of me there is no "box" in my control panel by "enable this method" as described in the docs. I found one other message stating the same during my searches but no answer to the question. Please help. BTW: Not afraid of shell and/or editing text files and/or manually going into MySql through shell, where are those settings stored? TIA Rick From lyn at zolotek.net Thu Dec 11 17:02:16 2003 From: lyn at zolotek.net (Lyn St George) Date: Thu Dec 11 17:02:10 2003 Subject: [ic] Protx Payment Module Authentication Message-ID: On Thu, 11 Dec 2003 18:02:21 +0000, Sandy Thomson wrote: >Hi all, >I have been trying to get protx set up and configured with our >customised version of interchange. >Currently, I am at the stage of working out what everything does, and >trying to get a transaction completed through the protx vsp test server. > >One of the major things I am unclear about is authentication. I have >read the Protx site and module documentation over and over and over, but >nothing is mentioned about this. >I assume due to the requirement of the SSL module, it uses this in some >shape or form. Protx authenticate you by your IP address, plus user id. >I have orders going into the transaction table ok, and the following >relevant lines in my catalog.cfg file: > >Route protx < id our_id > host the_protx_host.co.uk > attach 1 > report etc/report > currency GBP > txtype PAYMENT >EOR > >Route default cascade "newmain sales_log new_sales_log copy_user log protx" > > >I also have the correct 'Require module' line at the top of the file, >and have totally culled the admin stuff from interchange. >Any hints on starting the transaction process would be greatly >appreciated :-) Starting with basics: the 'require' line is in interchange.cfg (not catalog.cfg), MV_PAYMENT_MODE is set to Protx in variable.txt, and you did restart Interchange ("apply changes") after adding these? >Cheers. > >Sandy Thomson. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +---------------------------------------------------------------------------------- From asc at vineyard.net Thu Dec 11 17:19:08 2003 From: asc at vineyard.net (Aaron Straup Cope) Date: Thu Dec 11 17:26:10 2003 Subject: [Fwd: Re: [ic] [permissions] who is on first?] Message-ID: <3FD8ED5C.3040102@vineyard.net> Apologies if this message is arriving for a second time. My email client is wigging out and I'm not sure it was ever really sent the first time... :-( -------- Original Message -------- Subject: Re: [ic] [permissions] who is on first? Date: Thu, 11 Dec 2003 14:37:22 -0500 From: Aaron Straup Cope Reply-To: asc@vineyard.net To: interchange-users@icdevgroup.org References: <3FD79712.7040304@vineyard.net> <5.2.1.1.0.20031210150259.02fd00d8@mail.newmediaems.com> <20031210233819.GA5598@bill.heins.net> Mike Heins wrote: >>>When the program is complaining about permissions, is it complaining about >>>file-system permissions or it's own internal table of allowable actions >>>for a user? (I am logged in a the site admin/super user.) >> >>That message would suggest a problem with logical permissions within the >>UI, not file system permissions. >> > > > Also, if you are using DBM you are set up for problems. We now > require SQL for catalogs if you are going to use the Admin UI. ---- Thanks all for the speedy responses. Sadly, I am unable to "fix" the problem despite : * moving everything over to MySQL (...Using MySQL, DSN=...done.) * giving the user in question complete access over everything via the 'Edit Permissions' UI interface - specifically : view, edit, create and delete (but not HIDE) permissions on all the tables listed. (I made sure to "apply changes".) And yet when I try to change the status on an order, I get redirected to the login page and Interchange has forgotten who I am. Could it a cookie thing? I'm using Mozilla/Firebird set to alert me whenever a new cookie is set and I'm not seeing anything. I tried to gleen something by looking at the actual HTTP headers (included below) but I didn't suggest an obvious solution to me. Any suggestions on where to look next, or where to start adding gratuitous "print STDERR" statements would be much appreciated. Thanks, ---- # The program is being run through cgiwrap with a set up rewrite [PT] # directives to hide the ugly URLs # Trying to update status on an item POST /aaronstore/ui.html?id=5tZsWd8H HTTP/1.1 Content-Type: application/x-www-form-urlencoded Content-Length: 333 mv_doit=set&mv_click=process_filter&mv_nextpage=admin%2Forder_view&code=TEST0003&mv_data_table=transactions&ui_meta_specific=&mv_data_key=code&mv_update_empty=1&mv_data_fields=code+status+archived+deleted&status=&status=shipped&ui_filter%3Astatus=nullselect&deleted=0&archived=0&lines_shipped=TEST0003-1&mv_click=Change+global+status HTTP/1.x 302 moved Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrap/asc/aaronstore; Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrap/asc/aaronstore; Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrapd/asc/aaronstore; Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrapd/asc/aaronstore; Location: /aaronstore/admin/login?mv_session_id=FLXbbsI9&mv_pc=1&destination=admin%2forder_view # Login page GET /aaronstore/admin/login?mv_session_id=FLXbbsI9&mv_pc=1&destination=admin%2forder_view HTTP/1.1 X-Track: SESSION=FLXbbsI9&VIEWPAGE=admin/login Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrap/asc/aaronstore; Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrap/asc/aaronstore; Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrapd/asc/aaronstore; Set-Cookie: MV_SESSION_ID=FLXbbsI9:127.0.0.1; path=/cgi-bin/cgiwrapd/asc/aaronstore; From prtyof5 at attglobal.net Fri Dec 12 01:59:21 2003 From: prtyof5 at attglobal.net (Jon) Date: Fri Dec 12 01:59:58 2003 Subject: [ic] Full Cart Loses Security Message-ID: <3FD96749.ECA28AEF@attglobal.net> Using fairly vanilla IC 4.9.3 Static IP for single domain and SSL. With the cart empty there doesn't appear to be any session issues. With anything in the cart when the user goes to the checkout page the browser lock icon appears and then quickly disappears. Anyone else experienced that ? Jon From mnow at speednetllc.com Fri Dec 12 02:25:09 2003 From: mnow at speednetllc.com (mnow) Date: Fri Dec 12 02:23:25 2003 Subject: [ic] 404 on Admin page Message-ID: <000201c3c081$1951a0c0$4f02a8c0@Workgroup> Just installed 4.9.9 and Foundation on RH9.0. Did a Makecat to set up a new store which worked OK for a few days and on day 3, I am unable to access the Admin page to try and reset the Foundation to the new site. I can still access the new (Foundation) site but get a 404 error when trying to get to the Admin page. Any thoughts for this problem? Thanks, Mark From allmanj at houseofireland.com Fri Dec 12 06:32:42 2003 From: allmanj at houseofireland.com (John Allman) Date: Fri Dec 12 06:21:45 2003 Subject: [ic] sending mail in interchange 4.6.5 Message-ID: <3FD9A75A.6050909@houseofireland.com> Hi - i'm attempting to send a mail to us when a user accesses a particular page (the end of a sign up process (for a new feature on the site)) but, after much rummaging i've found that the [mail] tag does not seem to exist in ic 4.6.5. Unfortunately there is a good reason why i cannot upgrade (it is on my to do list though). I can't find documentation on how to do this in earlier versions of interchange. Looking about the source has led me to believe i might be able to use Vend::Order::send_mail? Can anyone show me how i could do this? When i try calling it from a perl block i get Undefined subroutine in the error log. thanks John Allman From racke at linuxia.de Fri Dec 12 06:39:35 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 12 06:39:36 2003 Subject: [ic] sending mail in interchange 4.6.5 In-Reply-To: <3FD9A75A.6050909@houseofireland.com> References: <3FD9A75A.6050909@houseofireland.com> Message-ID: <20031212123935.3cdadca8.racke@linuxia.de> On Fri, 12 Dec 2003 11:32:42 +0000 John Allman wrote: > Hi - i'm attempting to send a mail to us when a user accesses a > particular page (the end of a sign up process (for a new feature on the > site)) but, after much rummaging i've found that the [mail] tag does not > seem to exist in ic 4.6.5. Unfortunately there is a good reason why i > cannot upgrade (it is on my to do list though). > > I can't find documentation on how to do this in earlier versions of > interchange. Looking about the source has led me to believe i might be > able to use Vend::Order::send_mail? Can anyone show me how i could do > this? When i try calling it from a perl block i get Undefined subroutine > in the error log. Have you tried to use the email usertag from IC 4.8 ? This should work, at least with some minor modifications. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From allmanj at houseofireland.com Fri Dec 12 07:43:51 2003 From: allmanj at houseofireland.com (John Allman) Date: Fri Dec 12 07:32:53 2003 Subject: [ic] sending mail in interchange 4.6.5 In-Reply-To: <20031212123935.3cdadca8.racke@linuxia.de> References: <3FD9A75A.6050909@houseofireland.com> <20031212123935.3cdadca8.racke@linuxia.de> Message-ID: <3FD9B807.80909@houseofireland.com> Stefan Hornburg wrote: >Have you tried to use the email usertag from IC 4.8 ? This should work, >at least with some minor modifications. > >Bye > Racke > > > > actually - there appears to be an email usertag in 4.6.5 which i hadn't noticed. am attempting to use this now... It's almost working. But something appears to be stripping the domain part of the email address out. allmanj@houseofireland.com becomes allmanj.com. Any idea what's causing this and how to fix it? thanks John Allman From allmanj at houseofireland.com Fri Dec 12 07:52:45 2003 From: allmanj at houseofireland.com (John Allman) Date: Fri Dec 12 07:41:46 2003 Subject: [ic] sending mail in interchange 4.6.5 In-Reply-To: <3FD9B807.80909@houseofireland.com> References: <3FD9A75A.6050909@houseofireland.com> <20031212123935.3cdadca8.racke@linuxia.de> <3FD9B807.80909@houseofireland.com> Message-ID: <3FD9BA1D.5070908@houseofireland.com> John Allman wrote: > Stefan Hornburg wrote: > >> Have you tried to use the email usertag from IC 4.8 ? This should work, >> at least with some minor modifications. >> >> Bye >> Racke >> > actually - there appears to be an email usertag in 4.6.5 which i > hadn't noticed. am attempting to use this now... > > It's almost working. But something appears to be stripping the domain > part of the email address out. allmanj@houseofireland.com becomes > allmanj.com. Any idea what's causing this and how to fix it? actually - escaping the @ symbol fixes it. All working now. Much thanks John Allman From DB at M-and-D.com Fri Dec 12 08:04:58 2003 From: DB at M-and-D.com (DB) Date: Fri Dec 12 08:05:01 2003 Subject: [ic] Full Cart Loses Security Message-ID: <3FD9BCFA.2060105@M-and-D.com> > Using fairly vanilla IC 4.9.3 > Static IP for single domain and SSL. > > With the cart empty there doesn't appear to be any session issues. > With anything in the cart when the user goes to the checkout page > the browser lock icon appears and then quickly disappears. > Anyone else experienced that ? > > Jon Maybe one of the images or scripts on the page is called with a nonsecure URL? It is best to use relative links if you can. I'd have to see the page to really know. DB From pshempel at linuxhardcore.com Fri Dec 12 08:51:55 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Fri Dec 12 08:52:08 2003 Subject: [ic] Images and the Admin UI Message-ID: <1071237115.15299.30.camel@starfire> I am using 5.0 pre cvs Non-threaded perl 5.8.1 Here is my dilemma, we have a number of products that use the same image. Problem we have is in 4.9/5.0 the UI has changed in some way that allows an upload of zero bit file essentially overwriting the original file or zeroing out the file. What we do to cause this is to upload the image into one item, then edit additional items placing the same image name into the image of the other products that use it. Is there some way to remedy this? It really would be nice to tell the UI at least not to attempt an upload for the image and to use an existing image. The only way I have been able to keep this from happening for our store is to change the files ownership to root:root or something other than the stores user. I know that I can change the UI in some way to work like the UI did in the 4.6 era for our system alone, but I don't think I am the only one that would run into this same difficulty. The function something like selecting use existing image: yes no if yes offer image choices from the server or input filename, if not that at least allow entering a filename that would not place a post into the request. if no allow upload choices This would then help to get rid of that empty post that occurs when changing the image name, as long as the person who edits the product remembers to choose the correct option. Thanks and any suggestions are welcome. Philip S. Hempel From pshempel at linuxhardcore.com Fri Dec 12 08:53:38 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Fri Dec 12 08:53:49 2003 Subject: [ic] 404 on Admin page In-Reply-To: <000201c3c081$1951a0c0$4f02a8c0@Workgroup> References: <000201c3c081$1951a0c0$4f02a8c0@Workgroup> Message-ID: <1071237217.15299.32.camel@starfire> On Fri, 2003-12-12 at 02:25, mnow wrote: > Just installed 4.9.9 and Foundation on RH9.0. > Did a Makecat to set up a new store which worked OK > for a few days and on day 3, I am unable to access the Admin > page to try and reset the Foundation to the new site. > I can still access the new (Foundation) site but get a 404 error > when trying to get to the Admin page. > > Any thoughts for this problem? SSL? > > Thanks, > Mark > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- Philip S. Hempel Network, Systems, Security Cell (269) 208-2665 Administrator Home (269) 461-3214 in UNIX, LINUX, Microsoft http://linuxhardcore.com/ for more than 10 years From tverhagen at alamerce.nl Fri Dec 12 09:09:33 2003 From: tverhagen at alamerce.nl (Ton Verhagen) Date: Fri Dec 12 09:09:49 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <1071237115.15299.30.camel@starfire> Message-ID: <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> Quoting Philip S. Hempel" : >I am using 5.0 pre cvs >Non-threaded perl 5.8.1 > >Here is my dilemma, we have a number of products that use the same >image. > >Problem we have is in 4.9/5.0 the UI has changed in some way that allows >an upload of zero bit file essentially overwriting the original file or >zeroing out the file. > >What we do to cause this is to upload the image into one item, then edit >additional items placing the same image name into the image of the other >products that use it. > >Is there some way to remedy this? It really would be nice to tell the UI >at least not to attempt an upload for the image and to use an existing >image. > >The only way I have been able to keep this from happening for our store >is to change the files ownership to root:root or something other than >the stores user. > >I know that I can change the UI in some way to work like the UI did in >the 4.6 era for our system alone, but I don't think I am the only one >that would run into this same difficulty. > >The function something like selecting > >use existing image: yes no > >if yes offer image choices from the server or input filename, if not >that at least allow entering a filename that would not place a post into >the request. > >if no allow upload choices > >This would then help to get rid of that empty post that occurs when >changing the image name, as long as the person who edits the product >remembers to choose the correct option. > >Thanks and any suggestions are welcome. Dear Philip, As you probably know, one can do almost anything with Interchange. You can achieve what you want by the following: 1. Click the meta link aof the image field 2. Go to tab 'Advanced' 3. Add /* to the path in the 'Directory' field (e.g. change images/items to images/items/*) 4. Click OK Now you will have a pull down box containing the existing images show up on your form. Good luck ! Best regards, Ton -- Alamerce Nederland --- Cornerstone of eBusiness Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl eCommerce Solutions -- Consulting -- Website & Interchange Hosting From andrew at mapsdownunder.com.au Fri Dec 12 09:57:44 2003 From: andrew at mapsdownunder.com.au (Andrew Rich) Date: Fri Dec 12 09:36:36 2003 Subject: [ic] Mike's demo - Product Tree not working IE5.0 Message-ID: Hi All Just wondering if anyone would know why Mike's demo (5) Product Tree wouldn't show on early MS IE 5.0 (40 bit). Is ok in IE 6. URL is www.itdownunder.com.au This was not in SSL either. Is it a style sheet issue? I was looking at building a new site based on this demo (my foundation sites a working ok). Regards _______________________________________ Andrew Rich Maps Downunder From prtyof5 at attglobal.net Fri Dec 12 10:06:57 2003 From: prtyof5 at attglobal.net (Jon) Date: Fri Dec 12 10:07:36 2003 Subject: [ic] Full Cart Loses Security References: <3FD9BCFA.2060105@M-and-D.com> Message-ID: <3FD9D991.E36E7924@attglobal.net> > > Using fairly vanilla IC 4.9.3 > > Static IP for single domain and SSL. > > > > With the cart empty there doesn't appear to be any session issues. > > With anything in the cart when the user goes to the checkout page > > the browser lock icon appears and then quickly disappears. > > Anyone else experienced that ? > > > > Jon > > Maybe one of the images or scripts on the page is called with a > nonsecure URL? It is best to use relative links if you can. I'd have to > see the page to really know. > > DB > Very good DB !! I had trouble some time back with button tag images and did something so the button tag could find the image. Otherwise it would always default to the specified text. So when I removed the src= line the problem seems solved. One other interesting part I noticed this morning is that the losing of the security indicator was not a problem with NetScape only IE. Now I need to figure out why the button tag can't find my images. Again though... that bit of information you provided sent me right to the problem !! Thank again !!!! Jon From pshempel at linuxhardcore.com Fri Dec 12 10:14:44 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Fri Dec 12 10:14:57 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> References: <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> Message-ID: <1071242083.5826.3.camel@starfire> On Fri, 2003-12-12 at 09:09, Ton Verhagen wrote: > Quoting Philip S. Hempel" : > >I am using 5.0 pre cvs > >Non-threaded perl 5.8.1 > > > >Here is my dilemma, we have a number of products that use the same > >image. > > > >Problem we have is in 4.9/5.0 the UI has changed in some way that allows > >an upload of zero bit file essentially overwriting the original file or > >zeroing out the file. > > > >What we do to cause this is to upload the image into one item, then edit > >additional items placing the same image name into the image of the other > >products that use it. > > > >Is there some way to remedy this? It really would be nice to tell the UI > >at least not to attempt an upload for the image and to use an existing > >image. > > > >The only way I have been able to keep this from happening for our store > >is to change the files ownership to root:root or something other than > >the stores user. > > > >I know that I can change the UI in some way to work like the UI did in > >the 4.6 era for our system alone, but I don't think I am the only one > >that would run into this same difficulty. > > > >The function something like selecting > > > >use existing image: yes no > > > >if yes offer image choices from the server or input filename, if not > >that at least allow entering a filename that would not place a post into > >the request. > > > >if no allow upload choices > > > >This would then help to get rid of that empty post that occurs when > >changing the image name, as long as the person who edits the product > >remembers to choose the correct option. > > > >Thanks and any suggestions are welcome. > > Dear Philip, > > As you probably know, one can do almost anything with Interchange. > > You can achieve what you want by the following: > > 1. Click the meta link aof the image field > 2. Go to tab 'Advanced' > 3. Add /* to the path in the 'Directory' field (e.g. change images/items to > images/items/*) > 4. Click OK > But to do this in every store I work with or put up is a pain in the rear. The point I wanted to make is that I believe I am not the only one to have seen this happen and or try doing what I have done. The present functionality of the product images upload is just that, an upload function and does not allow you to modify without upload. > Now you will have a pull down box containing the existing > images show up on your form. > > Good luck ! > > > Best regards, > > Ton > > -- > Alamerce Nederland --- Cornerstone of eBusiness > Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl > > eCommerce Solutions -- Consulting -- Website & Interchange Hosting > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- Philip S. Hempel Network, Systems, Security Cell (269) 208-2665 Administrator Home (269) 461-3214 in UNIX, LINUX, Microsoft http://linuxhardcore.com/ for more than 10 years From interchange at tssphoto.com Fri Dec 12 10:47:34 2003 From: interchange at tssphoto.com (Chris Bair) Date: Fri Dec 12 10:48:20 2003 Subject: [ic] Errors when trying to use state for shipping selection Message-ID: I'm running into some errors when I try to restrict different shipping modes based on the sate. I have the different shipping modes in the shipmode column in the state table using spaces to separate them, just like you do in the country table. The error I'm getting looks like this: Runtime error: Can't locate object method "single" via package "Vend::Table::GDBM" (perhaps you forgot to load "Vend::Table::GDBM"?) at /home/inkjet/interchange/lib/Vend/Ship.pm line 429. and the code for the shipping selection looks like this: although I have also tried: I started out on IC 4.8.7, tried it on 4.9.9 and my current test server is running 5.0.0 RC2 just for kicks and giggles. I even grabbed the current Bundle:Interchange and the kitchensink just in case. Has anyone out there been able to get this working or is it just a broken feature that isn't ready for use yet? From mike at perusion.com Fri Dec 12 11:08:01 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 12 11:08:17 2003 Subject: [ic] Mike's demo - Product Tree not working IE5.0 In-Reply-To: References: Message-ID: <20031212160801.GA26244@bill.heins.net> Quoting Andrew Rich (andrew@mapsdownunder.com.au): > Hi All > > Just wondering if anyone would know why Mike's demo (5) Product Tree > wouldn't show on early MS IE 5.0 (40 bit). > > Is ok in IE 6. > > URL is www.itdownunder.com.au > > This was not in SSL either. > > Is it a style sheet issue? > > I was looking at building a new site based on this demo (my foundation sites > a working ok). MSIE 5.0's CSS is not up to snuff, and I guess our default browser recognition string thinks it is. If you set this in the catalog.cfg: Variable MV_DHTML_BROWSER MSIE\s+5.5.*Windows|MSIE\s+[67]\.|Gecko it should send those to the old tree. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 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 frank at goldissue.com Fri Dec 12 11:22:48 2003 From: frank at goldissue.com (frank) Date: Fri Dec 12 11:17:56 2003 Subject: [ic] item image upload fails (msie) on two machines Message-ID: <3FD9EB58.6040506@goldissue.com> Hi, I have a customer who is having trouble uploading images (items) through the user interface (win 98 msie). On one occasion I was with him, and images (jpegs) produced by photoshop would not upload, while images downloaded from images.google.com would upload. Often an error would appear on the browser (page not found). I have checked the apache logfile and no images have been posted by my client in 4 days, whereas he claims to have tried. Also he has emailed me the pics which did not upload. I renamed them and uploaded them from linux ok. Now he is having trouble uploading from msie win XP at home. Anyone have any ideas? Frank Reitzenstein. From frank at goldissue.com Fri Dec 12 11:31:58 2003 From: frank at goldissue.com (frank) Date: Fri Dec 12 11:27:04 2003 Subject: [ic] item image upload fails (msie) on two machines In-Reply-To: <3FD9EB58.6040506@goldissue.com> References: <3FD9EB58.6040506@goldissue.com> Message-ID: <3FD9ED7E.4030604@goldissue.com> That's IC4.9.9 frank wrote: > Hi, > > I have a customer who is having trouble uploading images (items) > through the user interface (win 98 msie). > > On one occasion I was with him, and images (jpegs) produced by > photoshop would not upload, while images downloaded from > images.google.com would upload. > > Often an error would appear on the browser (page not found). > > I have checked the apache logfile and no images have been posted by my > client in 4 days, whereas he claims to have tried. > > Also he has emailed me the pics which did not upload. I renamed them > and uploaded them from linux ok. > > Now he is having trouble uploading from msie win XP at home. > > Anyone have any ideas? > > Frank Reitzenstein. > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From jerry at digitalfm.com Fri Dec 12 11:27:13 2003 From: jerry at digitalfm.com (Jerry) Date: Fri Dec 12 11:28:51 2003 Subject: [ic] item image upload fails (msie) on two machines In-Reply-To: <3FD9EB58.6040506@goldissue.com> Message-ID: > From: interchange-users-bounces@icdevgroup.org > [mailto:interchange-users-bounces@icdevgroup.org]On Behalf Of frank > Sent: Friday, December 12, 2003 11:23 AM > To: interchange-users@icdevgroup.org; serventy@ami.com.au > Subject: [ic] item image upload fails (msie) on two machines > > > Hi, > > I have a customer who is having trouble uploading images (items) through > the user interface (win 98 msie). > > On one occasion I was with him, and images (jpegs) produced by photoshop > would not upload, while images downloaded from images.google.com would > upload. > > Often an error would appear on the browser (page not found). > > I have checked the apache logfile and no images have been posted by my > client in 4 days, whereas he claims to have tried. > > Also he has emailed me the pics which did not upload. I renamed them and > uploaded them from linux ok. > > Now he is having trouble uploading from msie win XP at home. > > Anyone have any ideas? > > Frank Reitzenstein. You renamed them and they uploaded ok? Maybe something like spaces in the file names? The file upload facilities don't deal with that too well. I've seen it cause problems before. Jerry From frank at goldissue.com Fri Dec 12 11:35:36 2003 From: frank at goldissue.com (frank) Date: Fri Dec 12 11:30:40 2003 Subject: [ic] item image upload fails (msie) on two machines In-Reply-To: <3FD9EB58.6040506@goldissue.com> References: <3FD9EB58.6040506@goldissue.com> Message-ID: <3FD9EE58.1030109@goldissue.com> > Hi, > > I have a customer who is having trouble uploading images (items) > through the user interface (win 98 msie). > > On one occasion I was with him, and images (jpegs) produced by > photoshop would not upload, while images downloaded from > images.google.com would upload. > > Often an error would appear on the browser (page not found). > > I have checked the apache logfile and no images have been posted by my > client in 4 days, whereas he claims to have tried. > > Also he has emailed me the pics which did not upload. I renamed them > and uploaded them from linux ok. > > Now he is having trouble uploading from msie win XP at home. > > Anyone have any ideas? > > Frank Reitzenstein. > Interchange version is 4.9.9 and he now tells me that the problem occurs while trying to overwrite images. From mike at perusion.com Fri Dec 12 11:31:19 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 12 11:31:24 2003 Subject: [ic] Errors when trying to use state for shipping selection In-Reply-To: References: Message-ID: <20031212163119.GA26459@bill.heins.net> Quoting Chris Bair (interchange@tssphoto.com): > I'm running into some errors when I try to restrict different > shipping modes based on the sate. I have the different shipping modes > in the shipmode column in the state table using spaces to separate > them, just like you do in the country table. The error I'm getting > looks like this: > > Runtime error: Can't locate object method "single" via package > "Vend::Table::GDBM" (perhaps you forgot to load "Vend::Table::GDBM"?) > at /home/inkjet/interchange/lib/Vend/Ship.pm line 429. > > and the code for the shipping selection looks like this: > > > > although I have also tried: > > > > I started out on IC 4.8.7, tried it on 4.9.9 and my current test > server is running 5.0.0 RC2 just for kicks and giggles. I even > grabbed the current Bundle:Interchange and the kitchensink just in > case. > > Has anyone out there been able to get this working or is it just a > broken feature that isn't ready for use yet? You want SQL tables to do this, I think. As the number of GDBM users dwindles, things are not often fully tested using that table type. Any tag which uses SQL queries (as that one does). I think we have to start putting a "requires SQL" in some cases. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From frank at goldissue.com Fri Dec 12 11:43:44 2003 From: frank at goldissue.com (frank) Date: Fri Dec 12 11:38:46 2003 Subject: [ic] item image upload fails (msie) on two machines In-Reply-To: References: Message-ID: <3FD9F040.3010005@goldissue.com> Jerry wrote: >>From: interchange-users-bounces@icdevgroup.org >>[mailto:interchange-users-bounces@icdevgroup.org]On Behalf Of frank >>Sent: Friday, December 12, 2003 11:23 AM >>To: interchange-users@icdevgroup.org; serventy@ami.com.au >>Subject: [ic] item image upload fails (msie) on two machines >> >> >>Hi, >> >>I have a customer who is having trouble uploading images (items) through >>the user interface (win 98 msie). >> >>On one occasion I was with him, and images (jpegs) produced by photoshop >>would not upload, while images downloaded from images.google.com would >>upload. >> >>Often an error would appear on the browser (page not found). >> >>I have checked the apache logfile and no images have been posted by my >>client in 4 days, whereas he claims to have tried. >> >>Also he has emailed me the pics which did not upload. I renamed them and >>uploaded them from linux ok. >> >>Now he is having trouble uploading from msie win XP at home. >> >>Anyone have any ideas? >> >>Frank Reitzenstein. >> >> > >You renamed them and they uploaded ok? >Maybe something like spaces in the file names? >The file upload facilities don't deal with that >too well. I've seen it cause problems before. > >Jerry > I have not seen evidence that renaming fixed the problem. Mozilla on Linux is OK but we had problems on two versions of msie. It is only on overwriting now apparently. > > From edl at newmediaems.com Fri Dec 12 11:55:58 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Fri Dec 12 11:52:07 2003 Subject: [ic] Errors when trying to use state for shipping selection In-Reply-To: Message-ID: <5.2.1.1.0.20031212085258.02e12030@mail.newmediaems.com> At 08:47 AM 12/12/2003 -0700, you wrote: >I'm running into some errors when I try to restrict different shipping >modes based on the sate. I have the different shipping modes in the >shipmode column in the state table using spaces to separate them, just >like you do in the country table. The error I'm getting looks like this: > >Runtime error: Can't locate object method "single" via package >"Vend::Table::GDBM" (perhaps you forgot to load "Vend::Table::GDBM"?) at >/home/inkjet/interchange/lib/Vend/Ship.pm line 429. > >and the code for the shipping selection looks like this: > > > >although I have also tried: > > > >I started out on IC 4.8.7, tried it on 4.9.9 and my current test server is >running 5.0.0 RC2 just for kicks and giggles. I even grabbed the current >Bundle:Interchange and the kitchensink just in case. > >Has anyone out there been able to get this working or is it just a broken >feature that isn't ready for use yet? This could have something to do with your Perl or database setup. Are you using the internal db or an external one (such as MySQL) for the state table (i.e. do you have state.sql or state.gdbm in your products/ dir)? Are you saying the shipping selector on the checkout page is empty? Does it work with the country table (which is the default setup)? - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From tverhagen at alamerce.nl Fri Dec 12 12:04:24 2003 From: tverhagen at alamerce.nl (Ton Verhagen) Date: Fri Dec 12 12:04:35 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <1071242083.5826.3.camel@starfire> References: <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> Message-ID: <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> Quoting Philip S. Hempel" : >On Fri, 2003-12-12 at 09:09, Ton Verhagen wrote: > > Quoting Philip S. Hempel" : >[snip] > > >use existing image: yes no > > > > > >if yes offer image choices from the server or input filename, if not > > >that at least allow entering a filename that would not place a post into > > >the request. > > > > > >if no allow upload choices > > > > > >This would then help to get rid of that empty post that occurs when > > >changing the image name, as long as the person who edits the product > > >remembers to choose the correct option. > > > > > >Thanks and any suggestions are welcome. > > > > Dear Philip, > > > > As you probably know, one can do almost anything with Interchange. > > > > You can achieve what you want by the following: > > > > 1. Click the meta link aof the image field > > 2. Go to tab 'Advanced' > > 3. Add /* to the path in the 'Directory' field (e.g. change > images/items to > > images/items/*) > > 4. Click OK > > > >But to do this in every store I work with or put up is a pain in the >rear. The point I wanted to make is that I believe I am not the only one >to have seen this happen and or try doing what I have done. Well, you could set the mv_metadata for those product fields in the template of course. >The present functionality of the product images upload is just that, an >upload function and does not allow you to modify without upload. Best regards, Ton -- Alamerce Nederland --- Cornerstone of eBusiness Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl eCommerce Solutions -- Consulting -- Website & Interchange Hosting From mike at perusion.com Fri Dec 12 12:45:30 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 12 12:45:40 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <1071237115.15299.30.camel@starfire> References: <1071237115.15299.30.camel@starfire> Message-ID: <20031212174530.GA27803@bill.heins.net> Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > I am using 5.0 pre cvs > Non-threaded perl 5.8.1 > > Here is my dilemma, we have a number of products that use the same > image. > > Problem we have is in 4.9/5.0 the UI has changed in some way that allows > an upload of zero bit file essentially overwriting the original file or > zeroing out the file. > > What we do to cause this is to upload the image into one item, then edit > additional items placing the same image name into the image of the other > products that use it. Then you need to use a different widget than the imagehelper widget. The box you are typing into is not a text box, it is a file element. It is designed to upload a file, not input text info into the database. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 How far can you open your mind before your brains fall out? From interchange at tssphoto.com Fri Dec 12 14:28:03 2003 From: interchange at tssphoto.com (Chris Bair) Date: Fri Dec 12 14:29:50 2003 Subject: [ic] Errors when trying to use state for shipping selection In-Reply-To: <5.2.1.1.0.20031212085258.02e12030@mail.newmediaems.com> References: <5.2.1.1.0.20031212085258.02e12030@mail.newmediaems.com> Message-ID: >At 08:47 AM 12/12/2003 -0700, you wrote: >>I'm running into some errors when I try to restrict different >>shipping modes based on the sate. I have the different shipping >>modes in the shipmode column in the state table using spaces to >>separate them, just like you do in the country table. The error I'm >>getting looks like this: >> >>Runtime error: Can't locate object method "single" via package >>"Vend::Table::GDBM" (perhaps you forgot to load >>"Vend::Table::GDBM"?) at /home/inkjet/interchange/lib/Vend/Ship.pm >>line 429. >> >>and the code for the shipping selection looks like this: >> >> >> >>although I have also tried: >> >> >> >>I started out on IC 4.8.7, tried it on 4.9.9 and my current test >>server is running 5.0.0 RC2 just for kicks and giggles. I even >>grabbed the current Bundle:Interchange and the kitchensink just in >>case. >> >>Has anyone out there been able to get this working or is it just a >>broken feature that isn't ready for use yet? > >This could have something to do with your Perl or database setup. >Are you using the internal db or an external one (such as MySQL) for >the state table (i.e. do you have state.sql or state.gdbm in your >products/ dir)? Are you saying the shipping selector on the checkout >page is empty? Does it work with the country table (which is the >default setup)? > >- Ed Using the GDBM. It works great with the country table. Looks like I'm going to try out using MySQL. I've been meaning to do that anyway for the possible performance gains, this should prove interesting. From interchange at tssphoto.com Fri Dec 12 14:30:46 2003 From: interchange at tssphoto.com (Chris Bair) Date: Fri Dec 12 14:31:44 2003 Subject: [ic] Errors when trying to use state for shipping selection In-Reply-To: <20031212163119.GA26459@bill.heins.net> References: <20031212163119.GA26459@bill.heins.net> Message-ID: >Quoting Chris Bair (interchange@tssphoto.com): >> I'm running into some errors when I try to restrict different >> shipping modes based on the sate. I have the different shipping modes >> in the shipmode column in the state table using spaces to separate >> them, just like you do in the country table. The error I'm getting >> looks like this: >> >> Runtime error: Can't locate object method "single" via package >> "Vend::Table::GDBM" (perhaps you forgot to load "Vend::Table::GDBM"?) >> at /home/inkjet/interchange/lib/Vend/Ship.pm line 429. >> >> and the code for the shipping selection looks like this: >> >> >> >> although I have also tried: >> >> >> >> I started out on IC 4.8.7, tried it on 4.9.9 and my current test >> server is running 5.0.0 RC2 just for kicks and giggles. I even >> grabbed the current Bundle:Interchange and the kitchensink just in >> case. >> >> Has anyone out there been able to get this working or is it just a >> broken feature that isn't ready for use yet? > >You want SQL tables to do this, I think. As the number of GDBM users >dwindles, things are not often fully tested using that table type. >Any tag which uses SQL queries (as that one does). > >I think we have to start putting a "requires SQL" in some cases. In case I run into issues with MySQL (I have a text file uploaded every 6 hours that syncs inventory and prices to our on-site order database - I'm not sure how I'm going to do this with MySQL yet) is there a way to make this work with GDBM? From tech at khouse.org Fri Dec 12 14:49:25 2003 From: tech at khouse.org (Russell Mann) Date: Fri Dec 12 14:46:50 2003 Subject: [ic] price based shipping charges with a different price field (bug?) Message-ID: Hello, IC 4.8.3. I have a membership that is delinated by the field "user_active" being non zero, non null. In my catalog.cfg, I have this: -------------------------- PriceField CommonAdjust CommonAdjust pricing:price_group,q3,q4,q5,q10, ;products:price, ;$ AutoModifier pricing:price_group AutoModifier products:gift_cert NonTaxableField nontaxable UserDB default scratch user_active Autoload <{user_active}) { $Config->{CommonAdjust} = ' pricing:price_group,q3,q4,q5,q10, ;products:member_price, ;$'; } [/perl] EOR -------------------------- This works perfectly for changing the price on the product page when called by: [item-price], and in the basket all the way through checkout to receipt. The problem comes in calculating shipping. One of my shipping options is free shipping for orders over $10.00 This is what is in my products/shipping.asc file. -------------------------- free Free Shipping - U.S. price 0 9.99 e Please select $10.00 or more of products to get Free Shipping. {'PriceDivide' => "1",} free Free Shipping - U.S. price 10 99999999 0.00 {'PriceDivide' => "1",} -------------------------- This works perfectly with this code in the ord/checkout.html page: -------------------------- -------------------------- The problem comes when I set the regular price of the item to $11, and the member price to $9. The system seems to be calculating the "price" for the shipping from the price FIELD, instead of the [item-price]. For example, in this situation, the non-member should get the product for $11, and have free shipping. The member should get it for $9, but have no free shipping. This isn't what happens. Instead, they both get the product for the right price ($11, and $9 resepectively) but both get free shipping. This seems to be something in the internal workings of IC that might be a bug. Shouldn't price based shipping charges be calculated on the modified price that the customer is seeing? Where would I go to track this down? Thanks, Russell Mann From bill at worldwideimpact.com Fri Dec 12 16:21:37 2003 From: bill at worldwideimpact.com (Bill Carr) Date: Fri Dec 12 16:22:03 2003 Subject: [ic] Form action set automatically update_user Message-ID: <1071264096.11980.242.camel@localhost> IC 4.9.9 I would like to have a way to override the update_user() call built into form action 'set'. If I am using the table-editor to edit a table that has some of the same column names as my userdb table I do not want my values updated. I could not find a way to do this with out the following hack. --- /home/bill/download/interchange-4.9.9/lib/Vend/Dispatch.pm 2003-10-28 12:22:29.000000000 -0500 +++ /ic/lib/Vend/Dispatch.pm 2003-12-12 16:15:39.000000000 -0500 @@ -534,9 +534,9 @@ return 1; }, set => sub { - update_user() unless $CGI::values{mv_data_auto_number}; + update_user() unless $CGI::values{mv_data_auto_number} || $CGI::values{mv_no_update_user}; update_data(); - update_user() if $CGI::values{mv_data_auto_number}; + update_user() if $CGI::values{mv_data_auto_number} && !$CGI::values{mv_no_update_user}; return 1; }, autoset => sub { -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From mike at perusion.com Fri Dec 12 17:05:40 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 12 17:05:48 2003 Subject: [ic] Form action set automatically update_user In-Reply-To: <1071264096.11980.242.camel@localhost> References: <1071264096.11980.242.camel@localhost> Message-ID: <20031212220540.GA2047@bill.heins.net> Quoting Bill Carr (bill@worldwideimpact.com): > IC 4.9.9 > > I would like to have a way to override the update_user() call built into > form action 'set'. If I am using the table-editor to edit a table that > has some of the same column names as my userdb table I do not want my > values updated. I could not find a way to do this with out the > following hack. > > --- /home/bill/download/interchange-4.9.9/lib/Vend/Dispatch.pm > 2003-10-28 12:22:29.000000000 -0500 > +++ /ic/lib/Vend/Dispatch.pm 2003-12-12 16:15:39.000000000 -0500 > @@ -534,9 +534,9 @@ > return 1; > }, > set => sub { > - update_user() unless > $CGI::values{mv_data_auto_number}; > + update_user() unless > $CGI::values{mv_data_auto_number} || $CGI::values{mv_no_update_user}; > update_data(); > - update_user() if > $CGI::values{mv_data_auto_number}; > + update_user() if > $CGI::values{mv_data_auto_number} && !$CGI::values{mv_no_update_user}; > return 1; > }, > autoset => sub { Won't the usual method work? FormAction set <update('values') unless $CGI->{mv_data_auto_number} || $CGI->{mv_no_update_user}; $Tag->update('data'); $Tag->update('values') if $CGI->{mv_data_auto_number}; #Debug("In user form action"); return 1; } EOR -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From mike at perusion.com Fri Dec 12 17:58:59 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 12 17:59:08 2003 Subject: [ic] Form action set automatically update_user In-Reply-To: <20031212220540.GA2047@bill.heins.net> References: <1071264096.11980.242.camel@localhost> <20031212220540.GA2047@bill.heins.net> Message-ID: <20031212225859.GA2609@bill.heins.net> Quoting Mike Heins (mike@perusion.com): > Quoting Bill Carr (bill@worldwideimpact.com): > > IC 4.9.9 > > > > I would like to have a way to override the update_user() call built into > > form action 'set'. If I am using the table-editor to edit a table that > > has some of the same column names as my userdb table I do not want my > > values updated. I could not find a way to do this with out the > > following hack. > > > > --- /home/bill/download/interchange-4.9.9/lib/Vend/Dispatch.pm > > 2003-10-28 12:22:29.000000000 -0500 > > +++ /ic/lib/Vend/Dispatch.pm 2003-12-12 16:15:39.000000000 -0500 > > @@ -534,9 +534,9 @@ > > return 1; > > }, > > set => sub { > > - update_user() unless > > $CGI::values{mv_data_auto_number}; > > + update_user() unless > > $CGI::values{mv_data_auto_number} || $CGI::values{mv_no_update_user}; > > update_data(); > > - update_user() if > > $CGI::values{mv_data_auto_number}; > > + update_user() if > > $CGI::values{mv_data_auto_number} && !$CGI::values{mv_no_update_user}; > > return 1; > > }, > > autoset => sub { > > Won't the usual method work? > > FormAction set < sub { > $Tag->update('values') > unless $CGI->{mv_data_auto_number} || $CGI->{mv_no_update_user}; > $Tag->update('data'); > $Tag->update('values') if $CGI->{mv_data_auto_number}; > #Debug("In user form action"); > return 1; > } > EOR Another thing which should work is adding hidden.mv_values_space=temporary to the table-editor tag. That will make it send the values to a different area of the session. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 How far can you open your mind before your brains fall out? From prtyof5 at attglobal.net Sat Dec 13 03:13:31 2003 From: prtyof5 at attglobal.net (Jon) Date: Sat Dec 13 03:14:10 2003 Subject: [ic] Stock-Alert Message-ID: <3FDACA2A.A52AED79@attglobal.net> Using the stock-alert code posted some time back With mod_rewrites the form action process-target doesn't seem to find the mv_nextpage=stock-alert-added With it seems to be going off in the weeds somewhere and not to stock-alert-added as expected. Has anyone else encountered ?? Jon From prtyof5 at attglobal.net Sat Dec 13 03:38:13 2003 From: prtyof5 at attglobal.net (Jon) Date: Sat Dec 13 03:38:43 2003 Subject: [ic] Stock-Alert References: <3FDACA2A.A52AED79@attglobal.net> Message-ID: <3FDACFF5.F7BEE040@attglobal.net> > Using the stock-alert code posted some time back > > With mod_rewrites the form action process-target > doesn't seem to find the mv_nextpage=stock-alert-added > With > > it seems to be going off in the weeds somewhere > and not to stock-alert-added as expected. > > Has anyone else encountered ?? > BTW, IC 4.9.3 A little more details... It appears as if the check_alert_form section isn't functioning. If I add the line with *** for the mv_nextpage variable then it basically functions but of course no input verification will function.
******** [set check_alert_form] [if !value email] form_errors=We must have an email address in order to notify you. mv_nextpage=@@MV_PAGE@@ [else] mv_nextpage=stock-alert-added [/else] [/if] [/set] Jon From pshempel at linuxhardcore.com Sat Dec 13 09:29:10 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Sat Dec 13 09:29:23 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <20031212174530.GA27803@bill.heins.net> References: <1071237115.15299.30.camel@starfire> <20031212174530.GA27803@bill.heins.net> Message-ID: <1071325749.5826.33.camel@starfire> On Fri, 2003-12-12 at 12:45, Mike Heins wrote: > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > I am using 5.0 pre cvs > > Non-threaded perl 5.8.1 > > > > Here is my dilemma, we have a number of products that use the same > > image. > > > > Problem we have is in 4.9/5.0 the UI has changed in some way that allows > > an upload of zero bit file essentially overwriting the original file or > > zeroing out the file. > > > > What we do to cause this is to upload the image into one item, then edit > > additional items placing the same image name into the image of the other > > products that use it. > > Then you need to use a different widget than the imagehelper widget. > The box you are typing into is not a text box, it is a file element. > It is designed to upload a file, not input text info into the database. So your saying I am trying to use a hammer when I need a to use a screwdriver? Well I kinda thought so. But what can you do to prevent people from doing just what they think makes sense to them? If I can use only one widget for the image function, (or can I use two? I guess I will find out) what options do I have? This became obvious as being a problem to me, when on of my IC customers came back to me on the same point as above. So I decided to asked others that I had seen using the same images for multiple products and they told me, "It (using the upload function as a dual function form) does not *work*, we have to upload the image each time." The fact that people ere even attempting to enter data into the field seems that there was or is some form of expectation that the field may work as a data entry field as well. I think than the only choices I have is to some way keep data from being entered into the field freehand and just tell them to upload each image at least the expectation will not be there. Thanks all From tverhagen at alamerce.nl Sat Dec 13 09:51:12 2003 From: tverhagen at alamerce.nl (Ton Verhagen) Date: Sat Dec 13 09:51:27 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <1071325749.5826.33.camel@starfire> References: <20031212174530.GA27803@bill.heins.net> <1071237115.15299.30.camel@starfire> <20031212174530.GA27803@bill.heins.net> Message-ID: <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> Quoting Philip S. Hempel (pshempel@linuxhardcore.com): >On Fri, 2003-12-12 at 12:45, Mike Heins wrote: > > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > > I am using 5.0 pre cvs > > > Non-threaded perl 5.8.1 > > > > > > Here is my dilemma, we have a number of products that use the same > > > image. > > > > > > Problem we have is in 4.9/5.0 the UI has changed in some way that allows > > > an upload of zero bit file essentially overwriting the original file or > > > zeroing out the file. > > > > > > What we do to cause this is to upload the image into one item, then edit > > > additional items placing the same image name into the image of the other > > > products that use it. > > > > Then you need to use a different widget than the imagehelper widget. > > The box you are typing into is not a text box, it is a file element. > > It is designed to upload a file, not input text info into the database. > >So your saying I am trying to use a hammer when I need a to use a >screwdriver? > >Well I kinda thought so. But what can you do to prevent people from >doing just what they think makes sense to them? > >If I can use only one widget for the image function, (or can I use two? >I guess I will find out) what options do I have? > >This became obvious as being a problem to me, when on of my IC customers >came back to me on the same point as above. >So I decided to asked others that I had seen using the same images for >multiple products and they told me, "It (using the upload function as a >dual function form) does not *work*, we have to upload the image each >time." > >The fact that people ere even attempting to enter data into the field >seems that there was or is some form of expectation that the field may >work as a data entry field as well. > >I think than the only choices I have is to some way keep data from being >entered into the field freehand and just tell them to upload each image >at least the expectation will not be there. > >Thanks all Philip, Have you tried my suggestion of changing the 'Directory' entry on the 'Advanced' tab of the meta edit form as suggested in one of my previous postings? I use that solution frequently for my customers and it really works like a charm. Best regards, Ton -- Alamerce Nederland --- Cornerstone of eBusiness Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl eCommerce Solutions -- Consulting -- Website & Interchange Hosting From rick at rpwebworks.com Sat Dec 13 11:52:16 2003 From: rick at rpwebworks.com (Rick Parola) Date: Sat Dec 13 11:52:53 2003 Subject: [ic] Stumped with shipping options In-Reply-To: <200312111551.51102.rick@rpwebworks.com> References: <200312111551.51102.rick@rpwebworks.com> Message-ID: <200312131152.16758.rick@rpwebworks.com> On Thursday 11 December 2003 03:51 pm, Riccardo Parola wrote: > I've been trying to set my shipping options to offer only a few of the > shipping methods, I searched the list and google in general, I read the > help pages and they say "Select one of the currently existing shipping > methods from the list and click "edit method" to change its name, enable or > disable it". For the life of me there is no "box" in my control panel by > "enable this method" as described in the docs. > > I found one other message stating the same during my searches but no answer > to the question. > > Please help. > > BTW: Not afraid of shell and/or editing text files and/or manually going > into MySql through shell, where are those settings stored? Is this unusual? I take it it's one of two cases: 1 - It's so obvious everyone is thinking "RTFM" shaking their heads at the impudence of my so obvious question. (In this case I'd love a "RTFM you sucker!" in response) 2 - It is so weird and unusual a situation nobody ever had the problem (other than the other guy who posted the same without reply) and nobody knows what to tell me, I'm F%^$% and better off scratching the whole thing and get into the goats marketing industry. any clue anyone? From prtyof5 at attglobal.net Sat Dec 13 12:03:40 2003 From: prtyof5 at attglobal.net (Jon) Date: Sat Dec 13 12:04:12 2003 Subject: [ic] Stock-Alert References: <3FDACA2A.A52AED79@attglobal.net> <3FDACFF5.F7BEE040@attglobal.net> Message-ID: <3FDB466C.F0E39EEA@attglobal.net> > > Using the stock-alert code posted some time back > > > > With mod_rewrites the form action process-target > > doesn't seem to find the mv_nextpage=stock-alert-added > > With > > > > it seems to be going off in the weeds somewhere > > and not to stock-alert-added as expected. > > > > Has anyone else encountered ?? > > > > BTW, IC 4.9.3 > > A little more details... > It appears as if the check_alert_form section isn't functioning. > If I add the line with *** for the mv_nextpage variable then > it basically functions but of course no input verification > will function. > > > > > value="stock-alert-added"> ******** > > [set check_alert_form] > [if !value email] > form_errors=We must have an email address in order to notify you. > mv_nextpage=@@MV_PAGE@@ > [else] > mv_nextpage=stock-alert-added > [/else] > [/if] > [/set] > I'm sure this has something to do with my rewrites since if I remove the mod_rewrite stuff everything works. I've looked at my rewrite log and for sure it is getting rewritten with the cgi-bin stuff, but what is a bit weird is that the checkout page, which also uses process.html, seems to work just fine. Is there something special that has to be done with rewrites to properly access process.html ? Or is there another approach I can take to the stock-alert capability that will work with rewrites ? Jon From edl at newmediaems.com Sat Dec 13 12:31:40 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Sat Dec 13 12:31:38 2003 Subject: [ic] Stumped with shipping options In-Reply-To: <200312131152.16758.rick@rpwebworks.com> References: <200312111551.51102.rick@rpwebworks.com> <200312111551.51102.rick@rpwebworks.com> Message-ID: <5.2.1.1.0.20031213093012.020b3ec8@mail.newmediaems.com> At 11:52 AM 12/13/2003 -0500, you wrote: >On Thursday 11 December 2003 03:51 pm, Riccardo Parola wrote: > > I've been trying to set my shipping options to offer only a few of the > > shipping methods, I searched the list and google in general, I read the > > help pages and they say "Select one of the currently existing shipping > > methods from the list and click "edit method" to change its name, enable or > > disable it". For the life of me there is no "box" in my control panel by > > "enable this method" as described in the docs. > > > > I found one other message stating the same during my searches but no answer > > to the question. > > > > Please help. > > > > BTW: Not afraid of shell and/or editing text files and/or manually going > > into MySql through shell, where are those settings stored? > >Is this unusual? > >I take it it's one of two cases: > >1 - It's so obvious everyone is thinking "RTFM" shaking their heads at the >impudence of my so obvious question. (In this case I'd love a "RTFM you >sucker!" in response) > >2 - It is so weird and unusual a situation nobody ever had the problem (other >than the other guy who posted the same without reply) and nobody knows what >to tell me, I'm F%^$% and better off scratching the whole thing and get into >the goats marketing industry. > >any clue anyone? In the foundation demo, the list of shipping methods presented to the customer is taken from one or more tables that contain regional data - country is the most common one. Edit the shipmodes column for the country records of concern to change the choices that are presented to the customer. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From ronnie at karatedepot.com Sat Dec 13 21:13:58 2003 From: ronnie at karatedepot.com (Aaron Rubin) Date: Sat Dec 13 20:59:15 2003 Subject: [ic] Stumped with shipping options In-Reply-To: <200312131152.16758.rick@rpwebworks.com> Message-ID: <000101c3c1e7$ef0d7ab0$fa9ea818@D7V3KR11> Depends on your version but check country.txt / country table and remove any of the listed option you don't want for the country you are trying to change the shipping methods for. aaron http://www.KarateDepot.com -----Original Message----- From: interchange-users-bounces@icdevgroup.org [mailto:interchange-users-bounces@icdevgroup.org] On Behalf Of Rick Parola Sent: Saturday, December 13, 2003 11:52 AM To: interchange-users@icdevgroup.org Subject: Re: [ic] Stumped with shipping options On Thursday 11 December 2003 03:51 pm, Riccardo Parola wrote: > I've been trying to set my shipping options to offer only a few of the > shipping methods, I searched the list and google in general, I read > the help pages and they say "Select one of the currently existing > shipping methods from the list and click "edit method" to change its > name, enable or disable it". For the life of me there is no "box" in > my control panel by "enable this method" as described in the docs. > > I found one other message stating the same during my searches but no > answer to the question. > > Please help. > > BTW: Not afraid of shell and/or editing text files and/or manually > going into MySql through shell, where are those settings stored? Is this unusual? I take it it's one of two cases: 1 - It's so obvious everyone is thinking "RTFM" shaking their heads at the impudence of my so obvious question. (In this case I'd love a "RTFM you sucker!" in response) 2 - It is so weird and unusual a situation nobody ever had the problem (other than the other guy who posted the same without reply) and nobody knows what to tell me, I'm F%^$% and better off scratching the whole thing and get into the goats marketing industry. any clue anyone? _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From rick at rpwebworks.com Sun Dec 14 12:16:37 2003 From: rick at rpwebworks.com (Rick Parola) Date: Sun Dec 14 12:17:19 2003 Subject: [ic] Stumped with shipping options RESOLVED In-Reply-To: <000101c3c1e7$ef0d7ab0$fa9ea818@D7V3KR11> References: <000101c3c1e7$ef0d7ab0$fa9ea818@D7V3KR11> Message-ID: <200312141216.37336.rick@rpwebworks.com> Thanks!! For future reference: Indeed it's in the country table, the "shipmodes" field takes comma separated values of available shipping options for the country (eg most of mine have XDM in there, US has "GNDRES,GNDCOM") the names can be found in the SHIPPING CONFIGURATION page. Thank you, Now "all" I have left to do is go through it and edit them ALL :( On Saturday 13 December 2003 09:13 pm, Aaron Rubin wrote: > Depends on your version but check country.txt / country table and remove > any of the listed option you don't want for the country you are trying > to change the shipping methods for. > > aaron > http://www.KarateDepot.com > > -----Original Message----- > From: interchange-users-bounces@icdevgroup.org > [mailto:interchange-users-bounces@icdevgroup.org] On Behalf Of Rick > Parola > Sent: Saturday, December 13, 2003 11:52 AM > To: interchange-users@icdevgroup.org > Subject: Re: [ic] Stumped with shipping options > > On Thursday 11 December 2003 03:51 pm, Riccardo Parola wrote: > > I've been trying to set my shipping options to offer only a few of the > > > > shipping methods, I searched the list and google in general, I read > > the help pages and they say "Select one of the currently existing > > shipping methods from the list and click "edit method" to change its > > name, enable or disable it". For the life of me there is no "box" in > > my control panel by "enable this method" as described in the docs. > > > > I found one other message stating the same during my searches but no > > answer to the question. > > > > Please help. > > > > BTW: Not afraid of shell and/or editing text files and/or manually > > going into MySql through shell, where are those settings stored? > > Is this unusual? > > I take it it's one of two cases: > > 1 - It's so obvious everyone is thinking "RTFM" shaking their heads at > the > impudence of my so obvious question. (In this case I'd love a "RTFM you > sucker!" in response) > > 2 - It is so weird and unusual a situation nobody ever had the problem > (other > than the other guy who posted the same without reply) and nobody knows > what > to tell me, I'm F%^$% and better off scratching the whole thing and get > into > the goats marketing industry. > > any clue anyone? _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From eros at vwe.net Sun Dec 14 18:39:36 2003 From: eros at vwe.net (Eros Shop) Date: Sun Dec 14 18:40:01 2003 Subject: [ic] problem with images for buttons in account.html Message-ID: <6.0.1.1.2.20031214232053.05b549e8@secure.vwe.net> Hi Folks, I'm working on account.html and am trying to use images in pace of the standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl 5.6.1 under Linux. At the moment I have the "save account info" button as an image and the "save and checkout" button as a standard submit button using the following working code as found on the google archives: [if items] [set Save and Checkout]mv_nextpage=ord/checkout[/set]   [/if] I've tried using the following code on the INPUT tag for the "save and checkout" button to use an image, but it doesn't work and I end up with a search results page when clicked. As a side issue the user data in the form isn't being saved either when the image is used. [if items] [set Save and Checkout]mv_nextpage=ord/checkout[/set]   [/if] I can't work out why this doesn't work, or why I end up on a search page. Does anyone have any ideas what I'm missing or of another way to achieve this? I've looked at using the [button][/button] IC tag, but all attempts with that have also failed. Many thanks in advance Mark Eros Shop vwe internet ltd PO BOX 1067 SLOUGH SL1 7YA UK Shop - http://www.eros-shop.co.uk EMail - eros@vwe.net Tel - 0870 737 3369 Fax - 0870 737 4469 From josh at 185performance.com Mon Dec 15 08:22:52 2003 From: josh at 185performance.com (Josh - 185 Performance) Date: Mon Dec 15 08:20:41 2003 Subject: [ic] extending database In-Reply-To: <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> References: <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> Message-ID: <1071494572.29662.106.camel@deanston.mcbeck.com> Hi all... I am not Mr Database, so please excuse this question if it seems trivial. Interchange 4.8.7/MySQL 8.23/Apache 1.3.27 I run an aftermarket performance car parts webstore, and have something on the order of 20 to 30,000 parts in my catalog. Many of these parts apply to only one automobile, while many others apply to many automobiles. I'd like to extend the database such that each part number also has, say, 10 extra fields for specific car chassis codes. Then I can implement [somehow] a search routine where the user selects his make, then model, and can pull up everything available for the car. Or conversely, a part can be selected, and in the description, all applicable chassis codes will be shown. Anyone have a suggestion how I can do this? TIA, Josh -- Josh McClain 185 Performance Whiteline, DMS, Dobinsons, SuperPro, Aussie Exhaust, GoFastBits, RPS, DBA, MRT, SX, Defi josh@185performance.com www.185performance.com From pshempel at linuxhardcore.com Mon Dec 15 09:31:31 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Mon Dec 15 09:31:56 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> References: <20031212174530.GA27803@bill.heins.net> <1071237115.15299.30.camel@starfire> <20031212174530.GA27803@bill.heins.net> <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> Message-ID: <1071498691.29922.2192.camel@starfire> On Sat, 2003-12-13 at 09:51, Ton Verhagen wrote: > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > >On Fri, 2003-12-12 at 12:45, Mike Heins wrote: > > > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > > > I am using 5.0 pre cvs > > > > Non-threaded perl 5.8.1 > > > > > > > > Here is my dilemma, we have a number of products that use the same > > > > image. > > > > > > > > Problem we have is in 4.9/5.0 the UI has changed in some way that allows > > > > an upload of zero bit file essentially overwriting the original file or > > > > zeroing out the file. > > > > > > > > What we do to cause this is to upload the image into one item, then edit > > > > additional items placing the same image name into the image of the other > > > > products that use it. > > > > > > Then you need to use a different widget than the imagehelper widget. > > > The box you are typing into is not a text box, it is a file element. > > > It is designed to upload a file, not input text info into the database. > > > Have you tried my suggestion of changing the 'Directory' entry on > the 'Advanced' tab of the meta edit form as suggested in one of > my previous postings? > > I use that solution frequently for my customers and it really works > like a charm. > > I have and all I get is none as a drop down list, I checked logs and nothing to show me why your proposal would not work. I tested it under a demo store on the icdevgroup servers and it works. I see that this might work similar to what I am trying to do. I looked in my logs and see nothing as in errors. > Best regards, > > Ton Thanks for the responses From tverhagen at alamerce.nl Mon Dec 15 09:49:23 2003 From: tverhagen at alamerce.nl (Ton Verhagen) Date: Mon Dec 15 09:49:28 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <1071498691.29922.2192.camel@starfire> References: <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> <20031212174530.GA27803@bill.heins.net> <1071237115.15299.30.camel@starfire> <20031212174530.GA27803@bill.heins.net> <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> Message-ID: <5.2.0.9.0.20031215154805.03dfe438@verhagen.net> Quoting Philip S. Hempel (pshempel@linuxhardcore.com): >On Sat, 2003-12-13 at 09:51, Ton Verhagen wrote: > > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > >On Fri, 2003-12-12 at 12:45, Mike Heins wrote: > > > > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > > > > I am using 5.0 pre cvs > > > > > Non-threaded perl 5.8.1 > > > > > > > > > > Here is my dilemma, we have a number of products that use the same > > > > > image. > > > > > > > > > > Problem we have is in 4.9/5.0 the UI has changed in some way that > allows > > > > > an upload of zero bit file essentially overwriting the original > file or > > > > > zeroing out the file. > > > > > > > > > > What we do to cause this is to upload the image into one item, > then edit > > > > > additional items placing the same image name into the image of > the other > > > > > products that use it. > > > > > > > > Then you need to use a different widget than the imagehelper widget. > > > > The box you are typing into is not a text box, it is a file element. > > > > It is designed to upload a file, not input text info into the database. > > > > > > > Have you tried my suggestion of changing the 'Directory' entry on > > the 'Advanced' tab of the meta edit form as suggested in one of > > my previous postings? > > > > I use that solution frequently for my customers and it really works > > like a charm. > > > > > >I have and all I get is none as a drop down list, I checked logs and >nothing to show me why your proposal would not work. I tested it under a >demo store on the icdevgroup servers and it works. I see that this might >work similar to what I am trying to do. > >I looked in my logs and see nothing as in errors. Has your catalog a sym link 'images' to the images directory in html space? Best regards, Ton -- Alamerce Nederland --- Cornerstone of eBusiness Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl eCommerce Solutions -- Consulting -- Website & Interchange Hosting From edl at newmediaems.com Mon Dec 15 12:24:52 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 15 12:20:55 2003 Subject: [ic] extending database In-Reply-To: <1071494572.29662.106.camel@deanston.mcbeck.com> References: <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> Message-ID: <5.2.1.1.0.20031215091509.02f38308@mail.newmediaems.com> At 06:22 AM 12/15/2003 -0700, you wrote: >Hi all... > >I am not Mr Database, so please excuse this question if it seems >trivial. >Interchange 4.8.7/MySQL 8.23/Apache 1.3.27 > >I run an aftermarket performance car parts webstore, and have something >on the order of 20 to 30,000 parts in my catalog. Many of these parts >apply to only one automobile, while many others apply to many >automobiles. I'd like to extend the database such that each part number >also has, say, 10 extra fields for specific car chassis codes. Then I >can implement [somehow] a search routine where the user selects his >make, then model, and can pull up everything available for the car. Or >conversely, a part can be selected, and in the description, all >applicable chassis codes will be shown. > >Anyone have a suggestion how I can do this? > >TIA, >Josh If I were to do this, I would add one field called 'chassis_codes' to the products table, which would contain space-separated list of the all the codes that apply to the part. Then, your searches would be a simple matter using SQL: select * from products where chassis_codes like 'foo' ... for 'foo' you would reference the value which contains the determinate code (i.e. [value chassis_code] would reference an input named chassis_code from a form, etc.) Listing all chassis_codes for a part is as simple as adding a loop to the flypage: [if-item-field chassis_codes] Fits these models:
[loop arg="[item-field chassis_codes]"]   [loop-code]
[/loop] [/if-item-field] - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From josh at 185performance.com Mon Dec 15 12:33:48 2003 From: josh at 185performance.com (Josh - 185 Performance) Date: Mon Dec 15 12:31:19 2003 Subject: [ic] extending database In-Reply-To: <5.2.1.1.0.20031215091509.02f38308@mail.newmediaems.com> References: <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212150421.03e317b8@verhagen.net> <5.2.0.9.0.20031212180040.03df0fe0@verhagen.net> <5.2.1.1.0.20031215091509.02f38308@mail.newmediaems.com> Message-ID: <1071509627.29666.213.camel@deanston.mcbeck.com> Thanks! I'll give it a try. Josh > If I were to do this, I would add one field called 'chassis_codes' to the > products table, which would contain space-separated list of the all the > codes that apply to the part. Then, your searches would be a simple matter > using SQL: -- Josh McClain 185 Performance Whiteline, DMS, Dobinsons, SuperPro, Aussie Exhaust, GoFastBits, RPS, DBA, MRT, SX, Defi josh@185performance.com www.185performance.com From David.Nawrot at gmx.de Mon Dec 15 12:47:44 2003 From: David.Nawrot at gmx.de (David Nawrot) Date: Mon Dec 15 12:44:56 2003 Subject: [ic] Error bundle::interchange Message-ID: <1182908452.20031215184744@gmx.de> Hello , I try to install the bundle::interchange on a stable debian woody with the following command: perl -MCPAN -e 'install Bundle::Interchange' After a short time i got this message: Bundle summary: The following items in bundle Bundle::Interchange had installation problems: Storable What is the meaning and how can I fix this. -- Best regards, David Nawrot mailto:David.Nawrot@gmx.de From mkerner at showmeinteractive.com Mon Dec 15 15:49:17 2003 From: mkerner at showmeinteractive.com (Matt Kerner) Date: Mon Dec 15 15:49:33 2003 Subject: [ic] XML Parsing Error : UPS Lookup Message-ID: <262B14F0-2F40-11D8-9AD8-000393717580@showmeinteractive.com> I'm having difficulty with a store that does UPS lookups. For some reason when the lookup happens I get an internal server error (which is a premature end of script headers). The interchange error log shows the following details: > junk after document element at line 1, column 39, byte 39 at /usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/Parser.pm line 187 Has anybody else experienced this problem? Is there an easy solution? Thanks, Kerner From tim.g at edsd.com Mon Dec 15 16:11:26 2003 From: tim.g at edsd.com (Tim Good) Date: Mon Dec 15 16:08:39 2003 Subject: [ic] Scheduling Module for rental business In-Reply-To: <20031212225859.GA2609@bill.heins.net> Message-ID: <000001c3c350$0041d420$02080a0a@TIM> Hey all, Ok this is probably a stupid question but what the hay! I have developed a usertag called cal.tag. I have it in with other user tags and call it with "[cal December 2003]" It displays a month view calendar. Through the idea of expedite the process and possibly optimizing as well, what would be the best way to accomplish getting a delivery date field from the transaction table and inserting it into my user tag call? I am currently calling the tag from a gutted-out version of order.html, called delivery.html. eg: [if cgi ui_text_qualification] [calc] return if $CGI->{mv_like_spec}; $Scratch->{page_banner} ||= $Scratch->{page_title}; $Scratch->{page_banner} .= errmsg( '-- entries containing "%s"', $CGI->{ui_text_qualification}, ); return; [/calc] [/if] [if cgi year] [perl] $Scratch->{month} = $CGI->{month}; $Scratch->{year} = $CGI->{year}; return; [/perl] [cal [scratchd month] [scratchd year]] [/if] don't laugh, I am still learning the IC language. P.S. I don't even have to practice to create run on sentances ;oP. Thanks, Tim From todd at lunsfordgroup.com Mon Dec 15 16:49:55 2003 From: todd at lunsfordgroup.com (Todd L. Cawthron) Date: Mon Dec 15 16:46:46 2003 Subject: [ic] XML Parsing Error : UPS Lookup References: <262B14F0-2F40-11D8-9AD8-000393717580@showmeinteractive.com> Message-ID: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> > The interchange error log shows the following details: > > junk after document element at line 1, column 39, byte 39 at > /usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/Parser.pm line 187 > > Has anybody else experienced this problem? Is there an easy solution? I've worked with UPS online tools and XML::Parser. If you would post the xml document in question, I might be able to help. Todd From jon at endpoint.com Mon Dec 15 16:59:55 2003 From: jon at endpoint.com (Jon Jensen) Date: Mon Dec 15 17:00:13 2003 Subject: [ic] Interchange 5.0.0 release Message-ID: The Interchange Development Group is pleased to announce the release of Interchange 5.0.0, beginning a new stable series that is the culmination of over a year of development including hundreds of improvements to the core, the admin, and the Foundation catalog. The full changelog is viewable here: http://ftp.icdevgroup.org/interchange/5.0/WHATSNEW We recommend that all new development be done with Interchange 5.0. Many users of earlier versions of Interchange will want to consider upgrading to Interchange 5.0 after testing it for suitability with their catalogs in a development environment. Some upgrade notes are included with the software. A press release accompanying this release is here: http://www.icdevgroup.org/pipermail/interchange-announce/2003/000040.html Packages are available for download at the URLs listed below. Generic cross-platform tar package: http://ftp.icdevgroup.org/interchange/5.0/tar/interchange-5.0.0.tar.gz Debian packages: http://ftp.icdevgroup.org/interchange/5.0/debian/5.0.0/interchange_5.0.0-1_i386.deb http://ftp.icdevgroup.org/interchange/5.0/debian/5.0.0/interchange-cat-foundation_5.0.0-1_all.deb http://ftp.icdevgroup.org/interchange/5.0/debian/5.0.0/interchange-ui_5.0.0-1_all.deb http://ftp.icdevgroup.org/interchange/5.0/debian/5.0.0/libapache-mod-interchange_5.0.0-1_i386.deb Source RPM: http://ftp.icdevgroup.org/interchange/5.0/srpm/interchange-5.0.0-1.src.rpm Red Hat Linux 7.2/7.3 RPMs: http://ftp.icdevgroup.org/interchange/5.0/rpm/interchange-5.0.0-1.7.i386.rpm http://ftp.icdevgroup.org/interchange/5.0/rpm/interchange-foundation-5.0.0-1.7.i386.rpm http://ftp.icdevgroup.org/interchange/5.0/rpm/interchange-foundation-demo-5.0.0-1.7.i386.rpm Red Hat Linux 9 RPMs, which require a nonthreaded Perl build with the executable in /usr/local/bin/perl: http://ftp.icdevgroup.org/interchange/5.0/rpm/interchange-5.0.0-1.9.i386.rpm http://ftp.icdevgroup.org/interchange/5.0/rpm/interchange-foundation-5.0.0-1.9.i386.rpm http://ftp.icdevgroup.org/interchange/5.0/rpm/interchange-foundation-demo-5.0.0-1.9.i386.rpm Note that when installing the Red Hat Linux 9 RPMs, you'll probably need to use the --nodeps option since rpm doesn't know about the custom Perl build in /usr/local. You should install the main interchange RPM with --nodeps first, then install interchange-foundation and interchange-foundation-demo normally with a separate command, since they depend on the interchange package, and rpm doesn't know what order to install them in when you use --nodeps. MD5 hashes for the files are: b5b8198054f4806f4682170248fcce40 interchange-5.0.0.tar.gz 7be148addc1b004fa90f979ace15ad25 interchange_5.0.0-1_i386.deb e9a38714820325d36775a8b1d72403a8 interchange-cat-foundation_5.0.0-1_all.deb a0a3511e8260f9231cc148ec53505d71 interchange-ui_5.0.0-1_all.deb a99e100f06776be9feb0d9c43755392b libapache-mod-interchange_5.0.0-1_i386.deb 1d39a57cd538301f04b25f0ea396c30b interchange-5.0.0-1.src.rpm 7daa10048344b4c7eff483e9c9ec9e60 interchange-5.0.0-1.7.i386.rpm 06cd0eefa1b1af6086d36bc6a695b179 interchange-foundation-5.0.0-1.7.i386.rpm 1c0c99350fa749950e35c9df97c72baf interchange-foundation-demo-5.0.0-1.7.i386.rpm efaa979bf20599b05bd9f2b6fecd0f55 interchange-5.0.0-1.9.i386.rpm 45b07ba01ef5eb8bbdd094405139289c interchange-foundation-5.0.0-1.9.i386.rpm b04156b9a423633c6d6aaa6da544f30c interchange-foundation-demo-5.0.0-1.9.i386.rpm The Debian and RPM packages have been signed with one of our GnuPG keys. Public keys are available here: http://ftp.icdevgroup.org/keys/ Questions should be directed to the Interchange user discussion mailing list: interchange-users@icdevgroup.org Enjoy! Jon From tim.g at edsd.com Mon Dec 15 18:06:19 2003 From: tim.g at edsd.com (Tim Good) Date: Mon Dec 15 18:03:33 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> Message-ID: <000001c3c360$0d04f010$02080a0a@TIM> Ok I am not getting this one. How do you grab variables from the url? eg(www.site.com?foo=bar) I want to use foo in usertag call. eg([cal foo]) where cal is the name of usertag. All suggestions are appreciated, Tim From autoantwort at bpanet.de Mon Dec 15 18:09:35 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:09:47 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <000001c3c360$0d04f010$02080a0a@TIM> from Tim Good on Mon, 15 Dec 2003 16:06:19 -0700 References: <000001c3c360$0d04f010$02080a0a@TIM> Message-ID: <200312152309.hBFN9ZN3022064@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Ok I am not getting this one. How do you grab variables from the url? eg(www.site.com?foo=bar) I want to use foo in usertag call. eg([cal foo]) where cal is the name of usertag. All suggestions are appreciated, Tim _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:16:30 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:16:44 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152309.hBFN9ZN3022064@gw3.bpanet.de> on Tue, 16 Dec 2003 00:09:35 +0100 (CET) References: <000001c3c360$0d04f010$02080a0a@TIM> <200312152309.hBFN9ZN3022064@gw3.bpanet.de> Message-ID: <200312152316.hBFNGUN3022191@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Ok I am not getting this one. How do you grab variables from the url? eg(www.site.com?foo=bar) I want to use foo in usertag call. eg([cal foo]) where cal is the name of usertag. All suggestions are appreciated, Tim _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From edl at newmediaems.com Mon Dec 15 18:25:03 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 15 18:21:07 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <000001c3c360$0d04f010$02080a0a@TIM> References: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> Message-ID: <5.2.1.1.0.20031215152356.022291f8@mail.newmediaems.com> At 04:06 PM 12/15/2003 -0700, you wrote: >Ok I am not getting this one. > >How do you grab variables from the url? >eg(www.site.com?foo=bar) >I want to use foo in usertag call. >eg([cal foo]) where cal is the name of >usertag. > >All suggestions are appreciated, > >Tim [cgi foo] [cal arg="[cgi foo]"] I am certain there are examples of this all over the foundation demo. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From autoantwort at bpanet.de Mon Dec 15 18:22:08 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:22:19 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152316.hBFNGUN3022191@gw3.bpanet.de> on Tue, 16 Dec 2003 00:16:30 +0100 (CET) References: <000001c3c360$0d04f010$02080a0a@TIM> <200312152309.hBFN9ZN3022064@gw3.bpanet.de> <200312152316.hBFNGUN3022191@gw3.bpanet.de> Message-ID: <200312152322.hBFNM8N3022278@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Ok I am not getting this one. How do you grab variables from the url? eg(www.site.com?foo=bar) I want to use foo in usertag call. eg([cal foo]) where cal is the name of usertag. All suggestions are appreciated, Tim _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:25:40 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:26:00 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <5.2.1.1.0.20031215152356.022291f8@mail.newmediaems.com> from Ed Lafrance on Mon, 15 Dec 2003 15:25:03 -0800 References: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> <5.2.1.1.0.20031215152356.022291f8@mail.newmediaems.com> Message-ID: <200312152325.hBFNPeN3022391@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: At 04:06 PM 12/15/2003 -0700, you wrote: >Ok I am not getting this one. > >How do you grab variables from the url? >eg(www.site.com?foo=bar) >I want to use foo in usertag call. >eg([cal foo]) where cal is the name of >usertag. > >All suggestions are appreciated, > >Tim [cgi foo] [cal arg="[cgi foo]"] I am certain there are examples of this all over the foundation demo. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:29:24 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:29:38 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152322.hBFNM8N3022278@gw3.bpanet.de> on Tue, 16 Dec 2003 00:22:08 +0100 (CET) References: <000001c3c360$0d04f010$02080a0a@TIM> <200312152309.hBFN9ZN3022064@gw3.bpanet.de> <200312152316.hBFNGUN3022191@gw3.bpanet.de> <200312152322.hBFNM8N3022278@gw3.bpanet.de> Message-ID: <200312152329.hBFNTON3022433@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Ok I am not getting this one. How do you grab variables from the url? eg(www.site.com?foo=bar) I want to use foo in usertag call. eg([cal foo]) where cal is the name of usertag. All suggestions are appreciated, Tim _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:31:02 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:31:12 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152325.hBFNPeN3022391@gw3.bpanet.de> on Tue, 16 Dec 2003 00:25:40 +0100 (CET) References: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> <5.2.1.1.0.20031215152356.022291f8@mail.newmediaems.com> <200312152325.hBFNPeN3022391@gw3.bpanet.de> Message-ID: <200312152331.hBFNV2N3022476@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: At 04:06 PM 12/15/2003 -0700, you wrote: >Ok I am not getting this one. > >How do you grab variables from the url? >eg(www.site.com?foo=bar) >I want to use foo in usertag call. >eg([cal foo]) where cal is the name of >usertag. > >All suggestions are appreciated, > >Tim [cgi foo] [cal arg="[cgi foo]"] I am certain there are examples of this all over the foundation demo. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:34:37 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:34:52 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152329.hBFNTON3022433@gw3.bpanet.de> on Tue, 16 Dec 2003 00:29:24 +0100 (CET) References: <000001c3c360$0d04f010$02080a0a@TIM> <200312152309.hBFN9ZN3022064@gw3.bpanet.de> <200312152316.hBFNGUN3022191@gw3.bpanet.de> <200312152322.hBFNM8N3022278@gw3.bpanet.de> <200312152329.hBFNTON3022433@gw3.bpanet.de> Message-ID: <200312152334.hBFNYbN3022570@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Ok I am not getting this one. How do you grab variables from the url? eg(www.site.com?foo=bar) I want to use foo in usertag call. eg([cal foo]) where cal is the name of usertag. All suggestions are appreciated, Tim _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:37:44 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:37:57 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152331.hBFNV2N3022476@gw3.bpanet.de> on Tue, 16 Dec 2003 00:31:02 +0100 (CET) References: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> <5.2.1.1.0.20031215152356.022291f8@mail.newmediaems.com> <200312152325.hBFNPeN3022391@gw3.bpanet.de> <200312152331.hBFNV2N3022476@gw3.bpanet.de> Message-ID: <200312152337.hBFNbiN3022618@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: At 04:06 PM 12/15/2003 -0700, you wrote: >Ok I am not getting this one. > >How do you grab variables from the url? >eg(www.site.com?foo=bar) >I want to use foo in usertag call. >eg([cal foo]) where cal is the name of >usertag. > >All suggestions are appreciated, > >Tim [cgi foo] [cal arg="[cgi foo]"] I am certain there are examples of this all over the foundation demo. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From autoantwort at bpanet.de Mon Dec 15 18:43:00 2003 From: autoantwort at bpanet.de (autoantwort@bpanet.de) Date: Mon Dec 15 18:43:13 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152337.hBFNbiN3022618@gw3.bpanet.de> on Tue, 16 Dec 2003 00:37:44 +0100 (CET) References: <001c01c3c355$6132edf0$f801a8c0@TLGPC02> <5.2.1.1.0.20031215152356.022291f8@mail.newmediaems.com> <200312152325.hBFNPeN3022391@gw3.bpanet.de> <200312152331.hBFNV2N3022476@gw3.bpanet.de> <200312152337.hBFNbiN3022618@gw3.bpanet.de> Message-ID: <200312152343.hBFNh0N3022710@gw3.bpanet.de> Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: Guten Tag, leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 nicht im Hause und kann Ihre E-Mail nicht bearbeiten. Bei dringenden Angelegenheiten wenden Sie sich bitte an Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen gerne weiter helfen. Mit freundlichen Grüßen, Lars Tode tode@bpanet.de Black Point Arts Internet Solutions GmbH Hanauer Landstrasse 423a 60314 Frankfurt Tel. 069-952-181-56 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten informieren? Your email follows: At 04:06 PM 12/15/2003 -0700, you wrote: >Ok I am not getting this one. > >How do you grab variables from the url? >eg(www.site.com?foo=bar) >I want to use foo in usertag call. >eg([cal foo]) where cal is the name of >usertag. > >All suggestions are appreciated, > >Tim [cgi foo] [cal arg="[cgi foo]"] I am certain there are examples of this all over the foundation demo. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From mike at perusion.com Mon Dec 15 19:00:05 2003 From: mike at perusion.com (Mike Heins) Date: Mon Dec 15 19:00:24 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <200312152322.hBFNM8N3022278@gw3.bpanet.de> References: <000001c3c360$0d04f010$02080a0a@TIM> <200312152309.hBFN9ZN3022064@gw3.bpanet.de> <200312152316.hBFNGUN3022191@gw3.bpanet.de> <200312152322.hBFNM8N3022278@gw3.bpanet.de> Message-ID: <20031216000005.GA2747@bill.heins.net> Quoting autoantwort@bpanet.de (autoantwort@bpanet.de): > > Guten Tag, > > leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 > nicht im Hause und kann Ihre E-Mail nicht bearbeiten. > Hi, Please disable this broken autoresponder. Autoresponders should never reply to Priority: list or Priority: junk messages. > Bei dringenden Angelegenheiten wenden Sie sich bitte an > Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an > Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen > gerne weiter helfen. > > Mit freundlichen Grüßen, > > Lars Tode > tode@bpanet.de > > Black Point Arts Internet Solutions GmbH > Hanauer Landstrasse 423a > 60314 Frankfurt > > Tel. 069-952-181-56 > Fax. 069-952-181-41 > > Vertretungsberechtigt: Dirk Estenfeld > Handelsregister: HRB 50093 Frankfurt am Main > USt.-IdNr. de210106871 > > Besuchen Sie uns im Internet unter > --> http://www.bpanet.de > > Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten > informieren? > > Your email follows: > > Guten Tag, > > leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 > nicht im Hause und kann Ihre E-Mail nicht bearbeiten. > > Bei dringenden Angelegenheiten wenden Sie sich bitte an > Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an > Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen > gerne weiter helfen. > > Mit freundlichen Grüßen, > > Lars Tode > tode@bpanet.de > > Black Point Arts Internet Solutions GmbH > Hanauer Landstrasse 423a > 60314 Frankfurt > > Tel. 069-952-181-56 > Fax. 069-952-181-41 > > Vertretungsberechtigt: Dirk Estenfeld > Handelsregister: HRB 50093 Frankfurt am Main > USt.-IdNr. de210106871 > > Besuchen Sie uns im Internet unter > --> http://www.bpanet.de > > Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten > informieren? > > Your email follows: > > Guten Tag, > > leider bin ich im Zeitraum vom 15. Dezember 2003 bis zum 4. Januar 2004 > nicht im Hause und kann Ihre E-Mail nicht bearbeiten. > > Bei dringenden Angelegenheiten wenden Sie sich bitte an > Herrn Dirk Estenfeld (dirk.estenfeld@bpanet.de) oder an > Herrn Steffen Werner (steffen.werner@bpanet.de) die Ihnen > gerne weiter helfen. > > Mit freundlichen Grüßen, > > Lars Tode > tode@bpanet.de > > Black Point Arts Internet Solutions GmbH > Hanauer Landstrasse 423a > 60314 Frankfurt > > Tel. 069-952-181-56 > Fax. 069-952-181-41 > > Vertretungsberechtigt: Dirk Estenfeld > Handelsregister: HRB 50093 Frankfurt am Main > USt.-IdNr. de210106871 > > Besuchen Sie uns im Internet unter > --> http://www.bpanet.de > > Wollen auch Sie Ihre Kunden schnell und unkompliziert über Neuigkeiten > informieren? > > Your email follows: > Ok I am not getting this one. > > How do you grab variables from the url? > eg(www.site.com?foo=bar) > I want to use foo in usertag call. > eg([cal foo]) where cal is the name of > usertag. > > All suggestions are appreciated, > > Tim > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Just because something is obviously happening doesn't mean something obvious is happening. --Larry Wall From tim.g at edsd.com Mon Dec 15 19:15:56 2003 From: tim.g at edsd.com (Tim Good) Date: Mon Dec 15 19:13:07 2003 Subject: [ic] How to grap variables from url? In-Reply-To: <20031216000005.GA2747@bill.heins.net> Message-ID: <000001c3c369$c6b97090$02080a0a@TIM> Thanks Mike, was about to send of very same request. tim From pshempel at linuxhardcore.com Mon Dec 15 20:13:22 2003 From: pshempel at linuxhardcore.com (Philip S. Hempel) Date: Mon Dec 15 20:13:38 2003 Subject: [ic] Images and the Admin UI In-Reply-To: <5.2.0.9.0.20031215154805.03dfe438@verhagen.net> References: <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> <20031212174530.GA27803@bill.heins.net> <1071237115.15299.30.camel@starfire> <20031212174530.GA27803@bill.heins.net> <5.2.0.9.0.20031213154727.0390fe88@verhagen.net> <5.2.0.9.0.20031215154805.03dfe438@verhagen.net> Message-ID: <1071537201.29922.2206.camel@starfire> On Mon, 2003-12-15 at 09:49, Ton Verhagen wrote: > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > >On Sat, 2003-12-13 at 09:51, Ton Verhagen wrote: > > > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > > >On Fri, 2003-12-12 at 12:45, Mike Heins wrote: > > > > > Quoting Philip S. Hempel (pshempel@linuxhardcore.com): > > > > > > I am using 5.0 pre cvs > > > > > > Non-threaded perl 5.8.1 > > > > > > > > > > > > Here is my dilemma, we have a number of products that use the same > > > > > > image. > > > > > > > > > > > > Problem we have is in 4.9/5.0 the UI has changed in some way that > > allows > > > > > > an upload of zero bit file essentially overwriting the original > > file or > > > > > > zeroing out the file. > > > > > > > > > > > > What we do to cause this is to upload the image into one item, > > then edit > > > > > > additional items placing the same image name into the image of > > the other > > > > > > products that use it. > > > > > > > > > > Then you need to use a different widget than the imagehelper widget. > > > > > The box you are typing into is not a text box, it is a file element. > > > > > It is designed to upload a file, not input text info into the database. > > > > > > > > > > > Have you tried my suggestion of changing the 'Directory' entry on > > > the 'Advanced' tab of the meta edit form as suggested in one of > > > my previous postings? > > > > > > I use that solution frequently for my customers and it really works > > > like a charm. > > > > > > > > > >I have and all I get is none as a drop down list, I checked logs and > >nothing to show me why your proposal would not work. I tested it under a > >demo store on the icdevgroup servers and it works. I see that this might > >work similar to what I am trying to do. > > > >I looked in my logs and see nothing as in errors. > > Has your catalog a sym link 'images' to the images directory in html space? > > Underneath the catalog root is an images directory. I use the "image" tag and I know if this does not work my images would not show up. I can say this that in the admin UI display of many of my images do not work. I can click on the links to them and see the image but many just do not show up. I am not sure if not being able to find the images for display is related or not. I just can't understand how the image tag works for everything under the store but not the admin UI, but I can't just click on the image links and they are displayed. > > Best regards, > > Ton > BTW I am using a Debian install. I have never in the past have had many problems, images just seems to be an issue for some reason. Thanks again From marty at sediva.com Mon Dec 15 22:21:58 2003 From: marty at sediva.com (Marty Tennison) Date: Mon Dec 15 22:24:29 2003 Subject: [ic] Congradulations to the Interchange Development Group! Message-ID: <1071544918.4722.56.camel@marty.mdhome.net> Thank you for 5.0! Your hard work and generosity are much appreciated (not to mention your perl-programming-guru-skills). I can't wait to upgrade and check out all the new goodies. What a great holiday surprise. :) And, as Bill would say to Ted; "DUDE - Interchange ROCKS! ... E x c e l l e n t" -- Marty Tennison From saleem at paradise.caltech.edu Mon Dec 15 22:59:53 2003 From: saleem at paradise.caltech.edu (Saleem Mukhtar) Date: Mon Dec 15 23:00:00 2003 Subject: [ic] eBay API help needed Message-ID: Hello, I am not sure what this board is for. But I did see some questions about the eBay API and since I have some, I thought I would post here. I have tried several examples from 100 eBay Hacks and some code samples posted on the ebay website, but can't get them to work. I always get the following error. 500 Can't connect to api-test.ebay.com:443 (Bad protocol 'tcp') Can someone help?? I am including some code below -- I have blanked out userids and passwords. Thanks, Saleem #!/usr/bin/perl use strict; use LWP::UserAgent; use HTTP::Request; use HTTP::Headers; my $objUserAgent = LWP::UserAgent->new; my $objHeader = HTTP::Headers->new; $objHeader->push_header('X-EBAY-API-COMPATIBILITY-LEVEL' => '245'); $objHeader->push_header('X-EBAY-API-SESSION-CERTIFICATE' => '[DEVID];[APPID];[CERTID]'); my $request = " [USERID] [PASSWORD] 1 0 GeteBayOfficialTime "; my $objRequest = HTTP::Request->new("POST", 'https://api-test.ebay.com/aw-cgi/api.dll', $objHeader, $request); my $objResponse = $objUserAgent->request($objRequest); if (!$objResponse->is_error) { print $objResponse->content; } else { print $objResponse->error_as_HTML; } -- Saleem Mukhtar Mail Code 136-93 California Institute of Technology Pasadena. CA 91125 From nawin at inti.edu.my Mon Dec 15 23:59:07 2003 From: nawin at inti.edu.my (Nawin Rajah) Date: Mon Dec 15 23:47:14 2003 Subject: [ic] PHD Degrees Message-ID: <3FDE911B.905AA194@inti.edu.my> Greetings, I need a PHD degree in Economics issued by University Putra Malaysia, and would provide u with a template logo and the necessary signatures. E-mail me at nawin600@hotmail.com with your charges. A testimonial letter is also needed. Thanks ##################################################################################### Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. INTI COLLEGE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Thank You. ##################################################################################### From peter at pajamian.dhs.org Tue Dec 16 00:25:58 2003 From: peter at pajamian.dhs.org (Peter) Date: Tue Dec 16 00:26:09 2003 Subject: [ic] PHD Degrees In-Reply-To: <3FDE911B.905AA194@inti.edu.my> References: <3FDE911B.905AA194@inti.edu.my> Message-ID: <3FDE9766.1050205@pajamian.dhs.org> Nawin Rajah wrote: > Greetings, > > I need a PHD degree in Economics issued by University Putra Malaysia, > and would provide u with a template logo and the necessary signatures. > E-mail me at nawin600@hotmail.com with your charges. A testimonial > letter is also needed. Sorry, we can't help you with that. But just to show that I'm not all that bad a fellow I've forwarded your email complete with full headers to the University Putra Malaysia so they might be able to take appropriate action on your atempt to defraud them out of a PHD degree. > Thanks You're quite welcome. > ##################################################################################### > Note: > This message is for the named person's use only. It may contain confidential, > proprietary or legally privileged information. No confidentiality or privilege > is waived or lost by any mistransmission. If you receive this message in error, > please immediately delete it and all copies of it from your system, destroy any > hard copies of it and notify the sender. You must not, directly or indirectly, > use, disclose, distribute, print, or copy any part of this message if you are not > the intended recipient. INTI COLLEGE and any of its subsidiaries each reserve > the right to monitor all e-mail communications through its networks. > > Any views expressed in this message are those of the individual sender, except where > the message states otherwise and the sender is authorized to state them to be the > views of any such entity. > > Thank You. > ##################################################################################### Sorry, I never signed any confidentiality agreement with you, it does not apply to me. From allmanj at houseofireland.com Tue Dec 16 06:12:25 2003 From: allmanj at houseofireland.com (John Allman) Date: Tue Dec 16 06:01:28 2003 Subject: [ic] interchange.rtfm.info Message-ID: <3FDEE899.4070200@houseofireland.com> The site http://www.interchange.rtfm.info seems to be suffering from dns problems. I'm just wondering if the content is mirrored anywhere so i can get at it until these problems are fixed? Or is that site permanently down now? Has the content been moved? thanks John Allman From kevin at cursor.biz Tue Dec 16 08:24:33 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Tue Dec 16 08:25:23 2003 Subject: [ic] interchange.rtfm.info In-Reply-To: <3FDEE899.4070200@houseofireland.com> Message-ID: <000401c3c3d7$f1b10100$020110ac@majestic.cursor-software.co.uk> John Allman [allmanj@houseofireland.com] wrote: > The site http://www.interchange.rtfm.info seems to be suffering from dns > problems. I'm just wondering if the content is mirrored anywhere so i > can get at it until these problems are fixed? Or is that site > permanently down now? Has the content been moved? > I was wondering if anyone would notice. :-) The machine is down at the moment while I perform some upgrades and other maintenance. It should be back up later today, if all goes well. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From mike.curtis at gandacomputers.co.uk Tue Dec 16 08:40:10 2003 From: mike.curtis at gandacomputers.co.uk (Mike Curtis) Date: Tue Dec 16 08:40:20 2003 Subject: [ic] interchange.rtfm.info Message-ID: -----Original Message----- From: Kevin Walsh [mailto:kevin@cursor.biz] Sent: 16 December 2003 13:25 To: interchange-users@icdevgroup.org Subject: RE: [ic] interchange.rtfm.info John Allman [allmanj@houseofireland.com] wrote: > The site http://www.interchange.rtfm.info seems to be suffering from dns > problems. I'm just wondering if the content is mirrored anywhere so i > can get at it until these problems are fixed? Or is that site > permanently down now? Has the content been moved? > I was wondering if anyone would notice. :-) The machine is down at the moment while I perform some upgrades and other maintenance. It should be back up later today, if all goes well. Of course it was noticed. It is the central repository for all good information about interchange :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From mstearne at entermix.com Tue Dec 16 10:26:08 2003 From: mstearne at entermix.com (Michael Stearne) Date: Tue Dec 16 10:26:16 2003 Subject: [ic] PHD Degrees In-Reply-To: <3FDE911B.905AA194@inti.edu.my> References: <3FDE911B.905AA194@inti.edu.my> Message-ID: <2BEA0863-2FDC-11D8-B164-000A95CD9C5A@entermix.com> On Dec 15, 2003, at 11:59 PM, Nawin Rajah wrote: > Greetings, > > I need a PHD degree in Economics issued by University Putra Malaysia, > and would provide u with a template logo and the necessary signatures. > E-mail me at nawin600@hotmail.com with your charges. A testimonial > letter is also needed. > Make that two. But make mine from the Wharton School. Michael > Thanks > > > ####################################################################### > ############## > Note: > This message is for the named person's use only. It may contain > confidential, > proprietary or legally privileged information. No confidentiality or > privilege > is waived or lost by any mistransmission. If you receive this message > in error, > please immediately delete it and all copies of it from your system, > destroy any > hard copies of it and notify the sender. You must not, directly or > indirectly, > use, disclose, distribute, print, or copy any part of this message if > you are not > the intended recipient. INTI COLLEGE and any of its subsidiaries each > reserve > the right to monitor all e-mail communications through its networks. > > Any views expressed in this message are those of the individual > sender, except where > the message states otherwise and the sender is authorized to state > them to be the > views of any such entity. > > Thank You. > ####################################################################### > ############## > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From listbox at email.com Tue Dec 16 12:24:17 2003 From: listbox at email.com (Grant) Date: Tue Dec 16 12:24:27 2003 Subject: [ic] eBay API help needed In-Reply-To: Message-ID: > Hello, > > I am not sure what this board is for. But I did see some questions about > the eBay API and since I have some, I thought I would post here. > > I have tried several examples from 100 eBay Hacks and some code samples > posted on the ebay website, but can't get them to work. I always get the > following error. > > 500 Can't connect to api-test.ebay.com:443 (Bad protocol 'tcp') > > Can someone help?? I am including some code below -- I have blanked out > userids and passwords. > > Thanks, > > Saleem > > #!/usr/bin/perl > > use strict; > use LWP::UserAgent; > use HTTP::Request; > use HTTP::Headers; > > my $objUserAgent = LWP::UserAgent->new; > my $objHeader = HTTP::Headers->new; > > $objHeader->push_header('X-EBAY-API-COMPATIBILITY-LEVEL' => '245'); > $objHeader->push_header('X-EBAY-API-SESSION-CERTIFICATE' => > '[DEVID];[APPID];[CERTID]'); > > my $request = " > > [USERID] > > [PASSWORD] > 1 > 0 > GeteBayOfficialTime > "; > > my $objRequest = HTTP::Request->new("POST", > 'https://api-test.ebay.com/aw-cgi/api.dll', $objHeader, $request); > my $objResponse = $objUserAgent->request($objRequest); > > if (!$objResponse->is_error) > { > print $objResponse->content; > } > else > { > print $objResponse->error_as_HTML; > } Are you using Interchange? - Grant From allmanj at houseofireland.com Tue Dec 16 12:37:05 2003 From: allmanj at houseofireland.com (John Allman) Date: Tue Dec 16 12:26:09 2003 Subject: [ic] Manually setting $Config->{ProductFiles} Message-ID: <3FDF42C1.7020302@houseofireland.com> Hi - i was hoping to do something very similar to that described in http://www.icdevgroup.org/pipermail/interchange-users/2000-October/001364.html but unfortunately it appears that the issue got sidetracked in subsequent posts. I want to normally have only one table, products. But if a certain condition is met i want interchange to also start reading from another table. I have a piece of perl code which, if the condition is met, overrides $Config->{ProductFiles} i manually set @{$Config->{ProductFiles}} = ("products","newproducts"); i can then confirm that $Config->{ProductFiles}[0] is products and $Config->{ProductFiles}[1] is newproducts. Before that $Config->{ProductFiles}[1] is unset and $Config->{ProductFiles}[0] is products. In order to get this down to as simple a situation as possible i put a perl block with @{$Config->{ProductFiles}} = ("products","newproducts"); at the start of flypage.html (no condition checking, it just overrides it regardless) and then tried to directly access the product page of a product which only exists in newproducts. This didn't work. What am i missing? Is it possible to override ProductFiles like this? What else should i be doing? thanks John Allman From mike at perusion.com Tue Dec 16 13:05:37 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 16 13:05:50 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <3FDF42C1.7020302@houseofireland.com> References: <3FDF42C1.7020302@houseofireland.com> Message-ID: <20031216180537.GA17024@bill.heins.net> Quoting John Allman (allmanj@houseofireland.com): > Hi - i was hoping to do something very similar to that described in > http://www.icdevgroup.org/pipermail/interchange-users/2000-October/001364.html > but unfortunately it appears that the issue got sidetracked in subsequent > posts. > > I want to normally have only one table, products. But if a certain > condition is met i want interchange to also start reading from another > table. > > I have a piece of perl code which, if the condition is met, overrides > $Config->{ProductFiles} > > i manually set @{$Config->{ProductFiles}} = ("products","newproducts"); > > i can then confirm that $Config->{ProductFiles}[0] is products and > $Config->{ProductFiles}[1] is newproducts. Before that > $Config->{ProductFiles}[1] is unset and $Config->{ProductFiles}[0] is > products. > > In order to get this down to as simple a situation as possible i put a > perl block with @{$Config->{ProductFiles}} = ("products","newproducts"); > at the start of flypage.html (no condition checking, it just overrides > it regardless) and then tried to directly access the product page of a > product which only exists in newproducts. This didn't work. > > What am i missing? Is it possible to override ProductFiles like this? > What else should i be doing? It is not possible in embedded Perl. If you set it then went global and called Vend::Data::update_productbase(), it would take effect. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From mike at perusion.com Tue Dec 16 13:17:40 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 16 13:17:54 2003 Subject: [ic] Critical security patch for Interchange 4.8.x Message-ID: <20031216181740.GA17106@bill.heins.net> There has been a security hole found in Interchange 4.8.x, and it may also apply to early Interchange 4.9 series systems. Interchange 5.0 is not vulnerable in the default foundation, but it can be vulnerable when @@MV_PREV_PAGE@@ is placed in a reachable page. This could be the case when an Interchange 4.8 catalog was ported to 4.9 or 5.0. If exploited, the hole can cause arbitrary ITL execution on the system, and puts your data at risk of loss or compromise. Interchange 4.8.8 has been released, and it fixes the problem. It should be a very low-risk update for anything after Interchange 4.8.4. Tar is at: http://ftp.icdevgroup.org/interchange/4.8/tar/interchange-4.8.8.tar.gz RPMS at: http://ftp.icdevgroup.org/interchange/4.8/rpm/ To work around the problem without updating, make sure you remove all references to @@MV_PREV_PAGE@@ in all pages -- in the standard foundation this is found in special_pages/missing.html and special_pages/violation.html. It can be replaced with [subject] if you have Interchange 4.8.3 or higher or any Interchage 4.9. Interchange 4.8.8 has been released, and it fixes the problem. It should be a very low-risk update for anything after Interchange 4.8.4. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Some people have twenty years of experience, some people have one year of experience twenty times over. -- Anonymous From tim.g at edsd.com Tue Dec 16 14:03:30 2003 From: tim.g at edsd.com (Tim Good) Date: Tue Dec 16 14:00:52 2003 Subject: [ic] Scheduling module -- so far In-Reply-To: <20031212225859.GA2609@bill.heins.net> Message-ID: <000001c3c407$4b473980$02080a0a@TIM> Ok all, I intend on sharing my travels through developing a scheduling / rental module for interchange. I have seen other posts concerning /wanting such a module so here's my attempt. Due to the fact I am new to IC tags and Perl language, I intend on developing functionality first then optimizing code later unless someone has a suggestion. ALL input and help is very welcome. I have developed a usertag called cal.tag, 4 new fields in the transactions table (delivery_date, delivery_time, pickup_date, pickup_time), two new menu tabs in Orders (Delivery, Pickup), and template pages corresponding to menu tabs. Intentions: 1) Intended use -> Party equipment rental. 2) Quote compilation according to available items in non-rented inventory. 3) Restocking of items upon return from rental (with a cleaning period before available). 4) Limited daily schedule for items to be delivered and for items to be picked up. 5) maybe more to come after base (baby steps eh). The user tag is as follows: UserTag cal Order year month UserTag cal addAttr UserTag cal Documentation <convert_date( { raw => 1, body => $cal_day } ); my $sql = "select fname,lname from transactions where order_ymd like $today"; my ($results, $col_name_hashref, $col_name_arrayref) = $Tag->query({ wantarray => 1, sql => $sql, table => "transactions"}); my $out = ''; #loop through each row & display the days scheduled deliveries. for (my $row=0; $row <= $#$results; $row++) { $out .= '
' . $results->[$row]->[0]; $out .= ' ' . $results->[$row]->[1]; } return $out; }; my @month_names = ( 'null', 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december' ); my @days_in_month = ( 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,); my $leap_year; $leap_year = sub { my( $year ) = @_; my( %leaps ) = ( 1972 => 1972, 1976 => 1976, 1980 => 1980, 1984 => 1984, 1988 => 1988, 1992 => 1992, 1996 => 1996, 2000 => 2000, 2004 => 2004, 2008 => 2008, 2012 => 2012, 2016 => 2016, 2020 => 2020, 2024 => 2024, 2028 => 2028, 2032 => 2032, 2036 => 2036, 2040 => 2040, 2044 => 2044, 2048 => 2048, ); return 1 if $leaps{ $year }; return 0; }; my $perpetual_calendar; $perpetual_calendar = sub { # # This perpetual calendar was detailed on a wallet-sized card published # by Arthur A. Merrill and Popular Science in 1952. # # This subroutine takes the month and year as arguments and returns what # "type" of month it is [0-6]. Not coincidently, this is also the day of # the week the month starts on, where Sunday is a "0" and Saturday is a "6". # my( $year, $month ) = @_; my %year_code = ( '1970'=>'D', '1971'=>'E', '1972'=>'M', '1973'=>'A', '1974'=>'B', '1975'=>'C', '1976'=>'K', '1977'=>'F', '1978'=>'G', '1979'=>'A', '1980'=>'I', '1981'=>'D', '1982'=>'E', '1983'=>'F', '1984'=>'N', '1985'=>'B', '1986'=>'C', '1987'=>'D', '1988'=>'L', '1989'=>'G', '1990'=>'A', '1991'=>'B', '1992'=>'J', '1993'=>'E', '1994'=>'F', '1995'=>'G', '1996'=>'H', '1997'=>'C', '1998'=>'D', '1999'=>'E', '2000'=>'M', '2001'=>'A', '2002'=>'B', '2003'=>'C', '2004'=>'K', '2005'=>'F', '2006'=>'G', '2007'=>'A', '2008'=>'I', '2009'=>'D', '2010'=>'E', '2011'=>'F', '2012'=>'N', '2013'=>'B', '2014'=>'C', '2015'=>'D', '2016'=>'L', '2017'=>'G', '2018'=>'A', '2019'=>'B', '2020'=>'J', '2021'=>'E', '2022'=>'F', '2023'=>'G', '2024'=>'H', '2025'=>'C', '2026'=>'D', '2027'=>'E', '2028'=>'M', '2029'=>'A', '2030'=>'B', '2031'=>'C', '2032'=>'K', '2033'=>'F', '2034'=>'G', '2035'=>'A', '2036'=>'I', '2037'=>'D', '2038'=>'E', '2039'=>'F', '2040'=>'N', '2041'=>'B', '2042'=>'C', '2043'=>'D', '2044'=>'L', '2045'=>'G', '2046'=>'A', '2047'=>'B', '2048'=>'J', '2049'=>'E', ); my $calendar = 0; if ( $month == 1 ) { if ( $year_code{$year} =~ /[EL]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[GN]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[DK]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[AH]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[CJ]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[BI]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[FM]/ ) { $calendar = 6 } } elsif ( $month == 2 ) { if ( $year_code{$year} =~ /[BI]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[DK]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[AH]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[EL]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[GN]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[FM]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[CJ]/ ) { $calendar = 6 } } elsif ( $month == 3 ) { if ( $year_code{$year} =~ /[BH]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 6 } } elsif ( $month == 4 ) { if ( $year_code{$year} =~ /[FL]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 6 } } elsif ( $month == 5 ) { if ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 6 } } elsif ( $month == 6 ) { if ( $year_code{$year} =~ /[AN]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 6 } } elsif ( $month == 7 ) { if ( $year_code{$year} =~ /[FL]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 6 } } elsif ( $month == 8 ) { if ( $year_code{$year} =~ /[CI]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 6 } } elsif ( $month == 9 ) { if ( $year_code{$year} =~ /[GM]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 6 } } elsif ( $month == 10 ) { if ( $year_code{$year} =~ /[EK]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 6 } } elsif ( $month == 11 ) { if ( $year_code{$year} =~ /[BH]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 6 } } elsif ( $month == 12 ) { if ( $year_code{$year} =~ /[GM]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 6 } } return $calendar; }; #----------------------------------------------------------- --------------- my $sensible_dates; $sensible_dates = sub { my( $mod_year, $mod_month ) = @_; # # verify and adjust the month according to the desired month or modifier # my $month = 1 + (localtime(time))[4]; if ( $mod_month =~ /jan/i ) { $month = 1; } elsif ( $mod_month =~ /feb/i ) { $month = 2; } elsif ( $mod_month =~ /mar/i ) { $month = 3; } elsif ( $mod_month =~ /apr/i ) { $month = 4; } elsif ( $mod_month =~ /may/i ) { $month = 5; } elsif ( $mod_month =~ /jun/i ) { $month = 6; } elsif ( $mod_month =~ /jul/i ) { $month = 7; } elsif ( $mod_month =~ /aug/i ) { $month = 8; } elsif ( $mod_month =~ /sep/i ) { $month = 9; } elsif ( $mod_month =~ /oct/i ) { $month = 10; } elsif ( $mod_month =~ /nov/i ) { $month = 11; } elsif ( $mod_month =~ /dec/i ) { $month = 12; } if ( $mod_month =~ /next/i ) { if ( $month == 12 ) { $month = 1; $mod_year += 1; } else { $month += 1; } } elsif ( $mod_month =~ /prev/i ) { if ( $month == 1 ) { $month = 12; $mod_year -= 1; } else { $month -= 1; } } elsif ( $mod_month =~ /^\d+$/ ) { if (($mod_month > 0) and ($mod_month < 13)) { $month = $mod_month; } } # # verify and adjust the year according to the modifiers # my $year = 1900 + (localtime(time))[5]; if ( $mod_year =~ /next/i ) { $year += 1; } elsif ( $mod_year =~ /prev/i ) { $year -= 1; } elsif ( $mod_year =~ /^\d{4}$/ ) { $year = $mod_year; } return( $year, $month ); }; my $build_next_month_href; $build_next_month_href = sub { # # build the href for the "next month" link # my( $url, $year, $month ) = @_; if ( $month == 12 ) { $month = 1; $year += 1; } else { $month += 1; } return qq|$url?month=$month_names[$month]&year=$year|; }; # ------------------------------------------------------------ ---------- my $build_previous_month_href; $build_previous_month_href = sub { # # build the href for the "previous month" link # my( $url, $year, $month ) = @_; if ( $month == 1 ) { $month = 12; $year -= 1; } else { $month -= 1; } return qq|$url?month=$month_names[$month]&year=$year|; }; # ------------------------------------------------------------ ---------- my( $year, $month ) = $sensible_dates->( $in_year,$in_month ); my $url = $ENV{'SCRIPT_NAME'}; my $prev_href = $build_previous_month_href->( $url, $year, $month ); my $next_href = $build_next_month_href->( $url, $year, $month ); # # Let's figure out the table decorations. Stylesheets are preferred, # but background colors will be tolerated. # my $head_attribute = 'CLASS="heading"'; $head_attribute = qq|BGCOLOR="blue"|; my $event_attribute = 'CLASS="event"'; $event_attribute = qq|BGCOLOR="yellow"|; my $cell_attribute = 'CLASS="cell"'; $cell_attribute = qq|BGCOLOR="green"|; # find the cellpadding and cellspacing, if desired my $cellpadding = ''; my $cellspacing = ''; $cellpadding = qq|CELLPADDING="2"|; $cellspacing = qq|CELLSPACING="2"|; # find the table and cell sizes if desired my $table_width = ''; my $cell_width = ''; my $width = 400; if ( $width =~ /^\d+$/ ) { $cell_width = qq|WIDTH="| . int($width/7) . qq|"|; } else { $cell_width = 'WIDTH="15%"'; } $table_width = qq|WIDTH="$width"|; my $cell_height = ''; $cell_height .= qq|HEIGHT="55"|; # put together the heading of the table my $table = <<"EOH";
 Remove SKU Description Quantity Price Extension 
EOH # the cell headings with the days of the week $table .= <<"EOH"; EOH # # the space before the first day of the table # my $first_day = $perpetual_calendar->( $year, $month ); if ( $first_day > 0 ) { $table .= <<"EOH"; EOH } # # show the "meat" of table # my $week_count = $first_day; my $days_in_this_month = $days_in_month[$month]; if ( $month == 2 and $leap_year->( $year ) ) { $days_in_this_month = 29; } for ( my $count = 1; $count <= $days_in_this_month; $count++ ) { my $today = $year.$month.$count; my $sched = $get_schedule->($today); $table .= <<"EOH"; EOH $week_count++; if ( $week_count == 7 and $count < $days_in_this_month) { $table .= qq|\n\n|; $week_count = 0; } } # # add the remainder cells -- " " keeps the cell from collapsing # if ( $week_count < 7 ) { my $days_left = 7 - $week_count; $table .= <<"EOH"; EOH } $table .= qq|
Previous Month \u$month_names[$month] $year Next Month
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
  $count
$sched;
 
\n|; return $table; } EOR Hope this helps someone, Tim From tim.g at edsd.com Tue Dec 16 14:09:08 2003 From: tim.g at edsd.com (Tim Good) Date: Tue Dec 16 14:06:28 2003 Subject: [ic] Scheduling module -- so far Message-ID: <000101c3c408$14d82d40$02080a0a@TIM> Ok all, I intend on sharing my travels through developing a scheduling / rental module for interchange. I have seen other posts concerning /wanting such a module so here's my attempt. Due to the fact I am new to IC tags and Perl language, I intend on developing functionality first then optimizing code later unless someone has a suggestion. ALL input and help is very welcome. I have developed a usertag called cal.tag, 4 new fields in the transactions table (delivery_date, delivery_time, pickup_date, pickup_time), two new menu tabs in Orders (Delivery, Pickup), and template pages corresponding to menu tabs. Intentions: 1) Intended use -> Party equipment rental. 2) Quote compilation according to available items in non-rented inventory. 3) Restocking of items upon return from rental (with a cleaning period before available). 4) Limited daily schedule for items to be delivered and for items to be picked up. 5) maybe more to come after base (baby steps eh). The user tag is as follows: UserTag cal Order year month UserTag cal addAttr UserTag cal Documentation <convert_date( { raw => 1, body => $cal_day } ); my $sql = "select fname,lname from transactions where order_ymd like $today"; my ($results, $col_name_hashref, $col_name_arrayref) = $Tag->query({ wantarray => 1, sql => $sql, table => "transactions"}); my $out = ''; #loop through each row & display the days scheduled deliveries. for (my $row=0; $row <= $#$results; $row++) { $out .= '
' . $results->[$row]->[0]; $out .= ' ' . $results->[$row]->[1]; } return $out; }; my @month_names = ( 'null', 'january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december' ); my @days_in_month = ( 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,); my $leap_year; $leap_year = sub { my( $year ) = @_; my( %leaps ) = ( 1972 => 1972, 1976 => 1976, 1980 => 1980, 1984 => 1984, 1988 => 1988, 1992 => 1992, 1996 => 1996, 2000 => 2000, 2004 => 2004, 2008 => 2008, 2012 => 2012, 2016 => 2016, 2020 => 2020, 2024 => 2024, 2028 => 2028, 2032 => 2032, 2036 => 2036, 2040 => 2040, 2044 => 2044, 2048 => 2048, ); return 1 if $leaps{ $year }; return 0; }; my $perpetual_calendar; $perpetual_calendar = sub { # # This perpetual calendar was detailed on a wallet-sized card published # by Arthur A. Merrill and Popular Science in 1952. # # This subroutine takes the month and year as arguments and returns what # "type" of month it is [0-6]. Not coincidently, this is also the day of # the week the month starts on, where Sunday is a "0" and Saturday is a "6". # my( $year, $month ) = @_; my %year_code = ( '1970'=>'D', '1971'=>'E', '1972'=>'M', '1973'=>'A', '1974'=>'B', '1975'=>'C', '1976'=>'K', '1977'=>'F', '1978'=>'G', '1979'=>'A', '1980'=>'I', '1981'=>'D', '1982'=>'E', '1983'=>'F', '1984'=>'N', '1985'=>'B', '1986'=>'C', '1987'=>'D', '1988'=>'L', '1989'=>'G', '1990'=>'A', '1991'=>'B', '1992'=>'J', '1993'=>'E', '1994'=>'F', '1995'=>'G', '1996'=>'H', '1997'=>'C', '1998'=>'D', '1999'=>'E', '2000'=>'M', '2001'=>'A', '2002'=>'B', '2003'=>'C', '2004'=>'K', '2005'=>'F', '2006'=>'G', '2007'=>'A', '2008'=>'I', '2009'=>'D', '2010'=>'E', '2011'=>'F', '2012'=>'N', '2013'=>'B', '2014'=>'C', '2015'=>'D', '2016'=>'L', '2017'=>'G', '2018'=>'A', '2019'=>'B', '2020'=>'J', '2021'=>'E', '2022'=>'F', '2023'=>'G', '2024'=>'H', '2025'=>'C', '2026'=>'D', '2027'=>'E', '2028'=>'M', '2029'=>'A', '2030'=>'B', '2031'=>'C', '2032'=>'K', '2033'=>'F', '2034'=>'G', '2035'=>'A', '2036'=>'I', '2037'=>'D', '2038'=>'E', '2039'=>'F', '2040'=>'N', '2041'=>'B', '2042'=>'C', '2043'=>'D', '2044'=>'L', '2045'=>'G', '2046'=>'A', '2047'=>'B', '2048'=>'J', '2049'=>'E', ); my $calendar = 0; if ( $month == 1 ) { if ( $year_code{$year} =~ /[EL]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[GN]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[DK]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[AH]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[CJ]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[BI]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[FM]/ ) { $calendar = 6 } } elsif ( $month == 2 ) { if ( $year_code{$year} =~ /[BI]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[DK]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[AH]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[EL]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[GN]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[FM]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[CJ]/ ) { $calendar = 6 } } elsif ( $month == 3 ) { if ( $year_code{$year} =~ /[BH]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 6 } } elsif ( $month == 4 ) { if ( $year_code{$year} =~ /[FL]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 6 } } elsif ( $month == 5 ) { if ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 6 } } elsif ( $month == 6 ) { if ( $year_code{$year} =~ /[AN]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 6 } } elsif ( $month == 7 ) { if ( $year_code{$year} =~ /[FL]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 6 } } elsif ( $month == 8 ) { if ( $year_code{$year} =~ /[CI]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 6 } } elsif ( $month == 9 ) { if ( $year_code{$year} =~ /[GM]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 6 } } elsif ( $month == 10 ) { if ( $year_code{$year} =~ /[EK]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 6 } } elsif ( $month == 11 ) { if ( $year_code{$year} =~ /[BH]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[GM]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 6 } } elsif ( $month == 12 ) { if ( $year_code{$year} =~ /[GM]/ ) { $calendar = 5 } elsif ( $year_code{$year} =~ /[BH]/ ) { $calendar = 0 } elsif ( $year_code{$year} =~ /[FL]/ ) { $calendar = 4 } elsif ( $year_code{$year} =~ /[CI]/ ) { $calendar = 1 } elsif ( $year_code{$year} =~ /[EK]/ ) { $calendar = 3 } elsif ( $year_code{$year} =~ /[DJ]/ ) { $calendar = 2 } elsif ( $year_code{$year} =~ /[AN]/ ) { $calendar = 6 } } return $calendar; }; #----------------------------------------------------------- --------------- my $sensible_dates; $sensible_dates = sub { my( $mod_year, $mod_month ) = @_; # # verify and adjust the month according to the desired month or modifier # my $month = 1 + (localtime(time))[4]; if ( $mod_month =~ /jan/i ) { $month = 1; } elsif ( $mod_month =~ /feb/i ) { $month = 2; } elsif ( $mod_month =~ /mar/i ) { $month = 3; } elsif ( $mod_month =~ /apr/i ) { $month = 4; } elsif ( $mod_month =~ /may/i ) { $month = 5; } elsif ( $mod_month =~ /jun/i ) { $month = 6; } elsif ( $mod_month =~ /jul/i ) { $month = 7; } elsif ( $mod_month =~ /aug/i ) { $month = 8; } elsif ( $mod_month =~ /sep/i ) { $month = 9; } elsif ( $mod_month =~ /oct/i ) { $month = 10; } elsif ( $mod_month =~ /nov/i ) { $month = 11; } elsif ( $mod_month =~ /dec/i ) { $month = 12; } if ( $mod_month =~ /next/i ) { if ( $month == 12 ) { $month = 1; $mod_year += 1; } else { $month += 1; } } elsif ( $mod_month =~ /prev/i ) { if ( $month == 1 ) { $month = 12; $mod_year -= 1; } else { $month -= 1; } } elsif ( $mod_month =~ /^\d+$/ ) { if (($mod_month > 0) and ($mod_month < 13)) { $month = $mod_month; } } # # verify and adjust the year according to the modifiers # my $year = 1900 + (localtime(time))[5]; if ( $mod_year =~ /next/i ) { $year += 1; } elsif ( $mod_year =~ /prev/i ) { $year -= 1; } elsif ( $mod_year =~ /^\d{4}$/ ) { $year = $mod_year; } return( $year, $month ); }; my $build_next_month_href; $build_next_month_href = sub { # # build the href for the "next month" link # my( $url, $year, $month ) = @_; if ( $month == 12 ) { $month = 1; $year += 1; } else { $month += 1; } return qq|$url?month=$month_names[$month]&year=$year|; }; # ------------------------------------------------------------ ---------- my $build_previous_month_href; $build_previous_month_href = sub { # # build the href for the "previous month" link # my( $url, $year, $month ) = @_; if ( $month == 1 ) { $month = 12; $year -= 1; } else { $month -= 1; } return qq|$url?month=$month_names[$month]&year=$year|; }; # ------------------------------------------------------------ ---------- my( $year, $month ) = $sensible_dates->( $in_year,$in_month ); my $url = $ENV{'SCRIPT_NAME'}; my $prev_href = $build_previous_month_href->( $url, $year, $month ); my $next_href = $build_next_month_href->( $url, $year, $month ); # # Let's figure out the table decorations. Stylesheets are preferred, # but background colors will be tolerated. # my $head_attribute = 'CLASS="heading"'; $head_attribute = qq|BGCOLOR="blue"|; my $event_attribute = 'CLASS="event"'; $event_attribute = qq|BGCOLOR="yellow"|; my $cell_attribute = 'CLASS="cell"'; $cell_attribute = qq|BGCOLOR="green"|; # find the cellpadding and cellspacing, if desired my $cellpadding = ''; my $cellspacing = ''; $cellpadding = qq|CELLPADDING="2"|; $cellspacing = qq|CELLSPACING="2"|; # find the table and cell sizes if desired my $table_width = ''; my $cell_width = ''; my $width = 400; if ( $width =~ /^\d+$/ ) { $cell_width = qq|WIDTH="| . int($width/7) . qq|"|; } else { $cell_width = 'WIDTH="15%"'; } $table_width = qq|WIDTH="$width"|; my $cell_height = ''; $cell_height .= qq|HEIGHT="55"|; # put together the heading of the table my $table = <<"EOH"; EOH # the cell headings with the days of the week $table .= <<"EOH"; EOH # # the space before the first day of the table # my $first_day = $perpetual_calendar->( $year, $month ); if ( $first_day > 0 ) { $table .= <<"EOH"; EOH } # # show the "meat" of table # my $week_count = $first_day; my $days_in_this_month = $days_in_month[$month]; if ( $month == 2 and $leap_year->( $year ) ) { $days_in_this_month = 29; } for ( my $count = 1; $count <= $days_in_this_month; $count++ ) { my $today = $year.$month.$count; my $sched = $get_schedule->($today); $table .= <<"EOH"; EOH $week_count++; if ( $week_count == 7 and $count < $days_in_this_month) { $table .= qq|\n\n|; $week_count = 0; } } # # add the remainder cells -- " " keeps the cell from collapsing # if ( $week_count < 7 ) { my $days_left = 7 - $week_count; $table .= <<"EOH"; EOH } $table .= qq|
Previous Month \u$month_names[$month] $year Next Month
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
  $count
$sched;
 
\n|; return $table; } EOR Hope this helps someone, Tim From michaeltodd at galli-glazier.com Tue Dec 16 14:41:39 2003 From: michaeltodd at galli-glazier.com (Michael Todd Glazier) Date: Tue Dec 16 14:42:30 2003 Subject: [ic] RE: Interchange 5.0.0 release In-Reply-To: <200312161710.hBGH9IFW004328@icdevgroup.org> References: <200312161710.hBGH9IFW004328@icdevgroup.org> Message-ID: I saw mention of a fix for threaded Perl under Debian. Does this mean, or not mean, that 5.0 will work with the stock Perl in Redhat Linux Enterprise? Best, mt -- Michael Todd Glazier Glazier Group Design Las Vegas 702 616 3663 voice 702 616 3039 fax Design ( Technology http://www.galli-glazier.com/ From stephan.becker at blue-imotion.de Tue Dec 16 15:19:02 2003 From: stephan.becker at blue-imotion.de (Stephan Becker) Date: Tue Dec 16 15:17:39 2003 Subject: [ic] COD Payment/Handling Charge In-Reply-To: Message-ID: <003d01c3c411$dc8f8ff0$1e00a8c0@harlekin> Hello *, Actually I have a problem how to configure COD Charges. If I select COD as Payment IC shows a line that a amount of 0.00$ will be added. Where and how I have to specify this amount ? Within new_browser_payment I found: [msg arg.0="[handling cod]"]There will be a %s charge added for COD.[/msg] I skimmed the whole documentation for a enlighting description how [handling] is to be used. But I found no clue (at least I was not able to understand the example given for mv_handling). Anyone there who can help me out of this pit ? Regards Stephan Blue-iMotion Business Online Gesch?ftsstelle Wiesbaden Stra?e der Republik 28 D-65203 Wiesbaden Privat (0611) 205 1027 Mobil (0163) 205 1028 Fax/AB (012126) 78 23 25 37 oder (012126) STBECKER eMail stephan.becker@blue-imotion.de www http://www.Blue-iMotion.de [Diese E-Mail wurde vor Versand automatisch auf Viren ?berpr?ft] From draco at edsd.com Tue Dec 16 17:07:50 2003 From: draco at edsd.com (Tim Good) Date: Tue Dec 16 17:05:07 2003 Subject: [ic] Area tag? Message-ID: <000001c3c421$0bb37120$02080a0a@TIM> hello, I am looking a 5.0 tag reference and wondering is this the proper way to pass the order # to the order_view page using the area tag, where($results->[$row]->[2]) is the order #: $link = $Tag->area( { href => "admin/order_view", arg => "order=$results->[$row]->[2]", } ); Resulting link: www.website.com/cgi-bin/scriptname/admin/order_view.html?id= xxIsd4hg&mv_arg=order%3d00011&mv_pc=2890 The resulting link hints this is incorrect so I am wondering what would be the right way. Interchange 4.9.9, perl 5.8.2(no threads), redhat 8.0 Thanks, Tim From david.radovanovic at verizon.net Tue Dec 16 17:36:23 2003 From: david.radovanovic at verizon.net (David Radovanovic) Date: Tue Dec 16 17:36:48 2003 Subject: [ic] Encryption not needed? In-Reply-To: <003d01c3c411$dc8f8ff0$1e00a8c0@harlekin> Message-ID: Hello, Installed Interchange 4.8.7 several weeks ago and finished redesigning the user interface (using the foundation demo); templates, pages, databases, etc. The site was built for a customer who sells supplies to hospitals, hmos, etc. Originally it was meant to be open to the general public however things have changed (who could have guessed) and the site will be accessed via password only by one of their clients that has several dozen "centers" that supply their own customers throughout the US. Each "center" will username/password access. There will be no payments or payment information given since purchases will be billed as a "AR" account. Encryption isn't necessary (or is it?). After the "center" employee (customer) logs in, all the shipping and account information will be pre-populated in the data/forms displayed on the pages, though not changeable/editable (by the "center" employee). The Order Number will be formatted to include the date,time,and "center" code, i.e. Order Number: 12160314-539. The newbie questions are as follows: 1. Since encryption isn't needed, is there simple way to by-pass the security-specific functions? 2. Can I reformat the order number as specified? 3. How do I set the "demo" site live without encryption enabled? I've searched in vain and any help is very much appreciated. Thanks for a FANTASTIC app :) David Radovanovic WhatsTheBigIdea.com, Inc. -- Bright ideas for the Web! 249 Partition Street Saugerties, New York 12477 (845) 247-0909, FAX: (845) 246-3880 http://www.WhatsTheBigIdea.com -----Original Message----- From: interchange-users-bounces@icdevgroup.org [mailto:interchange-users-bounces@icdevgroup.org]On Behalf Of Stephan Becker Sent: Tuesday, December 16, 2003 3:19 PM To: interchange-users@icdevgroup.org Subject: [ic] COD Payment/Handling Charge Hello *, Actually I have a problem how to configure COD Charges. If I select COD as Payment IC shows a line that a amount of 0.00$ will be added. Where and how I have to specify this amount ? Within new_browser_payment I found: [msg arg.0="[handling cod]"]There will be a %s charge added for COD.[/msg] I skimmed the whole documentation for a enlighting description how [handling] is to be used. But I found no clue (at least I was not able to understand the example given for mv_handling). Anyone there who can help me out of this pit ? Regards Stephan Blue-iMotion Business Online Gesch?ftsstelle Wiesbaden Stra?e der Republik 28 D-65203 Wiesbaden Privat (0611) 205 1027 Mobil (0163) 205 1028 Fax/AB (012126) 78 23 25 37 oder (012126) STBECKER eMail stephan.becker@blue-imotion.de www http://www.Blue-iMotion.de [Diese E-Mail wurde vor Versand automatisch auf Viren ?berpr?ft] _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From mike at perusion.com Tue Dec 16 17:39:43 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 16 17:39:53 2003 Subject: [ic] Area tag? In-Reply-To: <000001c3c421$0bb37120$02080a0a@TIM> References: <000001c3c421$0bb37120$02080a0a@TIM> Message-ID: <20031216223943.GA22817@bill.heins.net> Quoting Tim Good (draco@edsd.com): > hello, > > I am looking a 5.0 tag reference and wondering is > this the proper way to pass the order # to the > order_view page using the area tag, > where($results->[$row]->[2]) > is the order #: > > $link = $Tag->area( { href => "admin/order_view", > arg => "order=$results->[$row]->[2]", } ); > > Resulting link: > www.website.com/cgi-bin/scriptname/admin/order_view.html?id= > xxIsd4hg&mv_arg=order%3d00011&mv_pc=2890 > > The resulting link hints this is incorrect so I am > wondering what would be the right way. my $link = $Tag->area({ href => "admin/order_view", form => "order=$results->[$row]->[2]", }); -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Friends don't let friends use Outlook. -- Bob Blaylock From tim.g at edsd.com Tue Dec 16 18:11:16 2003 From: tim.g at edsd.com (Tim Good) Date: Tue Dec 16 18:08:31 2003 Subject: [ic] Area tag? In-Reply-To: <20031216223943.GA22817@bill.heins.net> Message-ID: <000201c3c429$e8a29c20$02080a0a@TIM> > Quoting Tim Good (draco@edsd.com): > > hello, > > > > I am looking a 5.0 tag reference and wondering is > > this the proper way to pass the order # to the > > order_view page using the area tag, > > where($results->[$row]->[2]) > > is the order #: > > > > $link = $Tag->area( { href => "admin/order_view", > > arg => "order=$results->[$row]->[2]", } ); > > > > Resulting link: > > www.website.com/cgi-bin/scriptname/admin/order_view.html?id= > > xxIsd4hg&mv_arg=order%3d00011&mv_pc=2890 > > > > The resulting link hints this is incorrect so I am > > wondering what would be the right way. > > my $link = $Tag->area({ > href => "admin/order_view", > form => "order=$results->[$row]->[2]", > }); > > -- > Mike Heins Mike, as always, thank you tim From sstreich at streichs.com Tue Dec 16 18:38:39 2003 From: sstreich at streichs.com (Steve Streich) Date: Tue Dec 16 18:39:20 2003 Subject: [ic] COD Payment/Handling Charge References: <003d01c3c411$dc8f8ff0$1e00a8c0@harlekin> Message-ID: <000401c3c42d$cd176220$0100a8c0@steve> In my shipping.asc file I added these lines to include handling based on a dollar value per order: handling Handling Charge [subtotal noformat=1] 0 0 0 {'PriceDivide' => "1",} handling Handling Charge [subtotal noformat=1] .01 14.99 1.50 {'PriceDivide' => "1",} handling Handling Charge [subtotal noformat=1] 15.00 29.99 1.15 {'PriceDivide' => "1",} handling Handling Charge [subtotal noformat=1] 30.00 49.99 0.75 {'PriceDivide' => "1",} Then set the handling in the catalog.cfg file. ----- Original Message ----- From: "Stephan Becker" To: Sent: Tuesday, December 16, 2003 3:19 PM Subject: [ic] COD Payment/Handling Charge > Hello *, > > Actually I have a problem how to configure COD Charges. > > If I select COD as Payment IC shows a line that a amount of 0.00$ will > be added. > Where and how I have to specify this amount ? > > Within new_browser_payment I found: > > [msg arg.0="[handling cod]"]There will be a %s charge added for > COD.[/msg] > > I skimmed the whole documentation for a enlighting description how > [handling] is to be used. > But I found no clue (at least I was not able to understand the example > given for mv_handling). > > Anyone there who can help me out of this pit ? > > Regards > Stephan > > > Blue-iMotion Business Online > Gesch?ftsstelle Wiesbaden > Stra?e der Republik 28 > D-65203 Wiesbaden > > Privat (0611) 205 1027 > Mobil (0163) 205 1028 > Fax/AB (012126) 78 23 25 37 oder (012126) STBECKER > eMail stephan.becker@blue-imotion.de > www http://www.Blue-iMotion.de > > [Diese E-Mail wurde vor Versand automatisch auf Viren ?berpr?ft] > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003 From prtyof5 at attglobal.net Tue Dec 16 22:46:01 2003 From: prtyof5 at attglobal.net (Jon) Date: Tue Dec 16 22:47:13 2003 Subject: [ic] Renamed and new Results.html Message-ID: <3FDFD179.49001BDE@attglobal.net> Anyone ever do this or can think of any problems this might cause ? Or if someone can say this should be fine that would be good to hear as well. Make a copy of results.html and instead of passing the parameters for the loop via the /scan/fi=.... simply hard code the values in the new version of results.html ? Anyone see any problems that might cause for a 4.9 version of IC ?? Thanks, Jon From racke at linuxia.de Wed Dec 17 02:58:52 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Wed Dec 17 02:59:05 2003 Subject: [ic] RE: Interchange 5.0.0 release In-Reply-To: References: <200312161710.hBGH9IFW004328@icdevgroup.org> Message-ID: <20031217085852.6504029e.racke@linuxia.de> On Tue, 16 Dec 2003 11:41:39 -0800 Michael Todd Glazier wrote: > I saw mention of a fix for threaded Perl under Debian. Does this > mean, or not mean, that 5.0 will work with the stock Perl in Redhat > Linux Enterprise? There is no fix for threaded Perl with Debian. The "fix" is setting the correct variables to allow to start Interchange properly on Debian systems. Running Interchange with threaded Perl is still not recommended. Bye Racke From allmanj at houseofireland.com Wed Dec 17 05:15:21 2003 From: allmanj at houseofireland.com (John Allman) Date: Wed Dec 17 05:04:27 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <20031216180537.GA17024@bill.heins.net> References: <3FDF42C1.7020302@houseofireland.com> <20031216180537.GA17024@bill.heins.net> Message-ID: <3FE02CB9.4020004@houseofireland.com> Mike Heins wrote: >It is not possible in embedded Perl. If you set it then went global and >called Vend::Data::update_productbase(), it would take effect. > > I dont understand what you mean? Can you explain that again please? Thanks, John From allmanj at houseofireland.com Wed Dec 17 05:39:52 2003 From: allmanj at houseofireland.com (John Allman) Date: Wed Dec 17 05:28:47 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <20031216180537.GA17024@bill.heins.net> References: <3FDF42C1.7020302@houseofireland.com> <20031216180537.GA17024@bill.heins.net> Message-ID: <3FE03278.1010904@houseofireland.com> Mike Heins wrote: >It is not possible in embedded Perl. If you set it then went global and >called Vend::Data::update_productbase(), it would take effect. > > I think i understand a bit now after googling. In order to see it taking any effect at all, i'm now setting ProductFiles and calling Vend::Data::update_productbase() at the start of a perl block which is autoloaded. Unfortunately the error log says Safe: Undefined subroutine &Vend::Data::update_productbase How should i be calling this subroutine? Thanks John From kevin at cursor.biz Wed Dec 17 07:10:57 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Wed Dec 17 07:11:19 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <3FE03278.1010904@houseofireland.com> Message-ID: <000f01c3c496$d3aa55c0$020110ac@majestic.cursor-software.co.uk> John Allman [allmanj@houseofireland.com] wrote: > > It is not possible in embedded Perl. If you set it then went global and > > called Vend::Data::update_productbase(), it would take effect. > > > I think i understand a bit now after googling. In order to see it taking > any effect at all, i'm now setting ProductFiles and calling > Vend::Data::update_productbase() at the start of a perl block which is > autoloaded. Unfortunately the error log says Safe: Undefined subroutine > &Vend::Data::update_productbase > > How should i be calling this subroutine? > That's what Mike meant when he said that you should call that from global (i.e. non-local or embedded) Perl. Defining a global UserTag or GlobalSub etc. will do the trick. Perhaps you could write a global UserTag that you could call like this: [update-productbase tables="products foo bar"] -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From allmanj at houseofireland.com Wed Dec 17 07:37:11 2003 From: allmanj at houseofireland.com (John Allman) Date: Wed Dec 17 07:26:07 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <000f01c3c496$d3aa55c0$020110ac@majestic.cursor-software.co.uk> References: <000f01c3c496$d3aa55c0$020110ac@majestic.cursor-software.co.uk> Message-ID: <3FE04DF7.3040404@houseofireland.com> Kevin Walsh wrote: >That's what Mike meant when he said that you should call that from >global (i.e. non-local or embedded) Perl. Defining a global UserTag >or GlobalSub etc. will do the trick. > >Perhaps you could write a global UserTag that you could call like >this: > > [update-productbase tables="products foo bar"] > > > i thought autoloaded script was in the global scope? Or do i have to use a GlobalSub or UserTag? thanks John From kevin at cursor.biz Wed Dec 17 07:50:10 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Wed Dec 17 07:50:23 2003 Subject: [ic] Critical security patch for Interchange 4.8.x In-Reply-To: <20031216181740.GA17106@bill.heins.net> Message-ID: <001901c3c49c$4e4cbca0$020110ac@majestic.cursor-software.co.uk> Mike Heins [mike@perusion.com] wrote: > > Interchange 4.8.8 has been released > > Tar is at: > > http://ftp.icdevgroup.org/interchange/4.8/tar/interchange-4.8.8.tar.gz > To help take some of the load off the official icdevgroup.org website, I should publicise the fact that there is an archive of current and previous Interchange releases here: http://www.interchange.rtfm.info/downloads/archive/index.html I only keep the tar archives. RPMs and other packages can be found elsewhere, such as on the icdevgroup.org website. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From kevin at cursor.biz Wed Dec 17 07:54:17 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Wed Dec 17 07:54:25 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <3FE04DF7.3040404@houseofireland.com> Message-ID: <001c01c3c49c$e1e17fa0$020110ac@majestic.cursor-software.co.uk> John Allman [allmanj@houseofireland.com] wrote: > > That's what Mike meant when he said that you should call that from > > global (i.e. non-local or embedded) Perl. Defining a global UserTag > > or GlobalSub etc. will do the trick. > > > > Perhaps you could write a global UserTag that you could call like this: > > > > [update-productbase tables="products foo bar"] > > > i thought autoloaded script was in the global scope? Or do i have to use > a GlobalSub or UserTag? > You will have to define a GlobalSub or global UserTag. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From stephan.becker at blue-imotion.de Wed Dec 17 08:12:55 2003 From: stephan.becker at blue-imotion.de (Stephan Becker) Date: Wed Dec 17 08:12:19 2003 Subject: AW: [ic] COD Payment/Handling Charge In-Reply-To: <000401c3c42d$cd176220$0100a8c0@steve> Message-ID: <001301c3c49f$80835280$1e00a8c0@harlekin> >> Hello *, >> >> Actually I have a problem how to configure COD Charges. >> >> If I select COD as Payment IC shows a line that a amount of 0.00$ will >> be added. Where and how I have to specify this amount ? >> >> Within new_browser_payment I found: >> >> [msg arg.0="[handling cod]"]There will be a %s charge added for COD.[/msg] >> >> Anyone there who can help me out of this pit ? > > Steve Streich [sstreich@streichs.com] wrote: > >In my shipping.asc file I added these lines to include handling based on a dollar value per order: >handling Handling Charge [subtotal noformat=1] 0 0 0 {'PriceDivide' => "1",} >handling Handling Charge [subtotal noformat=1] .01 14.99 1.50 {'PriceDivide' => "1",} >handling Handling Charge [subtotal noformat=1] 15.00 29.99 1.15 {'PriceDivide' => "1",} >handling Handling Charge [subtotal noformat=1] 30.00 49.99 0.75 {'PriceDivide' => "1",} > >Then set the handling in the catalog.cfg file. > Well, ok, Now I have a special Shipping called 'handling'. But what do you mean with 'Then set the handling in the catalog.cfg file.' ? Please give me a ?lill hint what to enter where at catalog.cfg. And how is this related to the value calculated by: [msg arg.0="[handling cod]"]There will be a %s charge added for COD.[/msg] I would like to understand how this mechanism is working. Regards Stephan From barry at jaguarrtech.com Wed Dec 17 09:50:07 2003 From: barry at jaguarrtech.com (Barry Newman) Date: Wed Dec 17 09:50:08 2003 Subject: [ic] Ack Forgot how to fix this Message-ID: <1064033413.8609.5.camel@linux.local> [Wed Dec 17 11:50:38 2003] [error] [client 66.55.8.178] Premature end of script headers: /home/virtual/site1/fst/var/www/cgi-bin/Lightning/index.html Is this a "Script Alias" thing? Too tired to think but I hate this error with perl. Thanks in advance for any assistance! -Barry From allmanj at houseofireland.com Wed Dec 17 10:46:38 2003 From: allmanj at houseofireland.com (John Allman) Date: Wed Dec 17 10:35:49 2003 Subject: [ic] Manually setting $Config->{ProductFiles} In-Reply-To: <000f01c3c496$d3aa55c0$020110ac@majestic.cursor-software.co.uk> References: <000f01c3c496$d3aa55c0$020110ac@majestic.cursor-software.co.uk> Message-ID: <3FE07A5E.8090404@houseofireland.com> Kevin Walsh wrote: >That's what Mike meant when he said that you should call that from >global (i.e. non-local or embedded) Perl. Defining a global UserTag >or GlobalSub etc. will do the trick. > >Perhaps you could write a global UserTag that you could call like >this: > > [update-productbase tables="products foo bar"] > > > Went with this solution and it worked. Thanks! John From edl at newmediaems.com Wed Dec 17 11:44:13 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Wed Dec 17 11:40:25 2003 Subject: [ic] Ack Forgot how to fix this In-Reply-To: <1064033413.8609.5.camel@linux.local> Message-ID: <5.2.1.1.0.20031217084322.02de1df0@mail.newmediaems.com> At 12:50 AM 9/20/2003 -0400, you wrote: >[Wed Dec 17 11:50:38 2003] [error] [client 66.55.8.178] Premature end of >script headers: >/home/virtual/site1/fst/var/www/cgi-bin/Lightning/index.html > > >Is this a "Script Alias" thing? Too tired to think but I hate this error >with perl. Thanks in advance for any assistance! > >-Barry More likely a suid or ownership issue with the link file in cgi-bin. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From sandy at scotwebshops.com Wed Dec 17 12:00:41 2003 From: sandy at scotwebshops.com (Sandy Thomson) Date: Wed Dec 17 12:00:20 2003 Subject: [ic] Protx Payment Module Authentication In-Reply-To: References: Message-ID: <3FE08BB9.4080508@scotwebshops.com> Lyn St George wrote: >Starting with basics: the 'require' line is in interchange.cfg (not catalog.cfg), >MV_PAYMENT_MODE is set to Protx in variable.txt, and you did restart >Interchange ("apply changes") after adding these? > > Hi, Thanks very much for your reply, I had the require line in a catalog.cfg file in the specific shop i wanted to use it in. It now says the module is being loaded ok. Net::SSLeay is installed. Basically, after a week i am still having 'a problem'. I have upgraded to interchange 5.0.0 ok. Now, dont ask me what that problem is, as im not getting any errors in the global interchange error.log or the specific catalog error.log. I have tried the doc's suggestion of putting the perl code into web pages but all it prints is 'undef'. I have tried uncommenting the ::logGlobal lines in the module to try and dig up an error, but I dont think the modules subroutine is being entered on ordering. I have tried logging network connections to see if it tries to make a connection to protx, I dont think it does. I have tried about almost every possible permutation of routes. Currently this is something like my configuration: 1. Require module Vend::Payment::Protx_107 is in interchange.cf and appears to start fine 2. MV_PAYMENT_MODEprotx is in products/variable.txt 3. catalog.cfg: Route protx < host currency GBP txtype PAYMENT report etc/newreport EOR (Route protx_vt_route AS perl docs although i dont think i need it) Route default cascade "protx main log ..." 4. I did the vt stuff such as make the payment dir in pages and put files in, although i probably dont need this. Interchange admin UI is turned OFF. When i order something, I get a recipt page, an email, but nothing goes to protx and I dont get an error. Ive tried turning on interchange DEBUG 1 with no avail. Any hints? Is there somewhere the protx connections are logged? or am i going to have to hack the source? Cheers. Sandy. From edl at newmediaems.com Wed Dec 17 12:53:05 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Wed Dec 17 12:49:12 2003 Subject: [ic] Protx Payment Module Authentication In-Reply-To: <3FE08BB9.4080508@scotwebshops.com> References: Message-ID: <5.2.1.1.0.20031217095124.02e11368@mail.newmediaems.com> At 05:00 PM 12/17/2003 +0000, you wrote: >Lyn St George wrote: > >>Starting with basics: the 'require' line is in interchange.cfg (not >>catalog.cfg), MV_PAYMENT_MODE is set to Protx in variable.txt, and you >>did restart Interchange ("apply changes") after adding these? >> > >Hi, >Thanks very much for your reply, I had the require line in a catalog.cfg >file in the specific shop i wanted to use it in. >It now says the module is being loaded ok. Net::SSLeay is installed. > >Basically, after a week i am still having 'a problem'. I have upgraded to >interchange 5.0.0 ok. >Now, dont ask me what that problem is, as im not getting any errors in the >global interchange error.log or the specific catalog error.log. >I have tried the doc's suggestion of putting the perl code into web pages >but all it prints is 'undef'. > >I have tried uncommenting the ::logGlobal lines in the module to try and >dig up an error, but I dont think the modules subroutine is being entered >on ordering. > >I have tried logging network connections to see if it tries to make a >connection to protx, I dont think it does. > >I have tried about almost every possible permutation of routes. > > > >Currently this is something like my configuration: >1. Require module Vend::Payment::Protx_107 >is in interchange.cf and appears to start fine > >2. MV_PAYMENT_MODEprotx >is in products/variable.txt > >3. catalog.cfg: > >Route protx < attach 1 > id > host > currency GBP > txtype PAYMENT > report etc/newreport >EOR > >(Route protx_vt_route AS perl docs although i dont think i need it) > >Route default cascade "protx main log ..." Your payment route should not be in the main route. That could be causing problems. Remove it, reconfig and try again. >4. I did the vt stuff such as make the payment dir in pages and put files >in, although i probably dont need this. Interchange admin UI is turned OFF. > >When i order something, I get a recipt page, an email, but nothing goes to >protx and I dont get an error. Ive tried turning on interchange DEBUG 1 >with no avail. Is your payment method credit_card? The charge routine will not be called at all unless this is the case. - Ed L. >Any hints? >Is there somewhere the protx connections are logged? or am i going to have >to hack the source? > >Cheers. > >Sandy. > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From m.hodroj at verizon.net Wed Dec 17 13:27:41 2003 From: m.hodroj at verizon.net (Mohamad Hodroj) Date: Wed Dec 17 13:26:11 2003 Subject: [ic] Stock Alert Message-ID: <011401c3c4cb$75754250$aa270504@samcom> Hello Guys, I was testing the Stock Alert to see if it works, and when i submitt the information on the website it will email me that it was succesfully submitted but it will not email the company about that alert... is there a way that i can make this happen From packet at tampabay.rr.com Wed Dec 17 13:29:31 2003 From: packet at tampabay.rr.com (Barry Newman) Date: Wed Dec 17 13:29:33 2003 Subject: [ic] Ack Forgot how to fix this In-Reply-To: <5.2.1.1.0.20031217084322.02de1df0@mail.newmediaems.com> References: <5.2.1.1.0.20031217084322.02de1df0@mail.newmediaems.com> Message-ID: <1064046583.12528.1.camel@linux.local> On Wed, 2003-12-17 at 11:44, Ed LaFrance wrote: > At 12:50 AM 9/20/2003 -0400, you wrote: > >[Wed Dec 17 11:50:38 2003] [error] [client 66.55.8.178] Premature end of > >script headers: > >/home/virtual/site1/fst/var/www/cgi-bin/Lightning/index.html > > > > > >Is this a "Script Alias" thing? Too tired to think but I hate this error > >with perl. Thanks in advance for any assistance! > > > >-Barry > > More likely a suid or ownership issue with the link file in cgi-bin. > > - Ed L. > > > =============================================================== > New Media E.M.S. Technology Solutions for Business > 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting > Fair Oaks, CA 95628 edl@newmediaems.com > (916) 961-0446 http://www.newmediaems.com > (866) 519-4680 Toll-Free (916) 961-0447 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users Using Ensim think it's doing something funky to the uid's. Miva runs fine out of the same dir with same permissions , kinda stumped. -barry From kevin at cursor.biz Wed Dec 17 13:38:28 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Wed Dec 17 13:38:41 2003 Subject: [ic] Encryption not needed? In-Reply-To: Message-ID: <001001c3c4cc$f6821ac0$020110ac@majestic.cursor-software.co.uk> > Installed Interchange 4.8.7 several weeks ago > Tut tut - you should have started with 4.9.9 to ease the migration to 5.0.0 and to make use of all of the wonderful facilities you're missing out on. :-) > > and finished redesigning the > user interface (using the foundation demo); templates, pages, databases, > etc. The site was built for a customer who sells supplies to hospitals, > hmos, etc. Originally it was meant to be open to the general public > however things have changed (who could have guessed) and the site will be > accessed via password only by one of their clients that has several dozen > "centers" that supply their own customers throughout the US. Each > "center" will username/password access. There will be no payments or > payment information given since purchases will be billed as a "AR" > account. Encryption isn't necessary (or is it?). After the "center" > employee (customer) logs in, all the shipping and account information > will be pre-populated in the data/forms displayed on the pages, though > not changeable/editable (by the "center" employee). The Order Number will > be formatted to include the date,time,and "center" code, i.e. Order > Number: 12160314-539. > > The newbie questions are as follows: > > 1. Since encryption isn't needed, is there simple way to by-pass the > security-specific functions? > 2. Can I reformat the order number as specified? > 3. How do I set the "demo" site live without encryption enabled? > When you say "encryption", I'll assuming you're talking about PGP/GnuPG rather than HTTPS/SSL. Encryption is only required when emailing credit card details around, for obvious reasons. If you don't collect/email credit card information, or other sensitive details, then you don't need PGP/GnuPG encryption. In this case, you can switch it off by setting "EncryptProgram" to "none" in your catalog.cfg file. Obviously, with this disabled, if you do attempt to email credit card details around then you will see messages like "NEED ENCRYPTION ENABLED" in your emails. As for the order numbers, why not simply store all of the information (date/time, centre number and sequential order number) as separate columns when the order is placed? The columns can then be formatted in any way you like in the emails and in any reports etc. Having an order number of "12160314-539", as specified, isn't a lot of use if centre code 539 places two orders on the same day, so I assume you really want "12160314-539-1". I would store that information in three columns, as I said. Storing the details as separate columns would also help when you want to perform queries on the order data. I.e. list all orders from centre number 539 during 4Q2003. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From packet at tampabay.rr.com Wed Dec 17 14:22:34 2003 From: packet at tampabay.rr.com (Barry Newman) Date: Wed Dec 17 14:23:04 2003 Subject: [ic] CGI Problems In-Reply-To: <001001c3c4cc$f6821ac0$020110ac@majestic.cursor-software.co.uk> References: <001001c3c4cc$f6821ac0$020110ac@majestic.cursor-software.co.uk> Message-ID: <1071688953.14471.3.camel@linux.local> Have a catalog called LRV, I get the opening page for either customer site or admin , both links yield the following error in IE : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, packet@tampabay.rr.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ________________________________________________________________________ Apache/1.3.27 Server at www.packetportal.com Port 80 apache error log says : [Wed Dec 17 16:26:16 2003] [error] [client 66.55.8.178] Premature end of script headers: /home/virtual/site1/fst/var/www/cgi-bin/LRV I have checked all permissions and have other perl programs that run fine out of the same cgi-bin. Any help greatly apreciated! Thanks in advance Barry From prtyof5 at attglobal.net Wed Dec 17 14:25:42 2003 From: prtyof5 at attglobal.net (Jon) Date: Wed Dec 17 14:26:50 2003 Subject: [ic] Stock Alert References: <011401c3c4cb$75754250$aa270504@samcom> Message-ID: <3FE0ADB6.2320AB43@attglobal.net> > Hello Guys, > > I was testing the Stock Alert to see if it works, and when i submitt the > information on the website it will email me that it was succesfully > submitted but it will not email the company about that alert... > > is there a way that i can make this happen > Not sure if there has been some updates and/or made part of the official IC package, but assuming not you'll need to write a little code in stock-alert-added.html and add something like.. [email to="__ORDERS_TO__" subject="__COMPANY__ - Stock Alert Request" from="__COMPANY__ <__EMAIL_INFO__>" reply="__COMPANY__ <__EMAIL_INFO__>"] . . [/email] Really quite simple Jon From anthony at urbanscooters.com Wed Dec 17 16:09:08 2003 From: anthony at urbanscooters.com (Anthony Minero) Date: Wed Dec 17 16:08:32 2003 Subject: [ic] Orders In-Reply-To: <1071688953.14471.3.camel@linux.local> Message-ID: Hello all, I was trying some things with the orders page and I accidentally changed the settings on the page. I clicked the "Orders" tab at the top of the page in the admin area. Once this opened there was a small link to the very left of the page that let me change the layout. I changed it to "accounting" just to see if it would give me more info but now all the tabs on the top do not work and I can't change it back, and the edit link is not there any more. How would I set this back to the way it was? I'm using 4.9.9 MySQL -- Anthony Minero President http://urbanscooters.com -- From mike at perusion.com Wed Dec 17 16:29:14 2003 From: mike at perusion.com (Mike Heins) Date: Wed Dec 17 16:29:33 2003 Subject: [ic] Stock Alert In-Reply-To: <011401c3c4cb$75754250$aa270504@samcom> References: <011401c3c4cb$75754250$aa270504@samcom> Message-ID: <20031217212914.GA3489@bill.heins.net> Quoting Mohamad Hodroj (m.hodroj at verizon.net): > This mail is probably spam. The original message has been attached > along with this report, so you can recognize or block similar unwanted > mail in future. See http://spamassassin.org/tag/ for more details. > > Content preview: Hello Guys, I was testing the Stock Alert to see if it > works, and when i submitt the information on the website it will email > me that it was succesfully submitted but it will not email the company > about that alert... [...] > > Content analysis details: (3.30 points, 3 required) > STOCK_ALERT (2.8 points) BODY: Offers a alert about a stock > RCVD_IN_UNCONFIRMED_DSBL (0.5 points) RBL: Received via a relay in unconfirmed.dsbl.org > [RBL check: found 103.170.46.206.unconfirmed.dsbl.org.] > > I guess some subjects aren't allowed on the list.... 8-) -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 My wife is great. She doesn't care where I go, just as long as I don't have any fun. -- Lee Trevino From interchange at tssphoto.com Wed Dec 17 17:01:42 2003 From: interchange at tssphoto.com (Chris Bair) Date: Wed Dec 17 17:03:24 2003 Subject: [ic] "mike" demo - can't change shipping Message-ID: I'm trying to customize the shipping options, using the "mike" demo as a starting point. I'm running into trouble, though as I can't change any of the existing shipping options. it's like the shipping is read only. From lyn at zolotek.net Wed Dec 17 20:09:04 2003 From: lyn at zolotek.net (Lyn St George) Date: Wed Dec 17 20:08:57 2003 Subject: [ic] Protx Payment Module Authentication Message-ID: On Wed, 17 Dec 2003 09:53:05 -0800, Ed LaFrance wrote: >Currently this is something like my configuration: >>1. Require module Vend::Payment::Protx_107 >>is in interchange.cf and appears to start fine >> >>2. MV_PAYMENT_MODEprotx >>is in products/variable.txt >> >>3. catalog.cfg: >> >>Route protx <> attach 1 >> id >> host >> currency GBP >> txtype PAYMENT >> report etc/newreport >>EOR >> >>(Route protx_vt_route AS perl docs although i dont think i need it) This one is only for the terminal. >>Route default cascade "protx main log ..." > >Your payment route should not be in the main route. That could be causing >problems. Remove it, reconfig and try again. > > > >>4. I did the vt stuff such as make the payment dir in pages and put files >>in, although i probably dont need this. Interchange admin UI is turned OFF. >> >>When i order something, I get a recipt page, an email, but nothing goes to >>protx and I dont get an error. Ive tried turning on interchange DEBUG 1 >>with no avail. > >Is your payment method credit_card? The charge routine will not be called >at all unless this is the case. And ensure that 'mv_order_profile' is set to 'credit_card' if it's not done automatically via the choice of payment method. >- Ed L. > > >>Any hints? >>Is there somewhere the protx connections are logged? or am i going to have >>to hack the source? Four places, as mentioned under "troubleshooting". If you run Interchange in the foreground you'll see it all on screen as it happens. If you don't see it, it's not happening, but it definitely should with these settings. >>Cheers. >> >>Sandy. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting +---------------------------------------------------------------------------------- From brian at groxis.com Wed Dec 17 21:12:22 2003 From: brian at groxis.com (Brian Rogers) Date: Wed Dec 17 21:12:41 2003 Subject: [ic] Porting access Table to Postgres Message-ID: Hi Interchangers, I'm trying to port my Admin UI access table from dbm to Postgres because I've been having problems with my access.gdbm file getting corrupted. In catroot/dbconf/psql/ I removed access.dbm and created this access.pgsql file (based on the structure of the original access.asc file): Database access access.txt __SQLDSN__ ifdef SQLUSER Database access USER __SQLUSER__ endif ifdef SQLPASS Database access PASS __SQLPASS__ endif Database access KEY username Database access COLUMN_DEF "username = VARCHAR(32) NOT NULL PRIMARY KEY" Database access COLUMN_DEF "password = VARCHAR(64)" Database access COLUMN_DEF "name = VARCHAR(128)" Database access COLUMN_DEF "last_login = VARCHAR(16)" Database access COLUMN_DEF "super = VARCHAR(16)" Database access COLUMN_DEF "yes_tables = TEXT" Database access COLUMN_DEF "no_tables = TEXT" Database access COLUMN_DEF "upload = TEXT" Database access COLUMN_DEF "acl = TEXT" Database access COLUMN_DEF "export = TEXT" Database access COLUMN_DEF "edit = TEXT" Database access COLUMN_DEF "pages = TEXT" Database access COLUMN_DEF "files = TEXT" Database access COLUMN_DEF "config = TEXT" Database access COLUMN_DEF "reconfig = TEXT" Database access COLUMN_DEF "groups = TEXT" Database access COLUMN_DEF "meta = TEXT" Database access COLUMN_DEF "no_functions = TEXT" Database access COLUMN_DEF "yes_functions = TEXT" Database access COLUMN_DEF "table_control = TEXT" Database access COLUMN_DEF "personal_css = VARCHAR(128)" The table builds fine when interchange is restarted: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'access_pkey' for table 'access' table access created: create table access ( username VARCHAR(32) NOT NULL PRIMARY KEY, password VARCHAR(64), name VARCHAR(128), last_login VARCHAR(16), super VARCHAR(16), yes_tables TEXT, no_tables TEXT, upload TEXT, acl TEXT, export TEXT, edit TEXT, pages TEXT, files TEXT, config TEXT, reconfig TEXT, groups TEXT, meta TEXT, no_functions TEXT, yes_functions TEXT, table_control TEXT, personal_css VARCHAR(128) ) done. and I can log in to the Admin UI as my superuser. However, when I test the table by trying to change my password through the Admin UI, none of my changes take. The UI doesn't report an error, but I get errors like these in my catalog error.log: 192.168.0.152 gIapbYXn:192.168.0.152 - [17/December/2003:15:06:01 -0800] blah /service/blah/process.html Attempted database operation without table, fields, or key. > Table: '' > Fields:'' > Key: '' > I looked at the Data.pm perl module and found that this error is due to lack of mv_data_table and mv_data_key values, so I passed them in explicitly with hidden form inputs. Then I got this error: 192.168.0.152 gIapbYXn:192.168.0.152 - [17/December/2003:15:09:43 -0800] blah /service/blah/process.html No key 'username' found for function='update' table='access' So I passed in a value for username, too. That got rid of all the errors, but my password change does not take, and I can only log back in with the old password. When I try to edit other fields in the access table through the 'Tables' tab in the Admin UI, I get no errors, but the changes are not accepted. The last_login field for my superuser is also not updated when I logged in. Am I missing something? I've built other Interchange tables from scratch with no problem, but porting this table from dbm seems to be breaking existing code in the Admin UI. Any help would be greatly appeciated. Thanks! --------------------- Brian Rogers Software Developer Groxis, Inc. 415.331.0550 x109 www.groxis.com From cwenham at synesmedia.com Wed Dec 17 21:47:15 2003 From: cwenham at synesmedia.com (Christopher Wenham) Date: Wed Dec 17 21:36:54 2003 Subject: [ic] Donation: Geocode and proximity usertags (GIS functions) Message-ID: <200312172147.15960.cwenham@synesmedia.com> I recently had to develop some GIS-ish functions for a couple of projects. The following usertags are a result, which I've released under the GPL. Geocode is a wrapper for a third-party service at http://www.geocoding.com/, which will take any street address in the US and convert it to Earth coordinates (Latitude and Longitude, like on a GPS). Proximity makes use of a table full of geocoded street addresses to find stations within a search radius centered on a Zip code or another pair of coordinates. EG: "Find all stores within 10 miles of zip code 11756". Since it searches by Earth coordinates, it will find stations that may not be in the same zip or state, but still be within the given radius. With the two you can create a classic "store finder" quickly. The third-party geocoding service isn't expensive, running at about $90 for 3,000 geocoding credits. To make zip-code searches work with the proximity tag you'll need a table of zip codes and their corresponding Earth coordinates. The US Census Bureau provides such a table for free on their web site (vintage 1990), but I've packaged a version ready for use with Interchange on my web site: http://www.synesmedia.com/twiki/bin/view/Cyc/Proximity UserTag geocode Order address city state zip UserTag geocode addAttr UserTag geocode Documentation <The Empire State Building is at lat./lng. [geocode address="350 5th Ave" city="New York" state="NY" zip="10118" ] on your GPS unit

Will print: The Empire State Building is at lat./lng. 40.748318,-073.985223 on your GPS unit. Will return a comma separated latitude and longitude. This can be parsed and stored in separate lat/lng fields in your addresses table so you can use it later with the [proximity] tag. It could also be passed untouched into the origin="" parameter of the proximity tag for use when doing a radius search, like this: [proximity origin="[geocode address='...' city='...' state='..' zip='..']"]

{ADDRESS}, {CITY}, {STATE} {ZIP}

[/proximity] At the time of writing, Tele Atlas provides about 3,000 geocoding credits for $90, and it's cheaper per coding if you buy more. However, since buildings don't generally pick up and move anywhere, it might make sense to cache the results or even store them permanently so you don't waste credits. Side effects If you don't feel like parsing the results, the lat and long are also set in the following temporary scratch variables. gc_latitude gc_longitude The latitude in longitude, in 15-digit precision. gc_popdens Tele Atlas gets a lot of its data from the US Census Bureau, and they've seen fit to include some bits and pieces in the results for each address. I have no use for most of this, but the population density rating looked interesting, so I decided to set it as a side-effect variable just in case it became useful. The possible values are: U = Urban R = Rural Blank = unspecified Future improvements This tag should probably also parse and store the Postal Standardized version of the adddress, plus the match type. EOD UserTag geocode Routine <{GEOCODE_PATH}; my @args; push @args, '-l'; push @args, '-u'; push @args, $Variable->{GEOCODE_LOGIN}; push @args, '-p'; push @args, $Variable->{GEOCODE_PASS}; push @args, "-g $address|$city|$state|$zip"; #Debug("Args: $cmd ". join(' ', @args)); my $out = ''; open(GEO, '-|') || exec ($cmd, @args); while () { $out .= $_ } my ($count,$header,$data) = split /\n/,$out; my @results = split /\|/,$data; if (@results) { my ($lat,$lng,$pop) = ($results[7],$results[8],$results[21]); $Tag->tmp('gc_popdens',$pop); $Tag->tmp('gc_latitude',$lat); $Tag->tmp('gc_longitude',$lng); #Debug("About to return"); return "$lat,$lng"; } else { return; } } EOR UserTag proximity Order zip UserTag proximity addAttr UserTag proximity hasEndTag UserTag proximity Documentation <{NAME}
{ADDRESS}, {CITY}, {STATE} {ZIP} is only {DISTANCE} miles from you.

[/proximity] Arguments zip="90210" Any zip or postal code that will match up against an entry in your Zip lookup table. This tag will expect to find GPS coordinates in that table's "lat" and "lng" columns. If you provide a US zip code, this tag will first attempt a direct match, but if it can't find the zip in your lookup table, it will search up and down until it does find one. If you provide a zip code, you don't need to use the origin argument below. origin="-73.2412348,140.33458734" GPS coordinates to use instead of looking up a Zip code. Specified as lat/lng. Accepts the same format as the output of the [geocode] tag. max_radius="10" Maximum radius, in miles, to search within. Defaults to 10. min_radius="0" Minimum radius, in miles. Defaults to 0. max_results="10" Maximum number of results to return. Defaults to 10. offset_results="0" Skip the first n results. This can be used with max_results to do basic pagination. It's up to you whether you want to do pagination based on min/max radius, or offsets. See the Side Effects section for scratch variables set by this tag with the last/least distant station's distance. query="SELECT * FROM addresses WHERE (lat < {LATHIGH} AND lat > {LATLOW}) AND (lng < {LNGHIGH} AND lng > {LNGLOW})" A SQL query that will return a list of geocoded addresses to search for proximity to the origin. If your database does not have any GIS features, such as MySQL, then this query should make use of the {LATHIGH}, {LATLOW}, {LNGHIGH} and {LNGLOW} placeholders. These are substituted for the coordinates of a bounding rectangle. All these do is restrict the search space for the "proper" radius search that comes later. It'll still work if you pass "SELECT * FROM addresses", but performance will suffer on large tables. origin_query="SELECT * FROM zips WHERE zip = '{ZIP}'" The proximity tag assumes you have a table called "zips" with three columns: zip, lat, lng. If you pass a zip code to search from, then the tag will look for it here. If, however, you have a different table name and structure, you can override the whole SQL query here. NOTE: If it doesn't find a match on the zip code that's initially passed, the tag will search up and down numerically until it does. Therefore, you need to keep the '{ZIP}' so the tag can substitue for whatever zip code it's searching for at the time. DO NOT try to pass the zip code this way. Use the zip="" parameter instead. lat_field="latitude" lng_field="longitude" origin_lat_field="zip_lat" origin_lng_field="zip_long" The proximity tag also assumes the column names for latitude and longitude are called "lat" and "lng" in your tables, respectively. If this isn't the case, set their actual names with these parameters. header="

The following were found within 10 miles of {CITY}, {STATE}

" footer="

Distances calculated from approximate center of {ZIP}

" An optional header and footer displayed only if results were found. Any field returned by the origin_query can be addressed with "{FIELDNAME}" template placemarkers. noresults="

Sorry, there were no results for {ZIP} in {CITY}, {STATE}

" Optional template to display a message when there are no results. Optional configuration settings The following variables can be set in your catalog's variable.txt PROX_QUERY PROX_ORIGIN_QUERY PROX_LAT_FIELD PROX_LNG_FIELD PROX_ORIGIN_LAT_FIELD PROX_ORIGIN_LNG_FIELD These all correspond to the parameters of the same name, described above. Side effects This tag will set the following temporary scratch variables before exit. prox_furthest_dist The distiance, in miles, that the furthest "station" was found and included in the results. This may not be the furthest station in the database, just the furthest that still came within max_radius. prox_nearest_dist Like the above, but the distance to the nearest found station. NOTE: Both prox_furthest_dist and prox_nearest_dist are saved with 20-digit precision. This is so you can pass them as arguments to min_/max_radius as accurate starting/ending points. You might want to format these numbers before you display them as user info. prox_display_count The number of stations displayed in the results. Use this to find out if there were fewer than max_results stations found. EOD UserTag proximity Routine <{origin_query} ||= $Variable->{PROX_ORIGIN_QUERY} || "SELECT * FROM zips WHERE zip = '{ZIP}'"; $opt->{query} ||= $Variable->{PROX_QUERY} || "SELECT * FROM affiliate WHERE (lat < {LATHIGH} AND lat > {LATLOW}) AND (lng < {LNGHIGH} AND lng > {LNGLOW})"; $opt->{max_radius} ||= 10; $opt->{max_results} ||= 10; $opt->{max_zip_tries} ||= 10; $opt->{lat_field} ||= $Variable->{PROX_LAT_FIELD} || 'lat'; $opt->{lng_field} ||= $Variable->{PROX_LNG_FIELD} || 'lng'; $opt->{origin_lat_field} ||= $Variable->{PROX_ORIGIN_LAT_FIELD} || 'lat'; $opt->{origin_lng_field} ||= $Variable->{PROX_ORIGIN_LNG_FIELD} || 'lng'; my $origin = {}; if ($opt->{origin}) { ($origin->{lat}, $origin->{lng}) = split ',',$opt->{origin}; } # ------------------------------------------------------------- ## # Find nearest zip-code centroid --------------------------------- if (!$origin->{lat}) { $zipcode =~ s/^\s+//; $zipcode =~ s/\s+$//; $zipcode = substr($zipcode,0,5); my $higherzip = my $lowerzip = my $tryzip = $zipcode; $higherzip = sprintf '%05d',++$higherzip; # Find nearest recognized zip code for (my $i = 0; $i < $opt->{max_zip_tries}; $i++) { my $query = $opt->{origin_query}; $query =~ s/{ZIP}/$tryzip/; $origin = $ref->query({ sql => $query, hashref => 'origin' }); last if $origin->[0]->{zip}; if ($tryzip eq $lowerzip) { $tryzip = $higherzip; $higherzip = sprintf '%05d',++$higherzip; } else { $lowerzip = $tryzip = sprintf '%05d',--$lowerzip; } } $origin = $origin->[0]; } # ------------------------------------------------------------- ## # Get a rough bounding rectangle. This is only so we can work with a # smaller slice of the database, and deliberately errs on being too # big. It is _NOT_ how we select the final results. my ($latlow,$lathigh,$lnglow,$lnghigh) = (-180,180,-180,180); $latlow = $origin->{lat} - ($opt->{max_radius} / 47.5); $lathigh = $origin->{lat} + ($opt->{max_radius} / 47.5); $lnglow = $origin->{lng} - ($opt->{max_radius} / 47.5); $lnghigh = $origin->{lng} + ($opt->{max_radius} / 47.5); my $query = $opt->{query}; $query =~ s/{LATLOW}/$latlow/g; $query =~ s/{LATHIGH}/$lathigh/g; $query =~ s/{LNGLOW}/$lnglow/g; $query =~ s/{LNGHIGH}/$lnghigh/g; $query =~ s/{ORIGLAT}/$origin->{lat}/g; $query =~ s/{ORIGLNG}/$origin->{lng}/g; $query =~ s/{MAX_RADIUS}/$opt->{max_radius}/g; my $stations = $ref->query({ sql => $query, hashref => 'stations' }); # ------------------------------------------------------------- ## # Fill a hash with all addresses, keyed by distance -------------- my %closest = (); my $n; foreach my $station (@{$stations}) { $n++; my $dist = &distance($station->{$opt->{lat_field}},$station->{$opt->{lng_field}},$origin->{$opt->{origin_lat_field}},$origin->{$opt->{origin_lng_field}}); $station->{distance} = sprintf "%5.1f",$dist; my $dkey = sprintf "%03d",$n; $closest{"$dist$dkey"} = $station; } # ------------------------------------------------------------- ## # Select results ------------------------------------------------- $n = 0; my ($nearest,$furthest) = ($opt->{max_radius},0); my $out; foreach my $dist (sort {$a <=> $b} keys %closest) { next if $dist < $opt->{min_radius}; last if $dist > $opt->{max_radius}; last if $n > $opt->{max_results}; if (!$opt->{offset_results} or ($n > $opt->{offset_results})) { $out .= $Tag->uc_attr_list($closest{$dist}, $tpl); $nearest = $dist if $dist < $nearest; $furthest = $dist; } $n++; } if (!$n) { $Tag->tmp('prox_furthest_dist',0); $Tag->tmp('prox_nearest_dist',0); $Tag->tmp('prox_display_count',0); if ($opt->{noresults}) { return $Tag->uc_attr_list($origin, $opt->{noresults}) } else { return; } } $out = $Tag->uc_attr_list($origin, $opt->{header}) . $out if $opt->{header}; $out .= $Tag->uc_attr_list($origin, $opt->{footer}) if $opt->{footer}; # ------------------------------------------------------------- ## # Set side-effects ----------------------------------------------- $Tag->tmp('prox_furthest_dist',$furthest); $Tag->tmp('prox_nearest_dist',$nearest); $Tag->tmp('prox_display_count',$n); # ------------------------------------------------------------- ## return $out; } EOR -- Chris Wenham - Synesmedia, Inc. http://www.synesmedia.com 516-620-4110 / 1-888-255-7573 Fax: 516-908-7824 From pvinci at vinciguerra.com Wed Dec 17 23:07:11 2003 From: pvinci at vinciguerra.com (Paul Vinciguerra) Date: Wed Dec 17 22:59:11 2003 Subject: [ic] Encryption not needed? In-Reply-To: <001001c3c4cc$f6821ac0$020110ac@majestic.cursor-software.co.uk> References: <001001c3c4cc$f6821ac0$020110ac@majestic.cursor-software.co.uk> Message-ID: <20031218033344.M20681@vinciguerra.com> On Wed, 17 Dec 2003 18:38:28 -0000, Kevin Walsh wrote > > Installed Interchange 4.8.7 several weeks ago > > > Tut tut - you should have started with 4.9.9 to ease the migration to > > 5.0.0 and to make use of all of the wonderful facilities you're missing > out on. :-) > > > > > and finished redesigning the > > user interface (using the foundation demo); templates, pages, databases, > > etc. The site was built for a customer who sells supplies to hospitals, > > hmos, etc. Originally it was meant to be open to the general public > > however things have changed (who could have guessed) and the site will be > > accessed via password only by one of their clients that has several dozen > > "centers" that supply their own customers throughout the US. Each > > "center" will username/password access. There will be no payments or > > payment information given since purchases will be billed as a "AR" > > account. Encryption isn't necessary (or is it?). After the "center" > > employee (customer) logs in, all the shipping and account information > > will be pre-populated in the data/forms displayed on the pages, though > > not changeable/editable (by the "center" employee). The Order Number will > > be formatted to include the date,time,and "center" code, i.e. Order > > Number: 12160314-539. > > > > The newbie questions are as follows: > > > > 1. Since encryption isn't needed, is there simple way to by-pass the > > security-specific functions? > > 2. Can I reformat the order number as specified? > > 3. How do I set the "demo" site live without encryption enabled? > > > When you say "encryption", I'll assuming you're talking about PGP/GnuPG > rather than HTTPS/SSL. > > Encryption is only required when emailing credit card details around, > for obvious reasons. If you don't collect/email credit card > information, or other sensitive details, then you don't need > PGP/GnuPG encryption. With basic ecommerce, I think that is the rule of thumb. Once you mention "medical" in the US, the rules change significantly. HIPAA regulations require safeguarding of personally identifiable information as well as encryption over the wire for any personally identifiable information when transferred over an insecure network. Once someone puts in a comment that identifies a patient you have the meet the HIPAA guidelines. > > In this case, you can switch it off by setting "EncryptProgram" to > "none" in your catalog.cfg file. Obviously, with this disabled, if > you do attempt to email credit card details around then you will > see messages like "NEED ENCRYPTION ENABLED" in your emails. > > As for the order numbers, why not simply store all of the information > (date/time, centre number and sequential order number) as separate > columns when the order is placed? The columns can then be formatted > in any way you like in the emails and in any reports etc. > > Having an order number of "12160314-539", as specified, isn't a lot > of use if centre code 539 places two orders on the same day, so I assume > you really want "12160314-539-1". I would store that information in > three columns, as I said. > > Storing the details as separate columns would also help when you want > to perform queries on the order data. I.e. list all orders from centre > number 539 during 4Q2003. I agree with Kevin. With medical products, you are often required to maintain an audit trail. You may be asked to show all orders. When an order is based on composite fields, you really cant find "missing" orders. Many vendor agreements and state licensure requirements insist on the right to audit your records on demand. Make sure your clients responsibilies are also being met. > > -- > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l > s h _/ _/ _/ _/ _/ _/ _/ _/_/ > kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users (I spent 8 years in medical products distribution in what now seems like a previous life and now specialize in information security.) :) -Paul From tech at khouse.org Thu Dec 18 17:37:06 2003 From: tech at khouse.org (Russell Mann) Date: Thu Dec 18 17:34:34 2003 Subject: [ic] e-checks Message-ID: Hello, I've searched the docs and mailing list but havn't been able to answer this question: Does IC support using AuthorizeNet e-Checks? Has anyone tried this or made a module to accept this form of payment? Thanks, Russell From edl at newmediaems.com Thu Dec 18 18:15:02 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Thu Dec 18 18:11:04 2003 Subject: [ic] e-checks In-Reply-To: Message-ID: <5.2.1.1.0.20031218151039.03052c38@mail.newmediaems.com> At 02:37 PM 12/18/2003 -0800, you wrote: >Hello, > >I've searched the docs and mailing list but havn't been able to answer this >question: > >Does IC support using AuthorizeNet e-Checks? > >Has anyone tried this or made a module to accept this form of payment? > >Thanks, > >Russell Dear Russell - I did do this for one client who was running (and still runs) the 4.8 branch. A new module is not required, just a change to the parameter list for the post to Authorizenet, as well as how the return results are evaluated... and of course a new payment method with it's own fields and checks on the checkout page. It was not a huge job, just tedious. I'm not sure they found it to be all that useful from a business standpoint. I suppose it might be considered a net gain to incorporate it into the core, but I would have to consult with the other coreteam members first, and time frame would be fuzzy even if they agreed it was worth adding... - Ed > =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From megan at junglevision.com Thu Dec 18 18:40:21 2003 From: megan at junglevision.com (Megan Quattrocchi) Date: Thu Dec 18 18:26:33 2003 Subject: [ic] Interchange5.0 with MySQL4.0 In-Reply-To: Message-ID: I'm upgrading Interchange from 4.9.9 to 5.0. and also changing from the internal database to MySQL4.0. Here's my problem so far. When I start interchange I get the following error: Configuring catalog discreet...Required Perl module DBD::mysql not present. Aborting catalog. Ok, I know the obvious answer is install the darn module. I ran cpan then install DBD::mysql which got the module, compiled, and tested it. It looks like the compile had no errors but when it did make test it failed because it could not test with the nopassword option. I managed to get the make test to run by removing the mysql root password. Testing failed 13 of the tests. Any suggestions on how to fix this??? Thanks, Megan From megan at junglevision.com Thu Dec 18 18:41:43 2003 From: megan at junglevision.com (Megan Quattrocchi) Date: Thu Dec 18 18:27:53 2003 Subject: [ic] e-checks In-Reply-To: Message-ID: > -----Original Message----- > From: interchange-users-bounces@icdevgroup.org > [mailto:interchange-users-bounces@icdevgroup.org]On Behalf Of Russell > Mann > Sent: Thursday, December 18, 2003 2:37 PM > To: Interchange Users > Subject: [ic] e-checks > > > Hello, > > I've searched the docs and mailing list but havn't been able to > answer this > question: > > Does IC support using AuthorizeNet e-Checks? > > Has anyone tried this or made a module to accept this form of payment? > > Thanks, > > Russell > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From edl at newmediaems.com Thu Dec 18 19:08:05 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Thu Dec 18 19:04:05 2003 Subject: [ic] Interchange5.0 with MySQL4.0 In-Reply-To: References: Message-ID: <5.2.1.1.0.20031218160447.03052ab8@mail.newmediaems.com> At 03:40 PM 12/18/2003 -0800, you wrote: >I'm upgrading Interchange from 4.9.9 to 5.0. and also changing from the >internal database to MySQL4.0. Here's my problem so far. > >When I start interchange I get the following error: > >Configuring catalog discreet...Required Perl module DBD::mysql not present. >Aborting catalog. > >Ok, I know the obvious answer is install the darn module. I ran cpan then >install DBD::mysql which got the module, compiled, and tested it. > >It looks like the compile had no errors but when it did make test it failed >because it could not test with the nopassword option. I managed to get the >make test to run by removing the mysql root password. Testing failed 13 of >the tests. > >Any suggestions on how to fix this??? > >Thanks, >Megan There is a flag to install DBD::mysql without testing the server interaction, if you are sure you have everything right. But what I usually do is set up a test db with a test username and password in mysql, then run Perl Makefile.PL for DBD::mysql with flags telling it to specifically use the same. If you've already downloaded the module with cpan, just go to ~/.cpan/build/DBD::mysql-xxxx/ and type "perl Makefile.PL -h" (I think that is the correct switch) to see the list of flags you can set for make. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From mark at vwe.net Thu Dec 18 19:17:37 2003 From: mark at vwe.net (Mark Bryant) Date: Thu Dec 18 19:17:47 2003 Subject: [ic] problem with images for buttons in account.html Message-ID: <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> Hi Folks, I'm working on account.html and I'm trying to use images in pace of the standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl 5.6.1 under Linux. At the moment I have the "save account info" button as an image and the "save and checkout" button as a standard submit button using the following working code as found on the google archives: [if items] [set Save and Checkout]mv_nextpage=ord/checkout[/set]   [/if] I've tried using the following code on the INPUT tag for the "save and checkout" button to use an image, but it doesn't work and I end up with a search results page when clicked. As a side issue the user data in the form isn't being saved either when the image is used. [if items] [set Save and Checkout]mv_nextpage=ord/checkout[/set]   [/if] I can't work out why this doesn't work, or why I end up on a search page. Does anyone have any ideas what I'm missing or of another way to achieve this? I've looked at using the [button][/button] IC tag, but all attempts with that have also failed. Many thanks in advance Mark From shawn at stuckinrealtime.us Thu Dec 18 19:24:22 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Thu Dec 18 21:49:26 2003 Subject: [ic] e-checks In-Reply-To: References: Message-ID: <3FE24536.4000304@stuckinrealtime.us> Russell, I have a module which I can zip up and email to you, I don't have webspace to post it at the moment. btw, to anybody who knows, how does one go about submitting modules etc? Shawn Mathews Russell Mann wrote on 12/18/2003, 5:37 PM: > Hello, > > I've searched the docs and mailing list but havn't been able to answer > this > question: > > Does IC support using AuthorizeNet e-Checks? > > Has anyone tried this or made a module to accept this form of payment? > > Thanks, > > Russell > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From mvilla213 at sbcglobal.net Thu Dec 18 22:10:58 2003 From: mvilla213 at sbcglobal.net (Matthew Villa) Date: Thu Dec 18 22:11:11 2003 Subject: [ic] SMTP Authentication Message-ID: <000301c3c5dd$b9a9c0a0$9a7ba8c0@MVILLA> Hey everyone, I was wondering how to configure Interchange to send via SMTP but use POP3-before-SMTP authentication. Best regards, Matthew R. Villa mvilla213@sbcglobal.net From racke at linuxia.de Fri Dec 19 03:10:06 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 19 03:57:30 2003 Subject: [ic] SMTP Authentication In-Reply-To: <000301c3c5dd$b9a9c0a0$9a7ba8c0@MVILLA> References: <000301c3c5dd$b9a9c0a0$9a7ba8c0@MVILLA> Message-ID: <20031219091006.208521d5.racke@linuxia.de> On Thu, 18 Dec 2003 19:10:58 -0800 "Matthew Villa" wrote: > Hey everyone, > > I was wondering how to configure Interchange to send via SMTP but use > POP3-before-SMTP authentication. I'm wondering why anyone is still using this silly POP3-before-SMTP hack. Bye Racke From racke at linuxia.de Fri Dec 19 03:14:03 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 19 03:57:45 2003 Subject: [ic] e-checks In-Reply-To: <3FE24536.4000304@stuckinrealtime.us> References: <3FE24536.4000304@stuckinrealtime.us> Message-ID: <20031219091403.57af0c6e.racke@linuxia.de> On Thu, 18 Dec 2003 19:24:22 -0500 "Shawn Mathews" wrote: > > Russell, > > I have a module which I can zip up and email to you, I don't have > webspace to post it at the moment. > > btw, to anybody who knows, how does one go about submitting modules etc? You can send them to interchange-core@icdevgroup.org. Bye Racke From snowch at care4pcs.com Fri Dec 19 06:20:58 2003 From: snowch at care4pcs.com (Chris Snow) Date: Fri Dec 19 06:21:17 2003 Subject: [ic] expected behaviour? Message-ID: <049d01c3c622$2db748c0$d900a8c0@elonex49sx1swy> I have just tried to place a dummy order on the demo site. I used the following (unrealistic) data: Firstname: c Lastname: s Address: b State/Province: please select Zip: b Email: test@test.com Country: uk Daytime phone: 01234215215 Shipping: UPS Worlwide express CC Number: 4111111111111111 Expiry: 01/2007 The resulting page showed: ---- ... There were errors in your last submission: (Customer record creation): There was an error adding you to the customer table. The areas you need to correct are shown in this color below. ... ---- However, no fields were displayed in red. Also, if in the Management UI, the order was displayed in the summary screen, but selecting the user (s, c) just shown a list of users. Is this expected behavoir, I noticed similar results when testing 4.8.7 sometime ago? TIA. Chris From edl at newmediaems.com Fri Dec 19 11:54:18 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Fri Dec 19 11:50:19 2003 Subject: [ic] problem with images for buttons in account.html In-Reply-To: <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> Message-ID: <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> At 12:17 AM 12/19/2003 +0000, you wrote: >Hi Folks, > >I'm working on account.html and I'm trying to use images in pace of the >standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl >5.6.1 under Linux. > >At the moment I have the "save account info" button as an image and the >"save and checkout" button as a standard submit button using the following >working code as found on the google archives: > >src="__THEME_IMG_DIR__saveaccountinfo_button.gif" border=0 name="mv_click"> > >[if items] > [set Save and Checkout]mv_nextpage=ord/checkout[/set] >  >[/if] > >I've tried using the following code on the INPUT tag for the "save and >checkout" button to use an image, but it doesn't work and I end up with a >search results page when clicked. As a side issue the user data in the >form isn't being saved either when the image is used. > >[if items] > [set Save and Checkout]mv_nextpage=ord/checkout[/set] > src="__THEME_IMG_DIR__checkout_button.gif" NAME=mv_click> >[/if] > >I can't work out why this doesn't work, or why I end up on a search page. >Does anyone have any ideas what I'm missing or of another way to achieve >this? I've looked at using the [button][/button] IC tag, but all attempts >with that have also failed. > >Many thanks in advance > >Mark The [button] tag would be the correct way to handle this, and it should get the job done. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From mark at vwe.net Fri Dec 19 12:24:28 2003 From: mark at vwe.net (Mark Bryant) Date: Fri Dec 19 12:24:43 2003 Subject: [ic] problem with images for buttons in account.html In-Reply-To: <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> References: <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> Message-ID: <6.0.1.1.2.20031219172106.0233c008@secure.vwe.net> At 16:54 19/12/2003, you wrote: >At 12:17 AM 12/19/2003 +0000, you wrote: >>Hi Folks, >> >>I'm working on account.html and I'm trying to use images in pace of the >>standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl >>5.6.1 under Linux. >> >>At the moment I have the "save account info" button as an image and the >>"save and checkout" button as a standard submit button using the >>following working code as found on the google archives: >> >>>src="__THEME_IMG_DIR__saveaccountinfo_button.gif" border=0 name="mv_click"> >> >>[if items] >> [set Save and Checkout]mv_nextpage=ord/checkout[/set] >>  >>[/if] >> >>I've tried using the following code on the INPUT tag for the "save and >>checkout" button to use an image, but it doesn't work and I end up with a >>search results page when clicked. As a side issue the user data in the >>form isn't being saved either when the image is used. >> >>[if items] >> [set Save and Checkout]mv_nextpage=ord/checkout[/set] >> >src="__THEME_IMG_DIR__checkout_button.gif" NAME=mv_click> >>[/if] >> >>I can't work out why this doesn't work, or why I end up on a search page. >>Does anyone have any ideas what I'm missing or of another way to achieve >>this? I've looked at using the [button][/button] IC tag, but all attempts >>with that have also failed. >> >>Many thanks in advance >> >>Mark > >The [button] tag would be the correct way to handle this, and it should >get the job done. > > >- Ed L. Hi Ed, Thanks for your reply. As I said above I've tried various flavours of the [button] tag with little success :( Would it be possible to give me a working example that I can tweak? Many thanks Mark From prtyof5 at attglobal.net Fri Dec 19 12:45:12 2003 From: prtyof5 at attglobal.net (Jon) Date: Fri Dec 19 12:46:21 2003 Subject: [ic] problem with images for buttons in account.html References: <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> <6.0.1.1.2.20031219172106.0233c008@secure.vwe.net> Message-ID: <3FE33928.BD00540C@attglobal.net> > At 16:54 19/12/2003, you wrote: > >At 12:17 AM 12/19/2003 +0000, you wrote: > >>Hi Folks, > >> > >>I'm working on account.html and I'm trying to use images in pace of the > >>standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl > >>5.6.1 under Linux. > >> > >>At the moment I have the "save account info" button as an image and the > >>"save and checkout" button as a standard submit button using the > >>following working code as found on the google archives: > >> > >> >>src="__THEME_IMG_DIR__saveaccountinfo_button.gif" border=0 name="mv_click"> > >> > >>[if items] > >> [set Save and Checkout]mv_nextpage=ord/checkout[/set] > >>  > >>[/if] > >> > >>I've tried using the following code on the INPUT tag for the "save and > >>checkout" button to use an image, but it doesn't work and I end up with a > >>search results page when clicked. As a side issue the user data in the > >>form isn't being saved either when the image is used. > >> > >>[if items] > >> [set Save and Checkout]mv_nextpage=ord/checkout[/set] > >>  >>src="__THEME_IMG_DIR__checkout_button.gif" NAME=mv_click> > >>[/if] > >> > >>I can't work out why this doesn't work, or why I end up on a search page. > >>Does anyone have any ideas what I'm missing or of another way to achieve > >>this? I've looked at using the [button][/button] IC tag, but all attempts > >>with that have also failed. > >> > >>Many thanks in advance > >> > >>Mark > > > >The [button] tag would be the correct way to handle this, and it should > >get the job done. > > > > > >- Ed L. > > Hi Ed, > > Thanks for your reply. > > As I said above I've tried various flavours of the [button] tag with little > success :( > > Would it be possible to give me a working example that I can tweak? > Mark, I've run into the exact same issue. The button tag, I believe but haven't completely figured it out, makes some assumptions about the location of the images. And if it can't find the image it will fortunately default to some other image or the text specified. What I've done, not the best solution for sure, is made the path a somewhat hard coded path like the following src="__SECURE_SERVER__/cart/images/HomeName/images/recalculate.gif" Jon From edl at newmediaems.com Fri Dec 19 12:57:08 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Fri Dec 19 12:53:08 2003 Subject: [ic] problem with images for buttons in account.html In-Reply-To: <6.0.1.1.2.20031219172106.0233c008@secure.vwe.net> References: <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> Message-ID: <5.2.1.1.0.20031219095515.02fafea8@mail.newmediaems.com> At 05:24 PM 12/19/2003 +0000, you wrote: >At 16:54 19/12/2003, you wrote: >>At 12:17 AM 12/19/2003 +0000, you wrote: >>>Hi Folks, >>> >>>I'm working on account.html and I'm trying to use images in pace of the >>>standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl >>>5.6.1 under Linux. >>> >>>At the moment I have the "save account info" button as an image and the >>>"save and checkout" button as a standard submit button using the >>>following working code as found on the google archives: >>> >>>>>src="__THEME_IMG_DIR__saveaccountinfo_button.gif" border=0 name="mv_click"> >>> >>>[if items] >>> [set Save and Checkout]mv_nextpage=ord/checkout[/set] >>>  >>>[/if] >>> >>>I've tried using the following code on the INPUT tag for the "save and >>>checkout" button to use an image, but it doesn't work and I end up with >>>a search results page when clicked. As a side issue the user data in the >>>form isn't being saved either when the image is used. >>> >>>[if items] >>> [set Save and Checkout]mv_nextpage=ord/checkout[/set] >>> >>src="__THEME_IMG_DIR__checkout_button.gif" NAME=mv_click> >>>[/if] >>> >>>I can't work out why this doesn't work, or why I end up on a search >>>page. Does anyone have any ideas what I'm missing or of another way to >>>achieve this? I've looked at using the [button][/button] IC tag, but all >>>attempts with that have also failed. >>> >>>Many thanks in advance >>> >>>Mark >> >>The [button] tag would be the correct way to handle this, and it should >>get the job done. >> >> >>- Ed L. > >Hi Ed, > >Thanks for your reply. > >As I said above I've tried various flavours of the [button] tag with >little success :( > >Would it be possible to give me a working example that I can tweak? > >Many thanks > >Mark You need to add 'name=account_change' to the opening tag. Then all you need is: [if items] [button name="mv_click" src="__THEME_IMG_DIR__checkout_button.gif" text="Save and Checkout" hidetext=1 form=account_change ] mv_nextpage=ord/checkout [/button]

[L]No change, go to checkout[/L] [/if] Note that the [set Save and Checkout]...[/set] is no longer needed. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From don at spamisevil.org Fri Dec 19 13:11:06 2003 From: don at spamisevil.org (Don Silvia) Date: Fri Dec 19 13:11:22 2003 Subject: [ic] New user having trouble getting 5.0.0 running Message-ID: <50490.12.11.149.5.1071857466.squirrel@www.spamisevil.org> Hi, I did a manual install of Interchange 5.0.0 that seemed to go fine, but when I run makecat, I get the following error: ./configure: ./configure: No such file or directory Couldn't run configure; probably no C compiler. Couldn't find the executable file 'vlink'. Please give the complete path to the link program. Link program? I'm not sure what it's asking for. I found a file named vlink.pl in dist/src and tried giving it the path to that file but when I try to run the demo I get a message in the browser saying the Interchange server is not running. The server seems to start ok and ps shows that it's running. I couldn't find anything in the FAQ that deals with this problem. RTFM answere are fine, as long as they come with a pointer to the appropriate FM. Thanks, Don Silvia From mark at vwe.net Fri Dec 19 13:15:45 2003 From: mark at vwe.net (Mark Bryant) Date: Fri Dec 19 13:15:59 2003 Subject: [ic] problem with images for buttons in account.html In-Reply-To: <3FE33928.BD00540C@attglobal.net> References: <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> <6.0.1.1.2.20031219172106.0233c008@secure.vwe.net> <3FE33928.BD00540C@attglobal.net> Message-ID: <6.0.1.1.2.20031219180715.0233c170@secure.vwe.net> At 17:45 19/12/2003, you wrote: > > At 16:54 19/12/2003, you wrote: > > >At 12:17 AM 12/19/2003 +0000, you wrote: > > >>Hi Folks, > > >> > > >>I'm working on account.html and I'm trying to use images in pace of the > > >>standard buttons as provided by the browser. I'm using IC 4.8.7 and Perl > > >>5.6.1 under Linux. > > >> > > >>At the moment I have the "save account info" button as an image and the > > >>"save and checkout" button as a standard submit button using the > > >>following working code as found on the google archives: > > >> > > >> > >>src="__THEME_IMG_DIR__saveaccountinfo_button.gif" border=0 > name="mv_click"> > > >> > > >>[if items] > > >> [set Save and Checkout]mv_nextpage=ord/checkout[/set] > > >>  > > >>[/if] > > >> > > >>I've tried using the following code on the INPUT tag for the "save and > > >>checkout" button to use an image, but it doesn't work and I end up with a > > >>search results page when clicked. As a side issue the user data in the > > >>form isn't being saved either when the image is used. > > >> > > >>[if items] > > >> [set Save and Checkout]mv_nextpage=ord/checkout[/set] > > >>  > >>src="__THEME_IMG_DIR__checkout_button.gif" NAME=mv_click> > > >>[/if] > > >> > > >>I can't work out why this doesn't work, or why I end up on a search page. > > >>Does anyone have any ideas what I'm missing or of another way to achieve > > >>this? I've looked at using the [button][/button] IC tag, but all attempts > > >>with that have also failed. > > >> > > >>Many thanks in advance > > >> > > >>Mark > > > > > >The [button] tag would be the correct way to handle this, and it should > > >get the job done. > > > > > > > > >- Ed L. > > > > Hi Ed, > > > > Thanks for your reply. > > > > As I said above I've tried various flavours of the [button] tag with little > > success :( > > > > Would it be possible to give me a working example that I can tweak? > > > >Mark, > > I've run into the exact same issue. The button tag, I believe but > haven't >completely >figured it out, makes some assumptions about the location of the images. >And if >it can't find the image it will fortunately default to some other image or the >text >specified. What I've done, not the best solution for sure, is made the path >a somewhat hard coded path like the following > >src="__SECURE_SERVER__/cart/images/HomeName/images/recalculate.gif" > >Jon Hi Jon, Thanks for your reply :) Like you I was able to get the button to display the image I wanted by putting full URLs in the [button] code, but it's what happens after I click the image that's causing me problems. I've not yet managed to come up with a complete [button][/button] tag that saves the form data and then proceeds to the checkout all in the one click like the standard button does. Hopefully Ed will post an example for us :) Mark From mark at vwe.net Fri Dec 19 13:37:24 2003 From: mark at vwe.net (Mark Bryant) Date: Fri Dec 19 13:37:35 2003 Subject: [ic] problem with images for buttons in account.html In-Reply-To: <5.2.1.1.0.20031219095515.02fafea8@mail.newmediaems.com> References: <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> <6.0.1.1.2.20031219001547.05157ec0@wheresmymailserver.com> <5.2.1.1.0.20031219084921.02f33b38@mail.newmediaems.com> <5.2.1.1.0.20031219095515.02fafea8@mail.newmediaems.com> Message-ID: <6.0.1.1.2.20031219182615.0241da80@secure.vwe.net> At 17:57 19/12/2003, you wrote: >At 05:24 PM 12/19/2003 +0000, you wrote: >>At 16:54 19/12/2003, you wrote: >>>At 12:17 AM 12/19/2003 +0000, you wrote: >>>>Hi Folks, >>>> >>>>I'm working on account.html and I'm trying to use images in pace of the >>>>standard buttons as provided by the browser. I'm using IC 4.8.7 and >>>>Perl 5.6.1 under Linux. >>>> >>>>At the moment I have the "save account info" button as an image and the >>>>"save and checkout" button as a standard submit button using the >>>>following working code as found on the google archives: >>>> >>>>>>>src="__THEME_IMG_DIR__saveaccountinfo_button.gif" border=0 name="mv_click"> >>>> >>>>[if items] >>>> [set Save and Checkout]mv_nextpage=ord/checkout[/set] >>>>  >>>>[/if] >>>> >>>>I've tried using the following code on the INPUT tag for the "save and >>>>checkout" button to use an image, but it doesn't work and I end up with >>>>a search results page when clicked. As a side issue the user data in >>>>the form isn't being saved either when the image is used. >>>> >>>>[if items] >>>> [set Save and Checkout]mv_nextpage=ord/checkout[/set] >>>> >>>src="__THEME_IMG_DIR__checkout_button.gif" NAME=mv_click> >>>>[/if] >>>> >>>>I can't work out why this doesn't work, or why I end up on a search >>>>page. Does anyone have any ideas what I'm missing or of another way to >>>>achieve this? I've looked at using the [button][/button] IC tag, but >>>>all attempts with that have also failed. >>>> >>>>Many thanks in advance >>>> >>>>Mark >>> >>>The [button] tag would be the correct way to handle this, and it should >>>get the job done. >>> >>> >>>- Ed L. >> >>Hi Ed, >> >>Thanks for your reply. >> >>As I said above I've tried various flavours of the [button] tag with >>little success :( >> >>Would it be possible to give me a working example that I can tweak? >> >>Many thanks >> >>Mark > >You need to add 'name=account_change' to the opening tag. Then >all you need is: > >[if items] > [button > name="mv_click" > src="__THEME_IMG_DIR__checkout_button.gif" > text="Save and Checkout" > hidetext=1 > form=account_change > ] > mv_nextpage=ord/checkout > [/button] > >

> [L]No change, go to checkout[/L] >[/if] > > >Note that the [set Save and Checkout]...[/set] is no longer needed. > >- Ed L. Ed, you're a star! Although the button code you've given is exactly the same as what I'd come with, the missing component in all this was the name="account_change" in the HTML tag. I guess it helps if IC knows which form to handle :) Many thanks Mark From edl at newmediaems.com Fri Dec 19 13:49:18 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Fri Dec 19 13:45:18 2003 Subject: [ic] New user having trouble getting 5.0.0 running In-Reply-To: <50490.12.11.149.5.1071857466.squirrel@www.spamisevil.org> Message-ID: <5.2.1.1.0.20031219104900.02fa1430@mail.newmediaems.com> At 01:11 PM 12/19/2003 -0500, you wrote: >Hi, > >I did a manual install of Interchange 5.0.0 that seemed to go fine What does 'manual install' mean? - Ed >, but >when I run makecat, I get the following error: > >./configure: ./configure: No such file or directory >Couldn't run configure; probably no C compiler. > Couldn't find the executable file 'vlink'. > > Please give the complete path to the link program. > >Link program? > >I'm not sure what it's asking for. I found a file named vlink.pl in >dist/src and tried giving it the path to that file but when I try to run >the demo I get a message in the browser saying the Interchange server is >not running. The server seems to start ok and ps shows that it's running. > >I couldn't find anything in the FAQ that deals with this problem. RTFM >answere are fine, as long as they come with a pointer to the appropriate >FM. > >Thanks, > >Don Silvia > > > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From don at spamisevil.org Fri Dec 19 14:04:18 2003 From: don at spamisevil.org (Don Silvia) Date: Fri Dec 19 14:04:27 2003 Subject: [ic] New user having trouble getting 5.0.0 running In-Reply-To: <5.2.1.1.0.20031219104900.02fa1430@mail.newmediaems.com> References: <50490.12.11.149.5.1071857466.squirrel@www.spamisevil.org> <5.2.1.1.0.20031219104900.02fa1430@mail.newmediaems.com> Message-ID: <17959.12.11.149.5.1071860658.squirrel@www.spamisevil.org> Ed LaFrance said: > At 01:11 PM 12/19/2003 -0500, you wrote: >>Hi, >> >>I did a manual install of Interchange 5.0.0 that seemed to go fine > > What does 'manual install' mean? > > - Ed Sorry, I meant to say installed from source, as opposed to installed from RPM. Don Silvia From nbarnett at specialty-books.com Fri Dec 19 15:36:08 2003 From: nbarnett at specialty-books.com (Nathan Barnett) Date: Fri Dec 19 15:36:19 2003 Subject: [ic] help with survey Message-ID: <1071866167.22482.146.camel@isengard> I have been trying to create a survey in Interchange (vers 4.9.8), however, I have run into some unpleasant difficulties, which I am hoping someone will be able to address. For one, I seem to be unable to use the admin UI version of survey creation to obtain the same survey functionality as represented in the Foundation (in fact, attempting to modify the Foundation survey in the admin UI actually decreases the Foundation survey's functionality). By functionality, I mean certain aspects that are present in the Foundation survey, but I seem to be unable to duplicate through the admin UI. For instance, the last question page in the Foundation survey replaces the 'Next -->' button with a 'Finish' button, but this capability seems to be missing from the Admin UI. Also, the survey created through the admin UI does not seem to record any results, and thus allows one to take the survey multiple times. Also, a strange 'GO' link is created on the final page that links back to the home page and final page titles do not seem to be displaying properly. Is there some other way to modify/create surveys (besides the admin UI)? The only other way I can think of is hand modifying the survey.txt file, but that seems a bit more work than should be necessary. Or have these issues been addressed in the newer versions of Interchange? Are there any other files related to the surveys functionality besides survey.txt? Advice and/or answers would be greatly appreciated... Thanks! From mike at perusion.com Fri Dec 19 16:12:25 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 19 16:12:38 2003 Subject: [ic] help with survey In-Reply-To: <1071866167.22482.146.camel@isengard> References: <1071866167.22482.146.camel@isengard> Message-ID: <20031219211224.GA23134@bill.heins.net> Quoting Nathan Barnett (nbarnett@specialty-books.com): > I have been trying to create a survey in Interchange (vers > 4.9.8), however, I have run into some unpleasant difficulties, which I > am hoping someone will be able to address. For one, I seem to be unable > to use the admin UI version of survey creation to obtain the same survey > functionality as represented in the Foundation (in fact, attempting to > modify the Foundation survey in the admin UI actually decreases the > Foundation survey's functionality). By functionality, I mean certain > aspects that are present in the Foundation survey, but I seem to be > unable to duplicate through the admin UI. For instance, the last > question page in the Foundation survey replaces the 'Next -->' button > with a 'Finish' button, but this capability seems to be missing from the > Admin UI. IT is not, but you have to manipulate the "Thanks" tab. It is possible to recreate the provided survey from the UI, but probably not completely intuitive. This is one of the areas I plan on working on for 5.1/5.2. On my todo list ( which always changes based on what my clients want): -- Easy generation/graphing of one-question quick-polls -- Easy generation of email feedback form -- Integrate graphing better > Also, the survey created through the admin UI does not seem > to record any results, and thus allows one to take the survey multiple > times. That is controlled by some settings, and those do work. The key is to use "standard survey log". > Also, a strange 'GO' link is created on the final page that > links back to the home page and final page titles do not seem to be > displaying properly. Have you tried cloning the demo survey and modifying it? > Is there some other way to modify/create surveys (besides the > admin UI)? The only other way I can think of is hand modifying the > survey.txt file, but that seems a bit more work than should be > necessary. Or have these issues been addressed in the newer versions of > Interchange? > Not yet. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From nbarnett at specialty-books.com Fri Dec 19 16:26:27 2003 From: nbarnett at specialty-books.com (Nathan Barnett) Date: Fri Dec 19 16:26:37 2003 Subject: [ic] fedex file conversion Message-ID: <1071869186.22484.150.camel@isengard> Is there a script out there to convert the FedEx ascii rate and zone files to an IC readable format? http://www.fedex.com/us/rates_new/downloads/?link=4 Thanks -nate- From megan at junglevision.com Fri Dec 19 17:28:16 2003 From: megan at junglevision.com (Megan Quattrocchi) Date: Fri Dec 19 17:14:20 2003 Subject: [ic] Editing as Admin In-Reply-To: <5.2.1.1.0.20031218160447.03052ab8@mail.newmediaems.com> Message-ID: I'm having problems editing multiple items while in the Admin page. I'm on the Administation/Preferences/Company page. No matter how many boxes have a check mark, neither the "edit checked" or "delete checked" buttons do anything. If I click on a variable name, it brings up the variable info, and I can edit or delete it just fine. How do I fix it so I can edit multiple items??? Thanks, Megan From mike at perusion.com Fri Dec 19 17:25:24 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 19 17:25:37 2003 Subject: [ic] fedex file conversion In-Reply-To: <1071869186.22484.150.camel@isengard> References: <1071869186.22484.150.camel@isengard> Message-ID: <20031219222524.GA24098@bill.heins.net> Quoting Nathan Barnett (nbarnett@specialty-books.com): > Is there a script out there to convert the FedEx ascii rate and zone > files to an IC readable format? > > http://www.fedex.com/us/rates_new/downloads/?link=4 > As far as I knew, there were no ASCII zone files before now -- you had to get their PDF and clip and paste. It is good to know these exist. I might format them up and make them available. I have a script which makes the rate files good: #!/usr/bin/perl ## Turns N-N column into separate columns. ## ## usage: joindash < input > output ## ## Used for building Fedex rate tables from their brain-dead thing use Getopt::Std; getopts('td:j:'); use vars qw/$opt_t $opt_d $opt_j/; use strict; my $delim = $opt_t ? "\t" : '\s*,\s*'; my $joiner = $opt_t ? "\t" : ','; $delim = $opt_d if $opt_d; $joiner = $opt_j if $opt_j; my @cols; my @ocols; my @hcols = 'weight'; $ocols[0] = 0; while(<>) { next unless /^Weight/i; warn "Found weight line\n"; s/Zone //g; s{/}{-}g; @cols = split /\s*,\s*/, $_; for (my $i = 1; $i < @cols; $i++) { $cols[$i] =~ m{(\d+)(?:-(\d+))?}; my $b = $1; my $e = $2; warn "i=$i b=$b e=$e"; if($e) { for ( my $j = $b; $j <= $e; $j++ ) { $ocols[$j] = $i; } } else { $ocols[$b] = $i; } } last; } for(my $i = 1; $i < @ocols; $i++) { next unless defined $ocols[$i]; push @hcols, $i; } print join $joiner, @hcols; print "\n"; while(<>) { if(/^(FedEx.*Envel|Letter)/i) { warn "Found fedex envelope line\n"; s/.*?,/Letter,/; } else { last unless /^\d+/; } s/\s+$//; s/\$//g; my @f = split /$delim/o, $_; my @out; for( my $i = 0; $i < @ocols; $i++) { next unless defined $ocols[$i]; push @out, $f[$ocols[$i]]; } print join $joiner, @out; print "\n"; } ### END SCRIPT The zone tables I have never looked at, but if I have time between Christmas and New Year I might look at them. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Software axiom: Lack of speed kills. From megan at junglevision.com Fri Dec 19 17:45:44 2003 From: megan at junglevision.com (Megan Quattrocchi) Date: Fri Dec 19 17:31:47 2003 Subject: [ic] Editing in Admin In-Reply-To: <5.2.1.1.0.20031218160447.03052ab8@mail.newmediaems.com> Message-ID: I just posted a message indicating I could not get multiple edits to work while in the Admin page. Specifically, on the Administration / Preferences / Company screen I get a set of edit and delete buttons on the top and bottom of the company variable list. The buttons on the top of the list do nothing, and the buttons on the bottom of the list work fine. I assume this is either a bug in Interchange or my version 5.0.0 is somehow corrupted. Anyone know which? Thanks, Megan From john_young at sonic.net Fri Dec 19 18:52:31 2003 From: john_young at sonic.net (John Young) Date: Fri Dec 19 18:52:47 2003 Subject: [ic] Should Util::copyref copy coderefs? Message-ID: <3FE38F3F.5050407@sonic.net> Does anybody know whether or not it is intentional that Vend::Util::copyref() does not copy coderefs (references to subroutines)? Just curious... Thanks, John Young From shawn at stuckinrealtime.us Fri Dec 19 14:01:50 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Fri Dec 19 18:58:16 2003 Subject: [ic] Resubmit: Problems with OnFly Items Message-ID: <3FE34B1E.7060401@stuckinrealtime.us> I submitted this yesterday but it never showed up on the list.... I've got the following code on an order button, which should add two onfly items to the cart. My problem is only one item is added. Any Suggestions? [page form="mv_order_group=vps4 mv_order_item=VPRX mv_order_supply=s4 mv_order_group=vps4 mv_order_item=FREELRX mv_order_fly=description=Free Bottle Of Male Enhancement|price=0.00 mv_order_group=vps4 mv_order_item=FREEMALETIPS mv_order_fly=description=Free Online Male Tips Magazine|price=0.00 mv_todo=refresh"][/page] Thanks, Shawn Mathews shawn@stuckinrealtime.u From mike at perusion.com Fri Dec 19 22:17:56 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 19 22:18:07 2003 Subject: [ic] Should Util::copyref copy coderefs? In-Reply-To: <3FE38F3F.5050407@sonic.net> References: <3FE38F3F.5050407@sonic.net> Message-ID: <20031220031756.GA26100@bill.heins.net> Quoting John Young (john_young@sonic.net): > > Does anybody know whether or not it is intentional that > Vend::Util::copyref() > does not copy coderefs (references to subroutines)? How would you go about copying a coderef? Remember, that routine makes a copy of dereferenced items, not references. If you want to look at what Storable, FreezeThaw and some others have done, you will see they don't copy coderefs either, though I think some are trying to use B::DeParse to try and get the equivalent. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From john_young at sonic.net Fri Dec 19 23:36:14 2003 From: john_young at sonic.net (John Young) Date: Fri Dec 19 23:36:30 2003 Subject: [ic] Should Util::copyref copy coderefs? References: <3FE38F3F.5050407@sonic.net> <20031220031756.GA26100@bill.heins.net> Message-ID: <3FE3D1BE.1060600@sonic.net> Mike Heins wrote: > Quoting John Young (john_young@sonic.net): > >>Does anybody know whether or not it is intentional that >>Vend::Util::copyref() >>does not copy coderefs (references to subroutines)? > > How would you go about copying a coderef? Remember, that routine > makes a copy of dereferenced items, not references. I was wondering about that, myself ;-) > If you want to look at what Storable, FreezeThaw and some others > have done, you will see they don't copy coderefs either, though I > think some are trying to use B::DeParse to try and get the equivalent. Thanks for the quick reply. This question came about due to me generating the following error in RPC/Prefork mode with SubCatalog: Died in server spawn: do not know how to copy CODE(0x878ebe8) from a patched V4.9.7-200303310658's Util.pm. I've quit using SubCatalogs for now, so it's not an issue (to me). Also, I had trouble replicating the error (in order to test across systems and versions)... but I was looking at copyref() and was curious about the notion of copying a coderef, figuring perhaps it might play a role in spawning daemons in prefork or some such thing. Happy Holidays! John Young From kevin at cursor.biz Sat Dec 20 13:23:56 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Sat Dec 20 13:24:44 2003 Subject: [ic] Resubmit: Problems with OnFly Items In-Reply-To: <3FE34B1E.7060401@stuckinrealtime.us> Message-ID: <007001c3c726$6e1720c0$020110ac@majestic.cursor-software.co.uk> Shawn Mathews [shawn@stuckinrealtime.us] wrote: > > I submitted this yesterday but it never showed up on the list.... > > I've got the following code on an order button, which should add two > onfly items to the cart. My problem is only one item is added. Any > Suggestions? > > > [page form="mv_order_group=vps4 > mv_order_item=VPRX > mv_order_supply=s4 > > mv_order_group=vps4 > mv_order_item=FREELRX > mv_order_fly=description=Free Bottle Of Male Enhancement|price=0.00 > > mv_order_group=vps4 > mv_order_item=FREEMALETIPS > mv_order_fly=description=Free Online Male Tips Magazine|price=0.00 > mv_todo=refresh"] border=0>[/page] > I've just done a quick test and can confirm the behaviour. The workaround appears to be to put the on-the-fly items first in the list and follow those with the list of "real" items. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From shawn at stuckinrealtime.us Sat Dec 20 14:03:01 2003 From: shawn at stuckinrealtime.us (Shawn Mathews) Date: Sat Dec 20 16:52:27 2003 Subject: [ic] Resubmit: Problems with OnFly Items In-Reply-To: <007001c3c726$6e1720c0$020110ac@majestic.cursor-software.co.uk> References: <007001c3c726$6e1720c0$020110ac@majestic.cursor-software.co.uk> Message-ID: <3FE49CE5.7030209@stuckinrealtime.us> Kevin Walsh wrote on 12/20/2003, 1:23 PM: > I've just done a quick test and can confirm the behaviour. The > workaround > appears to be to put the on-the-fly items first in the list and follow > those with the list of "real" items. > > Shawn Mathews [shawn@stuckinrealtime.us] wrote: > > > > I submitted this yesterday but it never showed up on the list.... > > > > I've got the following code on an order button, which should add two > > onfly items to the cart. My problem is only one item is added. Any > > Suggestions? > > > > > > [page form="mv_order_group=vps4 > > mv_order_item=VPRX > > mv_order_supply=s4 > > > > mv_order_group=vps4 > > mv_order_item=FREELRX > > mv_order_fly=description=Free Bottle Of Male > Enhancement|price=0.00 > > > > mv_order_group=vps4 > > mv_order_item=FREEMALETIPS > > mv_order_fly=description=Free Online Male Tips > Magazine|price=0.00 > > mv_todo=refresh"] height=98 > > border=0>[/page] > > hmmmm, I'm using order groups because the OnFly Items are free and only given with the first item. If I put the onfly items first, then they are not removed when the "Real" item is deleted. I'm thinking I could use the ItemAction Functions to work around this. Any Ideas? Shawn Mathews shawn@stuckinrealtime.us From news1 at dsl.pipex.com Sun Dec 21 04:49:08 2003 From: news1 at dsl.pipex.com (AS) Date: Sun Dec 21 04:49:18 2003 Subject: [ic] Excel Parse Fails Even with template.xls??? Message-ID: <001401c3c7a7$ae306960$6400a8c0@xp1600> Hi folks, I am having real problems uploading an excel products spreadsheet into IC, I have been told that there is nothing wrong with the IC install and it must be my spreadsheet. I am not convinced, I have gone back to the default template with a single product line and get this message:- ------------- FATAL error Failed to parse XLS file upload/template.xls: Progress to date: ------------- In the error.log I see this:- -------------- require trapped by operation mask at /usr/lib/perl5/5.6.1/File/Copy.pm line 10 Compilation failed in require at (eval 43) line 3 --------------- It appears in the middle of some perl script that seems to be mentioning countries and shipping, my locale is set to en_GB if it makes any difference. Can anyone help me with this please?? Many thanks, Andy. www.tvcables.co.uk From david.radovanovic at verizon.net Sun Dec 21 08:22:39 2003 From: david.radovanovic at verizon.net (David Radovanovic) Date: Sun Dec 21 08:23:24 2003 Subject: [ic] Excel Parse Fails Even with template.xls??? In-Reply-To: <001401c3c7a7$ae306960$6400a8c0@xp1600> Message-ID: interchange-users-bounces@icdevgroup.org wrote: > Hi folks, > > I am having real problems uploading an excel products spreadsheet into > IC, I have been told that there is nothing wrong with the IC install > and it must be my spreadsheet. > > I am not convinced, I have gone back to the default template with a > single product line and get this message:- > > ------------- > FATAL error > > Failed to parse XLS file upload/template.xls: > > Progress to date: > ------------- > > In the error.log I see this:- > > -------------- > require trapped by operation mask at /usr/lib/perl5/5.6.1/File/Copy.pm > line 10 > Compilation failed in require at (eval 43) line 3 > --------------- > > It appears in the middle of some perl script that seems to be > mentioning countries and shipping, my locale is set to en_GB if it > makes any difference. > > Can anyone help me with this please?? > > Many thanks, > Andy. > > www.tvcables.co.uk > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users Whenever I get those errors it always seems to be the spreadsheet. In my case I am using the foundation theme which has sample data included. You might want to look closely and make sure Excel hasn't added some offending charcters. Take a look at the errors log and see exactly where IC balks. David Radovanovic WhatsTheBigIdea.com, Inc. -- Bright ideas for the Web! 249 Partition Street Saugerties, New York 12477 (845) 247-0909, FAX: (845) 246-3880 http://www.WhatsTheBigIdea.com From prtyof5 at attglobal.net Sun Dec 21 12:23:37 2003 From: prtyof5 at attglobal.net (Jon) Date: Sun Dec 21 12:24:52 2003 Subject: [ic] SQL-Ledger Message-ID: <3FE5D719.DC96317E@attglobal.net> IC 4.9 Looking at SQL_Ledger.pm .. Has anyone used this module to populate in a batch initial load fashion from IC to SQL-Ledger ? Does anyone have some sample code for using SQL_Ledger.pm via straight calls for pulling IC data to put into SQL-Ledger ? Jon From news1 at dsl.pipex.com Sun Dec 21 14:31:26 2003 From: news1 at dsl.pipex.com (AS) Date: Sun Dec 21 14:31:34 2003 Subject: [ic] Excel Parse Fails Even with template.xls??? In-Reply-To: Message-ID: <001601c3c7f9$06ee98f0$6400a8c0@xp1600> > Hi folks, > > I am having real problems uploading an excel products spreadsheet into > IC, I have been told that there is nothing wrong with the IC install > and it must be my spreadsheet. > > I am not convinced, I have gone back to the default template with a > single product line and get this message:- > > ------------- > FATAL error > > Failed to parse XLS file upload/template.xls: > > Progress to date: > ------------- > > In the error.log I see this:- > > -------------- > require trapped by operation mask at /usr/lib/perl5/5.6.1/File/Copy.pm > line 10 > Compilation failed in require at (eval 43) line 3 > --------------- > > It appears in the middle of some perl script that seems to be > mentioning countries and shipping, my locale is set to en_GB if it > makes any difference. > > Can anyone help me with this please?? > > Many thanks, > Andy. > > www.tvcables.co.uk > >----------------------------------------------------------------------- --- > >Whenever I get those errors it always seems to be the spreadsheet. In my >case I am using the foundation theme which has sample data included. You >might want to look closely and make sure Excel hasn't added some offending >charcters. Take a look at the errors log and see exactly where IC balks. > >David Radovanovic ------------------------------------------------------------------------ -- I am fairly certain this is not a spreadsheet problem as my spreadsheets all load fine on my home lan system. I also cannot get the foundation construct.xls file to parse. What else can I do, I am really stuck here?? Thanks, Andy. From giftbound1 at comcast.net Mon Dec 22 00:36:21 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 00:27:00 2003 Subject: [ic] Paypal Message-ID: <001d01c3c84d$889048a0$be5e2744@verona01.nj.comcast.net> Has anyone get paypal to work with Interchange? if So can someone tell me how to do it? I probably could do it I will let you know but would be easier if someone did this already From giftbound1 at comcast.net Mon Dec 22 00:38:47 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 00:29:22 2003 Subject: [ic] forum? Message-ID: <002501c3c84d$df2840a0$be5e2744@verona01.nj.comcast.net> Im wondering if im allowed to make a forum for interchange instead of this? From giftbound1 at comcast.net Mon Dec 22 03:53:26 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 03:44:08 2003 Subject: [ic] Paypal Message-ID: <004d01c3c869$10e3ed40$be5e2744@verona01.nj.comcast.net> That link was useful But im looking for IPN Notification and I dont think any of them are. From batschelet at exactasphere.com Mon Dec 22 08:22:27 2003 From: batschelet at exactasphere.com (Sam Batschelet) Date: Mon Dec 22 08:23:17 2003 Subject: [ic] forum? References: <002501c3c84d$df2840a0$be5e2744@verona01.nj.comcast.net> Message-ID: <015f01c3c88e$a565cf90$6501a8c0@craig> > Im wondering if im allowed to make a forum for interchange instead of this? > _______________________________________________ Tom, www.interchangeville.com is an active forum based on interchange no need to reinvent the wheel. -Sam From kosmo at trslab.it Mon Dec 22 08:44:43 2003 From: kosmo at trslab.it (Danilo Ingami) Date: Mon Dec 22 08:40:45 2003 Subject: [ic] Autocommit Error with IC 5.0 In-Reply-To: <049d01c3c622$2db748c0$d900a8c0@elonex49sx1swy> References: <049d01c3c622$2db748c0$d900a8c0@elonex49sx1swy> Message-ID: <3FE6F54B.6020508@trslab.it> hi, I'm deploy my site, thaht was built on ic 4.8.7+mysql. Whit IC 5.0 I've got two errors. 1) I can't set the eur_EUR locale, even I've put the ild directives in the new catalog.cfg and added the directived in the locale.txt file 2) I've got a strange mysql error about AutoCommit Function. I attach the rispective data in this mai. Any idea or suggest are welcome. Nice Xmas everyone. Danilo -----------------------Locale.txt------------------------- code en_US en_GB de_DE fr_FR eur_EUR January Januar Janvier February Februar "Février" March "März" Mars April April Avril May Mai Mai June Juni Juin July Juli Juillet August August Aout September September Septembre October October Octobre November November Novembre December Dezember "Décembre" PriceDivide 0.6856 1 1 1 1 ProductFiles currency_symbol $ ? ? ? ? decimal_point . . . . , default 0 1 0 0 0 frac_digits 2 2 2 2 2 mon_decimal_point . . , , . mon_thousand_sep mon_thousands_sep , , , . . p_cs_precedes 1 1 1 p_sep_by_space 1 price_picture DM ### ### ###,## ? ### ### ###,## products de_products produits -----------------------catalog.cfg------------------------ DefaultLocale eur_eur LocaleDatabase locale -------------------------------SQL Error-------------------------------------- 80.117.237.80 vj6JMmZT:80.117.237.80 - [22/December/2003:14:29:27 +0100] ab /ab/process.html transactions commit failed: DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is on at /usr/local/interchange/lib/Vend/Table/DBI.pm line 846, chunk 1.Chris Snow wrote: From gary at geton.com Mon Dec 22 12:07:08 2003 From: gary at geton.com (gary@geton.com) Date: Mon Dec 22 12:22:55 2003 Subject: [ic] Re: interchange-users Digest, Vol 6, Issue 22 Message-ID: Message: 3 Date: Mon, 22 Dec 2003 00:36:21 -0500 From: "Tom" Subject: [ic] Paypal To: Message-ID: <001d01c3c84d$889048a0$be5e2744@verona01.nj.comcast.net> Content-Type: text/plain; charset="iso-8859-1" >Has anyone get paypal to work with Interchange? >if So can someone tell me how to do it? >I probably could do it I will let you know but would be easier if someone >did this already One way is to simply have a form post on your receipt.html page which directs them to PayPal and passes as much or as little order info as desired. eg. [if value mv_payment eq PayPal] [tmp paypalamount][calc]sprintf('%.2f', [subtotal noformat=1]);[/calc][/tmp] .........form parameters optional i.e. address etc. ....... [/if] Gary From barry at jaguarrtech.com Mon Dec 22 13:43:20 2003 From: barry at jaguarrtech.com (Barry Newman) Date: Mon Dec 22 13:42:44 2003 Subject: [ic] 500 Internal Server Error Message-ID: <1072118600.4473.3.camel@linux.local> Fresh out of the rpms and a stock 7.3 box, always just worked before , but on this one server I keep getting this. While I am investigating permissions , is there anything else this could be? Thanks Barry From mr at mr-servers.net Mon Dec 22 15:18:29 2003 From: mr at mr-servers.net (=?iso-8859-2?Q?Micha=B3_Rogozi=F1ski?=) Date: Mon Dec 22 15:17:13 2003 Subject: [ic] 500 Internal Server Error In-Reply-To: <1072118600.4473.3.camel@linux.local> References: <1072118600.4473.3.camel@linux.local> Message-ID: <20031222201829.GE699@hestia.mr-servers.net> On Mon, Dec 22, 2003 at 01:43:20PM -0500, Barry Newman wrote: > Fresh out of the rpms and a stock 7.3 box, always just worked before , > but on this one server I keep getting this. While I am investigating > permissions , is there anything else this could be? Look into the logs of your apache, this might be really helpful. Lots might happen and result in 500. ;) -- Micha? Rogozi?ski +48 603 070 000 # vim: noai tw=78 ts=2 From aaronmail at hazenet.net Mon Dec 22 19:31:28 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Mon Dec 22 19:31:47 2003 Subject: [ic] ic jobs and scratch value issue? Message-ID: Hi all, IC 4.9.8 I have driven myself crazy with this one, and am at a loss. I have an IC cron job set up, and the [scratch email_body] value is either not being set or displayed in this context. code below for further details. the exact same code produces the expected result when using the 'test ITL snippet' page... and there are no errors. I must be missing something about how this type of value and the 'jobs' work together or something. [tmp email_body][query sql="SELECT code,user,start_date,end_date,type,host_domain FROM subscriptions WHERE ((( CURRENT_DATE() + 0 ) < end_date ) OR end_date = 'never' ) ORDER BY end_date DESC;" type=list list_prefix=subscription prefix=sub] [subscription] [tmp last_billed][query sql="SELECT capture_date FROM transactions WHERE store_id = '[sub-param code]' ORDER BY capture_date DESC LIMIT 1;" type=list list_prefix=alreadybilled prefix=alr][alreadybilled][alr-param capture_date][/alreadybilled][/query][/tmp] [billing-check start_date="[sub-param start_date]" last_billed="[scratch last_billed]" type="[sub-param type]"] [if scratch bill_it] [sub-param code] [sub-param host_domain] [if scratch last]last bill: [/if][scratch next_bill] [if scratch overdue] OVERDUE [else] ok [/else] [/if] [/if] [/subscription] [/query][/tmp] [if scratch email_body] [email to="blahblah" [scratch email_body] [/email] [else] nothing for today [/else] [/if] TIA! -- Aaron Hazelton Hazenet.net From giftbound1 at comcast.net Mon Dec 22 20:19:19 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 20:10:03 2003 Subject: [ic] Checkout? Message-ID: <001b01c3c8f2$ca97e960$be5e2744@verona01.nj.comcast.net> Where do I change this variable: var possible = ['credit_card', 'cod', 'postal', 'online_check', 'purchase_order'] to add in paypal? Where is this located at? From giftbound1 at comcast.net Mon Dec 22 21:56:12 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 21:46:59 2003 Subject: [ic] Working on Paypal IPN Gateway Message-ID: <005401c3c900$531b8000$be5e2744@verona01.nj.comcast.net> If anyone is interested I will post it when finished. I need some testers to test this. Let me know if you want to test this to see if this works. Let me know of any bugs. I should be done tommorow or tonight. From giftbound1 at comcast.net Mon Dec 22 21:59:58 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 21:50:45 2003 Subject: [ic] PayPal IPN Gateway Message-ID: <008001c3c900$d97f7de0$be5e2744@verona01.nj.comcast.net> Working on a PayPal IPN Gateway. I should be done tonight or tommorow. I need a tester to test this to see if this works. If anyone is interested let me know. From giftbound1 at comcast.net Mon Dec 22 23:36:38 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 23:27:40 2003 Subject: [ic] Losing Cart in SSL Message-ID: <00ab01c3c90e$5af90460$be5e2744@verona01.nj.comcast.net> Im losing cart contents in SSL I put this in interchange.cfg DomainTail no IpHead Yes and in Catalog.cfg SessionExpire 10 minutes WideOpen Yes And still losing contents what else can i try? From giftbound1 at comcast.net Mon Dec 22 23:46:34 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 22 23:37:33 2003 Subject: [ic] Losing Cart in SSL References: <00ab01c3c90e$5af90460$be5e2744@verona01.nj.comcast.net> Message-ID: <00b701c3c90f$be58f820$be5e2744@verona01.nj.comcast.net> Found the Reason in interchange.cfg Changed Mall to No ----- Original Message ----- From: "Tom" To: Sent: Monday, December 22, 2003 11:36 PM Subject: [ic] Losing Cart in SSL > Im losing cart contents in SSL > > I put this in interchange.cfg > DomainTail no > IpHead Yes > > and in Catalog.cfg > SessionExpire 10 minutes > WideOpen Yes > > And still losing contents what else can i try? > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From kevin at cursor.biz Tue Dec 23 00:10:45 2003 From: kevin at cursor.biz (Kevin Walsh) Date: Tue Dec 23 00:10:57 2003 Subject: [ic] ic jobs and scratch value issue? In-Reply-To: Message-ID: <004b01c3c913$1f021e60$020110ac@majestic.cursor-software.co.uk> Aaron Hazelton [aaronmail@hazenet.net] wrote: > [if scratch email_body] > [email to="blahblah" > [scratch email_body] > [/email] > [else] > nothing for today > [/else] > [/if] > You appear to have a syntax error in there: [email to="blahblah" should be: [email to="blahblah"] I haven't looked at the rest of your code, as that error seemed to stand out from the crowd. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From giftbound1 at comcast.net Tue Dec 23 01:02:48 2003 From: giftbound1 at comcast.net (Tom) Date: Tue Dec 23 00:54:03 2003 Subject: [ic] Losing Cart in SSL References: <00ab01c3c90e$5af90460$be5e2744@verona01.nj.comcast.net> <00b701c3c90f$be58f820$be5e2744@verona01.nj.comcast.net> Message-ID: <00c401c3c91a$647c3460$be5e2744@verona01.nj.comcast.net> Worked for awhile Now it dont.. hmm? ----- Original Message ----- From: "Tom" To: Sent: Monday, December 22, 2003 11:46 PM Subject: Re: [ic] Losing Cart in SSL > Found the Reason in interchange.cfg Changed Mall to No > ----- Original Message ----- > From: "Tom" > To: > Sent: Monday, December 22, 2003 11:36 PM > Subject: [ic] Losing Cart in SSL > > > > Im losing cart contents in SSL > > > > I put this in interchange.cfg > > DomainTail no > > IpHead Yes > > > > and in Catalog.cfg > > SessionExpire 10 minutes > > WideOpen Yes > > > > And still losing contents what else can i try? > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From frank at goldissue.com Tue Dec 23 01:32:08 2003 From: frank at goldissue.com (frank) Date: Tue Dec 23 01:26:09 2003 Subject: [ic] Losing Cart in SSL In-Reply-To: <00c401c3c91a$647c3460$be5e2744@verona01.nj.comcast.net> References: <00ab01c3c90e$5af90460$be5e2744@verona01.nj.comcast.net> <00b701c3c90f$be58f820$be5e2744@verona01.nj.comcast.net> <00c401c3c91a$647c3460$be5e2744@verona01.nj.comcast.net> Message-ID: <3FE7E168.5040006@goldissue.com> Tom, I assume that your secure server is at a different domain than your main site. This is not supported by Interchange. We have the following setting in catalog.cfg: AlwaysSecure ord/checkout results login order change_password ord/basket That means that the transition to the secure server occurs during the order process, and the cart is not lost on the way to the checkout page. In addition we have disabled the "buy now" button on the results.html page, as it will not comform in any way that I have tried to rewrite it. In other words any attempt to force a order through the secure process results in either a bounce to the last page visited (its in the code) or an endless loop for the web server if the next page "nothing" is altered to something more specific. Mike Heins tells us that all of our cleints should purchase a secure certificate - then none of this would be nescessary, and checkout could take place on the main site. Although cheap certificates are now available from www.instantssl.com I have discouraged my customers form paying out extra money during the first year. Also I was a bit concerned because each secure certificate requires either an additional ip address or port 208.134.35.67:443, 208.134.35.67:444 etc. I now realize that I may be building numerous servers to cater for tthe demands of succesful stores, and hence the availability of ip addresses may not be an issue, I hope this was relevant to your query, Regards, Frank Reitzenstein. Tom wrote: >>>Im losing cart contents in SSL >>> >>>I put this in interchange.cfg >>>DomainTail no >>>IpHead Yes >>> >>>and in Catalog.cfg >>>SessionExpire 10 minutes >>> WideOpen Yes >>> >>>And still losing contents what else can i try? >>>_______________________________________________ >>> >>> >>> From prtyof5 at attglobal.net Tue Dec 23 01:38:20 2003 From: prtyof5 at attglobal.net (Jon) Date: Tue Dec 23 01:39:52 2003 Subject: [ic] Losing Cart in SSL References: <00ab01c3c90e$5af90460$be5e2744@verona01.nj.comcast.net> <00b701c3c90f$be58f820$be5e2744@verona01.nj.comcast.net> <00c401c3c91a$647c3460$be5e2744@verona01.nj.comcast.net> <3FE7E168.5040006@goldissue.com> Message-ID: <3FE7E2DC.2D2C3933@attglobal.net> > Tom, > > I assume that your secure server is at a different domain than your main > site. This is not supported by Interchange. > > We have the following setting in catalog.cfg: > > AlwaysSecure ord/checkout results login order change_password ord/basket > > That means that the transition to the secure server occurs during the > order process, and the cart is not lost on the way to the checkout page. > > In addition we have disabled the "buy now" button on the results.html > page, as it will not comform in any way that I have tried to rewrite it. > In other words any attempt to force a order through the secure process > results in either a bounce to the last page visited (its in the code) > or an endless loop for the web server if the next page "nothing" is > altered to something more specific. > > Mike Heins tells us that all of our cleints should purchase a secure > certificate - then none of this would be nescessary, and checkout could > take place on the main site. > > Although cheap certificates are now available from www.instantssl.com I > have discouraged my customers form paying out extra money during the > first year. > > Also I was a bit concerned because each secure certificate requires > either an additional ip address or port 208.134.35.67:443, > 208.134.35.67:444 etc. > > I now realize that I may be building numerous servers to cater for tthe > demands of succesful stores, and hence the availability of ip addresses > may not be an issue, > > I hope this was relevant to your query, > > Regards, > > Frank Reitzenstein. > > Tom wrote: > > >>>Im losing cart contents in SSL > >>> > >>>I put this in interchange.cfg > >>>DomainTail no > >>>IpHead Yes > >>> > >>>and in Catalog.cfg > >>>SessionExpire 10 minutes > >>> WideOpen Yes > >>> > >>>And still losing contents what else can i try? > >>>_______________________________________________ > >>> > >>> Hey guys. First don't top post otherwise the natives get restless :))) If what Frank said doesn't help make sure your images on the checkout page are secure (i.e. https://). Funny how this issue has come up a few times in the last couple of weeks. Jon From joscan at comcast.net Tue Dec 23 01:52:56 2003 From: joscan at comcast.net (Scott Andreas) Date: Tue Dec 23 01:53:08 2003 Subject: [ic] problem with updating orderline Message-ID: <1072162376.2868.10.camel@dev.scolinsys.com> Hello group. I've upraded to IC 5.0 and I'm using default gdbm databases. I'm getting an error "Attempt to write orderline::status::00014-1 in read-only table" when I update the orderline table via admin/order_status.html page.Anyone else having this same problem. -- Scott Andreas From giftbound1 at comcast.net Tue Dec 23 03:09:40 2003 From: giftbound1 at comcast.net (Tom) Date: Tue Dec 23 03:01:19 2003 Subject: [ic] Losing Cart in SSL References: <00ab01c3c90e$5af90460$be5e2744@verona01.nj.comcast.net> <00b701c3c90f$be58f820$be5e2744@verona01.nj.comcast.net><00c401c3c91a$647c3460$be5e2744@verona01.nj.comcast.net><3FE7E168.5040006@goldissue.com> <3FE7E2DC.2D2C3933@attglobal.net> Message-ID: <000701c3c92c$1df5d520$be5e2744@verona01.nj.comcast.net> Thanks It worked ----- Original Message ----- From: "Jon" To: Sent: Tuesday, December 23, 2003 1:38 AM Subject: Re: [ic] Losing Cart in SSL > > Tom, > > > > I assume that your secure server is at a different domain than your main > > site. This is not supported by Interchange. > > > > We have the following setting in catalog.cfg: > > > > AlwaysSecure ord/checkout results login order change_password ord/basket > > > > That means that the transition to the secure server occurs during the > > order process, and the cart is not lost on the way to the checkout page. > > > > In addition we have disabled the "buy now" button on the results.html > > page, as it will not comform in any way that I have tried to rewrite it. > > In other words any attempt to force a order through the secure process > > results in either a bounce to the last page visited (its in the code) > > or an endless loop for the web server if the next page "nothing" is > > altered to something more specific. > > > > Mike Heins tells us that all of our cleints should purchase a secure > > certificate - then none of this would be nescessary, and checkout could > > take place on the main site. > > > > Although cheap certificates are now available from www.instantssl.com I > > have discouraged my customers form paying out extra money during the > > first year. > > > > Also I was a bit concerned because each secure certificate requires > > either an additional ip address or port 208.134.35.67:443, > > 208.134.35.67:444 etc. > > > > I now realize that I may be building numerous servers to cater for tthe > > demands of succesful stores, and hence the availability of ip addresses > > may not be an issue, > > > > I hope this was relevant to your query, > > > > Regards, > > > > Frank Reitzenstein. > > > > Tom wrote: > > > > >>>Im losing cart contents in SSL > > >>> > > >>>I put this in interchange.cfg > > >>>DomainTail no > > >>>IpHead Yes > > >>> > > >>>and in Catalog.cfg > > >>>SessionExpire 10 minutes > > >>> WideOpen Yes > > >>> > > >>>And still losing contents what else can i try? > > >>>_______________________________________________ > > >>> > > >>> > > Hey guys. First don't top post otherwise the natives get restless :))) > > If what Frank said doesn't help make sure your images on the > checkout page are secure (i.e. https://). Funny how this issue > has come up a few times in the last couple of weeks. > > Jon > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From giftbound1 at comcast.net Tue Dec 23 04:04:40 2003 From: giftbound1 at comcast.net (Tom) Date: Tue Dec 23 03:55:15 2003 Subject: [ic] Paypal IPN? Message-ID: <002301c3c933$cc7a7b80$be5e2744@verona01.nj.comcast.net> Im trying to develop a PayPal IPN Gateway with interchange My question is when User selects PayPal as a payment option where do I put the code to require the PayPal Gateway? Anyone can help me develop this will be great. From racke at linuxia.de Tue Dec 23 04:51:58 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Tue Dec 23 04:52:13 2003 Subject: [ic] 500 Internal Server Error In-Reply-To: <20031222201829.GE699@hestia.mr-servers.net> References: <1072118600.4473.3.camel@linux.local> <20031222201829.GE699@hestia.mr-servers.net> Message-ID: <20031223105158.42f5034d.racke@linuxia.de> On Mon, 22 Dec 2003 21:18:29 +0100 Micha? Rogozi?ski wrote: > On Mon, Dec 22, 2003 at 01:43:20PM -0500, Barry Newman wrote: > > Fresh out of the rpms and a stock 7.3 box, always just worked before , > > but on this one server I keep getting this. While I am investigating > > permissions , is there anything else this could be? > > Look into the logs of your apache, this might be really helpful. Lots might happen and result in 500. ;) > In the most cases you get more helpful information from the global Interchange error log. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From cbcurrier at spinrx.com Tue Dec 23 08:06:47 2003 From: cbcurrier at spinrx.com (cbcurrier) Date: Tue Dec 23 08:04:34 2003 Subject: [ic] error in Configure: Bareword "GDBM_NOLOCK" not allowed while "strict subs" Message-ID: <1072184807.16316.4.camel@localhost.localdomain> Am running into this error & cannot get by it in an attempt to upgrade from 4.9.8 Manifying blib/man1/offline.1 PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl server/unixmode.......Bareword "GDBM_NOLOCK" not allowed while "strict subs" in use at /root/interchange-5.0.0/blib/lib/Vend/Table/GDBM.pm line 86. Compilation failed in require at blib/script/interchange line 215. BEGIN failed--compilation aborted at blib/script/interchange line 239. not ok 1 I have done both Bundle::interchange to it's full extent and Bundle::Interchange5 to it's full extent. Any ideas are appreciated C.B. Currier From aaronmail at hazenet.net Tue Dec 23 09:14:23 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Tue Dec 23 09:14:44 2003 Subject: [ic] ic jobs and scratch value issue? In-Reply-To: <004b01c3c913$1f021e60$020110ac@majestic.cursor-software.co.uk> References: <004b01c3c913$1f021e60$020110ac@majestic.cursor-software.co.uk> Message-ID: On Tue, 23 Dec 2003 05:10:45 -0000, Kevin Walsh wrote: > Aaron Hazelton [aaronmail@hazenet.net] wrote: >> [if scratch email_body] >> [email to="blahblah" >> [scratch email_body] >> [/email] >> [else] >> nothing for today >> [/else] >> [/if] >> > You appear to have a syntax error in there: > > [email to="blahblah" > > should be: > > [email to="blahblah"] > > I haven't looked at the rest of your code, as that error seemed to > stand out from the crowd. > I was just trying to save space by leaving the email out, as it is correct and *gets mailed*. here it is for your reference... and like i said, this works perfectly in the ITL test page. [email to="aaron@hazenet.net" from="support@hazenet.net" subject="billing to-do list for [scratch today]" extra="Content-Type: TEXT/HTML; CHARSET=US-ASCII" hide=1] -- Aaron Hazelton Hazenet.net From edl at newmediaems.com Tue Dec 23 10:55:06 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Tue Dec 23 10:55:23 2003 Subject: [ic] Checkout? In-Reply-To: <001b01c3c8f2$ca97e960$be5e2744@verona01.nj.comcast.net> Message-ID: <5.2.1.1.0.20031223074506.02221908@mail.newmediaems.com> At 08:19 PM 12/22/2003 -0500, you wrote: >Where do I change this variable: > >var possible = ['credit_card', 'cod', 'postal', 'online_check', >'purchase_order'] to add in paypal? > >Where is this located at? That little bit comes from in file(s)include/checkout/ - locating something like this is as easy as: grep -r 'var possible' yourcat/* FYI - in keeping with the structure of the foundation demo, at a minimum there will be other changes needed there, as well as the addition of a new PAYMENT_ACCEPTED variable to the catalog, and a new profile in etc/profiles.order. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From edl at newmediaems.com Tue Dec 23 11:01:42 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Tue Dec 23 11:01:53 2003 Subject: [ic] problem with updating orderline In-Reply-To: <1072162376.2868.10.camel@dev.scolinsys.com> Message-ID: <5.2.1.1.0.20031223075850.0212b7d8@mail.newmediaems.com> At 10:52 PM 12/22/2003 -0800, you wrote: >Hello group. > >I've upraded to IC 5.0 and I'm using default gdbm databases. I'm getting >an error "Attempt to write orderline::status::00014-1 in read-only >table" when I update the orderline table via admin/order_status.html >page.Anyone else having this same problem. >-- >Scott Andreas Yes - it is a known problem. You are S.O.L. unless you want to rewrite that code yourself, because the position of the ICDEVGROUP is that gdbm is no longer supported in the UI and in all likelihood this will be enforced at config- or code-level in future releases. FWIW, the 'ship checked automatically' from the Orders list should still work. The real solution is to switch to one of the supported external dbms, which is really the only sane choice for serious projects anyway. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From aaronmail at hazenet.net Tue Dec 23 11:05:39 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Tue Dec 23 11:05:57 2003 Subject: [ic] ic jobs and scratch value issue? - more info - some things that jobs will not handle? In-Reply-To: References: Message-ID: On Mon, 22 Dec 2003 19:31:28 -0500, Aaron Hazelton wrote: > Hi all, > > IC 4.9.8 > > I have driven myself crazy with this one, and am at a loss. I have > an IC cron job set up, and the [scratch email_body] value is either > not being set or displayed in this context. code below for further > details. the exact same code produces the expected result when using > the 'test ITL snippet' page... and there are no errors. I must be > missing something about how this type of value and the 'jobs' work > together or something. > > [tmp email_body][query > sql="SELECT code,user,start_date,end_date,type,host_domain > FROM subscriptions > WHERE ((( CURRENT_DATE() + 0 ) < end_date ) > OR end_date = 'never' ) > ORDER BY end_date DESC;" > type=list > list_prefix=subscription > prefix=sub] > [subscription] > > [tmp last_billed][query sql="SELECT capture_date > FROM transactions > WHERE store_id = '[sub-param code]' > ORDER BY capture_date DESC > LIMIT 1;" > type=list > list_prefix=alreadybilled > prefix=alr][alreadybilled][alr-param > capture_date][/alreadybilled][/query][/tmp] > > [billing-check start_date="[sub-param start_date]" > last_billed="[scratch last_billed]" > type="[sub-param type]"] > > [if scratch bill_it] > > > [sub-param code] > > > [sub-param host_domain] > > > [if scratch last]last bill: [/if][scratch next_bill] > > [if scratch overdue] > > OVERDUE > [else] > > ok > [/else] > [/if] > > > [/if] > > [/subscription] > [/query][/tmp] > > [if scratch email_body] > [email to="aaron@hazenet.net" > from="support@hazenet.net" > subject="billing to-do list for [scratch today]" > extra="Content-Type: TEXT/HTML; CHARSET=US-ASCII" > hide=1] > [scratch email_body] > [/email] > [else] > nothing for today > [/else] > [/if] > > TIA! > I have now also taken this block of code, which is tested and works as expected, and instead of enclosing it into a [tmp] value i have logged it to a text file, creating a new file at the beginning so that it is blank, then appending each subsequent entry to it if it exists, and then [include]'ing that file into the email that gets sent out. Again, this method also works as a test on the ITL page, and yet will not log anything to the file (although it is created) from the job. there must be something here that is breaking this. are there certain things that will not work from a job that have not been noted yet? of course, i am setting a couple of scratch values for a date and such in this job as well, and they display, but my main block (perhaps its when we get into the queries?) will not. if anyone wants to see it, i will post the code with the logging method, although it is almost identical. dumbfounded. -- Aaron Hazelton Hazenet.net From edl at newmediaems.com Tue Dec 23 11:06:21 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Tue Dec 23 11:06:30 2003 Subject: [ic] error in Configure: Bareword "GDBM_NOLOCK" not allowed while "strict subs" In-Reply-To: <1072184807.16316.4.camel@localhost.localdomain> Message-ID: <5.2.1.1.0.20031223080253.022221b8@mail.newmediaems.com> At 08:06 AM 12/23/2003 -0500, you wrote: >Am running into this error & cannot get by it in an attempt to upgrade >from 4.9.8 > >Manifying blib/man1/offline.1 >PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib >-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl >server/unixmode.......Bareword "GDBM_NOLOCK" not allowed while "strict >subs" in use at /root/interchange-5.0.0/blib/lib/Vend/Table/GDBM.pm line >86. >Compilation failed in require at blib/script/interchange line 215. >BEGIN failed--compilation aborted at blib/script/interchange line 239. >not ok 1 > >I have done both Bundle::interchange to it's full extent and >Bundle::Interchange5 to it's full extent. > >Any ideas are appreciated > >C.B. Currier I can confirm this - I have not had a chance to run it by the other developers, but it appears that IC 4.9.9 and up require a higher Perl version than 5.6.0 (implicitly at least), and in fact this may even be in a README file in the dist directory somewhere. Building a new non-threaded Perl from the latest release and installing all the needed modules, then installing/running interchange 5.0 off of that instance of Perl is the fix. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From nbarnett at specialty-books.com Tue Dec 23 11:10:52 2003 From: nbarnett at specialty-books.com (Nathan Barnett) Date: Tue Dec 23 11:11:01 2003 Subject: [ic] FedEx shipping question Message-ID: <1072195852.22482.195.camel@isengard> I am having trouble getting the FedEx shipping working properly. The Zone file from FedEx seems to differ from the UPS Zone file in that it must query by weight instead of by zip. My question is how do I tell that ship method to query differently then by zip? Maybe my problem is something different so I will post some of my configuration. --------------------- shipping.asc entry: FEG: FedEx Ground criteria weight min 0 max 0 cost e Nothing to ship! min 0 max 150 cost u table FedExGround zone FedExZone02 adder 3 min 150 max 9999 cost e @@TOTAL@@ lbs is to heave for FedEx ------------------------- products/FedExZone02.csv Dest. WEIGHT,FedExFirstOvernight,FedExPriorityOvernight,FedExStandardOvernight,FedEx2Day,FedExExpressSaver,FedExGround,FedExHomeDelivery 1,40.75,15.75,13.25,8.00,7.70,3.45,3.45 2,41.75,16.75,14.50,8.30,7.80,3.53,3.53 3,43.50,18.50,15.25,8.50,8.05,3.64,3.64 4,44.50,19.50,16.50,8.80,8.30,3.76,3.76 5,45.75,20.75,17.25,9.00,8.55,3.92,3.92 6,46.50,21.50,18.00,9.30,8.75,4.04,4.04 7,47.25,22.25,18.25,9.80,9.40,4.20,4.20 etc.... NOTE: WEIGHT on the first line may be incorrect. ----------------------------- products/FedExGround.csv weight,2,3,4,5,6,7,8,9,10,14,17,22,23,25,51,54,92,96 1,3.45,3.57,3.81,3.89,4.10,4.15,4.26,13.18,13.18,3.50,13.18,3.45,5.64,5.80,8.40,13.55,5.58,5.74 2,3.53,3.74,4.13,4.24,4.57,4.67,4.96,14.71,14.71,3.59,14.71,3.53,6.08,6.24,9.10,14.35,6.02,6.17 3,3.64,3.91,4.36,4.54,4.87,5.03,5.49,16.07,16.07,3.67,16.07,3.64,7.15,7.35,9.75,15.25,7.08,7.27 etc..... ----------------------------- FedExGround.dbm Database FedExGround FedExGround.csv CSV Database FedExGround GUESS_NUMERIC 1 (no tabs) ----------------------------- current error in the catalogs log file: /cgi-bin/ic/mycat/ord/checkout.html Zone 'FedExZone02' lookup failed, type 'FedExGround' not found ----------------------------- System: Debian Linux IC 4.9.8 Any help would be greatly appreciated. Thanks -nate- From aaronmail at hazenet.net Tue Dec 23 12:37:12 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Tue Dec 23 12:37:31 2003 Subject: [ic] ic jobs and scratch value from usertag - getting closer In-Reply-To: References: Message-ID: On Tue, 23 Dec 2003 11:05:39 -0500, Aaron Hazelton wrote: > On Mon, 22 Dec 2003 19:31:28 -0500, Aaron Hazelton > wrote: > >> Hi all, >> >> IC 4.9.8 >> >> I have driven myself crazy with this one, and am at a loss. I have >> an IC cron job set up, and the [scratch email_body] value is either >> not being set or displayed in this context. code below for further >> details. the exact same code produces the expected result when using >> the 'test ITL snippet' page... and there are no errors. I must be >> missing something about how this type of value and the 'jobs' work >> together or something. >> [snip code] >> >> TIA! >> > > I have now also taken this block of code, which is tested and > works as expected, and instead of enclosing it into a [tmp] value > i have logged it to a text file, creating a new file at the > beginning so that it is blank, then appending each subsequent entry > to it if it exists, and then [include]'ing that file into the email > that gets sent out. > > Again, this method also works as a test on the ITL page, and yet > will not log anything to the file (although it is created) from > the job. > [snip other stuff, below still applies] > > dumbfounded. > ok, i have done more testing and finally narrowed down the problem although i still cannot get it to work and it was the last thing i expected. my usertag that is being called test dates and compares them and then based on how they compare with each other and today, it may or may not set $Scratch->{bill_it} = 1; now, when i test the user tag (an example is below) it works just as expected, but in the context of the job, the scratch value never shows up. what i do not know is whether or not the usertag is even being executed or what. Any ideas on how i can test this further to determine what is causing this strangeness? EXAMPLE ON A TEST PAGE: [loop list="20031123 20031124"] [billing-check start_date="[loop-code]" last_billed="" type="hosting"] test scratch bill_it: [scratch bill_it] [/loop] RESULTS FROM PAGE: test scratch bill_it: 1 <- should be 1 test scratch bill_it: <- should be blank RESULTS RUNNING SAME THING FROM JOB: test scratch bill_it: <- is blank test scratch bill_it: any ideas? thanks! -- Aaron Hazelton Hazenet.net From cwenham at synesmedia.com Tue Dec 23 13:23:15 2003 From: cwenham at synesmedia.com (Christopher Wenham) Date: Tue Dec 23 13:11:06 2003 Subject: [ic] Paypal IPN? In-Reply-To: <002301c3c933$cc7a7b80$be5e2744@verona01.nj.comcast.net> References: <002301c3c933$cc7a7b80$be5e2744@verona01.nj.comcast.net> Message-ID: <200312231323.15250.cwenham@synesmedia.com> On Tuesday 23 December 2003 04:04, Tom wrote: > Im trying to develop a PayPal IPN Gateway with interchange My question is > when User selects PayPal as a payment option where do I put the code to > require the PayPal Gateway? Anyone can help me develop this will be great. IPN needs a URL for PayPal to POST a form to, so you'll need to create either a standalone CGI program for PayPal to POST to, or create a page in the catalog's "pages" directory that contains the code to do your magic. BUT... IPN integration has been looked at for Interchange several times in the past, but there's a big problem that implementors keep running into. If I have this right, I think it goes like this: 1) There is no way to avoid sending the customer off to PayPal's web site, because you can't take the customer's PayPal username and password and then masquarade as that user to PayPal. (Despite being against PayPal terms of service, It's not even worth trying, because you have no way of knowing what source of funds attached to the customer's PayPal account they want to use.) 2) PayPal does not automatically redirect the customer back to your site once the payment is complete. The best you can get is a little "Continue" button on the final page of the PayPal sequence, which you can program to take the customer back to your site. Not every customer will remember to click on that button, so it's not a reliable way to inform Interchange that the payment was successful. 3) IPN should theoretically solve that problem, because PayPal will POST a form to any URL you specify when the payment is complete. But this POST will come from PayPal's IP address and not the customer's, so Interchange will not recognize it as part of the same session. That means any Interchange page called by that POST will be in a new session with an empty shopping basket and no customer information. The only way to get around the IP address mismatch is to run Interchange in WIDEOPEN mode, which opens up a security hole and isn't really an option in a serious production environment. 4) Last but not least, even if you do somehow get Interchange to use the contents of the IPN POST within the customer's session, there still isn't a reliable way to get the customer's browser back to your site so you can show her the receipt page. I think the best you can do is to display a message asking the customer to click on the "Continue" button at the end of the PayPal sequence before you send her to PayPal's site, and then hope the customer remembers it. This is the reason why most Interchange users and consultants I know of still recommend just adding a link or a pop-up window on the Receipt page. You can record the order, deliver the receipt to the customer, and then explain very clearly that the customer still has to go through PayPal before their order will ship. Regards, -- Chris Wenham - Synesmedia, Inc. http://www.synesmedia.com 516-620-4110 / 1-888-255-7573 Fax: 516-908-7824 From cbcurrier at spinrx.com Tue Dec 23 16:54:05 2003 From: cbcurrier at spinrx.com (Charles B. Currier) Date: Tue Dec 23 17:03:34 2003 Subject: [ic] ver5.0.0 new error in Upgrade (DBI) Message-ID: <33362.68.48.18.163.1072216445.squirrel@mail.spinrx.com> table 'gift_certs' failed: Can't locate object method "open_table" via package "Vend::Table::DBI" at /usr/local/interchange/lib/Vend/Data.pm line 1035. I am getting this error for all of the db tables in each catalog on the server. I have upgraded to the latest stable perl version. Managed to get everything else back up but am running into this problem now. Appreciate any feedback. -- C.B. Currier CBCurrier@spinrx.com 410-268-5368 Spin RX Management Systems 106 South St Suite D Annapolis, MD 21401 From giftbound1 at comcast.net Wed Dec 24 02:31:16 2003 From: giftbound1 at comcast.net (Tom) Date: Wed Dec 24 02:21:51 2003 Subject: [ic] PayPal IPN Gateway References: <004201c3c935$2d659eb0$6400a8c0@xp1600> Message-ID: <007801c3c9ef$ea7356e0$be5e2744@verona01.nj.comcast.net> I guess that will work for Now What do I have to change to get this to work? ----- Original Message ----- From: "AS" To: "'Tom'" Sent: Tuesday, December 23, 2003 4:14 AM Subject: RE: [ic] PayPal IPN Gateway > Hi, > > If Paypal is selected at checkout then after checkout is pressed the > receipt page is displayed and a popup window appears that takes the > buyer into a Paypal payment screen. In case they are running anti-popuop > software there is also a button on the receipt screen that loads the > payment link into the same frame the receipt was in. It doesn't do any > automatic checking of payment arrived, that has to be done manually. > > If you like run a test order through my site, put the name as testing, > testing so I know its not a real order. > > In fact you can try it on my other URL which is www.tvcables.net as this > site is not fully live. > > All the best, > Andy. > > www.tvcables.co.uk > > > -----Original Message----- > From: Tom [mailto:giftbound1@comcast.net] > Sent: 23 December 2003 09:11 > To: news1@dsl.pipex.com > Subject: Re: [ic] PayPal IPN Gateway > > It makes sure the payment is paid before emptying cart. > > What do you do on your site right Now? What pages, etc did you get > paypal to > work? > ----- Original Message ----- > From: "AS" > To: > Sent: Tuesday, December 23, 2003 3:59 AM > Subject: RE: [ic] PayPal IPN Gateway > > > > Hi Tom, > > > > I am interested but what is an IPN gateway? I currently divert users > > into Paypal from my IC site after checkout, if they select it. Does > this > > do something further? > > > > Regards, > > Andy. > > > > www.tvcables.co.uk > > > > > > -----Original Message----- > > From: interchange-users-bounces@icdevgroup.org > > [mailto:interchange-users-bounces@icdevgroup.org] On Behalf Of Tom > > Sent: 23 December 2003 03:00 > > To: interchange-users@icdevgroup.org > > Subject: [ic] PayPal IPN Gateway > > > > Working on a PayPal IPN Gateway. I should be done tonight or tommorow. > I > > need a tester to test this to see if this works. If anyone is > interested > > let > > me know. > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > From cbcurrier at spinrx.com Wed Dec 24 09:58:50 2003 From: cbcurrier at spinrx.com (Charles B. Currier) Date: Wed Dec 24 10:08:27 2003 Subject: [ic] ver5.0.0 new error in Upgrade (DBI) In-Reply-To: <33362.68.48.18.163.1072216445.squirrel@mail.spinrx.com> References: <33362.68.48.18.163.1072216445.squirrel@mail.spinrx.com> Message-ID: <34618.68.48.18.163.1072277930.squirrel@mail.spinrx.com> Charles B. Currier said: > table 'gift_certs' failed: Can't locate object method "open_table" via > package "Vend::Table::DBI" at /usr/local/interchange/lib/Vend/Data.pm > line 1035. > > I am getting this error for all of the db tables in each catalog on the > server. > > I have upgraded to the latest stable perl version. Managed to get > everything else back up but am running into this problem now. > > Appreciate any feedback. > > -- > C.B. Currier > also found the following error when adding a new foundation catalog with makecat: Configuring catalog vc...vc config error: Please specify the VendURL directive in the configuration file 'catalog.cfg' and when trying to hard code this error does not seem to change. Again any suggestions are appreciated. -- C.B. Currier From rkluczynski at yahoo.com Wed Dec 24 10:12:53 2003 From: rkluczynski at yahoo.com (Robert Kluczynski) Date: Wed Dec 24 10:13:21 2003 Subject: [ic] Launching our site: Setting up a merchant account and credit card processing! Message-ID: <20031224151253.74106.qmail@web20422.mail.yahoo.com> We are in the process of launching our website, but need some direction on setting up secure credit card processing for Interchange 4.9.8. We really want to keep this simple. What steps should we take to accomplich this in relation to selecting a service (authorize.net, cybercash, etc.), PGP or GnuPG, obtaining a merchant account, and configuring interchange to begin testing and launching! Any guidance would be greatly appreciated! Robert __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From wburgos at netzero.com Wed Dec 24 12:53:16 2003 From: wburgos at netzero.com (William Burgos) Date: Wed Dec 24 12:53:49 2003 Subject: [ic] Re: PayPal IPN Gateway (Tom) In-Reply-To: <200312241700.hBOH05FW029782@icdevgroup.org> Message-ID: <200312241753.hBOHrdFU030839@icdevgroup.org> I just tested out your page www.tvcables.net, so if you see and order under my name please delete it. That is exactly what I want for now, it would be better if we could have payment verification, but for now that will do the job. Please, can you send me the detail code to modify IC to add this functionality to my site? Thanks in advance and Regards, William Burgos wburgos@adelphia.net PS.- Merry X-mas and New Year. ------------------------------ Message: 4 Date: Wed, 24 Dec 2003 02:31:16 -0500 From: "Tom" Subject: Re: [ic] PayPal IPN Gateway To: Message-ID: <007801c3c9ef$ea7356e0$be5e2744@verona01.nj.comcast.net> Content-Type: text/plain; charset="iso-8859-1" I guess that will work for Now What do I have to change to get this to work? ----- Original Message ----- From: "AS" To: "'Tom'" Sent: Tuesday, December 23, 2003 4:14 AM Subject: RE: [ic] PayPal IPN Gateway > Hi, > > If Paypal is selected at checkout then after checkout is pressed the > receipt page is displayed and a popup window appears that takes the > buyer into a Paypal payment screen. In case they are running anti-popuop > software there is also a button on the receipt screen that loads the > payment link into the same frame the receipt was in. It doesn't do any > automatic checking of payment arrived, that has to be done manually. > > If you like run a test order through my site, put the name as testing, > testing so I know its not a real order. > > In fact you can try it on my other URL which is www.tvcables.net as this > site is not fully live. > > All the best, > Andy. > > www.tvcables.co.uk > From wburgos at netzero.com Wed Dec 24 12:57:09 2003 From: wburgos at netzero.com (William Burgos) Date: Wed Dec 24 12:57:42 2003 Subject: [ic] Re: PayPal IPN Gateway (Tom) In-Reply-To: <200312241700.hBOH05FW029782@icdevgroup.org> Message-ID: <200312241757.hBOHvWFU030971@icdevgroup.org> I just tested out your page www.tvcables.net, so if you see and order under my name please delete it. That is exactly what I want for now, it would be better if we could have payment verification, but for now that will do the job. Please, can you send me the detail code to modify IC to add this functionality to my site? Thanks in advance and Regards, William Burgos wburgos@adelphia.net PS.- Merry X-mas and New Year. ------------------------------ Message: 4 Date: Wed, 24 Dec 2003 02:31:16 -0500 From: "Tom" Subject: Re: [ic] PayPal IPN Gateway To: Message-ID: <007801c3c9ef$ea7356e0$be5e2744@verona01.nj.comcast.net> Content-Type: text/plain; charset="iso-8859-1" I guess that will work for Now What do I have to change to get this to work? ----- Original Message ----- From: "AS" To: "'Tom'" Sent: Tuesday, December 23, 2003 4:14 AM Subject: RE: [ic] PayPal IPN Gateway > Hi, > > If Paypal is selected at checkout then after checkout is pressed the > receipt page is displayed and a popup window appears that takes the > buyer into a Paypal payment screen. In case they are running anti-popuop > software there is also a button on the receipt screen that loads the > payment link into the same frame the receipt was in. It doesn't do any > automatic checking of payment arrived, that has to be done manually. > > If you like run a test order through my site, put the name as testing, > testing so I know its not a real order. > > In fact you can try it on my other URL which is www.tvcables.net as this > site is not fully live. > > All the best, > Andy. > > www.tvcables.co.uk > From wburgos at adelphia.net Wed Dec 24 13:03:17 2003 From: wburgos at adelphia.net (wburgos@adelphia.net) Date: Wed Dec 24 13:03:23 2003 Subject: [ic] Re: PayPal IPN Gateway (Tom) Message-ID: <20031224180317.SZMH6455.mta11.adelphia.net@mail.adelphia.net> I just tested out your page www.tvcables.net, so if you see and order under my name please delete it. That is exactly what I want for now, it would be better if we could have payment verification, but for now that will do the job. Please, can you send me the detail code to modify IC to add this functionality to my site? Thanks in advance and Regards, William Burgos wburgos@adelphia.net PS.- Merry X-mas and New Year. ------------------------------ Message: 4 Date: Wed, 24 Dec 2003 02:31:16 -0500 From: "Tom" Subject: Re: [ic] PayPal IPN Gateway To: Message-ID: <007801c3c9ef$ea7356e0$be5e2744@verona01.nj.comcast.net> Content-Type: text/plain; charset="iso-8859-1" I guess that will work for Now What do I have to change to get this to work? ----- Original Message ----- From: "AS" To: "'Tom'" Sent: Tuesday, December 23, 2003 4:14 AM Subject: RE: [ic] PayPal IPN Gateway > Hi, > > If Paypal is selected at checkout then after checkout is pressed the > receipt page is displayed and a popup window appears that takes the > buyer into a Paypal payment screen. In case they are running anti-popuop > software there is also a button on the receipt screen that loads the > payment link into the same frame the receipt was in. It doesn't do any > automatic checking of payment arrived, that has to be done manually. > > If you like run a test order through my site, put the name as testing, > testing so I know its not a real order. > > In fact you can try it on my other URL which is www.tvcables.net as this > site is not fully live. > > All the best, > Andy. > > www.tvcables.co.uk > From racke at linuxia.de Thu Dec 25 12:31:40 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Thu Dec 25 12:32:05 2003 Subject: [ic] ic jobs and scratch value from usertag - getting closer In-Reply-To: References: Message-ID: <20031225183140.2a57d8f0.racke@linuxia.de> On Tue, 23 Dec 2003 12:37:12 -0500 Aaron Hazelton wrote: > On Tue, 23 Dec 2003 11:05:39 -0500, Aaron Hazelton > wrote: > > > On Mon, 22 Dec 2003 19:31:28 -0500, Aaron Hazelton > > wrote: > > > >> Hi all, > >> > >> IC 4.9.8 > >> > >> I have driven myself crazy with this one, and am at a loss. I have > >> an IC cron job set up, and the [scratch email_body] value is either > >> not being set or displayed in this context. code below for further > >> details. the exact same code produces the expected result when using > >> the 'test ITL snippet' page... and there are no errors. I must be > >> missing something about how this type of value and the 'jobs' work > >> together or something. > >> > [snip code] > >> > >> TIA! > >> > > > > I have now also taken this block of code, which is tested and > > works as expected, and instead of enclosing it into a [tmp] value > > i have logged it to a text file, creating a new file at the > > beginning so that it is blank, then appending each subsequent entry > > to it if it exists, and then [include]'ing that file into the email > > that gets sent out. > > > > Again, this method also works as a test on the ITL page, and yet > > will not log anything to the file (although it is created) from > > the job. > > > [snip other stuff, below still applies] > > > > dumbfounded. > > > > ok, i have done more testing and finally narrowed down the problem > although i still cannot get it to work and it was the last thing > i expected. > > my usertag that is being called test dates and compares them and > then based on how they compare with each other and today, it may > or may not set $Scratch->{bill_it} = 1; now, when i test the > user tag (an example is below) it works just as expected, but in > the context of the job, the scratch value never shows up. what > i do not know is whether or not the usertag is even being executed > or what. Any ideas on how i can test this further to determine > what is causing this strangeness? > > EXAMPLE ON A TEST PAGE: > [loop list="20031123 20031124"] > [billing-check start_date="[loop-code]" > last_billed="" > type="hosting"] > test scratch bill_it: [scratch bill_it] > [/loop] > > RESULTS FROM PAGE: > test scratch bill_it: 1 <- should be 1 > test scratch bill_it: <- should be blank > > RESULTS RUNNING SAME THING FROM JOB: > test scratch bill_it: <- is blank > test scratch bill_it: > > any ideas? thanks! Can you please give more information about the UserTag ? Is it global or local (catalog) ? How do you set the scratch variable in the UserTag ? Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From giftbound1 at comcast.net Thu Dec 25 23:35:18 2003 From: giftbound1 at comcast.net (Tom) Date: Thu Dec 25 23:25:43 2003 Subject: [ic] In Stock Notification Message-ID: <005601c3cb69$aa9c9920$be5e2744@verona01.nj.comcast.net> Does anyone know how to make this to email the customer automatically when stock is updated? From prtyof5 at attglobal.net Fri Dec 26 00:14:04 2003 From: prtyof5 at attglobal.net (Jon) Date: Fri Dec 26 00:15:31 2003 Subject: [ic] In Stock Notification References: <005601c3cb69$aa9c9920$be5e2744@verona01.nj.comcast.net> Message-ID: <3FEBC39C.EB60E5E9@attglobal.net> > Does anyone know how to make this to email the customer automatically when > stock is updated? > > Tom search the archives for for Stock Notification or stock_alert for a perl script that you run from cron. This code checks the DB every X minutes based on the crontable and then send an email when appropriate. I just looked it up.. Here is the URL http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170.html Jon From racke at linuxia.de Fri Dec 26 09:23:42 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 26 09:23:52 2003 Subject: [ic] Shipping depending on quantity and price Message-ID: <20031226152342.51bce1fb.racke@linuxia.de> Hello, Interchange users ! I got the following specification from one of my customers: 1-4 items $8 then $2 a item after that That part is pretty easy: GNDCOM: UPS Ground crit quantity min 1 max 4 cost 8 crit quantity min 5 max 9999999 cost f [nitems] * 2 But additionally orders over $400 should get free shipping. It is possible to express this in the shipping database without resort to custom tags ? Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From jerry at digitalfm.com Fri Dec 26 09:49:52 2003 From: jerry at digitalfm.com (Jerry) Date: Fri Dec 26 09:51:56 2003 Subject: [ic] Shipping depending on quantity and price In-Reply-To: <20031226152342.51bce1fb.racke@linuxia.de> Message-ID: > -----Original Message----- > From: interchange-users-bounces@icdevgroup.org > [mailto:interchange-users-bounces@icdevgroup.org]On Behalf Of Stefan > Hornburg > Sent: Friday, December 26, 2003 9:24 AM > To: Interchange Users > Subject: [ic] Shipping depending on quantity and price > > > Hello, Interchange users ! > > I got the following specification from one of my customers: > > 1-4 items $8 then $2 a item after that > > That part is pretty easy: > > GNDCOM: UPS Ground > crit quantity > min 1 > max 4 > cost 8 > > crit quantity > min 5 > max 9999999 > cost f [nitems] * 2 > > But additionally orders over $400 should get free shipping. > It is possible to express this in the shipping database > without resort to custom tags ? > > Bye > Racke Maybe a better job for the assign shipping tag? Something like: [seti isfree][subtotal noformat=1][/seti] [if scratch isfree >= 400] [assign shipping=0] [/if] The rest is already handled in your shipping file. Just let this overide shipping on orders over $400.00 From aaronmail at hazenet.net Fri Dec 26 10:22:07 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Fri Dec 26 10:22:18 2003 Subject: [ic] ic jobs and scratch value from usertag - getting closer In-Reply-To: <20031225183140.2a57d8f0.racke@linuxia.de> References: <20031225183140.2a57d8f0.racke@linuxia.de> Message-ID: On Thu, 25 Dec 2003 18:31:40 +0100, Stefan Hornburg wrote: > On Tue, 23 Dec 2003 12:37:12 -0500 > Aaron Hazelton wrote: > >> On Tue, 23 Dec 2003 11:05:39 -0500, Aaron Hazelton >> >> wrote: >> >> > On Mon, 22 Dec 2003 19:31:28 -0500, Aaron Hazelton >> > wrote: >> > >> >> Hi all, >> >> >> >> IC 4.9.8 >> >> >> >> I have driven myself crazy with this one, and am at a loss. I have >> >> an IC cron job set up, and the [scratch email_body] value is either >> >> not being set or displayed in this context. code below for further >> >> details. the exact same code produces the expected result when using >> >> the 'test ITL snippet' page... and there are no errors. I must be >> >> missing something about how this type of value and the 'jobs' work >> >> together or something. >> >> >> [snip code] >> >> >> >> TIA! >> >> >> > >> > I have now also taken this block of code, which is tested and >> > works as expected, and instead of enclosing it into a [tmp] value >> > i have logged it to a text file, creating a new file at the >> > beginning so that it is blank, then appending each subsequent entry >> > to it if it exists, and then [include]'ing that file into the email >> > that gets sent out. >> > >> > Again, this method also works as a test on the ITL page, and yet >> > will not log anything to the file (although it is created) from >> > the job. >> > >> [snip other stuff, below still applies] >> > >> > dumbfounded. >> > >> >> ok, i have done more testing and finally narrowed down the problem >> although i still cannot get it to work and it was the last thing >> i expected. >> >> my usertag that is being called test dates and compares them and >> then based on how they compare with each other and today, it may >> or may not set $Scratch->{bill_it} = 1; now, when i test the >> user tag (an example is below) it works just as expected, but in >> the context of the job, the scratch value never shows up. what >> i do not know is whether or not the usertag is even being executed >> or what. Any ideas on how i can test this further to determine >> what is causing this strangeness? >> >> EXAMPLE ON A TEST PAGE: >> [loop list="20031123 20031124"] >> [billing-check start_date="[loop-code]" >> last_billed="" >> type="hosting"] >> test scratch bill_it: [scratch bill_it] >> [/loop] >> >> RESULTS FROM PAGE: >> test scratch bill_it: 1 <- should be 1 >> test scratch bill_it: <- should be blank >> >> RESULTS RUNNING SAME THING FROM JOB: >> test scratch bill_it: <- is blank >> test scratch bill_it: >> >> any ideas? thanks! > > Can you please give more information about the UserTag ? > Is it global or local (catalog) ? > How do you set the scratch variable in the UserTag ? > > Bye > Racke > Hi Racke, this is a global usertag, located in /usr/local/interchange-5/code/UserTag/billing_check.tag This is my first usertag, so please be kind :-) Basically it is pretty simple, but since i am using Date::Calc, I cannot do this in page. At the top, i delete all of the affected scratch variables. Then, after some calculations with the given dates, I just test for the results of some comparisons and then set the Scratch variables if desired. i.e.: $diff = Delta_Days($ys,$ms,$ds, $y,$m,$d); if ( $diff == 0 ) # today is new bill date { $Scratch->{bill_it} = 1; $Scratch->{rebill} = 1; $Scratch->{next_bill} = $Tag->convert_date( { body => "$ys-$ms-$ds" } ); } .. and this continues on for many different comparisons to figure out exactly what is going on with these dates, and so there are several different sets of if .. elsif ..else .. like that. any ideas? thanks! -- Aaron Hazelton Hazenet.net From mike at perusion.com Fri Dec 26 10:29:22 2003 From: mike at perusion.com (Mike Heins) Date: Fri Dec 26 10:29:32 2003 Subject: [ic] Shipping depending on quantity and price In-Reply-To: <20031226152342.51bce1fb.racke@linuxia.de> References: <20031226152342.51bce1fb.racke@linuxia.de> Message-ID: <20031226152922.GA19832@bill.heins.net> Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > Hello, Interchange users ! > > I got the following specification from one of my customers: > > 1-4 items $8 then $2 a item after that > > That part is pretty easy: > > GNDCOM: UPS Ground > crit quantity > min 1 > max 4 > cost 8 > > crit quantity > min 5 > max 9999999 > cost f [nitems] * 2 > > But additionally orders over $400 should get free shipping. > It is possible to express this in the shipping database > without resort to custom tags ? This is done in the "mike" demo with the free_or_upsg definition: free_or_upsg: UPS Ground crit [subtotal noformat=1] min 0 max 99.99 cost >>upsg min 99.99 max 9999999 cost 0.00 free Free! upsg: UPS Ground crit weight at_least 4 adder @@TOTAL@@ * ($Variable->{UPS_ADDER_PCT} || .20) ups 1 zone 450 PriceDivide 1 table Ground ui_ship_type UPSI aggregate 1 surcharge_table Xarea default_geo 45056 residential 1 min 0 max 0 cost e No shipping needed! min 0 max 1000 cost u min 150 max 9999999 cost e Too heavy for UPS -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 People who want to share their religious views with you almost never want you to share yours with them. -- Dave Barry From racke at linuxia.de Fri Dec 26 10:43:52 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 26 10:44:07 2003 Subject: [ic] ic jobs and scratch value from usertag - getting closer In-Reply-To: References: <20031225183140.2a57d8f0.racke@linuxia.de> Message-ID: <20031226164352.3f8d579e.racke@linuxia.de> On Fri, 26 Dec 2003 10:22:07 -0500 Aaron Hazelton wrote: > On Thu, 25 Dec 2003 18:31:40 +0100, Stefan Hornburg > wrote: > > > On Tue, 23 Dec 2003 12:37:12 -0500 > > Aaron Hazelton wrote: > > > >> On Tue, 23 Dec 2003 11:05:39 -0500, Aaron Hazelton > >> > >> wrote: > >> > >> > On Mon, 22 Dec 2003 19:31:28 -0500, Aaron Hazelton > >> > wrote: > >> > > >> >> Hi all, > >> >> > >> >> IC 4.9.8 > >> >> > >> >> I have driven myself crazy with this one, and am at a loss. I have > >> >> an IC cron job set up, and the [scratch email_body] value is either > >> >> not being set or displayed in this context. code below for further > >> >> details. the exact same code produces the expected result when using > >> >> the 'test ITL snippet' page... and there are no errors. I must be > >> >> missing something about how this type of value and the 'jobs' work > >> >> together or something. > >> >> > >> [snip code] > >> >> > >> >> TIA! > >> >> > >> > > >> > I have now also taken this block of code, which is tested and > >> > works as expected, and instead of enclosing it into a [tmp] value > >> > i have logged it to a text file, creating a new file at the > >> > beginning so that it is blank, then appending each subsequent entry > >> > to it if it exists, and then [include]'ing that file into the email > >> > that gets sent out. > >> > > >> > Again, this method also works as a test on the ITL page, and yet > >> > will not log anything to the file (although it is created) from > >> > the job. > >> > > >> [snip other stuff, below still applies] > >> > > >> > dumbfounded. > >> > > >> > >> ok, i have done more testing and finally narrowed down the problem > >> although i still cannot get it to work and it was the last thing > >> i expected. > >> > >> my usertag that is being called test dates and compares them and > >> then based on how they compare with each other and today, it may > >> or may not set $Scratch->{bill_it} = 1; now, when i test the > >> user tag (an example is below) it works just as expected, but in > >> the context of the job, the scratch value never shows up. what > >> i do not know is whether or not the usertag is even being executed > >> or what. Any ideas on how i can test this further to determine > >> what is causing this strangeness? > >> > >> EXAMPLE ON A TEST PAGE: > >> [loop list="20031123 20031124"] > >> [billing-check start_date="[loop-code]" > >> last_billed="" > >> type="hosting"] > >> test scratch bill_it: [scratch bill_it] > >> [/loop] > >> > >> RESULTS FROM PAGE: > >> test scratch bill_it: 1 <- should be 1 > >> test scratch bill_it: <- should be blank > >> > >> RESULTS RUNNING SAME THING FROM JOB: > >> test scratch bill_it: <- is blank > >> test scratch bill_it: > >> > >> any ideas? thanks! > > > > Can you please give more information about the UserTag ? > > Is it global or local (catalog) ? > > How do you set the scratch variable in the UserTag ? > > > > Bye > > Racke > > > > Hi Racke, this is a global usertag, located in > /usr/local/interchange-5/code/UserTag/billing_check.tag > > This is my first usertag, so please be kind :-) Basically it > is pretty simple, but since i am using Date::Calc, I cannot > do this in page. At the top, i delete all of the affected > scratch variables. Then, after some calculations with the > given dates, I just test for the results of some comparisons > and then set the Scratch variables if desired. > > i.e.: > > $diff = Delta_Days($ys,$ms,$ds, $y,$m,$d); > if ( $diff == 0 ) # today is new bill date > { > $Scratch->{bill_it} = 1; > $Scratch->{rebill} = 1; > $Scratch->{next_bill} = $Tag->convert_date( { body => "$ys-$ms-$ds" } ); > } > > .. and this continues on for many different comparisons to > figure out exactly what is going on with these dates, and > so there are several different sets of if .. elsif ..else .. > like that. > > any ideas? thanks! Yes, you may try to use $::Scratch instead of $Scratch in global usertags, at least for modifying the scratch namespace. At least it is done this way in the most usertags shipped with IC. bye racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From aaronmail at hazenet.net Fri Dec 26 11:03:47 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Fri Dec 26 11:03:54 2003 Subject: [ic] ic jobs and scratch value from usertag - solved In-Reply-To: <20031226164352.3f8d579e.racke@linuxia.de> References: <20031225183140.2a57d8f0.racke@linuxia.de> <20031226164352.3f8d579e.racke@linuxia.de> Message-ID: On Fri, 26 Dec 2003 16:43:52 +0100, Stefan Hornburg wrote: > On Fri, 26 Dec 2003 10:22:07 -0500 > Aaron Hazelton wrote: > >> On Thu, 25 Dec 2003 18:31:40 +0100, Stefan Hornburg >> wrote: >> >> > On Tue, 23 Dec 2003 12:37:12 -0500 >> > Aaron Hazelton wrote: >> > >> >> On Tue, 23 Dec 2003 11:05:39 -0500, Aaron Hazelton >> >> >> >> wrote: >> >> >> >> > On Mon, 22 Dec 2003 19:31:28 -0500, Aaron Hazelton >> >> > wrote: >> >> > >> >> >> Hi all, >> >> >> >> >> >> IC 4.9.8 >> >> >> >> >> >> I have driven myself crazy with this one, and am at a loss. I have >> >> >> an IC cron job set up, and the [scratch email_body] value is >> either >> >> >> not being set or displayed in this context. code below for >> further >> >> >> details. the exact same code produces the expected result when >> using >> >> >> the 'test ITL snippet' page... and there are no errors. I must be >> >> >> missing something about how this type of value and the 'jobs' work >> >> >> together or something. >> >> >> >> >> [snip code] >> >> >> >> >> >> TIA! >> >> >> >> >> > >> >> > I have now also taken this block of code, which is tested and >> >> > works as expected, and instead of enclosing it into a [tmp] value >> >> > i have logged it to a text file, creating a new file at the >> >> > beginning so that it is blank, then appending each subsequent entry >> >> > to it if it exists, and then [include]'ing that file into the email >> >> > that gets sent out. >> >> > >> >> > Again, this method also works as a test on the ITL page, and yet >> >> > will not log anything to the file (although it is created) from >> >> > the job. >> >> > >> >> [snip other stuff, below still applies] >> >> > >> >> > dumbfounded. >> >> > >> >> >> >> ok, i have done more testing and finally narrowed down the problem >> >> although i still cannot get it to work and it was the last thing >> >> i expected. >> >> >> >> my usertag that is being called test dates and compares them and >> >> then based on how they compare with each other and today, it may >> >> or may not set $Scratch->{bill_it} = 1; now, when i test the >> >> user tag (an example is below) it works just as expected, but in >> >> the context of the job, the scratch value never shows up. what >> >> i do not know is whether or not the usertag is even being executed >> >> or what. Any ideas on how i can test this further to determine >> >> what is causing this strangeness? >> >> >> >> EXAMPLE ON A TEST PAGE: >> >> [loop list="20031123 20031124"] >> >> [billing-check start_date="[loop-code]" >> >> last_billed="" >> >> type="hosting"] >> >> test scratch bill_it: [scratch bill_it] >> >> [/loop] >> >> >> >> RESULTS FROM PAGE: >> >> test scratch bill_it: 1 <- should be 1 >> >> test scratch bill_it: <- should be blank >> >> >> >> RESULTS RUNNING SAME THING FROM JOB: >> >> test scratch bill_it: <- is blank >> >> test scratch bill_it: >> >> >> >> any ideas? thanks! >> > >> > Can you please give more information about the UserTag ? >> > Is it global or local (catalog) ? >> > How do you set the scratch variable in the UserTag ? >> > >> > Bye >> > Racke >> > >> >> Hi Racke, this is a global usertag, located in >> /usr/local/interchange-5/code/UserTag/billing_check.tag >> >> This is my first usertag, so please be kind :-) Basically it >> is pretty simple, but since i am using Date::Calc, I cannot >> do this in page. At the top, i delete all of the affected >> scratch variables. Then, after some calculations with the >> given dates, I just test for the results of some comparisons >> and then set the Scratch variables if desired. >> >> i.e.: >> >> $diff = Delta_Days($ys,$ms,$ds, $y,$m,$d); >> if ( $diff == 0 ) # today is new bill date >> { >> $Scratch->{bill_it} = 1; >> $Scratch->{rebill} = 1; >> $Scratch->{next_bill} = $Tag->convert_date( { body => "$ys-$ms-$ds" } >> ); >> } >> >> .. and this continues on for many different comparisons to >> figure out exactly what is going on with these dates, and >> so there are several different sets of if .. elsif ..else .. >> like that. >> >> any ideas? thanks! > > Yes, you may try to use $::Scratch instead of $Scratch in global > usertags, > at least for modifying the scratch namespace. At least it is done this > way > in the most usertags shipped with IC. > > bye > racke > > thanks so much! i actually had looked at a couple of other usertags but had not noticed that. another quick fix if you know where to look. thanks again. works great now. -- Aaron Hazelton Hazenet.net From racke at linuxia.de Fri Dec 26 12:06:15 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Dec 26 12:06:54 2003 Subject: [ic] Shipping depending on quantity and price In-Reply-To: <20031226152922.GA19832@bill.heins.net> References: <20031226152342.51bce1fb.racke@linuxia.de> <20031226152922.GA19832@bill.heins.net> Message-ID: <20031226180615.0c1c33d0.racke@linuxia.de> On Fri, 26 Dec 2003 10:29:22 -0500 Mike Heins wrote: > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > Hello, Interchange users ! > > > > I got the following specification from one of my customers: > > > > 1-4 items $8 then $2 a item after that > > > > That part is pretty easy: > > > > GNDCOM: UPS Ground > > crit quantity > > min 1 > > max 4 > > cost 8 > > > > crit quantity > > min 5 > > max 9999999 > > cost f [nitems] * 2 > > > > But additionally orders over $400 should get free shipping. > > It is possible to express this in the shipping database > > without resort to custom tags ? > > This is done in the "mike" demo with the free_or_upsg definition: That works like a charm, Mike ! Thank you very much. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From tomfriedel at earthlink.net Fri Dec 26 13:41:23 2003 From: tomfriedel at earthlink.net (tom friedel) Date: Fri Dec 26 14:03:58 2003 Subject: [ic] Interchange should make thumbnails References: <200312051701.hB5H09HU015389@icdevgroup.org> <200312051701.hB5H09HU015389@icdevgroup.org> <5.2.0.9.0.20031205195856.03d66668@verhagen.net> Message-ID: <3FEC80D3.5090408@earthlink.net> Why isn't this documented? When I searched for the three terms image makesize imagesubdir with google, I only found your posting to this list. Would this tag create the thumbnail the first time I tried to access it? What I am trying to accomplish is that my client, the storekeeper, does not have to create and upload multiple sizes of his images. thank you, tom friedel http://www.readyink.com > > Tom, > > Interchange has a feature to resize images. > > Have a look at the [image] tag. > > Example: > [image src="os28004.gif" imagesubdir="items" makesize="50x50"] > > > Good luck ! > > > Best regards, > > Ton > > -- > Alamerce Nederland --- Cornerstone of eBusiness > Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl > > eCommerce Solutions -- Consulting -- Website & Interchange Hosting > > From giftbound1 at comcast.net Fri Dec 26 14:53:09 2003 From: giftbound1 at comcast.net (Tom) Date: Fri Dec 26 14:43:35 2003 Subject: [ic] ImageDirSecure? Message-ID: <001b01c3cbe9$e3f04a20$be5e2744@verona01.nj.comcast.net> I put this in catalog.cfg but still my images dont show up. and when I right click to find out what it has it dont include the whole path what am I doing wrong here? ImageDirSecure https://ssl.perfora.net/s91786676.onlinehome.us/foundation/images/ it has when I right click https://ssl.perfora.net/foundation/images/ From cbcurrier at spinrx.com Fri Dec 26 15:19:15 2003 From: cbcurrier at spinrx.com (cbcurrier) Date: Fri Dec 26 15:16:52 2003 Subject: [ic] 5.0.0 Not creating tables at startup Message-ID: <1072469955.2533.154.camel@localhost.localdomain> Upgraded server makecat'ed new catalog. DB created & files written on ./restart as interch ... no tables created: errors from stdout to the console are: Configuring catalog vc...Using MySQL, DSN=dbi:mysql:test_vc...table 'merchandisi ng' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/ interchange/lib/Vend/Table/Common.pm line 1107, line 2. table 'tree' failed: Undefined subroutine &Vend::Table::DBI::create called at /u sr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 3. table 'options' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 4. table 'area' failed: Undefined subroutine &Vend::Table::DBI::create called at /u sr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 5. table 'state' failed: Undefined subroutine &Vend::Table::DBI::create called at / usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 6. table 'forum' failed: Undefined subroutine &Vend::Table::DBI::create called at / usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 7. table 'cat' failed: Undefined subroutine &Vend::Table::DBI::create called at /us r/local/interchange/lib/Vend/Table/Common.pm line 1107, line 8. table 'transactions' failed: Undefined subroutine &Vend::Table::DBI::create call ed at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 9. table 'products' failed: Undefined subroutine &Vend::Table::DBI::create called a t /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 10. table 'country' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 11. table 'inventory' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 12. table 'order_returns' failed: Undefined subroutine &Vend::Table::DBI::create cal led at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 13. table 'userdb' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 14. table 'affiliate' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 15. table 'variants' failed: Undefined subroutine &Vend::Table::DBI::create called a t /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 16. table 'gift_certs' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 17. table 'orderline' failed: Undefined subroutine &Vend::Table::DBI::create called at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, line 18. no error messages in error.log. Perl is 5.8.0 Bundle::Interchange is up to date Bundle::Interchange5 is up to date. DBI::mysql is up to date DBD is upto date MYSQL queries through perl fine. It has been suggested that there are permissions erros yet all permissions on a new catalog look great. any suggestions really appreciated. this is a live server & I had no problems with 4.9.8 so would like to try to get back up soon. Thanks, C.B. From aaronmail at hazenet.net Fri Dec 26 15:27:32 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Fri Dec 26 15:27:47 2003 Subject: [ic] Bareword errors installing 5.0.0 with perl 5.8.2 Message-ID: .. previous post on same issue: > At 03:20 PM 11/14/2003 -0500, you wrote: >> On Fri, 14 Nov 2003 14:32:55 -0500, Aaron Hazelton > hazenet.net> wrote: >> >>> Hi all, >>> >>> Perl 5.6.0 >>> IC 4.8.3 already installed >> forgot .. RH Linux 7.2 >> >>> >>> I am trying to install 4.9.9 for some dev sites and run both until >>> I can fully switch everything over and the 5.0 is released. >>> >>> ./configure chokes with this error: >> [snip error] >> >>> >>> >>> Any ideas on what i need to do? Thanks in advance >> >> I just downloaded and ran 4.9.8 and it installed beautifully. >> Is this any indicator of a change that will be in 5.0 that is >> breaking compatibility? >> >> -- >> Aaron Hazelton > > Aaron - > > I can confirm that 4.9.9 will not build with Perl 5.6.0; as far as the > reason, you may need either Bundle::Interchange5, a Perl upgrade, or > both. I have not been forced to resolve the issue yet, so sorry that I > can't be more specific. > > - Ed > Ed and everybody else: I have been waiting for the official 5.0.0 version and since this email I have installed perl 5.8.2, and Bundle::Interchange5 and am now trying to install the 5.0.0 release, and am receiving the same errors as if there is something else amiss. Actually on the make test, all 6 tests fail. Any ideas? > > =============================================================== > New Media E.M.S. Technology Solutions for Business > 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting > Fair Oaks, CA 95628 edl at newmediaems.com > (916) 961-0446 http://www.newmediaems.com > (866) 519-4680 Toll-Free (916) 961-0447 Fax > =============================================================== -- Aaron Hazelton Hazenet.net From aaronmail at hazenet.net Fri Dec 26 16:42:04 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Fri Dec 26 16:42:20 2003 Subject: [ic] Bareword errors installing 5.0.0 with perl 5.8.2-solved In-Reply-To: References: Message-ID: On Fri, 26 Dec 2003 15:27:32 -0500, Aaron Hazelton wrote: > .. previous post on same issue: > [snip early stuff] >> >> Aaron - >> >> I can confirm that 4.9.9 will not build with Perl 5.6.0; as far as the >> reason, you may need either Bundle::Interchange5, a Perl upgrade, or >> both. I have not been forced to resolve the issue yet, so sorry that I >> can't be more specific. >> >> - Ed >> > > Ed and everybody else: > > I have been waiting for the official 5.0.0 version and since this email > I have installed perl 5.8.2, and Bundle::Interchange5 and am now trying > to install the 5.0.0 release, and am receiving the same errors as if > there is something else amiss. Actually on the make test, all 6 tests > fail. > > Any ideas? > >> well, i installed perl again, and now its working ... not sure what happened. -- Aaron Hazelton Hazenet.net From sandy at scotwebshops.com Fri Dec 26 18:43:08 2003 From: sandy at scotwebshops.com (Sandy Thomson) Date: Fri Dec 26 18:43:26 2003 Subject: [ic] 5.0.0 Not creating tables at startup In-Reply-To: <1072469955.2533.154.camel@localhost.localdomain> References: <1072469955.2533.154.camel@localhost.localdomain> Message-ID: <3FECC78C.1010808@scotwebshops.com> cbcurrier wrote: >Upgraded server >makecat'ed new catalog. >DB created & files written > >on ./restart as interch ... no tables created: > >errors from stdout to the console are: > Configuring catalog vc...Using MySQL, > DSN=dbi:mysql:test_vc...table 'merchandisi > ng' failed: Undefined subroutine &Vend::Table::DBI::create > called at /usr/local/ > interchange/lib/Vend/Table/Common.pm line 1107, line 2. > > table 'tree' failed: Undefined subroutine > &Vend::Table::DBI::create called at /u > sr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 3. > > table 'options' failed: Undefined subroutine > &Vend::Table::DBI::create called at > /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 4. > > table 'area' failed: Undefined subroutine > &Vend::Table::DBI::create called at /u > sr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 5. > > table 'state' failed: Undefined subroutine > &Vend::Table::DBI::create called at / > usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 6. > > table 'forum' failed: Undefined subroutine > &Vend::Table::DBI::create called at / > usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 7. > > table 'cat' failed: Undefined subroutine > &Vend::Table::DBI::create called at /us > r/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 8. > > table 'transactions' failed: Undefined subroutine > &Vend::Table::DBI::create call > ed at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 9. > > table 'products' failed: Undefined subroutine > &Vend::Table::DBI::create called a > t /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 10. > > table 'country' failed: Undefined subroutine > &Vend::Table::DBI::create called at > /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 11. > > table 'inventory' failed: Undefined subroutine > &Vend::Table::DBI::create called > at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 12. > > table 'order_returns' failed: Undefined subroutine > &Vend::Table::DBI::create cal > led at /usr/local/interchange/lib/Vend/Table/Common.pm line > 1107, line 13. > > table 'userdb' failed: Undefined subroutine > &Vend::Table::DBI::create called at > /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 14. > > table 'affiliate' failed: Undefined subroutine > &Vend::Table::DBI::create called > at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 15. > > table 'variants' failed: Undefined subroutine > &Vend::Table::DBI::create called a > t /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 16. > > table 'gift_certs' failed: Undefined subroutine > &Vend::Table::DBI::create called > at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 17. > > table 'orderline' failed: Undefined subroutine > &Vend::Table::DBI::create called > at /usr/local/interchange/lib/Vend/Table/Common.pm line 1107, > line 18. > >no error messages in error.log. > >Perl is 5.8.0 >Bundle::Interchange is up to date >Bundle::Interchange5 is up to date. >DBI::mysql is up to date >DBD is upto date > >MYSQL queries through perl fine. > >It has been suggested that there are permissions erros yet all >permissions on a new catalog look great. > >any suggestions really appreciated. this is a live server & I had no >problems with 4.9.8 so would like to try to get back up soon. > Off the top of my head, here is what I do: 1. Make sure the sql tables arent already created, ensure you have permissions etc etc. 2. Ensure the table column definitions in catalog.cfg (or included files) are correct. 3. Remove all instances of files like .sql from products/ subdirectory. 4. Ensure the column names in products/.txt are in the same order as defined in the catalog, tab separated, and that there is no new line at the end. I found even a space would make interchange have a fit. 5. Restart interchange and pray. :) Sandy. From giftbound1 at comcast.net Sat Dec 27 01:23:29 2003 From: giftbound1 at comcast.net (Tom) Date: Sat Dec 27 01:13:50 2003 Subject: [ic] Images Not sowing up in SSL? Message-ID: <004201c3cc41$f1f4d200$be5e2744@verona01.nj.comcast.net> I put the following in and still images arent showing up. VendURL http://__SERVER_NAME____CGI_URL__ SecureURL https://ssl.perfora.net/s91786676.onlinehome.us/cgi-bin/foundation ImageDirSecure /s91786676.onlinehome.us/foundation/images/ ifndef SECURE_ENABLE SecureURL http://__SERVER_NAME____CGI_URL__ endif # Set the image path for relative images ImageDir __IMAGE_DIR__/ From cbcurrier at spinrx.com Sat Dec 27 07:50:21 2003 From: cbcurrier at spinrx.com (cbcurrier) Date: Sat Dec 27 07:48:05 2003 Subject: [ic] Bareword errors installing 5.0.0 with perl 5.8.2-solved In-Reply-To: References: Message-ID: <1072529421.2533.157.camel@localhost.localdomain> On Fri, 2003-12-26 at 16:42, Aaron Hazelton wrote: > On Fri, 26 Dec 2003 15:27:32 -0500, Aaron Hazelton > wrote: > > > .. previous post on same issue: > > > [snip early stuff] > >> > >> Aaron - > >> > >> I can confirm that 4.9.9 will not build with Perl 5.6.0; as far as the > >> reason, you may need either Bundle::Interchange5, a Perl upgrade, or > >> both. I have not been forced to resolve the issue yet, so sorry that I > >> can't be more specific. > >> > >> - Ed > >> > > > > Ed and everybody else: > > > > I have been waiting for the official 5.0.0 version and since this email > > I have installed perl 5.8.2, and Bundle::Interchange5 and am now trying > > to install the 5.0.0 release, and am receiving the same errors as if > > there is something else amiss. Actually on the make test, all 6 tests > > fail. > > > > Any ideas? > > > >> > > well, i installed perl again, and now its working ... not sure what > happened. Which version did you reinstall & from rpm or tar? I have now tried 5.8.2 , 5.8.1 , 5.8.0 I am about to go back to 5.6.0 & reinstall 4.9.8 which gave me no problems C.B. Currier From tverhagen at alamerce.nl Sat Dec 27 08:23:28 2003 From: tverhagen at alamerce.nl (Ton Verhagen) Date: Sat Dec 27 08:23:42 2003 Subject: [ic] Interchange should make thumbnails In-Reply-To: <3FEC80D3.5090408@earthlink.net> References: <200312051701.hB5H09HU015389@icdevgroup.org> <200312051701.hB5H09HU015389@icdevgroup.org> <5.2.0.9.0.20031205195856.03d66668@verhagen.net> Message-ID: <5.2.0.9.0.20031227141507.03d53008@verhagen.net> Quoting tom friedel : >Why isn't this documented? When I searched for the three terms image >makesize imagesubdir with google, I only found your posting to this list. It's documented in the WHATSNEW file that comes with every distribution. >Would this tag create the thumbnail the first time I tried to access it? Yep, that's exactly what it does. > What I am trying to accomplish is that my client, the storekeeper, does > not have to create and upload multiple sizes of his images. You would only need to upload one (preferably large) image and way you go :-) PS Please do not top quote as the change such postings get answered will be diminished dramatically. >thank you, >tom friedel >http://www.readyink.com > >> >>Tom, >> >>Interchange has a feature to resize images. >> >>Have a look at the [image] tag. >> >>Example: >>[image src="os28004.gif" imagesubdir="items" makesize="50x50"] >> >> >>Good luck ! >> >> >>Best regards, >> >>Ton >> >>-- >>Alamerce Nederland --- Cornerstone of eBusiness >>Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl >> >>eCommerce Solutions -- Consulting -- Website & Interchange Hosting > > >Best regards, > >Ton > >-- >Alamerce Nederland --- Cornerstone of eBusiness >Phone +31-40-2374381 info@alamerce.nl http://www.alamerce.nl > >eCommerce Solutions -- Consulting -- Website & Interchange Hosting From aaronmail at hazenet.net Sat Dec 27 08:50:20 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Sat Dec 27 08:50:37 2003 Subject: [ic] Bareword errors installing 5.0.0 with perl 5.8.2-solved In-Reply-To: <1072529421.2533.157.camel@localhost.localdomain> References: <1072529421.2533.157.camel@localhost.localdomain> Message-ID: On 27 Dec 2003 07:50:21 -0500, cbcurrier wrote: > On Fri, 2003-12-26 at 16:42, Aaron Hazelton wrote: >> On Fri, 26 Dec 2003 15:27:32 -0500, Aaron Hazelton >> >> wrote: >> >> > .. previous post on same issue: >> > >> [snip early stuff] >> >> >> >> Aaron - >> >> >> >> I can confirm that 4.9.9 will not build with Perl 5.6.0; as far as >> the >> >> reason, you may need either Bundle::Interchange5, a Perl upgrade, or >> >> both. I have not been forced to resolve the issue yet, so sorry that >> I >> >> can't be more specific. >> >> >> >> - Ed >> >> >> > >> > Ed and everybody else: >> > >> > I have been waiting for the official 5.0.0 version and since this >> email >> > I have installed perl 5.8.2, and Bundle::Interchange5 and am now >> trying >> > to install the 5.0.0 release, and am receiving the same errors as if >> > there is something else amiss. Actually on the make test, all 6 tests >> > fail. >> > >> > Any ideas? >> > >> >> >> >> well, i installed perl again, and now its working ... not sure what >> happened. > > > Which version did you reinstall & from rpm or tar? > > I have now tried 5.8.2 , 5.8.1 , 5.8.0 > I am about to go back to 5.6.0 > & reinstall 4.9.8 which gave me no problems > > C.B. Currier i was feeling the same way, as 4.9.8 seems to be where the dependancy changed. I reinstalled 5.8.2 and did it from tar using all the defaults. that time it gave me no problems whatsoever, although i did not try doing a 'upgrade'. i just installed ic 5.0.0 from scratch in the same dir as where 4.9.8 had been but deleted the entire directory so that everything would be replaced. then i just replaced the interchange.cfg and my UserTags and installed a couple of other CPAN modules that it complained about and did not have to run makecat again. -- Aaron Hazelton Hazenet.net From edl at newmediaems.com Sat Dec 27 12:04:41 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Sat Dec 27 12:04:44 2003 Subject: [ic] Images Not sowing up in SSL? In-Reply-To: <004201c3cc41$f1f4d200$be5e2744@verona01.nj.comcast.net> Message-ID: <5.2.1.1.0.20031227090322.02185668@mail.newmediaems.com> At 01:23 AM 12/27/2003 -0500, you wrote: >I put the following in and still images arent showing up. > >VendURL http://__SERVER_NAME____CGI_URL__ >SecureURL >https://ssl.perfora.net/s91786676.onlinehome.us/cgi-bin/foundation >ImageDirSecure /s91786676.onlinehome.us/foundation/images/ >ifndef SECURE_ENABLE >SecureURL http://__SERVER_NAME____CGI_URL__ >endif > ># Set the image path for relative images >ImageDir __IMAGE_DIR__/ Use your browser to check the html source of an SSL page to see what path is actually being used for images. Verify that the path is valid and that is has the proper permissions to allow images to be served from that location. Work backwards from there. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From giftbound1 at comcast.net Sat Dec 27 18:51:48 2003 From: giftbound1 at comcast.net (Tom) Date: Sat Dec 27 18:42:08 2003 Subject: [ic] Images Not sowing up in SSL? References: <5.2.1.1.0.20031227090322.02185668@mail.newmediaems.com> Message-ID: <000701c3ccd4$644e6c20$be5e2744@verona01.nj.comcast.net> if I put it in the Image_Dir it works but I think possibly there is a bug in ImageDirSecure? or am I putting it in the wrong place? ----- Original Message ----- From: "Ed LaFrance" To: Sent: Saturday, December 27, 2003 12:04 PM Subject: Re: [ic] Images Not sowing up in SSL? > At 01:23 AM 12/27/2003 -0500, you wrote: > >I put the following in and still images arent showing up. > > > >VendURL http://__SERVER_NAME____CGI_URL__ > >SecureURL > >https://ssl.perfora.net/s91786676.onlinehome.us/cgi-bin/foundation > >ImageDirSecure /s91786676.onlinehome.us/foundation/images/ > >ifndef SECURE_ENABLE > >SecureURL http://__SERVER_NAME____CGI_URL__ > >endif > > > ># Set the image path for relative images > >ImageDir __IMAGE_DIR__/ > > Use your browser to check the html source of an SSL page to see what path > is actually being used for images. Verify that the path is valid and that > is has the proper permissions to allow images to be served from that > location. Work backwards from there. > > - Ed > > > =============================================================== > New Media E.M.S. Technology Solutions for Business > 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting > Fair Oaks, CA 95628 edl@newmediaems.com > (916) 961-0446 http://www.newmediaems.com > (866) 519-4680 Toll-Free (916) 961-0447 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From giftbound1 at comcast.net Mon Dec 29 00:07:25 2003 From: giftbound1 at comcast.net (Tom) Date: Sun Dec 28 23:57:43 2003 Subject: [ic] In Stock Notification References: <005601c3cb69$aa9c9920$be5e2744@verona01.nj.comcast.net> <3FEBC39C.EB60E5E9@attglobal.net> Message-ID: <005801c3cdc9$a6703d40$be5e2744@verona01.nj.comcast.net> I seen that but do you know how to get this to work for the default DB? ----- Original Message ----- From: "Jon" To: Sent: Friday, December 26, 2003 12:14 AM Subject: Re: [ic] In Stock Notification > > Does anyone know how to make this to email the customer automatically when > > stock is updated? > > > > > > Tom search the archives for for Stock Notification or stock_alert for > a perl script that you run from cron. This code checks the DB > every X minutes based on the crontable and then send an > email when appropriate. > > I just looked it up.. Here is the URL > > http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170.html > > Jon > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From music at labyrinth.net.au Mon Dec 29 10:55:12 2003 From: music at labyrinth.net.au (music@labyrinth.net.au) Date: Mon Dec 29 09:56:44 2003 Subject: [ic] 5.0.0 UI login page - page_metaconfig.html issue? Message-ID: <014401c3ce24$24a08530$fe2a1cd3@co3041008a> Have upgraded a server to 5.0.0 (previous 4.8.7) RedHat Linux 7.3 Perl 5.6.1 mod_perl mod_interchange New catalogues working OK though have noticed server resources used are more than twice the amount of previous install per IC page load instance. PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 24968 interch 15 0 33676 32M 2636 S 3.5 3.2 0:01 interchange Previous version instances ran RSS between 10M and 14M What is alarming however and prompting me to post to the list is what happens if a visitor or user clicks the hot link tied to the red exclamation mark image on the admin login page: http://demo.icdevgroup.org/ic49/interchange-5/en_US/icon_error.gif I am not sure what the link is for: http://123123wherever22bogus.org/catalogue/admin/page_metaconfig.html?page=admin%2flogin&id=uekEqF36&mv_pc=6 but what happens on our server is that 5 interchange processes begin running and eventually the page times out. It is quite a load and a bit of a concern as most people will be quite curious about clicking it. The 5.0 demo at the icdevgroup website also hangs on this link. P.S. Thanks for the Christmas present!!! From music at labyrinth.net.au Mon Dec 29 11:15:45 2003 From: music at labyrinth.net.au (music@labyrinth.net.au) Date: Mon Dec 29 10:17:21 2003 Subject: [ic] 5.0.0 Upgrade - Merge Metadata? Message-ID: <015e01c3ce27$053ce870$fe2a1cd3@co3041008a> Am in the process of upgrading some catalogues to 5.0.0 that have been running nicely under 4.8.7 Have followed the UPGRADE instructions and all appears well. However the 'Merge Metadata' process in the new UI is a little confusing. Is there some more specific info about this process somewhere? (Have done a fair amount of searching.) How dangerous is it to 'Merge All' for older foundation catalogues? When comparing data to merge what does it mean if the new value is 'Table' the older value is 'text'? What if I merge these values? What else would I need to look at updating? What type of things should not be merged and left as is? Thanks! From frank at goldissue.com Mon Dec 29 10:55:40 2003 From: frank at goldissue.com (frank) Date: Mon Dec 29 10:49:01 2003 Subject: [ic] 5.0.0 Upgrade - Merge Metadata? In-Reply-To: <015e01c3ce27$053ce870$fe2a1cd3@co3041008a> References: <015e01c3ce27$053ce870$fe2a1cd3@co3041008a> Message-ID: <3FF04E7C.9040504@goldissue.com> music@labyrinth.net.au wrote: >Am in the process of upgrading some catalogues to 5.0.0 that have been >running nicely under 4.8.7 > >Have followed the UPGRADE instructions and all appears well. > >However the 'Merge Metadata' process in the new UI is a little confusing. > >Is there some more specific info about this process somewhere? (Have done a >fair amount of searching.) > >How dangerous is it to 'Merge All' for older foundation catalogues? > >When comparing data to merge what does it mean if the new value is 'Table' >the older value is 'text'? What if I merge these values? What else would I >need to look at updating? > >What type of things should not be merged and left as is? > >Thanks! > > > Just jump into it man. It's not that bad. I remember having to create an extra field or two in mv_metadata.asc. Not sure about the text question. Actually I have made so many modifications (like my own metatag structure in the templates) that I prefered to backup my old sites somewhere, rebuild each site using makecat. I then (using scripts or manually) copy important files over - but only as necessary to avoid replacing better? and newer code. In fact I redid this recently and recreated 4 sites in one hour. It requires care, understanding and attention to detail. I created my own usertag for use in Australia, and this broke during the upgrade. I guess it depends how much your own 'improvements' are in harmony with the developers' intentions. I have tried to automate everything with scripts, but have found that a big jump like this needed thought and attention to each section. You can't avoid the steps in the upgrade though, you just need to do it, Hope that is useful. Frank. >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > From dave at whatsthebigidea.com Mon Dec 29 13:09:39 2003 From: dave at whatsthebigidea.com (David Radovanovic) Date: Mon Dec 29 13:09:53 2003 Subject: [ic] RequiredFields Message-ID: Hello: I'm running interchange 4.8.7 on FreeBSD 4.7, Perl 5.8.0 using the foundation as the base for my site. I've added new fields, one of which is user_initials in the userdb. user_initials is a required field that I've added to the profile.order page. However, the checkout page allows the user to proceed without entering their user_initials and the required mv_shipmode. Anything I've missed besides adding the new field name to profile.order? Thanks David Radovanovic WhatsTheBigIdea.com, Inc. -- Bright ideas for the Web! 249 Partition Street Saugerties, New York 12477 (845) 247-0909, FAX: (845) 246-3880 http://www.WhatsTheBigIdea.com From edl at newmediaems.com Mon Dec 29 15:48:38 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Mon Dec 29 15:48:49 2003 Subject: [ic] RequiredFields In-Reply-To: Message-ID: <5.2.1.1.0.20031229124620.02198628@mail.newmediaems.com> At 01:09 PM 12/29/2003 -0500, you wrote: >Hello: > >I'm running interchange 4.8.7 on FreeBSD 4.7, Perl 5.8.0 using the >foundation as the base for my site. I've added new fields, one of which is >user_initials in the userdb. user_initials is a required field that I've >added to the profile.order page. However, the checkout page allows the user >to proceed without entering their user_initials and the required >mv_shipmode. Anything I've missed besides adding the new field name to >profile.order? You need to Apply Changes (or restart interchange) when making any changes to etc/profiles.* Also note that there is a separate profile for each payment time, so be sure to add your new order checks for all payment methods that you accept. Finally, add an [error ...] tag for the field label of your user_initials input so that the failed check can be displayed in context. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From dave at whatsthebigidea.com Mon Dec 29 17:18:33 2003 From: dave at whatsthebigidea.com (David Radovanovic) Date: Mon Dec 29 17:18:45 2003 Subject: [ic] RequiredFields In-Reply-To: <5.2.1.1.0.20031229124620.02198628@mail.newmediaems.com> Message-ID: interchange-users-bounces@icdevgroup.org wrote: > At 01:09 PM 12/29/2003 -0500, you wrote: >> Hello: >> >> I'm running interchange 4.8.7 on FreeBSD 4.7, Perl 5.8.0 using the >> foundation as the base for my site. I've added new fields, one of >> which is user_initials in the userdb. user_initials is a required >> field that I've added to the profile.order page. However, the >> checkout page allows the user to proceed without entering their >> user_initials and the required mv_shipmode. Anything I've missed >> besides adding the new field name to profile.order? > > You need to Apply Changes (or restart interchange) when making any > changes to etc/profiles.* > Also note that there is a separate profile for each payment time, so > be sure to add your new order checks for all payment methods that you > accept. Finally, add an [error ...] tag for the field label of your > user_initials input so that the failed check can be displayed in > context. > > - Ed L. > > > =============================================================== > New Media E.M.S. Technology Solutions for Business > 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting > Fair Oaks, CA 95628 edl@newmediaems.com > (916) 961-0446 http://www.newmediaems.com > (866) 519-4680 Toll-Free (916) 961-0447 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users Ed, thanks for your reply. I thought I had already did that. Let me take a closer look. BTW in my case, PO is the only method of payment since the customer/s have an account. They also pay for their own freight/shipping, though they choose the mv_shipmode from the drop-down menu. I'm trying to stay within interchange using all the great tags it offers, though I'm slowly ending up with a hodge podge. Thanks again. David Radovanovic WhatsTheBigIdea.com, Inc. -- Bright ideas for the Web! 249 Partition Street Saugerties, New York 12477 (845) 247-0909, FAX: (845) 246-3880 http://www.WhatsTheBigIdea.com From anthony at urbanscooters.com Mon Dec 29 20:22:51 2003 From: anthony at urbanscooters.com (Anthony Minero) Date: Mon Dec 29 20:21:48 2003 Subject: [ic] Order sequence In-Reply-To: <5.2.1.1.0.20031229124620.02198628@mail.newmediaems.com> Message-ID: Hey all, I had a question on the order sequence. I'm using 4.9.8 and MySQL. Sometimes we have gaps in the order sequence and I'm wondering why that occurs? -- Anthony Minero http://urbanscooters.com -- From giftbound1 at comcast.net Mon Dec 29 21:52:51 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 29 21:43:10 2003 Subject: [ic] Stock Notification Help Message-ID: <000901c3ce80$049adea0$be5e2744@verona01.nj.comcast.net> I seen this done for mysql I wanted to know how to do this for DBI? Please anyone help.. Its located at http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170.html From giftbound1 at comcast.net Mon Dec 29 22:23:04 2003 From: giftbound1 at comcast.net (Tom) Date: Mon Dec 29 22:13:16 2003 Subject: [ic] Mysql? Message-ID: <002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net> Is it possible to use interchange with mysql when its on another server? My isp has mysql database on another server. From racke at linuxia.de Tue Dec 30 07:30:49 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Tue Dec 30 07:31:00 2003 Subject: [ic] Mysql? In-Reply-To: <002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net> References: <002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net> Message-ID: <20031230133049.1f2b921b.racke@linuxia.de> On Mon, 29 Dec 2003 22:23:04 -0500 "Tom" wrote: > Is it possible to use interchange with mysql when its on another server? My > isp has mysql database on another server. No problem, just change the SQLDSN variable accordingly (for foundation catalogs): dbi:mysql:database=db0815;host=db.linuxia.de Ciao Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From giftbound1 at comcast.net Tue Dec 30 09:46:38 2003 From: giftbound1 at comcast.net (Tom) Date: Tue Dec 30 09:36:51 2003 Subject: [ic] Writing Tables in Mysql? Message-ID: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net> Im trying to get this to work its located here: http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170.html I made the stock_alert table in mysql but what do I make in interchange to get this to work? Little confused here. I made this in interchange called stock_alert.mysql but get a 500 error Database stock_alert stock_alert.txt __SQLDSN__ ifdef SQLUSER Database stock_alert USER __SQLUSER__ endif ifdef SQLPASS Database stock_alert PASS __SQLPASS__ endif Database stock_alert DEFAULT_TYPE text Database stock_alert COLUMN_DEF "uid=int(11) NOT NULL auto_increment" Database stock_alert COLUMN_DEF "sku=varchar(20) NOT NULL default ''" Database stock_alert COLUMN_DEF "price=decimal(10,2) NOT NULL default ''" Database stock_alert COLUMN_DEF "description=varchar(255) NOT NULL default ''" Database stock_alert COLUMN_DEF "author=varchar(255) default NULL" Database stock_alert COLUMN_DEF "fname=varchar(255) default NULL" Database stock_alert COLUMN_DEF "lname=varchar(255) default NULL" Database stock_alert COLUMN_DEF "email=varchar(255) NOT NULL default ''" Database stock_alert COLUMN_DEF "date=date NOT NULL default '0000-00-00'" What else do I have to do? From interchange at hertell.com Tue Dec 30 09:50:28 2003 From: interchange at hertell.com (Rene Hertell) Date: Tue Dec 30 09:51:16 2003 Subject: [ic] Writing Tables in Mysql? In-Reply-To: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net> Message-ID: > I made the stock_alert table in mysql but what do I make in interchange to > get this to work? Little confused here. Did you create the stock_alert.txt with tab-separted column-names? And if you did that, then is the file uploaded in "unix" mode to the server? Ren? From racke at linuxia.de Tue Dec 30 09:53:12 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Tue Dec 30 09:53:20 2003 Subject: [ic] Writing Tables in Mysql? In-Reply-To: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net> References: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net> Message-ID: <20031230155312.3d6cb872.racke@linuxia.de> On Tue, 30 Dec 2003 09:46:38 -0500 "Tom" wrote: > Im trying to get this to work its located here: > http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170.html > > I made the stock_alert table in mysql but what do I make in interchange to > get this to work? Little confused here. > > I made this in interchange called stock_alert.mysql but get a 500 error Check your global Interchange error log for more information. Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From hostmaster at zipp.net Tue Dec 30 10:01:50 2003 From: hostmaster at zipp.net (Hostmaster) Date: Tue Dec 30 10:01:54 2003 Subject: [ic] setting up mySQL database Message-ID: <004b01c3cee5$dc42bde0$63958f42@sbcglobal.net> Hello list members, Just switching over from Excel to mySQL database for the first time, and having some trouble setting up a new database. Using Interchange 5.0, Redhat 9.0. I was given instructions for this as follows: 1) 1. log into mysql as root on the command line: mysql -u root -p 2) type the password (currently 'pass') when prompted. The prompt then looks like this: mysql> _ 3) create the new database: mysql> create database dbname; where dbname is the name you want to give the database. If you want to see the list of existing db's, type mysql> show databases; The semicolon is part of the actual command you will type. Mysql accepts multi-line command, so the semicolon is needed to tell it to 'run' your completed statement. 4) Grant access to the new db for a specific user. The username and password can be new or existing, but if using an existing user, make sure you use the same password as before, otherwise this statement will change their password! : mysql> grant all privileges on dbname.* to username@localhost identified by 'password'; ...substituting the desired values for dbname, username and password. The single quotes around the password are part of the actual command. That's it! You can log out of mysql: mysql> exit; -------------- When I tried to setup a new database for a new catalog, I was stumped. After logging in, I entered: mysql> create database inventory and got this returned: mysql> create database inventory -> The instructions didn't prepare me for the ->. I'm not sure what to enter after the -> at this point. I might have expect this line to read something like: mysql> database inventory created --------------- Can anyone clarify this for me? Also, in my attempts to create the database, it seems the names have actually been created. When I do this: mysql> show databases; I see my failed attempts in the list. What is the command to safely remove these failures? Most gratefully, Michael G. From aaronmail at hazenet.net Tue Dec 30 10:11:41 2003 From: aaronmail at hazenet.net (Aaron Hazelton) Date: Tue Dec 30 10:11:51 2003 Subject: [ic] setting up mySQL database In-Reply-To: <004b01c3cee5$dc42bde0$63958f42@sbcglobal.net> References: <004b01c3cee5$dc42bde0$63958f42@sbcglobal.net> Message-ID: On Tue, 30 Dec 2003 09:01:50 -0600, Hostmaster wrote: > The semicolon is part of the actual command you will type. Mysql accepts > multi-line command, so the semicolon is needed to tell it to 'run' your > completed statement. > perhaps you did not read the above portion ... > mysql> create database inventory > if you do not end the statement with a semicolon (;) then mysql sets it up to accept multiple lines until you end the entire query. you should really do a little looking here: http://www.mysql.com -- Aaron Hazelton Hazenet.net From edl at newmediaems.com Tue Dec 30 11:34:27 2003 From: edl at newmediaems.com (Ed LaFrance) Date: Tue Dec 30 11:34:36 2003 Subject: [ic] Mysql? In-Reply-To: <20031230133049.1f2b921b.racke@linuxia.de> References: <002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net> <002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net> Message-ID: <5.2.1.1.0.20031230082826.022bdca0@mail.newmediaems.com> At 01:30 PM 12/30/2003 +0100, you wrote: >On Mon, 29 Dec 2003 22:23:04 -0500 >"Tom" wrote: > > > Is it possible to use interchange with mysql when its on another server? My > > isp has mysql database on another server. > >No problem, just change the SQLDSN variable accordingly (for foundation >catalogs): > >dbi:mysql:database=db0815;host=db.linuxia.de > >Ciao > Racke Also, it's worth noting that the machine which hosts the mysql server needs port 3306 open. This is almost certainly the case already, unless firewall settings have been monkeyed. - Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 edl@newmediaems.com (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== From nbarnett at specialty-books.com Tue Dec 30 12:08:20 2003 From: nbarnett at specialty-books.com (Nathan Barnett) Date: Tue Dec 30 12:08:31 2003 Subject: [ic] FedEx & USPS Zone and Rate tables Message-ID: <1072804099.22486.274.camel@isengard> Does anyone have any examples of a FedEx Zone table and a Rate table and Zone table for USPS that I could see as an example. Does anyone have a script for the USPS tables? ALso for the FedEx Zone table? Thanks!!! -nate- From smartin at steamvalve.com Tue Dec 30 13:15:01 2003 From: smartin at steamvalve.com (Scott Martin) Date: Tue Dec 30 13:10:25 2003 Subject: [ic] Mysql? References: <002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net><002201c3ce84$3cffae20$be5e2744@verona01.nj.comcast.net> <5.2.1.1.0.20031230082826.022bdca0@mail.newmediaems.com> Message-ID: <001701c3cf00$d7d647c0$031ba8c0@steamvalve.com> ----- Original Message ----- From: "Ed LaFrance" To: Sent: Tuesday, December 30, 2003 11:34 AM Subject: Re: [ic] Mysql? > At 01:30 PM 12/30/2003 +0100, you wrote: > >On Mon, 29 Dec 2003 22:23:04 -0500 > >"Tom" wrote: > > > > > Is it possible to use interchange with mysql when its on another server? My > > > isp has mysql database on another server. > > > >No problem, just change the SQLDSN variable accordingly (for foundation > >catalogs): > > > >dbi:mysql:database=db0815;host=db.linuxia.de > > > >Ciao > > Racke > > Also, it's worth noting that the machine which hosts the mysql server needs > port 3306 open. This is almost certainly the case already, unless firewall > settings have been monkeyed. > > - Ed Hi All, What should the mysql server be named, I have just recently installed mysql on my server and it named iteself @localhost3306. Is this correct should I rename it? TIA Scott Martin smartin@steamvalve.com > > =============================================================== > New Media E.M.S. Technology Solutions for Business > 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting > Fair Oaks, CA 95628 edl@newmediaems.com > (916) 961-0446 http://www.newmediaems.com > (866) 519-4680 Toll-Free (916) 961-0447 Fax > =============================================================== > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From jeff at badtz-maru.com Tue Dec 30 14:32:24 2003 From: jeff at badtz-maru.com (Jeff) Date: Tue Dec 30 14:33:39 2003 Subject: [ic] 4.8 update Message-ID: <20031230193224.GB2339@host4.cmainteractive.com> Hello all! I saw a message come through here mentioning an upgrade to the 4.8 series to fix a security issue (I think) with mv_nextpage. Is there a mention somewhere of what the security issue is? I looked on the icdevgroup.org site but didn't see anything. I am running a hacked 4.8.6, I need to diff it against the stock 4.8.6 so I can reapply the patches to later pre-5 releases, but until then I will need to hand-patch the security fix into my installation. First I wanted to determine my exposure to the issue. Thanks, Jeff From anthony at urbanscooters.com Tue Dec 30 19:47:54 2003 From: anthony at urbanscooters.com (Anthony Minero) Date: Tue Dec 30 19:46:47 2003 Subject: [ic] Date time stamp In-Reply-To: <20031230193224.GB2339@host4.cmainteractive.com> Message-ID: I read the developers resource notes on how to add the date to a page and it is pretty straight forward, I'm just using; [time]%A, %B %d, %Y[/time] But I'd like to be able to show the date of the next Sunday of every week. We have sales that end every Sunday and instead of having to manually change the date every week I'm trying to figure out how to just display the most recent Sundays date, if that makes sense. Anyone know how to do this? I've checked some javascript tutorials as well to see if it could be done with JavaScript but can't seem to find anything. -- Anthony Minero http://urbanscooters.com -- From mike at perusion.com Tue Dec 30 21:12:43 2003 From: mike at perusion.com (Mike Heins) Date: Tue Dec 30 21:12:52 2003 Subject: [ic] Date time stamp In-Reply-To: References: <20031230193224.GB2339@host4.cmainteractive.com> Message-ID: <20031231021242.GA17493@bill.heins.net> Quoting Anthony Minero (anthony@urbanscooters.com): > I read the developers resource notes on how to add the date to a page and it > is pretty straight forward, I'm just using; > [time]%A, %B %d, %Y[/time] > > But I'd like to be able to show the date of the next Sunday of every week. > We have sales that end every Sunday and instead of having to manually change > the date every week I'm trying to figure out how to just display the most > recent Sundays date, if that makes sense. > > Anyone know how to do this? I've checked some javascript tutorials as well > to see if it could be done with JavaScript but can't seem to find anything. You should check the documentation for the time tag: I If you wish to temporarily adjust the time for display purposes, you can pass an adjust parameter with the number of hours (plus or minus). [time]%c[/time] [time adjust="-3"]%c[/time] Will display: Mon 01 Jan 2001 11:29:03 AM EST Mon 01 Jan 2001 08:29:03 AM EST If the number ends in zero and has 3 digits or more, it is assumed that the number is in timezone format (i.e +500) the local time or from GMT: [time]%c[/time] [time adjust="-330"]%c[/time] [time adjust="-300"]%c[/time] Will display: Mon 01 Jan 2001 11:29:03 AM EST Mon 01 Jan 2001 07:59:03 AM EST Mon 01 Jan 2001 08:29:03 AM EST If you want to force the number to be just a number of hours, add the hours parameter: [time]%c[/time] [time adjust="100" hours=1]%c[/time] Will display: Mon 01 Jan 2001 11:29:03 AM EST Fri 05 Jan 2001 15:29:03 PM EST If adjust is an Interchange time duration with a suffix of sec, min, hrs, days, or weeks, that will be used. [time]%c[/time] [time adjust="2 days"]%c[/time] Will display: Mon 01 Jan 2001 11:29:03 AM EST Wed 03 Jan 2001 11:29:03 AM EST Note that the time zone does not change - you should either pick a format which doesn't display zone, use the tz parameter, or manage it yourself. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 Nature, to be commanded, must be obeyed. -- Francis Bacon From giftbound1 at comcast.net Tue Dec 30 22:19:54 2003 From: giftbound1 at comcast.net (Tom) Date: Tue Dec 30 22:10:04 2003 Subject: [ic] Admin Problem? Message-ID: <002001c3cf4c$f6a0bfe0$be5e2744@verona01.nj.comcast.net> I enabled secure server and now in admin it keeps asking for my username and pass everytime. Like if i click on something it will keep asking me. How do I fix this? From giftbound1 at comcast.net Tue Dec 30 22:38:29 2003 From: giftbound1 at comcast.net (Tom) Date: Tue Dec 30 22:28:36 2003 Subject: [ic] Writing Tables in Mysql? References: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net> <20031230155312.3d6cb872.racke@linuxia.de> Message-ID: <003501c3cf4f$8e9fa8e0$be5e2744@verona01.nj.comcast.net> Hmm Im getting this but I did create the table? It was there then when I logged in again table is gone? Whats up? 30/December/2003:22:13:44 -0500] - - table stock_alert index failed: Table 'db92683137.stock_alert' doesn't exist - - - [30/December/2003:22:13:44 -0500] - - table 'stock_alert' failed: list_fields execute on stock_alert: Table 'db92683137.stock_alert' doesn't exist at /kunden/homepages/29/d91786658/htdocs/interchange/lib/Vend/Table/DBI.pm line 1739. ----- Original Message ----- From: "Stefan Hornburg" To: Sent: Tuesday, December 30, 2003 9:53 AM Subject: Re: [ic] Writing Tables in Mysql? > On Tue, 30 Dec 2003 09:46:38 -0500 > "Tom" wrote: > > > Im trying to get this to work its located here: > > http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170.html > > > > I made the stock_alert table in mysql but what do I make in interchange to > > get this to work? Little confused here. > > > > I made this in interchange called stock_alert.mysql but get a 500 error > > Check your global Interchange error log for more information. > > Bye > Racke > > > -- > LinuXia Systems => http://www.linuxia.de/ > Expert Interchange Consulting and System Administration > ICDEVGROUP => http://www.icdevgroup.org/ > Interchange Development Team > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From dogtags at doglover.com Wed Dec 31 00:37:26 2003 From: dogtags at doglover.com (D T) Date: Wed Dec 31 00:37:37 2003 Subject: [ic] 'configure' cannot see /usr/local/bin/perl Message-ID: <20031231053726.71909.qmail@mail.com> Hi All We use Mandrake 9.2. This installs threaded perl, and the executable is at /usr/bin/perl We couldn't find a way to recompile the Mandrake perl to be non-threaded. So, we left that alone and installed a non-threaded version (which is default BTW) with the executable at /usr/local/bin/perl We also ran 'updatedb' for good measure. Next, we tried to install Interchange - /usr/local/bin/perl configure However, the configure script did not ask us which location of perl to use. Instead, it just found the threaded version at /usr/bin/perl and stopped the installation. Question: how can we get the 'configure' script to recognize the /usr/local/bin/perl location (non-threaded) to install Interchange ? This would be so great to resolve. Thanks very much. Will -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm From rphipps at reliant-solutions.com Wed Dec 31 00:50:15 2003 From: rphipps at reliant-solutions.com (Ron Phipps) Date: Wed Dec 31 01:08:21 2003 Subject: [ic] 'configure' cannot see /usr/local/bin/perl In-Reply-To: <20031231053726.71909.qmail@mail.com> Message-ID: <006a01c3cf61$f71bfdd0$6401a8c0@takedownlt> > -----Original Message----- > From: interchange-users-bounces@icdevgroup.org [mailto:interchange-users- > bounces@icdevgroup.org] On Behalf Of D T > Sent: Tuesday, December 30, 2003 9:37 PM > To: interchange-users@icdevgroup.org > Subject: [ic] 'configure' cannot see /usr/local/bin/perl > > Hi All > > We use Mandrake 9.2. This installs threaded perl, and the executable is at > /usr/bin/perl > > We couldn't find a way to recompile the Mandrake perl to be non-threaded. > So, we left that alone and installed a non-threaded version (which is > default BTW) with the executable at /usr/local/bin/perl > > We also ran 'updatedb' for good measure. > > Next, we tried to install Interchange - /usr/local/bin/perl configure > > However, the configure script did not ask us which location of perl to > use. > > Instead, it just found the threaded version at /usr/bin/perl and stopped > the installation. > > Question: how can we get the 'configure' script to recognize the > /usr/local/bin/perl location (non-threaded) to install Interchange ? > > This would be so great to resolve. Thanks very much. > > Will Change your path for the user that is installing ic to include /usr/local/bin/perl before /usr/bin/perl. -Ron From hostmaster at zipp.net Wed Dec 31 01:11:55 2003 From: hostmaster at zipp.net (Hostmaster) Date: Wed Dec 31 01:12:02 2003 Subject: [ic] Using special script with Interchange References: Message-ID: <00ec01c3cf64$fe44b220$63958f42@sbcglobal.net> Hello List Members, Interchange 5.0. I recently purchased a perl program called "UsersOnline" that when installed on a site allows the site owner to track real-time any visitors to the site, with information including the visitors IP address, referring url, time on site, which page(s) visited (and time at each page). The script normally requires ssi, and it's recommended pages are changed to .shtml extensions. However, there is a workaround for those of us who don't want to use .shtml extensions. Some simple coding which allows the parsing of .html pages for ssi is placed in an .htaccess file which lives in a directory above the files one wishes to track. The script then parses the .html pages using ssi. Each page tracked has, depending on the desired method, code placed in the source of the page that looks like this: I've used this script on a non-Interchange site with a hundred pages, and it works perfectly. Even has a nice little .wav file that notifies my client when a new visitor enters the site. Question: Before I add this code to any pages of my client's existing catalogs, does anyone on the list know of any possible negative consequences I might anticipate from doing so? I know there are so many dynamic pages generated in the catalogs, but I'm hoping that inclusion of the tag within flypage.html, checkout.html, results.html, etc. might achieve the desired result. If not, does anyone know of a better way to create real-time tracking of pages in the catalogs? If I don't receive an answer before Friday, I wish you all a Happy and Safe new year. Best regards, Michael G. From frank at goldissue.com Wed Dec 31 01:26:59 2003 From: frank at goldissue.com (frank) Date: Wed Dec 31 01:20:08 2003 Subject: [ic] 'configure' cannot see /usr/local/bin/perl In-Reply-To: <20031231053726.71909.qmail@mail.com> References: <20031231053726.71909.qmail@mail.com> Message-ID: <3FF26C33.7020900@goldissue.com> D T wrote: >Hi All > >We use Mandrake 9.2. This installs threaded perl, and the executable is at /usr/bin/perl > >We couldn't find a way to recompile the Mandrake perl to be non-threaded. So, we left that alone and installed a non-threaded version (which is default BTW) with the executable at /usr/local/bin/perl > >We also ran 'updatedb' for good measure. > >Next, we tried to install Interchange - /usr/local/bin/perl configure > >However, the configure script did not ask us which location of perl to use. > >Instead, it just found the threaded version at /usr/bin/perl and stopped the installation. > >Question: how can we get the 'configure' script to recognize the /usr/local/bin/perl location (non-threaded) to install Interchange ? > >This would be so great to resolve. Thanks very much. > >Will > > Will, I remember Mike Heins or someone saying that changing the #!/usr/bin/perl at the top of each executable file in the /usr/lib/interchange/bin directory to /usr/local/bin/perl will do the trick. I can't remember if that was the end of story, but that would have to be pretty close to being correct, Frank Reitzenstein. From racke at linuxia.de Wed Dec 31 04:46:11 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Wed Dec 31 04:46:33 2003 Subject: [ic] Writing Tables in Mysql? In-Reply-To: <003501c3cf4f$8e9fa8e0$be5e2744@verona01.nj.comcast.net> References: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net> <20031230155312.3d6cb872.racke@linuxia.de> <003501c3cf4f$8e9fa8e0$be5e2744@verona01.nj.comcast.net> Message-ID: <20031231104611.0a0284e3.racke@linuxia.de> On Tue, 30 Dec 2003 22:38:29 -0500 "Tom" wrote: > Hmm Im getting this but I did create the table? It was there then when I > logged in again table is gone? > > Whats up? > 30/December/2003:22:13:44 -0500] - - table stock_alert index failed: Table > 'db92683137.stock_alert' doesn't exist > - - - [30/December/2003:22:13:44 -0500] - - table 'stock_alert' failed: > list_fields execute on stock_alert: Table 'db92683137.stock_alert' doesn't > exist at > /kunden/homepages/29/d91786658/htdocs/interchange/lib/Vend/Table/DBI.pm line > 1739. Obviously the table doesn't exist. Is there a products/stock_alert.sql file in your catalog directory ? Bye Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From kosmo at trslab.it Wed Dec 31 05:48:38 2003 From: kosmo at trslab.it (Danilo Ingami) Date: Wed Dec 31 05:44:17 2003 Subject: [ic] Read variable in [perl][/perl] tags In-Reply-To: <002001c3cf4c$f6a0bfe0$be5e2744@verona01.nj.comcast.net> References: <002001c3cf4c$f6a0bfe0$be5e2744@verona01.nj.comcast.net> Message-ID: <3FF2A986.6040500@trslab.it> Hi list user, I've a simple problem (not for me of course). I need to calculate the insurance cost for a shipping. I use the weight method to calculate the amount of shipping and it works fine. For calculate the total cost of the order I need to apply a percentage, with at least a minimum cost, to the subtotal of the order. I think to do this with perl code in the checkout page, but I don't know the manner to read the value of the [subtotal], [salestax] and [shipping] ic tags within the [perl][/perl], and of cource how to get out the result from there. I had read a lot of documentation, but I don't find what I'm looking for. Can anyone point me in the right direction? Many thanks an happy new year to everyone. Danilo From frank at goldissue.com Wed Dec 31 06:23:26 2003 From: frank at goldissue.com (frank) Date: Wed Dec 31 06:16:37 2003 Subject: [ic] Read variable in [perl][/perl] tags In-Reply-To: <3FF2A986.6040500@trslab.it> References: <002001c3cf4c$f6a0bfe0$be5e2744@verona01.nj.comcast.net> <3FF2A986.6040500@trslab.it> Message-ID: <3FF2B1AE.6030201@goldissue.com> Danilo Ingami wrote: > Hi list user, > I've a simple problem (not for me of course). I need to calculate the > insurance cost for a shipping. > I use the weight method to calculate the amount of shipping and it > works fine. > For calculate the total cost of the order I need to apply a > percentage, with at least a minimum cost, to the subtotal of the order. > I think to do this with perl code in the checkout page, but I don't > know the manner to read the value of the > [subtotal], [salestax] and [shipping] ic tags within the > [perl][/perl], and of cource how to get out the result from there. > I had read a lot of documentation, but I don't find what I'm looking > for. Can anyone point me in the right direction? > Many thanks an happy new year to everyone. > Danilo > Hi Danilo, I didn't know the answer until two days ago where I had to display the total cost on the receipt (which is inclusive of tax) but show what proportion was actually tax.   TOTAL GST ON INVOICE [calc] sub subtotalgst { my($subtotal,$x) = @_; $subtotalnumber=substr($subtotal,1,20); $subtotalgst=$subtotalnumber*(1-0.909090909); return '$'.sprintf("%.2f",$subtotalgst); } [/calc] [calc]subtotalgst('[total-cost]')[/calc] I think the answer to your question is that the subroutine subtotalgst uses the [total-cost] already in use on the receipt. Thats a good idea by the way. I have included insurance in the shipping calculation which is a modification of the ups_query tag. I may actually display insurance separately if I can find a logical way, Regards, Frank Reitzenstein. From giftbound1 at comcast.net Wed Dec 31 08:25:14 2003 From: giftbound1 at comcast.net (Tom) Date: Wed Dec 31 08:15:35 2003 Subject: [ic] Writing Tables in Mysql? References: <001301c3cee3$bb5ae460$be5e2744@verona01.nj.comcast.net><20031230155312.3d6cb872.racke@linuxia.de><003501c3cf4f$8e9fa8e0$be5e2744@verona01.nj.comcast.net> <20031231104611.0a0284e3.racke@linuxia.de> Message-ID: <001001c3cfa1$8716ab80$be5e2744@verona01.nj.comcast.net> got it to work. somehow it was getting deleted I made the text file and sql file first then created the table that seemed to work. ----- Original Message ----- From: "Stefan Hornburg" To: Sent: Wednesday, December 31, 2003 4:46 AM Subject: Re: [ic] Writing Tables in Mysql? > On Tue, 30 Dec 2003 22:38:29 -0500 > "Tom" wrote: > > > Hmm Im getting this but I did create the table? It was there then when I > > logged in again table is gone? > > > > Whats up? > > 30/December/2003:22:13:44 -0500] - - table stock_alert index failed: Table > > 'db92683137.stock_alert' doesn't exist > > - - - [30/December/2003:22:13:44 -0500] - - table 'stock_alert' failed: > > list_fields execute on stock_alert: Table 'db92683137.stock_alert' doesn't > > exist at > > /kunden/homepages/29/d91786658/htdocs/interchange/lib/Vend/Table/DBI.pm line > > 1739. > > Obviously the table doesn't exist. Is there a products/stock_alert.sql file in your > catalog directory ? > > Bye > Racke > > > -- > LinuXia Systems => http://www.linuxia.de/ > Expert Interchange Consulting and System Administration > ICDEVGROUP => http://www.icdevgroup.org/ > Interchange Development Team > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From dogtags at doglover.com Wed Dec 31 08:46:20 2003 From: dogtags at doglover.com (D T) Date: Wed Dec 31 08:46:35 2003 Subject: [ic] 'configure' cannot see /usr/local/bin/perl Message-ID: <20031231134620.50075.qmail@mail.com> 1. Ron > Change your path for the user that is installing ic to include > /usr/local/bin/perl before /usr/bin/perl. > > -Ron That's just the thing. I'm not sure where the $PATH info for the users is stored. I did global searches on the box (and of course got tons of results) but couldn't find it. Where are the default path references for the users stored? 2. Frank > Will, > >I remember Mike Heins or someone saying that changing the > >#!/usr/bin/perl > >at the top of each executable file in the >/usr/lib/interchange/bin >directory > >to > >/usr/local/bin/perl > >will do the trick. > >I can't remember if that was the end of story, but that would >have to be >pretty close to being correct, > >Frank Reitzenstein. I looked in the 5.0.0 tarball distribution, but I couldn't find the location that you mentioned. We still haven't been able to even install Interchange. It's just untarred and waiting. We're getting hung up on the initial 'configure' step. ----------- 3. Manually force 'configure' to see /usr/local/bin/perl A possibility might be to manually change the 'configure' script to force it to see the /usr/local/bin/perl location. Instead of running through the whole $TESTPERL routine, would there be a way to change the configure script to just say, "Use the following perl - /usr/local/bin/perl" and skip the whole TESTPERL thing ? This actually might be more the way to go because it wouldn't disrupt any other scripts that use the default /usr/bin/perl Thanks one and all. -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm From interchange-users at hertell.com Wed Dec 31 08:49:05 2003 From: interchange-users at hertell.com (Rene Hertell) Date: Wed Dec 31 08:49:01 2003 Subject: [ic] Writing Tables in Mysql? In-Reply-To: <001001c3cfa1$8716ab80$be5e2744@verona01.nj.comcast.net> Message-ID: > got it to work. somehow it was getting deleted I made the text > file and sql > file first then created the table that seemed to work. Tom, Please reply your post BELOW the original message, and not on top of it. If you have trouble remembering this, then get Outlook-QuoteFix from http://flash.to/oblivion/ (a review can be found here: http://email.about.com/cs/outlookaddonrev/gr/ol_quotefix.htm). This top-quoting-thing has been said many times to you, but you seem that you ignore it. Ren? From giftbound1 at comcast.net Wed Dec 31 09:10:22 2003 From: giftbound1 at comcast.net (Tom) Date: Wed Dec 31 09:00:45 2003 Subject: [ic] Changing Category View? Message-ID: <001a01c3cfa7$d4d93a80$be5e2744@verona01.nj.comcast.net> Im trying to change the way category is displayed but where do I change it at? I want to add this.. From mike at perusion.com Wed Dec 31 09:35:33 2003 From: mike at perusion.com (Mike Heins) Date: Wed Dec 31 09:35:45 2003 Subject: [ic] Read variable in [perl][/perl] tags In-Reply-To: <3FF2B1AE.6030201@goldissue.com> References: <002001c3cf4c$f6a0bfe0$be5e2744@verona01.nj.comcast.net> <3FF2A986.6040500@trslab.it> <3FF2B1AE.6030201@goldissue.com> Message-ID: <20031231143533.GA24256@bill.heins.net> Quoting frank (frank@goldissue.com): > I think the answer to your question is that the subroutine subtotalgst > uses the [total-cost] already in use on the receipt. > > Thats a good idea by the way. I have included insurance in the shipping > calculation which is a modification of the ups_query tag. > > I may actually display insurance separately if I can find a logical way, > That is what [handling ..] is for. Also, the Levies facility allows you to have an infinite number of taxes and charges. I think I will be putting Levies into the "mike" demo before the next release. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 I am a great believer in luck, and I find that the harder I work the more luck I have. -- Thomas Jefferson From cwenham at synesmedia.com Wed Dec 31 13:43:28 2003 From: cwenham at synesmedia.com (Christopher Wenham) Date: Wed Dec 31 13:28:36 2003 Subject: [ic] Using special script with Interchange In-Reply-To: <00ec01c3cf64$fe44b220$63958f42@sbcglobal.net> References: <00ec01c3cf64$fe44b220$63958f42@sbcglobal.net> Message-ID: <200312311343.28904.cwenham@synesmedia.com> On Wednesday 31 December 2003 01:11, Hostmaster wrote: > Question: ? Before I add this code to any pages of my client's existing > catalogs, does anyone on the list know of any possible negative > consequences I might anticipate from doing so? > > I know there are so many dynamic pages generated in the catalogs, but I'm > hoping that inclusion of the tag within > flypage.html, checkout.html, results.html, etc. might achieve the desired > result. It probably won't work for you out-of-the-box, because Interchange delivers all pages via a small CGI "link" script. Apache won't re-parse its output for SSI, and I doubt your program could, either. However, all may not be lost. Interchange does come with Perl versions of the link scripts (vlink and tlink). Their only task is to talk to the Interchange daemon process and relay finished HTML back to Apache. You might be able to hack this script and make it call your program. Since the environment variables with all the request data won't have changed, your program should be able to work normally. The alternative is to modify your catalog's page templates to call your script. But you'll need to re-construct the environment for it there, becuase it'll be called within the context of the Interchange daemon, not Apache. Finally, Interchange does do its own traffic logging. The "Reports" tab in the Administration UI has it. There are some versions of Interchange that don't have the tab in the UI, but the underlying files are still there in the interchange/lib/UI/pages/admin/reports directory. Regards, -- Chris Wenham - Synesmedia, Inc. http://www.synesmedia.com 516-620-4110 / 1-888-255-7573 Fax: 516-908-7824